Class DblErlang

    • Constructor Detail

      • DblErlang

        public DblErlang()
      • DblErlang

        public DblErlang​(int shape,
                         double scale)
    • Method Detail

      • nextDbl

        public double nextDbl()
        Description copied from class: DblSequence
        Returns the next number in this number stream.
        Specified by:
        nextDbl in class DblSequence
      • getValueRange

        public Pair<Double,​Double> getValueRange()
        Description copied from class: DblSequence
        This method computes the minimum and maximum support values (range of possible values) of this stream.
        Overrides:
        getValueRange in class DblSequence
        Returns:
        A Pair containing the minimum and maximum support values.
      • getShape

        public int getShape()
      • setShape

        public void setShape​(int shape)
        Sets the shape parameter of this distribution.
      • getScale

        public double getScale()
      • setScale

        public void setScale​(double scale)
        Sets the scale parameter of this distribution.