public class MatrixOperation extends Object
| 构造器和说明 |
|---|
MatrixOperation() |
MatrixOperation(int coreNumber) |
| 限定符和类型 | 方法和说明 |
|---|---|
Matrix |
add(Matrix matrix1,
Matrix matrix2) |
Matrix |
adjointMatrix(Matrix matrix) |
double |
algebraicCofactor(Matrix matrix,
int row,
int column) |
void |
center(Matrix matrix) |
double |
convolution(Matrix matrix,
Matrix kernel,
int x,
int y) |
double |
errorNub(Matrix matrix,
Matrix avgMatrix) |
double |
getCrossEntropy(Matrix matrix1,
Matrix matrix2) |
double |
getEDist(Matrix matrix1,
Matrix matrix2) |
double |
getEDistByMatrix(Matrix matrix1,
Matrix matrix2) |
Matrix |
getInverseMatrix(Matrix matrix) |
double |
getKernelNub(Matrix matrix,
Matrix kernel) |
Matrix |
getLinearRegression(Matrix parameter,
Matrix out) |
double |
getNorm(Matrix matrix) |
double |
getNormCos(Matrix matrix1,
Matrix matrix2) |
Matrix |
getPoolVector(Matrix matrix) |
double |
getSdByMatrix(Matrix m,
double avg,
double e) |
Matrix |
im2col(Matrix matrix,
int kernLen,
int step) |
double |
innerProduct(Matrix matrix1,
Matrix matrix2) |
int |
inverseNumber(double[] myInverse) |
Matrix |
ListToMatrix(List<Double> list,
int matrixX,
int matrixY) |
Matrix |
listToRowVector(List<Double> list) |
Matrix |
listToRowVector(List<Double> list,
int nub) |
void |
mathAdd(Matrix matrix,
double nub) |
void |
mathDiv(Matrix matrix,
double nub) |
void |
mathMul(Matrix matrix,
double nub) |
Matrix |
mathMulBySelf(Matrix matrix,
double nub) |
void |
mathSub(Matrix matrix,
double nub) |
Matrix |
matrixMulPd(Matrix errorMatrix,
Matrix first,
Matrix second,
boolean isFirstPd) |
Matrix |
matrixPointDiv(Matrix matrix1,
Matrix matrix2) |
List<Double> |
matrixToList(Matrix matrix) |
Matrix |
matrixToVector(Matrix matrix,
boolean isRow) |
Matrix |
mulMatrix(Matrix matrix1,
Matrix matrix2) |
Matrix |
push(Matrix matrix,
double nub,
boolean isRow) |
Matrix |
pushVector(Matrix myMatrix,
Matrix matrix,
boolean addRow) |
Matrix |
reverseIm2col(Matrix matrix,
int kernLen,
int step,
int xSize,
int ySize) |
List<Double> |
rowVectorToList(Matrix matrix) |
Matrix |
softMaxByMatrix(Matrix feature) |
Matrix |
sub(Matrix matrix1,
Matrix matrix2) |
Matrix |
transPosition(Matrix matrix) |
public MatrixOperation()
public MatrixOperation(int coreNumber)
public double getCrossEntropy(Matrix matrix1, Matrix matrix2) throws Exception
Exceptionpublic Matrix getLinearRegression(Matrix parameter, Matrix out) throws Exception
Exceptionpublic double getEDistByMatrix(Matrix matrix1, Matrix matrix2) throws Exception
Exceptionpublic Matrix pushVector(Matrix myMatrix, Matrix matrix, boolean addRow) throws Exception
Exceptionpublic Matrix matrixToVector(Matrix matrix, boolean isRow) throws Exception
Exceptionpublic double innerProduct(Matrix matrix1, Matrix matrix2) throws Exception
Exceptionpublic double convolution(Matrix matrix, Matrix kernel, int x, int y) throws Exception
Exceptionpublic double getKernelNub(Matrix matrix, Matrix kernel) throws Exception
Exceptionpublic int inverseNumber(double[] myInverse)
public double algebraicCofactor(Matrix matrix, int row, int column) throws Exception
Exceptionpublic Matrix matrixPointDiv(Matrix matrix1, Matrix matrix2) throws Exception
Exceptionpublic Matrix matrixMulPd(Matrix errorMatrix, Matrix first, Matrix second, boolean isFirstPd) throws Exception
Exceptionpublic double getSdByMatrix(Matrix m, double avg, double e) throws Exception
Exceptionpublic Matrix ListToMatrix(List<Double> list, int matrixX, int matrixY) throws Exception
Exceptionpublic Matrix listToRowVector(List<Double> list, int nub) throws Exception
ExceptionCopyright © 2024. All rights reserved.