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 955, Thu Sep 29 19:32:14 2005 UTC revision 956, Fri Sep 30 17:28:00 2005 UTC
# Line 2  Line 2 
2            function(x) .Call("tsc_transpose", x),            function(x) .Call("tsc_transpose", x),
3            valueClass = "dtCMatrix")            valueClass = "dtCMatrix")
4    
5  setMethod("image", signature(x = "dtCMatrix"),  setAs("dtCMatrix", "ltCMatrix",
6            function(x, ...) image(as(x, "dgTMatrix"), ...))        function(from) new("ltCMatrix", i = from@i, p = from@p,
7                             uplo = from@uplo, diag = from@diag,
8                             Dim = from@Dim, Dimnames = from@Dimnames))
9    
10  setAs("dtCMatrix", "dgTMatrix",  setAs("dtCMatrix", "dgTMatrix",
11        function(from) .Call("tsc_to_dgTMatrix", from))        function(from) .Call("tsc_to_dgTMatrix", from))

Legend:
Removed from v.955  
changed lines
  Added in v.956

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