SCM

SCM Repository

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

Diff of /pkg/R/dtCMatrix.R

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

revision 1237, Thu Mar 30 15:23:47 2006 UTC revision 1238, Thu Mar 30 19:56:09 2006 UTC
# Line 27  Line 27 
27                    Dim = from@Dim, Dimnames = from@Dimnames)                    Dim = from@Dim, Dimnames = from@Dimnames)
28        })        })
29    
30    setAs("dgCMatrix", "dtCMatrix", # to triangular:
31          function(from) as(as(as(from, "dgTMatrix"), "dtTMatrix"), "dtCMatrix"))
32    
33  setAs("dtCMatrix", "dgTMatrix",  setAs("dtCMatrix", "dgTMatrix",
34        function(from)        function(from)
35        .Call("tsc_to_dgTMatrix", from, PACKAGE = "Matrix"))        .Call("tsc_to_dgTMatrix", from, PACKAGE = "Matrix"))

Legend:
Removed from v.1237  
changed lines
  Added in v.1238

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