Next: rv2m, Previous: runprod, Up: Internal Routines [Contents][Index]

`runsum(`

`x` [, `axis`, `order`][, /fw_edge_neighbor])

Running sum of

. By default without regard to array
structure. If `x`

is defined, then summing is done along
the indicated dimension, starting over for each of the other dimensions.
`axis`

is the order of the summation, akin to n-th order
differencing, and defaults to `order``1`

. The result has the same type as

, except when `x`

isn’t specified or is
negative, in which case summing is done in floating point. Keyword
`axis``/fw_edge_neighbor`

governs smoothing near the edges: when set or
not specified, the value of the nearest full-width average is returned
near the edges; when unset (`/nofw_edge_neighbor`

), then a
symmetric smaller-width average is returned near the edges.

Reverse: differ