MathGroup Archive 2007

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

Search the Archive

Re: List manipulation


In[7]:=
listManipulated[alist:{__List},fn_]:=Replace[alist,{a__}:>fn[{a,e}],
{1}];
In[8]:=
liste={{a1,a2,a3},{b1,b2,b3},{c1,c2,c3}} ;
listManipulated[liste,f]
Out[9]=
{f[{a1,a2,a3,e}],f[{b1,b2,b3,e}],f[{c1,c2,c3,e}]}

dkr



  • Prev by Date: Re: DSolve y'[t]==y[t-a]
  • Next by Date: Re: List manipulation
  • Previous by thread: Re: List manipulation
  • Next by thread: Re: List manipulation