Ambrus wrote: > What implementation do you favor? I think this one is the most J-esque:
> trans =: |:&.(<"_2) Though this one was insightful and provocative: > trans1 =: [:,./,:"_2 I'll see if I can come up with other interesting approaches; the first thought that springs to mind is that results similar to "_2 can be achieved with (2#<1)<;.1 ] (with obvious analogs for higher ranks). -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
