MathGroup Archive 1996

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

Search the Archive

Re: How can I Flatten from the inside out, not the outside

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5461] Re: [mg5393] How can I Flatten from the inside out, not the outside
  • From: Allan Hayes <hay at haystack>
  • Date: Sat, 7 Dec 1996 00:26:39 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

welter at texoma.com (Jason Welter)
How can I Flatten from the inside out, not the outside in?
writes

>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.40>  
4}}}
>
> How do I remove the "{{" and "}}" characters?

Jason:

Map[Flatten, { {{{a,b}},{{c,d}}}, {{{p,q}},{{r,s}}} }]

Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk



  • Prev by Date: Re: solving differential equations
  • Next by Date: Re: 3D data plot
  • Previous by thread: Re: Re: Solving a numerical integration
  • Next by thread: : select a range of elements from a nested list