Package umontreal.iro.lecuyer.probdist

Examples of umontreal.iro.lecuyer.probdist.BernoulliDist


    * Creates a Bernoulli random variate generator with parameter <SPAN CLASS="MATH"><I>p</I></SPAN>,
    *   using stream <TT>s</TT>.
    *
    */
   public BernoulliGen (RandomStream s, double p) {
      super (s, new BernoulliDist (p));
      setParams (p);
   }
View Full Code Here

TOP

Related Classes of umontreal.iro.lecuyer.probdist.BernoulliDist

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.