pyproximal.Intersectionยถ
- class pyproximal.Intersection(k: int, n: int, sigma: float | ndarray[tuple[Any, ...], dtype[_ScalarT]], niter: int = 100, tol: float = 1e-05, call: bool = True)[source]ยถ
Intersection of multiple convex sets operator.
- Parameters:
- k
int Size of vector to be projected
- n
int Number of vectors to be projected simultaneously
- sigma
numpy.ndarrayorfloat Matrix of distances of size \(k \times k\) (or single value in the case of constant matrix)
- niter
int, optional Number of iterations
- tol
float, optional Toleance of update
- call
bool, optional Evalutate call method (
True) or not (False)
- k
Notes
As the Intersection is an indicator function, the proximal operator corresponds to its orthogonal projection (see
pyproximal.projection.IntersectionProjfor details.Methods
__init__(k, n, sigma[, niter, tol, call])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)