[−][src]Trait basic_dsp::matrix::ToDspMatrix
Conversion from a generic data type into a dsp matrix which tracks
its meta information (domain and number space)
only at runtime. See ToRealMatrix and
ToComplexMatrix for alternatives which track most of the meta data
with the type system and therefore avoid runtime errors.
Associated Types
Loading content...Required methods
fn to_gen_dsp_mat(self, is_complex: bool, domain: DataDomain) -> Self::Output
Create a new generic matrix.
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
impl<T, S> ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T> for [S; 4] where
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber, [src]
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber,
type Output = Matrix4xN<DspVec<S, T, RealOrComplex, TimeOrFreq>, S, T>
fn to_gen_dsp_mat(
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 4] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output[src]
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 4] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output
impl<T, S> ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T> for Vec<S> where
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber, [src]
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber,
type Output = MatrixMxN<DspVec<S, T, RealOrComplex, TimeOrFreq>, S, T>
fn to_gen_dsp_mat(
self,
is_complex: bool,
domain: DataDomain
) -> <Vec<S> as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output[src]
self,
is_complex: bool,
domain: DataDomain
) -> <Vec<S> as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output
impl<T, S> ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T> for [S; 2] where
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber, [src]
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber,
type Output = Matrix2xN<DspVec<S, T, RealOrComplex, TimeOrFreq>, S, T>
fn to_gen_dsp_mat(
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 2] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output[src]
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 2] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output
impl<T, S> ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T> for [S; 3] where
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber, [src]
S: ToDspVector<T> + ToSlice<T>,
T: RealNumber,
type Output = Matrix3xN<DspVec<S, T, RealOrComplex, TimeOrFreq>, S, T>
fn to_gen_dsp_mat(
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 3] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output[src]
self,
is_complex: bool,
domain: DataDomain
) -> <[S; 3] as ToDspMatrix<DspVec<S, T, RealOrComplex, TimeOrFreq>, T>>::Output