Trait wee_matrix::GramSolve [] [src]

pub trait GramSolve {
    type Rhs;
    type Output;
    fn gram_solve(&self, b: &Self::Rhs) -> Result<Self::Output, Error>;
}

Trait providing a solver for the equation A'AX=B

Associated Types

The right-hand side type (the type of B in the equation A'AX=B)

The output (solution) type (the type of X in the equation A'AX=B)

Required Methods

Solve the equation A'AX=B for the exact solution X

Failures

Fails if no exact solution is possible for AX=B or the equation is improperly defined.

Implementors