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
Oppylops.LinearOperator

Linear operator

bnumpy.ndarray

Data vector

niterint

Number of iterations of iterative scheme used to compute the projection.

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

Basis Pursuit