Trait basic_dsp::matrix::ToComplexTimeMatrix

source ·
pub trait ToComplexTimeMatrix<V, T>
where V: Vector<T>, T: RealNumber,
{ type Output: Matrix<V, T>; // Required method fn to_complex_time_mat(self) -> Self::Output; }
Expand description

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

Required Associated Types§

source

type Output: Matrix<V, T>

Required Methods§

source

fn to_complex_time_mat(self) -> Self::Output

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

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

Implementations on Foreign Types§

source§

impl<T, S> ToComplexTimeMatrix<DspVec<S, T, Complex, Time>, T> for [S; 2]
where T: RealNumber, S: ToComplexVector<S, T> + ToSlice<T>,

source§

impl<T, S> ToComplexTimeMatrix<DspVec<S, T, Complex, Time>, T> for [S; 3]
where T: RealNumber, S: ToComplexVector<S, T> + ToSlice<T>,

source§

impl<T, S> ToComplexTimeMatrix<DspVec<S, T, Complex, Time>, T> for [S; 4]
where T: RealNumber, S: ToComplexVector<S, T> + ToSlice<T>,

source§

impl<T, S> ToComplexTimeMatrix<DspVec<S, T, Complex, Time>, T> for Vec<S>
where T: RealNumber, S: ToComplexVector<S, T> + ToSlice<T>,

Implementors§