SCM

SCM Repository

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

Diff of /pkg/R/lsTMatrix.R

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

revision 2184, Sat Apr 26 20:32:39 2008 UTC revision 2185, Sat Apr 26 20:33:16 2008 UTC
# Line 22  Line 22 
22  setAs("lsTMatrix", "lsyMatrix",  setAs("lsTMatrix", "lsyMatrix",
23        function(from) .Call(lsTMatrix_as_lsyMatrix, from))        function(from) .Call(lsTMatrix_as_lsyMatrix, from))
24    
 ## untested:  
 setMethod("image", "lsTMatrix",  
           function(x, ...) {  
               x <- as(as(x, "dsTMatrix"), "dgTMatrix")  
               callGeneric()  
           })  
25    
26  setMethod("t", "lsTMatrix",  setMethod("t", "lsTMatrix",
27            function(x)            function(x)

Legend:
Removed from v.2184  
changed lines
  Added in v.2185

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