<< makematrix_hilbert Makematrix makematrix_magic >>

Makematrix >> Makematrix > makematrix_invhilbert

makematrix_invhilbert

Returns the inverse of the Hilbert matrix

Calling Sequence

A = makematrix_invhilbert ( n )

Parameters

n :

a 1-by-1 matrix of doubles, integer value, the size of the matrix to return

A :

a n-by-n matrix of doubles, the inverse of the Hilbert matrix

Description

Returns the inverse of the Hilbert matrix of size n.

This is translated from Scilab fortran source code hilber.f

Examples

A = makematrix_invhilbert ( 5 )

// Check the inverse property
A = makematrix_invhilbert ( 5 )
B = makematrix_hilbert ( 5 )
A * B

Authors

Bibliography

http://en.wikipedia.org/wiki/Hilbert_matrix


Report an issue
<< makematrix_hilbert Makematrix makematrix_magic >>