see https://code.jsoftware.com/wiki/Vocabulary/semidot3#dyadic

Let
   [t=.;2 3 2<@{."(0)1
1 0 1 0 0 1 0
   T=:i.7 7

then what I want is produced with

   >,.&,.&.>/('';~t)<;.1 L:_ 0 ('';t)<;.1 T
+-----+--------+-----+
|0 1  |2  3  4 | 5  6|
|7 8  |9 10 11 |12 13|
+-----+--------+-----+
|14 15|16 17 18|19 20|
|21 22|23 24 25|26 27|
|28 29|30 31 32|33 34|
+-----+--------+-----+
|35 36|37 38 39|40 41|
|42 43|44 45 46|47 48|
+-----+--------+-----+

Is this (also) possible with <;.3  ?


R.E. Boss
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to