|
[Date Index]
[Thread Index]
[Author Index]
Re: List manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg73276] Re: List manipulation
- From: "dkr" <dkrjeg at adelphia.net>
- Date: Fri, 9 Feb 2007 02:25:44 -0500 (EST)
- References: <eqep4g$5dk$1@smc.vnet.net>
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
|