MathGroup Archive 2005

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

Search the Archive

Partitioning a list from an index


how can partition a list (doesn't have to be with 'Partition') such that the 
partition will begin with a specific index?

like this:


and i might want to split it to pairs or threes from index 6 for example, so 
for threes it will be


with or without padding to those that are left, depends on what it is 
possible, or maybe put them together or something

for pairs it will be {1,{2,3},{4,5},{6,7},{8,9},10}
again with or without padding

thank you very much


  • Prev by Date: Folding Deltas
  • Next by Date: Re: Ordering broken on Windows, but not Mac
  • Previous by thread: Re: Folding Deltas
  • Next by thread: Re: Partitioning a list from an index