prod(G)

NAME
prod - product

CALLING SEQUENCE
[y]=prod(x)

PARAMETERS

x   : real or complex vector or matrix

y   : real or complex scalar

DESCRIPTION
For vectors and matrices, prod(x) is the product of the elements of x, e.g. prod(1:n) is n!

SEE ALSO
sum