Rank | u"n |
The verb u"n applies u to each cell as
specified by the rank n . The full form of the
rank used is 3 $&.|. n . For example, if n=:2,
the three ranks are 2 2 2, and
if n=: 2 3, they are 3 2 3 .
A negative rank is complementary: u"(-r) y is equivalent
to u"(0>.(#$y)-r) y .
|
(] ; , ; ,"2) y=: a. {~ (a.i.'A') + i. 2 3 4 +----+------------------------+------------+ |ABCD|ABCDEFGHIJKLMNOPQRSTUVWX|ABCDEFGHIJKL| |EFGH| |MNOPQRSTUVWX| |IJKL| | | | | | | |MNOP| | | |QRST| | | |UVWX| | | +----+------------------------+------------+ (<"0 ; <"1 ; <"2 ; <"3 ,&< <"_1) y Boxing of ranks 0 1 2 3 _1 +---------+----------------+-----------+------+-----------+ |+-+-+-+-+|+----+----+----+|+----+----+|+----+|+----+----+| ||A|B|C|D|||ABCD|EFGH|IJKL|||ABCD|MNOP|||ABCD|||ABCD|MNOP|| |+-+-+-+-+|+----+----+----+||EFGH|QRST|||EFGH|||EFGH|QRST|| ||E|F|G|H|||MNOP|QRST|UVWX|||IJKL|UVWX|||IJKL|||IJKL|UVWX|| |+-+-+-+-+|+----+----+----+|+----+----+|| ||+----+----+| ||I|J|K|L|| | ||MNOP|| | |+-+-+-+-+| | ||QRST|| | | | | ||UVWX|| | |+-+-+-+-+| | |+----+| | ||M|N|O|P|| | | | | |+-+-+-+-+| | | | | ||Q|R|S|T|| | | | | |+-+-+-+-+| | | | | ||U|V|W|X|| | | | | |+-+-+-+-+| | | | | +---------+----------------+-----------+------+-----------+ ('*#' ,"0 1 ' abcde') ; (+/"2 i. 2 3 4) ; (+/"_1 i. 2 3 4) +-------+-----------+-----------+ |* abcde|12 15 18 21|12 15 18 21| |# abcde|48 51 54 57|48 51 54 57| +-------+-----------+-----------+