Re: Partition
- To: mathgroup at smc.vnet.net
- Subject: [mg71686] Re: [mg71611] Partition
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Sun, 26 Nov 2006 03:49:24 -0500 (EST)
- References: <200611251036.FAA15445@smc.vnet.net>
Your problem is part of a more general class of problems that I would
call "unsequencing" problems. I wonder what the most efficient
solution will be.
On 11/25/06, KFUPM <hussain.alqahtani at gmail.com> wrote:
> Dear All
>
> I have a very large list of numbers that look like this: ( although the
> size is different)
>
> list={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}
>
> And i need to rewrite the list into
>
> list2={a,{b,c,d,e},f,{g,h,i,j,},k,{l,m,n,o}}
>
> Since my list is too big, i need Mathematica to do it for me regardless
> of the site of the list.
>
> I would appreciate it if you can help me in this regard,
>
> Thanks
>
> KFUPM
>
>
--
http://chris.chiasson.name/
- References:
- Partition
- From: "KFUPM" <hussain.alqahtani@gmail.com>
- Partition