prod - Maple Help

Online Help

All Products    Maple    MapleSim


MTM

  

prod

  

product

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

prod(M, dimension)

Parameters

M

-

matrix, vector, or array

dimension

-

1 or 2

Description

• 

The prod(M) function computes the product of elements in M.

• 

The prod(M) or prod(M,1) creates a row vector of column products of the matrix.

• 

The prod(M,2) creates a column vector of row products of the matrix.

Examples

withMTM:

MMatrix2,3,fill=12x2y3:

prodM,1

144x4y6144x4y6144x4y6

(1)

See Also

MTM[sum]