Modifier and Type | Method and Description |
---|---|
static Matrix |
MatrixMath.add(Matrix a,
Matrix b)
Add two matrixes.
|
Matrix |
Matrix.clone()
Create a copy of the matrix.
|
static Matrix |
Matrix.createColumnMatrix(double[] input)
Turn an array of doubles into a column matrix.
|
static Matrix |
Matrix.createRowMatrix(double[] input)
Turn an array of doubles into a row matrix.
|
static Matrix |
MatrixMath.deleteCol(Matrix matrix,
int deleted)
Delete one column from the matrix.
|
static Matrix |
MatrixMath.deleteRow(Matrix matrix,
int deleted)
Delete a row from the matrix.
|
static Matrix |
MatrixMath.divide(Matrix a,
double b)
Return a matrix with each cell divided by the specified value.
|
Matrix |
Matrix.getCol(int col)
Read one entire column from the matrix as a sub-matrix.
|
Matrix |
Matrix.getMatrix(int[] r,
int[] c)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int[] r,
int j0,
int j1)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int i0,
int i1,
int[] c)
Get a submatrix.
|
Matrix |
Matrix.getMatrix(int i0,
int i1,
int j0,
int j1)
Get a submatrix.
|
Matrix |
Matrix.getRow(int row)
Get the specified row as a sub-matrix.
|
static Matrix |
MatrixMath.identity(int size)
Return an identity matrix of the specified size.
|
Matrix |
Matrix.inverse() |
static Matrix |
MatrixMath.multiply(Matrix a,
double b)
Return the result of multiplying every cell in the matrix by the
specified value.
|
static Matrix |
MatrixMath.multiply(Matrix a,
Matrix b)
Return the product of the first and second matrix.
|
Matrix |
Matrix.solve(Matrix b)
Solve A*X = B.
|
static Matrix |
MatrixMath.subtract(Matrix a,
Matrix b)
Return the results of subtracting one matrix from another.
|
static Matrix |
MatrixMath.transpose(Matrix input)
Return the transposition of a matrix.
|
Modifier and Type | Method and Description |
---|---|
void |
Matrix.add(Matrix theMatrix)
Add the specified matrix to this matrix.
|
static Matrix |
MatrixMath.add(Matrix a,
Matrix b)
Add two matrixes.
|
static void |
MatrixMath.copy(Matrix source,
Matrix target)
Copy from one matrix to another.
|
static Matrix |
MatrixMath.deleteCol(Matrix matrix,
int deleted)
Delete one column from the matrix.
|
static Matrix |
MatrixMath.deleteRow(Matrix matrix,
int deleted)
Delete a row from the matrix.
|
static double |
MatrixMath.determinant(Matrix m) |
static Matrix |
MatrixMath.divide(Matrix a,
double b)
Return a matrix with each cell divided by the specified value.
|
static double |
MatrixMath.dotProduct(Matrix a,
Matrix b)
Compute the dot product for the two matrixes.
|
boolean |
Matrix.equals(Matrix theMatrix,
int precision)
Compare to matrixes with the specified level of precision.
|
static Matrix |
MatrixMath.multiply(Matrix a,
double b)
Return the result of multiplying every cell in the matrix by the
specified value.
|
static double[] |
MatrixMath.multiply(Matrix a,
double[] d) |
static Matrix |
MatrixMath.multiply(Matrix a,
Matrix b)
Return the product of the first and second matrix.
|
void |
Matrix.set(Matrix theMatrix)
Set this matrix's values to that of another matrix.
|
void |
Matrix.setMatrix(int[] r,
int[] c,
Matrix x)
Set a submatrix.
|
void |
Matrix.setMatrix(int[] r,
int j0,
int j1,
Matrix x)
Set a submatrix.
|
void |
Matrix.setMatrix(int i0,
int i1,
int[] c,
Matrix x)
Set a submatrix.
|
void |
Matrix.setMatrix(int i0,
int i1,
int j0,
int j1,
Matrix x)
Set a submatrix.
|
Matrix |
Matrix.solve(Matrix b)
Solve A*X = B.
|
static Matrix |
MatrixMath.subtract(Matrix a,
Matrix b)
Return the results of subtracting one matrix from another.
|
static Matrix |
MatrixMath.transpose(Matrix input)
Return the transposition of a matrix.
|
static double |
MatrixMath.vectorLength(Matrix input)
Calculate the length of a vector.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
EigenvalueDecomposition.getD()
Return the block diagonal eigenvalue matrix
|
Matrix |
QRDecomposition.getH()
Return the Householder vectors
|
Matrix |
CholeskyDecomposition.getL()
Return triangular factor.
|
Matrix |
LUDecomposition.getL()
Return lower triangular factor
|
Matrix |
QRDecomposition.getQ()
Generate and return the (economy-sized) orthogonal factor
|
Matrix |
QRDecomposition.getR()
Return the upper triangular factor
|
Matrix |
SingularValueDecomposition.getS()
Return the diagonal matrix of singular values
|
Matrix |
SingularValueDecomposition.getU()
Return the left singular vectors
|
Matrix |
LUDecomposition.getU()
Return upper triangular factor
|
Matrix |
SingularValueDecomposition.getV()
Return the right singular vectors
|
Matrix |
EigenvalueDecomposition.getV()
Return the eigenvector matrix.
|
Matrix |
CholeskyDecomposition.inverseCholesky() |
Matrix |
CholeskyDecomposition.solve(Matrix b)
Solve A*X = B.
|
Matrix |
LUDecomposition.solve(Matrix B)
Solve A*X = B
|
Matrix |
QRDecomposition.solve(Matrix B)
Least squares solution of A*X = B
|
Modifier and Type | Method and Description |
---|---|
Matrix |
CholeskyDecomposition.solve(Matrix b)
Solve A*X = B.
|
Matrix |
LUDecomposition.solve(Matrix B)
Solve A*X = B
|
Matrix |
QRDecomposition.solve(Matrix B)
Least squares solution of A*X = B
|
Constructor and Description |
---|
CholeskyDecomposition(Matrix matrix)
Cholesky algorithm for symmetric and positive definite matrix.
|
EigenvalueDecomposition(Matrix matrix)
Check for symmetry, then construct the eigenvalue decomposition Structure
to access D and V.
|
LUDecomposition(Matrix A)
LU Decomposition
Structure to access L, U and piv.
|
QRDecomposition(Matrix A)
QR Decomposition, computed by Householder reflections.
|
SingularValueDecomposition(Matrix Arg)
Construct the singular value decomposition
Structure to access U, S and V.
|
Modifier and Type | Field and Description |
---|---|
protected Matrix |
BasicHessian.hessianMatrix
The Hessian matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
ComputeHessian.getHessianMatrix() |
Matrix |
BasicHessian.getHessianMatrix() |
Modifier and Type | Method and Description |
---|---|
void |
BasicRandomizer.randomize(Matrix m)
Randomize the matrix based on an array, modify the array.
|
void |
FanInRandomizer.randomize(Matrix m)
Randomize the matrix based on an array, modify the array.
|
void |
NguyenWidrowRandomizer.randomize(Matrix m) |
void |
Randomizer.randomize(Matrix m)
Randomize the matrix based on an array, modify the array.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
GaussianFitting.getMu() |
Matrix |
GaussianFitting.getSigma() |
Modifier and Type | Method and Description |
---|---|
Matrix |
ContinousDistribution.getCovariance() |
Modifier and Type | Method and Description |
---|---|
Matrix |
ART1.getWeightsF1toF2() |
Matrix |
ART1.getWeightsF2toF1() |
Modifier and Type | Method and Description |
---|---|
void |
ART1.setWeightsF1toF2(Matrix matrix)
Set the f1 to f2 matrix.
|
void |
ART1.setWeightsF2toF1(Matrix matrix)
Set the f2 to f1 matrix.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
BAM.getWeightsF1toF2() |
Matrix |
BAM.getWeightsF2toF1() |
Modifier and Type | Method and Description |
---|---|
void |
BAM.setWeightsF1toF2(Matrix matrix)
Set the weights for F1 to F2.
|
void |
BAM.setWeightsF2toF1(Matrix matrix)
Set the weights for F2 to F1.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
CPN.getWeightsInputToInstar() |
Matrix |
CPN.getWeightsInstarToOutstar() |
Modifier and Type | Method and Description |
---|---|
Matrix |
SOM.getWeights() |
Modifier and Type | Method and Description |
---|---|
void |
SOM.setWeights(Matrix weights) |
Modifier and Type | Method and Description |
---|---|
double |
BestMatchingUnit.calculateEuclideanDistance(Matrix matrix,
MLData input,
int outputNeuron)
Calculate the Euclidean distance for the specified output neuron and the
input vector.
|
Modifier and Type | Method and Description |
---|---|
static Matrix |
EncogFileSection.parseMatrix(Map<String,String> params,
String name)
Parse a matrix from a name-value collection of params.
|
Modifier and Type | Method and Description |
---|---|
void |
EncogWriteHelper.writeProperty(String name,
Matrix matrix)
Write a matrix as a property.
|
Modifier and Type | Method and Description |
---|---|
static String |
DumpMatrix.dumpMatrix(Matrix matrix)
Dump a matrix to a string.
|
Copyright © 2014. All Rights Reserved.