public interface SVDecompositionResult extends DecompositionResult
| Modifier and Type | Method and Description |
|---|---|
double |
getConditionNumber()
Returns the condition number of the matrix.
|
double |
getNorm()
Returns the $L_2$ norm of the matrix.
|
int |
getRank()
Returns the effective numerical matrix rank.
|
DoubleMatrix |
getS()
Returns the diagonal matrix $\mathbf{\Sigma}$ of the decomposition.
|
double[] |
getSingularValues()
Returns the diagonal elements of the matrix $\mathbf{\Sigma}$ of the decomposition.
|
DoubleMatrix |
getU()
Returns the matrix $\mathbf{U}$ of the decomposition.
|
DoubleMatrix |
getUT()
Returns the transpose of the matrix $\mathbf{U}$ of the decomposition.
|
DoubleMatrix |
getV()
Returns the matrix $\mathbf{V}$ of the decomposition.
|
DoubleMatrix |
getVT()
Returns the transpose of the matrix $\mathbf{V}$ of the decomposition.
|
solve, solve, solveDoubleMatrix getU()
$\mathbf{U}$ is an orthogonal matrix, i.e. its transpose is also its inverse.
DoubleMatrix getUT()
$\mathbf{U}$ is an orthogonal matrix, i.e. its transpose is also its inverse.
DoubleMatrix getS()
$\mathbf{\Sigma}$ is a diagonal matrix. The singular values are provided in non-increasing order.
double[] getSingularValues()
The singular values are provided in non-increasing order.
DoubleMatrix getV()
$\mathbf{V}$ is an orthogonal matrix, i.e. its transpose is also its inverse.
DoubleMatrix getVT()
$\mathbf{V}$ is an orthogonal matrix, i.e. its transpose is also its inverse.
double getNorm()
The $L_2$ norm is $\max\left(\frac{|\mathbf{A} \times U|_2}{|U|_2}\right)$, where $|.|_2$ denotes the vectorial 2-norm (i.e. the traditional Euclidian norm).
double getConditionNumber()
int getRank()
The effective numerical rank is the number of non-negligible singular values. The threshold used to identify non-negligible terms is $\max(m, n) \times \mathrm{ulp}(S_1)$, where $\mathrm{ulp}(S_1)$ is the least significant bit of the largest singular value.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.