Documentation of 'umontreal.iro.lecuyer.randvar.InverseGaussianMSHGen' Java class
InverseGaussianMSHGen
umontreal.iro.lecuyer.randvar

Class InverseGaussianMSHGen



  • public class InverseGaussianMSHGen
    extends InverseGaussianGen
    This class implements inverse gaussian random variate generators using the many-to-one transformation method of Michael, Schucany and Haas (MHS).
    • Constructor Detail

      • InverseGaussianMSHGen

        public InverseGaussianMSHGen(RandomStream s,
                                     NormalGen sn,
                                     double mu,
                                     double lambda)
        Creates an inverse gaussian random variate generator with parameters μ = mu and λ = lambda, using streams s and sn.
    • Method Detail

      • nextDouble

        public static double nextDouble(RandomStream s,
                                        NormalGen sn,
                                        double mu,
                                        double lambda)
        Generates a new variate from the inverse gaussian distribution with parameters μ = mu and λ = lambda, using streams s and sn.
      • nextDouble

        public double nextDouble()
        Description copied from class: RandomVariateGen
        Generates a random number from the continuous distribution contained in this object. By default, this method uses inversion by calling the inverseF method of the distribution object. Alternative generating methods are provided in subclasses.
        Overrides:
        nextDouble in class RandomVariateGen
        Returns:
        the generated value

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.