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


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

compile a numerical integral

From Ruth Lazkoz Sáez <ruth.lazkoz@ehu.es>
Newsgroups comp.soft-sys.math.mathematica
Subject compile a numerical integral
Date 2012-01-24 10:09 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jflvvs$jr4$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

compile a numerical integral Ruth Lazkoz Sáez <ruth.lazkoz@ehu.es> - 2012-01-24 10:09 +0000
  Re: compile a numerical integral psycho_dad <s.nesseris@gmail.com> - 2012-01-25 12:01 +0000
  Re: compile a numerical integral danl@wolfram.com - 2012-01-25 12:03 +0000
  Re: compile a numerical integral "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-25 12:09 +0000
  Re: compile a numerical integral Gabriel Landi <gtlandi@gmail.com> - 2012-01-26 08:25 +0000

csiph-web