SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/R/ddenseMatrix.R
ViewVC logotype

Diff of /pkg/Matrix/R/ddenseMatrix.R

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

revision 3079, Tue Mar 31 15:29:43 2015 UTC revision 3092, Thu Apr 2 10:56:59 2015 UTC
# Line 4  Line 4 
4  ## >> but << needs all sub(sub(sub)) classes of "ddenseMatrix" listed  ## >> but << needs all sub(sub(sub)) classes of "ddenseMatrix" listed
5  ##   -----  in  ../src/Mutils.c  ##   -----  in  ../src/Mutils.c
6    
7  setAs("ddenseMatrix", "dgeMatrix",  setAs("ddenseMatrix", "dgeMatrix", ..2dge)
       function(from) .Call(dup_mMatrix_as_dgeMatrix, from))  
8    
9  setAs("ddenseMatrix", "matrix",  setAs("ddenseMatrix", "matrix",
10        function(from) as(as(from, "dgeMatrix"), "matrix"))        function(from) as(..2dge(from), "matrix"))
11    
12  ## d(ouble) to l(ogical):  ## d(ouble) to l(ogical):
13  setAs("dgeMatrix", "lgeMatrix", function(from) d2l_Matrix(from, "dgeMatrix"))  setAs("dgeMatrix", "lgeMatrix", function(from) d2l_Matrix(from, "dgeMatrix"))

Legend:
Removed from v.3079  
changed lines
  Added in v.3092

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