Wolfram Library Archive

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

MathCode C++: Find Minimum

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

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.

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

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]

Downloads Download Wolfram CDF Player

FindMinumum1.nb (62.7 KB) - Mathematica Notebook