FunctionalLeftScalarMult
- class odl.functionals.functional.FunctionalLeftScalarMult(*args, **kwargs)[source]
Bases:
Functional,OperatorLeftScalarMultScalar multiplication of functional from the left.
Given a functional
fand a scalarscalar, this represents the functional(scalar * f)(x) == scalar * f(x).Functional.__rmul__takes care of the case scalar = 0.- __init__(func, scalar)[source]
Initialize a new instance.
Parameters
- func
Functional Functional to be scaled.
- scalarfloat, nonzero
Number with which to scale the functional.
- func