cumsum edit page

cumulative sum of vector3d

Syntax

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

Input

v vector3d

Output

v vector3d