Package org.apache.sysds.runtime.util
Class PoissonPRNGenerator
- java.lang.Object
- 
- org.apache.sysds.runtime.util.PRNGenerator
- 
- org.apache.sysds.runtime.util.PoissonPRNGenerator
 
 
- 
 public class PoissonPRNGenerator extends PRNGenerator Class that can generate a stream of random numbers from Poisson distribution with specified mean.
- 
- 
Constructor SummaryConstructors Constructor Description PoissonPRNGenerator()PoissonPRNGenerator(double mean)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublenextDouble()voidsetMean(double mean)voidsetSeed(long sd)voidsetup(double mean, long sd)
 
- 
- 
- 
Method Detail- 
setuppublic void setup(double mean, long sd)
 - 
setSeedpublic void setSeed(long sd) - Specified by:
- setSeedin class- PRNGenerator
 
 - 
setMeanpublic void setMean(double mean) 
 - 
nextDoublepublic double nextDouble() - Specified by:
- nextDoublein class- PRNGenerator
 
 
- 
 
-