Calculates the product of all values of a series or array.
PROD(series)
series |
- |
Optional. A series, defaults to the current window. |
A scalar.
prod({5, 9, 2, 0.5})
returns 45.
a = {{1, 2, 3},
{4, 5, 6},
{7, 8, 9}}
prod(a)
returns 362880.
b = factors(182);
c = prod(b);
b == {2, 7, 13}
c == 182
See CUMPROD to calculate the cumulative product.
See FACTORS to compute the prime factors of a scalar.
See FACTORIAL to compute the factorial of positive integers.