SCM

SCM Repository

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

Diff of /pkg/R/lsCMatrix.R

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

revision 1279, Tue May 23 08:01:11 2006 UTC revision 1280, Tue May 23 08:01:44 2006 UTC
# Line 6  Line 6 
6        function(from) as(as(from, "lgCMatrix"), "matrix"))        function(from) as(as(from, "lgCMatrix"), "matrix"))
7    
8  setAs("lsCMatrix", "lgCMatrix",  setAs("lsCMatrix", "lgCMatrix",
9        function(from) .Call("sCMatrix_to_gCMatrix", from, PACKAGE = "Matrix"))        function(from) .Call(sCMatrix_to_gCMatrix, from))
10    
11  setAs("lsCMatrix", "lsTMatrix",  setAs("lsCMatrix", "lsTMatrix",
12        function(from) .Call("Csparse_to_Tsparse", from, PACKAGE = "Matrix"))        function(from) .Call(Csparse_to_Tsparse, from))
13    
14  setAs("lsCMatrix", "dsCMatrix",  setAs("lsCMatrix", "dsCMatrix",
15        function(from) new("dsCMatrix", i = from@i, p = from@p,        function(from) new("dsCMatrix", i = from@i, p = from@p,
# Line 28  Line 28 
28    
29  setMethod("chol", signature(x = "lsCMatrix", pivot = "missing"),  setMethod("chol", signature(x = "lsCMatrix", pivot = "missing"),
30            function(x, pivot, LINPACK)            function(x, pivot, LINPACK)
31            .Call("lsCMatrix_chol", x, TRUE, PACKAGE = "Matrix"))            .Call(lsCMatrix_chol, x, TRUE))
32    
33  setMethod("chol", signature(x = "lsCMatrix", pivot = "logical"),  setMethod("chol", signature(x = "lsCMatrix", pivot = "logical"),
34            function(x, pivot, LINPACK)            function(x, pivot, LINPACK)
35            .Call("lsCMatrix_chol", x, pivot, PACKAGE = "Matrix"))            .Call(lsCMatrix_chol, x, pivot))
36    
37  setMethod("t", signature(x = "lsCMatrix"),  setMethod("t", signature(x = "lsCMatrix"),
38            function(x)            function(x)
39            .Call("lsCMatrix_trans", x, PACKAGE = "Matrix"),            .Call(lsCMatrix_trans, x),
40            valueClass = "lsCMatrix")            valueClass = "lsCMatrix")

Legend:
Removed from v.1279  
changed lines
  Added in v.1280

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