Previous Up Next

5.43.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.38.31 and 5.43.8).
Input :

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

Output :

[3,8]

Previous Up Next