sum(args)

Sum of elements.

argsList of numbers, vectors, and/or matrices.
return valueThe recursive sum 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 sums are calculated separately for each of them, and the sum of results will be returned.

sum(1,[2,3])