random
Set the default random number generator used in CPPTRAJ
random [setdefault {marsaglia|stdlib|mt|pcg32|xo128}]
[createset count <#> [seed <#>]
settype {int|float01|gauss [mean ] [sd ]}]
setdefault If specified, change the default random number generator (RNG).
marsaglia Use the Marsaglia RNG that is used in the Amber MD programs sander/pmemd.
stdlib Use the C standard library RNG.
mt Use the C++11 implementation of the Mersenne twister (mt19937); only available with C++11 support.
pcg32 Use the 32 bit version of the Permuted Congruential Generator.[3]
xo128 Use the Xoshiro128++ RNG.[4]
createset If specified, create a 1D data set filled with random numbers of the specified type.
< name > Name of created set.
count <#> The number of elements to put into the set.
settype {int|float01|gauss} Type of numbers to use; integer, floating point between 0 and 1, Gaussian distribution. 52 mean Mean of distribution for 'gauss'. sd Standard deviation of distribution for 'gauss'. seed <#> Optional seed for the RNG.
This command can be used to set the default random number generator used in CPPTRAJ, and/or create a 1D data set filled with random values.
