Re: "vector" Map[] / functional outer product?
- To: mathgroup at smc.vnet.net
- Subject: [mg83780] Re: "vector" Map[] / functional outer product?
- From: Ray Koopman <koopman at sfu.ca>
- Date: Fri, 30 Nov 2007 05:23:06 -0500 (EST)
- References: <fim8tq$rmd$1@smc.vnet.net>
In[1]:= Outer[#2[#1]&,{a,b,c},{f,g}] Out[1]= {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}} In[2]:= Transpose@Outer[#1[#2]&,{f,g},{a,b,c}] Out[2]= {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}