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 1375, Tue Aug 15 18:21:49 2006 UTC revision 1376, Tue Aug 15 18:22:54 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",
4          function(from) .Call(Csparse_to_logical, from,
5                               is(from, "triangularMatrix")))
6    
7    
8  ###------- Work via  as(*, lgC) : ------------  ###------- Work via  as(*, lgC) : ------------
9    
10  ## For multiplication operations, sparseMatrix overrides other method  ## For multiplication operations, sparseMatrix overrides other method
# Line 31  Line 36 
36    
37  setMethod("diag", signature(x = "lsparseMatrix"),  setMethod("diag", signature(x = "lsparseMatrix"),
38            function(x, nrow, ncol = n) diag(as(x, "lgCMatrix")))            function(x, nrow, ncol = n) diag(as(x, "lgCMatrix")))
   

Legend:
Removed from v.1375  
changed lines
  Added in v.1376

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