Previous Up Next

5.45.6  Multiplication of elements of each column of a matrix: product

The product command can multiply the elements of the columns of a matrix (see Section 5.40.28 for other things product can do).

Example.

Input:

product([[1,2],[3,4]])

Output:


3,8

Previous Up Next