Package org.uncommons.maths.random

Examples of org.uncommons.maths.random.GaussianGenerator.nextValue()


   *          a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, random);
    return dist.nextValue();
  }
 
  /**
   * Return the normal density function value for the sample x
   *
 
View Full Code Here


   *          a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, RANDOM);
    return dist.nextValue();
  }
 
  /**
   * Return the normal density function value for the sample x
   *
 
View Full Code Here

   * @param sd a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, random);
    return dist.nextValue();
  }

  /**
   * Return the normal density function value for the sample x
   *
 
View Full Code Here

   * @param sd   a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, random);
    return dist.nextValue();
  }

  /**
   * Return the normal density function value for the sample x
   *
 
View Full Code Here

   *          a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, RANDOM);
    return dist.nextValue();
  }
 
  /**
   * Return the normal density function value for the sample x
   *
 
View Full Code Here

   *          a double standard deviation
   * @return a double sample
   */
  public static double rNorm(double mean, double sd) {
    GaussianGenerator dist = new GaussianGenerator(mean, sd, RANDOM);
    return dist.nextValue();
  }
 
  /**
   * Return the normal density function value for the sample 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.