 |
 |
 |
 |
 |
 |
 |
 |
 MathCode C++: Find Minimum
 |
 |
 |
 |
 |
 |

Organization: | MathCore Engineering AB |
 |
 |
 |
 |
 |
 |
 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.
 |
 |
 |
 |
 |
 |

 |
 |
 |
 |
 |
 |
 MathCode C++, programming, addition, adding
 |
 |
 |
 |
 |
 |

 |
 |
 |
 |
 |
 |
 http://www.wolfram.com/products/applications/mathcode
 |
 |
 |
 |
 |
 |

| FindMinumum1.nb (62.7 KB) - Mathematica Notebook |
 |
 |