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
,RandomSampler
, 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
,RandomSampler
, 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
,RandomSampler
, 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
,RandomSampler
, 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
,RandomSampler
, 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.
- equals(Object) - Method in record class org.cicirello.math.rand.IndexPair
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.cicirello.math.rand.IndexTriple
-
Indicates whether some other object is "equal to" this one.
- erngs() - Method in class org.cicirello.math.rand.EnhancedJumpableGenerator
- erngs() - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
- 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.EnhancedJumpableGenerator
- erngs(long) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
- 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()
.
H
- hashCode() - Method in record class org.cicirello.math.rand.IndexPair
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.cicirello.math.rand.IndexTriple
-
Returns a hash code value for this object.
I
- i() - Method in record class org.cicirello.math.rand.IndexPair
-
Returns the value of the
i
record component. - i() - Method in record class org.cicirello.math.rand.IndexTriple
-
Returns the value of the
i
record component. - IndexPair - Record Class in org.cicirello.math.rand
-
A pair of indexes.
- IndexPair(int, int) - Constructor for record class org.cicirello.math.rand.IndexPair
-
Creates an instance of a
IndexPair
record class. - IndexTriple - Record Class in org.cicirello.math.rand
-
A triple of indexes.
- IndexTriple(int, int, int) - Constructor for record class org.cicirello.math.rand.IndexTriple
-
Creates an instance of a
IndexTriple
record class. - 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).
- isDeprecated() - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Return true if the implementation of the RandomGenerator (algorithm) that is wrapped by this EnhancedRandomGenerator has been marked for deprecation.
J
- j() - Method in record class org.cicirello.math.rand.IndexPair
-
Returns the value of the
j
record component. - j() - Method in record class org.cicirello.math.rand.IndexTriple
-
Returns the value of the
j
record component. - 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.
K
- k() - Method in record class org.cicirello.math.rand.IndexTriple
-
Returns the value of the
k
record component.
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.RandomVariates
-
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.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation sigma.
- nextGaussian(double, double) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Generates a random number from a Gaussian distribution with specified mean and standard deviation.
- 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.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation sigma.
- 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.
- 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) - 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) - 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[]) - 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).
- nextIntPair(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) - 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) - 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[]) - 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[], 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, 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).
- nextSortedIntPair(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).
- nextSortedIntPair(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).
- nextSortedIntPair(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).
- nextSortedIntPair(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).
- nextSortedIntPair(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).
- nextSortedIntPair(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).
- nextSortedIntTriple(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).
- nextSortedIntTriple(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).
- nextSortedIntTriple(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).
- nextSortedIntTriple(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).
- nextSortedIntTriple(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).
- nextSortedIntTriple(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).
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntPair(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, and sorted such that i is less than j.
- nextSortedWindowedIntTriple(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.
- nextSortedWindowedIntTriple(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.
- nextSortedWindowedIntTriple(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.
- nextSortedWindowedIntTriple(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.
- nextSortedWindowedIntTriple(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.
- nextSortedWindowedIntTriple(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.
- nextWindowedIntPair(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) - 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[]) - 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.
- nextWindowedIntPair(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) - 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) - 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[]) - 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[], 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, 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.
- pairs(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom pairs of int values, without replacement, from the interval [0, n).
- pairs(long, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom pairs of int values, without replacement, from the interval [0, n).
- 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.EnhancedJumpableGenerator
- rngs() - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
- 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.EnhancedJumpableGenerator
- rngs(long) - Method in class org.cicirello.math.rand.EnhancedSplittableGenerator
- 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).
- shuffle(byte[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(byte[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(byte[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(byte[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(byte[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(byte[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(char[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(char[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(char[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(char[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(char[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(char[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(double[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(double[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(double[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(double[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(double[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(double[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(float[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(float[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(float[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(float[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(float[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(float[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(int[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(int[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(int[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(int[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(int[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(int[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(long[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(long[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(long[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(long[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(long[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(long[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(short[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(short[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(short[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(short[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(short[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(short[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(List<T>) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of a List.
- shuffle(List<T>) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of a List.
- shuffle(List<T>, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of a portion of a List.
- shuffle(List<T>, int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of a portion of a List.
- shuffle(List<T>, int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of a portion of a List.
- shuffle(List<T>, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of a List.
- shuffle(T[]) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements of an array.
- shuffle(T[]) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- shuffle(T[], int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(T[], int, int) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(T[], int, int, RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements within a portion of an array.
- shuffle(T[], RandomGenerator) - Static method in class org.cicirello.math.rand.Shuffler
-
Randomizes the ordering of the elements of an array.
- Shuffler - Class in org.cicirello.math.rand
-
Shuffler is a class of utility methods for randomizing the order of elements in arrays and Lists.
- sorted(int, int, int) - Static method in record class org.cicirello.math.rand.IndexTriple
-
Factory method to initialize an IndexTriple with sorted indexes.
- sortedPairs(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom pairs of int values, without replacement, from the interval [0, n).
- sortedPairs(long, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom pairs of int values, without replacement, from the interval [0, n).
- sortedTriples(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
- sortedTriples(long, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
- sortedWindowedPairs(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom pairs (i, j) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and sorted such that i is less than j.
- sortedWindowedPairs(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom pairs of int values (i, j), without replacement, from the interval [0, n), such that |i-j| ≤ window, and sorted such that i is less than j.
- sortedWindowedTriples(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- sortedWindowedTriples(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- 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
- toString() - Method in record class org.cicirello.math.rand.IndexPair
-
Returns a string representation of this record class.
- toString() - Method in record class org.cicirello.math.rand.IndexTriple
-
Returns a string representation of this record class.
- 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.
- triples(int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
- triples(long, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom triples of int values, without replacement, from the interval [0, n).
- 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.
W
- windowedPairs(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom pairs (i, j) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window.
- windowedPairs(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom pairs of int values (i, j), without replacement, from the interval [0, n), such that |i-j| ≤ window.
- windowedTriples(int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns an effectively unlimited stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
- windowedTriples(long, int, int) - Method in class org.cicirello.math.rand.EnhancedRandomGenerator
-
Returns a stream of pseudorandom triples (i, j , k) of int values, without replacement, from the interval [0, n), such that |i-j| ≤ window, and |i-k| ≤ window, and |k-j| ≤ window.
All Classes and Interfaces|All Packages|Constant Field Values