SCM

SCM Repository

[matrix] View of /pkg/R/Hilbert.R
ViewVC logotype

View of /pkg/R/Hilbert.R

Parent Directory Parent Directory | Revision Log Revision Log


Revision 483 - (download) (annotate)
Wed Feb 2 16:11:21 2005 UTC (14 years, 8 months ago) by bates
File size: 189 byte(s)
renaming and rearranging classes
Hilbert <- function(n)
{   ## generate the Hilbert matrix of dimension n
    n <- as.integer(n)
    i <- seq(length = n)
    new("dpoMatrix", x = c(1/outer(i - 1, i, "+")), Dim = c(n,n))
}

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge