Skip to main content

MatrixExpMap

Trait MatrixExpMap 

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

Source

fn matrix_data(x: &Self::Algebra) -> (Vec<f64>, usize)

Source

fn from_matrix_data(data: Vec<f64>, n: usize) -> Self

Source

fn algebra_from_matrix_data(data: Vec<f64>, n: usize) -> Self::Algebra

Source

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".

Implementors§