MathGroup Archive 2007

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

Search the Archive

Re: List manipulation


Another alternative is:

In[13]:=
listManipulated[alist:{__List},fn_]:=fn[{Sequence@@#,e}]&/@alist;

In[14]:=
liste={{a1,a2,a3},{b1,b2,b3},{c1,c2,c3}} ;
listManipulated[liste,f]

Out[15]=
{f[{a1,a2,a3,e}],f[{b1,b2,b3,e}],f[{c1,c2,c3,e}]}

dkr



  • Prev by Date: Re: List manipulation
  • Next by Date: Showing that a hypergeometric expression is 0?
  • Previous by thread: Re: List manipulation
  • Next by thread: Re: List manipulation