Trait ndarray_linalg::lapack_traits::solve::Solve_[][src]

pub trait Solve_: AssociatedReal + Sized {
    unsafe fn lu(_: MatrixLayout, a: &mut [Self]) -> Result<Pivot>;
unsafe fn inv(_: MatrixLayout, a: &mut [Self], _: &Pivot) -> Result<()>;
unsafe fn rcond(
        _: MatrixLayout,
        a: &[Self],
        anorm: Self::Real
    ) -> Result<Self::Real>;
unsafe fn solve(
        _: MatrixLayout,
        _: Transpose,
        a: &[Self],
        _: &Pivot,
        b: &mut [Self]
    ) -> Result<()>; }

Wraps *getrf, *getri, and *getrs

Required Methods

Computes the LU factorization of a general m x n matrix a using partial pivoting with row interchanges.

If the result matches Err(LinalgError::Lapack(LapackError { return_code )) if return_code > 0, then U[(return_code-1, return_code-1)] is exactly zero. The factorization has been completed, but the factor U is exactly singular, and division by zero will occur if it is used to solve a system of equations.

Estimates the the reciprocal of the condition number of the matrix in 1-norm.

anorm should be the 1-norm of the matrix a.

Implementations on Foreign Types

impl Solve_ for f64
[src]

impl Solve_ for f32
[src]

Implementors