[][src]Trait alga::linear::SquareMatrix

pub trait SquareMatrix: Matrix<Row = Self::Vector, Column = Self::Vector, Transpose = Self> + MultiplicativeMonoid {
    type Vector: FiniteDimVectorSpace<Field = Self::Field>;
    fn diagonal(&self) -> Self::Vector;
fn determinant(&self) -> Self::Field;
fn try_inverse(&self) -> Option<Self>; fn dimension(&self) -> usize { ... }
fn transpose_mut(&mut self) { ... } }

The monoid of all square matrices, including non-inversible ones.

Associated Types

The type of rows, column, and diagonal of this matrix.

Required Methods

The diagonal of this matrix.

The determinant of this matrix.

Attempts to inverse self.

Provided Methods

The number of rows or column of this matrix.

In-place transposition.

Implementors