pyculib
pyculib copied to clipboard
2-D QRNG not implemented
It seems that 2-D quasi rng generator is not implemented, is that so? test code:
rands = np.empty((2,10), dtype='uint32')
randGen = rand.QRNG(rndtype = rand.QRNG.SCRAMBLED_SOBOL32, ndim=2, offset = 0)
randGen.generate(rands)
gives the error:
TypeError: Only accept 1-D array
and top level QRNG function although takes the "nd" parameter, it never generates a ndarray
rand.quasi(10, nd=2)