Functional¶
- class odl.solvers.functional.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.- Attributes:
adjointAdjoint of this operator (abstract).
convex_conjConvex conjugate functional of the functional.
domainSet of objects on which this operator can be evaluated.
grad_lipschitzLipschitz constant for the gradient of the functional.
gradientGradient operator of the functional.
inverseReturn the operator inverse.
is_functionalTrueif this operator's range is aField.is_linearTrueif this operator is linear.proximalProximal factory of the functional.
rangeSet in which the result of an evaluation of this operator lies.
Methods
__call__(x[, out])Return
self(x[, out, **kwargs]).bregman(point, subgrad)Return the Bregman distance functional.
derivative(point)Return the derivative operator in the given point.
norm([estimate])Return the operator norm of this operator.
translated(shift)Return a translation of the functional.
- __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