pyproximal.AffineSet#
- class pyproximal.AffineSet(Op, b, niter)[source]#
Affine set proximal operator.
Proximal operator of an Affine set: \(\{ \mathbf{x} : \mathbf{Opx}=\mathbf{b} \}\).
- Parameters
- Op
pylops.LinearOperator
Linear operator
- b
numpy.ndarray
Data vector
- niter
int
Number of iterations of iterative scheme used to compute the projection.
- Op
Notes
As the Affine set is an indicator function, the proximal operator corresponds to its orthogonal projection (see
pyproximal.projection.AffineSetProj
for details.Methods
__init__
(Op, b, niter)affine_addition
(v)Affine addition
chain
(g)Chain
grad
(x)Compute gradient
postcomposition
(sigma)Postcomposition
precomposition
(a, b)Precomposition
prox
(**kwargs)proxdual
(**kwargs)
Examples using pyproximal.AffineSet
#
Basis Pursuit