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 1365, Thu Aug 10 18:52:55 2006 UTC revision 1366, Sat Aug 12 17:31:39 2006 UTC
# Line 53  Line 53 
53                Dimnames = x@Dimnames, uplo = from@uplo, diag = from@diag)                Dimnames = x@Dimnames, uplo = from@uplo, diag = from@diag)
54        })        })
55    
56  setAs("dtCMatrix", "TsparseMatrix", function(from) as(from, "dtTMatrix"))  ## Now that we support triangular matrices use the inherited method.
57    ## setAs("dtCMatrix", "TsparseMatrix", function(from) as(from, "dtTMatrix"))
58    
59  setAs("dtCMatrix", "dtrMatrix",  setAs("dtCMatrix", "dtrMatrix",
60        function(from) as(as(from, "dtTMatrix"), "dtrMatrix"))        function(from) as(as(from, "dtTMatrix"), "dtrMatrix"))

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