Rechercher une page de manuel
PGARandomInterval
Langue: en
Version: 301026 (debian - 07/07/09)
Section: 5 (Format de fichier)
NAME
PGARandomInterval - returns a uniform random number on the specified intervalINPUT PARAMETERS
- ctx
- - context variable
- start
- - starting (integer) value of the interval
- end
- - ending (integer) value of the interval
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" int PGARandomInterval(ctx, start, end) PGAContext *ctx int start int end
LOCATION
random.cEXAMPLE
Example: Generate a value uniformly random from the interval [0,99] PGAContext *ctx; : PGARandomInterval(ctx, 0, 99);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre