SCM

SCM Repository

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

Diff of /pkg/Matrix/R/ddenseMatrix.R

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

revision 2380, Mon May 25 09:45:37 2009 UTC revision 2472, Sat Sep 19 06:10:48 2009 UTC
# Line 81  Line 81 
81  setMethod("solve", signature(a = "ddenseMatrix", b = "missing"),  setMethod("solve", signature(a = "ddenseMatrix", b = "missing"),
82            function(a, b, ...) solve(as(a, "dgeMatrix")))            function(a, b, ...) solve(as(a, "dgeMatrix")))
83    
84  setMethod("solve", signature(a = "ddenseMatrix", b = "ANY"),  for(.b in c("Matrix","ANY")) ## << against ambiguity notes
85    setMethod("solve", signature(a = "ddenseMatrix", b = .b),
86            function(a, b, ...) solve(as(a, "dgeMatrix"), b))            function(a, b, ...) solve(as(a, "dgeMatrix"), b))
87    for(.b in c("matrix","numeric")) ## << against ambiguity notes
88    setMethod("solve", signature(a = "ddenseMatrix", b = .b),
89              function(a, b, ...) solve(as(a, "dgeMatrix"), Matrix(b)))
90    
91  setMethod("lu", signature(x = "ddenseMatrix"),  setMethod("lu", signature(x = "ddenseMatrix"),
92            function(x, ...) lu(as(x, "dgeMatrix")))            function(x, ...) lu(as(x, "dgeMatrix")))

Legend:
Removed from v.2380  
changed lines
  Added in v.2472

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