Re: Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}
- To: mathgroup at smc.vnet.net
- Subject: [mg105375] Re: [mg105353] Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Mon, 30 Nov 2009 06:10:29 -0500 (EST)
- References: <heqev0$1lm$1@smc.vnet.net> <200911291010.FAA16226@smc.vnet.net>
- Reply-to: drmajorbob at yahoo.com
Transpose@Outer[Compose, {f, g}, {a, b, c}]
{{f[a], g[a]}, {f[b], g[b]}, {f[c], g[c]}}
Bobby
On Sun, 29 Nov 2009 04:10:18 -0600, <SHuisman at giganews.com> wrote:
> Or maybe faster because there is not need to transpose:
>
> Through[{f, g}[#]] & /@ {a, b, c}
>
>
--
DrMajorBob at yahoo.com
- References:
- Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}
- From: SHuisman@giganews.com
- Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}