A C D E F G I L M N O P R S T V

A

add(Matrix) - Method in class commonSense.math.linear.Matrix
Compute the sum of this and m.

C

clear() - Method in class commonSense.stat.basic.FirstMoment
 
clear() - Method in class commonSense.stat.basic.FourthMoment
 
clear() - Method in class commonSense.stat.basic.Mean
 
clear() - Method in class commonSense.stat.basic.SecondMoment
 
clear() - Method in class commonSense.stat.basic.ThirdMoment
 
clear() - Method in class commonSense.stat.basic.Variances
 
columnMeans() - Method in class commonSense.math.linear.Matrix
Gives the means of each colums of the matrix.
commonSense.math.linear - package commonSense.math.linear
 
commonSense.stat - package commonSense.stat
 
commonSense.stat.basic - package commonSense.stat.basic
 
copy() - Method in class commonSense.math.linear.Matrix
Create a new Matrix which is a copy of this.
correl(Matrix, int) - Static method in class commonSense.math.linear.SpecialMatrices
Calculates the correlation matrix based on the input matrix.
correl(Matrix) - Static method in class commonSense.math.linear.SpecialMatrices
Calculates the correlation matrix based on a pre-computed covariance matrix of any type.
covar(Matrix, int) - Static method in class commonSense.math.linear.SpecialMatrices
Calculates the covariance matrix of the specified type.
covar(Matrix) - Static method in class commonSense.math.linear.SpecialMatrices
Calculates the standard sample (co-)variance matrix in with n = N - 1 in which N is the number of rows in the matrix.

D

Distances - class commonSense.math.linear.Distances.
 
dev - Variable in class commonSense.stat.basic.FirstMoment
Deviation of most recently added value from previous first moment.
differenceByColumnMeans(Matrix) - Static method in class commonSense.math.linear.SpecialMatrices
Gives the difference matrix with the means calculated by Columns.
differenceByRowMeans(Matrix) - Static method in class commonSense.math.linear.SpecialMatrices
Gives the difference matrix with the means calculated by row.

E

