bundles / numpy latest / numpy / ma / core / MaskedArray / prod
function
numpy.ma.core:MaskedArray.prod
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py:5301
Signature
def prod(self, axis = None, dtype = None, out = None, keepdims = <no value>)Summary
Return the product of the array elements over the given axis.
Extended Summary
Masked elements are set to 1 internally for computation.
Refer to numpy.prod for full documentation.
Notes
Arithmetic is modular when using integer types, and no error is raised on overflow.
See also
- numpy.ndarray.prod
corresponding function for ndarrays
- numpy.prod
equivalent function
Aliases
numpy.ma.MaskedArray.prod