MathGroup Archive 2006

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

Search the Archive

Re: ListIntegrate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67930] Re: ListIntegrate
  • From: albert <awnl at arcor.de>
  • Date: Mon, 17 Jul 2006 06:51:46 -0400 (EDT)
  • References: <e959tq$e40$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

granto wrote:

> I swear that this function works differently every time I try to use it. 
> I'm using Mathematica 5.0.0.0.
> 
> 
> <<NumericalMath`ListIntegrate`
> 
> *** sometimes this gives me a write error, sometimes it doesn't.  Same
> command from the same notebook.
> 
> x=Import["x.dat"]
> Out= {{0.47725, 6.3245}, {0.71332, 73.3725}, {0.97786, 65.4579}, {1.10302,
> 104.206}}, etc......
> 
> When I enter
> 
> Listintegrate[f1,1]
> 
> It either just gives me the answer in the Output, or just repeats what I
> said, simply expanding the list, e.g.
> 
> Out= Listintegrate{{0.47725, 6.3245}, {0.71332, 73.3725}, {0.97786,
> 65.4579}, {1.10302, 104.206}}
> 
> Last night, it was doing this.  Today, with the same notebook, it's giving
> me the answers.  Seems like a path issue, but I'm new to Mathematica.  Any
> help???   Thanks, grant

for me it looks like sometimes you forget to evaluate the cell that
contains:

<<NumericalMath`ListIntegrate`

Make sure you evaluate it every time you start a new session (you might want
to make the cell an initialization cell so you don't forget to). To confirm
this guess evaluate:

Context[ListIntegrate]

when when ListIntegrate does not work. If you see Global` as output instead
of NumericalMath`ListIntegrate` my guess is right and you will need to:

Remove[ListIntegrate] 

and load the package:

<<NumericalMath`ListIntegrate`



hth,

albert


  • Prev by Date: Re: How to show multiple connections?
  • Next by Date: Re: ListIntegrate
  • Previous by thread: Re: ListIntegrate
  • Next by thread: Re: ListIntegrate