IterativeSolver

Trait IterativeSolver 

Source
pub trait IterativeSolver<F: Float> {
    // Required method
    fn solve(
        &self,
        a: &dyn LinearOperator<F>,
        b: &[F],
    ) -> SparseResult<IterationResult<F>>;
}
Expand description

Trait for iterative solvers

Required Methods§

Source

fn solve( &self, a: &dyn LinearOperator<F>, b: &[F], ) -> SparseResult<IterationResult<F>>

Solve the linear system Ax = b

Implementors§