liebharc / basic_dsp

Basic DSP vector operations for Rust.
Apache License 2.0
43 stars 5 forks source link

Investigate other ways to model vector types (real/complex, time/freq) #14

Closed liebharc closed 8 years ago

liebharc commented 8 years ago

Can we model vector types such as real, complex, ... purely with traits and without impl? Benefit: It would be less effort to add new functions.

liebharc commented 8 years ago

It doesn't seem to be possible to work purely. Commit e64602887a12d114153c09a76f9a430315cbe62e makes some use of it and uses macros for the rest of the distance. It should be easier now to add new functions.