Product of elements.
args | List of numbers, vectors, and/or matrices. |
return value | The recursive product of the arguments. |
The argument can be a list of numbers, a vector, or a matrix. If there is a list of matrices or vectors, the products are calculated separately for each of them, and the product of results will be returned.
product(1,[2,3])