jax.scipy.linalg.hilbert#
- jax.scipy.linalg.hilbert(n)[source]#
Create a Hilbert matrix of order n.
LAX-backend implementation of
scipy.linalg._special_matrices.hilbert()
.Original docstring below.
Returns the n by n array with entries h[i,j] = 1 / (i + j + 1).
- Parameters:
n (int) – The size of the array to create.
- Returns:
h – The Hilbert matrix.
- Return type:
(n, n) ndarray