Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: F[f_,x_]:=f[x] ?

  • To: mathgroup at
  • Subject: [mg19835] Re: F[f_,x_]:=f[x] ?
  • From: Paul Abbott <paul at>
  • Date: Sun, 19 Sep 1999 01:20:22 -0400
  • Organization: University of Western Australia
  • References: <7rsi9t$>
  • Sender: owner-wri-mathgroup at

Patrick McLean wrote:

> What is the name of the in-built Mathematica function that plays the role
> of F in te following:
> F[f_,x_]:=f[x].
> For example,
> Outer[F,{f,g},{x,y}]
> will give:
> {{f[x],f[y]},{g[x],g[y]}}.

Although f at x is the prefix form of f[x] you cannot use it here. Two ideas:

[1] Use a pure function instead of F:

Outer[#1[#2] & , {f, g}, {x, y}]

[2] Use Thread and Through:

Thread /@ Through[{f, g}[{x, y}]]


Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia
Nedlands WA  6907                     mailto:paul at

            God IS a weakly left-handed dice player

  • Prev by Date: Does Mathematica work reliably in an Overclocked system
  • Next by Date: Bode-Diagrams
  • Previous by thread: Re: F[f_,x_]:=f[x] ?
  • Next by thread: Re: F[f_,x_]:=f[x] ?