liebharc / basic_dsp

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

Implement get_real_imag and get_mag_phase function #7

Closed liebharc closed 8 years ago

liebharc commented 8 years ago

It's pretty common that someone would be interested in the real and imag part of a signal or the magnitude and phase of a signal. Therefore we should have functions which do both operations at the same time.

This should also be pretty easy to do, we just need a helper function which works on two target arrays (of the same size).