{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / _DomainedBinaryOperation

class

numpy.ma.core:_DomainedBinaryOperation

source: /numpy/ma/core.py :1164

Signature

class   _DomainedBinaryOperation ( dbfunc domain fillx = 0 filly = 0 )

Members

Summary

Define binary operations that have a domain, like divide.

Extended Summary

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.

Aliases

  • numpy.ma.core._DomainedBinaryOperation