FunctionalScalarSum

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

Bases: FunctionalSum

Expression type for the sum of a functional and a scalar.

FunctionalScalarSum(func, scalar) == (x --> func(x) + scalar)

__init__(func, scalar)[source]

Initialize a new instance.

Parameters

funcFunctional

Functional to which the scalar is added.

scalarelement in the field of the domain

The scalar to be added to the functional. The field of the domain is the range of the functional.