MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}


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


  • Prev by Date: Non-negative Matrix Factorization
  • Next by Date: Re: Re: Permanent Computation Efficiency
  • Previous by thread: Re: to become {{f[a],g[a]},{f[b],g[b]},{f[c],g[c]}}
  • Next by thread: distorting an image