OperatorComp

class odl.operator.operator.OperatorComp(*args, **kwargs)[source]

Bases: odl.operator.operator.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.

Attributes
adjoint

Adjoint of this operator.

domain

Set of objects on which this operator can be evaluated.

inverse

Inverse of this operator.

is_functional

True if this operator’s range is a Field.

is_linear

True if this operator is linear.

left

The left/first part of this composition.

range

Set in which the result of an evaluation of this operator lies.

right

The left/second part of this composition.

Methods

_call(self, x[, out])

Implement self(x[, out]).

derivative(self, x)

Return the operator derivative.

norm(self[, estimate])

Return the operator norm of this operator.

__init__(self, left, right, 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.