The Operator Q Index   <<   >>

 
•   scalar functions
   3 + 4                               +/ 3 4.5 6
7                                   13.5
   (qi 3) +Q (qi 4)                    +Q / qi 3 4.5 6
┌───────┐                                       ┌─────────┐
│┌─┬─┬─┐│                                       │┌───┬─┬─┐│
││7│1│1││                                       ││2 7│2│1││
│└─┴─┴─┘│                                       │└───┴─┴─┘│
└───────┘                                       └─────────┘

•   structural and selection functions
   ⊢ A←2 3 ⍴ qi 3 1 4 1 5 ¯9.2         A[1;0 2]
┌───────┬───────┬──────────┐                    ┌───────┬──────────┐
│┌─┬─┬─┐│┌─┬─┬─┐│┌─┬─┬─┐   │                    │┌─┬─┬─┐│┌───┬─┬──┐│
││3│1│1│││1│1│1│││4│1│1│   │                    ││1│1│1│││4 6│5│¯1││
│└─┴─┴─┘│└─┴─┴─┘│└─┴─┴─┘   │                    │└─┴─┴─┘│└───┴─┴──┘│
├───────┼───────┼──────────┤                    └───────┴──────────┘
│┌─┬─┬─┐│┌─┬─┬─┐│┌───┬─┬──┐│
││1│1│1│││5│1│1│││4 6│5│¯1││
│└─┴─┴─┘│└─┴─┴─┘│└───┴─┴──┘│
└───────┴───────┴──────────┘

•   other functions: ⊤ ⍕ ⌹
   ⍕Q A                               ¯20 ⍕Q (qi 2) *Q (qi 56789)
3 1     4                           1.5574846023877321829e17095
1 5 ¯46r5