SCM

SCM Repository

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

Diff of /pkg/R/dMatrix.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 4  Line 4 
4  setAs("dMatrix", "matrix",  setAs("dMatrix", "matrix",
5        function(from) as(as(from, "dgeMatrix"), "matrix"))        function(from) as(as(from, "dgeMatrix"), "matrix"))
6    
7  ### Idea: Coercion between *VIRTUAL* classes -- as() chooses "closest" classes  ##-> "dMatrix" <--> "lMatrix"   ---> ./lMatrix.R
 ### ----  should also work e.g. for  triangular --> triangular !  
 ##  
 ## setAs("dMatrix", "lMatrix",  
 ##       function(from) {  
 ##       })  
   
 ##-> this is now in ./Matrix.R  
8    
9  ## Methods for operations where one argument is integer  ## Methods for operations where one argument is integer
10  ## No longer made use of (and confusing hence) since R version 2.1.0  ## No longer made use of (and confusing hence) since R version 2.1.0

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

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