pub trait MatrixViewMut<'a>:
for<'b> MatrixMutOpsByValue<&'b Self>
+ for<'b> MatrixMutOpsByValue<&'b Self::View>
+ MulAssign<Scale<Self::T>> {
type Owned;
type View;
// Required methods
fn into_owned(self) -> Self::Owned;
fn gemm_oo(
&mut self,
alpha: Self::T,
a: &Self::Owned,
b: &Self::Owned,
beta: Self::T,
);
fn gemm_vo(
&mut self,
alpha: Self::T,
a: &Self::View,
b: &Self::Owned,
beta: Self::T,
);
}Expand description
A mutable view of a dense matrix, supporting in-place operations and modifications.
This trait represents a temporary mutable reference to a matrix’s data, allowing in-place
arithmetic operations (+=, -=, *=) and matrix-matrix multiplication. Mutable views can be
created via the columns_mut() or column_mut() methods on a DenseMatrix.
Required Associated Types§
Required Methods§
Sourcefn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Convert this mutable view into an owned matrix, cloning the data if necessary.
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.