FunctionalRightScalarMult

class odl.functionals.functional.FunctionalRightScalarMult(*args, **kwargs)[source]

Bases: Functional, OperatorRightScalarMult

Scalar multiplication of the argument of functional.

Given a functional f and a scalar scalar, 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

funcFunctional

The functional which will have its argument scaled.

scalarfloat, nonzero

The scaling parameter with which the argument is scaled.