From 9987a58408580bc78d536c71279b91fc851965e8 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 17 Aug 2021 07:35:56 -0400 Subject: Fix error in multi-axis Replicate description and improve clarity --- docs/doc/replicate.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/doc/replicate.html b/docs/doc/replicate.html index 4e8aba5d..77fcb44e 100644 --- a/docs/doc/replicate.html +++ b/docs/doc/replicate.html @@ -148,7 +148,7 @@ 0 3 4 ┘ -

Here the 20 indicates that the first row of b is copied twice and the second is ignored, while 10011 picks out three entries from that row. 𝕩 can also have more axes than elements of 𝕨, and the trailing ones aren't changed, just like the simpler case. However, 𝕨 has to have at least as many elements as 𝕩 has axes (so (𝕨)≥=𝕩), and each element has to have the same length as the corresponding axis in 𝕩—or it can be a unit, as shown below.

+

Here the 20 indicates that the first row of b is copied twice and the second is ignored, while 10011 picks out three entries from that row. As in the single-axis case, 𝕩 can have extra trailing axes that aren't modified by 𝕨. The rules are that 𝕨 can't have more elements than axes of 𝕩 (so (𝕨)≤=𝕩), and that each element has to have the same length as the corresponding axis—or it can be a unit, as shown below.

↗️
    <2,<3 / b
 ┌─                               
 ╵ 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4  
-- 
cgit v1.2.3