Trait linxal::factorization::lu::LU [] [src]

pub trait LU: LinalgScalar + Permutes {
    fn compute_into(a: Array<Self, Ix2>) -> Result<LUFactors<Self>, LUError>;
    fn compute_inverse_into<D1>(
        mat: ArrayBase<D1, Ix2>,
        perm: &[i32]
    ) -> Result<ArrayBase<D1, Ix2>, LUError>
    where
        D1: DataOwned<Elem = Self> + DataMut<Elem = Self>
; fn compute<D1: Data>(
        a: &ArrayBase<D1, Ix2>
    ) -> Result<LUFactors<Self>, LUError>
    where
        D1: Data<Elem = Self>
, { ... } fn compute_inverse<D1>(
        mat: &ArrayBase<D1, Ix2>,
        perm: &[i32]
    ) -> Result<Array<Self, Ix2>, LUError>
    where
        D1: Data<Elem = Self>
, { ... } }

Trait defined on scalars to support LU-factorization.

Any matrix composed of LU scalars can be split into LUFactors.

Required Methods

Return a LUFactors structure, containing the LU factorization of the input matrix A.

Similar to compute, but consumes the input.

Return the inverse of a matrix from its LU factorization, consuming the matrix in the process.

Provided Methods

Return a LUFactors structure, containing the LU factorization of the input matrix A.

Return the inverse of matrix, copying it first.

Implementors