the
prod
of
factor
prod
(
expression )
Factor and expression yield list
s of integers
, numbers
, or complexes
.
get
prod
(1,2,3,4)
The prod
function returns the product of a list of numeric values passed to it.
If all the values are integer
s or number
s, a number
is returned. If any value is a complex
, a complex
is returned.
This is the infinite-arity version of the *
operator.