SCM

SCM Repository

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

Diff of /pkg/R/dsCMatrix.R

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

revision 682, Thu Mar 31 08:07:02 2005 UTC revision 683, Thu Mar 31 17:10:16 2005 UTC
# Line 17  Line 17 
17        function(from) as(as(from, "dsTMatrix"), "dsyMatrix"))        function(from) as(as(from, "dsTMatrix"), "dsyMatrix"))
18  }# not yet  }# not yet
19    
20    setMethod("solve", signature(a = "dsCMatrix", b = "dgeMatrix"),
21              function(a, b, ...)
22              .Call("dsCMatrix_matrix_solve", a, b, TRUE),
23              valueClass = "dgeMatrix")
24    
25  setMethod("solve", signature(a = "dsCMatrix", b = "matrix"),  setMethod("solve", signature(a = "dsCMatrix", b = "matrix"),
26            function(a, b, ...)            function(a, b, ...)
27            .Call("dsCMatrix_matrix_solve", a, b))            .Call("dsCMatrix_matrix_solve", a, b, FALSE),
28              valueClass = "dgeMatrix")
29    
30    ##setMethod("solve", signature(a = "dsCMatrix", b = "numeric"),
31    ##          function(a, b, ...) callGeneric(a, as.matrix(b)),
32    ##          valueClass = "dgeMatrix")
33    
34  setMethod("chol", signature(x = "dsCMatrix", pivot = "missing"),  setMethod("chol", signature(x = "dsCMatrix", pivot = "missing"),
35            function(x, pivot, LINPACK) .Call("dsCMatrix_chol", x, TRUE))            function(x, pivot, LINPACK) .Call("dsCMatrix_chol", x, TRUE))

Legend:
Removed from v.682  
changed lines
  Added in v.683

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business University of Wisconsin - Madison Powered By FusionForge