Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

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
> 
> 
> 


  • Prev by Date: Re: Text Statements in 3D Graphics
  • Next by Date: Re: Limit question
  • Previous by thread: Re: Built-in functions to C code
  • Next by thread: RE: Built-in functions to C code