- class LinearOperator¶
NIFTY base class for linear operators.
The base NIFTY operator class is an abstract class from which other specific operator subclasses are derived.
~LinearOperator.TIMES (int) – Symbolic constant representing normal operator application
~LinearOperator.ADJOINT_TIMES (int) – Symbolic constant representing adjoint operator application
~LinearOperator.INVERSE_TIMES (int) – Symbolic constant representing inverse operator application
~LinearOperator.ADJOINT_INVERSE_TIMES (int) – Symbolic constant representing adjoint inverse operator application
~LinearOperator.INVERSE_ADJOINT_TIMES (int) – same as ADJOINT_INVERSE_TIMES
The symbolic constants for the operation modes can be combined by the “bitwise-or” operator “|”, for expressing the capability of the operator by means of a single integer number.
- ADJOINT_BIT = 1¶
- ADJOINT_INVERSE_TIMES = 8¶
- ADJOINT_TIMES = 2¶
- INVERSE_ADJOINT_TIMES = 8¶
- INVERSE_BIT = 2¶
- INVERSE_TIMES = 4¶
- TIMES = 1¶
- property adjoint¶
the adjoint of self
Returns a LinearOperator object which behaves as if it were the adjoint of this operator.
Applies the adjoint-inverse Operator to a given Field.
x (Field) – The input Field, defined on the Operator’s domain.
The processed Field defined on the Operator’s target domain.
- Return type
If the operator has an inverse then the inverse adjoint is identical to the adjoint inverse. We provide both names for convenience.
Applies the adjoint-Operator to a given Field.
- apply(x, mode)¶
Applies the Operator to a given x, in a specified mode.
The processed Field defined on the Operator’s target or domain, depending on mode.
- Return type
- property capability¶
the supported operation modes
Extract subset of domain of x according to self.domain and apply operator.
- property inverse¶
the inverse of self
Returns a LinearOperator object which behaves as if it were the inverse of this operator.
Applies the inverse Operator to a given Field.