FunctionalQuadraticPerturb¶
- class odl.solvers.functional.functional.FunctionalQuadraticPerturb(*args, **kwargs)[source]¶
Bases:
FunctionalThe functional representing
F(.) + a * <., .> + <., u> + c.- Attributes:
adjointAdjoint of this operator (abstract).
constantThe constant coefficient.
convex_conjConvex conjugate functional of the functional.
domainSet of objects on which this operator can be evaluated.
functionalOriginal functional.
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.linear_termLinear term.
proximalProximal factory of the quadratically perturbed functional.
quadratic_coeffCofficient of the quadratic term.
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__(func, quadratic_coeff=0, linear_term=None, constant=0)[source]¶
Initialize a new instance.
- Parameters:
- func
Functional Function corresponding to
f.- quadratic_coeff
domain.fieldelement, optional Coefficient of the quadratic term. Default: 0.
- linear_term
domainelement, optional Element in domain of
func, corresponding to the translation. Default: Zero element.- constant
domain.fieldelement, optional The constant coefficient. Default: 0.
- func