FunctionalTranslation¶
- class odl.solvers.functional.functional.FunctionalTranslation(*args, **kwargs)[source]¶
Bases:
Functional
Implementation of the translated functional.
Given a functional
f
and an elementtranslation
in the domain off
, this corresponds to the functionalf(. - translation)
.- Attributes:
adjoint
Adjoint of this operator (abstract).
convex_conj
Convex conjugate functional of the translated functional.
domain
Set of objects on which this operator can be evaluated.
functional
The original functional that has been translated.
grad_lipschitz
Lipschitz constant for the gradient of the functional.
gradient
Gradient operator of the functional.
inverse
Return the operator inverse.
is_functional
True
if this operator's range is aField
.is_linear
True
if this operator is linear.proximal
Proximal factory of the translated functional.
range
Set in which the result of an evaluation of this operator lies.
translation
The translation.
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__(func, translation)[source]¶
Initialize a new instance.
Given a functional
f(.)
and a vectortranslation
in the domain off
, this corresponds to the functionalf(. - translation)
.- Parameters:
- func
Functional
Functional which is to be translated.
- translation
domain
element The translation.
- func