- class picos.expressions.set_ball.Ball(radius=<1×1 Real Constant: 1>, p=2, denominator_limit=1000)¶
A ball of radius according to a (generalized) -norm.
In the following, refers to the vector -norm or to the entrywise matrix -norm, depending on the argument. See
For or (input as
float("inf")), this is the convex set
For a generalized -norm with , this is the convex set
Note that may not be complex if due to the implicit constraint in this case, which is not meaningful on the complex field.
Note further that may be any scalar affine expression, it does not need to be constant.
- __init__(radius=<1×1 Real Constant: 1>, p=2, denominator_limit=1000)¶
Construct a -norm ball of given radius.
- property p¶
The value defining the -norm used.
This is a limited precision version of the parameter used when the ball was constructed.
- property r¶
The ball’s radius .