IndicatorLpUnitBall
- class odl.functionals.default_functionals.IndicatorLpUnitBall(*args, **kwargs)[source]
Bases:
FunctionalThe indicator function on the unit ball in given the
Lpnorm.It does not implement
gradientsince it is not differentiable everywhere.Notes
This functional is defined as

where
is the
-norm, which for finite values
of
is defined as
and for
it is defined as
The functional also allows noninteger and nonpositive values of the exponent
, however in this case
is not a
norm.- __init__(space, exponent)[source]
Initialize a new instance.
Parameters
- space
DiscretizedSpaceorTensorSpace Domain of the functional.
- exponentint or infinity
Specifies wich norm to use.
- space