File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
lib/node_modules/@stdlib/stats/incr/mminmax/docs Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
2
2
{{alias}}( [out,] window )
3
- Returns an accumulator function which incrementally computes a moving range.
3
+ Returns an accumulator function which incrementally computes a moving
4
+ minimum and maximum.
4
5
5
6
The `window` parameter defines the number of values over which to compute
6
- the moving range .
7
+ the moving minimum and maximum .
7
8
8
9
If provided a value, the accumulator function returns an updated moving
9
- range . If not provided a value, the accumulator function returns the current
10
- moving range .
10
+ minimum and maximum . If not provided a value, the accumulator function
11
+ returns the current moving minimum and maximum .
11
12
12
- The first `W-1` returned ranges will have less statistical support than
13
- subsequent ranges , as `W` values are needed to fill the window buffer. Until
14
- the window is full, the returned range equals the range of all provided
15
- values.
13
+ The first `W-1` returned values will have less statistical support than
14
+ subsequent values , as `W` values are needed to fill the window buffer. Until
15
+ the window is full, the returned minimum and maximum equal the minimum and
16
+ maximum of all provided values.
16
17
17
18
Parameters
18
19
----------
You can’t perform that action at this time.
0 commit comments