MathGroup Archive 2005

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

Search the Archive

"expanding a list"


I'd like to construct a list as follows. Say I have a list of reals  
{x1,x2,x3,...xn}, and another list of integers {r,s}. I'd like to  
make a new list

where the first sublist is of length r, and the remaining sublists  
are of length s.



  • Prev by Date: moving dingbats
  • Next by Date: NMaximise Problem
  • Previous by thread: Re: moving dingbats
  • Next by thread: Re: "expanding a list"