pub trait AsNalgebraCanonicalInterface<T> where
T: Copy,
Self: AsNalgebraNonCanonicalInterface<T> + Copy, {
fn as_nalgebra(&self) -> &T;
fn as_nalgebra_mut(&mut self) -> &mut T;
}
Expand description
Trait to interpret canonical math data structures of other math libs as their analogs in nalgebra to use operations of nalgebra.
Required Methods
fn as_nalgebra(&self) -> &T
fn as_nalgebra(&self) -> &T
Interpret this data structure as nalgebra analog to use its operations.
fn as_nalgebra_mut(&mut self) -> &mut T
fn as_nalgebra_mut(&mut self) -> &mut T
Interpret this data structure mutably as nalgebra analog to use its operations.