pub trait ToMatrix { // Required method fn to_matrix(&self) -> DMatrix<f64>; }
Implemented to allow flexible usage. Transforms Vec<Vec<f64>> or DMatrix<f64> into DMatrix<f64>.
Vec<Vec<f64>>
DMatrix<f64>