|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.LowerTriangularMatrix
util.CholeskyFactor
public class CholeskyFactor
Implements a square lower-triangular matrix. Uses index arithmetic on a 1-D
array. Why isn't there an implementation in colt?
| Field Summary |
|---|
| Fields inherited from class util.LowerTriangularMatrix |
|---|
diagonal, diagonalIndices, elements, rowCount, rows, TOLERANCE |
| Constructor Summary | |
|---|---|
CholeskyFactor(cern.colt.matrix.linalg.CholeskyDecomposition A)
Constructs a CholeskyFactor using the given
CholeskyDecomposition. |
|
CholeskyFactor(double[][] a)
Constructs a lower triangular matrix by interpreting the given double[][] array as such. |
|
CholeskyFactor(cern.colt.matrix.DoubleMatrix2D A)
Constructs a lower-triangular matrix using the lower triangle of the given matrix. |
|
CholeskyFactor(int numRows)
Constructs a lower-triangular matrix having the given number of rows. |
|
| Method Summary | |
|---|---|
CholeskyFactor |
appendRow(cern.colt.matrix.DoubleMatrix1D row)
Appends the given row to this lower-triangular matrix. |
LowerTriangularMatrix |
assign(cern.colt.matrix.linalg.CholeskyDecomposition A)
Assigns the given Cholesky factor to this CholeskyFactor. |
CholeskyFactor |
copy()
Returns a copy of this Cholesky factor. |
java.lang.String |
toString()
|
| Methods inherited from class util.LowerTriangularMatrix |
|---|
assign, diagonal, full, identity, isSingular, leftDivide, leftDivide, rightDivide, rightDivide, vec |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CholeskyFactor(cern.colt.matrix.linalg.CholeskyDecomposition A)
CholeskyFactor using the given
CholeskyDecomposition.
A - the given CholeskyDecomposition.
public CholeskyFactor(double[][] a)
throws java.lang.IllegalArgumentException,
Exceptions.SingularMatrixException
double[][] array as such. The array cannot be ragged.
a - the given array.
java.lang.IllegalArgumentException - if the given array is ragged or not square.
Exceptions.SingularMatrixException - if the resulting CholeskyFactor is singular.
public CholeskyFactor(cern.colt.matrix.DoubleMatrix2D A)
throws Exceptions.SingularMatrixException
A - the given matrix.
Exceptions.SingularMatrixException - if the resulting CholeskyFactor is singular.public CholeskyFactor(int numRows)
numRows - the given number of rows.| Method Detail |
|---|
public CholeskyFactor appendRow(cern.colt.matrix.DoubleMatrix1D row)
throws Exceptions.SingularMatrixException
row - the given row.
CholeskyFactor.
Exceptions.SingularMatrixException
public LowerTriangularMatrix assign(cern.colt.matrix.linalg.CholeskyDecomposition A)
throws Exceptions.SingularMatrixException
CholeskyFactor.
A - the given Cholesky factor.
CholeskyFactor.
Exceptions.SingularMatrixException - if the resulting CholeskyFactor is singular.public CholeskyFactor copy()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||