Package umontreal.iro.lecuyer.rng

Examples of umontreal.iro.lecuyer.rng.RandomStream


  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

Related Classes of umontreal.iro.lecuyer.rng.RandomStream

Copyright © 2018 www.massapicom. 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.