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

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

fn from_diagonal(diag: &Self::Vector) -> Self[src]

Constructs a new diagonal matrix.

fn set_diagonal_mut(&mut self, diag: &Self::Vector)[src]

In-place sets the matrix diagonal.

Loading content...

Provided methods

fn set_diagonal(&self, diag: &Self::Vector) -> Self[src]

Sets the matrix diagonal.

Loading content...

Implementors

Loading content...