summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-xWrappers/Python/ccpi/optimisation/operators/Operator.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Wrappers/Python/ccpi/optimisation/operators/Operator.py b/Wrappers/Python/ccpi/optimisation/operators/Operator.py
index 95082f4..cdf15a7 100755
--- a/Wrappers/Python/ccpi/optimisation/operators/Operator.py
+++ b/Wrappers/Python/ccpi/optimisation/operators/Operator.py
@@ -12,12 +12,19 @@ class Operator(object):
'''Returns if the operator is linear'''
return False
def direct(self,x, out=None):
+ '''Returns the application of the Operator on x'''
raise NotImplementedError
def norm(self):
+ '''Returns the norm of the Operator'''
raise NotImplementedError
def range_geometry(self):
+ '''Returns the range of the Operator: Y space'''
raise NotImplementedError
def domain_geometry(self):
+ '''Returns the domain of the Operator: X space'''
raise NotImplementedError
def __rmul__(self, scalar):
+ '''Defines the multiplication by a scalar on the left
+
+ returns a ScaledOperator'''
return ScaledOperator(self, scalar)