Trait scirust::matrix::traits::Conversion
[−]
[src]
pub trait Conversion<T: MagmaBase>: Shape<T> { fn to_std_vec(&self) -> Vec<T>; fn to_scalar(&self) -> T { ... } }
Matrix conversion API
Required Methods
fn to_std_vec(&self) -> Vec<T>
Converts the matrix to vector from standard library
Provided Methods
fn to_scalar(&self) -> T
Converts the matrix to a scalar
Implementors
impl<'a, T: MagmaBase> Conversion<T> for MatrixView<'a, T>
impl<T: MagmaBase> Conversion<T> for Matrix<T>