Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

add(double[][], double) - Static method in class org.math.array.DoubleArray
Adds a single value to a matrix, e.g. adds the constant value a to all element of the matrix M.
add(double[][], double[][]) - Static method in class org.math.array.DoubleArray
Adds a matrix to another matrix, which should be of the same dimension.
AUTO_BOUNDS - Static variable in class org.math.array.util.Slicing
 

B

beta(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a beta random variable.
BIG_PRIME - Static variable in class edu.cornell.lassp.houle.RngPack.Ranmar
The 46,009,220nd prime number, he largest prime less than 9*108.
buildXY(double, double, double[]) - Static method in class org.math.array.DoubleArray
Generate a two column matrix.
buildXY(double[], double[]) - Static method in class org.math.array.DoubleArray
Join two arrays into a matrix.

C

cauchy(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a Cauchy random variable (Mean = Inf, and Variance = Inf).
checkColumnDimension(double[][], int) - Static method in class org.math.array.DoubleArray
Checks to make sure each row of a matrix is of a specified dimension.
checkLength(double[], int) - Static method in class org.math.array.DoubleArray
Checks to make sure an array is of a specified length.
checkRowDimension(double[][], int) - Static method in class org.math.array.DoubleArray
Checks to make sure each column of a matrix is of a specified dimension.
chi2(int) - Static method in class org.math.array.util.Random
Generate a random number from a Chi-2 random variable.
cholesky(double[][]) - Static method in class org.math.array.LinearAlgebra
 
choose(int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
choose(int, int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
choose(int, int) - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Wrapped so generators can override.
ClockSeed(Date) - Static method in class edu.cornell.lassp.houle.RngPack.RandomSeedable
Return a long integer seed given a date
ClockSeed() - Static method in class edu.cornell.lassp.houle.RngPack.RandomSeedable
Return a long integer seed calculated from the date.
clone() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
coin() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
coin(double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
columnVector(double[]) - Static method in class org.math.array.DoubleArray
Converts an n element array into an n x 1 matrix.
cond(double[][]) - Static method in class org.math.array.LinearAlgebra
 
copy(double[]) - Static method in class org.math.array.DoubleArray
Generate a copy of an array
copy(double[][]) - Static method in class org.math.array.DoubleArray
Generate a copy of a matrix
copy(int[]) - Static method in class org.math.array.IntegerArray
Generate a copy of an array
copy(int[][]) - Static method in class org.math.array.IntegerArray
Generate a copy of a matrix
correlation(double[], double[]) - Static method in class org.math.array.StatisticSample
 
correlation(double[][], double[][]) - Static method in class org.math.array.StatisticSample
 
correlation(double[][]) - Static method in class org.math.array.StatisticSample
 
covariance(double[], double[]) - Static method in class org.math.array.StatisticSample
 
covariance(double[][], double[][]) - Static method in class org.math.array.StatisticSample
 
covariance(double[][]) - Static method in class org.math.array.StatisticSample
 
cumProduct(double[]) - Static method in class org.math.array.DoubleArray
Calculates cumulative product of the values in an array.
cumProduct(double[][]) - Static method in class org.math.array.DoubleArray
Calculates the cumulative product of each column in a matrix.
cumProduct(int[]) - Static method in class org.math.array.IntegerArray
Calculates cumulative product of the values in an array.
cumProduct(int[][]) - Static method in class org.math.array.IntegerArray
Calculates the cumulative product of each column in a matrix.
cumSum(double[]) - Static method in class org.math.array.DoubleArray
Calculates the cumulative sum of an array.
cumSum(double[][]) - Static method in class org.math.array.DoubleArray
Calculates the cumulative sum of each column in a matrix.
cumSum(int[]) - Static method in class org.math.array.IntegerArray
Calculates the cumulative sum of an array.
cumSum(int[][]) - Static method in class org.math.array.IntegerArray
Calculates the cumulative sum of each column in a matrix.

D

DEFSEED - Static variable in class edu.cornell.lassp.houle.RngPack.Ranmar
Default seed.
DEFSEED1 - Static variable in class edu.cornell.lassp.houle.RngPack.Ranecu
default iseed1 = 12345
DEFSEED2 - Static variable in class edu.cornell.lassp.houle.RngPack.Ranecu
default iseed2 = 67890
delete(double[], int...) - Static method in class org.math.array.DoubleArray
Delete a list of elements from an array.
delete(int[], int...) - Static method in class org.math.array.IntegerArray
Delete a list of elements from an array.
deleteColumns(double[][], int...) - Static method in class org.math.array.DoubleArray
Deletes a list of columns from a matrix.
deleteColumns(int[][], int...) - Static method in class org.math.array.IntegerArray
Deletes a list of columns from a matrix.
deleteColumnsRange(double[][], int, int) - Static method in class org.math.array.DoubleArray
Deletes a range of columns from a matrix.
deleteColumnsRange(int[][], int, int) - Static method in class org.math.array.IntegerArray
Deletes a range of columns from a matrix.
deleteRange(double[], int, int) - Static method in class org.math.array.DoubleArray
Delete a range of elements from an array.
deleteRange(int[], int, int) - Static method in class org.math.array.IntegerArray
Delete a range of elements from an array.
deleteRows(double[][], int...) - Static method in class org.math.array.DoubleArray
Deletes a list of rows from a matrix.
deleteRows(int[][], int...) - Static method in class org.math.array.IntegerArray
Deletes a list of rows from a matrix.
deleteRowsRange(double[][], int, int) - Static method in class org.math.array.DoubleArray
Deletes a range of rows from a matrix.
deleteRowsRange(int[][], int, int) - Static method in class org.math.array.IntegerArray
Deletes a range of rows from a matrix.
det(double[][]) - Static method in class org.math.array.LinearAlgebra
 
diagonal(int, double) - Static method in class org.math.array.DoubleArray
Returns an m x m matrix. result has constants along the diagonal and zeros everywhere else.
diagonal(double...) - Static method in class org.math.array.DoubleArray
Returns an m x m matrix. result has specified values along the diagonal and zeros everywhere else.
diagonal(int, int) - Static method in class org.math.array.IntegerArray
Returns an m x m matrix. result has constants along the diagonal and zeros everywhere else.
dirac(double[], double[]) - Static method in class org.math.array.util.Random
Generate a random number from a discrete random variable.
divide(double[], double[]) - Static method in class org.math.array.LinearAlgebra
Element-wise ratio of two arrays.
divide(double[], double) - Static method in class org.math.array.LinearAlgebra
Divide each element of an array by a scalar.
divide(double[][], double) - Static method in class org.math.array.LinearAlgebra
Divide each element of a matrix by a scalar
divide(double[][], double[]...) - Static method in class org.math.array.LinearAlgebra
 
divideLU(double[][], double[]...) - Static method in class org.math.array.LinearAlgebra
 
divideQR(double[][], double[]...) - Static method in class org.math.array.LinearAlgebra
 
DoubleArray - Class in org.math.array
A class for dealing with double arrays and matrices.
DoubleArray() - Constructor for class org.math.array.DoubleArray
 

E

edu.cornell.lassp.houle.RngPack - package edu.cornell.lassp.houle.RngPack
 
eigen(double[][]) - Static method in class org.math.array.LinearAlgebra
 
exponential(double) - Static method in class org.math.array.util.Random
Generate a random number from an exponantial random variable (Mean = 1/lambda, variance = 1/lambda^2).

F

f(double[][], Function) - Static method in class org.math.array.DoubleArray
Apply a scalar function to every element of an array.
f(double[], Function) - Static method in class org.math.array.DoubleArray
Apply a scalar function to every element of an array.
f(double) - Method in interface org.math.array.util.Function
 
fi(int) - Method in interface org.math.array.util.IndexFunction
 
fill(int, int, double) - Static method in class org.math.array.DoubleArray
Fills an m x n matrix of doubles with constant c.
fill(int, double) - Static method in class org.math.array.DoubleArray
Provides an m element array filled with constant c.
fill(int, int, int) - Static method in class org.math.array.IntegerArray
Returns an mxn matrix of constants
fill(int, int) - Static method in class org.math.array.IntegerArray
Generates an m point array of constants
findex(int, IndexFunction) - Static method in class org.math.array.DoubleArray
Provides a sequence of values to which some function has been applied.
findSlice(double[]) - Method in class org.math.array.util.Slicing
 
floor(double[][]) - Static method in class org.math.array.IntegerArray
Truncates each double value in a matrix to an integer that is less than or equal to the double.
floor(double[]) - Static method in class org.math.array.IntegerArray
Truncates each double value in an array to an integer that is less than or equal to the double.
Function - Interface in org.math.array.util
BSD License

G

gaussian() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
gaussian() uses the Box-Muller algorithm to transform raw()'s into gaussian deviates.
gaussian(double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
gaussian() - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Must be synchronized because state is stored in BMoutput
getColumnCopy(double[][], int) - Static method in class org.math.array.DoubleArray
Extract one column from a matrix.
getColumnCopy(double[][][], int, int) - Static method in class org.math.array.DoubleArray
Extract one column from a three dimensional array.
getColumnCopy(int[][], int) - Static method in class org.math.array.IntegerArray
Extract one column from a matrix.
getColumnCopy(int[][][], int, int) - Static method in class org.math.array.IntegerArray
Extract one column from a three dimensional array.
getColumnDimension(double[][], int) - Static method in class org.math.array.DoubleArray
Get the number of columns in a specified row of a matrix.
getColumnDimension(int[][], int) - Static method in class org.math.array.IntegerArray
Get the number of columns in a specified row of a matrix.
getColumnsCopy(double[][], int...) - Static method in class org.math.array.DoubleArray
Extract specific columns from a matrix.
getColumnsCopy(int[][], int...) - Static method in class org.math.array.IntegerArray
Extract specific columns from a matrix.
getColumnsRangeCopy(double[][], int, int) - Static method in class org.math.array.DoubleArray
Extract a range of columns from a matrix.
getColumnsRangeCopy(int[][], int, int) - Static method in class org.math.array.IntegerArray
Extract a range of columns from a matrix.
getCopy(double[], int...) - Static method in class org.math.array.DoubleArray
Extract specific elements from an array.
getCopy(int[], int...) - Static method in class org.math.array.IntegerArray
Extract specific elements from an array.
getDiagonal(double[][], int) - Static method in class org.math.array.DoubleArray
Extract diagonal from a matrix.
getDiagonal(int[][], int) - Static method in class org.math.array.IntegerArray
Extract diagonal from a matrix.
getIndex(int) - Method in class org.math.array.util.Sorting
Get the ascending order of one line.
getIndex() - Method in class org.math.array.util.Sorting
Get the ascending order of all lines.
getRangeCopy(double[], int, int) - Static method in class org.math.array.DoubleArray
Extract a section of an array.
getRangeCopy(int[], int, int) - Static method in class org.math.array.IntegerArray
Extract a section of an array.
getRowCopy(double[][], int) - Static method in class org.math.array.DoubleArray
Extract a row from a matrix.
getRowCopy(int[][], int) - Static method in class org.math.array.IntegerArray
Extract a row from a matrix.
getRowsCopy(double[][], int...) - Static method in class org.math.array.DoubleArray
Extract specific rows from a matrix.
getRowsCopy(int[][], int...) - Static method in class org.math.array.IntegerArray
Extract specific rows from a matrix.
getRowsRangeCopy(double[][], int, int) - Static method in class org.math.array.DoubleArray
Extract a range of rows from a matrix.
getRowsRangeCopy(int[][], int, int) - Static method in class org.math.array.IntegerArray
Extract a range of rows from a matrix.
getSeed() - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
 
getSlicesCardinals() - Method in class org.math.array.util.Slicing
 
getSlicesCenters() - Method in class org.math.array.util.Slicing
 
getSlicesIndexes() - Method in class org.math.array.util.Slicing
 
getSlicesWidths() - Method in class org.math.array.util.Slicing
 
getSlicingMatrix() - Method in class org.math.array.util.Slicing
 
getSubMatrixRangeCopy(double[][], int, int, int, int) - Static method in class org.math.array.DoubleArray
Carve out a submatrix from the input matrix and return a copy.
getSubMatrixRangeCopy(int[][], int, int, int, int) - Static method in class org.math.array.IntegerArray
Carve out a submatrix from the input matrix and return a copy.

H

histogram(double[], double[]) - Static method in class org.math.array.StatisticSample
 
histogram(double[], double, double, int) - Static method in class org.math.array.StatisticSample
 
histogram(double[], int) - Static method in class org.math.array.StatisticSample
 
histogram_classes(double[], double[]) - Static method in class org.math.array.StatisticSample
 
histogram_classes(double[], double, double, int) - Static method in class org.math.array.StatisticSample
 
histogram_classes(double[], int) - Static method in class org.math.array.StatisticSample
 

I

identity(int) - Static method in class org.math.array.DoubleArray
Generates an m x m identity matrix.
increment(int, int, double, double) - Static method in class org.math.array.DoubleArray
Provides an mxn matrix.
increment(int, double, double) - Static method in class org.math.array.DoubleArray
Provides a sequence of successive values in an array. e.g. increment(4, 3, 2) = {3,5,7,9}
increment(int, int, double[], double[]) - Static method in class org.math.array.DoubleArray
Generates an mxn matrix.
increment(double, double, double) - Static method in class org.math.array.DoubleArray
Generates an array of successive values from begin to end with step size pitch.
IndexFunction - Interface in org.math.array.util
BSD License
insert(double[], int, double...) - Static method in class org.math.array.DoubleArray
Insert any number of values, or a single array, between 2 elements of an array.
insert(int[], int, int...) - Static method in class org.math.array.IntegerArray
Insert any number of values, or a single array, between 2 elements of an array.
insertColumns(double[][], int, double[]...) - Static method in class org.math.array.DoubleArray
Insert any number of arrays between 2 columns of a matrix.
insertColumns(int[][], int, int[]...) - Static method in class org.math.array.IntegerArray
Insert any number of arrays between 2 columns of a matrix.
insertRows(double[][], int, double[]...) - Static method in class org.math.array.DoubleArray
Insert any number of arrays between 2 rows of a matrix.
insertRows(int[][], int, int[]...) - Static method in class org.math.array.IntegerArray
Insert any number of arrays between 2 rows of a matrix.
int2double(int[][]) - Static method in class org.math.array.IntegerArray
Converts each element in an integer matrix to a double
int2double(int[]) - Static method in class org.math.array.IntegerArray
Converts each element in an integer array to a double
IntegerArray - Class in org.math.array
A collection of static methods for generating, modifying, and reading arrays and matrices of integers.
IntegerArray() - Constructor for class org.math.array.IntegerArray
 
inverse(double[][]) - Static method in class org.math.array.LinearAlgebra
 
inverseLU(double[][]) - Static method in class org.math.array.LinearAlgebra
 
inverseQR(double[][]) - Static method in class org.math.array.LinearAlgebra
 
invertIndex(int[]) - Static method in class org.math.array.util.Sorting
 
isColumnDimension(double[][], int) - Static method in class org.math.array.DoubleArray
Same as checkColumnDimension() but just returns a boolean value rather than throwing an exception.
isLength(double[], int) - Static method in class org.math.array.DoubleArray
Same as checkLength but returns a boolean value rather than throwing an exception.
isRowDimension(double[][], int) - Static method in class org.math.array.DoubleArray
Same as checkRowDimension() but just returns a boolean value rather than throwing an exception.

L

LinearAlgebra - Class in org.math.array
A collection of static methods for performing math operations on matrices and arrays.
LinearAlgebra() - Constructor for class org.math.array.LinearAlgebra
 
logNormal(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a LogNormal random variable.
LU(double[][]) - Static method in class org.math.array.LinearAlgebra
 
lxdflt - Static variable in class edu.cornell.lassp.houle.RngPack.Ranlux
Default luxury level: lxdflt=3

M

main(String[]) - Static method in class edu.cornell.lassp.houle.RngPack.RandomApp
 
main(String[]) - Static method in class org.math.array.DoubleArray
 
main(String[]) - Static method in class org.math.array.util.Slicing
 
main(String[]) - Static method in class org.math.array.util.Sorting
 
max(double[][]) - Static method in class org.math.array.DoubleArray
Finds the maximum value in each column of a matrix.
max(double...) - Static method in class org.math.array.DoubleArray
Finds maximum value in either a list of numbers or a single array.
max(int[][]) - Static method in class org.math.array.IntegerArray
Finds the maximum value in each column of a matrix.
max(int...) - Static method in class org.math.array.IntegerArray
Finds maximum value in either a list of numbers or a single array.
maxIndex(double[][]) - Static method in class org.math.array.DoubleArray
Finds the indices of the minimum values in each column of a matrix.
maxIndex(double...) - Static method in class org.math.array.DoubleArray
Finds the index of the maximum value in a list of values or an array.
maxIndex(int[][]) - Static method in class org.math.array.IntegerArray
Finds the indices of the maximum values in each column of a matrix.
maxIndex(int...) - Static method in class org.math.array.IntegerArray
Finds the index of the maximum value in a list of values or an array.
maxlev - Static variable in class edu.cornell.lassp.houle.RngPack.Ranlux
Maximum luxury level: maxlev=4
mean(double[]) - Static method in class org.math.array.StatisticSample
 
mean(double[][]) - Static method in class org.math.array.StatisticSample
 
merge(double[]...) - Static method in class org.math.array.DoubleArray
Concatenates arrays.
merge(int[]...) - Static method in class org.math.array.IntegerArray
Concatenates arrays.
mergeColumns(double[]...) - Static method in class org.math.array.DoubleArray
Combine a set of arrays into a matrix.
mergeColumns(int[]...) - Static method in class org.math.array.IntegerArray
Combine a set of arrays into a matrix.
mergeRows(double[]...) - Static method in class org.math.array.DoubleArray
Combine a set of arrays into a matrix.
mergeRows(int[]...) - Static method in class org.math.array.IntegerArray
Combine a set of arrays into a matrix.
min(double[][]) - Static method in class org.math.array.DoubleArray
Finds the minimum value in each column of a matrix.
min(double...) - Static method in class org.math.array.DoubleArray
Finds minimum value in either a list of numbers or a single array.
min(int[][]) - Static method in class org.math.array.IntegerArray
Finds the minimum value in each column of a matrix.
min(int...) - Static method in class org.math.array.IntegerArray
Finds minimum value in either a list of numbers or a single array.
minIndex(double[][]) - Static method in class org.math.array.DoubleArray
Finds the indices of the minimum values in each column of a matrix.
minIndex(double...) - Static method in class org.math.array.DoubleArray
Finds the index of the minumum value in a list of values or an array.
minIndex(int[][]) - Static method in class org.math.array.IntegerArray
Finds the indices of the minimum values in each column of a matrix.
minIndex(int...) - Static method in class org.math.array.IntegerArray
Finds the index of the minumum value in a list of values or an array.
minus(double[], double[]) - Static method in class org.math.array.LinearAlgebra
Element-wise subtraction of two arrays.
minus(double[], double) - Static method in class org.math.array.LinearAlgebra
Subtracts a scalar value from each element of an array
minus(double, double[]) - Static method in class org.math.array.LinearAlgebra
Subtracts each element of an array from a scalar value.
minus(double[][], double[][]) - Static method in class org.math.array.LinearAlgebra
Element-wise subtraction of two matrices.
minus(double[][], double) - Static method in class org.math.array.LinearAlgebra
Subtract a scalar from each element of a matrix.
minus(double, double[][]) - Static method in class org.math.array.LinearAlgebra
Subtract each element of a matrix from a scalar.

N

norm1(double[][]) - Static method in class org.math.array.LinearAlgebra
 
norm2(double[][]) - Static method in class org.math.array.LinearAlgebra
 
normal(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a Gaussian (Normal) random variable.
normF(double[][]) - Static method in class org.math.array.LinearAlgebra
 
normInf(double[][]) - Static method in class org.math.array.LinearAlgebra
 

O

one(int, int) - Static method in class org.math.array.DoubleArray
Deprecated.
use fill(int m, int n, 1.0) instead.
one(int, int, double) - Static method in class org.math.array.DoubleArray
Deprecated.
use fill(int m, int n, double c) instead.
one(int) - Static method in class org.math.array.DoubleArray
Deprecated.
use fill(int m, double c) instead.
one(int, double) - Static method in class org.math.array.DoubleArray
Deprecated.
Use fill(int m, double c) instead.
org.math.array - package org.math.array
 
org.math.array.util - package org.math.array.util
 

P

plus(double[]...) - Static method in class org.math.array.LinearAlgebra
Element-wise sum of any number of arrays.
plus(double[], double) - Static method in class org.math.array.LinearAlgebra
Add a scalar value to each element of an array.
plus(double[][], double[][]) - Static method in class org.math.array.LinearAlgebra
Element-wise sum of two matrices
plus(double[][], double) - Static method in class org.math.array.LinearAlgebra
Add a scalar to each element of a matrix.
powlaw(double, double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
generate a power-law distribution with exponent alpha and lower cutoff cut
product(double[]) - Static method in class org.math.array.DoubleArray
Calculates the product of the values in an array.
product(double[][]) - Static method in class org.math.array.DoubleArray
Calculates the product of the values in each column of a matrix.
product(int[]) - Static method in class org.math.array.IntegerArray
Calculates the product of the values in an array.
product(int[][]) - Static method in class org.math.array.IntegerArray
Calculates the product of the values in each column of a matrix.

Q

QR(double[][]) - Static method in class org.math.array.LinearAlgebra
 

R

raise(double[], double) - Static method in class org.math.array.LinearAlgebra
Raise each element of an array to a scalar power.
raise(double[][], double) - Static method in class org.math.array.LinearAlgebra
Raise each element of a matrix to a scalar power
RandEngine - Static variable in class org.math.array.util.Random
 
randInt(int, int) - Static method in class org.math.array.util.Random
Generate a random integer.
random(int, int) - Static method in class org.math.array.DoubleArray
Generates an m x n matrix of random numbers uniformly distributed between 0 and 1.
random(int) - Static method in class org.math.array.DoubleArray
Generates an m element array of random numbers uniformly distributed between 0 and 1.
random(int, int, double, double) - Static method in class org.math.array.DoubleArray
Generates an mxn matrix of random numbers uniformly distributed between min and max.
random(int, double, double) - Static method in class org.math.array.DoubleArray
Generates an m element array of random numbers uniformly distributed between min and max.
random(int, int, double[], double[]) - Static method in class org.math.array.DoubleArray
Generates an m x n matrix of random numbers uniformly distributed numbers.
Random - Class in org.math.array.util
BSD License
Random() - Constructor for class org.math.array.util.Random
 
RandomApp - Class in edu.cornell.lassp.houle.RngPack
RandomApp is a simple application that demonstrates the use of RngPack.
RandomApp() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomApp
 
randomBeta(int, int, double, double) - Static method in class org.math.array.StatisticSample
 
randomBeta(int, double, double) - Static method in class org.math.array.StatisticSample
 
randomCauchy(int, int, double, double) - Static method in class org.math.array.StatisticSample
 
randomCauchy(int, double, double) - Static method in class org.math.array.StatisticSample
 
randomChi2(int, int, int) - Static method in class org.math.array.StatisticSample
 
randomChi2(int, int) - Static method in class org.math.array.StatisticSample
 
randomDirac(int, int, double[], double[]) - Static method in class org.math.array.StatisticSample
 
randomDirac(int, double[], double[]) - Static method in class org.math.array.StatisticSample
 
RandomElement - Class in edu.cornell.lassp.houle.RngPack
RandomElement is an abstract class that encapsulates random number generators.
RandomElement() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomElement
 
randomExponential(int, int, double) - Static method in class org.math.array.StatisticSample
 
randomExponential(int, double) - Static method in class org.math.array.StatisticSample
 
randomInt(int, int, int, int) - Static method in class org.math.array.StatisticSample
Create an m x n matrix of uniformly distributed random numbers between two bounds.
randomInt(int, int, int) - Static method in class org.math.array.StatisticSample
Create an array of uniformly distributed random numbers between two bounds.
RandomJava - Class in edu.cornell.lassp.houle.RngPack
RandomJava is a class wrapper for the Math.random() generator that comes with Java.
RandomJava() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomJava
 
randomLogNormal(int, int, double, double) - Static method in class org.math.array.StatisticSample
 
randomLogNormal(int, double, double) - Static method in class org.math.array.StatisticSample
 
randomNormal(int, int, double, double) - Static method in class org.math.array.StatisticSample
Create an m x n matrix of normally (Gaussian) distributed random numbers.
randomNormal(int, double, double) - Static method in class org.math.array.StatisticSample
Create an array of normally (Gaussian) distributed random numbers.
randomRejection(int, int, Function, double, double, double) - Static method in class org.math.array.StatisticSample
 
randomRejection(int, Function, double, double, double) - Static method in class org.math.array.StatisticSample
 
RandomSeedable - Class in edu.cornell.lassp.houle.RngPack
RandomSeedable is an abstract class that extends the RandomElement class to include the ability to automatically generate a valid long seed from the clock.
RandomSeedable() - Constructor for class edu.cornell.lassp.houle.RngPack.RandomSeedable
 
RandomShuffle - Class in edu.cornell.lassp.houle.RngPack
RandomShuffle uses one random number generator to shuffle the numbers produced by another to obliterate sequential correlations.
RandomShuffle(RandomElement, RandomElement, int) - Constructor for class edu.cornell.lassp.houle.RngPack.RandomShuffle
 
RandomSynchronized - Class in edu.cornell.lassp.houle.RngPack
RandomSynchronized is a wrapper class that makes a random number generator safe for multi-threaded operation by serializing access in time.
RandomSynchronized(RandomElement) - Constructor for class edu.cornell.lassp.houle.RngPack.RandomSynchronized
 
randomTriangular(int, int, double, double) - Static method in class org.math.array.StatisticSample
 
randomTriangular(int, double, double) - Static method in class org.math.array.StatisticSample
 
randomTriangular(int, int, double, double, double) - Static method in class org.math.array.StatisticSample
 
randomTriangular(int, double, double, double) - Static method in class org.math.array.StatisticSample
 
randomUniform(int, int, double, double) - Static method in class org.math.array.StatisticSample
Create an m x n matrix of uniformly distributed random numbers between two bounds.
randomUniform(int, double, double) - Static method in class org.math.array.StatisticSample
Create an array of uniformly distributed random numbers between two bounds.
randomWeibull(int, int, double, double) - Static method in class org.math.array.StatisticSample
 
randomWeibull(int, double, double) - Static method in class org.math.array.StatisticSample
 
Ranecu - Class in edu.cornell.lassp.houle.RngPack
Ranecu is an advanced multiplicative linear congruential random number generator with a period of aproximately 1018.
Ranecu() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
Initialize RANECU with the default seeds from James.
Ranecu(int, int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
Initialize RANECU with two specified integer seeds.
Ranecu(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
 
Ranecu(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranecu
 
rank(double[][]) - Static method in class org.math.array.LinearAlgebra
 
Ranlux - Class in edu.cornell.lassp.houle.RngPack
RANLUX is an advanced pseudo-random number generator based on the RCARRY algorithm proposed in 1991 by Marsaglia and Zaman.
Ranlux() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Default initialization of RANLUX.
Ranlux(int, int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and seed.
Ranlux(int, long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and seed.
Ranlux(int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a specified seed.
Ranlux(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a specified seed.
Ranlux(int, Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with specified luxury level and a Date object.
Ranlux(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranlux
Initialize RANLUX with default luxury level and a Date object.
Ranmar - Class in edu.cornell.lassp.houle.RngPack
RANMAR is a lagged Fibonacci generator proposed by Marsaglia and Zaman and is a good research grade generator.
Ranmar(int) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a specified integer seed
Ranmar(long) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a specified long seed
Ranmar() - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Initialize Ranmar with a default seed taken from Marsaglia and Zaman's paper.
Ranmar(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.Ranmar
Seed RANMAR from the clock.
RanMT - Class in edu.cornell.lassp.houle.RngPack
Mersenne Twister -- advanced psuedorandom generator with a period of 219937-1 Source code is available.
RanMT() - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(long) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(Date) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
 
RanMT(int[]) - Constructor for class edu.cornell.lassp.houle.RngPack.RanMT
If a 32 bit seed isn't enough for you, you can pass an array of 624 integers.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
The abstract method that must be defined to make a working RandomElement.
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
Fill part or all of an array with doubles.
raw(double[]) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
Fill an entire array with doubles.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomJava
Wrapper for Math.random().
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomShuffle
The generator.
raw() - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
Synchronized the raw() method, which is generally not threadsafe.
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.RandomSynchronized
This method probably isn't threadsafe in implementations, so it's synchronized
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
 
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.Ranecu
This is an inline version that returns an array of doubles for speed.
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranlux
The random number generator.
raw() - Method in class edu.cornell.lassp.houle.RngPack.Ranmar
The generator
raw(double[], int) - Method in class edu.cornell.lassp.houle.RngPack.Ranmar
A version of the generator for filling arrays, inlined for speed
raw() - Method in class edu.cornell.lassp.houle.RngPack.RanMT
 
raw() - Static method in class org.math.array.util.Random
Generate a random number between 0 and 1.
rejection(Function, double, double, double) - Static method in class org.math.array.util.Random
Generate a random number from a random variable definied by its density function, using the rejection technic. !!!
resize(double[][], int, int) - Static method in class org.math.array.DoubleArray
Generate a resized copy of a matrix
rowVector(double[]) - Static method in class org.math.array.DoubleArray
Converts an n element array into an 1 x n matrix.

S

setDiag(boolean) - Method in class edu.cornell.lassp.houle.RngPack.Ranlux
Turns diagnostic messages on and off.
singular(double[][]) - Static method in class org.math.array.LinearAlgebra
 
Slicing - Class in org.math.array.util
BSD License
Slicing(double[][], int[], String) - Constructor for class org.math.array.util.Slicing
 
Slicing(double[][], double[][]) - Constructor for class org.math.array.util.Slicing
 
Slicing(double[][], double[][], double[][]) - Constructor for class org.math.array.util.Slicing
 
solve(double[][], double[][]) - Static method in class org.math.array.LinearAlgebra
 
solveTranspose(double[][], double[][]) - Static method in class org.math.array.LinearAlgebra
 
sort(double[]) - Static method in class org.math.array.DoubleArray
Sorts an array in ascending order.
sort(double[][], int) - Static method in class org.math.array.DoubleArray
Sorts the rows of a matrix using a specified column as the key.
Sorting - Class in org.math.array.util
Quick Sort algoritm.
Sorting(double[], boolean) - Constructor for class org.math.array.util.Sorting
Construct an ascending order.
StatisticSample - Class in org.math.array
 
StatisticSample() - Constructor for class org.math.array.StatisticSample
 
stddeviation(double[]) - Static method in class org.math.array.StatisticSample
 
stddeviation(double[][]) - Static method in class org.math.array.StatisticSample
 
sum(double[]) - Static method in class org.math.array.DoubleArray
Calculate the sum of the values in an array
sum(double[][]) - Static method in class org.math.array.DoubleArray
Calculates the sum of each column in a matrix.
sum(int[]) - Static method in class org.math.array.IntegerArray
Calculate the sum of the values in an array
sum(int[][]) - Static method in class org.math.array.IntegerArray
Calculates the sum of each column in a matrix.

T

throwError(String) - Static method in class org.math.array.DoubleArray
Throws an error exception if an argument is invalid.
times(double[]...) - Static method in class org.math.array.LinearAlgebra
Element-wise product of any number of arrays.
times(double[], double) - Static method in class org.math.array.LinearAlgebra
Multiply each element of an array by a scalar.
times(double[][], double) - Static method in class org.math.array.LinearAlgebra
Multiply each element in a matrix by a scalar
times(double[][], double[][]) - Static method in class org.math.array.LinearAlgebra
Matrix multiplication according to the rules of linear algebra.
times(double[][], double[]) - Static method in class org.math.array.LinearAlgebra
Product of a matrix and a vector (array) according to the rules of linear algebra.
toString(double[]...) - Static method in class org.math.array.DoubleArray
Generates a string that holds a nicely organized space-seperated version of a matrix or array.
toString(String, double[]...) - Static method in class org.math.array.DoubleArray
Generates a string that holds a nicely organized version of a matrix or array.
toString(int[]...) - Static method in class org.math.array.IntegerArray
Generates a string that holds a nicely organized version of a matrix or array.
toString(String, int[]...) - Static method in class org.math.array.IntegerArray
Generates a string that holds a nicely organized version of a matrix or array.
toString(String) - Method in class org.math.array.util.Slicing
 
trace(double[][]) - Static method in class org.math.array.LinearAlgebra
 
transpose(double[][]) - Static method in class org.math.array.DoubleArray
Transposes an mxn matrix into an nxm matrix.
transpose(int[][]) - Static method in class org.math.array.IntegerArray
Transposes an mxn matrix into an nxm matrix.
triangular(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a symetric triangular random variable.
triangular(double, double, double) - Static method in class org.math.array.util.Random
Generate a random number from a non-symetric triangular random variable.

U

uniform(double, double) - Method in class edu.cornell.lassp.houle.RngPack.RandomElement
 
uniform(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a uniform random variable.
UNIFORM_BOUNDS - Static variable in class org.math.array.util.Slicing
 

V

variance(double[]) - Static method in class org.math.array.StatisticSample
 
variance(double[][]) - Static method in class org.math.array.StatisticSample
 

W

weibull(double, double) - Static method in class org.math.array.util.Random
Generate a random number from a Weibull random variable.
A B C D E F G H I L M N O P Q R S T U V W 

Copyright © 2015. All rights reserved.