(>;  (<10 20);<(3 4;< 1 2) )   -:   3 2 $ 10 20 3 4 1 2
1


At 18:00  +0000 2008/02/27, Matthew Brand wrote:
Hi All,

How can I get pairs of numbers which are in boxes like
this:
(<10 20);<(3 4;< 1 2)

out into an array that looks like this:
3 2 $ 10 20 3 4 1 2

The contents of each box are x,y data points that I
want to lump together and model.

The number of levels/structure is always as in the
example, that is a list of boxes where each box
contains a list of boxes where the boxes contain a
list of 2 numeric atoms.

Thanks,
Matthew.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to