A C D E J L M N O P R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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) - 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, Random) - 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, SplittableRandom) - 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) - 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, Random) - 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, SplittableRandom) - 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, Random) - 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, SplittableRandom) - 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.
C
- 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.
- 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.
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.
- EPSILON - Static variable in class org.cicirello.math.la.JacobiDiagonalization
-
Default precision level for convergence check.
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.
L
- logGamma(double) - Static method in class org.cicirello.math.MathFunctions
-
Implementation of the natural log of the absolute value of the gamma function.
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) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
- nextBiasedInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
- nextBiasedInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer in the interval: [0, bound).
- nextBinomial(int, double) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
- nextBinomial(int, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
- nextBinomial(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom integer from a binomial distribution.
- 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) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution.
- nextCauchy(double, Random) - 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, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a pseudorandom number from a Cauchy distribution with median 0 and chosen scale parameter.
- nextGaussian() - Static method in class org.cicirello.math.rand.PolarGaussian
-
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
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(double) - Static method in class org.cicirello.math.rand.PolarGaussian
-
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, of your choosing.
- nextGaussian(double) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(double, Random) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, or your choosing.
- nextGaussian(double, Random) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(double, Random) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(double, SplittableRandom) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, or your choosing.
- nextGaussian(double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomVariates
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(double, SplittableRandom) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation, sigma, of your choosing.
- nextGaussian(Random) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(Random) - 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(Random) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(SplittableRandom) - Static method in class org.cicirello.math.rand.PolarGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextGaussian(SplittableRandom) - 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(SplittableRandom) - Static method in class org.cicirello.math.rand.ZigguratGaussian
-
Generates a random number from a Gaussian distribution with mean 0 and standard deviation 1.
- nextInt(int) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextInt(int, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- nextInt(int, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random integer uniformly distributed in the interval: [0, bound).
- 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[], Random) - 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[], SplittableRandom) - 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[]) - 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) - 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, Random) - 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, SplittableRandom) - 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[], Random) - 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[], SplittableRandom) - 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).
- 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[], Random) - 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[], SplittableRandom) - 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[]) - 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) - 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, Random) - 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, SplittableRandom) - 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[], Random) - 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[], SplittableRandom) - 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
- 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
- PolarGaussian - Class in org.cicirello.math.rand
-
This class provides methods for generating pseudorandom numbers from a Gaussian distribution using the classic Polar Method.
- 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.
- RandomVariates - Class in org.cicirello.math.rand
-
This utility class provides methods for generating random variates from different distributions.
S
- sample(int, double) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, double, Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, double, SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[]) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sample(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
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.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleInsertion(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleInsertion(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
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.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- samplePool(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- samplePool(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
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.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleReservoir(int, int, int[], Random) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- sampleReservoir(int, int, int[], SplittableRandom) - Static method in class org.cicirello.math.rand.RandomIndexer
-
Generates a random sample of k integers, without replacement, from the set of integers in the interval [0, n).
- Statistics - Class in org.cicirello.math.stats
-
Utility class of basic statistics.
- 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
-
This class provides methods for generating pseudorandom numbers from a Gaussian distribution using the Ziggurat Algorithm.
All Classes All Packages