Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg19874] Re: [mg19819] F[f_,x_]:=f[x] ?
  • From: "Mark E. Harder" <harderm at ucs.orst.edu>
  • Date: Sun, 19 Sep 1999 01:20:56 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Patrick;
    Its called a pure function, either Function[] or (expression with
slots)&. I had an easier with the latter form:

In[155]:=  F=(#1[#2]&);
                 F[f,x]
Out[155]= f[x]


In[156]:=  Outer[F,{f,g},{x,y}]
Out[156]=  {{f[x],f[y]},{g[x],g[y]}}

-mark


-----Original Message-----
From: Patrick McLean <p_mclean at postoffice.utas.edu.au>
To: mathgroup at smc.vnet.net
Subject: [mg19874] [mg19819] F[f_,x_]:=f[x] ?


>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]}}.
>
>--
>Patrick McLean
>
>No news is good news...
>



  • Prev by Date: Re: Limits of multi-var. functions
  • Next by Date: Plots and text, Fontsize
  • Previous by thread: Re: F[f_,x_]:=f[x] ?
  • Next by thread: Re: F[f_,x_]:=f[x] ?