[−][src]Trait alga::linear::SquareMatrixMut
The monoid of all mutable square matrices that are stable under modification of its diagonal.
Required Methods
fn from_diagonal(diag: &Self::Vector) -> Self
Constructs a new diagonal matrix.
fn set_diagonal_mut(&mut self, diag: &Self::Vector)
In-place sets the matrix diagonal.
Provided Methods
fn set_diagonal(&self, diag: &Self::Vector) -> Self
Sets the matrix diagonal.