pyproximal.AffineSetยถ

class pyproximal.AffineSet(Op: LinearOperator, b: ndarray[tuple[Any, ...], dtype[_ScalarT]], niter: int)[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)

Gradient of the Moreau envelope of the function.

postcomposition(sigma)

Postcomposition

precomposition(a, b)

Precomposition

prox(**kwargs)

proxdual(**kwargs)

Examples using pyproximal.AffineSetยถ

Basis Pursuit

Basis Pursuit

Deblending

Deblending