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/deshape_reshape.html | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 docs/help/deshape_reshape.html (limited to 'docs/help/deshape_reshape.html') diff --git a/docs/help/deshape_reshape.html b/docs/help/deshape_reshape.html new file mode 100644 index 00000000..fa7992a9 --- /dev/null +++ b/docs/help/deshape_reshape.html @@ -0,0 +1,45 @@ + + + + BQN: Barb (`⥊`) + + +

Barb ()

+

𝕩: Deshape

+

Put all elements of 𝕩 in a rank 1 array, converting to array if necessary.

+↗️
           1
+⟨ 1 ⟩
+
+           12  34
+⟨ 1 2 3 4 ⟩
+
+

𝕨 𝕩: Reshape

+

Put all elements of 𝕩 in an array of shape 𝕨, adding or removing elements if necessary.

+

A single element in 𝕩 can be a function, which will be replaced with an appropriate length:

+ +↗️
          33  3
+┌─       
+╵ 3 3 3  
+  3 3 3  
+  3 3 3  
+        ┘
+
+          22  123
+┌─     
+╎ 1 2  
+       
+  3 1  
+      ┘
+
+          22  123
+┌─     
+╎ 1 2  
+       
+  3 0  
+      ┘
+
-- cgit v1.2.3