prod

Type: External

Group: matrix

Syntax

answer = PROD(matrix)

Description

Returns the products of the rows of a matrix.

Examples

PROD([1,2;3,4]) = [3,8] PROD([1,2,3;4,5,6;7,8,9]) = [28, 80, 162]

See Also

pow2, cumprod