public class Decompose
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Decompose.LUDecomposition<T>
Class to hold an LU decomposition result.
|
static class |
Decompose.QRDecomposition<T>
Class to represent a QR decomposition.
|
Constructor and Description |
---|
Decompose() |
Modifier and Type | Method and Description |
---|---|
static DoubleMatrix |
cholesky(DoubleMatrix A)
Compute Cholesky decomposition of A
|
static FloatMatrix |
cholesky(FloatMatrix A)
if (info )
Compute Cholesky decomposition of A
|
private static void |
clearLower(DoubleMatrix A) |
private static void |
clearLower(FloatMatrix A) |
private static void |
decomposeLowerUpper(DoubleMatrix A,
DoubleMatrix L,
DoubleMatrix U) |
private static void |
decomposeLowerUpper(FloatMatrix A,
FloatMatrix L,
FloatMatrix U) |
static Decompose.LUDecomposition<DoubleMatrix> |
lu(DoubleMatrix A)
Compute LU Decomposition of a general matrix.
|
static Decompose.LUDecomposition<FloatMatrix> |
lu(FloatMatrix A)
Compute LU Decomposition of a general matrix.
|
static Decompose.QRDecomposition<DoubleMatrix> |
qr(DoubleMatrix A)
QR decomposition.
|
static Decompose.QRDecomposition<FloatMatrix> |
qr(FloatMatrix A)
QR decomposition.
|
public static Decompose.LUDecomposition<DoubleMatrix> lu(DoubleMatrix A)
A
- general matrixprivate static void decomposeLowerUpper(DoubleMatrix A, DoubleMatrix L, DoubleMatrix U)
public static FloatMatrix cholesky(FloatMatrix A)
A
- symmetric, positive definite matrix (only upper half is used)private static void clearLower(FloatMatrix A)
public static Decompose.LUDecomposition<FloatMatrix> lu(FloatMatrix A)
A
- general matrixprivate static void decomposeLowerUpper(FloatMatrix A, FloatMatrix L, FloatMatrix U)
public static DoubleMatrix cholesky(DoubleMatrix A)
A
- symmetric, positive definite matrix (only upper half is used)private static void clearLower(DoubleMatrix A)
public static Decompose.QRDecomposition<DoubleMatrix> qr(DoubleMatrix A)
A
- matrixpublic static Decompose.QRDecomposition<FloatMatrix> qr(FloatMatrix A)
A
- matrix