|
[Date Index]
[Thread Index]
[Author Index]
Passing functions to C-code
- To: mathgroup at smc.vnet.net
- Subject: [mg31585] Passing functions to C-code
- From: "Lawrence A. Walker Jr." <lwalker701_remove_ at earthlink.net>
- Date: Wed, 14 Nov 2001 03:42:06 -0500 (EST)
- Organization: Morgan State University, COMSARE
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
I am wondering if it is possible to pass functions to C-code using
Mathlink. I know that I can pass numbers, arrays, and matrices to my
C-code function.
For example if I specify a function called
MyFunc[x_,y_]:=x+y;
Then I would like to pass this function to my linked C-code like so,
myCfunc[MyFunc]
If this is possible then I can pass error functions to my externally
link C-code for optimization.
Thanks,
Lawrence
Prev by Date:
Spherical Harmonics
Next by Date:
Re: Preserve the number of equation saving a notebook as html format
Previous by thread:
Re: Spherical Harmonics
Next by thread:
Re: Passing functions to C-code
|