4,493
edits
m (Text replacement - "Category:Primitive functions" to "Category:Primitive functionsCategory:Functions with first- and last-axis forms") |
m (Text replacement - " ⊢( *[^∘])" to " ⎕←$1") |
||
Line 51: | Line 51: | ||
Replicate works along a particular [[axis]], which can be specified in languages with [[function axis]] and otherwise is the first axis for <source lang=apl inline>⌿</source>, and the last axis for <source lang=apl inline>/</source> (except in [[A+]], which uses <source lang=apl inline>/</source> for the [[Leading axis theory|first-axis]] form and has no last-axis form). | Replicate works along a particular [[axis]], which can be specified in languages with [[function axis]] and otherwise is the first axis for <source lang=apl inline>⌿</source>, and the last axis for <source lang=apl inline>/</source> (except in [[A+]], which uses <source lang=apl inline>/</source> for the [[Leading axis theory|first-axis]] form and has no last-axis form). | ||
<source lang=apl> | <source lang=apl> | ||
⎕←A ← 4 6⍴⎕A | |||
ABCDEF | ABCDEF | ||
GHIJKL | GHIJKL |