Trait ToMatrix

Source
pub trait ToMatrix {
    // Required method
    fn to_matrix(&self) -> DMatrix<f64>;
}
Expand description

Implemented to allow flexible usage. Transforms Vec<Vec<f64>> or DMatrix<f64> into DMatrix<f64>.

Required Methods§

Implementations on Foreign Types§

Source§

impl ToMatrix for Vec<Vec<f64>>

Source§

impl ToMatrix for DMatrix<f64>

Implementors§