Interface Matrix.Factorization
- All Known Implementing Classes:
DenseMatrix.CholeskyFactorization,DenseMatrix.EigenDecomposition,DenseMatrix.LUFactorization
- Enclosing interface:
Matrix
public static interface Matrix.Factorization
Interface for matrix factorizations.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleCompute the matrix determinant of the factorized matrix.intdim1()First dimension of the factorized matrix.intdim2()Second dimension of the factorized matrix.default Matrixinverse()Generates the inverse of the matrix with this factorization.Solves the system A * X = Y, where Y is the input matrix, and A is the matrix which produced this factorization.Solves a system of linear equations A * b = y, where y is the input vector, A is the matrix which produced this factorization, and b is the returned value.
-
Method Details
-
dim1
int dim1()First dimension of the factorized matrix.- Returns:
- First dimension size.
-
dim2
int dim2()Second dimension of the factorized matrix.- Returns:
- Second dimension size.
-
determinant
double determinant()Compute the matrix determinant of the factorized matrix.- Returns:
- The matrix determinant.
-
solve
-
solve
-
inverse
Generates the inverse of the matrix with this factorization.- Returns:
- The matrix inverse.
-