Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- arrayMask(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, double) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates an "array mask" of a specified length and specified number of true values, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length and specified number of true values, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length and specified number of true values, where an "array mask" is an array of boolean values of the same length as another array.
- arrayMask(int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates an "array mask" of a specified length, where an "array mask" is an array of boolean values of the same length as another array.
B
- betai(double, double, double) - Static method in class org.cicirello.math.MathFunctions
-
Computes the incomplete beta function: IX(a, b).
- biasedInts(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom int values, each value random from the interval [randomNumberOrigin, randomNumberBound).
- biasedInts(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom int values, each value random from the interval [randomNumberOrigin, randomNumberBound).
- binomials(int, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom int values, each value generated from a binomial distribution.
- binomials(long, int, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom int values, each value generated from a binomial distribution.
C
- cauchys(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom double values from a Cauchy distribution.
- cauchys(long, double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom double values from a Cauchy distribution.
- compute() - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
- compute(double) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
- compute(double, int) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
- compute(int) - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Computes the eigenvalues and eigenvectors using Jacobi Iteration.
- copy() - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Creates and returns a new EnhancedArbitrarilyJumpableGenerator whose internal state is an exact copy of this one.
- copy() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Creates and returns a new EnhancedJumpableGenerator whose internal state is an exact copy of this one.
- copy() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Creates and returns a new EnhancedLeapableGenerator whose internal state is an exact copy of this one.
- copyAndJump() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Creates a copy of this EnhancedJumpableGenerator, jumps this EnhancedJumpableGenerator forward, and then returns the copy.
- copyAndJump(double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Creates a copy of this EnhancedArbitrarilyJumpableGenerator, jumps this EnhancedArbitrarilyJumpableGenerator forward, and then returns the copy.
- copyAndLeap() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Creates a copy of this EnhancedLeapableGenerator, leaps this EnhancedLeapableGenerator forward, and then returns the copy.
- correlation(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation coefficient for a pair of random variables.
- correlation(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation coefficient for a pair of random variables.
- correlationMatrix(double[][]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation matrix.
- correlationMatrix(int[][]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes correlation matrix.
- covariance(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes covariance for a pair of random variables.
- covariance(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes covariance for a pair of random variables.
D
- difference(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A - B.
- difference(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A - B.
- difference(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A - B.
- difference(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A - B.
- doubles() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom double values, each value uniformly random from the interval [0.0, 1.0).
- doubles(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom double values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
- doubles(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom double values, each value uniformly random from the interval [0.0, 1.0).
- doubles(long, double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom double values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
E
- eigenvalues() - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Gets the computed eigenvalues.
- eigenvectors() - Method in class org.cicirello.math.la.JacobiDiagonalization
-
Gets the computed eigenvectors.
- ejumps() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Gets an effectively unlimited stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - ejumps(double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Gets an effectively unlimited stream of
EnhancedArbitrarilyJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - ejumps(long) - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Gets a stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - ejumps(long, double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Gets a stream of
EnhancedArbitrarilyJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - eleaps() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Gets an effectively unlimited stream of
EnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - eleaps(long) - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Gets a stream of
EnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - EnhancedArbitrarilyJumpableGenerator - Class in org.cicirello.math.rand
-
An EnhancedArbitrarilyJumpableGenerator is used to wrap an object of any class that implements
RandomGenerator.ArbitrarilyJumpableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
andRandomVariates
. - EnhancedArbitrarilyJumpableGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Constructs the EnhancedArbitrarilyJumpableGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.ArbitrarilyJumpableGenerator.of(java.lang.String)
method. - EnhancedArbitrarilyJumpableGenerator(RandomGenerator.ArbitrarilyJumpableGenerator) - Constructor for class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Constructs an EnhancedArbitrarilyJumpableGenerator to wrap and enhance a given
RandomGenerator.ArbitrarilyJumpableGenerator
. - EnhancedJumpableGenerator - Class in org.cicirello.math.rand
-
An EnhancedJumpableGenerator is used to wrap an object of any class that implements
RandomGenerator.JumpableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
andRandomVariates
. - EnhancedJumpableGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Constructs the EnhancedJumpableGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.JumpableGenerator.of(java.lang.String)
method. - EnhancedJumpableGenerator(RandomGenerator.JumpableGenerator) - Constructor for class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Constructs an EnhancedJumpableGenerator to wrap and enhance a given
RandomGenerator.JumpableGenerator
. - EnhancedLeapableGenerator - Class in org.cicirello.math.rand
-
An EnhancedLeapableGenerator is used to wrap an object of any class that implements
RandomGenerator.LeapableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
andRandomVariates
. - EnhancedLeapableGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Constructs the EnhancedLeapableGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.LeapableGenerator.of(java.lang.String)
method. - EnhancedLeapableGenerator(RandomGenerator.LeapableGenerator) - Constructor for class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Constructs an EnhancedLeapableGenerator to wrap and enhance a given
RandomGenerator.LeapableGenerator
. - EnhancedRandomGenerator - Class in org.cicirello.math.rand
-
An EnhancedRandomGenerator is used to wrap an object of any class that implements
RandomGenerator
for the purpose of adding all of the functionality of theRandomIndexer
,RandomSampler
, andRandomVariates
. - EnhancedRandomGenerator() - Constructor for class org.cicirello.math.rand.EnhancedRandomGenerator
-
Constructs the EnhancedRandomGenerator to wrap an instance of the default random number generator as obtained via a call to
RandomGenerator.getDefault()
. - EnhancedRandomGenerator(long) - Constructor for class org.cicirello.math.rand.EnhancedRandomGenerator
-
Constructs the EnhancedRandomGenerator to wrap an instance of a random number generator initialized with a specified seed to enable replicating the same sequence of random numbers during subsequent runs.
- EnhancedRandomGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedRandomGenerator
-
Constructs the EnhancedRandomGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.of(java.lang.String)
method. - EnhancedRandomGenerator(RandomGenerator) - Constructor for class org.cicirello.math.rand.EnhancedRandomGenerator
-
Constructs the EnhancedRandomGenerator from the RandomGenerator to wrap.
- EnhancedSplittableGenerator - Class in org.cicirello.math.rand
-
An EnhancedSplittableGenerator is used to wrap an object of any class that implements
RandomGenerator.SplittableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
andRandomVariates
. - EnhancedSplittableGenerator() - Constructor for class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Constructs the EnhancedSplittableGenerator to wrap an instance of a default SplittableGenerator.
- EnhancedSplittableGenerator(long) - Constructor for class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Constructs the EnhancedSplittableGenerator to wrap an instance of a random number generator initialized with a specified seed to enable replicating the same sequence of random numbers during subsequent runs.
- EnhancedSplittableGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Constructs the EnhancedSplittableGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.SplittableGenerator.of(java.lang.String)
method. - EnhancedSplittableGenerator(RandomGenerator.SplittableGenerator) - Constructor for class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Constructs an EnhancedSplittableGenerator to wrap and enhance a given
RandomGenerator.SplittableGenerator
. - EnhancedStreamableGenerator - Class in org.cicirello.math.rand
-
An EnhancedStreamableGenerator is used to wrap an object of any class that implements
RandomGenerator.StreamableGenerator
for the purpose of adding all of the functionality of theRandomIndexer
andRandomVariates
. - EnhancedStreamableGenerator() - Constructor for class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Constructs the EnhancedStreamableGenerator to wrap an instance of a default StreamableGenerator.
- EnhancedStreamableGenerator(long) - Constructor for class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Constructs the EnhancedStreamableGenerator to wrap an instance of a random number generator initialized with a specified seed to enable replicating the same sequence of random numbers during subsequent runs.
- EnhancedStreamableGenerator(String) - Constructor for class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Constructs the EnhancedStreamableGenerator to wrap an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.StreamableGenerator.of(java.lang.String)
method. - EnhancedStreamableGenerator(RandomGenerator.StreamableGenerator) - Constructor for class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Constructs an EnhancedStreamableGenerator to wrap and enhance a given
RandomGenerator.StreamableGenerator
. - EPSILON - Static variable in class org.cicirello.math.la.JacobiDiagonalization
-
Default precision level for convergence check.
- erngs() - Method in class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Gets an effectively unlimited stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - erngs(long) - Method in class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Gets a stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - esplits() - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets an effectively unlimited stream of
EnhancedSplittableGenerator
objects. - esplits(long) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets a stream of
EnhancedSplittableGenerator
objects. - esplits(long, RandomGenerator.SplittableGenerator) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets a stream of
EnhancedSplittableGenerator
objects. - esplits(RandomGenerator.SplittableGenerator) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets an effectively unlimited stream of
EnhancedSplittableGenerator
objects. - exponentials() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom non-negative double values from an exponential distribution with mean 1.
- exponentials(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom non-negative double values from an exponential distribution with mean 1.
G
- gaussians() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom double values from a Gaussian distribution with mean 0 and standard deviation 1.
- gaussians(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom double values from a Gaussian distribution with specified mean and standard deviation.
- gaussians(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom non-negative double values from a Gaussian distribution with mean 0 and standard deviation 1.
- gaussians(long, double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom double values from a Gaussian distribution with specified mean and standard deviation.
- getDefault() - Static method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Gets an EnhancedRandomGenerator wrapping an instance of the default random number generator as obtained via a call to
RandomGenerator.getDefault()
.
I
- ints() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom int values.
- ints(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom int values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
- ints(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom int values.
- ints(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom int values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
J
- JacobiDiagonalization - Class in org.cicirello.math.la
-
This class uses Jacobi iteration to compute the eigenvalues and eigenvectors of a symmetric matrix, provided as a 2-D Java array.
- JacobiDiagonalization(double[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
-
Initializes a Jacobi iteration for finding eigenvalues and eigenvectors of a matrix.
- JacobiDiagonalization(int[][]) - Constructor for class org.cicirello.math.la.JacobiDiagonalization
-
Initializes a Jacobi iteration for finding eigenvalues and eigenvectors of a matrix.
- jump() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Changes the state of this EnhancedJumpableGenerator to jump a large fixed distance, indicated by the
EnhancedJumpableGenerator.jumpDistance()
method, in its state cycle. - jump(double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Changes the state of this EnhancedArbitrarilyJumpableGenerator to jump a fixed distance ahead in its state cycle.
- jumpDistance() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Returns the distance by which the
EnhancedJumpableGenerator.jump()
method will jump ahead in this EnhancedJumpableGenerator instance's state cycle. - jumpPowerOfTwo(int) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Changes the state of this EnhancedArbitrarilyJumpableGenerator to jump a distance of 2logDistance ahead in its state cycle.
- jumps() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Gets an effectively unlimited stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - jumps(double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Gets an effectively unlimited stream of
EnhancedArbitrarilyJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - jumps(long) - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Gets a stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - jumps(long, double) - Method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Gets a stream of
EnhancedArbitrarilyJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one.
L
- leap() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Changes the state of this EnhancedLeapableGenerator to leap a large fixed distance, indicated by the
EnhancedLeapableGenerator.leapDistance()
method, in its state cycle. - leapDistance() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Returns the distance by which the
EnhancedLeapableGenerator.leap()
method will leap ahead in this EnhancedLeapableGenerator instance's state cycle. - leaps() - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Gets an effectively unlimited stream of
EnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - leaps(long) - Method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Gets a stream of
EnhancedJumpableGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - logGamma(double) - Static method in class org.cicirello.math.MathFunctions
-
Implementation of the natural log of the absolute value of the gamma function.
- longs() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom long values.
- longs(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom long values.
- longs(long, long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom long values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
- longs(long, long, long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom long values, each value uniformly random from the interval [randomNumberOrigin, randomNumberBound).
M
- MathFunctions - Class in org.cicirello.math
-
MathFunctions is a class of utility methods that implement various mathematical functions.
- MatrixOps - Class in org.cicirello.math.la
-
Utility class of basic linear algebra matrix operations, where matrices are represented as 2-D Java arrays.
- MAX_ITERATIONS - Static variable in class org.cicirello.math.la.JacobiDiagonalization
-
Default max number of iterations.
- mean(double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes mean of a dataset.
- mean(int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes mean of a dataset.
N
- nextBiasedInt(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random integer in the interval: [0, bound).
- nextBiasedInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
- nextBiasedInt(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random integer in the interval: [origin, bound).
- nextBiasedInt(int, int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [origin, bound).
- nextBiasedInt(int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [origin, bound).
- nextBiasedInt(int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
- nextBinomial(int, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom integer from a binomial distribution.
- nextBinomial(int, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
- nextBinomial(int, double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
- nextBoolean() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom boolean value.
- nextBytes(byte[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Fills a user-supplied byte array with byte values generated pseudorandomly uniformly distributed in the interval [-128, 127].
- nextCauchy(double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom number from a Cauchy distribution with median 0 and chosen scale parameter.
- nextCauchy(double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution with median 0 and chosen scale parameter.
- nextCauchy(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution with median 0 and chosen scale parameter.
- nextDouble() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom double value in the interval [0, 1).
- nextDouble(double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom double value in the interval [0, bound).
- nextDouble(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom double value in the interval [origin, bound).
- nextExponential() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a non-negative pseudorandom number from an exponential distribution with mean 1.
- nextFloat() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom float value in the interval [0, 1).
- nextFloat(float) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom float value in the interval [0, bound).
- nextFloat(float, float) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom float value in the interval [origin, bound).
- nextGaussian() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian() - Static method in class org.cicirello.math.rand.PolarGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian() - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian() - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, stddev, of your choosing.
- nextGaussian(double) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, or your choosing.
- nextGaussian(double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation sigma.
- nextGaussian(double) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random number from a Gaussian distribution with mean and standard deviation of your choosing.
- nextGaussian(double, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean mu and standard deviation sigma.
- nextGaussian(double, double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean mu and standard deviation sigma.
- nextGaussian(double, RandomGenerator) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, or your choosing.
- nextGaussian(double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation sigma.
- nextGaussian(double, RandomGenerator) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(RandomGenerator) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(RandomGenerator) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(RandomGenerator) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Deprecated.Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextInt() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom int value.
- nextInt(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextInt(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random integer uniformly distributed in the interval: [origin, bound).
- nextInt(int, int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [origin, bound).
- nextInt(int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [origin, bound).
- nextInt(int, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextIntPair(int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 2 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntPair(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntPair(int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[], boolean) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[], boolean, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextIntTriple(int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, without replacement, from the set of integers in the interval [0, n).
- nextLong() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom long value.
- nextLong(long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom long value in the interval [0, bound).
- nextLong(long, long) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a pseudorandom long value in the interval [origin, bound).
- nextWindowedIntPair(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 2 integers, i, j, without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window.
- nextWindowedIntPair(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, i, j, without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window.
- nextWindowedIntPair(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 2 integers, i, j, without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window.
- nextWindowedIntTriple(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- nextWindowedIntTriple(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- nextWindowedIntTriple(int, int, int[], boolean) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- nextWindowedIntTriple(int, int, int[], boolean) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- nextWindowedIntTriple(int, int, int[], boolean, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- nextWindowedIntTriple(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of 3 integers, i, j, k without replacement, from the set of integers in the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
O
- of(String) - Static method in class org.cicirello.math.rand.EnhancedArbitrarilyJumpableGenerator
-
Gets an EnhancedArbitrarilyJumpableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.ArbitrarilyJumpableGenerator.of(java.lang.String)
method. - of(String) - Static method in class org.cicirello.math.rand.EnhancedJumpableGenerator
-
Gets an EnhancedJumpableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.JumpableGenerator.of(java.lang.String)
method. - of(String) - Static method in class org.cicirello.math.rand.EnhancedLeapableGenerator
-
Gets an EnhancedLeapableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.LeapableGenerator.of(java.lang.String)
method. - of(String) - Static method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Gets an EnhancedRandomGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.of(java.lang.String)
method. - of(String) - Static method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets an EnhancedSplittableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.SplittableGenerator.of(java.lang.String)
method. - of(String) - Static method in class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Gets an EnhancedStreamableGenerator wrapping an instance of any random number generator supported by your version of Java as specified by its name, as documented via the
RandomGenerator.StreamableGenerator.of(java.lang.String)
method. - org.cicirello.math - package org.cicirello.math
-
Collection of classes related to a variety of mathematical concepts.
- org.cicirello.math.la - package org.cicirello.math.la
-
Collection of classes related to linear algebra.
- org.cicirello.math.rand - package org.cicirello.math.rand
-
Collection of classes related to random number generation.
- org.cicirello.math.stats - package org.cicirello.math.stats
-
Collection of classes related to statistics.
- org.cicirello.rho_mu - module org.cicirello.rho_mu
-
ρμ - A Java library of randomization enhancements and other math utilities.
P
- p(double, int) - Static method in class org.cicirello.math.stats.Statistics
-
Calculates a p-value from the t statistic and degrees of freedom from a t-test.
- PolarGaussian - Class in org.cicirello.math.rand
-
Deprecated.
- pow(double, int) - Static method in class org.cicirello.math.MathFunctions
-
Computes ab, where the exponent b is an integer.
- product(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A * B.
- product(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A * B.
- product(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A * B.
- product(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A * B.
R
- RandomIndexer - Class in org.cicirello.math.rand
-
RandomIndexer is a class of utility methods related to efficiently generating random indexes, and combination of indexes, into arrays.
- RandomSampler - Class in org.cicirello.math.rand
-
RandomSampler is a class of utility methods related to efficiently sampling integers without replacement.
- RandomVariates - Class in org.cicirello.math.rand
-
This utility class provides methods for generating random variates from different distributions.
- rngs() - Method in class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Gets an effectively unlimited stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one. - rngs(long) - Method in class org.cicirello.math.rand.EnhancedStreamableGenerator
-
Gets a stream of
EnhancedRandomGenerator
objects, each wrapping an object of the same random number generator algorithm as this one.
S
- sample(int, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, double) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, double, RandomGenerator) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleInsertion(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleInsertion(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleInsertion(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- samplePool(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- samplePool(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- samplePool(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleReservoir(int, int, int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleReservoir(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleReservoir(int, int, int[], RandomGenerator) - Static method in class org.cicirello.math.rand.RandomSampler
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- split() - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Returns a new EnhancedSplittableGenerator split off from this one, such that the new one wraps a split of the wrapped random number generator.
- split(RandomGenerator.SplittableGenerator) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Returns a new EnhancedSplittableGenerator split off from this one, such that the new one wraps a split of the wrapped random number generator.
- splits() - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets an effectively unlimited stream of
EnhancedSplittableGenerator
objects. - splits(long) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets a stream of
EnhancedSplittableGenerator
objects. - splits(long, RandomGenerator.SplittableGenerator) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets a stream of
EnhancedSplittableGenerator
objects. - splits(RandomGenerator.SplittableGenerator) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
-
Gets an effectively unlimited stream of
EnhancedSplittableGenerator
objects. - Statistics - Class in org.cicirello.math.stats
-
Utility class of basic statistics.
- stdev(double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes the sample standard deviation.
- stdev(int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes the sample standard deviation.
- sum(double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(double[][], double[][], double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
- sum(int[][], int[][], int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Computes C = A + B.
T
- transposeSquareMatrixInline(double[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Transpose a square matrix inline.
- transposeSquareMatrixInline(int[][]) - Static method in class org.cicirello.math.la.MatrixOps
-
Transpose a square matrix inline.
- tTestUnequalVariances(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Welch's t-test, also known as t-test with unequal variances.
- tTestUnequalVariances(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Welch's t-test, also known as t-test with unequal variances.
- tTestWelch(double[], double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Welch's t-test, also known as t-test with unequal variances.
- tTestWelch(int[], int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Welch's t-test, also known as t-test with unequal variances.
V
- variance(double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes variance of a population.
- variance(int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes variance of a population.
- varianceSample(double[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes variance of a sample.
- varianceSample(int[]) - Static method in class org.cicirello.math.stats.Statistics
-
Computes variance of a sample.
Z
- ZigguratGaussian - Class in org.cicirello.math.rand
-
Deprecated.This class will become an internal package-access class. You should begin using the corresponding static methods of the
RandomVariates
class, or the instance methods of theEnhancedRandomGenerator
class.
All Classes and Interfaces|All Packages|Constant Field Values
RandomVariates
or the instance methods ofEnhancedRandomGenerator
.