Trait ndarray_linalg::square_matrix::SquareMatrix [] [src]

pub trait SquareMatrix: Matrix {
    fn eigh(self) -> Result<(Self::Vector, Self)LinalgError>;
    fn inv(self) -> Result<Self, LinalgError>;
    fn trace(&self) -> Result<Self::Scalar, LinalgError>;
    fn ssqrt(self) -> Result<Self, LinalgError>;

    fn check_square(&self) -> Result<()NotSquareError> { ... }
}

Required Methods

fn eigh(self) -> Result<(Self::Vector, Self)LinalgError>

eigenvalue decomposition for Hermite matrix

fn inv(self) -> Result<Self, LinalgError>

inverse of matrix

fn trace(&self) -> Result<Self::Scalar, LinalgError>

fn ssqrt(self) -> Result<Self, LinalgError>

Provided Methods

fn check_square(&self) -> Result<()NotSquareError>

Implementors