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

Class LognormalSpecialGen



  • public class LognormalSpecialGen
    extends RandomVariateGen
    Implements methods for generating random variates from the lognormal distribution using an arbitrary normal random variate generator. The (non-static) nextDouble method calls the nextDouble method of the normal generator and takes the exponential of the result.
    • Constructor Detail

      • LognormalSpecialGen

        public LognormalSpecialGen(NormalGen g)
        Create a lognormal random variate generator using the normal generator g and with the same parameters.
    • Method Detail

      • 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.