next up previous 196
Next: PDA_SA - Continuous simulated annealing global optimisation algorithm. Simple constraints can be specified.
Up: User-callable routines
Previous: PDA_RNPOI - Returns pseudo-random numbers from a Poisson distribution


PDA_RNSED - Sets the seed for the PDA random-number generators

Description:
This sets the initial seed for the simple random-number generator based upon Ahrens, Dieter & Grube's TOMS599 routines. The seed should be of the form 4$*$K$+$1, where K is a positive integer, and less than 2$*$$*$28. When it is not, the nearest valid seed is used, but if this is negative, the seed becomes 2001.

Invocation:
CALL PDA_RNSED( SEED )

Arguments:

SEED = INTEGER (Given)
The random-number seed.

References
Ahrens, J.H., Dieter, U. & Grube, A., 1970, "Pseudo-random numbers: a new proposal for the choice of multiplicators", Computing, 6, pp.121-138.



next up previous 196
Next: PDA_SA - Continuous simulated annealing global optimisation algorithm. Simple constraints can be specified.
Up: User-callable routines
Previous: PDA_RNPOI - Returns pseudo-random numbers from a Poisson distribution

PDA [1ex
Starlink User Note 194
H. Meyerdierks, D. Berry, P. W. Draper, G. Privett, M. Currie
12th October 2005
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council