bundles / scipy latest / scipy / linalg / _special_matrices / hilbert
function
scipy.linalg._special_matrices:hilbert
Signature
def hilbert ( n ) Summary
Create a Hilbert matrix of order n.
Extended Summary
Returns the n by n array with entries h[i,j] = 1 / (i + j + 1).
Parameters
n: intThe size of the array to create.
Returns
h: (n, n) ndarrayThe Hilbert matrix.
Notes
Examples
from scipy.linalg import hilbert
✓hilbert(3)
✗See also
- invhilbert
Compute the inverse of a Hilbert matrix.
Aliases
-
scipy.linalg.hilbert