MathGroup Archive 1997

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

Search the Archive

Re: Something like Flatten


Hi Hans,

How about using Map? If lst is your list, then

Flatten/@lst

should do what you want.

Carl Woll
Dept of Physics
U of Washington

On Sat, 6 Sep 1997, Hans Steffani wrote:

> I have a list of list of (list of one number). How can I get a 
> list of list of numbers? Flatten does not work as the outer but
> not the inner braces are deleted.
> 
> Hans Friedrich Steffani
> --
> Hans Friedrich Steffani
> Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz-Zwickau
> mailto:hans.steffani at e-technik.tu-chemnitz.de
> http://www.tu-chemnitz.de/~hfst/
> 
> 



  • Prev by Date: Re: Combining Lists?
  • Next by Date: Help with Iteration.
  • Previous by thread: Re: Something like Flatten
  • Next by thread: Re: Something like Flatten