I'm trying to generate SOBOL sequence using the GPU library (can be 10 times faster than numpy). I don't understand the output of the following program. Why do I have an array of size[100] and not [100][2]. How to define bounds to the number between [0;1]?
from accelerate.cuda import rand from numpy import empty
def test(): pnrg = rand.quasi(100, bits=64, nd=2, device=False) print(pnrg)
test()
Aucun commentaire:
Enregistrer un commentaire