Rechercher une page de manuel
PGASetRandomSeed
Langue: en
Version: 301623 (debian - 07/07/09)
Section: 5 (Format de fichier)
NAME
PGASetRandomSeed - set a seed for the random number generator.DESCRIPTION
The default is to use a random seed. Specifying a seed exlicitly allows for reproducibility of runs.INPUT PARAMETERS
- ctx
- - context variable
- seed
- - seed for the random number generator
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" void PGASetRandomSeed(ctx, seed) PGAContext *ctx int seed
LOCATION
random.cEXAMPLE
Example: PGAContext *ctx; : PGASetRandomSeed(ctx,1);
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre