diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-14 22:13:43 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-06-14 22:14:25 -0400 |
| commit | 3295d50d33ba6f92185470c2984b097140231618 (patch) | |
| tree | b98d6f45c9b2f43f3dbd229662234d26150ad58a /doc/map.md | |
| parent | 53a4cfb43d9fe0f5654a20d7937ac653be6a30e3 (diff) | |
Use [] instead of >⟨⟩ in a few places
Diffstat (limited to 'doc/map.md')
| -rw-r--r-- | doc/map.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ If the argument lengths don't match then Each gives an error. This differs from Arguments can have any shape as long as the axis lengths match up. As with Table, the result elements don't depend on these shapes but the result shape does. - (>⟨20‿30‿10,50‿40‿60⟩) +⟜↕¨ 2‿1‿0≍3‿2‿1 + [20‿30‿10,50‿40‿60] +⟜↕¨ 2‿1‿0≍3‿2‿1 But arguments don't have to have exactly the same shape: just the same length along corresponding axes. These axes are matched up by [leading axis agreement](leading.md#leading-axis-agreement), so that one argument's shape has to be a prefix of the other's. With equal ranks, the shapes do have to match as we've seen above. |
