cupyx.scipy.linalg.hilbert#

cupyx.scipy.linalg.hilbert(n)[source]#

Create a Hilbert matrix of order n.

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:

The Hilbert matrix.

Return type:

cupy.ndarray