>> 
<< 
Usr 
Pri 
JfC 
LJ 
Phr 
Dic 
Rel 
Voc 
!: 
Help 
Dictionary
| Item Amend | u}  _ _ _ | Amend | 
| u} is defined in terms of the noun case m} , 
the verb u applying to the argument or arguments to provide 
the numeric indices required by it. 
 | 
For example:
   x=: 100 + i. 2 4
   u=: */@$@] | (5: * i.@$@[)
   y=: i. 3 2 4
   x ; y ; (x u y) ; (x u} y)
+---------------+-----------+----------+---------------+
|100 101 102 103| 0  1  2  3| 0 5 10 15|100 105   2   3|
|104 105 106 107| 4  5  6  7|20 1  6 11|  4 101 106   7|
|               |           |          |               |
|               | 8  9 10 11|          |  8   9 102 107|
|               |12 13 14 15|          | 12  13  14 103|
|               |           |          |               |
|               |16 17 18 19|          | 16  17  18  19|
|               |20 21 22 23|          |104  21  22  23|
+---------------+-----------+----------+---------------+
The positions selected by x u} y may be made to depend on 
either or both of the arguments x and y , 
and related adverbs can be defined for convenient use in common cases.  
For example:
   A=: @(i.@$@])
   u=: (<0 1)&|:
   x=: 'DIAG' [ y=: a. {~ (a. i. 'a') + i. 4 5
   x;y;(x u A y);(x u A} y)
+----+-----+---------+-----+
|DIAG|abcde|0 6 12 18|Dbcde|
|    |fghij|         |fIhij|
|    |klmno|         |klAno|
|    |pqrst|         |pqrGt|
+----+-----+---------+-----+
Also see the case m} for the use of gerunds.
>> 
<< 
Usr 
Pri 
JfC 
LJ 
Phr 
Dic 
Rel 
Voc 
!: 
Help 
Dictionary