Trait FromMatrix

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl FromMatrix for Vec<Vec<f64>>

Source§

impl FromMatrix for DMatrix<f64>

Implementors§