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 482, Wed Feb 2 15:37:31 2005 UTC revision 483, Wed Feb 2 16:11:21 2005 UTC
# Line 1  Line 1 
1  setMethod("t", signature(x = "tscMatrix"),  setMethod("t", signature(x = "dtCMatrix"),
2            function(x) .Call("tsc_transpose", x),            function(x) .Call("tsc_transpose", x),
3            valueClass = "tscMatrix")            valueClass = "dtCMatrix")
4    
5  setAs("tscMatrix", "dgTMatrix",  setAs("dtCMatrix", "dgTMatrix",
6        function(from) .Call("tsc_to_dgTMatrix", from))        function(from) .Call("tsc_to_dgTMatrix", from))
7    
8  setAs("tscMatrix", "dgeMatrix",  setAs("dtCMatrix", "dgeMatrix",
9        function(from) as(as(from, "dgTMatrix"), "dgeMatrix"))        function(from) as(as(from, "dgTMatrix"), "dgeMatrix"))

Legend:
Removed from v.482  
changed lines
  Added in v.483

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