|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.LowerTriangularMatrix
public class LowerTriangularMatrix
| Field Summary | |
|---|---|
protected cern.colt.matrix.DoubleMatrix1D |
diagonal
|
protected int[] |
diagonalIndices
|
protected cern.colt.matrix.DoubleMatrix1D |
elements
|
protected int |
rowCount
|
protected cern.colt.matrix.DoubleMatrix1D[] |
rows
|
static double |
TOLERANCE
|
| Constructor Summary | |
|---|---|
LowerTriangularMatrix()
|
|
| Method Summary | |
|---|---|
LowerTriangularMatrix |
assign(cern.colt.matrix.DoubleMatrix2D A)
Assigns the lower triangle of the given matrix to this CholeskyFactor. |
cern.colt.matrix.DoubleMatrix1D |
diagonal()
Returns the diagonal elements of this CholeskyFactor. |
cern.colt.matrix.DoubleMatrix2D |
full()
Returns the full version of this lower-triangular matrix by assigning zeros to the upper triangle. |
static CholeskyFactor |
identity(int rowCount)
Constructs a CholeskyFactor having the given number of rows. |
boolean |
isSingular()
Indicates matrix singularity. |
cern.colt.matrix.DoubleMatrix1D |
leftDivide(cern.colt.matrix.DoubleMatrix1D b,
cern.colt.matrix.DoubleMatrix1D x)
Solves L x = b. |
cern.colt.matrix.DoubleMatrix2D |
leftDivide(cern.colt.matrix.DoubleMatrix2D B,
cern.colt.matrix.DoubleMatrix2D X)
Solves L' X = B. |
cern.colt.matrix.DoubleMatrix1D |
rightDivide(cern.colt.matrix.DoubleMatrix1D b,
cern.colt.matrix.DoubleMatrix1D x)
Solves x L' = b. |
cern.colt.matrix.DoubleMatrix2D |
rightDivide(cern.colt.matrix.DoubleMatrix2D B,
cern.colt.matrix.DoubleMatrix2D X)
Solves X L' = B. |
cern.colt.matrix.DoubleMatrix1D |
vec()
Returns all the elements of this lower-triangular matrix, concatenated row-wise, in a single vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double TOLERANCE
protected int rowCount
protected int[] diagonalIndices
protected cern.colt.matrix.DoubleMatrix1D diagonal
protected cern.colt.matrix.DoubleMatrix1D elements
protected cern.colt.matrix.DoubleMatrix1D[] rows
| Constructor Detail |
|---|
public LowerTriangularMatrix()
| Method Detail |
|---|
public static CholeskyFactor identity(int rowCount)
CholeskyFactor having the given number of rows.
rowCount - the given number of rows.
CholeskyFactor having the given number of rows.
public LowerTriangularMatrix assign(cern.colt.matrix.DoubleMatrix2D A)
throws Exceptions.SingularMatrixException
CholeskyFactor.
A - the given matrix.
CholeskyFactor for convenience.
Exceptions.SingularMatrixExceptionpublic cern.colt.matrix.DoubleMatrix1D diagonal()
CholeskyFactor.
public cern.colt.matrix.DoubleMatrix2D full()
CholeskyFactor.
public cern.colt.matrix.DoubleMatrix1D leftDivide(cern.colt.matrix.DoubleMatrix1D b,
cern.colt.matrix.DoubleMatrix1D x)
L x = b.
b - RHS, vector.x - vector to hold the result
public cern.colt.matrix.DoubleMatrix2D leftDivide(cern.colt.matrix.DoubleMatrix2D B,
cern.colt.matrix.DoubleMatrix2D X)
L' X = B.
B - RHS, matrix.X - matrix to hold the result.
public cern.colt.matrix.DoubleMatrix1D rightDivide(cern.colt.matrix.DoubleMatrix1D b,
cern.colt.matrix.DoubleMatrix1D x)
x L' = b.
b - RHS, vector.x - vector to hold the result.
public cern.colt.matrix.DoubleMatrix2D rightDivide(cern.colt.matrix.DoubleMatrix2D B,
cern.colt.matrix.DoubleMatrix2D X)
X L' = B.
B - RHS, matrix.X - matrix to hold the result.
public cern.colt.matrix.DoubleMatrix1D vec()
CholeskyFactor.public boolean isSingular()
true if matrix is singular.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||