public class HilbertMatrix extends SymmetricMatrix
H[i][j] = 1 / (i + j -1)
Constructor and Description |
---|
HilbertMatrix(int n)
Constructs a Hilbert matrix.
|
Modifier and Type | Method and Description |
---|---|
double |
det()
The determinant of a Hilbert matrix is the reciprocal of an integer.
|
BigInteger |
invdet()
One over the determinant of H: 1/|H|, which is an integer.
|
public HilbertMatrix(int n)
n
- the Hilbert matrix dimensionpublic BigInteger invdet()
public double det()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.