Trait basic_dsp_matrix::FromMatrix
[−]
[src]
pub trait FromMatrix<T> where
T: RealNumber, { type Output; fn get(self) -> (Self::Output, usize); }
Retrieves the underlying storage from a matrix.
Associated Types
type Output
Type of the underlying storage of a matrix.
Required Methods
fn get(self) -> (Self::Output, usize)
Gets the underlying matrix and the number of elements which contain valid.
Implementors
impl<V, S, T> FromMatrix<T> for MatrixMxN<V, S, T> where
T: RealNumber,
V: Vector<T>,
S: ToSlice<T>, type Output = Vec<V>;impl<V, S, T> FromMatrix<T> for Matrix2xN<V, S, T> where
T: RealNumber,
V: Vector<T>,
S: ToSlice<T>, type Output = [V; 2];impl<V, S, T> FromMatrix<T> for Matrix3xN<V, S, T> where
T: RealNumber,
V: Vector<T>,
S: ToSlice<T>, type Output = [V; 3];impl<V, S, T> FromMatrix<T> for Matrix4xN<V, S, T> where
T: RealNumber,
V: Vector<T>,
S: ToSlice<T>, type Output = [V; 4];