Previous Up Next

6.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 ‍6.40.27 for other things product can do).


Example.
Input:

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

Output:


3,8

Previous Up Next