FunctionalRightScalarMult¶
- class odl.solvers.functional.functional.FunctionalRightScalarMult(*args, **kwargs)[source]¶
Bases:
Functional
,OperatorRightScalarMult
Scalar multiplication of the argument of functional.
Given a functional
f
and a scalarscalar
, this represents the functional(f * scalar)(x) == f(scalar * x)
.Functional.__mul__
takes care of the case scalar = 0.- Attributes:
adjoint
Adjoint of this operator.
convex_conj
Convex conjugate functional of functional with scaled argument.
domain
Set of objects on which this operator can be evaluated.
functional
The original functional.
grad_lipschitz
Lipschitz constant for the gradient of the functional.
gradient
Gradient operator of the functional.
inverse
Inverse of this operator.
is_functional
True
if this operator's range is aField
.is_linear
True
if this operator is linear.operator
The operator part of this multiplication.
proximal
Proximal factory of the functional.
range
Set in which the result of an evaluation of this operator lies.
scalar
The 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