Example #1
0
def niederreiter_base_2(dimension):
    """
    This generator uses the algorithm described in Bratley, Fox,
    Niederreiter, `ACM Trans. Model. Comp. Sim.' 2, 195 (1992). It is
    valid up to 12 dimensions.
    """
    return _qrng.qrng(_qrng.niederreiter_base_2, dimension)
Example #2
0
def niederreiter_base_2(dimension):
    """
    This generator uses the algorithm described in Bratley, Fox,
    Niederreiter, `ACM Trans. Model. Comp. Sim.' 2, 195 (1992). It is
    valid up to 12 dimensions.
    """
    return _qrng.qrng(_qrng.niederreiter_base_2, dimension)
Example #3
0
def sobol(dimension):
    """
    This generator uses the Sobol sequence described in Antonov,
    Saleev, `USSR Comput. Maths. Math. Phys.' 19, 252 (1980). It is
    valid up to 40 dimensions.
    """
    return _qrng.qrng(_qrng.sobol, dimension)
Example #4
0
def sobol(dimension):
    """
    This generator uses the Sobol sequence described in Antonov,
    Saleev, `USSR Comput. Maths. Math. Phys.' 19, 252 (1980). It is
    valid up to 40 dimensions.
    """
    return _qrng.qrng(_qrng.sobol, dimension)