public class CholeskyDecompositionOpenGammaResult extends Object implements CholeskyDecompositionResult
| Constructor and Description |
|---|
CholeskyDecompositionOpenGammaResult(double[][] lArray)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDeterminant()
Return the determinant of the matrix.
|
DoubleMatrix |
getL()
Returns the $\mathbf{L}$ matrix of the decomposition.
|
DoubleMatrix |
getLT()
Returns the transpose of the matrix $\mathbf{L}$ of the decomposition.
|
double[] |
solve(double[] b)
Solves $\mathbf{A}x = b$ where $\mathbf{A}$ is a (decomposed) matrix and $b$ is a vector.
|
DoubleMatrix |
solve(DoubleMatrix b)
Solves $\mathbf{A}x = \mathbf{B}$ where $\mathbf{A}$ is a (decomposed) matrix and $\mathbf{B}$ is a matrix.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsolvepublic CholeskyDecompositionOpenGammaResult(double[][] lArray)
lArray - The matrix L as an array of doubles.public double[] solve(double[] b)
DecompositionResultsolve in interface DecompositionResultb - the vector to calculate withpublic DoubleMatrix solve(DoubleMatrix b)
DecompositionResultsolve in interface DecompositionResultb - the matrix to calculate withpublic DoubleMatrix getL()
CholeskyDecompositionResult$\mathbf{L}$ is a lower-triangular matrix.
getL in interface CholeskyDecompositionResultpublic DoubleMatrix getLT()
CholeskyDecompositionResult$\mathbf{L}^T$ is a upper-triangular matrix.
getLT in interface CholeskyDecompositionResultpublic double getDeterminant()
CholeskyDecompositionResultgetDeterminant in interface CholeskyDecompositionResultCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.