SCM

SCM Repository

[matrix] Diff of /pkg/R/Rsparse.R
ViewVC logotype

Diff of /pkg/R/Rsparse.R

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

revision 1831, Fri Apr 27 13:38:19 2007 UTC revision 1832, Tue May 1 10:18:27 2007 UTC
# Line 27  Line 27 
27                 "lgRMatrix", "lsRMatrix", "ltRMatrix",                 "lgRMatrix", "lsRMatrix", "ltRMatrix",
28                 "ngRMatrix", "nsRMatrix", "ntRMatrix",                 "ngRMatrix", "nsRMatrix", "ntRMatrix",
29                 "zgRMatrix", "zsRMatrix", "ztRMatrix")                 "zgRMatrix", "zsRMatrix", "ztRMatrix")
30      icl <- match(cl, valid) - 1:1      icl <- match(cl, valid) - 1L
31      if(is.na(icl)) stop("invalid class:", cl)      if(is.na(icl)) stop("invalid class:", cl)
32      Ccl <- sub("^(..)R","\\1C", cl)  # corresponding Csparse class name      Ccl <- sub("^(..)R","\\1C", cl)  # corresponding Csparse class name
33      r <- new(Ccl)      r <- new(Ccl)

Legend:
Removed from v.1831  
changed lines
  Added in v.1832

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