Trait basic_dsp::ToComplexVectorPar

source ·
pub trait ToComplexVectorPar<S, T>
where S: ToSlice<T>, T: RealNumber,
{ // Required methods fn to_complex_time_vec_par(self) -> DspVec<S, T, Complex, Time>; fn to_complex_freq_vec_par(self) -> DspVec<S, T, Complex, Freq>; }
Expand description

Conversion from a generic data type into a dsp vector with complex data.

The resulting vector may use multi-threading for its processing.

Required Methods§

source

fn to_complex_time_vec_par(self) -> DspVec<S, T, Complex, Time>

Create a new vector in complex number space and time domain. delta can be changed after construction with a call of set_delta.

For complex vectors with an odd length the resulting value will have a zero length.

source

fn to_complex_freq_vec_par(self) -> DspVec<S, T, Complex, Freq>

Create a new vector in complex number space and frequency domain. delta can be changed after construction with a call of set_delta.

For complex vectors with an odd length the resulting value will have a zero length.

Implementors§

source§

impl<Type, S, T> ToComplexVectorPar<S, T> for Type
where Type: ToComplexVector<S, T> + ToSlice<T>, S: ToSlice<T>, T: RealNumber,