Package | Description |
---|---|
com.oceanoptics.spam.numericalmethods |
Modifier and Type | Method and Description |
---|---|
static Matrix |
LinearRegression.computeLinearRegression(Matrix X,
Matrix Y)
Given an m by n matrix X and an m by 1 matrix Y, use the Gauss-Markov
method to compute polynomial coefficients.
|
Matrix |
Matrix.getDuplicate()
Returns a duplicate, seperate object, copy of this
Matrix . |
static Matrix |
Matrix.getIdentityMatrix(int rows,
int cols)
Generates an m-by-n identity matrix with ones on the diagonal and zeros
elsewhere.
|
Matrix |
Matrix.getInverse()
Returns the inverse of this
Matrix if this Matrix
is not singular. |
Matrix |
LUDecomposition.getL()
Returns the lower triangular matrix that is created by storing a
representative of each elementary row operation.
|
Matrix |
Matrix.getSubMatrix(int startRow,
int endRow,
int startCol,
int endCol)
Returns the submatrix formed by selecting the given rows and columns of
this
Matrix . |
Matrix |
Matrix.getSubMatrixByRows(int[] rows,
int startCol,
int endCol)
Returns the submatrix formed by selecting the given rows and columns of
this
Matrix . |
Matrix |
Matrix.getTranspose()
Returns the transpose of a matrix.
|
Matrix |
LUDecomposition.getU()
Returns the upper triangular matrix that resulted from reducing the
original matrix into row echelon form by way of elementary row
operations(excluding row interchange).
|
Matrix |
Matrix.minusMatrix(Matrix that)
Subtracts the given
Matrix from this Matrix . |
Matrix |
Matrix.plusMatrix(Matrix that)
Adds two Matricies together.
|
Matrix |
LUDecomposition.solveForMatrix(Matrix B)
If the instance is A and the argument is B, solve for X in the expression
A*X = B.
|
Matrix |
Matrix.timesMatrix(Matrix that)
This method performs linear algebraic matrix multiplication,
this
Matrix * that Matrix . |
Matrix |
Matrix.timesScalar(double scalar)
Multiplies this
Matrix by a scalar. |
Modifier and Type | Method and Description |
---|---|
static double[] |
LinearRegression.computeLinearRegression(Matrix X,
double[] knownY)
Given an m by n matrix X and known y value, use the Gauss-Markov
method to compute polynomial coefficients.
|
static Matrix |
LinearRegression.computeLinearRegression(Matrix X,
Matrix Y)
Given an m by n matrix X and an m by 1 matrix Y, use the Gauss-Markov
method to compute polynomial coefficients.
|
protected boolean |
Matrix.doDimensionsMatch(Matrix that)
This method compares two
Matrix dimensions and returns
true if the dimensions match, and false if they do not. |
Matrix |
Matrix.minusMatrix(Matrix that)
Subtracts the given
Matrix from this Matrix . |
Matrix |
Matrix.plusMatrix(Matrix that)
Adds two Matricies together.
|
Matrix |
LUDecomposition.solveForMatrix(Matrix B)
If the instance is A and the argument is B, solve for X in the expression
A*X = B.
|
protected void |
Matrix.throwDimensionException(Matrix that)
This method is a helper method that throws an IllegalArgumentException
if the dimensions of the array dimensions do not match.
|
Matrix |
Matrix.timesMatrix(Matrix that)
This method performs linear algebraic matrix multiplication,
this
Matrix * that Matrix . |
Constructor and Description |
---|
LUDecomposition(Matrix matrix)
Creates a new instance of LUDecomposition.
|
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.