SCM

SCM Repository

[matrix] Diff of /branches/Matrix-mer2/R/dgCMatrix.R
ViewVC logotype

Diff of /branches/Matrix-mer2/R/dgCMatrix.R

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

revision 1152, Thu Jan 12 07:56:14 2006 UTC revision 1153, Thu Jan 12 14:33:41 2006 UTC
# Line 11  Line 11 
11  setAs("dgCMatrix", "dgeMatrix",  setAs("dgCMatrix", "dgeMatrix",
12        function(from) .Call("csc_to_dgeMatrix", from, PACKAGE = "Matrix"))        function(from) .Call("csc_to_dgeMatrix", from, PACKAGE = "Matrix"))
13    
 ## setAs("dgCMatrix", "dgBCMatrix",  
 ##       function(from) new("dgBCMatrix", p = from@p, i = from@i,  
 ##                          x = array(from@x, c(1, 1, length(from@x)))))  
   
14  setAs("dgCMatrix", "lgCMatrix",  setAs("dgCMatrix", "lgCMatrix",
15        function(from) new("lgCMatrix", i = from@i, p = from@p,        function(from) new("lgCMatrix", i = from@i, p = from@p,
16                           Dim = from@Dim, Dimnames = from@Dimnames))                           Dim = from@Dim, Dimnames = from@Dimnames))

Legend:
Removed from v.1152  
changed lines
  Added in v.1153

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