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 1365, Thu Aug 10 18:52:55 2006 UTC revision 1366, Sat Aug 12 17:31:39 2006 UTC
# Line 8  Line 8 
8  setAs("lsCMatrix", "lgCMatrix",  setAs("lsCMatrix", "lgCMatrix",
9        function(from) .Call(sCMatrix_to_gCMatrix, from))        function(from) .Call(sCMatrix_to_gCMatrix, from))
10    
11    ## Specific conversions, should they be necessary.  Better to convert as
12    ## as(x, "TsparseMatrix") or as(x, "denseMatrix")
13  setAs("lsCMatrix", "lsTMatrix",  setAs("lsCMatrix", "lsTMatrix",
14        function(from) .Call(Csparse_to_Tsparse, from))        function(from) .Call(Csparse_to_Tsparse, from, FALSE))
15    
16  setAs("lsCMatrix", "dsCMatrix",  setAs("lsCMatrix", "dsCMatrix",
17        function(from) new("dsCMatrix", i = from@i, p = from@p,        function(from) new("dsCMatrix", i = from@i, p = from@p,

Legend:
Removed from v.1365  
changed lines
  Added in v.1366

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