SCM

SCM Repository

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

Diff of /pkg/R/ltCMatrix.R

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

revision 1200, Mon Jan 23 16:01:20 2006 UTC revision 1201, Mon Jan 23 16:04:12 2006 UTC
# Line 3  Line 3 
3  ### contains = "lsparseMatrix"  ### contains = "lsparseMatrix"
4    
5  setAs("ltCMatrix", "matrix",  setAs("ltCMatrix", "matrix",
6        function(from) as(as(from, "dtCMatrix"), "matrix"))        function(from) as(as(from, "lgCMatrix"), "matrix"))
7    
8    setAs("ltCMatrix", "lgCMatrix",
9          function(from) new("lgCMatrix", i = from@i, p = from@p,
10                             Dim = from@Dim, Dimnames = from@Dimnames))
11    
12  setAs("ltCMatrix", "dMatrix", # < instead of "dtCMatrix"  setAs("ltCMatrix", "dMatrix", # < instead of "dtCMatrix"
13        function(from) new("dtCMatrix", i = from@i, p = from@p,        function(from) new("dtCMatrix", i = from@i, p = from@p,

Legend:
Removed from v.1200  
changed lines
  Added in v.1201

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