def copy_into(self, into): """Helper function for copy(): make a deep copy,""" if not isinstance(into, AliasedVectorAttributes): raise TypeError('copy_into() cannot copy into other types than \ AliasedVectorAttributes or its subclasses') AliasedArrayAttributes.copy_into(self, into) into._xtolerance = self._xtolerance
def copy_into(self, into): if not isinstance(into, MatrixAttrMixin): raise TypeError('copy_into() cannot copy into other types than \ MatrixAttrMixin or its subclasses') AliasedArrayAttributes.copy_into(self, into) into._rowpos = self._rowpos into._colpos = self._colpos into._rowpixelsize = self._rowpixelsize into._colpixelsize = self._colpixelsize
def __init__(self, **kwargs): ArithmeticBase.__init__(self) kwargs['normalnames'] = ['x', 'y', 'dy', 'dx'] AliasedArrayAttributes.__init__(self, **kwargs)
def __init__(self, **kwargs): kwargs['normalnames'] = ['A', 'dA'] AliasedArrayAttributes.__init__(self, **kwargs)