From 2f4f1d38f0aec449c39a15cdaaa5e160b4a78a4e Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 30 Dec 2022 10:53:21 -0500 Subject: Updated error message --- docs/doc/reverse.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/doc/reverse.html b/docs/doc/reverse.html index 4d594095..3cc1f829 100644 --- a/docs/doc/reverse.html +++ b/docs/doc/reverse.html @@ -91,7 +91,7 @@

Rotate also allows 𝕨 to be a list (or unit array) of integers, in which case they're matched with leading axes of 𝕩. This means the length of 𝕨 can't be larger than the rank of 𝕩, or there wouldn't be enough axes to match. This rule that 𝕩 has to have rank one or more when 𝕨 is an atom is a special case, because then 𝕨 is treated as the one-element list 𝕨.

↗️
    342  "just a list"
-Error: 𝕨⌽𝕩: Length of compound 𝕨 must be at most rank of 𝕩
+Error: ⌽: Length of list 𝕨 must be at most rank of 𝕩 (3 ≡ ≠𝕨, ⟨11⟩ ≡ ≢𝕩⟩
 

The expression below rotates the first (vertical) axis of tab by one element, and second by two. So the line of capital letters goes from being one away from the top, up to the top, and the column with '2' goes from horizontal index 2 to index 0.

↗️
    12  tab
-- 
cgit v1.2.3