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