Re: F[f_,x_]:=f[x] ?
- To: mathgroup at smc.vnet.net
- Subject: [mg20107] Re: [mg19819] F[f_,x_]:=f[x] ?
- From: Daniel Reeves <dreeves at eecs.umich.edu>
- Date: Thu, 30 Sep 1999 02:43:15 -0400
- Sender: owner-wri-mathgroup at wolfram.com
I just stumbled upon the built-in but undocumented function Compose, which apparently does exactly that. Comments from Wolfram developers...? (probably a better functionality for Compose would be the last element of ComposeList, to be consistent with Nest and Fold) ----- FROM Patrick McLean ON 99.09.17 01:37 (Sep 17) ----- > 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... > -- -- -- -- -- -- -- -- -- -- -- -- Daniel Reeves http://ai.eecs.umich.edu/people/dreeves/ "If at first you don't succeed -- try, try again. Then quit. No use being a damn fool about it."