aboutsummaryrefslogtreecommitdiff
path: root/help/suffixes_drop.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/suffixes_drop.md
parent6c111f1e71e945f66977aecc3322318aa21beacc (diff)
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/suffixes_drop.md')
-rw-r--r--help/suffixes_drop.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/help/suffixes_drop.md b/help/suffixes_drop.md
new file mode 100644
index 00000000..10c93520
--- /dev/null
+++ b/help/suffixes_drop.md
@@ -0,0 +1,34 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/suffixes_drop.html).*
+
+# Down Arrow (`↓`)
+
+## `↓ 𝕩`: Suffixes
+
+Suffixes of array `𝕩` along its first axis.
+
+ ↓ 1‿2‿3‿4
+
+ a ← 3‿3 ⥊ ↕9
+
+ ↓ a
+
+
+
+## `𝕨 ↓ 𝕩`: Drop
+
+For each integer in `𝕨`, drop that many elements from the beginning of each dimension of `𝕩`.
+
+Negative numbers drop from the end.
+
+ 3 ↓ 1‿3‿5‿67
+
+ a ← 4‿4 ⥊ ↕16
+
+ 3‿3 ↓ a
+
+ 5‿5 ↓ a
+
+
+ 3‿¯3 ↓ a
+
+