1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<?xml version="1.0"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY igraph "igraph">
]>
<chapter id="igraph-Random">
<title>Random numbers</title>
<!-- doxrox-include about_rngs -->
<section id="default-random-number-generator"><title>The default random number generator</title>
<!-- doxrox-include igraph_rng_default -->
<!-- doxrox-include igraph_rng_set_default -->
</section>
<section id="creating-random-number-generators"><title>Creating random number generators</title>
<!-- doxrox-include igraph_rng_init -->
<!-- doxrox-include igraph_rng_destroy -->
<!-- doxrox-include igraph_rng_seed -->
<!-- doxrox-include igraph_rng_min -->
<!-- doxrox-include igraph_rng_max -->
<!-- doxrox-include igraph_rng_name -->
</section>
<section id="generating-random-numbers"><title>Generating random numbers</title>
<!-- doxrox-include igraph_rng_get_integer -->
<!-- doxrox-include igraph_rng_get_unif -->
<!-- doxrox-include igraph_rng_get_unif01 -->
<!-- doxrox-include igraph_rng_get_normal -->
<!-- doxrox-include igraph_rng_get_geom -->
<!-- doxrox-include igraph_rng_get_binom -->
<!-- doxrox-include igraph_rng_get_gamma -->
</section>
<section id="supported-random-number-generators"><title>Supported random number generators</title>
<para>
By default igraph uses the MT19937 generator. Prior to igraph version
0.6, the generator supplied by the standard C library was used. This
means the GLIBC2 generator on GNU libc 2 systems, and maybe the RAND
generator on others.
</para>
<!-- doxrox-include igraph_rngtype_mt19937 -->
<!-- doxrox-include igraph_rngtype_glibc2 -->
<!-- doxrox-include igraph_rngtype_rand -->
</section>
<!-- doxrox-include rng_use_cases -->
</chapter>
|