|
GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|

Go to the source code of this file.
Functions | |
| float | G_math_rand (void) |
| void | G_math_srand (int seed) |
| Seed the pseudo-random number generator. More... | |
| int | G_math_srand_auto (void) |
| Seed the pseudo-random number generator from the time and PID. More... | |
| float G_math_rand | ( | void | ) |
| void G_math_srand | ( | int | seed | ) |
Seed the pseudo-random number generator.
| seedval | 32-bit integer used to seed the PRNG |
Definition at line 28 of file rand1.c.
References G_srand48().
| int G_math_srand_auto | ( | void | ) |
Seed the pseudo-random number generator from the time and PID.
Definition at line 39 of file rand1.c.
References G_srand48_auto().