: P = prod(A, dims)

Compute the product of all elements along dimension DIM.

Package: ncarray