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 1460, Tue Aug 29 14:07:52 2006 UTC revision 1467, Wed Aug 30 21:35:09 2006 UTC
# Line 39  Line 39 
39            function (X, Y, FUN = "*", make.dimnames = FALSE, ...)            function (X, Y, FUN = "*", make.dimnames = FALSE, ...)
40            callGeneric(as(X, "dgTMatrix"),as(Y, "dgTMatrix")))            callGeneric(as(X, "dgTMatrix"),as(Y, "dgTMatrix")))
41    
42    setMethod("lu", signature(x = "dsparseMatrix"),
43              function(x, ...) callGeneric(as(x, "dgCMatrix")))
44    
45    
46  ## Group Methods, see ?Arith (e.g.)  ## Group Methods, see ?Arith (e.g.)
47  ## -----  ## -----
# Line 69  Line 72 
72  ##  "Math2" is in ./dMatrix.R  ##  "Math2" is in ./dMatrix.R
73    
74    
 ### cbind2 / rbind2  
 if(paste(R.version$major, R.version$minor, sep=".") >= "2.2") {  
     ## for R 2.2.x (and later):  
   
75  ### cbind2  ### cbind2
76      setMethod("cbind2", signature(x = "dsparseMatrix", y = "numeric"),      setMethod("cbind2", signature(x = "dsparseMatrix", y = "numeric"),
77                function(x, y) {                function(x, y) {
# Line 161  Line 160 
160                    ans                    ans
161                })                })
162    
 }## R-2.2.x ff  

Legend:
Removed from v.1460  
changed lines
  Added in v.1467

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