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 2207, Mon Jul 7 22:34:52 2008 UTC revision 2236, Wed Jul 23 16:48:14 2008 UTC
# Line 278  Line 278 
278  setMethod("solve", signature(a = "matrix", b = "Matrix"),  setMethod("solve", signature(a = "matrix", b = "Matrix"),
279            function(a, b, ...) callGeneric(Matrix(a), b))            function(a, b, ...) callGeneric(Matrix(a), b))
280    
281    setMethod("solve", signature(a = "Matrix", b = "diagonalMatrix"),
282              function(a, b, ...) callGeneric(a, as(b,"CsparseMatrix")))
283    
284  ## when no sub-class method is found, bail out  ## when no sub-class method is found, bail out
285  setMethod("solve", signature(a = "Matrix", b = "Matrix"),  setMethod("solve", signature(a = "Matrix", b = "Matrix"),
286            function(a, b, ...) .bail.out.2("solve", class(a), class(b)))            function(a, b, ...) .bail.out.2("solve", class(a), class(b)))

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

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