Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2929 > unrolled thread
| Started by | "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> |
|---|---|
| First post | 2011-06-04 10:20 +0000 |
| Last post | 2011-06-04 10:20 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Error in Compile "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> - 2011-06-04 10:20 +0000
| From | "Sjoerd C. de Vries" <sjoerd.c.devries@gmail.com> |
|---|---|
| Date | 2011-06-04 10:20 +0000 |
| Subject | Re: Error in Compile |
| Message-ID | <isd0ss$1nn$1@smc.vnet.net> |
It compiles without a problem on my Mathematica 8/Win7-64. from the Compile doc page: "Compile handles numerical functions, matrix operations, procedural programming constructs, list manipulation functions, and functional programming constructs, etc. " Does NMinimize belong to this list? "Ordinary Mathematica code can be called from within compiled code. Results obtained from the Mathematica code are assumed to be approximate real numbers, unless specified otherwise by the third argument of Compile. " NMinimize doesn't return reals, but a list containing a number and a list with a rule.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web