Re: = {f[a, b], g[c,
- To: mathgroup at smc.vnet.net
- Subject: [mg109759] Re: = {f[a, b], g[c,
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sat, 15 May 2010 06:14:55 -0400 (EDT)
On 5/14/10 at 5:35 AM, lshifr at gmail.com (Leonid Shifrin) wrote: >How about >In[1]:= MapThread[Apply, {{f, g}, {{a, b}, {c, d}}}] >Out[1]= {f[a, b], g[c, d]} Here is another way In[1]:= Tr[Through[{f, g}[#]] & /@ {{a, b}, {c, d}}, List] Out[1]= {f[{a, b}], g[{c, d}]} But in terms of simplicity, using MapThread seems better