MathGroup Archive 2006

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

Search the Archive

Re: Partition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71659] Re: Partition
  • From: "dkr" <dkrjeg at adelphia.net>
  • Date: Sun, 26 Nov 2006 03:48:40 -0500 (EST)
  • References: <ek975q$fjq$1@smc.vnet.net>

KFUPM,

In[20]:=
Flatten[{First[#],Rest[#]}&/@Partition[alist,5],1]
Out[20]=
{a,{b,c,d,e},f,{g,h,i,j},k,{l,m,n,o}}


dkr


  • Prev by Date: Re: Partition
  • Next by Date: Re: Arithmetic Puzzle (so simple it's hard)
  • Previous by thread: Re: Partition
  • Next by thread: Re: Partition