diff --git a/nifty/operators/diagonal_operator/diagonal_operator.py b/nifty/operators/diagonal_operator/diagonal_operator.py index dec42da42dc9a788b0d64912d9a5224474f346a5..467330c7a261182c7c836e30e5f6845112db7701 100644 --- a/nifty/operators/diagonal_operator/diagonal_operator.py +++ b/nifty/operators/diagonal_operator/diagonal_operator.py @@ -50,9 +50,21 @@ class DiagonalOperator(EndomorphicOperator): setting the prober distribution_strategy of the diagonal (default : None). In case diagonal is d2o-object or Field, their distribution_strategy is used as a fallback. + default_spaces : tuple of ints *optional* + Defines on which space(s) of a given field the Operator acts by + default (default: None) Attributes ---------- + domain : tuple of DomainObjects, i.e. Spaces and FieldTypes + The domain on which the Operator's input Field lives. + target : tuple of DomainObjects, i.e. Spaces and FieldTypes + The domain in which the outcome of the operator lives. As the Operator + is endomorphic this is the same as its domain. + unitary : boolean + Indicates whether the Operator is unitary or not. + self_adjoint : boolean + Indicates whether the operator is self_adjoint or not. distribution_strategy : string Defines the distribution_strategy of the distributed_data_object in which the diagonal entries are stored in.