ARB
Functions
frand.c File Reference
#include "frand.h"
#include <math.h>
#include <stdlib.h>
Include dependency graph for frand.c:

Go to the source code of this file.

Functions

static double randval ()
 
static double lowfreqrandval (double *val, int teiler)
 
Frand initFrand (double medium, double low, double high)
 
double getFrand (Frand f)
 
void freeFrand (Frand f)
 
double randProb ()
 

Function Documentation

static double randval ( )
static

Definition at line 5 of file frand.c.

References assert.

Referenced by getFrand(), initFrand(), and lowfreqrandval().

static double lowfreqrandval ( double *  val,
int  teiler 
)
static

Definition at line 17 of file frand.c.

References add(), and randval().

Referenced by getFrand().

Frand initFrand ( double  medium,
double  low,
double  high 
)

Definition at line 26 of file frand.c.

References S_Frand::alpha, S_Frand::beta, S_Frand::medium, outOfMemory, randval(), S_Frand::teiler, and S_Frand::val.

Referenced by decodeFrand().

double getFrand ( Frand  f)
void freeFrand ( Frand  f)

Definition at line 44 of file frand.c.

double randProb ( )

Definition at line 47 of file frand.c.

References assert.

Referenced by mutateRNS().