Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2869 > unrolled thread
| Started by | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| First post | 2011-06-01 08:34 +0000 |
| Last post | 2011-06-01 08:34 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Evaluation control in Compile[] Szabolcs Horvát <szhorvat@gmail.com> - 2011-06-01 08:34 +0000
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2011-06-01 08:34 +0000 |
| Subject | Re: Evaluation control in Compile[] |
| Message-ID | <is4tj2$b60$1@smc.vnet.net> |
2011/5/31 Oliver Ruebenkoenig <ruebenko@wolfram.com>:
>
> Hi,
>
> does this help?
>
> f[x_] :== x + 1
> f1 == Compile[{{x, _Integer, 0}}, f[x]]
>
> f1[1]
>
>
> << "CompiledFunctionTools`"
>
> CompilePrint[f1]
>
> System`SetSystemOptions[
> =C2 "CompileOptions" -> "CompileReportExternal" -> True];
>
> f2 == Compile[{{x, _Integer, 0}}, f[x]]
>
Thank you, that's exactly what I've been looking for (I think)!
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web