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 2002

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

Search the Archive

Re: passing functions as parameters

  • To: mathgroup at
  • Subject: [mg34035] Re: passing functions as parameters
  • From: GoranG <icmc2MAKNUTIOVO at>
  • Date: Sat, 27 Apr 2002 00:56:50 -0400 (EDT)
  • Organization: HThinet
  • References: <aab113$mgj$>
  • Reply-to: icmc2MAKNUTIOVO at
  • Sender: owner-wri-mathgroup at

On Fri, 26 Apr 2002 07:53:07 +0000 (UTC), "DrBob"
<majort at> wrote:

Thank you for your effort, it helped me realize that my original
example works as well. 
And I almost started to change the whole approach.

Anyway, sorry for wasting your time and thank you for setting me back
to the right track.

>How's this?
>    Or[x==y,s[x]==s[y]],"Unknown",
>    Xor[s[x]>s[y],x>y],"Decreasing",
>    True,"Increasing"
>Bobby Treat
>-----Original Message-----
>From: GoranG [mailto:icmc2MAKNUTIOVO at] 
To: mathgroup at
>Subject: [mg34035]  passing functions as parameters
>How would one pass one function to another?
>I need to be able to define functions in the following fashion:
>to be able to later on evaluate
>g[2.,3., f?]
>I have tried couple of paths with no success and would really like to
>avoid using global function in function g.
>All the best...

  • Prev by Date: RE: Getting File Directory Using Any Platform
  • Next by Date: Re: Getting File Directory Using Any Platform
  • Previous by thread: RE: passing functions as parameters
  • Next by thread: Definite Integrals & Hidden Cells