Class Dist

    • Field Detail

      • stream

        protected StreamInterface stream
        stream is the random number generator from which to draw.
    • Constructor Detail

      • Dist

        public Dist​(StreamInterface stream)
        Constructs a new Distribution.
        Parameters:
        stream - StreamInterface; the stream for this mathematical distribution.
        Throws:
        NullPointerException - when stream is null
    • Method Detail

      • getStream

        public StreamInterface getStream()
        Return the random number stream.
        Returns:
        StreamInterface; the random number stream
      • setStream

        public void setStream​(StreamInterface stream)
        Replace the random number stream.
        Parameters:
        stream - StreamInterface; the new random number stream
        Throws:
        NullPointerException - when stream is null