{ } Raw JSON

bundles / numpy 2.4.4 / numpy / ma / core / product

function

numpy.ma.core:product

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

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.product