Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2869

Re: Evaluation control in Compile[]

From Szabolcs Horvát <szhorvat@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Evaluation control in Compile[]
Date 2011-06-01 08:34 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <is4tj2$b60$1@smc.vnet.net> (permalink)

Show all headers | View raw


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 comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Evaluation control in Compile[] Szabolcs Horvát <szhorvat@gmail.com> - 2011-06-01 08:34 +0000

csiph-web