Commit c15669d0 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'operator_documentation' into 'NIFTy_5'

Operator documentation

See merge request ift/nifty-dev!34
parents 84625c98 a0bb1803
......@@ -28,8 +28,8 @@ class Constant(Model):
constant : Field
The value of the model.
Since there is no model-function associated:
- Position has no influence on value.
- There is no gradient.
......@@ -21,7 +21,24 @@ import numpy as np
class OperatorAdapter(LinearOperator):
"""Class representing the inverse and/or adjoint of another operator."""
"""Class representing the inverse and/or adjoint of another operator.
Objects of this class are created internally by `LinearOperator` whenever
the inverse and/or adjoint of an already existing operator object is
requested via the `LinearOperator` attributes `inverse`, `adjoint` or
Users should never have to create instances of this class directly.
op : LinearOperator
The operator on which the adapter will act
op_transform : int
1) adjoint
2) inverse
3) adjoint inverse
def __init__(self, op, op_transform):
super(OperatorAdapter, self).__init__()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment