SCM

SCM Repository

[matrix] Diff of /pkg/tests/base-matrix-fun.R
ViewVC logotype

Diff of /pkg/tests/base-matrix-fun.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1289, Tue Jun 6 14:48:37 2006 UTC revision 1290, Thu Jun 8 09:30:21 2006 UTC
# Line 25  Line 25 
25    
26  m <- Matrix(0:5, 3, 2)  m <- Matrix(0:5, 3, 2)
27  (m2 <- Matrix(diag(c(3,1))))  (m2 <- Matrix(diag(c(3,1))))
28  (m3 <- crossprod(t(m)))  (m3 <- crossprod(t(m))) # <- that's an S4 method; nothing "base"
29    
30    svd(m)
31    eigen(m3)
32    
33  ### outer()  used to work thanks to  as.array() -- up to R 2.2.1  ### outer()  used to work thanks to  as.array() -- up to R 2.2.1
34  ##  no longer, because the definition of outer has changed  ##  no longer, because the definition of outer has changed
35  ##stopifnot(identical(outer(m, m2),  ##stopifnot(identical(outer(m, m2),

Legend:
Removed from v.1289  
changed lines
  Added in v.1290

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