spgl1.spg_mmv
- spgl1.spg_mmv(A, B, sigma=0, **kwargs)[source]
MMV problem.
spg_mmvis designed to solve the multi-measurement vector basis pursuit denoise:(MMV) minimize ||X||_1,2 subject to ||A X - B||_2,2 <= sigma
where
Ais an M-by-N matrix,bis an M-by-G matrix, and`sigmais a nonnegative scalar.Acan be an explicit M-by-N matrix or ascipy.sparse.linalg.LinearOperator.- Parameters
- A{sparse matrix, ndarray, LinearOperator}
Representation of an M-by-N matrix. It is required that the linear operator can produce
AxandA^T x.- barray_like, shape (m,)
Right-hand side matrix
bof size M-by-G.- sigmafloat, optional
BPDN threshold. If different from
None, spgl1 solves BPDN problem- kwargsdict, optional
Additional input parameters (refer to
spgl1.spgl1for a list of possible parameters)
- Returns
- xarray_like, shape (n,)
Inverted model
- rarray_like, shape (m,)
Final residual
- garray_like, shape (h,)
Final gradient
- infodict
See spgl1.