Trait basic_dsp_matrix::ToMatrix

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

Conversion from a collection of vectors to a matrix.

Required Associated Types§

source

type Output: Matrix<V, T>

Required Methods§

source

fn to_mat(self) -> Self::Output

Create a new matrix from a collection of vectors.

Implementations on Foreign Types§

source§

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

§

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

source§

fn to_mat(self) -> Self::Output

source§

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

§

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

source§

fn to_mat(self) -> Self::Output

source§

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

§

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

source§

fn to_mat(self) -> Self::Output

source§

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

§

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

source§

fn to_mat(self) -> Self::Output

Implementors§