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 1654 - (download) (annotate)
Fri Oct 27 16:58:15 2006 UTC (13 years, 1 month ago) by maechler
File size: 186 byte(s)
miscellaneous "fixes" mostly in ChangeLog and/or related to diagonalMatrix
Hilbert <- function(n)
{   ## generate the Hilbert matrix of dimension n
    n <- as.integer(n)
    i <- seq_len(n)
    new("dpoMatrix", x = c(1/outer(i - 1: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