The thing that I'd think of first would be using ranks. Using the same example:
Nx2 =: i.6 2x
df1 =: ^
df1/"1 Nx2
0 8 1024 279936 134217728 100000000000
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
