GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rand1.c File Reference
#include <grass/config.h>
#include <stdlib.h>
#include <grass/gmath.h>
Include dependency graph for rand1.c:

Go to the source code of this file.

Functions

float G_math_rand (int seed)
 Random Number Generator (Uniform) More...
 

Function Documentation

float G_math_rand ( int  seed)

Random Number Generator (Uniform)

Random number generator (Uniform Derivatives 0.0 -> 1.0)

Parameters
[in]seed
Returns
float

Definition at line 17 of file rand1.c.

Referenced by G_math_rand_gauss().