July 12th, 2002, 7:08 am
Reza,section 8.3, pages 80-87, is dedicated to the construction of Sobol' numbers. The only restriction in dimensionality I have is the ready availability of primitive polynomials modulo two. Indeed, only a comparatively small number of those were tabulated in the literature. This is why I provide a table of 8129334 primitive polynomials modulo two on the accompanying CD. Please note that primitive does not mean irreducible (i.e. prime), there is a difference, and the difference is by no means negligible. As a word of caution, an attempt to compile the entire set of 8 million primitive polynomials may result in your computer locking up since the source file is around 77 MB and the compiler will try to allocate many times that in memory. I find that#define PPMT_MAX_DIM N_PRIMITIVES_UP_TO_DEGREE_23gives me enough polynomials (i.e. Sobol' dimensions) for all practical purposes (634458, to be precise). The header and source file of those polynomials is documented.You may notice that while I provide code samples for a Brownian bridge and the code for the compilation of a table of primitive polynomials into a static array, I don't actually give code for the generation of Sobol' numbers (which naturally would have been very easy for me). There are two good reasons for that neither of which I feel at liberty to discuss in public. However, if you read my explanations in section 8.3 carefully, and also read the description of Sobol' numbers in Numerical Recipes and use their code as a starting point, it should be straightforward for you to devise your own Sobol' number generator without any practical dimensionality restriction. That's about as far as I can go in providing help for high-dimensional Sobol' number generation.Good luck,pjmuuh
Last edited by
pj on July 11th, 2002, 10:00 pm, edited 1 time in total.