APLX Help : Help on APL language : APL Fundamentals : Axis operator


Axis Operator 

A number of primitive functions and operators can be applied to a particular axis (or dimension) of an array. The The highest dimension of a data item is considered to be the first dimension and the lowest dimension the last . Thus the first dimension of a matrix is the rows and the last dimension is the columns. In the case of a threedimensional object, the first dimension is the planes followed by the rows and columns. Axis numbers are governed by the Index Origin, The primitive functions and operators which will accept an axis operator include the dyadic forms of the primitive scalar functions : +  × ÷  ⌈ ⌊ * ⍟ ○ ! ^ ∨ ⍲ ⍱ < ≤ = ≥ > ≠ and some primitive mixed functions : , ⍪ Ravel/Catenate/Laminate (note first axis variant) ⌽ ⊖ Reverse/Rotate (note first axis variant) ⊂ Enclose/Partition ⊃ Disclose ↑ Take ↓ Drop ⌷ Index as well as the operators: / ⌿ Compress/Replicate (note first axis variant) / ⌿ Reduce (note first axis variant) \ ⍀ Scan (note first axis variant) \ ⍀ Expand (note first axis variant) See the reference section entry for Axis 

APLX Help : Help on APL language : APL Fundamentals : Axis operator

Copyright © 19962010 MicroAPL Ltd