home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / j32.sit / j.rsrc / TEXT_1804_i..txt < prev    next >
Text File  |  1991-06-13  |  632b  |  14 lines

  1. i.  (Verb)
  2.  
  3. INTEGERS (1)  The shape of i.y is |y, and its atoms are the first */|y non-negative integers. For example:
  4.  
  5.       i. 2 3            i. 2 _3
  6. 0 1 2                2 1 0
  7. 3 4 5                5 4 3
  8.  
  9.       i. ''          i. 4           i. _4
  10. 0                    0 1 2 3           3 2 1 0
  11.  
  12. As shown in the examples, a negative element in y causes reversal of the atoms along the corresponding axis.
  13.  
  14. INDEX OF ( _ _ )  If rix is the rank of an item of x, then the shape of the result of x i.y is (ΓÇôrix)}.$y. Each atom of the result is either #x or the index of the first occurrence among the items of x of the corresponding rix-cell of y. The comparison in x i.y is tolerant.