Halton¶
-
class
modcma.sampling.Halton(d, start=1)¶ Bases:
collections.abc.IteratorIterator implementing Halton Quasi random sequences.
-
d¶ dimension
- Type
int
-
bases¶ array of primes
- Type
np.ndarray
-
index¶ current index
- Type
itertools.count
Attributes Summary
Methods Summary
get_primes(n)Return n primes, starting from 0.
Attributes Documentation
-
vectorized_next= <numba._DUFunc 'vectorized_next'>¶
Methods Documentation
-
static
get_primes(n: int) → numpy.ndarray¶ Return n primes, starting from 0.
-