Vocabularymath.
matrices.
extrasInputsOutputsWord descriptionA Hilbert matrix is a
square-matrix A in which entries are the unit fractions
A[i][j] = 1/(i+j-1). See
hilbert matrix.
A Hilbert matrix is a special case of the
<hankel-matrix>.
ExamplesUSING: math.matrices.extras prettyprint ;
1 2 <hilbert-matrix> .
{ { 1 1/2 } }
USING: math.matrices.extras prettyprint ;
3 6 <hilbert-matrix> .
{
{ 1 1/2 1/3 1/4 1/5 1/6 }
{ 1/2 1/3 1/4 1/5 1/6 1/7 }
{ 1/3 1/4 1/5 1/6 1/7 1/8 }
}
Definition