|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixMathImpl<T>
com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixStorageImpl<SymmetricMatrix>
com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense.triangle.SymmetricMatrix
com.numericalmethod.suanshu.matrix.doubles.matrixtype.HilbertMatrix
public class HilbertMatrix
A Hilbert matrix, H, is a symmetric matrix with entries being the unit fractions
H[i][j] = 1 / (i + j -1)
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense.triangle.SymmetricMatrix |
|---|
dim |
| Constructor Summary | |
|---|---|
HilbertMatrix(int dim)
Construct a Hilbert matrix of dimension dim * dim. |
|
| Method Summary | |
|---|---|
double |
det()
The determinant of a Hilbert matrix is the reciprocal of an integer. |
java.math.BigInteger |
invdet()
One over the determinant of H. |
| Methods inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense.triangle.SymmetricMatrix |
|---|
add, deepCopy, equals, get, getColumn, getRow, hashCode, minus, ONE, scaled, set, t, toDense, toString, ZERO |
| Methods inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixStorageImpl |
|---|
getMatrixData, setMatrixData |
| Methods inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixMathImpl |
|---|
add, call, getSample, minus, multiply, multiply, nCols, nRows, opposite, setColumn, setColumn, setRow, setRow |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HilbertMatrix(int dim)
dim * dim.
dim - Hilbert matrix dimension, i.e., the number of rows or number of columns| Method Detail |
|---|
public java.math.BigInteger invdet()
1
-----
|H|
Hpublic double det()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||