FunctionalSum¶
- class odl.solvers.functional.functional.FunctionalSum(*args, **kwargs)[source]¶
Bases:
Functional,OperatorSumExpression type for the sum of functionals.
FunctionalSum(func1, func2) == (x --> func1(x) + func2(x)).- Attributes:
adjointAdjoint of this operator.
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 functional sum.
inverseReturn the operator inverse.
is_functionalTrueif this operator's range is aField.is_linearTrueif this operator is linear.leftThe left/first part of this sum.
proximalProximal factory of the functional.
rangeSet in which the result of an evaluation of this operator lies.
rightThe left/second part of this sum.
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__(left, right)[source]¶
Initialize a new instance.
- Parameters:
- left, right
Functional The summands of the functional sum. Their
Functional.domainandFunctional.rangemust coincide.
- left, right