Package org.apache.sysds.runtime.util
Class NormalPRNGenerator
- java.lang.Object
- 
- org.apache.sysds.runtime.util.PRNGenerator
- 
- org.apache.sysds.runtime.util.NormalPRNGenerator
 
 
- 
 public class NormalPRNGenerator extends PRNGenerator Class that can generate a stream of random numbers from standard normal distribution N(0,1). This class internally makes use of RandNPair, which uses Box-Muller method.
- 
- 
Constructor SummaryConstructors Constructor Description NormalPRNGenerator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublenextDouble()voidsetSeed(long seed)
 
- 
- 
- 
Method Detail- 
setSeedpublic void setSeed(long seed) - Specified by:
- setSeedin class- PRNGenerator
 
 - 
nextDoublepublic double nextDouble() - Specified by:
- nextDoublein class- PRNGenerator
 
 
- 
 
-