MathGroup Archive 1999

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

Search the Archive

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


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."




  • Prev by Date: Re: Extend the HTML export function of Mathematica !!!
  • Previous by thread: Re: F[f_,x_]:=f[x] ?
  • Next by thread: Can't get the 3rd Bessel zero!