Re: How can I Flatten from the inside out, not the outside in?
- To: mathgroup at smc.vnet.net
- Subject: [mg5481] Re: How can I Flatten from the inside out, not the outside in?
- From: Xah Lee <xah at best.com>
- Date: Wed, 11 Dec 1996 03:16:00 -0500
- Organization: Best Internet Communications
- Sender: owner-wri-mathgroup at wolfram.com
Jason Welter wrote: > > Here is the first of 699 elements of a list I want to > Flatten: > > {{{6.063,-36.544}},{{6.063,-35.404}},{{8.403,-36.544}},{{8.403,-35.404}}} > > How do I remove the "{{" and "}}" characters? If your list has the structure reported above, this should do: % /. {{x_,y_}} -> {x,y} Xah xah at best.com; 74631.731 at compuserve.com http://www.best.com/~xah/PageTwo_dir/MathGraphicsGallery_dir/mathGraphicsGallery.html Mountain View, CA, USA