sum

(method of vector3d)

sum of vectors

Syntax

sum(v)   % sum along the first non singular dimension
sum(v,d) % sum along dimension d

Input

v

vector3d

Output

vector3d