Cumulative sum of elements along dimension dim.
If dim is omitted, it defaults to the first non-singleton dimension.
See sum
for an explanation of the optional parameters
"native"
, "double"
, and "extra"
.
See also: sum, cumprod.
Package: octave