Examples of MRG31k3p


Examples of umontreal.iro.lecuyer.rng.MRG31k3p

  public Truth GenerateTruth(Random rnd) throws NotInformativeException {
    if (!IsInformative())
      throw (new NotInformativeException());
    double mean[] = new double[M()];
    double precision[] = new double[M()];
    RandomStream s = new MRG31k3p();
    for (int x = 0; x < M(); x++) {
      /*
       * First generate the precisions, and then generate the means.
       */
      precision[x] = GammaGen.nextDouble(s, a[x], b[x]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.