Class PoissonPRNGenerator

java.lang.Object
org.apache.sysds.runtime.util.PRNGenerator
org.apache.sysds.runtime.util.PoissonPRNGenerator
All Implemented Interfaces:
IPRNGenerator

public class PoissonPRNGenerator extends PRNGenerator
Class that can generate a stream of random numbers from Poisson distribution with specified mean.
  • Constructor Details

    • PoissonPRNGenerator

      public PoissonPRNGenerator()
    • PoissonPRNGenerator

      public PoissonPRNGenerator(double mean)
  • Method Details

    • setup

      public void setup(double mean, long sd)
    • setSeed

      public void setSeed(long sd)
      Specified by:
      setSeed in interface IPRNGenerator
      Specified by:
      setSeed in class PRNGenerator
    • setMean

      public void setMean(double mean)
    • nextDouble

      public double nextDouble()
      Specified by:
      nextDouble in class PRNGenerator