From 2c50d91ec7eb8bc7890befe874a0b93729c2437e Mon Sep 17 00:00:00 2001 From: razetime Date: Wed, 19 Jan 2022 22:48:16 +0530 Subject: add h2s remove copied output, ascii filenames --- docs/help/range_windows.html | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docs/help/range_windows.html (limited to 'docs/help/range_windows.html') diff --git a/docs/help/range_windows.html b/docs/help/range_windows.html new file mode 100644 index 00000000..7af5a587 --- /dev/null +++ b/docs/help/range_windows.html @@ -0,0 +1,48 @@ + + + + BQN: Up Down Arrow (`↕`) + + +

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
+⟨ 0 1 2 3 ⟩
+
+        45
+┌─                                         
+╵ ⟨ 0 0 ⟩ ⟨ 0 1 ⟩ ⟨ 0 2 ⟩ ⟨ 0 3 ⟩ ⟨ 0 4 ⟩  
+  ⟨ 1 0 ⟩ ⟨ 1 1 ⟩ ⟨ 1 2 ⟩ ⟨ 1 3 ⟩ ⟨ 1 4 ⟩  
+  ⟨ 2 0 ⟩ ⟨ 2 1 ⟩ ⟨ 2 2 ⟩ ⟨ 2 3 ⟩ ⟨ 2 4 ⟩  
+  ⟨ 3 0 ⟩ ⟨ 3 1 ⟩ ⟨ 3 2 ⟩ ⟨ 3 3 ⟩ ⟨ 3 4 ⟩  
+                                          ┘
+
+

𝕨 𝕩: Windows

+

Overlapping slices of 𝕩 which are of shape 𝕨.

+↗️
       5  "abcdefg"
+┌─       
+╵"abcde  
+  bcdef  
+  cdefg" 
+        ┘
+
+       a  33⥊↕9
+
+       22  a
+┌─     
+┆ 0 1  
+  3 4  
+       
+  1 2  
+  4 5  
+       
+       
+  3 4  
+  6 7  
+       
+  4 5  
+  7 8  
+      ┘
+
-- cgit v1.2.3