Returns a matrix containing the 100 first primes.
m = lowdisc_primes100 ( )
a 1x100 matrix of doubles
This function allows to update the table of primes associated to the "-primeslist" option, so that we can use a low discrepancy sequence in higher dimensions.
prarray = lowdisc_primes100 ( ); size(prarray) lds = lowdisc_new("faure"); prarray = lowdisc_primes100 ( ); lds = lowdisc_configure(lds,"-primeslist",prarray); lds = lowdisc_configure(lds,"-dimension",50); [lds,next] = lowdisc_next ( lds ); next lds = lowdisc_destroy(lds);
http://primes.utm.edu/