product

ABSTRACT

Calculates the product of the entries of a vector

PARAMETERS
va 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)