MathGroup Archive 2011

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

Search the Archive

Passing Compiled Functions To FindRoot, FindMinimum, and NMinimize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119599] Passing Compiled Functions To FindRoot, FindMinimum, and NMinimize
  • From: Frank K <fkampas at gmail.com>
  • Date: Sun, 12 Jun 2011 05:05:57 -0400 (EDT)

The built-in compiler is much more powerful in Version 8 than in
previous versions.  One example of this is the new RuntimeOptions
attribute for Compile.  By setting RuntimeOptions ->
{"EvaluateSymbolically" -> False}, the user can generate a compiled
function which can result in significantly faster results from
FindRoot, FindMinimum and NMinimize.  The documentation for
RuntimeOptions gives an example of this for
FindRoot and I have verified that it also works for FindMinimum and
NMinimize.


  • Prev by Date: Re: Is there ToNumber?
  • Next by Date: Replacement faild
  • Previous by thread: Show results live
  • Next by thread: Replacement faild