FunctionalRightScalarMult
- class odl.functionals.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.- __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