Hilbert matrices
This function returns an n by n Hilbert matrix.
hilbert.matrix(n)
n |
Order of the Hilbert matrix |
A Hilbert matrix is an order n square matrix of unit fractions with elements defined as H_{i,j} = {1 \mathord{≤ft/ {\vphantom {1 {≤ft( {i + j - 1} \right)}}} \right. \kern-νlldelimiterspace} {≤ft( {i + j - 1} \right)}}.
A matrix.
If the argument is less than or equal to zero, the function displays an error message and stops. If the argument is not an integer, the function displays an error message and stops.
Frederick Novomestky fnovomes@poly.edu
Hilbert, David (1894). Ein Beitrag zur Theorie des Legendre schen Polynoms, Acta Mathematica, Springer, Netherlands, 18, 155-159.
H <- hilbert.matrix( 4 ) print( H )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.