org.apache.commons.math3.linear
private static class CholeskyDecomposition.Solver extends java.lang.Object implements DecompositionSolver
Modifier and Type | Field and Description |
---|---|
private double[][] |
lTData
Row-oriented storage for LT matrix data.
|
Modifier | Constructor and Description |
---|---|
private |
CholeskyDecomposition.Solver(double[][] lTData)
Build a solver from decomposed matrix.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getInverse()
Get the inverse (or pseudo-inverse) of the decomposed matrix.
|
boolean |
isNonSingular()
Check if the decomposed matrix is non-singular.
|
RealMatrix |
solve(RealMatrix b)
Solve the linear equation A × X = B for matrices A.
|
RealVector |
solve(RealVector b)
Solve the linear equation A × X = B for matrices A.
|
private CholeskyDecomposition.Solver(double[][] lTData)
lTData
- row-oriented storage for LT matrix datapublic boolean isNonSingular()
isNonSingular
in interface DecompositionSolver
public RealVector solve(RealVector b)
The A matrix is implicit, it is provided by the underlying decomposition algorithm.
solve
in interface DecompositionSolver
b
- right-hand side of the equation A × X = Bpublic RealMatrix solve(RealMatrix b)
The A matrix is implicit, it is provided by the underlying decomposition algorithm.
solve
in interface DecompositionSolver
b
- right-hand side of the equation A × X = Bpublic RealMatrix getInverse()
getInverse
in interface DecompositionSolver
Copyright (c) 2003-2013 Apache Software Foundation