Skip to content

Commit cba1149

Browse files
committed
fix: Links to DRM classes
1 parent ed33189 commit cba1149

9 files changed

Lines changed: 468 additions & 465 deletions

File tree

doc/source/gsl-ffi-rng.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ The Random Number Generator interface
2222
Random number generator initialization
2323
--------------------------------------
2424

25-
.. function:: gsl-rng-default
25+
.. function:: gsl-rng-default-type
2626

2727
Returns the default random number generator.
2828

2929
:signature:
3030

31-
gsl-rng-default () => (generator)
31+
gsl-rng-default-type () => (generator)
3232

3333
:value generator:
3434

@@ -55,6 +55,15 @@ Random number generator initialization
5555

5656
https://www.gnu.org/software/gsl/doc/html/rng.html#c.gsl_rng_types_setup
5757

58+
.. function:: gsl-rng-env-setup
59+
60+
This function reads the environment variables ``GSL_RNG_TYPE`` and
61+
``GSL_RNG_SEED`` and uses their values to set the defaults.
62+
63+
:seealso:
64+
65+
https://www.gnu.org/software/gsl/doc/html/rng.html#c.gsl_rng_env_setup
66+
5867
.. function:: gsl-rng-type-element
5968

6069
Returns the type of the random number generator at the given index.

0 commit comments

Comments
 (0)