SCM

SCM Repository

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

Diff of /pkg/R/nsTMatrix.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 21  Line 21 
21        function(from) .Call(nsTMatrix_as_nsyMatrix, from))        function(from) .Call(nsTMatrix_as_nsyMatrix, from))
22    
23    
 ## untested:  
 setMethod("image", "nsTMatrix",  
           function(x, ...) {  
               x <- as(as(x, "dsTMatrix"), "dgTMatrix")  
               callGeneric()  
           })  
   
24  setMethod("t", "nsTMatrix",  setMethod("t", "nsTMatrix",
25            function(x)            function(x)
26            new("nsTMatrix", Dim = x@Dim, Dimnames = x@Dimnames,            new("nsTMatrix", Dim = x@Dim, Dimnames = x@Dimnames,

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