[][src]Trait basic_dsp::matrix::ToMatrix

pub trait ToMatrix<V, T> where
    T: RealNumber,
    V: Vector<T>, 
{ type Output: Matrix<V, T>; fn to_mat(self) -> Self::Output; }

Conversion from a collection of vectors to a matrix.

Associated Types

type Output: Matrix<V, T>

Loading content...

Required methods

fn to_mat(self) -> Self::Output

Create a new matrix from a collection of vectors.

Loading content...

Implementations on Foreign Types

impl<S, T, N, D> ToMatrix<DspVec<S, T, N, D>, T> for [DspVec<S, T, N, D>; 2] where
    D: Domain,
    N: NumberSpace,
    S: ToSlice<T>,
    T: RealNumber
[src]

type Output = Matrix2xN<DspVec<S, T, N, D>, S, T>

impl<S, T, N, D> ToMatrix<DspVec<S, T, N, D>, T> for [DspVec<S, T, N, D>; 3] where
    D: Domain,
    N: NumberSpace,
    S: ToSlice<T>,
    T: RealNumber
[src]

type Output = Matrix3xN<DspVec<S, T, N, D>, S, T>

impl<S, T, N, D> ToMatrix<DspVec<S, T, N, D>, T> for Vec<DspVec<S, T, N, D>> where
    D: Domain,
    N: NumberSpace,
    S: ToSlice<T>,
    T: RealNumber
[src]

type Output = MatrixMxN<DspVec<S, T, N, D>, S, T>

impl<S, T, N, D> ToMatrix<DspVec<S, T, N, D>, T> for [DspVec<S, T, N, D>; 4] where
    D: Domain,
    N: NumberSpace,
    S: ToSlice<T>,
    T: RealNumber
[src]

type Output = Matrix4xN<DspVec<S, T, N, D>, S, T>

Loading content...

Implementors

Loading content...