aboutsummaryrefslogtreecommitdiff
path: root/help/range_windows.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
commit2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch)
treeeb621b86b3c8269ab2dd63bd3c628acdf3521059 /help/range_windows.md
parent6c111f1e71e945f66977aecc3322318aa21beacc (diff)
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/range_windows.md')
-rw-r--r--help/range_windows.md27
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
+
+