SCM

SCM Repository

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

Diff of /pkg/R/lsparseMatrix.R

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

revision 1547, Mon Sep 11 14:49:39 2006 UTC revision 1548, Mon Sep 11 22:13:07 2006 UTC
# Line 1  Line 1 
1  #### Superclass Methods for all sparse logical matrices  #### Superclass Methods for all sparse logical matrices
2    
3  setAs("CsparseMatrix", "lsparseMatrix",  setAs("CsparseMatrix", "lsparseMatrix",
4        function(from) .Call(Csparse_to_logical, from,        function(from) as(.Call(Csparse_to_nz_pattern, from,
5                             is(from, "triangularMatrix")))                                is(from, "triangularMatrix")), "lsparseMatrix"))
6    
7    setAs("lsparseMatrix", "matrix",
8          function(from) as(as(from, "ldenseMatrix"), "matrix"))
9    
10    
11  ###------- Work via  as(*, lgC) : ------------  ###------- Work via  as(*, lgC) : ------------

Legend:
Removed from v.1547  
changed lines
  Added in v.1548

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