SCM

SCM Repository

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

Diff of /pkg/R/lgTMatrix.R

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

revision 867, Fri Aug 19 16:59:46 2005 UTC revision 868, Fri Aug 19 17:01:11 2005 UTC
# Line 5  Line 5 
5  setAs("lgTMatrix", "lgCMatrix",  setAs("lgTMatrix", "lgCMatrix",
6        function(from) .Call("lgTMatrix_as_lgCMatrix", from))        function(from) .Call("lgTMatrix_as_lgCMatrix", from))
7    
8    setAs("lgTMatrix", "matrix",
9          function(from) as(as(from, "lgCMatrix"), "matrix"))
10    
11  setMethod("t", signature(x = "lgTMatrix"),  setMethod("t", signature(x = "lgTMatrix"),
12            function(x) new("lgTMatrix", i = from@j, j = from@i,            function(x) new("lgTMatrix", i = from@j, j = from@i,
13                            Dim = from@Dim[c(2,1)],                            Dim = from@Dim[c(2,1)],

Legend:
Removed from v.867  
changed lines
  Added in v.868

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