Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
 
    
    
 Artist
                                
                                
                                    Artist
                                        For example A <:: (3,3) $# $I 9 (or more readably (3, 3) $# (1_9); ) The $# or Reshape operator is very similar to the APL ® (rho) operator, in that it builds a multi-dimensional array whose shape is given in the left operand (here 3-by-3, like a noughts and crosses board) and initialises it with the values in the right-hand operand (here the numbers 1 through 9, specified as the range 1_9). Thus the result is:
                                        1 2 3
                                        4 5 6
                                        7 8 9
                                        This is useful for chess boards, Star Trek galaxy maps, and general matrices.