MathGroup Archive 2012

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

Search the Archive

compile a numerical integral

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124547] compile a numerical integral
  • From: Ruth Lazkoz Sáez <ruth.lazkoz at ehu.es>
  • Date: Tue, 24 Jan 2012 05:07:25 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Hi wise people,

I am working to make a code faster using compile and failed at the very 
beginning.
Is there a way to make a version that works?

f=Compile[{u},NIntegrate[x*u,{x,0.,#}]&/@{1,2,3}]

Best,

Ruth Lazkoz



  • Prev by Date: Re: exercises: suppress printing of answers
  • Next by Date: Volumetric Opacity?
  • Previous by thread: Error(?) in FormatValues[MakeExpression]
  • Next by thread: Re: compile a numerical integral