Previous Up Next

5.45.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 5.40.31 and 5.45.8).
Input :

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

Output :

[3,8]

Previous Up Next