Previous Up Next

2.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 2.37.31 and 2.42.8).
Input :

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

Output :

[3,8]

Previous Up Next