SCM

SCM Repository

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

Diff of /pkg/R/sparseMatrix.R

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

revision 1225, Mon Mar 13 14:06:17 2006 UTC revision 1226, Mon Mar 13 14:07:58 2006 UTC
# Line 100  Line 100 
100            })            })
101    
102    
103    ## setReplaceMethod("[", signature(x = "sparseMatrix", i = "index", j = "missing",
104    ##                                 value = "numeric"),
105    ##                  function (x, i, value) {
106    
107    ##                      stop("NOT YET")
108    
109    ##                      as(r, class(x))
110    ##                  })
111    
112    ## setReplaceMethod("[", signature(x = "sparseMatrix", i = "missing", j = "index",
113    ##                                 value = "numeric"),
114    ##                  function (x, j, value) {
115    
116    ##                      stop("NOT YET")
117    
118    ##                      as(r, class(x))
119    ##                  })
120    
121    ## setReplaceMethod("[", signature(x = "sparseMatrix", i = "index", j = "index",
122    ##                                 value = "numeric"),
123    
124    ##                      stop("NOT YET")
125    
126    ##                      as(r, class(x))
127    ##                  })
128    
129    
130    
131  setMethod("-", signature(e1 = "sparseMatrix", e2 = "missing"),  setMethod("-", signature(e1 = "sparseMatrix", e2 = "missing"),
132            function(e1) { e1@x <- -e1@x ; e1 })            function(e1) { e1@x <- -e1@x ; e1 })
133  ## with the following exceptions:  ## with the following exceptions:

Legend:
Removed from v.1225  
changed lines
  Added in v.1226

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