linalg(deprecated)
hilbert
create a Hilbert matrix
Calling Sequence
Parameters
Description
Examples
hilbert(n)
hilbert(n, x)
n
-
positive integer
x
(optional) expression
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[HilbertMatrix], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The function hilbert returns the n x n generalized Hilbert matrix.
This matrix is symmetric and has 1i+j−x as its (i, j)th entry. If x is not specified, x=1 is used.
The command with(linalg,hilbert) allows the use of the abbreviated form of this command.
with⁡linalg:
hilbert⁡3
11213121314131415
hilbert⁡3,x+1
11−x12−x13−x12−x13−x14−x13−x14−x15−x
See Also
LinearAlgebra
LinearAlgebra[HilbertMatrix]
Download Help Document