pub trait FromMatrix {
type Output;
// Required method
fn from_matrix(matrix: DMatrix<f64>) -> Self::Output;
}
Expand description
Implemented to allow flexible usage. Transforms DMatrix<f64>
into Vec<Vec<f64>>
or DMatrix<d64>
.
Required Associated Types§
Required Methods§
fn from_matrix(matrix: DMatrix<f64>) -> Self::Output
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.