Skip to main content

bicgstab_impl

Function bicgstab_impl 

Source
pub fn bicgstab_impl<R, C>(
    client: &C,
    a: &CsrData<R>,
    b: &Tensor<R>,
    x0: Option<&Tensor<R>>,
    options: BiCgStabOptions,
) -> Result<BiCgStabResult<R>>
where R: Runtime<DType = DType>, R::Client: SparseOps<R>, C: SparseLinAlgAlgorithms<R> + SparseOps<R> + BinaryOps<R> + UnaryOps<R> + ReduceOps<R> + ScalarOps<R>,
Expand description

Generic BiCGSTAB implementation

Implements right-preconditioned BiCGSTAB. Uses less memory than GMRES(m) but convergence can be less predictable.