Public Member Functions | |
def | __new__ |
def | __array_finalize__ |
def | __array__ |
def | __array_wrap__ |
def | for_each |
def | __init__ |
def | __attr_func__ |
def | __pk_helper__ |
aug.__pk_helper__( _iter, itm ) -> None pk_helper performs an inplace change of itm _iter is an iterator that loops through (key,value) pairs of itm. | |
def | __pk_expannder__ |
aug.__pk_expannder__( *p, **kw ) -> iterator expands takes each item element of p and k and calls uses __pk_helper__ to create an array of size of self.size | |
def | __obj_or_array__ |
def | __func__ |
def | __add__ |
def | __radd__ |
def | __sub__ |
def | __rsub__ |
def | __div__ |
def | __rdiv__ |
def | __mul__ |
def | __rmul__ |
def | __pow__ |
def | __neg__ |
def | __abs__ |
Public Attributes | |
meta | |
size |
Definition at line 26 of file AugmentedBase.py.
def __new__ | ( | cls, | ||
args, | ||||
kw | ||||
) |
def __array_finalize__ | ( | self, | ||
obj | ||||
) |
Definition at line 34 of file AugmentedBase.py.
def __array__ | ( | self | ) |
Definition at line 43 of file AugmentedBase.py.
def __array_wrap__ | ( | self, | ||
obj | ||||
) |
Definition at line 46 of file AugmentedBase.py.
def for_each | ( | self | ) |
Definition at line 51 of file AugmentedBase.py.
def __init__ | ( | self, | ||
args, | ||||
kw | ||||
) |
Definition at line 54 of file AugmentedBase.py.
def __attr_func__ | ( | self, | ||
attr, | ||||
pkw_obj | ||||
) |
Definition at line 58 of file AugmentedBase.py.
def __pk_helper__ | ( | self, | ||
_iter, | ||||
itm | ||||
) |
aug.__pk_helper__( _iter, itm ) -> None pk_helper performs an inplace change of itm _iter is an iterator that loops through (key,value) pairs of itm.
if array(val) returns an array of size 0 then itm[key] is replaced with a 1D array of 'value' of len self.size if array(val) returns an array of size equal to self.size then itm[key] is replaced with a 1D array(val).
Definition at line 92 of file AugmentedBase.py.
def __pk_expannder__ | ( | self, | ||
p, | ||||
kw | ||||
) |
aug.__pk_expannder__( *p, **kw ) -> iterator expands takes each item element of p and k and calls uses __pk_helper__ to create an array of size of self.size
iterator returns tuples of ( p, kw )
Definition at line 113 of file AugmentedBase.py.
def __obj_or_array__ | ( | self, | ||
obj | ||||
) |
Definition at line 132 of file AugmentedBase.py.
def __func__ | ( | self, | ||
other, | ||||
name | ||||
) |
Definition at line 138 of file AugmentedBase.py.
def __add__ | ( | self, | ||
other | ||||
) |
Definition at line 148 of file AugmentedBase.py.
def __radd__ | ( | self, | ||
other | ||||
) |
Definition at line 151 of file AugmentedBase.py.
def __sub__ | ( | self, | ||
other | ||||
) |
Definition at line 154 of file AugmentedBase.py.
def __rsub__ | ( | self, | ||
other | ||||
) |
Definition at line 157 of file AugmentedBase.py.
def __div__ | ( | self, | ||
other | ||||
) |
Definition at line 160 of file AugmentedBase.py.
def __rdiv__ | ( | self, | ||
other | ||||
) |
Definition at line 163 of file AugmentedBase.py.
def __mul__ | ( | self, | ||
other | ||||
) |
def __rmul__ | ( | self, | ||
other | ||||
) |
Definition at line 169 of file AugmentedBase.py.
def __pow__ | ( | self, | ||
other | ||||
) |
Definition at line 172 of file AugmentedBase.py.
def __neg__ | ( | self | ) |
Definition at line 175 of file AugmentedBase.py.
def __abs__ | ( | self | ) |
Definition at line 181 of file AugmentedBase.py.
Reimplemented in AugOperator, AugVector, and MetaSpace.
Definition at line 40 of file AugmentedBase.py.
Definition at line 99 of file AugmentedBase.py.