bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / cumprod
function
numpy.ma.core:cumprod
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py :7063
Signature
def cumprod ( self , axis = None , dtype = None , out = None ) Summary
Return the cumulative product of the array elements over the given axis.
Extended Summary
Masked values are set to 1 internally during the computation. However, their position is saved, and the result will be masked at the same locations.
Refer to numpy.cumprod for full documentation.
Notes
The mask is lost if out is not a valid MaskedArray !
Arithmetic is modular when using integer types, and no error is raised on overflow.
See also
- numpy.cumprod
equivalent function
- numpy.ndarray.cumprod
corresponding function for ndarrays
Aliases
-
numpy.ma.cumprod