In the documentation provided in this web page :
http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/...
it is stated that unless one declares in params[2] that they want to overwrite the first dimension (or 0th for c/c++ programmers), they need
s-1 primitive polynomials and s-1 directional vecvtors.
"The number of polynomials (and the number of rows in the table) depends on the initialization mode for the first dimension. In the default initialization mode (see [Brat88] for details) it is enough to pass into the library dimen -1 primitive polynomials (correspondingly, the number of rows in the table of initial direction numbers also equals dimen -1). To override default initialization for the first dimension, set VSL_QRNG_OVERRIDE_1ST_DIM_INIT indicator in params[2]:"
However, in the example provided in the folder vslc of the recent release of mkl 11, inthe file %mklroot%\\examples\vslc\source\soboluserdirnums.c
one notices that although no indication is provided in params[2] for overriding the 1st dimension, dimension ( instead of dimension-1) rows of direction vectors are passed in .
Which one of the two is the correct one ? Apparently the first (c-0th) row is all 1's , which is the default for the direction vectors if not overwritten - please correct me if I am wrong.
In the event someone wanted to overwrite the first dimension what would be the polynomial (c-0th) that they should input in params? 1 ?
Thank you very much in advance,
P-



