[][src]Trait alga::linear::SquareMatrixMut

pub trait SquareMatrixMut: SquareMatrix + MatrixMut<Row = Self::Vector, Column = Self::Vector, Transpose = Self> {
    fn from_diagonal(diag: &Self::Vector) -> Self;
fn set_diagonal_mut(&mut self, diag: &Self::Vector); fn set_diagonal(&self, diag: &Self::Vector) -> Self { ... } }

The monoid of all mutable square matrices that are stable under modification of its diagonal.

Required Methods

Constructs a new diagonal matrix.

In-place sets the matrix diagonal.

Provided Methods

Sets the matrix diagonal.

Implementors