t=: 0 : 0 123, -24, 45, -90 2, -999, 1, 2 ) t1=: 0 : 0 123 -24 45 -90 2 -999 1 2 )
_12345 ". ];._2 t-.',' 123 _24 45 _90 2 _999 1 2 _12345 ". ];._2 t1 123 _24 45 _90 2 _999 1 2 ----- Original Message ----- From: June Kim <[EMAIL PROTECTED]> Date: Monday, November 6, 2006 6:21 am Subject: [Jprogramming] Converting numeric data into J nouns > I often have to change one form of numeric data into J nouns. Suppose > > t=: 0 : 0 > 123, -24, 45, -90 > 2, -999, 1, 2 > ) > > or > > t=: 0 : 0 > 123 -24 45 -90 > 2 -999 1 2 > ) > > How would you get the 2-d numeric array for t? (is there an idiom or > script for that already?) > > I can do the transformation but I am very interested to know others', > probably more elegant, approaches. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
