class documentation

class _DomainedBinaryOperation(_MaskedUFunc):

View In Hierarchy

Define binary operations that have a domain, like divide.

They have no reduce, outer or accumulate.

Parameters

mbfunc : function
The function for which to define a masked version. Made available as _DomainedBinaryOperation.f.
domain : class instance
Default domain for the function. Should be one of the _Domain* classes.
fillx : scalar, optional
Filling value for the first argument, default is 0.
filly : scalar, optional
Filling value for the second argument, default is 0.
Method __call__ Execute the call behavior.
Method __init__ abfunc(fillx, filly) must be defined. abfunc(x, filly) = x for all x to enable reduce.
Instance Variable domain Undocumented
Instance Variable fillx Undocumented
Instance Variable filly Undocumented

Inherited from _MaskedUFunc:

Method __str__ Undocumented
Instance Variable __name__ Undocumented
Instance Variable f Undocumented
def __call__(self, a, b, *args, **kwargs):
Execute the call behavior.
def __init__(self, dbfunc, domain, fillx=0, filly=0):
abfunc(fillx, filly) must be defined. abfunc(x, filly) = x for all x to enable reduce.
domain =

Undocumented

fillx =

Undocumented

filly =

Undocumented