Replicate: Difference between revisions

Jump to navigation Jump to search
3 bytes added ,  05:50, 9 June 2020
m
Text replacement - " ⊢( *[^∘])" to " ⎕←$1"
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
       ⎕←A ← 4 6⍴⎕A
ABCDEF
ABCDEF
GHIJKL
GHIJKL

Navigation menu