Re: Built-in functions to C code
- To: mathgroup at smc.vnet.net
- Subject: [mg31583] Re: Built-in functions to C code
- From: "Lawrence A. Walker Jr." <lwalker701_remove_ at earthlink.net>
- Date: Wed, 14 Nov 2001 03:42:03 -0500 (EST)
- Organization: Morgan State University, COMSARE
- References: <9sig31$aur$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Toshi, There are $$$commercially available$$$ software to translate your C-code. However, you can link C-code to Mathematica to perform the integration using Mathlink. Numerical Recipes in C is a good place to start looking for code that does the integration. Also you could try adjusting the options to speed up NIntegrate. You might try making AccuracyGoal->4, for example. Hope this helps, Lawrence Toshiyuki (Toshi) Meshii wrote: > Hello, > > I have a program written in Mathematica. > Since It takes long time in calculating NIntegrate, I was wondering whether > I can translate my program to C-language. > > I know there is a command called CForm, but it does not translate NIntegrate > to an detailed C code. > Can someone help me on my problem? > > -Toshi > > >