{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / _MaskedUnaryOperation

class

numpy.ma.core:_MaskedUnaryOperation

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

Signature

class   _MaskedUnaryOperation ( mufunc fill = 0 domain = None )

Members

Summary

Defines masked version of unary operations, where invalid values are pre-masked.

Parameters

mufunc : callable

The function for which to define a masked version. Made available as _MaskedUnaryOperation.f.

fill : scalar, optional

Filling value, default is 0.

domain : class instance

Domain for the function. Should be one of the _Domain* classes. Default is None.

Aliases

  • numpy.ma.core._MaskedUnaryOperation