Re: Random points in NIntegrate
- To: mathgroup at smc.vnet.net
- Subject: [mg56465] Re: Random points in NIntegrate
- From: Peter Pein <petsie at arcor.de>
- Date: Tue, 26 Apr 2005 01:33:35 -0400 (EDT)
- References: <d4hvel$1g7$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Ismail T. wrote: > Hi, > > I need to do the following. I am using mathematica to take a > multi-dimensional integral with NIntegrate and QuasiMonteCarlo method > is default for such cases. There are two things that I couldn't figure > out. First, I want to print the random points that the mathematica > chooses to take each data points. This is particularly important to > see whether mathematica is stuck only some parts of the region of > integration where it assumes that the biggest cntribution comes from. > > Secondly, how can I make mathematica to take sample (random) points > only in a specific part of the region of integration without applying > any particular cut to the limits of integration? > > Thanks a lot in advance, > > ismail > I created a small notebook to illustrate tue use of Sow/Reap to get a list of the evaluation points. Please have a look at http://people.freenet.de/Peter_Berlin/Mathe/NUnitSphere/index.html or download an unevaluated notebook file from http://people.freenet.de/Peter_Berlin/Mathe/NUnitSphere/NUnitSphere_unevaluated.nb -- Peter Pein Berlin