MathGroup Archive 1996

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

Search the Archive

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


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