euclidean(Matrix) - Static method in class commonSense.math.linear.Distances
Calculates the euclidean distance of a sample, and returns the non-squared distance.
evaluate(double[], int, int) - Method in class commonSense.stat.basic.Mean
Returns the arithmetic mean of the entries in the specified portion of the input array, or Double.NaN if the designated subarray is empty.
evaluate(double[]) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the input array, or Double.NaN if the array is empty.
evaluate(double[], int, int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the specified portion of the input array, or Double.NaN if the designated subarray is empty.
evaluate(double[], double, int, int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the specified portion of the input array, using the precomputed mean value.
evaluate(double[], double) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the input array, using the precomputed mean value.
evaluate(double[], int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the input array, or Double.NaN if the array is empty.
evaluate(double[], int, int, int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the specified portion of the input array, or Double.NaN if the designated subarray is empty.
evaluate(double[], double, int, int, int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the specified portion of the input array, using the precomputed mean value.
evaluate(double[], double, int) - Method in class commonSense.stat.basic.Variances
Returns the variance of the entries in the input array, using the precomputed mean value.

F

FirstMoment - class commonSense.stat.basic.FirstMoment.
Computes the first moment (arithmetic mean).
FirstMoment() - Constructor for class commonSense.stat.basic.FirstMoment
Create a FirstMoment instance
FourthMoment - class commonSense.stat.basic.FourthMoment.
Computes a statistic related to the Fourth Central Moment.
FourthMoment() - Constructor for class commonSense.stat.basic.FourthMoment
Create a FourthMoment instance

G

getColumn(int) - Method in class commonSense.math.linear.Matrix
Returns the entries in column number col as an array.
getColumnDimension() - Method in class commonSense.math.linear.Matrix
 
getColumnMatrix(int) - Method in class commonSense.math.linear.Matrix
Returns the entries in column number col as a Matrix object.
getData() - Method in class commonSense.math.linear.Matrix
Returns matrix entries as a two-dimensional array.
getDataRef() - Method in class commonSense.math.linear.Matrix
Returns a reference to the underlying data array.
getDeterminant() - Method in class commonSense.math.linear.Matrix
 
getEntry(int, int) - Method in class commonSense.math.linear.Matrix
Returns the entry in the specified row and column.
getIdentity(int) - Method in class commonSense.math.linear.Matrix
Returns dimension x dimension identity matrix.
getLUMatrix() - Method in class commonSense.math.linear.Matrix
Returns the LU decomposition as a Matrix.
getN() - Method in class commonSense.stat.basic.FirstMoment
 
getN() - Method in class commonSense.stat.basic.Mean
 
getN() - Method in class commonSense.stat.basic.Variances
 
getNorm() - Method in class commonSense.math.linear.Matrix
 
getPermutation() - Method in class commonSense.math.linear.Matrix
Returns the permutation associated with the lu decomposition.
getResult() - Method in class commonSense.stat.basic.FirstMoment
 
getResult() - Method in class commonSense.stat.basic.FourthMoment
 
getResult() - Method in class commonSense.stat.basic.Mean
 
getResult() - Method in class commonSense.stat.basic.SecondMoment
 
getResult() - Method in class commonSense.stat.basic.ThirdMoment
 
getResult(int) - Method in class commonSense.stat.basic.Variances
Gives back the variance of the specified type.
getResult() - Method in class commonSense.stat.basic.Variances
Gives back the sample variance.
getRow(int) - Method in class commonSense.math.linear.Matrix
Returns the entries in row number row as an array.
getRowDimension() - Method in class commonSense.math.linear.Matrix
 
getRowMatrix(int) - Method in class commonSense.math.linear.Matrix
Returns the entries in row number row as a Matrix object.
getSubMatrix(int, int, int, int) - Method in class commonSense.math.linear.Matrix
Get a submatrix.
getSubMatrix(int[], int[]) - Method in class commonSense.math.linear.Matrix
Get a submatrix.
getSubMatrix(int, int, int[]) - Method in class commonSense.math.linear.Matrix
Get a submatrix.
getSubMatrix(int[], int, int) - Method in class commonSense.math.linear.Matrix
Get a submatrix.
getTrace() - Method in class commonSense.math.linear.Matrix
 

I

incMoment - Variable in class commonSense.stat.basic.Mean
Determines whether or not this statistic can be incremented or cleared.
incMoment - Variable in class commonSense.stat.basic.Variances
Boolean test to determine if this Variance should also increment the second moment, this evaluates to false when this Variance is constructed with an external SecondMoment as a parameter.
increment(double) - Method in class commonSense.stat.basic.FirstMoment
 
increment(double) - Method in class commonSense.stat.basic.FourthMoment
 
increment(double) - Method in class commonSense.stat.basic.Mean
 
increment(double) - Method in class commonSense.stat.basic.SecondMoment
 
increment(double) - Method in class commonSense.stat.basic.ThirdMoment
 
increment(double) - Method in class commonSense.stat.basic.Variances
 
inverse() - Method in class commonSense.math.linear.Matrix
Returns the inverse matrix if this matrix is invertible.
isSingular() - Method in class commonSense.math.linear.Matrix
 
isSquare() - Method in class commonSense.math.linear.Matrix
 

L

LEAST_SQUARES - Static variable in interface commonSense.stat.RegressionTypes
This type represents the Least Squares regression.
LS - Static variable in interface commonSense.stat.RegressionTypes
This type represents the Least Squares regression.
luDecompose() - Method in class commonSense.math.linear.Matrix
Computes a new LU decompostion for this matrix, storing the result for use by other methods.

M

MA - Static variable in interface commonSense.stat.RegressionTypes
This type represents the Major Axis regression.
Matrix - class commonSense.math.linear.Matrix.
This class is based on the Apache.org commons.math package, of to be precise: RleaMatrixImpl
Differences with that class are: "0-based" in stead of "1-based" indexing.
Matrix() - Constructor for class commonSense.math.linear.Matrix
Creates a matrix with no data
Matrix(int, int) - Constructor for class commonSense.math.linear.Matrix
Create a new Matrix with the supplied row and column dimensions.
Matrix(double[][]) - Constructor for class commonSense.math.linear.Matrix
Create a new Matrix using the data as the underlying data array.
Matrix(double[]) - Constructor for class commonSense.math.linear.Matrix
Create a new (column) Matrix using v as the data for the unique column of the v.length x 1 matrix created.
Mean - class commonSense.stat.basic.Mean.
Returns the arithmetic mean of the available values.
Mean() - Constructor for class commonSense.stat.basic.Mean
Constructs a Mean.
Mean(FirstMoment) - Constructor for class commonSense.stat.basic.Mean
Constructs a Mean with an External Moment.
m1 - Variable in class commonSense.stat.basic.FirstMoment
First moment of values that have been added
m2 - Variable in class commonSense.stat.basic.SecondMoment
second moment of values that have been added
m3 - Variable in class commonSense.stat.basic.ThirdMoment
third moment of values that have been added
m4 - Variable in class commonSense.stat.basic.FourthMoment
fourth moment of values that have been added
mahalanobis(Matrix, Matrix) - Static method in class commonSense.math.linear.Distances
Calculates the mahalanobis distance of a sample, and returns the non-squared distance.
mahalanobis(Matrix) - Static method in class commonSense.math.linear.Distances
Calculates the mahalanobis distance of a sample, and returns the non-squared distance.
moment - Variable in class commonSense.stat.basic.Mean
First moment on which this statistic is based.
moment - Variable in class commonSense.stat.basic.Variances
SecondMoment is used in incremental calculation of Variance
multiply(Matrix) - Method in class commonSense.math.linear.Matrix
Returns the result of postmultiplying this by m.

N

n - Variable in class commonSense.stat.basic.FirstMoment
Count of values that have been added
nDev - Variable in class commonSense.stat.basic.FirstMoment
Deviation of most recently added value from previous first moment, normalized by previous sample size.
nDevSq - Variable in class commonSense.stat.basic.ThirdMoment
Square of deviation of most recently added value from previous first moment, normalized by previous sample size.

O

operate(double[]) - Method in class commonSense.math.linear.Matrix
 

P

POPULATION - Static variable in interface commonSense.stat.VarianceTypes
This type represents the uncorrected (biased) (co-)variance type in which n = N.
preMultiply(Matrix) - Method in class commonSense.math.linear.Matrix
Returns the result premultiplying this by m.
preMultiply(double[]) - Method in class commonSense.math.linear.Matrix
 

R

RMA - Static variable in interface commonSense.stat.RegressionTypes
This type represents the Reduced Major Axis regression.
RegressionTypes - interface commonSense.stat.RegressionTypes.
 
rowMeans() - Method in class commonSense.math.linear.Matrix
Gives the means of each row of the matrix.

S

SAMPLE - Static variable in interface commonSense.stat.VarianceTypes
This type represents the corrected (unbiased) (co-)variance type in which n = N - 1.
SSCP(Matrix) - Static method in class commonSense.math.linear.SpecialMatrices
Calculates a SSCP (Sum-of-Squares-Cross-Product) matrix.
SecondMoment - class commonSense.stat.basic.SecondMoment.
Computes a statistic related to the Second Central Moment.
SecondMoment() - Constructor for class commonSense.stat.basic.SecondMoment
Create a SecondMoment instance
SpecialMatrices - class commonSense.math.linear.SpecialMatrices.
This class is the home of several special type matrices.
scalarAdd(double) - Method in class commonSense.math.linear.Matrix
Returns the result of adding d to each entry of this.
scalarMultiply(double) - Method in class commonSense.math.linear.Matrix
Returns the result multiplying each entry of this by d
setData(double[][]) - Method in class commonSense.math.linear.Matrix
Overwrites the underlying data for the matrix with a fresh copy of inData.
setDataRef(double[][]) - Method in class commonSense.math.linear.Matrix
Overwrites the underlying data for the matrix with a reference to inData.
setEntry(int, int, double) - Method in class commonSense.math.linear.Matrix
Sets the entry in the specified row and column to the specified value.
solve(double[]) - Method in class commonSense.math.linear.Matrix
Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
solve(Matrix) - Method in class commonSense.math.linear.Matrix
Returns a matrix of (column) solution vectors for linear systems with coefficient matrix = this and constant vectors = columns of b.
subtract(Matrix) - Method in class commonSense.math.linear.Matrix
Compute this minus m.

T

TOO_SMALL - Static variable in class commonSense.math.linear.Matrix
Bound to determine effective singularity in LU decomposition
ThirdMoment - class commonSense.stat.basic.ThirdMoment.
Computes a statistic related to the Third Central Moment.
ThirdMoment() - Constructor for class commonSense.stat.basic.ThirdMoment
Create a ThirdMoment instance
toSquareString() - Method in class commonSense.math.linear.Matrix
 
toString() - Method in class commonSense.math.linear.Matrix
 
transpose() - Method in class commonSense.math.linear.Matrix
Returns the transpose matrix.

V

VarianceTypes - interface commonSense.stat.VarianceTypes.
This interface defines the two commonly used types of variances, population and sample.
Variances - class commonSense.stat.basic.Variances.
Computes the variance for a specific type VarianceTypes.
Variances() - Constructor for class commonSense.stat.basic.Variances
Constructs a Variance.
Variances(SecondMoment) - Constructor for class commonSense.stat.basic.Variances
Constructs a Variance based on an external second moment.

A C D E F G I L M N O P R S T V

RealJ version 3.5 2001. www.realj.com