Uses of Class
org.cicirello.math.rand.EnhancedJumpableGenerator
Package
Description
Collection of classes related to random number generation.
-
Uses of EnhancedJumpableGenerator in org.cicirello.math.rand
Modifier and TypeClassDescriptionclass
An EnhancedArbitrarilyJumpableGenerator is used to wrap an object of any class that implementsRandomGenerator.ArbitrarilyJumpableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
,RandomSampler
, andRandomVariates
.class
An EnhancedLeapableGenerator is used to wrap an object of any class that implementsRandomGenerator.LeapableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
,RandomSampler
, andRandomVariates
.Modifier and TypeMethodDescriptionEnhancedJumpableGenerator.copy()
Creates and returns a new EnhancedJumpableGenerator whose internal state is an exact copy of this one.EnhancedJumpableGenerator.copyAndJump()
Creates a copy of this EnhancedJumpableGenerator, jumps this EnhancedJumpableGenerator forward, and then returns the copy.static EnhancedJumpableGenerator
Gets an EnhancedJumpableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via theRandomGenerator.JumpableGenerator.of(java.lang.String)
method.Modifier and TypeMethodDescriptionfinal Stream<EnhancedJumpableGenerator>
EnhancedLeapableGenerator.eleaps()
Gets an effectively unlimited stream ofEnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one.final Stream<EnhancedJumpableGenerator>
EnhancedLeapableGenerator.eleaps
(long streamSize) Gets a stream ofEnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one.