## š 1st axis Compress, Replicate

/ applies by default to the last dimension, whilst the similar operator, š, applies by default to the first dimension.

                TABLE„2 3 ˝Ľ6
                2/TABLE                  (Replicate on last dimension)
           1 1 2 2 3 3
           4 4 5 5 6 6
                 2šTABLE                 (Replicate on first dimension. Same as
           1 2 3                          2/[1]TABLE)
           1 2 3
           4 5 6
           4 5 6

Topic: APLX Help : Help on APL language : APL Primitives : š 1st axis compress

[ Previous | Next | Contents | Index ]