pub trait DynamicMatrixOps<T> {
// Required methods
fn from_dmatrix(matrix: &DMatrix<T>) -> Self;
fn to_dmatrix(&self) -> DMatrix<T>;
fn into_dmatrix(self) -> DMatrix<T>;
}
Expand description
Trait for conversion to and from nalgebra matrices
Required Methods§
fn from_dmatrix(matrix: &DMatrix<T>) -> Self
fn to_dmatrix(&self) -> DMatrix<T>
fn into_dmatrix(self) -> DMatrix<T>
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.
Implementors§
impl DynamicMatrixOps<f32> for DynamicTensorFloat2D
DynamicMatrixOps
for DynamicTensorFloat2D
impl DynamicMatrixOps<u32> for DynamicTensorInt2D
DynamicMatrixOps
for DynamicTensorInt2D