sigpy.prox.BoxConstraint¶
-
class
sigpy.prox.
BoxConstraint
(shape, lower, upper)[source]¶ Box constraint proximal operator.
\[\min_{x : l \leq x \leq u} \frac{1}{2} \| x - y \|_2^2\]Parameters: - shape (tuple of ints) – input shape.
- lower (scalar or array) – lower limit.
- upper (scalar or array) – upper limit.
-
__init__
(shape, lower, upper)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(shape, lower, upper)Initialize self.