Something simple ... and a bit trivial I am stuck on ...

d =. 1$1
   d 0} 1 2 3
|rank error

What can I do to d to make its shape fit into 0} 1 2 3?

e.g.
(,d) 0} 1 2 3
|rank error
|   (,d)    0}1 2 3

Does not work. Could somebody suggest what to use instead of , to make
this work?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to