Public Member Functions | |
def | __new__ |
def | __init__ |
Initialize the vector. | |
def | __str__ |
Returns the operators name and attributes. | |
def | __repr__ |
Returns the operators name from operator_dict. | |
def | __eq__ |
def | __neg__ |
def | domain |
return inSpace | |
def | range |
return outSpace | |
def | copy |
Perform shallow copy of self. | |
def | adj |
The adjoint flips the operator_dict key transp. | |
def | __mul__ |
Not defined in this class. | |
def | __add__ |
def | __radd__ |
def | __sub__ |
def | __rsub__ |
def | __call__ |
Not defined in this class. | |
def | applyop |
def | getdim |
Returns the dimensions of the operator. | |
def | norm |
returns Identity | |
def | __norm_col__ |
Norm( oper , col=True ) -> oper.__norm_col__( ). | |
def | __norm_row__ |
Norm( oper , col=False ) -> oper.__norm_row__( ). | |
def | normalize |
returns comp( [self.norm(), self] ) | |
def | minvelconst |
returns Identity | |
Public Attributes | |
params | |
kparams | |
inSpace | |
outSpace | |
Static Public Attributes | |
string | name = "Identity" |
tuple | env = InstanceManager() |
tuple | H = property( _H_ ) |
tuple | isadj = property( _getadj , _setadj ) |
Definition at line 42 of file linear_operator.py.
def __new__ | ( | cls, | ||
params, | ||||
kparams | ||||
) |
Definition at line 52 of file linear_operator.py.
def __init__ | ( | self, | ||
inspace, | ||||
outspace, | ||||
params, | ||||
kparams | ||||
) |
Initialize the vector.
The init method is used to initialize the operator_dict with default values.
Definition at line 77 of file linear_operator.py.
def __str__ | ( | self | ) |
Returns the operators name and attributes.
Reimplemented in ArithmaticOperator, CompoundOperator, ArithmaticOperator, and aug_oper.
Definition at line 95 of file linear_operator.py.
def __repr__ | ( | self | ) |
Returns the operators name from operator_dict.
Reimplemented in CompoundOperator, ArithmaticOperator, and aug_oper.
Definition at line 106 of file linear_operator.py.
def __eq__ | ( | self, | ||
other | ||||
) |
Definition at line 119 of file linear_operator.py.
def __neg__ | ( | self | ) |
def domain | ( | self | ) |
return inSpace
Reimplemented in CompoundOperator, and aug_oper.
Definition at line 148 of file linear_operator.py.
def range | ( | self | ) |
return outSpace
Reimplemented in CompoundOperator, and aug_oper.
Definition at line 155 of file linear_operator.py.
def copy | ( | self | ) |
Perform shallow copy of self.
Reimplemented in CompoundOperator, and aug_oper.
Definition at line 162 of file linear_operator.py.
def adj | ( | self, | ||
other | ||||
) |
The adjoint flips the operator_dict key transp.
and updates the domain and range.
Definition at line 179 of file linear_operator.py.
def __mul__ | ( | self, | ||
other | ||||
) |
Not defined in this class.
Reimplemented in linearop_c.
Definition at line 220 of file linear_operator.py.
def __add__ | ( | self, | ||
other | ||||
) |
Definition at line 230 of file linear_operator.py.
def __radd__ | ( | self, | ||
other | ||||
) |
Definition at line 233 of file linear_operator.py.
def __sub__ | ( | self, | ||
other | ||||
) |
Definition at line 236 of file linear_operator.py.
def __rsub__ | ( | self, | ||
other | ||||
) |
Definition at line 240 of file linear_operator.py.
def __call__ | ( | self, | ||
other | ||||
) |
def applyop | ( | self, | ||
other | ||||
) |
Reimplemented in ArithmaticOperator, Kronecker, DiagonalWeight, Identity, CompoundOperator, ArithmaticOperator, NewLinop, linearop_r, linearop_c, and aug_oper.
Definition at line 258 of file linear_operator.py.
def getdim | ( | self | ) |
Returns the dimensions of the operator.
Usually not defined.
Reimplemented in aug_oper.
Definition at line 266 of file linear_operator.py.
def norm | ( | self | ) |
def __norm_col__ | ( | self | ) |
def __norm_row__ | ( | self | ) |
Norm( oper , col=False ) -> oper.__norm_row__( ).
Definition at line 288 of file linear_operator.py.
def normalize | ( | self | ) |
returns comp( [self.norm(), self] )
Reimplemented in aug_oper.
Definition at line 295 of file linear_operator.py.
def minvelconst | ( | self, | ||
args, | ||||
kargs | ||||
) |
string name = "Identity" [static] |
Reimplemented in DiagonalWeight, NewLinop, linearop_r, and linearop_c.
Definition at line 46 of file linear_operator.py.
tuple env = InstanceManager() [static] |
Definition at line 47 of file linear_operator.py.
tuple H = property( _H_ ) [static] |
Definition at line 204 of file linear_operator.py.
tuple isadj = property( _getadj , _setadj ) [static] |
Definition at line 214 of file linear_operator.py.
Reimplemented in fft_user, Identity, and NewLinop.
Definition at line 82 of file linear_operator.py.
Reimplemented in fft_user, Identity, and NewLinop.
Definition at line 83 of file linear_operator.py.