SCM

SCM Repository

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

Diff of /pkg/R/Tsparse.R

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

revision 925, Mon Sep 19 19:01:31 2005 UTC revision 928, Mon Sep 19 21:10:59 2005 UTC
# Line 104  Line 104 
104    
105  setMethod("crossprod", signature(x = "TsparseMatrix", y = "missing"),  setMethod("crossprod", signature(x = "TsparseMatrix", y = "missing"),
106            function(x, y = NULL)            function(x, y = NULL)
107            callGeneric(.Call("Tsparse_to_Csparse", x, PACKAGE = "Matrix"), y))            .Call("Csparse_crossprod", x, FALSE, TRUE, PACKAGE = "Matrix"))
108    
109  setMethod("tcrossprod", signature(x = "TsparseMatrix"),  setMethod("tcrossprod", signature(x = "TsparseMatrix"),
110            function(x)            function(x)
111            callGeneric(.Call("Tsparse_to_Csparse", x, PACKAGE = "Matrix")))            .Call("Csparse_crossprod", x, TRUE, TRUE, PACKAGE = "Matrix"))
112    

Legend:
Removed from v.925  
changed lines
  Added in v.928

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