module documentation

Mixin classes for custom array types that don't inherit from ndarray.

Class NDArrayOperatorsMixin Mixin defining all operator special methods using __array_ufunc__.
Function _binary_method Implement a forward binary method with a ufunc, e.g., __add__.
Function _disables_array_ufunc True when __array_ufunc__ is set to None.
Function _inplace_binary_method Implement an in-place binary method with a ufunc, e.g., __iadd__.
Function _numeric_methods Implement forward, reflected and inplace binary methods with a ufunc.
Function _reflected_binary_method Implement a reflected binary method with a ufunc, e.g., __radd__.
Function _unary_method Implement a unary special method with a ufunc.
def _binary_method(ufunc, name): (source)

Implement a forward binary method with a ufunc, e.g., __add__.

def _disables_array_ufunc(obj): (source)

True when __array_ufunc__ is set to None.

def _inplace_binary_method(ufunc, name): (source)

Implement an in-place binary method with a ufunc, e.g., __iadd__.

def _numeric_methods(ufunc, name): (source)

Implement forward, reflected and inplace binary methods with a ufunc.

def _reflected_binary_method(ufunc, name): (source)

Implement a reflected binary method with a ufunc, e.g., __radd__.

def _unary_method(ufunc, name): (source)

Implement a unary special method with a ufunc.