Rechercher une page de manuel
PGARandomUniform
Langue: en
Version: 301670 (debian - 07/07/09)
Section: 5 (Format de fichier)
NAME
PGARandomUniform - returns a uniform random number on the interval [start,end]INPUT PARAMETERS
- ctx
- - context variable
- start
- - starting (double) value of the interval
- end
- - ending (double) value of the interval
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" double PGARandomUniform(ctx, start, end) PGAContext *ctx double start double end
LOCATION
random.cEXAMPLE
Example: Generate a uniform random number on the interval [-0.5, 1.5] PGAContext *ctx; double r; : r = PGARandomUniform(ctx, -0.5, 1.5);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre