diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 20:13:18 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-01-24 20:14:44 -0500 |
| commit | 5566ea9429f75b54a8cffb9ebea7747ea651d52c (patch) | |
| tree | cb50a64656fff5c2d41a22dcd6ce553ac1bd8e2e /docs/help/deshape_reshape.html | |
| parent | 3b6599b12470fe9b1321111d31c34685ffd5db52 (diff) | |
Editing
Diffstat (limited to 'docs/help/deshape_reshape.html')
| -rw-r--r-- | docs/help/deshape_reshape.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/help/deshape_reshape.html b/docs/help/deshape_reshape.html index 7c6896b1..e4a4b266 100644 --- a/docs/help/deshape_reshape.html +++ b/docs/help/deshape_reshape.html @@ -6,7 +6,7 @@ <div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> <h1 id="barb-"><a class="header" href="#barb-">Barb (<code><span class='Function'>⥊</span></code>)</a></h1> <h2 id="-𝕩-deshape"><a class="header" href="#-𝕩-deshape"><code><span class='Function'>⥊</span> <span class='Value'>𝕩</span></code>: Deshape</a></h2> -<p>Put all elements of <code><span class='Value'>𝕩</span></code> in a rank 1 array, converting to array if necessary.</p> +<p>Put all elements of <code><span class='Value'>𝕩</span></code> in a rank 1 array, promoting to an array if necessary.</p> <a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgICAg4qWKIDEKCiAgICAgIOKliiAx4oC/MiDiiY0gM+KAvzQ=">↗️</a><pre> <span class='Function'>⥊</span> <span class='Number'>1</span> ⟨ 1 ⟩ @@ -14,7 +14,7 @@ ⟨ 1 2 3 4 ⟩ </pre> <h2 id="𝕨--𝕩-reshape"><a class="header" href="#𝕨--𝕩-reshape"><code><span class='Value'>𝕨</span> <span class='Function'>⥊</span> <span class='Value'>𝕩</span></code>: Reshape</a></h2> -<p>Put all elements of <code><span class='Value'>𝕩</span></code> in an array of shape <code><span class='Value'>𝕨</span></code>, adding or removing elements if necessary.</p> +<p>Put all elements of <code><span class='Value'>𝕩</span></code> in an array of shape <code><span class='Value'>𝕨</span></code>, removing elements or repeating them cyclically if necessary.</p> <p>A single element in <code><span class='Value'>𝕩</span></code> can be a function, which will be replaced with an appropriate length:</p> <ul> <li><code><span class='Modifier2'>∘</span></code> Exact fit</li> |
