SCM

SCM Repository

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

Diff of /pkg/R/Rsparse.R

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

revision 2206, Wed Jun 25 14:57:02 2008 UTC revision 2207, Mon Jul 7 22:34:52 2008 UTC
# Line 213  Line 213 
213                   function (x, i, j, ..., value)                   function (x, i, j, ..., value)
214                   replTmat(as(x,"TsparseMatrix"), i=i, j=j, value=value))                   replTmat(as(x,"TsparseMatrix"), i=i, j=j, value=value))
215    
216    setReplaceMethod("[", signature(x = "RsparseMatrix", i = "index", j = "missing",
217                                    value = "sparseVector"),
218                     function (x, i, j, ..., value)
219                     replTmat(as(x,"TsparseMatrix"), i=i, value=value))
220    
221    setReplaceMethod("[", signature(x = "RsparseMatrix", i = "missing", j = "index",
222                                    value = "sparseVector"),
223                     function (x, i, j, ..., value)
224                     replTmat(as(x,"TsparseMatrix"), j=j, value=value))
225    
226    setReplaceMethod("[", signature(x = "RsparseMatrix", i = "index", j = "index",
227                                    value = "sparseVector"),
228                     function (x, i, j, ..., value)
229                     replTmat(as(x,"TsparseMatrix"), i=i, j=j, value=value))
230    
231    
232  setReplaceMethod("[", signature(x = "RsparseMatrix", i = "matrix", j = "missing",  setReplaceMethod("[", signature(x = "RsparseMatrix", i = "matrix", j = "missing",
233                                  value = "replValue"),                                  value = "replValue"),
234                   function (x, i, j, ..., value)                   function (x, i, j, ..., value)

Legend:
Removed from v.2206  
changed lines
  Added in v.2207

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