MovingMap
f applied to each width-(w+1) window of list, sliding by 1 with no padding.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
MovingMap!MovingMap(f, list, w)f applied to each window {list[i], …, list[i+w]} -- Length(list) - w resultsTyped signatures
| Type | Package | Applies |
|---|---|---|
((collection<any>) -> any, collection<any>, integer) -> collection | combinatorics | always |
Details
- Same as Map(f, Partition(list, w + 1, 1)) -- no boundary padding or clipping, unlike a centered-radius window.
Examples
About
| Examples | 6 |
|---|---|
| Checked against | Wolfram Language 3 agree3 differ |
| Crosswalk | Wolfram Language |