hilbert.matrix {matrixcalc}R Documentation

Hilbert matrices

Description

This function returns an n by n Hilbert matrix.

Usage

hilbert.matrix(n)

Arguments

n

Order of the Hilbert matrix

Value

A matrix.

Note

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.

Author(s)

Frederick Novomestky fnovomes@poly.edu

References

Magnus, J. R. and H. Neudecker (1999) Matrix Differential Calculus with Applications in Statistics and Econometrics, Second Edition, John Wiley.

Examples

H <- hilbert.matrix( 4 )

[Package matrixcalc version 1.0-1 Index]