diff options
Diffstat (limited to 'help/range_windows.md')
| -rw-r--r-- | help/range_windows.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/help/range_windows.md b/help/range_windows.md new file mode 100644 index 00000000..d4f82a1c --- /dev/null +++ b/help/range_windows.md @@ -0,0 +1,27 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/range_windows.html).* + +# Up Down Arrow (`↕`) + +## `↕ 𝕩`: Range + +Return all indices to index into an array of shape `𝕩`, in the shape described by `𝕩`. + +When given a single number, range from 0 to `𝕩-1`. + + ↕ 4 + + ↕ 4‿5 + + + +## `𝕨 ↕ 𝕩`: Windows + +Overlapping slices of `𝕩` which are of shape `𝕨`. + + 5 ↕ "abcdefg" + + a ← 3‿3⥊↕9 + + 2‿2 ↕ a + + |
