warp.optim.linear.BiCGSTAB#
- class warp.optim.linear.BiCGSTAB(
- A,
- b,
- x,
- tol=None,
- atol=None,
- maxiter=0,
- M=None,
- callback=None,
- check_every=10,
- use_cuda_graph=True,
- is_left_preconditioner=False,
Pre-allocated state for the BiConjugate Gradient Stabilized solver.
See
LinearSolverStatefor the shared constructor parameters, plus:- Parameters:
is_left_preconditioner (bool) – whether
Mshould be used as a left- or right- preconditioner.A (array | BsrMatrix | LinearOperator)
b (array)
x (array)
tol (float | None)
atol (float | None)
maxiter (float | None)
M (array | BsrMatrix | LinearOperator | None)
callback (Callable | None)
check_every (int)
use_cuda_graph (bool)
Unlike
CGandCR, the presence ofMis fixed at construction: ifMwasNone, subsequent calls must also haveMNone; otherwise a compatible preconditioner must be supplied.- __init__(
- A,
- b,
- x,
- tol=None,
- atol=None,
- maxiter=0,
- M=None,
- callback=None,
- check_every=10,
- use_cuda_graph=True,
- is_left_preconditioner=False,
Methods
__init__(A, b, x[, tol, atol, maxiter, M, ...])