HilbertMatrix
The (possibly rectangular) Hilbert matrix, entry (i, j) = 1/(i + j - 1), kept exact.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
HilbertMatrixWolfram LanguageHilbertMatrix✓HilbertMatrix(n)the n×n Hilbert matrixHilbertMatrix({m, n})the m×n Hilbert matrixTyped signatures
| Type | Package | Applies |
|---|---|---|
(integer | list<integer>) -> list<any> | combinatorics | always |
Details
- Every entry is an exact rational, never a float — Wolfram's own default.
- Symmetric when square, and famously ill-conditioned (its determinant shrinks fast: det(HilbertMatrix(3)) = 1/2160).
- The rectangular dimensions are a {m, n} LIST, not two bare arguments — kernel-checked: Wolfram's HilbertMatrix has no 2-argument form, only HilbertMatrix[n] and HilbertMatrix[{m, n}].
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 2 agree |
| Crosswalk | FungrimWolfram Language |
See also: DiagonalMatrix