prime_base

The prime numbers used to generate the sequence

Specification

  • Alias: None

  • Arguments: INTEGERLIST

  • Default: Vector of the first s primes for s-dimensions in Halton, First (s-1) primes for Hammersley

Description

It is recommended that the user not specify this and use the default values.

  • For the Halton sequence, the default bases are primes in increasing order, starting with 2, 3, 5, etc.

  • For the Hammersley sequence, the user specifies (s-1) primes if one is generating an s-dimensional set of random variables.