I think your are looking for prod()

Base.prod(itr)

   Returns the product of all elements of a collection.

Base.prod(A, dims)

   Multiply elements of an array over the given dimensions.


julia> prod(1:10)
3628800

Reply via email to