Name
lowdisc_primes100 — Returns a matrix containing the 100 first primes.
Calling Sequence
m = lowdisc_primes100 ( )
Parameters
- m:
a 1x100 matrix of doubles
Description
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.
Examples
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);
Bibliography
http://primes.utm.edu/
Authors
Michael Baudin - 2010 - DIGITEO |