Steven Taylor wrote:
>  It's a bit like "3 <\ 'abcdefgh'" without a different verb 
>  instead of '<' and for a higher rank than 1.

I haven't read the rest of this thread, but to respond to this bit:

Since  \  is an adverb, you are not restricted to  <\  .  You may use any
(monadic) verb in place of  <  .

Also,  \  will work on arrays of rank > 1.  However, it will treat any such
array as a list of items (of arbitrary rank), i.e. its frame has length 1.
 If you want arbitrary frames, you can use  ;.3  (or  _3  ).  For example:

           3 3 <;._3 i. 4 4
        +--------+--------+
        |0 1  2  |1  2  3 |
        |4 5  6  |5  6  7 |
        |8 9 10  |9 10 11 |
        +--------+--------+
        | 4  5  6| 5  6  7|
        | 8  9 10| 9 10 11|
        |12 13 14|13 14 15|
        +--------+--------+
           
Does that help at all?

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to