SCM

SCM Repository

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

Diff of /pkg/R/dsparseMatrix.R

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

revision 1654, Fri Oct 27 16:58:15 2006 UTC revision 1655, Mon Oct 30 17:16:27 2006 UTC
# Line 21  Line 21 
21  ##           function(x, y) callGeneric(x, as(y, "dgCMatrix")))  ##           function(x, y) callGeneric(x, as(y, "dgCMatrix")))
22    
23  setMethod("crossprod", signature(x = "dsparseMatrix", y = "dgeMatrix"),  setMethod("crossprod", signature(x = "dsparseMatrix", y = "dgeMatrix"),
24            function(x, y = NULL) callGeneric(as(x, "dgCMatrix"), y))  ## NB: using   callGeneric(.) here, leads to infinite recursion :
25              function(x, y = NULL) .Call(Csparse_dense_crossprod, as(x, "dgCMatrix"), y))
26    
27  ## NB: there's already  ## NB: there's already
28  ##     ("CsparseMatrix", "missing") and ("TsparseMatrix", "missing") methods  ##     ("CsparseMatrix", "missing") and ("TsparseMatrix", "missing") methods

Legend:
Removed from v.1654  
changed lines
  Added in v.1655

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