Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

How to pass a function to a function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93653] How to pass a function to a function?
  • From: Aaron Fude <aaronfude at gmail.com>
  • Date: Thu, 20 Nov 2008 04:57:16 -0500 (EST)

Hi,

How does one write a call a function that represents an operator? In
other words, it takes a function and returns another function.

For example, if you think of the Laplacian I want to do something like
this (pseudo code):

f[x_, y_] := x^4 +y^4
g = Laplacian[f];

N[g[1, 1], 50]

How would one write "Laplacian"?

Many thanks in advance,

Aaron


  • Prev by Date: Cost of Composition vs Pure Function
  • Next by Date: FFT in Mathematica
  • Previous by thread: Re: Cost of Composition vs Pure Function
  • Next by thread: Re: How to pass a function to a function?