SCM

SCM Repository

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

Diff of /pkg/R/lsCMatrix.R

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

revision 1618, Fri Oct 6 15:44:01 2006 UTC revision 1665, Fri Nov 3 23:18:07 2006 UTC
# Line 8  Line 8 
8  setAs("lsCMatrix", "lgCMatrix",  setAs("lsCMatrix", "lgCMatrix",
9        function(from) .Call(Csparse_symmetric_to_general, from))        function(from) .Call(Csparse_symmetric_to_general, from))
10    
11    ## for indexing
12    setAs("lsCMatrix", "lgTMatrix",
13          function(from) as(as(from, "lgCMatrix"), "lgTMatrix"))
14    
15  setAs("lgCMatrix", "lsCMatrix",  setAs("lgCMatrix", "lsCMatrix",
16        function(from) .Call(Csparse_general_to_symmetric, from, uplo = "U"))        function(from) .Call(Csparse_general_to_symmetric, from, uplo = "U"))
17  ## now use it:  ## now use it:

Legend:
Removed from v.1618  
changed lines
  Added in v.1665

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