cr.sparse.pursuit.omp.operator_solve

cr.sparse.pursuit.omp.operator_solve(Phi, y, K, res_norm_rtol=0.0001)[source]

Solves the sparse recovery problem \(y = \Phi x + e\) using Orthogonal Matching Pursuit for linear operators

Parameters
  • Phi – A linear operator representing the underdetermined linear system

  • y (jax.numpy.ndarray) – The signal to be modeled by OMP

  • K (int) – Sparsity of the solution vector (number of nonzero entries)

  • res_norm_rtol (float) – Relative tolerance for residual norm (halting criteria)

Note

  • This function cannot be JIT compiled. However the main body of the loop has been JIT compiled for performance.