Class BetaRV

    • Constructor Detail

      • BetaRV

        public BetaRV​(double alpha1,
                      double alpha2)
      • BetaRV

        public BetaRV​(double alpha1,
                      double alpha2,
                      int streamNum)
      • BetaRV

        public BetaRV​(double alpha1,
                      double alpha2,
                      RNStreamIfc rng)
    • Method Detail

      • newInstance

        public BetaRV newInstance​(RNStreamIfc rng)
        Parameters:
        rng - the RNStreamIfc to use
        Returns:
        a new instance with same parameter value
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getAlpha1

        public double getAlpha1()
        Returns:
        the first shape parameter
      • getAlpha2

        public double getAlpha2()
        Returns:
        the second shape parameter
      • generate

        protected double generate()
        Specified by:
        generate in class AbstractRVariable
        Returns:
        the randomly generated variate
      • makeControls

        public static RVControls makeControls()
        The keys are "alpha1", the default value is 1.0 and "alpha2" with default value 1.0.
        Returns:
        a control for Beta random variables