public class CholeskyDecompositionOpenGamma extends Object implements Decomposition<CholeskyDecompositionResult>
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_POSITIVITY_THRESHOLD
In the decomposition, the positivity of the matrix is checked.
|
static double |
DEFAULT_SYMMETRY_THRESHOLD
The input matrix symmetry is checked.
|
| Constructor and Description |
|---|
CholeskyDecompositionOpenGamma() |
| Modifier and Type | Method and Description |
|---|---|
CholeskyDecompositionResult |
apply(DoubleMatrix x)
Applies this function to the given argument.
|
CholeskyDecompositionResult |
evaluate(DoubleMatrix matrix,
double symmetryThreshold,
double positivityThreshold)
Perform the decomposition with a given symmetry and positivity threshold.
|
public static final double DEFAULT_SYMMETRY_THRESHOLD
public static final double DEFAULT_POSITIVITY_THRESHOLD
public CholeskyDecompositionResult apply(DoubleMatrix x)
apply in interface Decomposition<CholeskyDecompositionResult>apply in interface Function<DoubleMatrix,CholeskyDecompositionResult>x - the input matrixpublic CholeskyDecompositionResult evaluate(DoubleMatrix matrix, double symmetryThreshold, double positivityThreshold)
matrix - The matrix to decompose.symmetryThreshold - The symmetry threshold.positivityThreshold - The positivity threshold.Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.