SCM

SCM Repository

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

Diff of /pkg/R/ntTMatrix.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 29  Line 29 
29        function(from) as(as(from, "ntrMatrix"), "matrix"))        function(from) as(as(from, "ntrMatrix"), "matrix"))
30    
31    
 ## untested:  
 setMethod("image", "ntTMatrix",  
           function(x, ...) {  
               x <- as(as(x, "dtTMatrix"), "dgTMatrix")  
               callGeneric()  
           })  
   
32  setMethod("t", "ntTMatrix",  setMethod("t", "ntTMatrix",
33            function(x)            function(x)
34            new("ntTMatrix", Dim = x@Dim[2:1], Dimnames = x@Dimnames[2:1],            new("ntTMatrix", Dim = x@Dim[2:1], Dimnames = x@Dimnames[2:1],

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