SCM

SCM Repository

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

Diff of /pkg/R/Matrix.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 241  Line 241 
241                0-e1                0-e1
242            })            })
243    
244    ## old-style matrices are made into new ones
245    setMethod("Ops", signature(e1 = "Matrix", e2 = "matrix"),
246              function(e1, e2) callGeneric(e1, Matrix(e2)))
247    ##          callGeneric(e1, Matrix(e2, sparse=is(e1,"sparseMatrix"))))
248    setMethod("Ops", signature(e1 = "matrix", e2 = "Matrix"),
249              function(e1, e2) callGeneric(Matrix(e1), e2))
250    
251  ## bail-outs -- on highest possible level, hence "Ops", not "Compare"/"Arith" :  ## bail-outs -- on highest possible level, hence "Ops", not "Compare"/"Arith" :
252  setMethod("Ops", signature(e1 = "Matrix", e2 = "Matrix"),  setMethod("Ops", signature(e1 = "Matrix", e2 = "Matrix"),
253            function(e1, e2) {            function(e1, e2) {

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