Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

MathCode C++: Find Minimum
Author

MathCore Engineering AB
Organization: MathCore Engineering AB
URL: http://www.mathcore.com
Description

The function FindMinimum[] finds a local minimum of a given function and a given starting value. A function cannot be translated by MathCode directly when the argument is a symbolic expression. Also, numerical algorithms for minimization are not included in the MathCode runtime library. The solution is to write a Mathematica function that replicates the FindMinimum[] operation using the compilable subset. This notebook illustrates how to do that for a function with one argument.
Subject

*Mathematica Technology > Application Packages > Applications from Independent Developers > MathCode C++
Keywords

MathCode C++, programming, addition, adding
Related items

*MathCode C++   [in Technical Notes]
*MathCode C++: Code Generation of a Symbolic Matrix   [in Technical Notes]
*MathCode C++: Simplest Example   [in Technical Notes]
*MathCode C++: The Seesaw/Pendulum Process   [in Technical Notes]
URL

http://www.wolfram.com/products/applications/mathcode
Downloads Download Wolfram CDF Player

Download
FindMinumum1.nb (62.7 KB) - Mathematica Notebook