pub trait MatrixExpMap: HasExpMap {
// Required methods
fn matrix_data(x: &Self::Algebra) -> (Vec<f64>, usize);
fn from_matrix_data(data: Vec<f64>, n: usize) -> Self;
fn algebra_from_matrix_data(data: Vec<f64>, n: usize) -> Self::Algebra;
fn to_matrix_data(&self) -> (Vec<f64>, usize);
}Required Methods§
fn matrix_data(x: &Self::Algebra) -> (Vec<f64>, usize)
fn from_matrix_data(data: Vec<f64>, n: usize) -> Self
fn algebra_from_matrix_data(data: Vec<f64>, n: usize) -> Self::Algebra
fn to_matrix_data(&self) -> (Vec<f64>, usize)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".