product
ABSTRACT
Calculates the product of the entries of a vector
PARAMETERS
v | a vector of a numbers |
RETURN
The product of all entries of the given vector. If v
is empty, this function returns 1
DECLARATION
func product(v)
Calculates the product of the entries of a vector
v | a vector of a numbers |
The product of all entries of the given vector. If v
is empty, this function returns 1
func product(v)