diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-24 22:47:46 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-07-24 22:47:46 -0400 |
| commit | a17782ce2ec31709ce30edb3d96fe2f3a9a6ed1f (patch) | |
| tree | b601681b2282f1a51042f8faf5bfe0e0242c0c31 /doc/reshape.md | |
| parent | 436bf368830c828f8008bf55632e2bb4c2a2578f (diff) | |
Documentation on fill elements
Diffstat (limited to 'doc/reshape.md')
| -rw-r--r-- | doc/reshape.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reshape.md b/doc/reshape.md index e9f518d2..85c1f7a3 100644 --- a/doc/reshape.md +++ b/doc/reshape.md @@ -88,7 +88,7 @@ If the left argument implies a smaller number of elements, then only the initial 3‿3 ⥊ a -If the left argument implies a larger number of elements, then the argument elements are reused cyclically. Below, we reach the last element `247` and start over at `135`. If the array doesn't have any elements to start with, its fill value is used instead, but it's probably best not to invoke this case! +If the left argument implies a larger number of elements, then the argument elements are reused cyclically. Below, we reach the last element `247` and start over at `135`. If the array doesn't have any elements to start with, its [fill element](fill.md) is used instead, but it's probably best not to invoke this case! 15 ⥊ a @@ -111,7 +111,7 @@ Above, the length given is `∘`, a special value that indicates that a length t - `∘` says the length must be an exact fit, and gives an error in such a case. - `⌊` rounds the length down, so that some elements are discarded. - `⌽` rounds the length up, repeating elements to make up the difference. -- `↑` rounds the length up, but uses the argument's fill values for the needed extra elements. +- `↑` rounds the length up, but uses the argument's fill for the needed extra elements. These values are just BQN primitives of course. They're not called by Reshape or anything like that; the primitives are just chosen to suggest the corresponding functionality. |
