SCM

SCM Repository

[matrix] Diff of /pkg/tests/simple.R
ViewVC logotype

Diff of /pkg/tests/simple.R

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

revision 948, Wed Sep 28 08:57:56 2005 UTC revision 949, Wed Sep 28 09:17:08 2005 UTC
# Line 51  Line 51 
51    
52  (i6 <- solve(m6, Matrix(1:6)))  (i6 <- solve(m6, Matrix(1:6)))
53  stopifnot(identical(i6, as(cbind(c(-4, rep(1,5))), "dgeMatrix")),  stopifnot(identical(i6, as(cbind(c(-4, rep(1,5))), "dgeMatrix")),
54            identical(i6, solve(m6, 1:6),            identical(i6, solve(m6, 1:6)),
55            identical(i6, solve(m6, matrix(1:6))),            identical(i6, solve(m6, matrix(1:6))),
56            identical(i6, solve(m6, matrix(c(1,2,3,4,5,6)))),            identical(i6, solve(m6, matrix(c(1,2,3,4,5,6))))
57            )            )
58    
59  ###-- row- and column operations  {was ./rowcolOps.R }  ###-- row- and column operations  {was ./rowcolOps.R }

Legend:
Removed from v.948  
changed lines
  Added in v.949

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