Functional
- class odl.functionals.functional.Functional(*args, **kwargs)[source]
Bases:
OperatorImplementation of a functional class.
A functional is an operator
fthat maps from some domainXto the field of scalarsFassociated with the domain:f : X -> F.Notes
The implementation of the functional class assumes that the domain
is a Hilbert space and that the field of scalars
is a
is the real numbers. It is possible to create functions that do not fulfil
these assumptions, however some mathematical results might not be valid in
this case. For more information, see the ODL functional guide.- __init__(space, linear=False, grad_lipschitz=nan)[source]
Initialize a new instance.
Parameters
- space
LinearSpace The domain of this functional, i.e., the set of elements to which this functional can be applied.
- linearbool, optional
If
True, the functional is considered as linear.- grad_lipschitzfloat, optional
The Lipschitz constant of the gradient. Default:
nan
- space