OperatorComp

class odl.OperatorComp(*args, **kwargs)

Bases: Operator

Expression type for the composition of operators.

OperatorComp(left, right)(x) == left(right(x))

The composition is only well-defined if left.domain == right.range.

__init__(left: Operator, right: Operator, tmp=None)[source]

Initialize a new OperatorComp instance.

Parameters

leftOperator

The left (“outer”) operator

rightOperator

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

tmpelement of the range of right, optional

Used to avoid the creation of a temporary when applying the operator.