FunctionalRightScalarMult¶
- class odl.solvers.functional.functional.FunctionalRightScalarMult(*args, **kwargs)[source]¶
Bases:
Functional,OperatorRightScalarMultScalar multiplication of the argument of functional.
Given a functional
fand a scalarscalar, this represents the functional(f * scalar)(x) == f(scalar * x).Functional.__mul__takes care of the case scalar = 0.- Attributes:
adjointAdjoint of this operator.
convex_conjConvex conjugate functional of functional with scaled argument.
domainSet of objects on which this operator can be evaluated.
functionalThe original functional.
grad_lipschitzLipschitz constant for the gradient of the functional.
gradientGradient operator of the functional.
inverseInverse of this operator.
is_functionalTrueif this operator's range is aField.is_linearTrueif this operator is linear.operatorThe operator part of this multiplication.
proximalProximal factory of the functional.
rangeSet in which the result of an evaluation of this operator lies.
scalarThe scalar part of this multiplication.
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, scalar)[source]¶
Initialize a new instance.
- Parameters:
- func
Functional The functional which will have its argument scaled.
- scalarfloat, nonzero
The scaling parameter with which the argument is scaled.
- func