Previous Up Next

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

product takes as argument a matrix A.
product returns the list whose elements are the product of the elements of each column of the matrix A (see also 4.37.31 and 4.42.8).
Input :

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

Output :

[3,8]

Previous Up Next