DADiSP Worksheet Functions > Function Categories > Series and Scalar Math > COLPROD

 

COLPROD

Purpose:

Calculates the product of each column of an array.

Syntax:

COLPROD(a)

a

-

A series or table.

Returns:

A series.

Example:

a = {{1, 2, 3},

     {4, 5, 6}, 

     {7, 8, 9}} 

 

b = colprod(a)

 

b == {{28}, {80}, {162}}

See Also:

PROD

SUM