From: Leonid Shifrin on 14 May 2010 05:35 Hi Fred, How about In[1]:= MapThread[Apply, {{f, g}, {{a, b}, {c, d}}}] Out[1]= {f[a, b], g[c, d]} Regards, Leonid On Thu, May 13, 2010 at 3:25 PM, Fred Klingener <gigabitbucket(a)brockeng.com>wrote: > This seems to work fine, but there must be a less clumsy way to do it: > > Clear[innerApply, functionList, argumentList, f, g, a, b, c, d] > > innerApply[functionList_, argumentList_] := > Table[functionList[[j]] @@ argumentList[[j]], {j, 1, > Length[functionList]}] > > In[770]:= innerApply[{f, g}, {{a, b}, {c, d}}] > Out[770]= {f[a, b], g[c, d]} > > TIA, > Fred Klingener > >
|
Pages: 1 Prev: = {f[a, b], g[c, d]} ? Next: GeometricTransformation causes dislocated |