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

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

type Vector: FiniteDimVectorSpace<Field = Self::Field>[src]

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

Loading content...

Required methods

fn diagonal(&self) -> Self::Vector[src]

The diagonal of this matrix.

fn determinant(&self) -> Self::Field[src]

The determinant of this matrix.

fn try_inverse(&self) -> Option<Self>[src]

Attempts to two_sided_inverse self.

Loading content...

Provided methods

fn dimension(&self) -> usize[src]

The number of rows or column of this matrix.

fn transpose_mut(&mut self)[src]

In-place transposition.

Loading content...

Implementors

Loading content...