MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Re: How can I use different symbols to reperesent my 2D data?
  • Next by Date: Re: How can I Flatten from the inside out, not the outside in?
  • Previous by thread: Re: How can I Flatten from the inside out, not the outside in?
  • Next by thread: Re: How can I Flatten from the inside out, not the outside in?