numpy / 1.22.0 / reference / generated / numpy.ndarray.prod.html /

numpy.ndarray.prod

method

ndarray. prod ( axis=None, dtype=None, out=None, keepdims=False, initial=1, where=True )

Return the product of the array elements over the given axis

Refer to numpy.prod for full documentation.

See also

numpy.prod

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.ndarray.prod.html