Re: How to pass a function to a function?
- To: mathgroup at smc.vnet.net
- Subject: [mg93658] Re: [mg93653] How to pass a function to a function?
- From: "Aaron Fude" <aaronfude at gmail.com>
- Date: Fri, 21 Nov 2008 05:31:08 -0500 (EST)
- References: <200811200957.EAA20655@smc.vnet.net>
Thanks, but I don't need the Laplacian. I need a different operator. Laplacian was just an e.g. Do you know how to do it? On Thu, Nov 20, 2008 at 10:05 AM, Murray Eisenberg <murray at math.umass.edu>wrote: > You don't have to write it yourself! You may load and use the > VectorAnalysis package. See the documentation for that package and, in > particular, for the function (i.e., operator) Laplacian that it defines. > > Aaron Fude wrote: > >> 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 >> >> > -- > Murray Eisenberg murray at math.umass.edu > Mathematics & Statistics Dept. > Lederle Graduate Research Tower phone 413 549-1020 (H) > University of Massachusetts 413 545-2859 (W) > 710 North Pleasant Street fax 413 545-1801 > Amherst, MA 01003-9305 >
- References:
- How to pass a function to a function?
- From: Aaron Fude <aaronfude@gmail.com>
- How to pass a function to a function?