MathGroup Archive 2010

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

Search the Archive

Re: How to evaluate the Laplacian of a function as a function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114354] Re: How to evaluate the Laplacian of a function as a function?
  • From: dr DanW <dmaxwarren at gmail.com>
  • Date: Thu, 2 Dec 2010 05:37:44 -0500 (EST)
  • References: <id4sma$ci5$1@smc.vnet.net>

This is a pattern I use a lot for exactly the same problem.  Try:

LaplacianOfFunc = Function[{Xx, Yy}, Evaluate[Laplacian[func[Xx,
Yy]]]]

Now you can use LaplacianOfFunc as a function in two variables, as in

Plot3D[LaplacianOfFunc[x, y], {x, 0, 6}, {y, 0, 6}]

Enjoy,
Daniel


  • Prev by Date: Re: basic pattern matching
  • Next by Date: Re: Changing Graph style
  • Previous by thread: How to evaluate the Laplacian of a function as a function?
  • Next by thread: Re: How to evaluate the Laplacian of a function as a function?