Topic: APLX Help : Help on APL language : APL Primitives : ⍀ 1st axis expand
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

1st axis expand


The expansion function applies by default to the last axis, unless used in conjunction with the axis operator, [] (remember this is affected by ⎕IO). The first axis expansion function, ⍀, applies by default to the first axis, but otherwise behaves in the same way as the expansion function.

             TABLE ← 2 5⍴⍳10
             1 0 1 ⍀ TABLE           (Using the other axis, the
       1  2  3  4  5                  same as 1 0 1\[1]TABLE)
       0  0  0  0  0
       6  7  8  9 10

Topic: APLX Help : Help on APL language : APL Primitives : ⍀ 1st axis expand
[ Previous | Next | Contents | Index | APL Home ]