matrix.prod()

numpy.matrix.prod

matrix.prod(axis=None, dtype=None, out=None) [source]

Return the product of the array elements over the given axis.

Refer to prod for full documentation.