FunctionalComp

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

Bases: Functional, OperatorComp

Composition of a functional with an operator.

Given a functional func and an operator op, such that the range of the operator is equal to the domain of the functional, this corresponds to the functional

(func * op)(x) == func(op(x)).

__init__(func, op)[source]

Initialize a new instance.

Parameters

funcFunctional

The left (“outer”) operator

opOperator

The right (“inner”) operator. Its range must coincide with the domain of func.