Trait nalgebra_lapack::Solve [] [src]

pub trait Solve {
    type N;
    fn solve(
        self,
        b: DMatrix<Self::N>
    ) -> NalgebraLapackResult<DMatrix<Self::N>>; }

A type for solving a linear matrix equation.

Associated Types

Required Methods

solve a linear matrix equation.

Given the equation ax=b where a and b are known, find matrix x.

Because the input matrix may be overwritten or destroyed, it is consumed.

Arguments

  • b - The known matrix.

Returns

  • x - The solution to the linear equation ax=b.

Implementors