MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Evaluation control in Compile[]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119386] Re: Evaluation control in Compile[]
  • From: Szabolcs HorvÃt <szhorvat at gmail.com>
  • Date: Wed, 1 Jun 2011 04:34:53 -0400 (EDT)

2011/5/31 Oliver Ruebenkoenig <ruebenko at 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)!


  • Prev by Date: Re: FixedPoint[Cos, 1.0]
  • Next by Date: Re: Parallelize vs Compile
  • Previous by thread: Re: FixedPoint[Cos, 1.0]
  • Next by thread: Re: Evaluation control in Compile[]