PROD

Purpose:

Calculates the product of all values of a series or array.

Syntax:

PROD(series)

series

-

Optional. A series, defaults to the current window.

Returns:

A scalar.

Example:

prod({5, 9, 2, 0.5})

 

returns 45.

Example:

a = {{1, 2, 3},

     {4, 5, 6}, 

     {7, 8, 9}} 

 

prod(a)

 

returns 362880.

Example:

b = factors(182);

c = prod(b);

 

b == {2, 7, 13}

c == 182 

Remarks:

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.

See Also:

COLPROD

CUMPROD

FACTORIAL

FACTORS

GAMMA

PARTPROD

SUM