aboutsummaryrefslogtreecommitdiff
path: root/doc/join.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-07 16:17:58 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-07 16:17:58 -0400
commit91b5abe9fa8b2394606f0eb82bfaeb54fa8a33e8 (patch)
tree26746a3f1c81874c8a65c705d19e6f13355f460c /doc/join.md
parent85c54f4c22897972025d76502b9e305541ec5a6e (diff)
Use # instead of ⍝ for comments
Diffstat (limited to 'doc/join.md')
-rw-r--r--doc/join.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/join.md b/doc/join.md
index f11b815a..cb8dfb36 100644
--- a/doc/join.md
+++ b/doc/join.md
@@ -12,9 +12,9 @@ To join with a separator in between, we might prepend the separator to each stri
Join requires each element of its argument to be an array, and their ranks to match exactly. No rank extension is performed.
- ∾"abc"‿'d'‿"ef" ⍝ Includes a non-array
+ ∾"abc"‿'d'‿"ef" # Includes a non-array
RANK ERROR
- ∾"abc"‿(<'d')‿"ef" ⍝ Includes a scalar
+ ∾"abc"‿(<'d')‿"ef" # Includes a scalar
RANK ERROR
However, Join has higher-dimensional uses as well. Given a rank-`m` array of rank-`n` arrays (requiring `m≤n`), it will merge arrays along their first `m` axes. For example, if the argument is a matrix of matrices representing a [block matrix](https://en.wikipedia.org/wiki/Block_matrix), Join will give the corresponding unblocked matrix as its result.
@@ -28,7 +28,7 @@ However, Join has higher-dimensional uses as well. Given a rank-`m` array of ran
┘ ┘ ┘
[ 3 3 3 3 ] [ 4 4 ] [ 5 5 5 5 5 ]
- ∾ m ⍝ Join all that together
+ ∾ m # Join all that together
0 0 0 0 1 1 2 2 2 2 2
0 0 0 0 1 1 2 2 2 2 2