pub trait GenMat<T: BaseFloat, C: GenFloatVec<T>>:
Sized
+ Zero
+ Add<Output = Self>
+ Sub<Output = Self>
+ Div<Output = Self>
+ Rem<Output = Self>
+ Neg<Output = Self>
+ Mul<T, Output = Self>
+ Index<usize, Output = C>
+ IndexMut<usize>
+ ApproxEq<BaseType = T> {
type R: GenFloatVec<T>;
type Transpose: GenMat<T, Self::R, R = C, Transpose = Self>;
// Required methods
fn transpose(&self) -> Self::Transpose;
fn mul_c(&self, rhs: &Self) -> Self;
}Expand description
Generic Matrix type.
Required Associated Types§
Sourcetype R: GenFloatVec<T>
type R: GenFloatVec<T>
Type of row vectors.
Required Methods§
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.