Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
State a.
- a - Variable in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
State a.
- a - Variable in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
State a.
- a - Variable in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
State a.
- a - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
First shape parameter.
- a - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
-
Bound a.
- a - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
-
The first vertex.
- a - Variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The first vertex.
- a - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
-
The first vertex.
- A - Static variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Multiply.
- AbstractDiscreteUniformSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.AbstractDiscreteUniformSampler
- AbstractL128 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the LXM family of generators with a 128-bit LCG sub-generator.
- AbstractL128(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a new instance.
- AbstractL128(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a new instance using a 4 element seed.
- AbstractL128(AbstractL128) - Constructor for class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a copy instance.
- AbstractL64 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the LXM family of generators with a 64-bit LCG sub-generator.
- AbstractL64(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a new instance.
- AbstractL64(long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a new instance using a 2 element seed.
- AbstractL64(AbstractL64) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a copy instance.
- AbstractL64X128 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the LXM family of generators with a 64-bit LCG and 128-bit XBG sub-generator.
- AbstractL64X128(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a new instance.
- AbstractL64X128(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a new instance using a 4 element seed.
- AbstractL64X128(AbstractL64X128) - Constructor for class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a copy instance.
- AbstractMarsagliaTsangWangDiscreteSampler(UniformRandomProvider, String) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler
- AbstractMarsagliaTsangWangDiscreteSampler(UniformRandomProvider, MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler
- AbstractPcg6432 - Class in org.apache.commons.rng.core.source32
-
This abstract class is a base for algorithms from the Permuted Congruential Generator (PCG) family that use an internal 64-bit Linear Congruential Generator (LCG) and output 32-bits per cycle.
- AbstractPcg6432(long[]) - Constructor for class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Creates a new instance.
- AbstractPcg6432(Long) - Constructor for class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Creates a new instance using a default increment.
- AbstractPcgMcg6432 - Class in org.apache.commons.rng.core.source32
-
This abstract class is a base for algorithms from the Permuted Congruential Generator (PCG) family that use an internal 64-bit Multiplicative Congruential Generator (MCG) and output 32-bits per cycle.
- AbstractPcgMcg6432(Long) - Constructor for class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Creates a new instance.
- AbstractWell - Class in org.apache.commons.rng.core.source32
-
This abstract class implements the WELL class of pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- AbstractWell(int, int[]) - Constructor for class org.apache.commons.rng.core.source32.AbstractWell
-
Creates an instance with the given
seed
. - AbstractWell.IndexTable - Class in org.apache.commons.rng.core.source32
-
Inner class used to store the indirection index table which is fixed for a given type of WELL class of pseudo-random number generator.
- AbstractXoRoShiRo1024 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 64-bit generators with 1024-bits of state.
- AbstractXoRoShiRo1024(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Creates a new instance.
- AbstractXoRoShiRo1024(AbstractXoRoShiRo1024) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Creates a copy instance.
- AbstractXoRoShiRo128 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 64-bit generators with 128-bits of state.
- AbstractXoRoShiRo128(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a new instance.
- AbstractXoRoShiRo128(long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a new instance using a 2 element seed.
- AbstractXoRoShiRo128(AbstractXoRoShiRo128) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a copy instance.
- AbstractXoRoShiRo64 - Class in org.apache.commons.rng.core.source32
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 32-bit generators with 64-bits of state.
- AbstractXoRoShiRo64(int[]) - Constructor for class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Creates a new instance.
- AbstractXoRoShiRo64(int, int) - Constructor for class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Creates a new instance using a 2 element seed.
- AbstractXoShiRo128 - Class in org.apache.commons.rng.core.source32
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 32-bit generators with 128-bits of state.
- AbstractXoShiRo128(int[]) - Constructor for class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a new instance.
- AbstractXoShiRo128(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a new instance using a 4 element seed.
- AbstractXoShiRo128(AbstractXoShiRo128) - Constructor for class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a copy instance.
- AbstractXoShiRo256 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 64-bit generators with 256-bits of state.
- AbstractXoShiRo256(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a new instance.
- AbstractXoShiRo256(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a new instance using a 4 element seed.
- AbstractXoShiRo256(AbstractXoShiRo256) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a copy instance.
- AbstractXoShiRo512 - Class in org.apache.commons.rng.core.source64
-
This abstract class is a base for algorithms from the Xor-Shift-Rotate family of 64-bit generators with 512-bits of state.
- AbstractXoShiRo512(long[]) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a new instance.
- AbstractXoShiRo512(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a new instance using an 8 element seed.
- AbstractXoShiRo512(AbstractXoShiRo512) - Constructor for class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a copy instance.
- Adapted and stripped down copy of class "org.apache.commons.math4.special.Gamma". - Search tag in class org.apache.commons.rng.sampling.distribution.InternalGamma
- Section
- add(long, int, int) - Static method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
-
Adds an entry to the
TwoCmres.Cmres.Factory.TABLE
. - add(S, double) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Adds the sampler to the composite.
- add(S, double) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
- AhrensDieterExponentialSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from an exponential distribution.
- AhrensDieterExponentialSampler(double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
- AhrensDieterExponentialSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create an instance.
- AhrensDieterGammaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
- AhrensDieterGammaSampler(UniformRandomProvider, AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
- AhrensDieterMarsagliaTsangGammaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from the gamma distribution.
- AhrensDieterMarsagliaTsangGammaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
This instance delegates sampling.
- AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Class to sample from the Gamma distribution when
0 < alpha < 1
. - AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Base class for a sampler from the Gamma distribution.
- AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Class to sample from the Gamma distribution when the
alpha >= 1
. - aIsAlphaShape - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
Flag set to true if
a
is the beta distribution alpha shape parameter. - alias - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The alias table.
- ALIAS_METHOD - Enum constant in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using the alias method (see
AliasMethodDiscreteSampler
). - AliasMethodDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the Alias method.
- AliasMethodDiscreteSampler(UniformRandomProvider, long[], int[]) - Constructor for class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates a sampler.
- AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from the computed tables exploiting the small power-of-two table size.
- alpha - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
-
The alpha parameter.
- alpha - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
The algorithm alpha factor.
- ALPHA_CAUCHY - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The alpha value for the Cauchy case.
- ALPHA_GAUSSIAN - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The alpha value for the Gaussian case.
- ALPHA_LEVY - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The alpha value for the Levy case.
- ALPHA_SMALL - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The alpha value for the
alpha -> 0
to switch to using the Weron formula. - Alpha1CMSStableSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Alpha1CMSStableSampler
- Alpha1CMSStableSampler(UniformRandomProvider, StableSampler.Alpha1CMSStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Alpha1CMSStableSampler
- args - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Define the parameter types of the data needed to build the generator.
- arr - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Service variable.
- ArraySampler - Class in org.apache.commons.rng.sampling
-
Utilities for shuffling an array in-place.
- ArraySampler() - Constructor for class org.apache.commons.rng.sampling.ArraySampler
-
Class contains only static methods.
- atanZeta - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Cache of expression value used in generation.
- ax - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
-
The x component of bound a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The x component of bound a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
-
The x component of vertex a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
-
The x component of vertex a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The x component of vertex a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The x component of vertex a.
- ax - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The x component of vertex a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
-
The y component of bound a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The y component of bound a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
-
The y component of vertex a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The y component of vertex a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The y component of vertex a.
- ay - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The y component of vertex a.
- az - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The z component of bound a.
- az - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The z component of vertex a.
- az - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The z component of vertex a.
B
- b - Variable in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
State b.
- b - Variable in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
State b.
- b - Variable in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
State b.
- b - Variable in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
State b.
- b - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
Second shape parameter.
- b - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
-
Bound b.
- b - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
-
The second vertex.
- b - Variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The second vertex.
- b - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
-
The second vertex.
- BaseChengBetaSampler(UniformRandomProvider, boolean, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
- BaseChengBetaSampler(UniformRandomProvider, ChengBetaSampler.BaseChengBetaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
- BaseGammaSampler(double, double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
- BaseGammaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
- BaseGammaSampler(UniformRandomProvider, AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
- BaseProvider - Class in org.apache.commons.rng.core
-
Base class with default implementation for common methods.
- BaseProvider() - Constructor for class org.apache.commons.rng.core.BaseProvider
-
Create an instance.
- BaseStableSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
- BEGIN_LOG_FACTORIALS - Static variable in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
The first array index with a non-zero log factorial.
- beta - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
-
The algorithm beta factor.
- beta - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
The algorithm beta factor.
- BETA_LEVY - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The beta value for the Levy case.
- Beta0CMSStableSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0CMSStableSampler
- Beta0CMSStableSampler(UniformRandomProvider, StableSampler.Beta0CMSStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0CMSStableSampler
- Beta0WeronStableSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
- Beta0WeronStableSampler(UniformRandomProvider, StableSampler.Beta0WeronStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
- bGSOptim - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
-
Optimization (see code).
- Binomial() - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Class contains only static methods.
- BINOMIAL_NAME - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
The name of the Binomial distribution.
- bits - Variable in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
The current 32-bits of randomness.
- BLOCK_SIZE - Static variable in class org.apache.commons.rng.core.source32.AbstractWell
-
Block size.
- booleanSource - Variable in class org.apache.commons.rng.core.source32.IntProvider
-
Provides a bit source for booleans.
- booleanSource - Variable in class org.apache.commons.rng.core.source64.LongProvider
-
Provides a bit source for booleans.
- booleanSource - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Provides a bit source for booleans.
- BoxMullerGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.
- BoxMullerGaussianSampler(double, double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.
- BoxMullerGaussianSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Create an instance.
- BoxMullerLogNormalSampler - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.Since version 1.1. Please use
LogNormalSampler
instead. - BoxMullerLogNormalSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.Create an instance.
- BoxMullerNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Box-Muller algorithm for sampling from Gaussian distribution with mean 0 and standard deviation 1.
- BoxMullerNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create an instance.
- BoxSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a n-dimension box (hyperrectangle).
- BoxSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler
- BoxSampler.BoxSampler2D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a box in 2D.
- BoxSampler.BoxSampler3D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a box in 3D.
- BoxSampler.BoxSamplerND - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a box in ND.
- BoxSampler2D(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
- BoxSampler2D(UniformRandomProvider, BoxSampler.BoxSampler2D) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
- BoxSampler3D(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
- BoxSampler3D(UniformRandomProvider, BoxSampler.BoxSampler3D) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
- BoxSamplerND(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
- BoxSamplerND(UniformRandomProvider, BoxSampler.BoxSamplerND) - Constructor for class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
- build(UniformRandomProvider) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Builds the composite sampler.
- build(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Builds the composite sampler.
- bump(long) - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Provides the next state of the LCG.
- bump(long) - Static method in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Provides the next state of the MCG.
- bump(long) - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Provides the next state of the LCG.
- bx - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
-
The x component of bound b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The x component of bound b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
-
The x component of vertex b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
-
The x component of vertex b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The x component of vertex b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The x component of vertex b.
- bx - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The x component of vertex b.
- by - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
-
The y component of bound b.
- by - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The y component of bound b.
- by - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
-
The y component of vertex b.
- by - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The y component of vertex b.
- by - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The y component of vertex b.
- by - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The y component of vertex b.
- byteArray2Int(byte[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int
value from a sequence of bytes. - byteArray2IntArray(byte[], int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int[]
value from a sequence of bytes. - ByteArray2IntArray - Class in org.apache.commons.rng.simple.internal
-
Creates a
int[]
from abyte[]
. - ByteArray2IntArray() - Constructor for class org.apache.commons.rng.simple.internal.ByteArray2IntArray
-
Create an instance.
- byteArray2Long(byte[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long
value from a sequence of bytes. - byteArray2LongArray(byte[], int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long[]
value from a sequence of bytes. - ByteArray2LongArray - Class in org.apache.commons.rng.simple.internal
-
Creates a
long[]
from abyte[]
. - ByteArray2LongArray() - Constructor for class org.apache.commons.rng.simple.internal.ByteArray2LongArray
-
Create an instance.
- bytes - Variable in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Define the number of bytes required to represent the native seed.
- bz - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
-
The z component of bound b.
- bz - Variable in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
-
The z component of vertex b.
- bz - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The z component of vertex b.
C
- c - Variable in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
State c.
- c - Variable in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
State c.
- c - Variable in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
State c.
- c - Variable in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
State c.
- c - Variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The third vertex.
- c - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
-
The third vertex.
- c1 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
1 / (8 * lambda)
. - c1 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
c1
. - C128PH - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
High half of the jump constant for an advance of the 128-bit LCG by 2^64.
- C32P - Static variable in class org.apache.commons.rng.core.source32.LXMSupport
-
Jump constant precursor for
c'
for an advance of the 32-bit LCG by 2^16. - C64P - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
Jump constant precursor for
c'
for an advance of the 64-bit LCG by 2^32. - calculateBlockCount(int) - Static method in class org.apache.commons.rng.core.source32.AbstractWell
-
Calculate the number of 32-bits blocks.
- carry - Variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Carry.
- CauchyStableSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
- CauchyStableSampler(UniformRandomProvider, StableSampler.CauchyStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
- characteristics() - Method in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- characteristics() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSpliterator
- checkArraySize(long) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Check the size is valid for a 1D array.
- checkFromIndexSize(int, int, int) - Static method in class org.apache.commons.rng.core.source32.IntProvider
-
Checks if the sub-range from fromIndex (inclusive) to fromIndex + size (exclusive) is within the bounds of range from 0 (inclusive) to length (exclusive).
- checkFromToIndex(int, int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Checks if the sub-range from fromIndex (inclusive) to toIndex (exclusive) is within the bounds of range from 0 (inclusive) to length (exclusive).
- checkIndex(int, int, int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Checks whether
index
is in the range[min, max]
. - checkMeanRange(double, double) - Static method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Check the mean range.
- checkSize(int, int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
- checkStateSize(byte[], int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Deprecated.Method is used internally and should be made private in some future release.
- checkSubset(int, int) - Static method in class org.apache.commons.rng.sampling.SubsetSamplerUtils
-
Checks the subset of length
k
fromn
is valid. - checkUnique(List<TwoCmres.Cmres>, long) - Static method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
-
Check the multiply parameter is unique (not contained in any entry in the provided table).
- checkWeightsNonZeroLength(double[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Check the weights have a non-zero length.
- ChengBBBetaSampler(UniformRandomProvider, boolean, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
- ChengBBBetaSampler(UniformRandomProvider, ChengBetaSampler.ChengBBBetaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
- ChengBCBetaSampler(UniformRandomProvider, boolean, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
- ChengBCBetaSampler(UniformRandomProvider, ChengBetaSampler.ChengBCBetaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
- ChengBetaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a beta distribution.
- ChengBetaSampler(SharedStateContinuousSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
- ChengBetaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a sampler instance.
- ChengBetaSampler.BaseChengBetaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Base class to implement Cheng's algorithms for the beta distribution.
- ChengBetaSampler.ChengBBBetaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Computes one sample using Cheng's BB algorithm, when beta distribution
alpha
andbeta
shape parameters are both larger than 1. - ChengBetaSampler.ChengBCBetaSampler - Class in org.apache.commons.rng.sampling.distribution
-
Computes one sample using Cheng's BC algorithm, when at least one of beta distribution
alpha
orbeta
shape parameters is smaller than 1. - Cmres(long, int, int) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres.Cmres
- CMSStableSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
- CMSStableSampler(UniformRandomProvider, StableSampler.CMSStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
- CollectionSampler<T> - Class in org.apache.commons.rng.sampling
-
Sampling from a
Collection
. - CollectionSampler(UniformRandomProvider, Collection<T>) - Constructor for class org.apache.commons.rng.sampling.CollectionSampler
-
Creates a sampler.
- CollectionSampler(UniformRandomProvider, List<T>) - Constructor for class org.apache.commons.rng.sampling.CollectionSampler
- CombinationSampler - Class in org.apache.commons.rng.sampling
-
Class for representing combinations of a sequence of integers.
- CombinationSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.CombinationSampler
-
Creates a generator of combinations.
- CombinationSampler(UniformRandomProvider, CombinationSampler) - Constructor for class org.apache.commons.rng.sampling.CombinationSampler
- composeStateInternal(byte[], byte[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Combine parent and subclass states.
- CompositeContinuousSampler(DiscreteSampler, List<ContinuousSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.ContinuousSamplerFactory.CompositeContinuousSampler
- CompositeDiscreteSampler(DiscreteSampler, List<DiscreteSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.DiscreteSamplerFactory.CompositeDiscreteSampler
- compositeFactory - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
The factory to create the composite sampler.
- CompositeLongSampler(DiscreteSampler, List<LongSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.LongSamplerFactory.CompositeLongSampler
- CompositeObjectSampler(DiscreteSampler, List<ObjectSampler<T>>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory.CompositeObjectSampler
- CompositeSampler(DiscreteSampler, List<S>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.CompositeSampler
- CompositeSamplers - Class in org.apache.commons.rng.sampling
-
Factory class to create a sampler that combines sampling from multiple samplers.
- CompositeSamplers() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers
-
No public instances.
- CompositeSamplers.Builder<S> - Interface in org.apache.commons.rng.sampling
-
Builds a composite sampler.
- CompositeSamplers.CompositeSampler<S> - Class in org.apache.commons.rng.sampling
-
A composite sampler.
- CompositeSamplers.ContinuousSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite ContinuousSampler.
- CompositeSamplers.ContinuousSamplerFactory.CompositeContinuousSampler - Class in org.apache.commons.rng.sampling
-
A composite continuous sampler.
- CompositeSamplers.DiscreteProbabilitySampler - Enum in org.apache.commons.rng.sampling
-
The DiscreteProbabilitySampler class defines implementations that sample from a user-defined discrete probability distribution.
- CompositeSamplers.DiscreteProbabilitySamplerFactory - Interface in org.apache.commons.rng.sampling
-
A factory for creating a sampler of a user-defined discrete probability distribution.
- CompositeSamplers.DiscreteSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite DiscreteSampler.
- CompositeSamplers.DiscreteSamplerFactory.CompositeDiscreteSampler - Class in org.apache.commons.rng.sampling
-
A composite discrete sampler.
- CompositeSamplers.LongSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite LongSampler.
- CompositeSamplers.LongSamplerFactory.CompositeLongSampler - Class in org.apache.commons.rng.sampling
-
A composite long sampler.
- CompositeSamplers.ObjectSamplerFactory<T> - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite ObjectSampler.
- CompositeSamplers.ObjectSamplerFactory.CompositeObjectSampler<T> - Class in org.apache.commons.rng.sampling
-
A composite object sampler.
- CompositeSamplers.SamplerBuilder<S> - Class in org.apache.commons.rng.sampling
-
Builds a composite sampler.
- CompositeSamplers.SamplerBuilder.SamplerFactory<S> - Interface in org.apache.commons.rng.sampling
-
A factory for creating composite samplers.
- CompositeSamplers.SamplerBuilder.Specialisation - Enum in org.apache.commons.rng.sampling
-
The specialisation of composite sampler to build.
- CompositeSamplers.SamplerBuilder.WeightedSampler<S> - Class in org.apache.commons.rng.sampling
-
Contains a weighted sampler.
- CompositeSamplers.SharedStateContinuousSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite SharedStateContinuousSampler.
- CompositeSamplers.SharedStateContinuousSamplerFactory.CompositeSharedStateContinuousSampler - Class in org.apache.commons.rng.sampling
-
A composite continuous sampler with shared state support.
- CompositeSamplers.SharedStateDiscreteProbabilitySampler - Class in org.apache.commons.rng.sampling
-
A class to implement the SharedStateDiscreteSampler interface for a discrete probability sampler given a factory and the probability distribution.
- CompositeSamplers.SharedStateDiscreteSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite SharedStateDiscreteSampler.
- CompositeSamplers.SharedStateDiscreteSamplerFactory.CompositeSharedStateDiscreteSampler - Class in org.apache.commons.rng.sampling
-
A composite discrete sampler with shared state support.
- CompositeSamplers.SharedStateLongSamplerFactory - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite SharedStateLongSampler.
- CompositeSamplers.SharedStateLongSamplerFactory.CompositeSharedStateLongSampler - Class in org.apache.commons.rng.sampling
-
A composite long sampler with shared state support.
- CompositeSamplers.SharedStateObjectSamplerFactory<T> - Class in org.apache.commons.rng.sampling
-
A factory for creating a composite SharedStateObjectSampler.
- CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler<T> - Class in org.apache.commons.rng.sampling
-
A composite object sampler with shared state support.
- CompositeSharedStateContinuousSampler(SharedStateDiscreteSampler, List<SharedStateContinuousSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory.CompositeSharedStateContinuousSampler
- CompositeSharedStateDiscreteSampler(SharedStateDiscreteSampler, List<SharedStateDiscreteSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory.CompositeSharedStateDiscreteSampler
- CompositeSharedStateLongSampler(SharedStateDiscreteSampler, List<SharedStateLongSampler>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory.CompositeSharedStateLongSampler
- CompositeSharedStateObjectSampler(SharedStateDiscreteSampler, List<SharedStateObjectSampler<T>>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler
- computeNew(int, int) - Static method in class org.apache.commons.rng.core.source32.KISSRandom
-
Compute new value.
- computeP0(double) - Static method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Compute
Math.exp(-mean)
. - computeSize(int, int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Compute the size after padding.
- computeX(double) - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
Compute the sample result X.
- CONCAVE_E_MAX - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Maximum distance of concave pdf(x) below the hypotenuse value for early exit.
- ContinuousInverseCumulativeProbabilityFunction - Interface in org.apache.commons.rng.sampling.distribution
-
Interface for a continuous distribution that can be sampled using the inversion method.
- ContinuousSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
double
. - ContinuousSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.ContinuousSamplerFactory
- ContinuousUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a uniform distribution.
- ContinuousUniformSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Create an instance.
- ContinuousUniformSampler.OpenIntervalContinuousUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Specialization to sample from an open interval
(lo, hi)
. - Conversions - Class in org.apache.commons.rng.simple.internal
-
Performs seed conversions.
- Conversions() - Constructor for class org.apache.commons.rng.simple.internal.Conversions
-
No instances.
- convert(byte[]) - Method in class org.apache.commons.rng.simple.internal.ByteArray2IntArray
-
Converts seed from input type to output type.
- convert(byte[]) - Method in class org.apache.commons.rng.simple.internal.ByteArray2LongArray
-
Converts seed from input type to output type.
- convert(byte[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Convert the input
byte[]
seed to the native seed type. - convert(int[]) - Method in class org.apache.commons.rng.simple.internal.IntArray2Int
-
Converts seed from input type to output type.
- convert(int[]) - Method in class org.apache.commons.rng.simple.internal.IntArray2LongArray
-
Converts seed from input type to output type.
- convert(int[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Convert the input
int[]
seed to the native seed type. - convert(long[]) - Method in class org.apache.commons.rng.simple.internal.LongArray2IntArray
-
Converts seed from input type to output type.
- convert(long[]) - Method in class org.apache.commons.rng.simple.internal.LongArray2Long
-
Converts seed from input type to output type.
- convert(long[], int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Convert the input
long[]
seed to the native seed type. - convert(IN) - Method in interface org.apache.commons.rng.simple.internal.SeedConverter
-
Converts seed from input type to output type.
- convert(IN) - Method in class org.apache.commons.rng.simple.internal.SeedConverterComposer
-
Converts seed from input type to output type.
- convert(IN, int) - Method in interface org.apache.commons.rng.simple.internal.Seed2ArrayConverter
-
Converts seed from input type to output type.
- convert(Integer) - Method in class org.apache.commons.rng.simple.internal.Int2Long
-
Converts seed from input type to output type.
- convert(Integer, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Convert the input
Integer
seed to the native seed type. - convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2Int
-
Converts seed from input type to output type.
- convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2IntArray
-
Converts seed from input type to output type.
- convert(Long) - Method in class org.apache.commons.rng.simple.internal.Long2LongArray
-
Converts seed from input type to output type.
- convert(Long, int) - Method in class org.apache.commons.rng.simple.internal.Long2IntArray
-
Converts seed from input type to output type.
- convert(Long, int) - Method in class org.apache.commons.rng.simple.internal.Long2LongArray
-
Converts seed from input type to output type.
- convert(Long, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Convert the input
Long
seed to the native seed type. - convert(SEED) - Method in class org.apache.commons.rng.simple.internal.NoOpConverter
-
Converts seed from input type to output type.
- CONVERT_TO_NUMERATOR - Static variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The multiplier to convert a
double
probability in the range[0, 1]
to the numerator of a fraction with denominator 253. - convertSeed(Object) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Converts a seed from any of the supported seed types to a native seed.
- convertSeed(Object, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Converts the input seed from any of the supported seed types to the native seed type.
- convertSeedToBytes(Object) - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Converts the input seed from any of the supported seed types to bytes.
- convertToIntegers(double[], long[], int[], int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Convert the floating-point weights to relative weights represented as integers
value * 2^exponent
. - CONVEX_E_MAX - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Maximum epsilon distance of convex pdf(x) above the hypotenuse value for early rejection.
- Coordinates - Class in org.apache.commons.rng.sampling.shape
-
Utility class for common coordinate operations for shape samplers.
- Coordinates() - Constructor for class org.apache.commons.rng.sampling.shape.Coordinates
-
No public construction.
- cOptim - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
-
Optimization (see code).
- copy() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Create a copy.
- copy() - Method in class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Create a copy.
- copy(List<T>, UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a copy instance of each sampler in the list of samplers using the given uniform random provider as the source of randomness.
- copyList(List<T>) - Static method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Create a (shallow) copy of the collection.
- copyToOutput(byte[], int, int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedUtils
-
Copy the lower hex digit to the output bits.
- count - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Count through the results in rsl[].
- counter - Variable in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Counter.
- counter - Variable in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Counter.
- counter - Variable in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
The counter tracking the bits to extract.
- create() - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils.FactorialLog
-
Creates an instance with no precomputed values.
- create() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a RNG instance.
- create() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a random number generator with a random seed.
- create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Static method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Create a new instance using the given
seed
andsource
of randomness to initialise the instance. - create(long, UniformRandomProvider) - Method in interface org.apache.commons.rng.core.util.RandomStreams.SeededObjectFactory
-
Creates the object.
- create(Object) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a RNG instance.
- create(Object, Object[]) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a RNG instance.
- create(Object, Object...) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a random number generator with the given
seed
. - create(Constructor<?>, Object[]) - Static method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a RNG.
- create(ProviderBuilder.RandomSourceInternal) - Static method in class org.apache.commons.rng.simple.internal.ProviderBuilder
-
Creates a RNG instance.
- create(ProviderBuilder.RandomSourceInternal, Object, Object[]) - Static method in class org.apache.commons.rng.simple.internal.ProviderBuilder
-
Creates a RNG instance.
- create(RandomSource) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Deprecated.It is preferred to use the
RandomSource.create()
instance method. - create(RandomSource, Object, Object...) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Deprecated.It is preferred to use the
RandomSource.create(Object, Object...)
instance method. - create(UniformRandomProvider, double[]) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySamplerFactory
-
Creates the sampler.
- create(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Creates a standardized sampler of a stable distribution with zero location and unit scale.
- createBinomialDistributionSampler(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Creates the Binomial distribution sampler.
- createBinomialDistributionSamplerFromRange(UniformRandomProvider, int, double, boolean, double, int, int) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Creates the Binomial distribution sampler using only the probability values for
X
between the begin and the end (inclusive). - createByteArray(UniformRandomProvider, int, int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an array of
byte
numbers for use as a seed using the supplied source of randomness. - createByteArraySeed(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a
byte[]
seed using the provided source of randomness. - createConstructor() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a constructor.
- createDiscreteSampler(UniformRandomProvider, double[]) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Creates the discrete sampler of the enumerated probability distribution.
- createInt() - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an
int
number for use as a seed. - createInt() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a number for use as a seed.
- createIntArray(int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an array of
int
numbers for use as a seed. - createIntArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates an array of numbers for use as a seed.
- createIntArray(int, int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an array of
int
numbers for use as a seed. - createIntHexPermutation(UniformRandomProvider) - Static method in class org.apache.commons.rng.simple.internal.SeedUtils
-
Creates an
int
containing a permutation of 8 hex digits chosen from 16. - createLong() - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates a
long
number for use as a seed. - createLong() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a number for use as a seed.
- createLongArray(int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an array of
long
numbers for use as a seed. - createLongArray(int) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Creates an array of numbers for use as a seed.
- createLongArray(int, int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Creates an array of
long
numbers for use as a seed. - createLongHexPermutation(UniformRandomProvider) - Static method in class org.apache.commons.rng.simple.internal.SeedUtils
-
Creates a
long
containing a permutation of 8 hex digits chosen from 16 in the upper and lower 32-bits. - createNativeSeed(Object) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a native seed from any of the supported seed types.
- createPoissonDistributionFromX0(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Creates the Poisson distribution by computing probabilities recursively from
X=0
. - createPoissonDistributionFromXMode(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Creates the Poisson distribution by computing probabilities recursively upward and downward from
X=mode
, the location of the largest p-value. - createPoissonSampler(UniformRandomProvider, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
-
Create the sample.
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Create the sample.
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler
-
Creates the sample between bound a and b.
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Creates the sample given the random variate
u
in the interval[0, 1]
. - createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
- createSample(double, double) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
- createSample(double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Creates the sample given the random variates
s
andt
in the interval[0, 1]
ands + t <= 1
. - createSample(double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
- createSample(double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
- createSample(double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
- createSample(double, double, double, double) - Method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
Creates the sample given the random variates
s
,t
andu
in the interval[0, 1]
ands + t + u <= 1
. - createSampler(DiscreteSampler, List<ContinuousSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.ContinuousSamplerFactory
- createSampler(DiscreteSampler, List<DiscreteSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.DiscreteSamplerFactory
- createSampler(DiscreteSampler, List<LongSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.LongSamplerFactory
- createSampler(DiscreteSampler, List<SharedStateContinuousSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory
- createSampler(DiscreteSampler, List<SharedStateDiscreteSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory
- createSampler(DiscreteSampler, List<SharedStateLongSampler>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory
- createSampler(DiscreteSampler, List<ObjectSampler<T>>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory
- createSampler(DiscreteSampler, List<SharedStateObjectSampler<T>>) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory
- createSampler(DiscreteSampler, List<S>) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.SamplerFactory
-
Creates a new composite sampler.
- createSampler(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Creates a gamma sampler for a category with the given concentration parameter.
- createSampler(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates the sampler of the enumerated probability distribution.
- createSampler(UniformRandomProvider, long[], int[], int[], BigInteger) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates the sampler.
- createSampler(UniformRandomProvider, long[], int[], long) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates the sampler.
- createSampler(UniformRandomProvider, String, int[], int) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
Create a new instance for probabilities
p(i)
where the sample valuex
isi + offset
. - createSampler(UniformRandomProvider, List<T>, double[]) - Static method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates the sampler of the enumerated probability distribution.
- createSeed() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a native seed.
- createSeed() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a seed suitable for the implementing class represented by this random source.
- createSeed(int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Creates the seed.
- createSeed(int, int, int) - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Creates the seed.
- createSeed(UniformRandomProvider) - Static method in class org.apache.commons.rng.core.util.RandomStreams
-
Creates a seed to prepend to a counter.
- createSeed(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
- createSeedBytes() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a seed suitable for the implementing class represented by this random source.
- createSeedBytes(UniformRandomProvider) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Creates a seed suitable for the implementing class represented by this random source using the supplied source of randomness.
- createSharedStateSampler(UniformRandomProvider, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Creates a new Poisson sampler.
- createUpperBitsHexPermutation(SeedUtils.UnsignedByteProvider) - Static method in class org.apache.commons.rng.simple.internal.SeedUtils
-
Creates a
int
containing a permutation of 8 hex digits chosen from 16. - createZeroBoundedSampler(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Create a new sampler for the range
0
inclusive toupper
inclusive. - createZeroBoundedSampler(UniformRandomProvider, long) - Static method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Create a new sampler for the range
0
inclusive toupper
inclusive. - cumulativeProbabilities - Variable in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
The cumulative probability table (
f(x)
). - current(RandomSource) - Static method in class org.apache.commons.rng.simple.ThreadLocalRandomSource
-
Returns the current thread's copy of the given
source
. - cx - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The x component of vertex c.
- cx - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The x component of vertex c.
- cy - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
-
The y component of vertex c.
- cy - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The y component of vertex c.
- cz - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
-
The z component of vertex c.
D
- d - Variable in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Statd d.
- d - Variable in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Statd d.
- d - Variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The fourth vertex.
- d2(double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
Evaluate
(exp(x) - 1) / x
. - DEFAULT_ALPHA - Static variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The default alpha factor for zero-padding an input probability table.
- DEFAULT_ALPHA - Static variable in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
The default value for
alpha
. - DEFAULT_INCREMENT - Static variable in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
The default increment.
- DEFAULT_INCREMENT - Static variable in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
The default increment.
- DEFAULT_SEED - Static variable in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
The default seed.
- delegate - Variable in class org.apache.commons.rng.core.source32.JDKRandom
-
Delegate.
- delegate - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
The appropriate gamma sampler for the parameters.
- delegate - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
The appropriate beta sampler for the parameters.
- delegate - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
The appropriate uniform sampler for the parameters.
- delegate - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
The implementation of the sample method.
- delegate - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler
-
The internal sampler optimised for the dimension.
- delegate - Variable in class org.apache.commons.rng.simple.JDKRandomBridge
-
Delegate.
- delta - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
The algorithm delta factor.
- delta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
Math.sqrt(lambda * Math.log(32 * lambda / Math.PI + 1))
. - delta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
delta
. - delta - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
-
The location parameter.
- delta - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
-
The location parameter.
- delta - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
-
The location parameter.
- DELTA_0 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The delta value for the normalized case.
- df - Variable in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Degrees of freedom.
- dimension - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
-
The dimension.
- dimension - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSamplerND
-
Space dimension.
- DirichletSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Dirichlet distribution.
- DirichletSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.DirichletSampler
- DirichletSampler.GeneralDirichletSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from a Dirichlet distribution with different concentration parameters for each category.
- DirichletSampler.SymmetricDirichletSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from a symmetric Dirichlet distribution with the same concentration parameter for each category.
- DiscreteInverseCumulativeProbabilityFunction - Interface in org.apache.commons.rng.sampling.distribution
-
Interface for a discrete distribution that can be sampled using the inversion method.
- DiscreteProbabilityCollectionSampler<T> - Class in org.apache.commons.rng.sampling
-
Sampling from a collection of items with user-defined probabilities.
- DiscreteProbabilityCollectionSampler(List<T>, SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
- DiscreteProbabilityCollectionSampler(UniformRandomProvider, List<T>, double[]) - Constructor for class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates a sampler.
- DiscreteProbabilityCollectionSampler(UniformRandomProvider, Map<T, Double>) - Constructor for class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Creates a sampler.
- DiscreteProbabilitySampler() - Constructor for enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
- discreteSampler - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.CompositeSampler
-
Continuous sampler to choose the individual sampler to sample.
- DiscreteSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
int
. - DiscreteSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.DiscreteSamplerFactory
- DiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler.
- DiscreteUniformSampler(SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Private constructor used by to prevent partially initialized object if the construction of the delegate throws.
- DiscreteUniformSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
This instance delegates sampling.
- DiscreteUniformSampler.AbstractDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Base class for a sampler from a discrete uniform distribution.
- DiscreteUniformSampler.FixedDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the sample value is fixed.
- DiscreteUniformSampler.LargeRangeDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range between lower and upper is too large to fit in a positive integer.
- DiscreteUniformSampler.OffsetDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Adds an offset to an underlying discrete sampler.
- DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range is a power of 2 and greater than 1.
- DiscreteUniformSampler.SmallRangeDiscreteUniformSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range is small enough to fit in a positive integer.
- distributionName - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler
-
The name of the distribution.
- domain - Variable in class org.apache.commons.rng.sampling.CombinationSampler
-
Domain of the combination.
- domain - Variable in class org.apache.commons.rng.sampling.PermutationSampler
-
Domain of the permutation.
- dOptim - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
-
Optimization (see code).
- DotyHumphreySmallFastCounting32 - Class in org.apache.commons.rng.core.source32
-
Implement the Small, Fast, Counting (SFC) 32-bit generator of Chris Doty-Humphrey.
- DotyHumphreySmallFastCounting32(int[]) - Constructor for class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Creates an instance with the given seed.
- DotyHumphreySmallFastCounting64 - Class in org.apache.commons.rng.core.source64
-
Implement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey.
- DotyHumphreySmallFastCounting64(long[]) - Constructor for class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Creates an instance with the given seed.
- DOUBLE_31 - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
The value 231 as a
double
. - DOUBLE_MULTIPLIER - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
The multiplier to convert the least significant 53-bits of a
long
to adouble
. - DOUBLE_MULTIPLIER - Static variable in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
The multiplier to convert the least significant 53-bits of a
long
to adouble
. - DOUBLE_MULTIPLIER - Static variable in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
The multiplier to convert the least significant 53-bits of a
long
to a uniformdouble
. - DOUBLE_MULTIPLIER - Static variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
The multiplier to convert the least significant 53-bits of a
long
to adouble
. - doubles() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
double
values between 0 (inclusive) and 1 (exclusive). - doubles(double, double) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
double
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - doubles(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofdouble
values between 0 (inclusive) and 1 (exclusive). - doubles(long, double, double) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- doubles(long, double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofdouble
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive).
E
- E_MAX - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Maximum deviation of concave pdf(x) below the hypotenuse value for early exit.
- edgeSample(long) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create the sample from the edge of the ziggurat.
- edgeSample(long) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Create the sample from the edge of the ziggurat.
- EMPTY_BOOL_SOURCE - Static variable in class org.apache.commons.rng.core.source32.IntProvider
-
Empty boolean source.
- EMPTY_BOOL_SOURCE - Static variable in class org.apache.commons.rng.core.source64.LongProvider
-
Empty boolean source.
- EMPTY_BOOL_SOURCE - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Empty boolean source.
- EMPTY_COLLECTION - Static variable in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
The error message for an empty collection.
- EMPTY_INT_SOURCE - Static variable in class org.apache.commons.rng.core.source64.LongProvider
-
Empty int source.
- end - Variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
The upper limit of the range.
- end - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSpliterator
-
The upper limit of the range.
- ensureNonZero(byte[], int, int, UniformRandomProvider) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Ensure the seed is not all-zero within the specified sub-range.
- ensureNonZero(int[], int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Ensure the seed is not all-zero within the specified sub-range.
- ensureNonZero(long[], int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Ensure the seed is not all-zero within the specified sub-range.
- ensureNonZero(RandomLongSource, long) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Ensure the value is non-zero.
- Enumerated() - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Enumerated
-
Class contains only static methods.
- ENUMERATED_NAME - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Enumerated
-
The name of the enumerated probability distribution.
- eps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
-
Epsilon (1 - alpha).
- eps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Epsilon (1 - alpha).
- epsDiv1mEps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
-
(1 / alpha) - 1 = eps / (1 - eps).
- epsDiv1mEps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
(1 / alpha) - 1 = eps / (1 - eps).
- estimateSize() - Method in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- estimateSize() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSpliterator
- exp - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler3D
-
The exponential distribution (mean=1).
- exp - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
-
The exponential distribution (mean=1).
- exponent - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Exponent parameter of the distribution.
- exponential - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Exponential.
- exponential - Variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Exponential sampler used for the long tail.
- Exponential(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
- EXPONENTIAL_SA_QI - Static variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Table containing the constants \( q_i = sum_{j=1}^i (\ln 2)^j / j! = \ln 2 + (\ln 2)^2 / 2 + ...
- ExponentialMean(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential.ExponentialMean
- exponentialSampler - Variable in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
-
The related exponential sampler for the geometric distribution.
- expSampler - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
The exponential sampler.
- extendSeed(int[], int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Extend the seed to the specified minimum length.
- extendSeed(long[], int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Extend the seed to the specified minimum length.
- extractHi(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from along
, using the high order bits. - extractLo(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from along
, using the low order bits.
F
- F - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Auxiliary table.
- F_1_2 - Static variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
1/2.
- F_1_3 - Static variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
1/3.
- F_1_4 - Static variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
1/4.
- factorialLog - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Local class to compute
log(n!)
. - FactorialLog(int, double[]) - Constructor for class org.apache.commons.rng.sampling.distribution.InternalUtils.FactorialLog
-
Creates an instance, reusing the already computed values if available.
- factory - Variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
Factory to create new instances.
- factory - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
The factory to create the discrete probability sampler from the weights.
- factory - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
-
The factory to create a new discrete sampler.
- Factory() - Constructor for class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
- FACTORY - Static variable in class org.apache.commons.rng.core.source64.TwoCmres
-
Factory of instances of this class.
- FastLoadedDiceRollerDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the Fast Loaded Dice Roller (FLDR).
- FastLoadedDiceRollerDiscreteSampler() - Constructor for class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Package-private constructor.
- FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Class to handle the edge case of observations in only one category.
- FastLoadedDiceRollerDiscreteSampler.FLDRSampler - Class in org.apache.commons.rng.sampling.distribution
-
Class to implement the FLDR sample algorithm.
- fill(byte[], int, int, byte) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Fill the table with the value.
- fill(int[], int, int, int) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Fill the table with the value.
- fill(short[], int, int, short) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Fill the table with the value.
- fillIntArray(int[], int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Fill the array between
start
inclusive andend
exclusive from the seed generator. - fillLongArray(long[], int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedFactory
-
Fill the array between
start
inclusive andend
exclusive from the seed generator. - fillRemainingIndices(int, int[], int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Allocate the remaining indices from zero padding as small probabilities.
- fillState(int[], int[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Simple filling procedure.
- fillState(long[], long[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Simple filling procedure.
- fillStateMersenneTwister(int[], int[]) - Static method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Utility for wholly filling a
state
array with non-zero bytes, even if theseed
has a smaller size. - fillTable(long[], int[], int[], int, int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Fill the tables using unpaired items that are in the range between
start
inclusive andend
exclusive. - filterWeights(long[], int[], int, int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Filters small weights using the
alpha
parameter. - findLastNonZeroIndex(double[]) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Find the last non-zero index in the probabilities.
- first - Variable in class org.apache.commons.rng.simple.internal.SeedConverterComposer
-
First conversion.
- fix(long, int) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Gets the value from the tail of the distribution.
- FixedDiscreteUniformSampler(int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.FixedDiscreteUniformSampler
- FixedUniformLongSampler(long) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.FixedUniformLongSampler
- FixedValueDiscreteSampler(int) - Constructor for class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler
- FLDRSampler(UniformRandomProvider, int, int, int[], int[]) - Constructor for class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Creates a sampler.
- FLDRSampler(UniformRandomProvider, FastLoadedDiceRollerDiscreteSampler.FLDRSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Creates a copy with a new source of randomness.
- flip() - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Provides a source of boolean bits.
- FLOAT_MULTIPLIER - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
The multiplier to convert the least significant 24-bits of an
int
to afloat
. - forEachRemaining(Consumer<? super SplittableUniformRandomProvider>) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
- forEachRemaining(Consumer<? super T>) - Method in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- forEachRemaining(DoubleConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
- forEachRemaining(IntConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
- forEachRemaining(LongConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
- FOUR_PI - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
4/pi.
- function - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Inverse cumulative probability function.
- function - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Inverse cumulative probability function.
G
- gamma - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
-
The algorithm gamma factor.
- gamma - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
-
The scale parameter.
- gamma - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
-
The scale parameter.
- gamma - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
-
The scale parameter.
- GAMMA_1 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The gamma value for the normalized case.
- gaussian - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
-
Gaussian sampling.
- gaussian - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Gaussian.
- gaussian - Variable in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Gaussian sampler.
- gaussian - Variable in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Gaussian sampling.
- GaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Gaussian distribution with given mean and standard deviation.
- GaussianSampler(double, double, NormalizedGaussianSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.GaussianSampler
- GaussianSampler(NormalizedGaussianSampler, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create an instance.
- GaussianStableSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
- GaussianStableSampler(UniformRandomProvider, StableSampler.GaussianStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
- gen - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
-
Value generator function.
- gen - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
-
Value generator function.
- gen - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
-
Value generator function.
- GeneralDirichletSampler(UniformRandomProvider, SharedStateContinuousSampler[]) - Constructor for class org.apache.commons.rng.sampling.distribution.DirichletSampler.GeneralDirichletSampler
- generateWithSeed(long, SplittableUniformRandomProvider, RandomStreams.SeededObjectFactory<T>) - Static method in class org.apache.commons.rng.core.util.RandomStreams
-
Returns a stream producing the given
streamSize
number of new objects generated using the suppliedsource
of randomness and objectfactory
. - GeometricExponentialSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
- GeometricExponentialSampler(UniformRandomProvider, GeometricSampler.GeometricExponentialSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
- GeometricP1Sampler() - Constructor for class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricP1Sampler
- GeometricSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a geometric distribution.
- GeometricSampler() - Constructor for class org.apache.commons.rng.sampling.distribution.GeometricSampler
-
Class contains only static methods.
- GeometricSampler.GeometricExponentialSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from the geometric distribution by using a related exponential distribution.
- GeometricSampler.GeometricP1Sampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from the geometric distribution when the probability of success is 1.
- get(int) - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
- getArgs() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Gets the parameter types of the data needed to build the generator.
- getBase64Digit(int, int) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
Gets the kth base 64 digit of
m
. - getBytes() - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Gets the number of bytes required to represent the native seed type.
- getC1() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getConstructor() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Gets the constructor.
- getDelta() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getFactorialLog(int) - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Compute the natural logarithm of the factorial of
n
. - getGuideTableIndex(double, int) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Gets the guide table index for the probability.
- getHalfDelta() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getHi() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Gets the higher bound.
- getIfDifferent(int, int) - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
-
Get the generator at
index
if theother
index is different. - getIndexM1(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M1 modulo the table size.
- getIndexM2(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M2 modulo the table size.
- getIndexM3(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns index + M3 modulo the table size.
- getIndexPred(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns the predecessor of the given index modulo the table size.
- getIndexPred2(int) - Method in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Returns the second predecessor of the given index modulo the table size.
- getInt(byte[], int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Gets the
int
from the buffer starting at the given position. - getInternalIdentifier() - Method in enum org.apache.commons.rng.simple.RandomSource
- getK() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.GeneralDirichletSampler
- getK() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Gets the number of categories.
- getK() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
- getLambda() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Get the lambda value for the state.
- getLambdaRaw() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getLo() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Gets the lower bound.
- getLogLambda() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getLogLambdaFactorial() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getLong(byte[], int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Gets the
long
from the buffer starting at the given position. - getMaxMean() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the maximum mean covered by the cache.
- getMinimumCachedMean() - Static method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the minimum mean value that can be cached.
- getMinMean() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Gets the minimum mean covered by the cache.
- getMultiply() - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
- getOmega() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
Gets a random value for the omega parameter (
w
). - getP1() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getP2() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getPhi() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
Gets a random value for the phi parameter.
- getPhiBy2() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
Gets a random value for the phi parameter divided by 2.
- getRng() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Gets the implementing class of the random source.
- getSampler() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
-
Gets the sampler.
- getSeed() - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Gets the class of the native seed.
- getSqrtLambdaPlusHalfDelta() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getStart() - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
- getState() - Method in class org.apache.commons.rng.core.RandomProviderDefaultState
-
Get the state.
- getState() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Gets the initialisation state of the sampler.
- getStateInternal() - Method in class org.apache.commons.rng.core.BaseProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractWell
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a snapshot of the RNG state.
- getStateInternal() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a snapshot of the RNG state.
- getTau(double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
-
Gets tau.
- getTwolpd() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
- getType() - Method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Gets the class type of the native seed.
- getWeight() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
-
Gets the weight.
- GLD_RATIO - Static variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
The golden ratio.
- GOLDEN_RATIO - Static variable in class org.apache.commons.rng.simple.internal.Conversions
-
The fractional part of the golden ratio, phi, scaled to 64-bits and rounded to odd.
- GOLDEN_RATIO_32 - Static variable in class org.apache.commons.rng.core.BaseProvider
-
The fractional part of the golden ratio, phi, scaled to 32-bits and rounded to odd.
- GOLDEN_RATIO_32 - Static variable in class org.apache.commons.rng.core.source32.LXMSupport
-
The fractional part of the golden ratio, phi, scaled to 32-bits and rounded to odd.
- GOLDEN_RATIO_32 - Static variable in class org.apache.commons.rng.simple.internal.MixFunctions
-
The fractional part of the golden ratio, phi, scaled to 32-bits and rounded to odd.
- GOLDEN_RATIO_64 - Static variable in class org.apache.commons.rng.core.BaseProvider
-
The fractional part of the golden ratio, phi, scaled to 64-bits and rounded to odd.
- GOLDEN_RATIO_64 - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
The fractional part of the golden ratio, phi, scaled to 64-bits and rounded to odd.
- GOLDEN_RATIO_64 - Static variable in class org.apache.commons.rng.simple.internal.MixFunctions
-
The fractional part of the golden ratio, phi, scaled to 64-bits and rounded to odd.
- GUIDE_TABLE - Enum constant in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using a guide table (see
GuideTableDiscreteSampler
). - guideTable - Variable in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
The inverse cumulative probability guide table.
- GuideTableDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Compute a sample from
n
values each with an associated probability. - GuideTableDiscreteSampler(UniformRandomProvider, double[], int[]) - Constructor for class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
H
- h - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Number of leaf nodes at each level.
- h(double) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
h(x) = 1 / x^exponent
. - H_SIZE - Static variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Half-size of rsl[] and mem[].
- HALF - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
-
1/2.
- HALF_LOG_2_PI - Static variable in class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Avoid repeated computation of log(2*PI) / 2 in logGamma.
- halfDelta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
delta / 2
. - halfDelta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
halfDelta
. - helper1(double) - Static method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Helper function that calculates
log(1 + x) / x
. - helper2(double) - Static method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Helper function to calculate
(exp(x) - 1) / x
. - HEX_DIGIT_ARRAY - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The 16 hex digits in an array.
- HEX_FORMAT - Static variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
-
Hexadecimal format.
- hi - Variable in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Higher bound.
- hIntegral(double) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
H(x)
is defined as(x^(1 - exponent) - 1) / (1 - exponent)
, ifexponent != 1
log(x)
, ifexponent == 1
H(x) is an integral function of h(x), the derivative of H(x) is h(x). - hIntegralInverse(double) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
The inverse function of
H(x)
. - hIntegralNumberOfElements - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
hIntegral(numberOfElements + 0.5)
. - hIntegralX1 - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
hIntegral(1.5) - 1
. - HUGE_DF - Static variable in class org.apache.commons.rng.sampling.distribution.TSampler
-
Threshold for huge degrees of freedom.
I
- I_MAX - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
The number of layers in the ziggurat.
- I_MAX - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The number of layers in the ziggurat.
- i1 - Variable in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Index indirection table giving for each index the value index + m1 taking table size into account.
- i2 - Variable in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Index indirection table giving for each index the value index + m2 taking table size into account.
- i3 - Variable in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Index indirection table giving for each index the value index + m3 taking table size into account.
- increment - Variable in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
The increment of the LCG.
- increment - Variable in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
The increment of the LCG.
- index - Variable in class org.apache.commons.rng.core.source32.AbstractWell
-
Current index in the bytes pool.
- index - Variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Current index in "state" array.
- index - Variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Index in "state" array.
- index - Variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Index in "state" array.
- index - Variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Index in "state" array.
- index - Variable in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Index in "state" array.
- indexOfNonZero(long[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Find the index of the first non-zero frequency.
- IndexTable(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Creates a new pre-calculated indirection index table.
- indicesOfNonZero(long[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Create the indices of non-zero values.
- initializeState(int[]) - Static method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Fill the state using a defined pseudo-random sequence.
- initialValue() - Method in class org.apache.commons.rng.simple.ThreadLocalRandomSource.ThreadLocalRng
- initState() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Initialize, or reinitialize, this instance of rand.
- initState(long) - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Initialize the internal state of this instance.
- instance() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory
-
Get an instance.
- instance() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory
-
Get an instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.ContinuousSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.DiscreteSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.LongSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory
-
The instance.
- INSTANCE - Static variable in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricP1Sampler
-
The single instance.
- INT - Enum constant in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
The seed type is
Integer
. - INT_16 - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
The value 216 as an
int
. - INT_30 - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
The value 230 as an
int
. - INT_8 - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
The value 28 as an
int
. - INT_ARRAY - Enum constant in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
The seed type is
int[]
. - INT_ARRAY_BLOCK_SIZE - Static variable in class org.apache.commons.rng.simple.internal.SeedFactory
-
Size of block to fill in an
int[]
seed per synchronized operation. - INT_LOWEST_BYTE_MASK - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
Lowest byte mask.
- INT_MASK_LONG - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Mask 32 most significant bits.
- INT_SIZE - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
Number of bytes in a
int
. - INT_TO_UNSIGNED_BYTE_MASK - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
A mask to convert an
int
to an unsigned integer stored as along
. - int2IntArray(int, int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int[]
value from anint
. - int2Long(int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long
value from anint
. - Int2Long - Class in org.apache.commons.rng.simple.internal
-
Converts a
Integer
to anLong
. - Int2Long() - Constructor for class org.apache.commons.rng.simple.internal.Int2Long
-
Create an instance.
- int2LongArray(int, int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long[]
value from anint
. - intArray2Int(int[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int
value from a sequence of ints. - IntArray2Int - Class in org.apache.commons.rng.simple.internal
-
Creates a single value by "xor" of all the values in the input array.
- IntArray2Int() - Constructor for class org.apache.commons.rng.simple.internal.IntArray2Int
-
Create an instance.
- intArray2Long(int[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long
value from a sequence of ints. - intArray2LongArray(int[], int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long[]
value from a sequence of ints. - IntArray2LongArray - Class in org.apache.commons.rng.simple.internal
-
Creates a
long[]
from anint[]
. - IntArray2LongArray() - Constructor for class org.apache.commons.rng.simple.internal.IntArray2LongArray
-
Create an instance.
- INTERNAL_ERROR_MSG - Static variable in class org.apache.commons.rng.core.source64.TwoCmres
-
Error message.
- INTERNAL_ERROR_MSG - Static variable in class org.apache.commons.rng.simple.internal.ProviderBuilder
-
Error message.
- InternalGamma - Class in org.apache.commons.rng.sampling.distribution
-
Adapted and stripped down copy of class
"org.apache.commons.math4.special.Gamma"
. - InternalGamma() - Constructor for class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Class contains only static methods.
- internalIdentifier - Variable in enum org.apache.commons.rng.simple.RandomSource
-
Internal identifier.
- InternalUtils - Class in org.apache.commons.rng.sampling.distribution
-
Functions used by some of the samplers.
- InternalUtils() - Constructor for class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Utility class.
- InternalUtils.FactorialLog - Class in org.apache.commons.rng.sampling.distribution
-
Class for computing the natural logarithm of the factorial of
n
. - interpolate(double[], int, long) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Compute the value of a point using linear interpolation of a data table of values using the provided uniform deviate.
- IntProvider - Class in org.apache.commons.rng.core.source32
-
Base class for all implementations that provide an
int
-based source randomness. - IntProvider() - Constructor for class org.apache.commons.rng.core.source32.IntProvider
-
Creates a new instance.
- IntProvider(IntProvider) - Constructor for class org.apache.commons.rng.core.source32.IntProvider
-
Creates a new instance copying the state from the source.
- ints() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
int
values. - ints(int, int) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
int
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - ints(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofint
values. - ints(long, int, int) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- ints(long, int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number ofint
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - intSizeFromByteSize(int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Compute the size of an
int
array required to hold the specified number of bytes. - intSizeFromLongSize(int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Compute the size of an
int
array required to hold the specified number of longs. - intSource - Variable in class org.apache.commons.rng.core.source64.LongProvider
-
Provides a source for ints.
- inv1mEps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
-
1 / alpha = 1 / (1 - eps).
- inv1mEps - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
1 / alpha = 1 / (1 - eps).
- INVALID_RANGE - Static variable in class org.apache.commons.rng.UniformRandomProviderSupport
-
Message format for an invalid range for lower inclusive and upper exclusive.
- INVALID_STREAM_SIZE - Static variable in class org.apache.commons.rng.UniformRandomProviderSupport
-
Message for an invalid stream size.
- INVALID_UPPER_BOUND - Static variable in class org.apache.commons.rng.UniformRandomProviderSupport
-
Message for an invalid upper bound (must be positive, finite and above zero).
- inverseCumulativeProbability(double) - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousInverseCumulativeProbabilityFunction
-
Computes the quantile function of the distribution.
- inverseCumulativeProbability(double) - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteInverseCumulativeProbabilityFunction
-
Computes the quantile function of the distribution.
- InverseTransformContinuousSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the inversion method.
- InverseTransformContinuousSampler(UniformRandomProvider, ContinuousInverseCumulativeProbabilityFunction) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create an instance.
- InverseTransformDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Distribution sampler that uses the inversion method.
- InverseTransformDiscreteSampler(UniformRandomProvider, DiscreteInverseCumulativeProbabilityFunction) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create an instance.
- InverseTransformParetoSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Pareto distribution.
- InverseTransformParetoSampler(double, double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
- InverseTransformParetoSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Create an instance.
- InverseTransformParetoSampler(UniformRandomProvider, InverseTransformParetoSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
- IPMF - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
The alias inverse PMF.
- IPMF - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The alias inverse PMF.
- iRm1 - Variable in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Index indirection table giving for each index its predecessor taking table size into account.
- iRm2 - Variable in class org.apache.commons.rng.core.source32.AbstractWell.IndexTable
-
Index indirection table giving for each index its second predecessor taking table size into account.
- isaac() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Generate 256 results.
- ISAAC - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
ISAACRandom
. - ISAAC - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
ISAACRandom
. - isaac2() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Intermediate internal loop.
- isaac3() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Lowest level internal loop.
- isaacA - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Accumulator.
- isaacB - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
The last result.
- isaacC - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Counter, guarantees cycle is at least 2^40.
- isaacI - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Service variable.
- isaacJ - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Service variable.
- ISAACRandom - Class in org.apache.commons.rng.core.source32
-
A fast cryptographic pseudo-random number generator.
- ISAACRandom(int[]) - Constructor for class org.apache.commons.rng.core.source32.ISAACRandom
-
Creates a new ISAAC random number generator.
- isaacX - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Service variable.
- isAssignableTo(Class<?>) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Determines if the implementing class represented by this random source is either the same as, or is a subclass or subinterface of, the class or interface represented by the specified
Class
parameter. - isInitialized - Variable in class org.apache.commons.rng.simple.JDKRandomBridge
-
Workaround JDK's "Random" bug: https://bugs.openjdk.java.net/browse/JDK-8154225.
- isJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
JumpableUniformRandomProvider
interface. - isLongJumpable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
LongJumpableUniformRandomProvider
interface. - isNativeSeed(Object) - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the type of given
seed
is the native type of the implementation. - isNativeSeed(SEED) - Method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Checks whether the type of given
seed
is the native type of the implementation. - isNonZeroPositiveFinite(double) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Return true if the value is non-zero, positive and finite.
- isPowerOf2(int) - Static method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Checks if the value is a power of 2.
- isPowerOf2(long) - Static method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Checks if the value is a power of 2.
- isSmallPowerOf2(int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Checks if the size is a small power of 2 so can be supported by the
AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler
. - isSplittable() - Method in enum org.apache.commons.rng.simple.RandomSource
-
Checks whether the implementing class represented by this random source supports the
SplittableUniformRandomProvider
interface. - isValidRange() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Checks if the cache covers a valid range of mean values.
- items - Variable in class org.apache.commons.rng.sampling.CollectionSampler
-
Collection to be sampled from.
- items - Variable in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Collection to be sampled from.
J
- J_INFLECTION - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The point where the Gaussian switches from convex to concave.
- jcong - Variable in class org.apache.commons.rng.core.source32.KISSRandom
-
State variable.
- JDK - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
JDKRandom
. - JDK - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JDKRandom
. - JDKRandom - Class in org.apache.commons.rng.core.source32
-
A provider that uses the
Random.nextInt()
method of the JDK'sRandom
class as the source of randomness. - JDKRandom(Long) - Constructor for class org.apache.commons.rng.core.source32.JDKRandom
-
Creates an instance with the given seed.
- JDKRandom.ValidatingObjectInputStream - Class in org.apache.commons.rng.core.source32
-
An
ObjectInputStream
that's restricted to deserialize onlyRandom
using look-ahead deserialization. - JDKRandomBridge - Class in org.apache.commons.rng.simple
-
Subclass of
Random
thatdelegates
to aRestorableUniformRandomProvider
instance but will otherwise rely on the base class for generating all the random types. - JDKRandomBridge(RandomSource, Object) - Constructor for class org.apache.commons.rng.simple.JDKRandomBridge
-
Creates a new instance.
- JDKRandomWrapper - Class in org.apache.commons.rng.simple
-
Wraps a
Random
instance to implementUniformRandomProvider
. - JDKRandomWrapper(Random) - Constructor for class org.apache.commons.rng.simple.JDKRandomWrapper
-
Create a wrapper around a Random instance.
- JenkinsSmallFast32 - Class in org.apache.commons.rng.core.source32
-
Implement Bob Jenkins's small fast (JSF) 32-bit generator.
- JenkinsSmallFast32(Integer) - Constructor for class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Creates an instance with the given seed.
- JenkinsSmallFast64 - Class in org.apache.commons.rng.core.source64
-
Implement Bob Jenkins's small fast (JSF) 64-bit generator.
- JenkinsSmallFast64(Long) - Constructor for class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Creates an instance with the given seed.
- JSF_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
JenkinsSmallFast32
. - JSF_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JenkinsSmallFast32
. - JSF_64 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
JenkinsSmallFast64
. - JSF_64 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
JenkinsSmallFast64
. - jsr - Variable in class org.apache.commons.rng.core.source32.KISSRandom
-
State variable.
- jump() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- jump() - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Creates a copy of the UniformRandomProvider and then advances the state of the current instance.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
The coefficients for the jump function.
- JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.XorShift1024Star
-
The coefficients for the jump function.
- JumpableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be advanced a large number of steps of the output sequence in a single operation.
- jumps() - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
UniformRandomProvider
interface. - jumps(long) - Method in interface org.apache.commons.rng.JumpableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theUniformRandomProvider
interface.
K
- k - Variable in class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
-
Number of categories.
- k - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Number of levels in the discrete distribution generating (DDG) tree.
- K - Static variable in class org.apache.commons.rng.core.source32.Well1024a
-
Number of bits in the pool.
- K - Static variable in class org.apache.commons.rng.core.source32.Well19937a
-
Number of bits in the pool.
- K - Static variable in class org.apache.commons.rng.core.source32.Well44497a
-
Number of bits in the pool.
- K - Static variable in class org.apache.commons.rng.core.source32.Well512a
-
Number of bits in the pool.
- K - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Auxiliary table.
- k1 - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
The algorithm k1 factor.
- k2 - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
The algorithm k2 factor.
- KempSmallMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- KempSmallMeanPoissonSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
- KISS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
KISSRandom
. - KISS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
KISSRandom
. - KISSRandom - Class in org.apache.commons.rng.core.source32
-
Port from Marsaglia's "KISS" algorithm.
- KISSRandom(int[]) - Constructor for class org.apache.commons.rng.core.source32.KISSRandom
-
Creates a new instance.
L
- L128_X1024_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L128X1024Mix
. - L128_X1024_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X1024Mix
. - L128_X128_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L128X128Mix
. - L128_X128_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X128Mix
. - L128_X256_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L128X256Mix
. - L128_X256_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L128X256Mix
. - L128X1024Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X1024Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a new instance.
- L128X1024Mix(L128X1024Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy instance.
- L128X128Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X128Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new instance.
- L128X128Mix(long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new instance using a 6 element seed.
- L128X128Mix(L128X128Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy instance.
- L128X256Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L128X256Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new instance.
- L128X256Mix(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new instance using an 8 element seed.
- L128X256Mix(L128X256Mix) - Constructor for class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy instance.
- L32_X64_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L32X64Mix
. - L32_X64_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L32X64Mix
. - L32X64Mix - Class in org.apache.commons.rng.core.source32
-
A 32-bit all purpose generator.
- L32X64Mix(int[]) - Constructor for class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new instance.
- L32X64Mix(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new instance using a 4 element seed.
- L32X64Mix(L32X64Mix) - Constructor for class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a copy instance.
- L64_X1024_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L64X1024Mix
. - L64_X1024_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X1024Mix
. - L64_X128_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L64X128Mix
. - L64_X128_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X128Mix
. - L64_X128_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L64X128StarStar
. - L64_X128_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X128StarStar
. - L64_X256_MIX - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
L64X256Mix
. - L64_X256_MIX - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
L64X256Mix
. - L64X1024Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X1024Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a new instance.
- L64X1024Mix(L64X1024Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy instance.
- L64X128Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X128Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new instance.
- L64X128Mix(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new instance using a 4 element seed.
- L64X128Mix(L64X128Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a copy instance.
- L64X128StarStar - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X128StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new instance.
- L64X128StarStar(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new instance using a 4 element seed.
- L64X128StarStar(L64X128StarStar) - Constructor for class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a copy instance.
- L64X256Mix - Class in org.apache.commons.rng.core.source64
-
A 64-bit all purpose generator.
- L64X256Mix(long[]) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new instance.
- L64X256Mix(long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new instance using a 6 element seed.
- L64X256Mix(L64X256Mix) - Constructor for class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy instance.
- la - Variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
Per-instance LCG additive parameter (must be odd).
- la - Variable in class org.apache.commons.rng.core.source64.AbstractL64
-
Per-instance LCG additive parameter (must be odd).
- lah - Variable in class org.apache.commons.rng.core.source64.AbstractL128
-
High half of the 128-bit per-instance LCG additive parameter.
- lal - Variable in class org.apache.commons.rng.core.source64.AbstractL128
-
Low half of the 128-bit per-instance LCG additive parameter (must be odd).
- lambda - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
Math.floor(mean)
. - lambda - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
lambda
. - lanczos(double) - Static method in class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Computes the Lanczos approximation used to compute the gamma function.
- LANCZOS_COEFFICIENTS - Static variable in class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Lanczos coefficients.
- LANCZOS_G - Static variable in class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Constant \( g = \frac{607}{128} \) in the Lanczos approximation.
- LARGE_DF - Static variable in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Threshold for large degrees of freedom.
- LargeMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- LargeMeanPoissonSampler(double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
- LargeMeanPoissonSampler(LargeMeanPoissonSampler.LargeMeanPoissonSamplerState, double, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Instantiates a sampler using a precomputed state.
- LargeMeanPoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Create an instance.
- LargeMeanPoissonSampler(UniformRandomProvider, LargeMeanPoissonSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
- LargeMeanPoissonSampler(UniformRandomProvider, LargeMeanPoissonSampler.LargeMeanPoissonSamplerState, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Instantiates a sampler using a precomputed state.
- LargeMeanPoissonSampler.LargeMeanPoissonSamplerState - Class in org.apache.commons.rng.sampling.distribution
-
Encapsulate the state of the sampler.
- LargeMeanPoissonSamplerState(double, double, double, double, double, double, double, double, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Creates the state.
- LargeRangeDiscreteUniformSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
- LargeRangeUniformLongSampler(UniformRandomProvider, long, long) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.LargeRangeUniformLongSampler
- LAST - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Index of last entry in the tables (which have a size that is a power of 2).
- LCG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Size of the LCG state vector.
- LCG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Size of the LCG state vector.
- lea32(int) - Static method in class org.apache.commons.rng.core.source32.LXMSupport
-
Perform a 32-bit mixing function using Doug Lea's 32-bit mix constants and shifts.
- lea64(long) - Static method in class org.apache.commons.rng.core.source64.LXMSupport
-
Perform a 64-bit mixing function using Doug Lea's 64-bit mix constants and shifts.
- lessThanUnsigned(long, long) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Compares two
long
values numerically treating the values as unsigned to test if the first value is less than the second value. - LevySampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a Lévy distribution.
- LevySampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LevySampler
- LevySampler(UniformRandomProvider, LevySampler) - Constructor for class org.apache.commons.rng.sampling.distribution.LevySampler
- LevyStableSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
- LevyStableSampler(UniformRandomProvider, StableSampler.LevyStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
- lH - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Stores the leaf node labels in increasing order.
- limit - Variable in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Pre-compute
1000 * mean
as the upper limit of the sample. - limit - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
-
Limit of the uniform range (inclusive) to sample a positive long.
- LineSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed on a line.
- LineSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler
- LineSampler.LineSampler1D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a line in 1D.
- LineSampler.LineSampler2D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a line in 2D.
- LineSampler.LineSampler3D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a line in 3D.
- LineSampler.LineSamplerND - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a line in ND.
- LineSampler1D(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
- LineSampler1D(UniformRandomProvider, LineSampler.LineSampler1D) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
- LineSampler2D(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
- LineSampler2D(UniformRandomProvider, LineSampler.LineSampler2D) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
- LineSampler3D(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
- LineSampler3D(UniformRandomProvider, LineSampler.LineSampler3D) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
- LineSamplerND(UniformRandomProvider, double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
- LineSamplerND(UniformRandomProvider, LineSampler.LineSamplerND) - Constructor for class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
- ListSampler - Class in org.apache.commons.rng.sampling
-
Sampling from a
List
. - ListSampler() - Constructor for class org.apache.commons.rng.sampling.ListSampler
-
Class contains only static methods.
- LM - Static variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Least significant 31 bits.
- LN_4 - Static variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Natural logarithm of 4.
- LN_5_P1 - Static variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
-
1 + natural logarithm of 5.
- lo - Variable in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Lower bound.
- location - Variable in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Location.
- LOCK - Static variable in class org.apache.commons.rng.simple.internal.SeedFactory
-
The lock to own when using the seed generator.
- LOG_FACTORIALS - Static variable in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
All long-representable factorials, precomputed as the natural logarithm using Matlab R2023a VPA: log(vpa(x)).
- logAlpha - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
The logarithm of the alpha factor.
- logFactorial(int) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
- logFactorials - Variable in class org.apache.commons.rng.sampling.distribution.InternalUtils.FactorialLog
-
Precomputed values of the function:
LOG_FACTORIALS[i] = log(i!)
. - logGamma(double) - Static method in class org.apache.commons.rng.sampling.distribution.InternalGamma
-
Computes the function \( \ln \Gamma(x) \) for \( x \gt 0 \).
- logLambda - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
logLambda
. - logLambda - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
Math.log(lambda)
. - logLambdaFactorial - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
logLambdaFactorial
. - logLambdaFactorial - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
factorialLog((int) lambda)
. - LogNormalSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a log-normal distribution.
- LogNormalSampler(double, double, NormalizedGaussianSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.LogNormalSampler
- LogNormalSampler(NormalizedGaussianSampler, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create an instance.
- LogNormalSampler(UniformRandomProvider, LogNormalSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.LogNormalSampler
- LONG - Enum constant in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
The seed type is
Long
. - LONG_ARRAY - Enum constant in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
The seed type is
long[]
. - LONG_ARRAY_BLOCK_SIZE - Static variable in class org.apache.commons.rng.simple.internal.SeedFactory
-
Size of block to fill in a
long[]
seed per synchronized operation. - LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
The coefficients for the long jump function.
- LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
The coefficients for the long jump function.
- LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
The coefficients for the long jump function.
- LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
The coefficients for the long jump function.
- LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
The coefficients for the long jump function.
- LONG_JUMP_COEFFICIENTS - Static variable in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
The coefficients for the long jump function.
- LONG_LOWEST_BYTE_MASK - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
Lowest byte mask.
- LONG_SIZE - Static variable in class org.apache.commons.rng.core.util.NumberFactory
-
Number of bytes in a
long
. - long2Int(long) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int
value from along
. - Long2Int - Class in org.apache.commons.rng.simple.internal
-
Converts a
Long
to anInteger
. - Long2Int() - Constructor for class org.apache.commons.rng.simple.internal.Long2Int
-
Create an instance.
- long2IntArray(long, int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int[]
value from along
. - Long2IntArray - Class in org.apache.commons.rng.simple.internal
-
Uses a
long
value to seed aSplitMix64
RNG and create aint[]
with the requested number of random values. - Long2IntArray(int) - Constructor for class org.apache.commons.rng.simple.internal.Long2IntArray
-
Create an instance.
- long2LongArray(long, int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long[]
value from along
. - Long2LongArray - Class in org.apache.commons.rng.simple.internal
-
Uses a
Long
value to seed aSplitMix64
RNG and create along[]
with the requested number of random values. - Long2LongArray(int) - Constructor for class org.apache.commons.rng.simple.internal.Long2LongArray
-
Create an instance.
- longArray2Int(long[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates an
int
value from a sequence of longs. - longArray2IntArray(long[], int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
int[]
value from a sequence of longs. - LongArray2IntArray - Class in org.apache.commons.rng.simple.internal
-
Creates an
int[]
from along[]
. - LongArray2IntArray() - Constructor for class org.apache.commons.rng.simple.internal.LongArray2IntArray
-
Create an instance.
- longArray2Long(long[]) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Creates a
long
value from a sequence of longs. - LongArray2Long - Class in org.apache.commons.rng.simple.internal
-
Creates a single value by "xor" of all the values in the input array.
- LongArray2Long() - Constructor for class org.apache.commons.rng.simple.internal.LongArray2Long
-
Create an instance.
- longJump() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a copy of the UniformRandomProvider and then retreats the state of the current instance.
- longJump() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- longJump() - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Creates a copy of the JumpableUniformRandomProvider and then advances the state of the current instance.
- LongJumpableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be advanced a very large number of steps of the output sequence in a single operation.
- longJumps() - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
JumpableUniformRandomProvider
interface. - longJumps(long) - Method in interface org.apache.commons.rng.LongJumpableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theJumpableUniformRandomProvider
interface. - LongProvider - Class in org.apache.commons.rng.core.source64
-
Base class for all implementations that provide a
long
-based source randomness. - LongProvider() - Constructor for class org.apache.commons.rng.core.source64.LongProvider
-
Creates a new instance.
- LongProvider(LongProvider) - Constructor for class org.apache.commons.rng.core.source64.LongProvider
-
Creates a new instance copying the state from the source.
- longs() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
long
values. - longs(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number oflong
values. - longs(long, long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns an effectively unlimited stream of
long
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - longs(long, long, long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
- longs(long, long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Returns a stream producing the given
streamSize
number oflong
values between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - LongSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
long
. - LongSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.LongSamplerFactory
- longSizeFromByteSize(int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Compute the size of an
long
array required to hold the specified number of bytes. - longSizeFromIntSize(int) - Static method in class org.apache.commons.rng.simple.internal.Conversions
-
Compute the size of an
long
array required to hold the specified number of ints. - LOOKUP_TABLE - Enum constant in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Sample using an optimised look-up table (see
MarsagliaTsangWangDiscreteSampler.Enumerated
). - lower - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
-
Lower bound.
- lower - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
The inclusive lower support for the distribution.
- lower - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.LargeRangeUniformLongSampler
-
Lower bound.
- LOWER - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The lower support for the distribution.
- LOWER_MASK - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Least significant r bits.
- LOWER_MASK_LONG - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Least significant r bits.
- ls - Variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
State of the LCG generator.
- ls - Variable in class org.apache.commons.rng.core.source64.AbstractL64
-
State of the LCG generator.
- lsh - Variable in class org.apache.commons.rng.core.source64.AbstractL128
-
High half of the 128-bit state of the LCG generator.
- lsl - Variable in class org.apache.commons.rng.core.source64.AbstractL128
-
Low half of the 128-bit state of the LCG generator.
- LXMSupport - Class in org.apache.commons.rng.core.source32
-
Utility support for the LXM family of generators.
- LXMSupport - Class in org.apache.commons.rng.core.source64
-
Utility support for the LXM family of generators.
- LXMSupport() - Constructor for class org.apache.commons.rng.core.source32.LXMSupport
-
No instances.
- LXMSupport() - Constructor for class org.apache.commons.rng.core.source64.LXMSupport
-
No instances.
M
- M - Static variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
LCG multiplier.
- M - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Period second parameter.
- M - Static variable in class org.apache.commons.rng.core.source64.AbstractL64X128
-
LCG multiplier.
- M - Static variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
LCG multiplier.
- M - Static variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
LCG multiplier.
- M1 - Static variable in class org.apache.commons.rng.core.source32.Well1024a
-
First parameter of the algorithm.
- M1 - Static variable in class org.apache.commons.rng.core.source32.Well19937a
-
First parameter of the algorithm.
- M1 - Static variable in class org.apache.commons.rng.core.source32.Well44497a
-
First parameter of the algorithm.
- M1 - Static variable in class org.apache.commons.rng.core.source32.Well512a
-
First parameter of the algorithm.
- M128L - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
Low half of 128-bit LCG multiplier.
- M128PH - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
High half of the jump constant
m'
for an advance of the 128-bit LCG by 2^64. - M2 - Static variable in class org.apache.commons.rng.core.source32.Well1024a
-
Second parameter of the algorithm.
- M2 - Static variable in class org.apache.commons.rng.core.source32.Well19937a
-
Second parameter of the algorithm.
- M2 - Static variable in class org.apache.commons.rng.core.source32.Well44497a
-
Second parameter of the algorithm.
- M2 - Static variable in class org.apache.commons.rng.core.source32.Well512a
-
Second parameter of the algorithm.
- M3 - Static variable in class org.apache.commons.rng.core.source32.Well1024a
-
Third parameter of the algorithm.
- M3 - Static variable in class org.apache.commons.rng.core.source32.Well19937a
-
Third parameter of the algorithm.
- M3 - Static variable in class org.apache.commons.rng.core.source32.Well44497a
-
Third parameter of the algorithm.
- M3 - Static variable in class org.apache.commons.rng.core.source32.Well512a
-
Third parameter of the algorithm.
- M32 - Static variable in class org.apache.commons.rng.core.source32.LXMSupport
-
32-bit LCG multiplier.
- M32P - Static variable in class org.apache.commons.rng.core.source32.LXMSupport
-
Jump constant
m'
for an advance of the 32-bit LCG by 2^16. - M64 - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
64-bit LCG multiplier.
- M64P - Static variable in class org.apache.commons.rng.core.source64.LXMSupport
-
Jump constant
m'
for an advance of the 64-bit LCG by 2^32. - MAG01 - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
X * MATRIX_A for X = {0, 1}.
- MAG01 - Static variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
X * MATRIX_A for X = {0, 1}.
- makeBoolean(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeBoolean(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeByteArray(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an
int
into 4 bytes. - makeByteArray(int[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an array of
int
values into a sequence of bytes. - makeByteArray(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits a
long
into 8 bytes. - makeByteArray(long[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Splits an array of
long
values into a sequence of bytes. - makeDouble(int, int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
double
from twoint
values. - makeDouble(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
double
from along
value. - makeDouble(long) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Creates a
double
in the interval[0, 1)
from along
value. - makeFloat(int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
float
from anint
value. - makeInt(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an
int
from 4 bytes. - makeInt(long) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Deprecated.Since version 1.2. Method has become obsolete following RNG-57.
- makeIntArray(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an array of
int
values from a sequence of bytes. - makeLong(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
long
from 8 bytes. - makeLong(int, int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates a
long
from twoint
values. - makeLongArray(byte[]) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Creates an array of
long
values from a sequence of bytes. - makeNonZeroDouble(long) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Creates a
double
in the interval(0, 1]
from along
value. - makeSignedDouble(long) - Static method in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Creates a signed double in the range
[-1, 1)
. - makeSignedDouble(long) - Static method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Creates a signed double in the range
[-1, 1)
. - MANTISSA_MASK - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Mask to extract the 52-bit mantissa from a long representation of a double.
- MANTISSA_SIZE - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Size of the mantissa of a double.
- MAP - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
The alias map.
- MAP - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The alias map.
- MarsagliaNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Marsaglia polar method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
- MarsagliaNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create an instance.
- MarsagliaTsangGammaSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
- MarsagliaTsangGammaSampler(UniformRandomProvider, AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
- MarsagliaTsangWangBase64Int16DiscreteSampler(UniformRandomProvider, String, int[], int) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
- MarsagliaTsangWangBase64Int16DiscreteSampler(UniformRandomProvider, MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
- MarsagliaTsangWangBase64Int32DiscreteSampler(UniformRandomProvider, String, int[], int) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
- MarsagliaTsangWangBase64Int32DiscreteSampler(UniformRandomProvider, MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
- MarsagliaTsangWangBase64Int8DiscreteSampler(UniformRandomProvider, String, int[], int) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
- MarsagliaTsangWangBase64Int8DiscreteSampler(UniformRandomProvider, MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
- MarsagliaTsangWangDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for a discrete distribution using an optimised look-up table.
- MarsagliaTsangWangDiscreteSampler() - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
Class contains only static methods.
- MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
The base class for Marsaglia-Tsang-Wang samplers.
- MarsagliaTsangWangDiscreteSampler.Binomial - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Binomial distribution.
- MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler - Class in org.apache.commons.rng.sampling.distribution
-
Return a fixed result for the Binomial distribution.
- MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler - Class in org.apache.commons.rng.sampling.distribution
-
Return an inversion result for the Binomial distribution.
- MarsagliaTsangWangDiscreteSampler.Enumerated - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for an enumerated distribution of
n
values each with an associated probability. - MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
An implementation for the sample algorithm based on the decomposition of the index in the range
[0,2^30)
into 5 base-64 digits with 16-bit backing storage. - MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
An implementation for the sample algorithm based on the decomposition of the index in the range
[0,2^30)
into 5 base-64 digits with 32-bit backing storage. - MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler - Class in org.apache.commons.rng.sampling.distribution
-
An implementation for the sample algorithm based on the decomposition of the index in the range
[0,2^30)
into 5 base-64 digits with 8-bit backing storage. - MarsagliaTsangWangDiscreteSampler.Poisson - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Poisson distribution.
- MarsagliaTsangWangFixedResultBinomialSampler(int) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler
- MarsagliaTsangWangInversionBinomialSampler(int, SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
- mask - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler
-
The mask to isolate the lower bits.
- MASK - Static variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
For pseudo-random lookup.
- MASK - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
The mask to convert a
byte
to an unsigned 16-bit integer. - MASK - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
The mask to convert a
byte
to an unsigned 8-bit integer. - MASK_2_BITS - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
Mask to extract the lowest 2 bits from an integer.
- MASK_8_BITS - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
Mask to extract the lowest 8 bits from an integer.
- MASK_BIT_2 - Static variable in class org.apache.commons.rng.sampling.UnitSphereSampler
-
The mask to extract the second bit from an integer (naming starts at bit 1 for the least significant bit).
- MASK_INT8 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Mask to extract the lowest 8-bits from an integer.
- MAX_ARRAY_SIZE - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
The maximum size of an array.
- MAX_BIASED_EXPONENT - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
The maximum biased exponent for a finite double.
- MAX_INT64 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Mask to create an unsigned long from a signed long.
- MAX_LONG - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
BigInteger representation of
Long.MAX_VALUE
. - MAX_MEAN - Static variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Upper bound to avoid truncation.
- MAX_MEAN - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Upper bound on the mean for the Poisson distribution.
- MAX_OFFSET - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
The maximum offset that will avoid loss of bits for a left shift of a 53-bit value.
- MAX_SMALL_POWER_2_SIZE - Static variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The maximum size of the small alias table.
- maxN - Variable in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
The maximum N covered by the cache where
N = (int)Math.floor(mean)
. - mean - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
The mean of this distribution.
- mean - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Mean.
- mean - Variable in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Mean.
- mean - Variable in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
The mean of the Poisson sample.
- mean - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
-
The mean.
- mean - Variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential.ExponentialMean
-
Mean.
- mean(double[]) - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Compute the mean of the values.
- MEAN_THRESHOLD - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
The threshold for the mean of the Poisson distribution to switch the method used to compute the probabilities.
- mem - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
The internal state.
- meps1 - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
-
Epsilon (1 - alpha).
- meps1 - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Alpha (1 - eps).
- MersenneTwister - Class in org.apache.commons.rng.core.source32
-
This class implements a powerful pseudo-random number generator developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997.
- MersenneTwister(int[]) - Constructor for class org.apache.commons.rng.core.source32.MersenneTwister
-
Creates a new random number generator.
- MersenneTwister64 - Class in org.apache.commons.rng.core.source64
-
This class provides the 64-bits version of the originally 32-bits
Mersenne Twister
. - MersenneTwister64(long[]) - Constructor for class org.apache.commons.rng.core.source64.MersenneTwister64
-
Creates a new random number generator.
- MiddleSquareWeylSequence - Class in org.apache.commons.rng.core.source32
-
Middle Square Weyl Sequence Random Number Generator.
- MiddleSquareWeylSequence(long[]) - Constructor for class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Creates a new instance.
- MIN_CATGEORIES - Static variable in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
The minimum number of categories.
- MIN_ULP_OPPOSITE_SIGN - Static variable in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
The minimum ULP gap for the open interval when the doubles have the opposite sign.
- MIN_ULP_SAME_SIGN - Static variable in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
The minimum ULP gap for the open interval when the doubles have the same sign.
- minN - Variable in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
The minimum N covered by the cache where
N = (int)Math.floor(mean)
. - MixFunctions - Class in org.apache.commons.rng.simple.internal
-
Performs mixing of bits.
- MixFunctions() - Constructor for class org.apache.commons.rng.simple.internal.MixFunctions
-
No instances.
- mixSeedAndState(int[], int[]) - Static method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Mix the seed into the state using a non-linear combination.
- mixState(int[], int) - Static method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Mix each position of the state using a non-linear combination.
- ML - Static variable in class org.apache.commons.rng.core.source64.AbstractL128
-
Low half of 128-bit LCG multiplier.
- ML - Static variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Low half of 128-bit LCG multiplier.
- ML - Static variable in class org.apache.commons.rng.core.source64.L128X128Mix
-
Low half of 128-bit LCG multiplier.
- ML - Static variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
Low half of 128-bit LCG multiplier.
- MM - Static variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Period second parameter.
- MOD_09 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 9
. - MOD_10 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 10
. - MOD_11 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 11
. - MOD_12 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 12
. - MOD_13 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 13
. - MOD_14 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 14
. - MOD_15 - Static variable in class org.apache.commons.rng.simple.internal.SeedUtils
-
The modulus
256 % 15
. - MSWS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
MiddleSquareWeylSequence
. - MSWS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MiddleSquareWeylSequence
. - mt - Variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Bytes pool.
- mt - Variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Bytes pool.
- MT - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
MersenneTwister
. - MT - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MersenneTwister
. - MT_64 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
MersenneTwister64
. - MT_64 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MersenneTwister64
. - mti - Variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Current index in the bytes pool.
- mti - Variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Current index in the bytes pool.
- mu - Variable in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Mean of the natural logarithm of the distribution values.
- multiplier - Variable in class org.apache.commons.rng.core.source64.XorShift1024Star
-
The multiplier for the XorShift1024 algorithm.
- multiply - Variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
-
Multiplier.
- MultiplyWithCarry256 - Class in org.apache.commons.rng.core.source32
-
Port from Marsaglia's "Multiply-With-Carry" algorithm.
- MultiplyWithCarry256(int[]) - Constructor for class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Creates a new instance.
- murmur3(int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Perform the finalising 32-bit mix function of Austin Appleby's MurmurHash3.
- murmur3(int) - Static method in class org.apache.commons.rng.simple.internal.MixFunctions
-
Perform the finalising 32-bit mix function of Austin Appleby's MurmurHash3.
- MWC_256 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
MultiplyWithCarry256
. - MWC_256 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
MultiplyWithCarry256
.
N
- n - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
-
Maximum range of the sample (exclusive).
- n - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Number of categories.
- n - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
-
Maximum range of the sample (exclusive).
- N - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Size of the bytes pool.
- nativeSeedSize - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Native seed size.
- nativeSeedType - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Native seed type.
- NativeSeedType - Enum in org.apache.commons.rng.simple.internal
-
The native seed type.
- NativeSeedType(Class<?>, int) - Constructor for enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Instantiates a new native seed type.
- natural(int) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Creates an array representing the natural number
n
. - NEG_PI_2 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
-pi / 2.
- NEG_PI_4 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
-pi / 4.
- newContinuousSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
ContinuousSampler
. - newDiscreteSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
DiscreteSampler
. - newLongSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
LongSampler
. - newNormalizedGaussianSampler(NormalizedGaussianSampler, UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Create a new instance of the given sampler using
SharedStateSampler.withUniformRandomProvider(UniformRandomProvider)
. - newObjectSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
ObjectSampler
. - newSharedStateContinuousSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateContinuousSampler
. - newSharedStateDiscreteSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateDiscreteSampler
. - newSharedStateLongSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateLongSampler
. - newSharedStateObjectSamplerBuilder() - Static method in class org.apache.commons.rng.sampling.CompositeSamplers
-
Create a new builder for a composite
SharedStateObjectSampler
. - next() - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Return the next random value.
- next() - Method in interface org.apache.commons.rng.core.source32.RandomIntSource
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well1024a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well19937a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well19937c
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well44497a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well44497b
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source32.Well512a
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Return the next random value.
- next() - Method in interface org.apache.commons.rng.core.source64.RandomLongSource
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Return the next random value.
- next() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Return the next random value.
- next(int) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
-
Delegates the generation of 32 random bits to the
RandomSource
argument provided atconstruction
. - nextBoolean() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
boolean
value. - nextBoolean() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates a
boolean
value. - nextBoolean() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
boolean
value. - nextBoolean() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
boolean
value. - nextBytes(byte[]) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[]) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[]) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(byte[], int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates
byte
values and places them into a user-supplied array. - nextBytes(UniformRandomProvider, byte[], int, int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates random bytes and places them into a user-supplied array.
- nextBytesFill(RandomIntSource, byte[], int, int) - Static method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates random bytes and places them into a user-supplied array.
- nextDouble - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Method to generate the (1 - p) value.
- nextDouble() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
double
value. - nextDouble() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between 0 (inclusive) and 1 (exclusive). - nextDouble(double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between 0 (inclusive) and the specifiedbound
(exclusive). - nextDouble(double, double) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
double
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextDouble(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates a
double
value between 0 (inclusive) and the specified value (exclusive). - nextDouble(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates a
double
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextFloat() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
float
value between 0 (inclusive) and 1 (exclusive). - nextFloat() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between 0 (inclusive) and 1 (exclusive). - nextFloat(float) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between 0 (inclusive) and the specifiedbound
(exclusive). - nextFloat(float, float) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
float
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextFloat(UniformRandomProvider, float) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates a
float
value between 0 (inclusive) and the specified value (exclusive). - nextFloat(UniformRandomProvider, float, float) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates a
float
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextGamma(int) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.GeneralDirichletSampler
- nextGamma(int) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create a gamma sample for the given category.
- nextGamma(int) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
- nextGaussian - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Next gaussian.
- nextGaussian - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Next gaussian.
- nextGaussian - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Next gaussian.
- nextInt() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates an
int
value. - nextInt() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates an
int
value. - nextInt() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
int
value. - nextInt() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates an
int
value. - nextInt() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value. - nextInt(int) - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
int
value. - nextInt(int) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates an
int
value between 0 (inclusive) and the specified value (exclusive). - nextInt(int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value between 0 (inclusive) and the specified value (exclusive). - nextInt(int, int) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates an
int
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextInt(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates an
int
value between 0 (inclusive) and the specified value (exclusive). - nextInt(UniformRandomProvider, int, int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates an
int
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextLong() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Return the next
long
value. - nextLong() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.sampling.distribution.TSampler
-
Generates a
long
value. - nextLong() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Generates a
long
. - nextLong() - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
long
value. - nextLong() - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value. - nextLong(long) - Method in class org.apache.commons.rng.simple.JDKRandomWrapper
-
Generates a
long
value between 0 (inclusive) and the specified value (exclusive). - nextLong(long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value between 0 (inclusive) and the specified value (exclusive). - nextLong(long, long) - Method in interface org.apache.commons.rng.UniformRandomProvider
-
Generates a
long
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextLong(UniformRandomProvider, long) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates an
long
value between 0 (inclusive) and the specified value (exclusive). - nextLong(UniformRandomProvider, long, long) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Generates a
long
value between the specifiedorigin
(inclusive) and the specifiedbound
(exclusive). - nextOutput() - Method in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Use the current state to compute the next output from the generator.
- nextOutput() - Method in class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Use the current state to compute the next output from the generator.
- nextSampler() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.CompositeSampler
-
Gets the next sampler to use to create a sample.
- nextUnsignedByte() - Method in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
Return the next unsigned byte.
- nextUnsignedByteInRange(SeedUtils.UnsignedByteProvider, int, int) - Static method in class org.apache.commons.rng.simple.internal.SeedUtils
-
Get the next unsigned byte in the range
[0,n)
rejecting any over-represented sample value using the pre-computed modulus. - nextVector() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Deprecated.
- NN - Static variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Size of the bytes pool.
- NO_CACHE_FACTORIAL_LOG - Static variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Class to compute
log(n!)
. - NO_LABEL - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Initial value for no leaf node label.
- NO_SMALL_MEAN_POISSON_SAMPLER - Static variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Used when there is no requirement for a small mean Poisson sampler.
- NONE - Enum constant in enum org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.Specialisation
-
No specialisation.
- NoOpConverter<SEED> - Class in org.apache.commons.rng.simple.internal
-
Dummy converter that simply passes on its input.
- NoOpConverter() - Constructor for class org.apache.commons.rng.simple.internal.NoOpConverter
-
Create an instance.
- normal - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler3D
-
The standard normal distribution.
- normal - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
-
The standard normal distribution.
- normaliseProbabilities(double[]) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Enumerated
-
Normalise the probabilities to integers that sum to 230.
- normalized - Variable in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Normalized Gaussian sampler.
- NormalizedGaussian(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
- NormalizedGaussianSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Marker interface for a sampler that generates values from an N(0,1) Gaussian distribution.
- NormalTSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.TSampler.NormalTSampler
- notAllZeroFrom - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Start of the not all-zero sub-range for array seeds (inclusive).
- notAllZeroTo - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
End of the not all-zero sub-range for array seeds (exclusive).
- Note - Search tag in class org.apache.commons.rng.sampling.distribution.GaussianSampler
- Section
- Note: PCG generators may exhibit massive stream correlation - Search tag in class org.apache.commons.rng.core.source32.AbstractPcg6432
- Section
- NULL_ACTION - Static variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
Message when the consumer action is null.
- NULL_ACTION - Static variable in class org.apache.commons.rng.UniformRandomProviderSupport
-
Message when the consumer action is null.
- NumberFactory - Class in org.apache.commons.rng.core.util
-
Utility for creating number types from one or two
int
values or onelong
value, or a sequence of bytes. - NumberFactory() - Constructor for class org.apache.commons.rng.core.util.NumberFactory
-
Class contains only static methods.
- numberOfElements - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Number of elements.
- numberOfSubcycleGenerators() - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
- numberOfSubcycleGenerators() - Static method in class org.apache.commons.rng.core.source64.TwoCmres
-
Get the number of subcycle generators.
O
- ObjectSampler<T> - Interface in org.apache.commons.rng.sampling
-
Sampler that generates values of a specified type.
- ObjectSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory
- of(NormalizedGaussianSampler, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create a new normalised Gaussian sampler.
- of(NormalizedGaussianSampler, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create a new log-normal distribution sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new exponential sampler with
mean = 1
. - of(UniformRandomProvider) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Create a new normalised Gaussian sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create a new exponential distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.GeometricSampler
-
Creates a new geometric distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Creates a new sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Creates a new Poisson distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Creates a sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Creates a new Poisson distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Creates a new sampler for the Poisson distribution.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.TSampler
-
Create a new t distribution sampler.
- of(UniformRandomProvider, double) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new exponential sampler with the specified
mean
. - of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double...) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Creates a new Dirichlet distribution sampler.
- of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new sampler for an enumerated distribution using the given
probabilities
. - of(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Enumerated
-
Creates a sampler for an enumerated distribution of
n
values each with an associated probability. - of(UniformRandomProvider, double[], double) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new sampler for an enumerated distribution using the given
probabilities
. - of(UniformRandomProvider, double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.BoxSampler
-
Create a box sampler with bounds
a
andb
. - of(UniformRandomProvider, double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Create a line sampler with vertices
a
andb
. - of(UniformRandomProvider, double[], double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Create a triangle sampler with vertices
a
,b
andc
. - of(UniformRandomProvider, double[], double[], double[], double[]) - Static method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
Create a tetrahedron sampler with vertices
a
,b
,c
andd
. - of(UniformRandomProvider, double[], int) - Static method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double[], int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Creates a new gamma distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a new beta distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a new continuous uniform distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Creates a new Pareto distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Create a new Lévy distribution sampler.
- of(UniformRandomProvider, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Creates a standardized sampler of a stable distribution with zero location and unit scale.
- of(UniformRandomProvider, double, double, boolean) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a new continuous uniform distribution sampler.
- of(UniformRandomProvider, double, double, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Creates a sampler of a stable distribution.
- of(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create a unit n-ball sampler for the given dimension.
- of(UniformRandomProvider, int) - Static method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Create a unit sphere sampler for the given dimension.
- of(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Creates a sampler for the Binomial distribution.
- of(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Creates a new Zipf distribution sampler.
- of(UniformRandomProvider, int, int) - Static method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Creates a new discrete uniform distribution sampler.
- of(UniformRandomProvider, long[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Creates a sampler.
- of(UniformRandomProvider, long, long) - Static method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Creates a new discrete uniform distribution sampler.
- of(UniformRandomProvider, ContinuousInverseCumulativeProbabilityFunction) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create a new inverse-transform continuous sampler.
- of(UniformRandomProvider, DiscreteInverseCumulativeProbabilityFunction) - Static method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create a new inverse-transform discrete sampler.
- offset - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
-
The offset.
- offset - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
-
The offset.
- OffsetDiscreteUniformSampler(int, SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
- OffsetUniformLongSampler(long, UniformLongSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
- ONE_AS_NUMERATOR - Static variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The value 1.0 represented as the numerator of a fraction with denominator 253.
- ONE_D - Static variable in class org.apache.commons.rng.sampling.shape.LineSampler
-
The dimension for 1D sampling.
- ONE_D - Static variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
The dimension for 1D sampling.
- ONE_D - Static variable in class org.apache.commons.rng.sampling.UnitSphereSampler
-
The dimension for 1D sampling.
- ONE_HALF - Static variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
1/2.
- ONE_OVER_R - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Inverse of R.
- ONE_OVER_X_0 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
1/X_0.
- ONE_QUARTER - Static variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
-
1/4.
- ONE_THIRD - Static variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
-
1/3.
- oneOverAlpha - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
-
Inverse of "alpha".
- oneOverShape - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
1 / Shape.
- OpenIntervalContinuousUniformSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler.OpenIntervalContinuousUniformSampler
- org.apache.commons.rng - package org.apache.commons.rng
-
This package contains the library's interface to be used by client code that needs a generator of sequences of pseudo-random numbers that are uniformly distributed in a specified range.
- org.apache.commons.rng.core - package org.apache.commons.rng.core
-
Base classes for the
generation of uniformly distributed random numbers
. - org.apache.commons.rng.core.source32 - package org.apache.commons.rng.core.source32
-
Concrete algorithms for
int
-based sources of randomness. - org.apache.commons.rng.core.source64 - package org.apache.commons.rng.core.source64
-
Concrete algorithms for
long
-based sources of randomness. - org.apache.commons.rng.core.util - package org.apache.commons.rng.core.util
-
This package contains utilities to combine/split primitive types.
- org.apache.commons.rng.sampling - package org.apache.commons.rng.sampling
-
This package provides sampling utilities.
- org.apache.commons.rng.sampling.distribution - package org.apache.commons.rng.sampling.distribution
-
This package contains classes for sampling from statistical distributions.
- org.apache.commons.rng.sampling.shape - package org.apache.commons.rng.sampling.shape
-
This package contains classes for sampling coordinates from shapes, for example a unit ball.
- org.apache.commons.rng.simple - package org.apache.commons.rng.simple
-
This package provides
factory methods
by which low-level classes implemented in module "commons-rng-core" are instantiated. - org.apache.commons.rng.simple.internal - package org.apache.commons.rng.simple.internal
-
Utilities for seed conversion.
P
- p0 - Variable in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Pre-compute
Math.exp(-mean)
. - p0 - Variable in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Pre-compute
Math.exp(-mean)
. - P0 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 product constant.
- p1 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
p1
. - p1 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
a1 / aSum
. - P1 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 product constant.
- p2 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
p2
. - p2 - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
a2 / aSum
. - P2 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 product constant.
- P3 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 product constant.
- P4 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 product constant.
- Parallel applications - Search tag in enum org.apache.commons.rng.simple.RandomSource
- Section
- partialSample(int[], int, UniformRandomProvider, boolean) - Static method in class org.apache.commons.rng.sampling.SubsetSamplerUtils
-
Perform a partial Fisher-Yates shuffle of the domain in-place and return either the upper fully shuffled section or the remaining lower partially shuffled section.
- PCG_MCG_XSH_RR_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgMcgXshRr32
. - PCG_MCG_XSH_RR_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgMcgXshRr32
. - PCG_MCG_XSH_RS_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgMcgXshRs32
. - PCG_MCG_XSH_RS_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgMcgXshRs32
. - PCG_RXS_M_XS_64 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgRxsMXs64
. - PCG_RXS_M_XS_64 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgRxsMXs64
. - PCG_RXS_M_XS_64_OS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgRxsMXs64
. - PCG_RXS_M_XS_64_OS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgRxsMXs64
. - PCG_XSH_RR_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RR_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RR_32_OS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RR_32_OS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRr32
. - PCG_XSH_RS_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgXshRs32
. - PCG_XSH_RS_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRs32
. - PCG_XSH_RS_32_OS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
PcgXshRs32
. - PCG_XSH_RS_32_OS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
PcgXshRs32
. - PcgMcgXshRr32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Multiplicative Congruential Generator (MCG) combined with the XSH-RR (xorshift; random rotate) output transformation to create 32-bit output.
- PcgMcgXshRr32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgMcgXshRr32
-
Creates a new instance.
- PcgMcgXshRs32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Multiplicative Congruential Generator (MCG) combined with the XSH-RS (xorshift; random shift) output transformation to create 32-bit output.
- PcgMcgXshRs32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgMcgXshRs32
-
Creates a new instance.
- PcgRxsMXs64 - Class in org.apache.commons.rng.core.source64
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the RXS-M-XS (random xorshift; multiply; xorshift) output transformation to create 64-bit output.
- PcgRxsMXs64(long[]) - Constructor for class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a new instance.
- PcgRxsMXs64(Long) - Constructor for class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Creates a new instance using a default increment.
- PcgXshRr32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the XSH-RR (xorshift; random rotate) output transformation to create 32-bit output.
- PcgXshRr32(long[]) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRr32
-
Creates a new instance.
- PcgXshRr32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRr32
-
Creates a new instance using a default increment.
- PcgXshRs32 - Class in org.apache.commons.rng.core.source32
-
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential Generator (LCG) combined with the XSH-RS (xorshift; random shift) output transformation to create 32-bit output.
- PcgXshRs32(long[]) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRs32
-
Creates a new instance.
- PcgXshRs32(Long) - Constructor for class org.apache.commons.rng.core.source32.PcgXshRs32
-
Creates a new instance using a default increment.
- pdf(double) - Static method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Compute the Gaussian probability density function
f(x) = e^-0.5x^2
. - performJump() - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Perform the jump to advance the generator state.
- performJump(int[]) - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Perform the jump to advance the generator state.
- performJump(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Perform the jump to advance the generator state.
- performJump(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Perform the jump to advance the generator state.
- performJump(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Perform the jump to advance the generator state.
- performJump(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Perform the jump to advance the generator state.
- PermutationSampler - Class in org.apache.commons.rng.sampling
-
Class for representing permutations of a sequence of integers.
- PermutationSampler(UniformRandomProvider, int, int) - Constructor for class org.apache.commons.rng.sampling.PermutationSampler
-
Creates a generator of permutations.
- PermutationSampler(UniformRandomProvider, PermutationSampler) - Constructor for class org.apache.commons.rng.sampling.PermutationSampler
- PI_2 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
pi / 2.
- PI_2_SCALED - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
pi/2 scaled by 2^-53.
- PI_4 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
pi/4.
- PI_4_SCALED - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.BaseStableSampler
-
pi/4 scaled by 2^-53.
- PIVOT - Static variable in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Value for switching sampling algorithm.
- Poisson() - Constructor for class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Class contains only static methods.
- POISSON_NAME - Static variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
The name of the Poisson distribution.
- PoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- PoissonSampler(SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSampler
- PoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
This instance delegates sampling.
- PoissonSamplerCache - Class in org.apache.commons.rng.sampling.distribution
-
Create a sampler for the Poisson distribution using a cache to minimise construction cost.
- PoissonSamplerCache(double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Create an instance.
- PoissonSamplerCache(double, double, boolean) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
- PoissonSamplerCache(int, int, LargeMeanPoissonSampler.LargeMeanPoissonSamplerState[]) - Constructor for class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
- poissonSamplerDelegate - Variable in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
The internal Poisson sampler.
- position - Variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
The current position in the range.
- position - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSpliterator
-
The current position in the range.
- POW_32 - Static variable in class org.apache.commons.rng.UniformRandomProviderSupport
-
2^32.
- PowerOf2RangeDiscreteUniformSampler(UniformRandomProvider, int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
- PowerOf2RangeDiscreteUniformSampler(UniformRandomProvider, DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
- PowerOf2RangeUniformLongSampler(UniformRandomProvider, long) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.PowerOf2RangeUniformLongSampler
- PowerOf2RangeUniformLongSampler(UniformRandomProvider, UniformLongSampler.PowerOf2RangeUniformLongSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.PowerOf2RangeUniformLongSampler
- powm1 - Variable in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Function to compute pow(x, -2/v) - 1, where v = degrees of freedom.
- probabilities - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
-
The probabilities.
- probability - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The probability table.
- ProviderBuilder - Class in org.apache.commons.rng.simple.internal
-
RNG builder.
- ProviderBuilder() - Constructor for class org.apache.commons.rng.simple.internal.ProviderBuilder
-
Class only contains static method.
- ProviderBuilder.RandomSourceInternal - Enum in org.apache.commons.rng.simple.internal
-
Identifiers of the generators.
- ProviderDoublesSpliterator(long, long, SplittableUniformRandomProvider, ToDoubleFunction<SplittableUniformRandomProvider>) - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
- ProviderIntsSpliterator(long, long, SplittableUniformRandomProvider, ToIntFunction<SplittableUniformRandomProvider>) - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
- ProviderLongsSpliterator(long, long, SplittableUniformRandomProvider, ToLongFunction<SplittableUniformRandomProvider>) - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
- ProviderSpliterator(long, long) - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSpliterator
- ProviderSplitsSpliterator(long, long, SplittableUniformRandomProvider, SplittableUniformRandomProvider) - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
- putInt(int, byte[], int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Puts the
int
into the buffer starting at the given position. - putLong(long, byte[], int) - Static method in class org.apache.commons.rng.core.util.NumberFactory
-
Puts the
long
into the buffer starting at the given position.
Q
- Q_SIZE - Static variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Length of the state array.
- Q0 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 quotient constant.
- Q1 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 quotient constant.
- Q2 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 quotient constant.
- Q3 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 quotient constant.
- Q4 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
tan2 quotient constant.
R
- r - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
hIntegralX1 - hIntegralNumberOfElements
. - R - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Start of tail.
- RANDOM_ACCESS_SIZE_THRESHOLD - Static variable in class org.apache.commons.rng.sampling.ListSampler
-
The size threshold for using the random access algorithm when the list does not implement java.util.RandomAccess.
- RANDOM_SEED_ARRAY_SIZE - Static variable in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Maximum length of the seed array (for creating array seeds).
- randomInt63() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Generates a positive
long
in[0, 2^63)
. - RandomIntSource - Interface in org.apache.commons.rng.core.source32
-
Source of randomness that generates values of type
int
. - RandomLongSource - Interface in org.apache.commons.rng.core.source64
-
Source of randomness that generates values of type
long
. - RandomProviderDefaultState - Class in org.apache.commons.rng.core
-
Wraps the internal state of a generator instance.
- RandomProviderDefaultState(byte[]) - Constructor for class org.apache.commons.rng.core.RandomProviderDefaultState
-
Initializes an instance.
- RandomProviderState - Interface in org.apache.commons.rng
-
Marker interface for objects that represents the state of a random generator.
- RandomSource - Enum in org.apache.commons.rng.simple
-
This class provides the API for creating generators of random numbers.
- RandomSource(ProviderBuilder.RandomSourceInternal) - Constructor for enum org.apache.commons.rng.simple.RandomSource
- RandomSourceInternal(Class<? extends UniformRandomProvider>, int, int, int, NativeSeedType, Class<?>...) - Constructor for enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Create a new instance.
- RandomSourceInternal(Class<? extends UniformRandomProvider>, int, NativeSeedType, Class<?>...) - Constructor for enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Create a new instance.
- RandomStreams - Class in org.apache.commons.rng.core.util
-
Utility for creating streams using a source of randomness.
- RandomStreams() - Constructor for class org.apache.commons.rng.core.util.RandomStreams
-
Class contains only static methods.
- RandomStreams.SeededObjectFactory<T> - Interface in org.apache.commons.rng.core.util
-
A factory for creating objects using a seed and a using a source of randomness.
- RandomStreams.SeededObjectSpliterator<T> - Class in org.apache.commons.rng.core.util
-
Spliterator for streams of a given object type that can be created from a seed and source of randomness.
- readObject(ObjectInputStream) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
-
Deserialization method.
- RejectionInversionZipfSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implementation of the Zipf distribution.
- RejectionInversionZipfSampler(SharedStateDiscreteSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Private constructor used by to prevent partially initialized object if the construction of the delegate throws.
- RejectionInversionZipfSampler(UniformRandomProvider, int, double) - Constructor for class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
This instance delegates sampling.
- RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl - Class in org.apache.commons.rng.sampling.distribution
-
Implements the rejection-inversion method for the Zipf distribution.
- RejectionInversionZipfSamplerImpl(UniformRandomProvider, int, double) - Constructor for class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
- RejectionInversionZipfSamplerImpl(UniformRandomProvider, RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl) - Constructor for class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
- requireFinite(double[], String) - Static method in class org.apache.commons.rng.sampling.shape.Coordinates
-
Check that the values are finite.
- requireFinite(double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value
x
is finite. - requireLength(double[], int, String) - Static method in class org.apache.commons.rng.sampling.shape.Coordinates
-
Check that the values is the specified length.
- requirePositive(double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value
x >= 0
. - requirePositiveFinite(double, String) - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
-
Checks that the specified value is positive finite and throws a customized
IllegalArgumentException
if it is not. - requirePositiveFinite(double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value
x >= 0
and is finite. - requireRange(double, double, double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value is within the range:
min <= x < max
. - requireRangeClosed(double, double, double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value is within the closed range:
min <= x <= max
. - requireStrictlyPositive(double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value
x > 0
. - requireStrictlyPositiveFinite(double, String) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Checks the value
x > 0
and is finite. - reset() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Reset the builder.
- resetCachedState() - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Reset the cached state used in the default implementation of
IntProvider.nextBoolean()
. - resetCachedState() - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Reset the cached state used in the default implementation of
LongProvider.nextBoolean()
andLongProvider.nextInt()
. - resolveClass(ObjectStreamClass) - Method in class org.apache.commons.rng.core.source32.JDKRandom.ValidatingObjectInputStream
- RestorableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators whose internal state can be saved and restored.
- restoreState(RandomProviderState) - Method in class org.apache.commons.rng.core.BaseProvider
-
Restores the state of a generator.
- restoreState(RandomProviderState) - Method in interface org.apache.commons.rng.RestorableUniformRandomProvider
-
Restores the state of a generator.
- result - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler
-
The result.
- rng - Variable in class org.apache.commons.rng.sampling.CollectionSampler
-
RNG.
- rng - Variable in class org.apache.commons.rng.sampling.CombinationSampler
-
RNG.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
RNG (used for the toString() method).
- rng - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.AbstractDiscreteUniformSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.LevySampler
-
RNG (used for the toString() method).
- rng - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.RNG.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.TSampler
-
Source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Underlying source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.PermutationSampler
-
RNG.
- rng - Variable in class org.apache.commons.rng.sampling.shape.BoxSampler
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.shape.LineSampler
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler1D
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler2D
-
The source of randomness.
- rng - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler1D
-
The source of randomness.
- rng - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source type.
- rng - Variable in class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
-
Source of randomness.
- rng - Variable in class org.apache.commons.rng.simple.JDKRandomWrapper
-
The JDK Random instance.
- rng - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
-
Generator to split to create new instances.
- rngConstructor - Variable in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
The constructor.
- ROOT_2 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
-
sqrt(2).
- rotate - Variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
-
Rotation.
- rsl - Variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
The results given to the user.
S
- s - Variable in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Increment for the Weyl sequence.
- s - Variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
2 - hIntegralInverse(hIntegral(2.5) - h(2)
. - sample() - Method in class org.apache.commons.rng.sampling.CollectionSampler
-
Picks one of the items from the
collection passed to the constructor
. - sample() - Method in class org.apache.commons.rng.sampling.CombinationSampler
-
Return a combination of
k
whose entries are selected randomly, without repetition, from the integers 0, 1, ...,n
-1 (inclusive). - sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.ContinuousSamplerFactory.CompositeContinuousSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.DiscreteSamplerFactory.CompositeDiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.LongSamplerFactory.CompositeLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.ObjectSamplerFactory.CompositeObjectSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory.CompositeSharedStateContinuousSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory.CompositeSharedStateDiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory.CompositeSharedStateLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler
- sample() - Method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Picks one of the items from the collection passed to the constructor.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler.OpenIntervalContinuousUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create an object sample.
- sample() - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.FixedDiscreteUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricP1Sampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Creates a
long
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
- sample() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Rejection inversion sampling method for a discrete, bounded Zipf distribution that is based on the method described in Wolfgang Hörmann and Gerhard Derflinger.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Creates an
int
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Alpha1CMSStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0CMSStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Generate a sample from a stable distribution.
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.TSampler.NormalTSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.FixedUniformLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.LargeRangeUniformLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.PowerOf2RangeUniformLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential.ExponentialMean
- sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Creates a
double
sample. - sample() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Creates a
double
sample. - sample() - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Create an object sample.
- sample() - Method in class org.apache.commons.rng.sampling.PermutationSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
- sample() - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
- sample() - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
- sample() - Method in class org.apache.commons.rng.sampling.shape.BoxSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.LineSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler1D
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler2D
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler3D
- sample() - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler1D
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler2D
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler3D
- sample() - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSamplerND
- sample(UniformRandomProvider, List<T>, int) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Generates a list of size
k
whose entries are selected randomly, without repetition, from the items in the givencollection
. - sampleOverhang(int, long) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Sample from overhang region
j
. - sampler - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
-
The sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
-
The sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Sampler for the probabilities.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.Delegate.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
-
Sampler for the categories.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
-
The discrete sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
-
The Binomial distribution sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
-
Underlying normalized Gaussian sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
-
Underlying normalized Gaussian sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
-
Underlying normalized stable sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.TSampler.NormalTSampler
-
Underlying normalized Gaussian sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
-
The long sampler.
- sampler - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler2D
-
Sampler used for generating the individual components of the vectors.
- sampler - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler3D
-
Sampler used for generating the individual components of the vectors.
- sampler - Variable in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSamplerND
-
Sampler used for generating the individual components of the vectors.
- SAMPLER_NAME - Static variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Name of the sampler.
- SamplerBase - Class in org.apache.commons.rng.sampling.distribution
-
Deprecated.Since version 1.1. Class intended for internal use only.
- SamplerBase(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.Create an instance.
- SamplerBuilder(CompositeSamplers.SamplerBuilder.Specialisation, CompositeSamplers.SamplerBuilder.SamplerFactory<S>) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
- samplers - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.CompositeSampler
-
Collection of samplers to be sampled from.
- samplers - Variable in class org.apache.commons.rng.sampling.distribution.DirichletSampler.GeneralDirichletSampler
-
Samplers for each category.
- samples() - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Returns an effectively unlimited stream of
double
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Returns an effectively unlimited stream of
int
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Returns an effectively unlimited stream of
long
sample values. - samples() - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Returns an effectively unlimited stream of object sample values.
- samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.ContinuousSampler
-
Returns a stream producing the given
streamSize
number ofdouble
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.DiscreteSampler
-
Returns a stream producing the given
streamSize
number ofint
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.distribution.LongSampler
-
Returns a stream producing the given
streamSize
number oflong
sample values. - samples(long) - Method in interface org.apache.commons.rng.sampling.ObjectSampler
-
Returns a stream producing the given
streamSize
number of object sample values. - sampleValue - Variable in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler
-
The sample value.
- saveState() - Method in class org.apache.commons.rng.core.BaseProvider
-
Saves the state of a generator.
- saveState() - Method in interface org.apache.commons.rng.RestorableUniformRandomProvider
-
Saves the state of a generator.
- scale - Variable in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Scale.
- scale - Variable in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Scale.
- scale - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Cache of expression value used in generation.
- scaleWeights(long[], int[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Scale the weights represented as integers
value * 2^exponent
to use a minimum exponent of zero. - scramble(long, long, int, int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Transformation used to scramble the initial state of a generator.
- scrambleWell(long, int) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Transformation used to scramble the initial state of a generator.
- second - Variable in class org.apache.commons.rng.simple.internal.SeedConverterComposer
-
Second conversion.
- seed - Variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
Seed used to initialise the new instances.
- SEED_CHAR_BITS - Static variable in class org.apache.commons.rng.core.util.RandomStreams
-
The number of bits of each random character in the seed.
- SEED_GENERATOR - Static variable in class org.apache.commons.rng.simple.internal.SeedFactory
-
Generator with a long period.
- SEED_GUARD - Static variable in class org.apache.commons.rng.core.source64.TwoCmres
-
A small positive integer.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Size of the seed array.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Size of the seed.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.KISSRandom
-
Size of the seed.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Size of the seed array.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Size of the seed.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractL128
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractL64
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Size of the state vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Size of the seed.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X128Mix
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
Size of the seed vector.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Size of the seed array.
- SEED_SIZE - Static variable in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Size of the state vector.
- Seed2ArrayConverter<IN,
OUT> - Interface in org.apache.commons.rng.simple.internal -
Seed converter to create an output array type.
- SeedConverter<IN,
OUT> - Interface in org.apache.commons.rng.simple.internal -
Seed converter.
- SeedConverterComposer<IN,
TRANS, - Class in org.apache.commons.rng.simple.internalOUT> -
Composes two
converters
. - SeedConverterComposer(SeedConverter<IN, TRANS>, SeedConverter<TRANS, OUT>) - Constructor for class org.apache.commons.rng.simple.internal.SeedConverterComposer
-
Create an instance.
- SeededObjectSpliterator(long, long, SplittableUniformRandomProvider, RandomStreams.SeededObjectFactory<T>, long) - Constructor for class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- SeedFactory - Class in org.apache.commons.rng.simple.internal
-
Utilities related to seeding.
- SeedFactory() - Constructor for class org.apache.commons.rng.simple.internal.SeedFactory
-
Class contains only static methods.
- Seeding - Search tag in enum org.apache.commons.rng.simple.RandomSource
- Section
- SeedUtils - Class in org.apache.commons.rng.simple.internal
-
Utility for creating seeds.
- SeedUtils() - Constructor for class org.apache.commons.rng.simple.internal.SeedUtils
-
Class contains only static methods.
- SeedUtils.UnsignedByteProvider - Class in org.apache.commons.rng.simple.internal
-
Provider of unsigned 8-bit integers.
- selectRegion() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Select the overhang region or the tail using alias sampling.
- selectRegion() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Select the overhang region or the tail using alias sampling.
- SEP - Static variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
-
Separator.
- serialVersionUID - Static variable in class org.apache.commons.rng.simple.JDKRandomBridge
-
Serializable version identifier.
- setFactory(CompositeSamplers.DiscreteProbabilitySamplerFactory) - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Sets the factory to use to generate the composite's discrete sampler from the sampler weights.
- setFactory(CompositeSamplers.DiscreteProbabilitySamplerFactory) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Sets the factory to use to generate the composite's discrete sampler from the sampler weights.
- setSeed(long) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
- setSeedInternal(int) - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Seeds the RNG.
- setSeedInternal(int) - Method in class org.apache.commons.rng.core.source64.TwoCmres
- setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.AbstractWell
-
Initializes the generator with the given
seed
. - setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Seeds the RNG.
- setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Reseeds the RNG.
- setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Seeds the RNG.
- setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Initializes the generator with the given seed.
- setSeedInternal(int[]) - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Seeds the RNG.
- setSeedInternal(long) - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Initializes the generator with the given seed.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Seeds the RNG.
- setSeedInternal(long[]) - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Seeds the RNG.
- setState(int) - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Set the state by copying the internal arrays.
- setState(int[]) - Method in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Copies the state from the array into the generator state.
- setState(int[]) - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Copies the state from the array into the generator state.
- setState(int[]) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Copies the state into the generator state.
- setState(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Copies the state into the generator state.
- setState(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Copies the state into the generator state.
- setState(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Copies the state from the array into the generator state.
- setState(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Copies the state from the array into the generator state.
- setState(long[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Copies the state from the array into the generator state.
- setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.BaseProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractWell
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.DotyHumphreySmallFastCounting32
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.IntProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.JDKRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.JenkinsSmallFast32
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.KISSRandom
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MersenneTwister
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractL128
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractL64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.DotyHumphreySmallFastCounting64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.JenkinsSmallFast64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.LongProvider
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.SplitMix64
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.TwoCmres
-
Resets the RNG to the given
state
. - setStateInternal(byte[]) - Method in class org.apache.commons.rng.core.source64.XorShift1024Star
-
Resets the RNG to the given
state
. - SFC_32 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
DotyHumphreySmallFastCounting32
. - SFC_32 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
DotyHumphreySmallFastCounting32
. - SFC_64 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
DotyHumphreySmallFastCounting64
. - SFC_64 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
DotyHumphreySmallFastCounting64
. - SHARED_STATE_SAMPLER - Enum constant in enum org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.Specialisation
-
Instance of
SharedStateSampler
. - SharedStateContinuousSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
double
and can create new instances to sample from the same state with a given source of randomness. - SharedStateContinuousSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory
- SharedStateDiscreteProbabilitySampler(DiscreteSampler, CompositeSamplers.DiscreteProbabilitySamplerFactory, double[]) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
- SharedStateDiscreteSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
int
and can create new instances to sample from the same state with a given source of randomness. - SharedStateDiscreteSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory
- SharedStateLongSampler - Interface in org.apache.commons.rng.sampling.distribution
-
Sampler that generates values of type
long
and can create new instances to sample from the same state with a given source of randomness. - SharedStateLongSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory
- SharedStateObjectSampler<T> - Interface in org.apache.commons.rng.sampling
-
Sampler that generates values of a specified type and can create new instances to sample from the same state with a given source of randomness.
- SharedStateObjectSamplerFactory() - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory
- SharedStateSampler<R> - Interface in org.apache.commons.rng.sampling
-
Applies to samplers that can share state between instances.
- shift - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
-
Bit shift to apply to the integer sample.
- shift - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.PowerOf2RangeUniformLongSampler
-
Bit shift to apply to the long sample.
- shuffle() - Method in class org.apache.commons.rng.core.source32.ISAACRandom
-
Shuffle array.
- shuffle(UniformRandomProvider, boolean[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, boolean[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, byte[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, byte[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, char[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, char[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, double[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, double[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, float[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, float[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, int[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, int[]) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, int[], int, boolean) - Static method in class org.apache.commons.rng.sampling.PermutationSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, int[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, long[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, long[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, short[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, short[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - shuffle(UniformRandomProvider, List<T>) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, List<T>, int, boolean) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Shuffles the entries of the given array, using the Fisher-Yates algorithm.
- shuffle(UniformRandomProvider, T[]) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array.
- shuffle(UniformRandomProvider, T[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Shuffles the entries of the given array in the range
[from, to)
. - sigma - Variable in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Standard deviation of the natural logarithm of the distribution values.
- size - Variable in class org.apache.commons.rng.sampling.PermutationSampler
-
Size of the permutation.
- size - Variable in class org.apache.commons.rng.simple.internal.Long2IntArray
-
Size of the output array.
- size - Variable in class org.apache.commons.rng.simple.internal.Long2LongArray
-
Size of the output array.
- size() - Method in interface org.apache.commons.rng.sampling.CompositeSamplers.Builder
-
Return the number of samplers in the composite.
- size() - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
- SIZE - Static variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Size of rsl[] and mem[].
- SIZE_L - Static variable in class org.apache.commons.rng.core.source32.ISAACRandom
-
Log of size of rsl[] and mem[].
- smallMeanPoissonSampler - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
The internal Poisson sampler for the lambda fraction.
- SmallMeanPoissonSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampler for the Poisson distribution.
- SmallMeanPoissonSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Create an instance.
- SmallMeanPoissonSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Instantiates a new small mean poisson sampler.
- SmallMeanPoissonSampler(UniformRandomProvider, SmallMeanPoissonSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
- SmallRangeDiscreteUniformSampler(UniformRandomProvider, int) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
- SmallRangeDiscreteUniformSampler(UniformRandomProvider, DiscreteUniformSampler.SmallRangeDiscreteUniformSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
- SmallRangeUniformLongSampler(UniformRandomProvider, long) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
- SmallRangeUniformLongSampler(UniformRandomProvider, UniformLongSampler.SmallRangeUniformLongSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
- SmallTableAliasMethodDiscreteSampler(UniformRandomProvider, long[], int[]) - Constructor for class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler
-
Create a new instance.
- source - Variable in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
-
Source of randomness used to initialise the new instances.
- source - Variable in class org.apache.commons.rng.simple.JDKRandomBridge
-
Source.
- source - Variable in class org.apache.commons.rng.simple.ThreadLocalRandomSource.ThreadLocalRng
-
The source.
- source - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
-
Source of randomness.
- source - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
-
Source of randomness.
- source - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
-
Source of randomness.
- source - Variable in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
-
Source of randomness used to initialise the new instances.
- SOURCES - Static variable in class org.apache.commons.rng.simple.ThreadLocalRandomSource
-
A map containing the
ThreadLocal
instance for eachRandomSource
. - specialisation - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
The specialisation of the sampler.
- Specialisation() - Constructor for enum org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.Specialisation
- SpecialMath() - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
No instances.
- split() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - split(UniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Creates a new random generator, split off from this one, that implements the
SplittableUniformRandomProvider
interface. - SPLIT_MIX_64 - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
SplitMix64
. - SPLIT_MIX_64 - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
SplitMix64
. - SplitMix64 - Class in org.apache.commons.rng.core.source64
-
A fast RNG, with 64 bits of state, that can be used to initialize the state of other generators.
- SplitMix64(long) - Constructor for class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a new instance.
- SplitMix64(Long) - Constructor for class org.apache.commons.rng.core.source64.SplitMix64
-
Creates a new instance.
- splits() - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
SplittableUniformRandomProvider
interface. - splits(long) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source32.L32X64Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X128Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L128X256Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X128StarStar
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in class org.apache.commons.rng.core.source64.L64X256Mix
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(long, SplittableUniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns a stream producing the given
streamSize
number of new random generators, each of which implements theSplittableUniformRandomProvider
interface. - splits(SplittableUniformRandomProvider) - Method in interface org.apache.commons.rng.SplittableUniformRandomProvider
-
Returns an effectively unlimited stream of new random generators, each of which implements the
SplittableUniformRandomProvider
interface. - splitStateInternal(byte[], int) - Method in class org.apache.commons.rng.core.BaseProvider
-
Splits the given
state
into a part to be consumed by the caller in order to restore its local state, while the reminder is passed to the parent class. - SplittableUniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators that can be split into two objects (the original and a new instance) each of which implements the same interface (and can be recursively split indefinitely).
- sqrtLambdaPlusHalfDelta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
sqrtLambdaPlusHalfDelta
. - sqrtLambdaPlusHalfDelta - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
Math.sqrt(lambda + halfDelta)
. - StableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Samples from a stable distribution.
- StableSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler
- StableSampler.Alpha1CMSStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the stable distribution case:
alpha == 1
andbeta != 0
. - StableSampler.BaseStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Base class for implementations of a stable distribution that requires an exponential random deviate.
- StableSampler.Beta0CMSStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the generic stable distribution case:
alpha < 2
andbeta == 0
. - StableSampler.Beta0WeronStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the generic stable distribution case:
alpha < 2
andbeta == 0
. - StableSampler.CauchyStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the
alpha = 1
andbeta = 0
stable distribution case (Cauchy distribution). - StableSampler.CMSStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the generic stable distribution case:
alpha < 2
andbeta != 0
. - StableSampler.GaussianStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the
alpha = 2
stable distribution case (Gaussian distribution). - StableSampler.LevyStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the
alpha = 0.5
andbeta = 1
stable distribution case (Levy distribution). - StableSampler.SpecialMath - Class in org.apache.commons.rng.sampling.distribution
-
Implement special math functions required by the CMS algorithm.
- StableSampler.TransformedStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Class for implementations of a stable distribution transformed by scale and location.
- StableSampler.WeronStableSampler - Class in org.apache.commons.rng.sampling.distribution
-
Implement the generic stable distribution case:
alpha < 2
andbeta != 0
. - stafford13(long) - Static method in class org.apache.commons.rng.core.BaseProvider
-
Perform variant 13 of David Stafford's 64-bit mix function.
- stafford13(long) - Static method in class org.apache.commons.rng.simple.internal.MixFunctions
-
Perform variant 13 of David Stafford's 64-bit mix function.
- standardDeviation - Variable in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.standardDeviation.
- standardDeviation - Variable in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
standardDeviation.
- start - Variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
-
Cycle start.
- state - Variable in class org.apache.commons.rng.core.RandomProviderDefaultState
-
Internal state.
- state - Variable in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
The state of the LCG.
- state - Variable in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
The state of the MCG.
- state - Variable in class org.apache.commons.rng.core.source32.MultiplyWithCarry256
-
State.
- state - Variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
State.
- state - Variable in class org.apache.commons.rng.core.source64.PcgRxsMXs64
-
The state of the LCG.
- state - Variable in class org.apache.commons.rng.core.source64.SplitMix64
-
State.
- state - Variable in class org.apache.commons.rng.core.source64.XorShift1024Star
-
State.
- state0 - Variable in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
State 0 of the generator.
- state0 - Variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
State 0 of the generator.
- state0 - Variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
State 0 of the generator.
- state0 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
State 0 of the generator.
- state0 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 0 of the generator.
- state1 - Variable in class org.apache.commons.rng.core.source32.AbstractXoRoShiRo64
-
State 1 of the generator.
- state1 - Variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
State 1 of the generator.
- state1 - Variable in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo128
-
State 1 of the generator.
- state1 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
State 1 of the generator.
- state1 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 1 of the generator.
- state2 - Variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
State 2 of the generator.
- state2 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
State 2 of the generator.
- state2 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 2 of the generator.
- state3 - Variable in class org.apache.commons.rng.core.source32.AbstractXoShiRo128
-
State 3 of the generator.
- state3 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo256
-
State 3 of the generator.
- state3 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 3 of the generator.
- state4 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 4 of the generator.
- state5 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 5 of the generator.
- state6 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 6 of the generator.
- state7 - Variable in class org.apache.commons.rng.core.source64.AbstractXoShiRo512
-
State 7 of the generator.
- stdDev - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
-
The standard deviation.
- steps - Variable in class org.apache.commons.rng.sampling.CombinationSampler
-
The number of steps of a full shuffle to perform.
- StudentsTSampler(UniformRandomProvider, double) - Constructor for class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
- StudentsTSampler(UniformRandomProvider, TSampler.StudentsTSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
- SubsetSamplerUtils - Class in org.apache.commons.rng.sampling
-
Utility class for selecting a subset of a sequence of integers.
- SubsetSamplerUtils() - Constructor for class org.apache.commons.rng.sampling.SubsetSamplerUtils
-
No public construction.
- sum(double[]) - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Compute the sum of the values.
- sum(long[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Sum the frequencies.
- sum(long[], int[], int[]) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Sum the integers at the specified indices.
- swap(boolean[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(byte[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(char[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(double[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(float[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(int[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(int[], int, int) - Static method in class org.apache.commons.rng.sampling.SubsetSamplerUtils
-
Swaps the two specified elements in the specified array.
- swap(long[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(short[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(Object[], int, int) - Static method in class org.apache.commons.rng.sampling.ArraySampler
-
Swaps the two specified elements in the array.
- swap(Object[], int, int) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Swaps the two specified elements in the array.
- swap(List<T>, int, int) - Static method in class org.apache.commons.rng.sampling.ListSampler
-
Swaps the two specified elements in the list.
- SWITCH_TO_EXPM1 - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
The threshold to switch to using
Math.expm1(double)
. - symmetric(UniformRandomProvider, int, double) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Creates a new symmetric Dirichlet distribution sampler using the same concentration parameter for each category.
- SymmetricDirichletSampler(UniformRandomProvider, int, SharedStateContinuousSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
T
- t1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Limit for look-up table 1.
- t1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Limit for look-up table 1.
- t1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Limit for look-up table 1.
- t2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Limit for look-up table 2.
- t2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Limit for look-up table 2.
- t2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Limit for look-up table 2.
- t3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Limit for look-up table 3.
- t3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Limit for look-up table 3.
- t3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Limit for look-up table 3.
- t4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Limit for look-up table 4.
- t4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Limit for look-up table 4.
- t4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Limit for look-up table 4.
- TABLE - Static variable in class org.apache.commons.rng.core.source32.Well1024a
-
The indirection index table.
- TABLE - Static variable in class org.apache.commons.rng.core.source32.Well19937a
-
The indirection index table.
- TABLE - Static variable in class org.apache.commons.rng.core.source32.Well44497a
-
The indirection index table.
- TABLE - Static variable in class org.apache.commons.rng.core.source32.Well512a
-
The indirection index table.
- TABLE - Static variable in class org.apache.commons.rng.core.source64.TwoCmres.Cmres.Factory
-
List of good "Cmres" subcycle generators.
- table1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Look-up table table1.
- table1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Look-up table table1.
- table1 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Look-up table table1.
- table2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Look-up table table2.
- table2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Look-up table table2.
- table2 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Look-up table table2.
- table3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Look-up table table3.
- table3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Look-up table table3.
- table3 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Look-up table table3.
- table4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Look-up table table4.
- table4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Look-up table table4.
- table4 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Look-up table table4.
- table5 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
-
Look-up table table5.
- table5 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
-
Look-up table table5.
- table5 - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
-
Look-up table table5.
- tan2(double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler.SpecialMath
-
Evaluate
tan(x) / x
. - tau - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.Alpha1CMSStableSampler
-
Cache of expression value used in generation.
- tau - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
-
Cache of expression value used in generation.
- TAU_ZERO - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The tau value for zero.
- TAYLOR_THRESHOLD - Static variable in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
-
Threshold below which Taylor series will be used.
- testBit(long, int, int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Test the logical bit of the shifted integer representation.
- TetrahedronSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a tetrahedron.
- TetrahedronSampler(UniformRandomProvider, double[], double[], double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.TetrahedronSampler
- TetrahedronSampler(UniformRandomProvider, TetrahedronSampler) - Constructor for class org.apache.commons.rng.sampling.shape.TetrahedronSampler
- theta - Variable in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
-
The theta parameter.
- ThreadLocalRandomSource - Class in org.apache.commons.rng.simple
-
This class provides a thread-local
UniformRandomProvider
. - ThreadLocalRandomSource() - Constructor for class org.apache.commons.rng.simple.ThreadLocalRandomSource
-
No public construction.
- ThreadLocalRandomSource.ThreadLocalRng - Class in org.apache.commons.rng.simple
-
Extend the
ThreadLocal
to allow creation of the desiredRandomSource
. - ThreadLocalRng(RandomSource) - Constructor for class org.apache.commons.rng.simple.ThreadLocalRandomSource.ThreadLocalRng
-
Create a new instance.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.shape.BoxSampler
-
The dimension for 3D sampling.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.shape.LineSampler
-
The dimension for 3D sampling.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The dimension for 3D sampling.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
The dimension for 3D sampling.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
The dimension for 3D sampling.
- THREE_D - Static variable in class org.apache.commons.rng.sampling.UnitSphereSampler
-
The dimension for 3D sampling.
- threshold - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
-
The level below which samples are rejected based on the fraction remainder.
- toBigInteger(long, int) - Static method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Convert the value and left shift offset to a BigInteger.
- toList(Collection<T>) - Static method in class org.apache.commons.rng.sampling.CollectionSampler
-
Convert the collection to a list (shallow) copy.
- toList(Map<T, Double>) - Static method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Extract the items.
- toProbabilities(Map<T, Double>) - Static method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Extract the probabilities.
- toString() - Method in class org.apache.commons.rng.core.BaseProvider
- toString() - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
- toString() - Method in class org.apache.commons.rng.core.source64.TwoCmres
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.BaseGammaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerGaussianSampler
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.BaseChengBetaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.AbstractDiscreteUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.FixedDiscreteUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricP1Sampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.AbstractMarsagliaTsangWangDiscreteSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
- toString() - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.SamplerBase
-
Deprecated.
- toString() - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.TSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.FixedUniformLongSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
- toString() - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
- toString(String) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
Generate a string to represent the sampler.
- toUnsignedInt30(double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler
-
Convert the probability to an integer in the range [0,2^30].
- transform(long) - Method in class org.apache.commons.rng.core.source32.AbstractPcg6432
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.AbstractPcgMcg6432
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgMcgXshRr32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgMcgXshRs32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgXshRr32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source32.PcgXshRs32
-
Transform the 64-bit state of the generator to a 32-bit output.
- transform(long) - Method in class org.apache.commons.rng.core.source64.TwoCmres.Cmres
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.AbstractXoRoShiRo1024
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- transform(long, long) - Method in class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Transform the two consecutive 64-bit states of the generator to a 64-bit output.
- TransformedStableSampler(StableSampler, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
- trials - Variable in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
-
The number of trials.
- TriangleSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate points uniformly distributed within a triangle.
- TriangleSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler
- TriangleSampler.TriangleSampler2D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a triangle in 2D.
- TriangleSampler.TriangleSampler3D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a triangle in 3D.
- TriangleSampler.TriangleSamplerND - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a triangle in ND.
- TriangleSampler2D(UniformRandomProvider, double[], double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
- TriangleSampler2D(UniformRandomProvider, TriangleSampler.TriangleSampler2D) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
- TriangleSampler3D(UniformRandomProvider, double[], double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
- TriangleSampler3D(UniformRandomProvider, TriangleSampler.TriangleSampler3D) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
- TriangleSamplerND(UniformRandomProvider, double[], double[], double[]) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
- TriangleSamplerND(UniformRandomProvider, TriangleSampler.TriangleSamplerND) - Constructor for class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
- tryAdvance(Consumer<? super SplittableUniformRandomProvider>) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
- tryAdvance(Consumer<? super T>) - Method in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- tryAdvance(DoubleConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
- tryAdvance(IntConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
- tryAdvance(LongConsumer) - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
- trySplit() - Method in class org.apache.commons.rng.core.util.RandomStreams.SeededObjectSpliterator
- trySplit() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderDoublesSpliterator
- trySplit() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderIntsSpliterator
- trySplit() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderLongsSpliterator
- trySplit() - Method in class org.apache.commons.rng.UniformRandomProviderSupport.ProviderSplitsSpliterator
- TSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sampling from a T distribution.
- TSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.TSampler
- TSampler.NormalTSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from a t-distribution using a normal distribution.
- TSampler.StudentsTSampler - Class in org.apache.commons.rng.sampling.distribution
-
Sample from a t-distribution using Bailey's algorithm.
- TWO_CMRES - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
TwoCmres
. - TWO_CMRES - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
TwoCmres
. - TWO_CMRES_SELECT - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
TwoCmres
with explicit selection of the two subcycle generators. - TWO_CMRES_SELECT - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
TwoCmres
, with explicit selection of the two subcycle generators. - TWO_D - Static variable in class org.apache.commons.rng.sampling.shape.BoxSampler
-
The dimension for 2D sampling.
- TWO_D - Static variable in class org.apache.commons.rng.sampling.shape.LineSampler
-
The dimension for 2D sampling.
- TWO_D - Static variable in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
The dimension for 2D sampling.
- TWO_D - Static variable in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
The dimension for 2D sampling.
- TWO_D - Static variable in class org.apache.commons.rng.sampling.UnitSphereSampler
-
The dimension for 2D sampling.
- TWO_POW_63 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler
-
2^63.
- TwoCmres - Class in org.apache.commons.rng.core.source64
-
Random number generator designed by Mark D. Overton.
- TwoCmres(int, TwoCmres.Cmres, TwoCmres.Cmres) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a new instance.
- TwoCmres(Integer) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a new instance.
- TwoCmres(Integer, int, int) - Constructor for class org.apache.commons.rng.core.source64.TwoCmres
-
Creates a new instance.
- TwoCmres.Cmres - Class in org.apache.commons.rng.core.source64
-
Subcycle generator.
- TwoCmres.Cmres.Factory - Class in org.apache.commons.rng.core.source64
-
Factory.
- twolpd - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler.LargeMeanPoissonSamplerState
-
Algorithm constant
twolpd
. - twolpd - Variable in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Algorithm constant:
2 * lambda + delta
. - type - Variable in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Define the class type of the native seed.
U
- UM - Static variable in class org.apache.commons.rng.core.source64.MersenneTwister64
-
Most significant 33 bits.
- uniform(double[]) - Static method in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
Check if all the values are the same.
- UniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler generating values of type
long
. - UniformLongSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.UniformLongSampler
- UniformLongSampler.FixedUniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the sample value is fixed.
- UniformLongSampler.LargeRangeUniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range between lower and upper is too large to fit in a positive long.
- UniformLongSampler.OffsetUniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Adds an offset to an underlying discrete sampler.
- UniformLongSampler.PowerOf2RangeUniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range is a power of 2 and greater than 1.
- UniformLongSampler.SmallRangeUniformLongSampler - Class in org.apache.commons.rng.sampling.distribution
-
Discrete uniform distribution sampler when the range is small enough to fit in a positive long.
- UniformRandomProvider - Interface in org.apache.commons.rng
-
Applies to generators of random number sequences that follow a uniform distribution.
- UniformRandomProviderSupport - Class in org.apache.commons.rng
-
Support for
UniformRandomProvider
default methods. - UniformRandomProviderSupport() - Constructor for class org.apache.commons.rng.UniformRandomProviderSupport
-
No instances.
- UniformRandomProviderSupport.ProviderDoublesSpliterator - Class in org.apache.commons.rng
-
Spliterator for streams of double values that may be recursively split.
- UniformRandomProviderSupport.ProviderIntsSpliterator - Class in org.apache.commons.rng
-
Spliterator for streams of int values that may be recursively split.
- UniformRandomProviderSupport.ProviderLongsSpliterator - Class in org.apache.commons.rng
-
Spliterator for streams of long values that may be recursively split.
- UniformRandomProviderSupport.ProviderSpliterator - Class in org.apache.commons.rng
-
Base class for spliterators for streams of values.
- UniformRandomProviderSupport.ProviderSplitsSpliterator - Class in org.apache.commons.rng
-
Spliterator for streams of SplittableUniformRandomProvider.
- UnitBallSampler - Class in org.apache.commons.rng.sampling.shape
-
Generate coordinates uniformly distributed within the unit n-ball.
- UnitBallSampler() - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create an instance.
- UnitBallSampler.UnitBallSampler1D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a 1D unit line.
- UnitBallSampler.UnitBallSampler2D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a 2D unit disk.
- UnitBallSampler.UnitBallSampler3D - Class in org.apache.commons.rng.sampling.shape
-
Sample uniformly from a 3D unit ball.
- UnitBallSampler.UnitBallSamplerND - Class in org.apache.commons.rng.sampling.shape
-
Sample using ball point picking.
- UnitBallSampler1D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler1D
- UnitBallSampler2D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler2D
- UnitBallSampler3D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler3D
- UnitBallSamplerND(UniformRandomProvider, int) - Constructor for class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
- UnitSphereSampler - Class in org.apache.commons.rng.sampling
-
Generate vectors isotropically located on the surface of a sphere.
- UnitSphereSampler() - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler
-
Private constructor used by sub-class specialisations.
- UnitSphereSampler(int, UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler
-
Deprecated.
- UnitSphereSampler(UnitSphereSampler) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler
-
Private constructor used by deprecated constructor used to prevent partially initialized object if the construction of the delegate throws.
- UnitSphereSampler.UnitSphereSampler1D - Class in org.apache.commons.rng.sampling
-
Sample uniformly from the ends of a 1D unit line.
- UnitSphereSampler.UnitSphereSampler2D - Class in org.apache.commons.rng.sampling
-
Sample uniformly from a 2D unit circle.
- UnitSphereSampler.UnitSphereSampler3D - Class in org.apache.commons.rng.sampling
-
Sample uniformly from a 3D unit sphere.
- UnitSphereSampler.UnitSphereSamplerND - Class in org.apache.commons.rng.sampling
-
Sample uniformly from a ND unit sphere.
- UnitSphereSampler1D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler1D
- UnitSphereSampler2D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler2D
- UnitSphereSampler3D(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler3D
- UnitSphereSamplerND(UniformRandomProvider, int) - Constructor for class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSamplerND
- UNRECOGNISED_SEED - Static variable in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Error message for unrecognized seed types.
- unrecognizedSeedMessage(Object) - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Create an unrecognized seed message.
- unrestorable(UniformRandomProvider) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Wraps the given
delegate
generator in a new instance that only provides access to theUniformRandomProvider
methods. - unsignedAddHigh(long, long) - Static method in class org.apache.commons.rng.core.source64.LXMSupport
-
Add the two values as if unsigned 64-bit longs to produce the high 64-bits of the 128-bit unsigned result.
- UnsignedByteProvider(UniformRandomProvider) - Constructor for class org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
- unsignedMultiplyHigh(long, long) - Static method in class org.apache.commons.rng.core.source64.LXMSupport
-
Multiply the two values as if unsigned 64-bit longs to produce the high 64-bits of the 128-bit unsigned result.
- upper - Variable in class org.apache.commons.rng.sampling.CombinationSampler
-
The section to copy the domain from after a partial shuffle.
- upper - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
-
Upper bound.
- upper - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
The inclusive upper support for the distribution.
- upper - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.LargeRangeUniformLongSampler
-
Upper bound.
- UPPER - Static variable in class org.apache.commons.rng.sampling.distribution.StableSampler
-
The upper support for the distribution.
- UPPER_MASK - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Most significant w-r bits.
- UPPER_MASK_LONG - Static variable in class org.apache.commons.rng.core.source32.MersenneTwister
-
Most significant w-r bits.
V
- v - Variable in class org.apache.commons.rng.core.source32.AbstractWell
-
Bytes pool.
- validateBinomialDistributionParameters(int, double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial
-
Validate the Binomial distribution parameters.
- validateFromIndexSize(int, int, int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Checks if the sub-range from fromIndex (inclusive) to fromIndex + size (exclusive) is within the bounds of range from 0 (inclusive) to length (exclusive).
- validateNumberOfCategories(int) - Static method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Validate the number of categories.
- validateOpenInterval(double, double) - Static method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Check that the open interval is valid.
- validateParameters(double[], double) - Static method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Validate the parameters.
- validateParameters(double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Validate the parameters are in the correct range.
- validateParameters(double, double, double, double) - Static method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Validate the parameters are in the correct range.
- validatePoissonDistributionParameters(double) - Static method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Poisson
-
Validate the Poisson distribution parameters.
- validateProbabilities(double[]) - Static method in class org.apache.commons.rng.sampling.distribution.InternalUtils
-
Validate the probabilities sum to a finite positive number.
- validateRange(double, double) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the range between the specified
origin
(inclusive) and the specifiedbound
(exclusive). - validateRange(int, int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the range between the specified
origin
(inclusive) and the specifiedbound
(exclusive). - validateRange(long, long) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the range between the specified
origin
(inclusive) and the specifiedbound
(exclusive). - validateStreamSize(long) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the stream size.
- validateUpperBound(double) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the upper bound.
- validateUpperBound(float) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the upper bound.
- validateUpperBound(int) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the upper bound.
- validateUpperBound(long) - Static method in class org.apache.commons.rng.UniformRandomProviderSupport
-
Validate the upper bound.
- ValidatingObjectInputStream(InputStream) - Constructor for class org.apache.commons.rng.core.source32.JDKRandom.ValidatingObjectInputStream
- value - Variable in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.FixedDiscreteUniformSampler
-
The value.
- value - Variable in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.FixedUniformLongSampler
-
The value.
- value(int) - Method in class org.apache.commons.rng.sampling.distribution.InternalUtils.FactorialLog
-
Computes
log(n!)
. - valueOf(String) - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.Specialisation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
The cache of states between
PoissonSamplerCache.minN
andPoissonSamplerCache.maxN
. - values() - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.DiscreteProbabilitySampler
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.Specialisation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.rng.simple.internal.NativeSeedType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.rng.simple.RandomSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERTEX_A - Static variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The name of vertex a.
- VERTEX_B - Static variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The name of vertex b.
- VERTEX_C - Static variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The name of vertex c.
- VERTEX_D - Static variable in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
The name of vertex d.
W
- w - Variable in class org.apache.commons.rng.core.source32.KISSRandom
-
State variable.
- w - Variable in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
State of the Weyl sequence.
- W - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Auxiliary table.
- Warning - Search tag in org.apache.commons.rng.core.source64.LXMSupport.unsignedAddHigh(long, long)
- Section
- weight - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
-
The weight.
- WeightedSampler(double, S) - Constructor for class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder.WeightedSampler
- weightedSamplers - Variable in class org.apache.commons.rng.sampling.CompositeSamplers.SamplerBuilder
-
The weighted samplers.
- WELL_1024_A - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well1024a
. - WELL_1024_A - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well1024a
. - WELL_19937_A - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well19937a
. - WELL_19937_A - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well19937a
. - WELL_19937_C - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well19937c
. - WELL_19937_C - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well19937c
. - WELL_44497_A - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well44497a
. - WELL_44497_A - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well44497a
. - WELL_44497_B - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well44497b
. - WELL_44497_B - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well44497b
. - WELL_512_A - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
Well512a
. - WELL_512_A - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
Well512a
. - Well1024a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL1024a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well1024a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well1024a
-
Creates a new random number generator.
- Well19937a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL19937a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well19937a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well19937a
-
Creates a new random number generator.
- Well19937c - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL19937c pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well19937c(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well19937c
-
Creates a new random number generator.
- Well44497a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL44497a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well44497a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well44497a
-
Creates a new random number generator.
- Well44497b - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL44497b pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well44497b(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well44497b
-
Creates a new random number generator.
- Well512a - Class in org.apache.commons.rng.core.source32
-
This class implements the WELL512a pseudo-random number generator from François Panneton, Pierre L'Ecuyer and Makoto Matsumoto.
- Well512a(int[]) - Constructor for class org.apache.commons.rng.core.source32.Well512a
-
Creates a new random number generator.
- WeronStableSampler(UniformRandomProvider, double, double) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
- WeronStableSampler(UniformRandomProvider, StableSampler.WeronStableSampler) - Constructor for class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
- withCache(int) - Method in class org.apache.commons.rng.sampling.distribution.InternalUtils.FactorialLog
-
Creates an instance with the specified cache size.
- withinRange(double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Check if the mean is within the range where the cache can minimise the construction cost of the
PoissonSampler
. - withRange(double, double) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSamplerCache
-
Create a new
PoissonSamplerCache
with the given range reusing the current cache values. - withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CollectionSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CombinationSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateContinuousSamplerFactory.CompositeSharedStateContinuousSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteProbabilitySampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateDiscreteSamplerFactory.CompositeSharedStateDiscreteSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateLongSamplerFactory.CompositeSharedStateLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.CompositeSamplers.SharedStateObjectSamplerFactory.CompositeSharedStateObjectSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.DiscreteProbabilityCollectionSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterExponentialSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.AhrensDieterGammaSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler.MarsagliaTsangGammaSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGammaSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler.SmallTableAliasMethodDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.BoxMullerNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBBBetaSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler.ChengBCBetaSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ChengBetaSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler.OpenIntervalContinuousUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ContinuousUniformSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.GeneralDirichletSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler.SymmetricDirichletSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.FixedDiscreteUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.LargeRangeDiscreteUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.OffsetDiscreteUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.PowerOf2RangeDiscreteUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler.SmallRangeDiscreteUniformSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.DiscreteUniformSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FixedValueDiscreteSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler.FLDRSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.FastLoadedDiceRollerDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricExponentialSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GeometricSampler.GeometricP1Sampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.GuideTableDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformContinuousSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformDiscreteSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.InverseTransformParetoSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.KempSmallMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LargeMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LevySampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.LogNormalSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangFixedResultBinomialSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.Binomial.MarsagliaTsangWangInversionBinomialSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int16DiscreteSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int32DiscreteSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.MarsagliaTsangWangDiscreteSampler.MarsagliaTsangWangBase64Int8DiscreteSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.PoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler.RejectionInversionZipfSamplerImpl
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.RejectionInversionZipfSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.SmallMeanPoissonSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Alpha1CMSStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0CMSStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.Beta0WeronStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.CauchyStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.CMSStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.GaussianStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.LevyStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.TransformedStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.StableSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.TSampler.NormalTSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.TSampler.StudentsTSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.TSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.FixedUniformLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.LargeRangeUniformLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.OffsetUniformLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.PowerOf2RangeUniformLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler.SmallRangeUniformLongSampler
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.UniformLongSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential.ExponentialMean
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.PermutationSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler2D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSampler3D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler.BoxSamplerND
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.BoxSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler1D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler2D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSampler3D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler.LineSamplerND
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.LineSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TetrahedronSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler2D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSampler3D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler.TriangleSamplerND
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.TriangleSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler1D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler2D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSampler3D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler.UnitBallSamplerND
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.shape.UnitBallSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in interface org.apache.commons.rng.sampling.SharedStateSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler1D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler2D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler3D
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSamplerND
- withUniformRandomProvider(UniformRandomProvider) - Method in class org.apache.commons.rng.sampling.UnitSphereSampler
-
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
- writeObject(ObjectOutputStream) - Method in class org.apache.commons.rng.simple.JDKRandomBridge
-
Serialization method.
X
- x - Variable in class org.apache.commons.rng.core.source32.MiddleSquareWeylSequence
-
State of the generator.
- x - Variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
State of the XBG.
- x - Variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
State of the XBG.
- x - Variable in class org.apache.commons.rng.core.source64.TwoCmres
-
First subcycle generator.
- X - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
The precomputed ziggurat lengths, denoted X_i in the main text.
- X - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The precomputed ziggurat lengths, denoted X_i in the main text.
- X_0 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
Beginning of tail.
- X_0 - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
Beginning of tail.
- x0 - Variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
State 0 of the XBG generator.
- x0 - Variable in class org.apache.commons.rng.core.source64.AbstractL64X128
-
State 0 of the XBG.
- x0 - Variable in class org.apache.commons.rng.core.source64.L128X128Mix
-
State 0 of the XBG.
- x0 - Variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
State 0 of the XBG.
- x0 - Variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
State 0 of the XBG.
- x1 - Variable in class org.apache.commons.rng.core.source32.L32X64Mix
-
State 1 of the XBG generator.
- x1 - Variable in class org.apache.commons.rng.core.source64.AbstractL64X128
-
State 1 of the XBG.
- x1 - Variable in class org.apache.commons.rng.core.source64.L128X128Mix
-
State 1 of the XBG.
- x1 - Variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
State 1 of the XBG.
- x1 - Variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
State 1 of the XBG.
- x2 - Variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
State 2 of the XBG.
- x2 - Variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
State 2 of the XBG.
- x3 - Variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
State 3 of the XBG.
- x3 - Variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
State 3 of the XBG.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.AbstractL64X128
-
Size of the XBG state vector.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X1024Mix
-
Size of the XBG state vector.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X128Mix
-
Size of the XBG state vector.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L128X256Mix
-
Size of the XBG state vector.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L64X1024Mix
-
Size of the XBG state vector.
- XBG_STATE_SIZE - Static variable in class org.apache.commons.rng.core.source64.L64X256Mix
-
Size of the XBG state vector.
- XO_RO_SHI_RO_1024_PP - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo1024PlusPlus
. - XO_RO_SHI_RO_1024_PP - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024PlusPlus
. - XO_RO_SHI_RO_1024_S - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo1024Star
. - XO_RO_SHI_RO_1024_S - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024Star
. - XO_RO_SHI_RO_1024_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo1024StarStar
. - XO_RO_SHI_RO_1024_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo1024StarStar
. - XO_RO_SHI_RO_1024_STATE_SIZE - Static variable in class org.apache.commons.rng.simple.internal.SeedFactory
-
Size of the state array of "XoRoShiRo1024PlusPlus".
- XO_RO_SHI_RO_128_PLUS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo128Plus
. - XO_RO_SHI_RO_128_PLUS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128Plus
. - XO_RO_SHI_RO_128_PP - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo128PlusPlus
. - XO_RO_SHI_RO_128_PP - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128PlusPlus
. - XO_RO_SHI_RO_128_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo128StarStar
. - XO_RO_SHI_RO_128_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo128StarStar
. - XO_RO_SHI_RO_64_S - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo64Star
. - XO_RO_SHI_RO_64_S - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo64Star
. - XO_RO_SHI_RO_64_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoRoShiRo64StarStar
. - XO_RO_SHI_RO_64_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoRoShiRo64StarStar
. - XO_SHI_RO_128_PLUS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo128Plus
. - XO_SHI_RO_128_PLUS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128Plus
. - XO_SHI_RO_128_PP - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo128PlusPlus
. - XO_SHI_RO_128_PP - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128PlusPlus
. - XO_SHI_RO_128_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo128StarStar
. - XO_SHI_RO_128_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo128StarStar
. - XO_SHI_RO_256_PLUS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo256Plus
. - XO_SHI_RO_256_PLUS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256Plus
. - XO_SHI_RO_256_PP - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo256PlusPlus
. - XO_SHI_RO_256_PP - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256PlusPlus
. - XO_SHI_RO_256_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo256StarStar
. - XO_SHI_RO_256_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo256StarStar
. - XO_SHI_RO_512_PLUS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo512Plus
. - XO_SHI_RO_512_PLUS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512Plus
. - XO_SHI_RO_512_PP - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo512PlusPlus
. - XO_SHI_RO_512_PP - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512PlusPlus
. - XO_SHI_RO_512_SS - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XoShiRo512StarStar
. - XO_SHI_RO_512_SS - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XoShiRo512StarStar
. - XOR_SHIFT_1024_S - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XorShift1024Star
. - XOR_SHIFT_1024_S - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Deprecated.Since 1.3, where it is recommended to use
XOR_SHIFT_1024_S_PHI
instead due to its slightly better (more uniform) output.XOR_SHIFT_1024_S
is still quite usable but both are variants of the same algorithm and maintain their internal state identically. Their outputs are correlated and the two should not be used together when independent sequences are assumed. - XOR_SHIFT_1024_S_PHI - Enum constant in enum org.apache.commons.rng.simple.internal.ProviderBuilder.RandomSourceInternal
-
Source of randomness is
XorShift1024StarPhi
. - XOR_SHIFT_1024_S_PHI - Enum constant in enum org.apache.commons.rng.simple.RandomSource
-
Source of randomness is
XorShift1024StarPhi
. - XoRoShiRo1024PlusPlus - Class in org.apache.commons.rng.core.source64
-
A large-state all-purpose 64-bit generator.
- XoRoShiRo1024PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Creates a new instance.
- XoRoShiRo1024PlusPlus(XoRoShiRo1024PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024PlusPlus
-
Creates a copy instance.
- XoRoShiRo1024Star - Class in org.apache.commons.rng.core.source64
-
A large-state 64-bit generator suitable for
double
generation. - XoRoShiRo1024Star(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Creates a new instance.
- XoRoShiRo1024Star(XoRoShiRo1024Star) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024Star
-
Creates a copy instance.
- XoRoShiRo1024StarStar - Class in org.apache.commons.rng.core.source64
-
A large-state all-purpose 64-bit generator.
- XoRoShiRo1024StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Creates a new instance.
- XoRoShiRo1024StarStar(XoRoShiRo1024StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo1024StarStar
-
Creates a copy instance.
- XoRoShiRo128Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoRoShiRo128Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a new instance.
- XoRoShiRo128Plus(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128Plus(XoRoShiRo128Plus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128Plus
-
Creates a copy instance.
- XoRoShiRo128PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoRoShiRo128PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a new instance.
- XoRoShiRo128PlusPlus(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128PlusPlus(XoRoShiRo128PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128PlusPlus
-
Creates a copy instance.
- XoRoShiRo128StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoRoShiRo128StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a new instance.
- XoRoShiRo128StarStar(long, long) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a new instance using a 2 element seed.
- XoRoShiRo128StarStar(XoRoShiRo128StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoRoShiRo128StarStar
-
Creates a copy instance.
- XoRoShiRo64Star - Class in org.apache.commons.rng.core.source32
-
A fast 32-bit generator suitable for
float
generation. - XoRoShiRo64Star(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Creates a new instance.
- XoRoShiRo64Star(int, int) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64Star
-
Creates a new instance using a 2 element seed.
- XoRoShiRo64StarStar - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoRoShiRo64StarStar(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Creates a new instance.
- XoRoShiRo64StarStar(int, int) - Constructor for class org.apache.commons.rng.core.source32.XoRoShiRo64StarStar
-
Creates a new instance using a 2 element seed.
- XorShift1024Star - Class in org.apache.commons.rng.core.source64
-
A fast RNG implementing the
XorShift1024*
algorithm. - XorShift1024Star(long[]) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a new instance.
- XorShift1024Star(long[], long) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a new instance.
- XorShift1024Star(XorShift1024Star) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024Star
-
Creates a copy instance.
- XorShift1024StarPhi - Class in org.apache.commons.rng.core.source64
-
A fast RNG implementing the
XorShift1024*
algorithm. - XorShift1024StarPhi(long[]) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Creates a new instance.
- XorShift1024StarPhi(XorShift1024StarPhi) - Constructor for class org.apache.commons.rng.core.source64.XorShift1024StarPhi
-
Creates a copy instance.
- XoShiRo128Plus - Class in org.apache.commons.rng.core.source32
-
A fast 32-bit generator suitable for
float
generation. - XoShiRo128Plus(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a new instance.
- XoShiRo128Plus(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a new instance using a 4 element seed.
- XoShiRo128Plus(XoShiRo128Plus) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128Plus
-
Creates a copy instance.
- XoShiRo128PlusPlus - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoShiRo128PlusPlus(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a new instance.
- XoShiRo128PlusPlus(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a new instance using a 4 element seed.
- XoShiRo128PlusPlus(XoShiRo128PlusPlus) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128PlusPlus
-
Creates a copy instance.
- XoShiRo128StarStar - Class in org.apache.commons.rng.core.source32
-
A fast all-purpose 32-bit generator.
- XoShiRo128StarStar(int[]) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a new instance.
- XoShiRo128StarStar(int, int, int, int) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a new instance using a 4 element seed.
- XoShiRo128StarStar(XoShiRo128StarStar) - Constructor for class org.apache.commons.rng.core.source32.XoShiRo128StarStar
-
Creates a copy instance.
- XoShiRo256Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoShiRo256Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a new instance.
- XoShiRo256Plus(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a new instance using a 4 element seed.
- XoShiRo256Plus(XoShiRo256Plus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256Plus
-
Creates a copy instance.
- XoShiRo256PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoShiRo256PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a new instance.
- XoShiRo256PlusPlus(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a new instance using a 4 element seed.
- XoShiRo256PlusPlus(XoShiRo256PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256PlusPlus
-
Creates a copy instance.
- XoShiRo256StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose 64-bit generator.
- XoShiRo256StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a new instance.
- XoShiRo256StarStar(long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a new instance using a 4 element seed.
- XoShiRo256StarStar(XoShiRo256StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo256StarStar
-
Creates a copy instance.
- XoShiRo512Plus - Class in org.apache.commons.rng.core.source64
-
A fast 64-bit generator suitable for
double
generation. - XoShiRo512Plus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a new instance.
- XoShiRo512Plus(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a new instance using an 8 element seed.
- XoShiRo512Plus(XoShiRo512Plus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512Plus
-
Creates a copy instance.
- XoShiRo512PlusPlus - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose generator.
- XoShiRo512PlusPlus(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a new instance.
- XoShiRo512PlusPlus(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a new instance using an 8 element seed.
- XoShiRo512PlusPlus(XoShiRo512PlusPlus) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512PlusPlus
-
Creates a copy instance.
- XoShiRo512StarStar - Class in org.apache.commons.rng.core.source64
-
A fast all-purpose generator.
- XoShiRo512StarStar(long[]) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a new instance.
- XoShiRo512StarStar(long, long, long, long, long, long, long, long) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a new instance using an 8 element seed.
- XoShiRo512StarStar(XoShiRo512StarStar) - Constructor for class org.apache.commons.rng.core.source64.XoShiRo512StarStar
-
Creates a copy instance.
- xx - Variable in class org.apache.commons.rng.core.source64.TwoCmres
-
State of first subcycle generator.
Y
- y - Variable in class org.apache.commons.rng.core.source64.TwoCmres
-
Second subcycle generator.
- Y - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.Exponential
-
The precomputed ziggurat heights, denoted Y_i in the main text.
- Y - Static variable in class org.apache.commons.rng.sampling.distribution.ZigguratSampler.NormalizedGaussian
-
The precomputed ziggurat heights, denoted Y_i in the main text.
- yy - Variable in class org.apache.commons.rng.core.source64.TwoCmres
-
State of second subcycle generator.
Z
- z - Variable in class org.apache.commons.rng.core.source32.KISSRandom
-
State variable.
- ZERO - Static variable in class org.apache.commons.rng.sampling.distribution.AliasMethodDiscreteSampler
-
The value zero for a
double
. - zeta - Variable in class org.apache.commons.rng.sampling.distribution.StableSampler.WeronStableSampler
-
Cache of expression value used in generation.
- ZigguratNormalizedGaussianSampler - Class in org.apache.commons.rng.sampling.distribution
-
Marsaglia and Tsang "Ziggurat" method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
- ZigguratNormalizedGaussianSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratNormalizedGaussianSampler
-
Create an instance.
- ZigguratSampler - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from Gaussian and exponential distributions.
- ZigguratSampler(UniformRandomProvider) - Constructor for class org.apache.commons.rng.sampling.distribution.ZigguratSampler
- ZigguratSampler.Exponential - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from an exponential distribution.
- ZigguratSampler.Exponential.ExponentialMean - Class in org.apache.commons.rng.sampling.distribution
-
Specialisation which multiplies the standard exponential result by a specified mean.
- ZigguratSampler.NormalizedGaussian - Class in org.apache.commons.rng.sampling.distribution
-
Modified ziggurat method for sampling from a Gaussian distribution with mean 0 and standard deviation 1.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
BoxMullerNormalizedGaussianSampler
andGaussianSampler
instead.