Next: rv2m, Previous: runprod, Up: Internal Routines [Contents][Index]
runsum(x [, axis, order][, /fw_edge_neighbor])
Running sum of x
. By default without regard to array
structure. If axis
is defined, then summing is done along
the indicated dimension, starting over for each of the other dimensions.
order
is the order of the summation, akin to n-th order
differencing, and defaults to 1
. The result has the same type as
x
, except when axis
isn’t specified or is
negative, in which case summing is done in floating point. Keyword
/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