a 1-by-1 matrix of strings, the current random number generator
Description
Sets the current random number generator to gen, a string in the set :
"mt", "kiss", "clcg2", "clcg4", "urand", "fsultra".
Examples
// Set the CLCG2 generatordistfun_genset("clcg2");// Now, generate normal random numbers from clcg2// with mean mu=12 and sigma=7distfun_normrnd(12,7,5,3)// Set the KISS generatordistfun_genset("kiss");// Now, generate normal random numbers from kiss// with mean mu=12 and sigma=7distfun_normrnd(12,7,5,3)// Return to the default generatordistfun_genset("mt");
Authors
Copyright (C) 2012 - Michael Baudin
Copyright (C) Jean-Philippe Chancelier and Bruno Pincon