cr.sparse.sls.lsqr_jit

cr.sparse.sls.lsqr_jit(A, b, x0, damp=0, atol=1e-08, btol=1e-08, conlim=100000000.0, max_iters=10)

Solves the overdetermined system \(A x = b\) in least square sense using LSQR algorithm.

Parameters
  • A (cr.sparse.lop.Operator) – A linear operator

  • b (jax.numpy.ndarray) – The target values

  • x0 (jax.numpy.ndarray) – Initial estimate

  • damp (float) – Paramter for damped least square problem

  • atol (float) – Tolerance for stopping criteria S1 and S2

  • btol (float) – Tolerance for stopping criteria S1

  • conlim (float) – Maximum allowed limit for condition number

  • max_iters (int) – maximum number of LSQR iterations

Returns

A named tuple consisting of LSQR solution

Return type

LSQRSolution

Adapted from Pylops