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 1446, Fri Aug 25 16:48:32 2006 UTC revision 1447, Fri Aug 25 20:38:36 2006 UTC
# Line 1  Line 1 
1  ### Define Methods that can be inherited for all subclasses  ### Define Methods that can be inherited for all subclasses
2    
3    ## This replaces many "d..Matrix" -> "dgeMatrix" ones
4    ## >> but << needs all sub(sub(sub)) classes of "ddenseMatrix" listed
5    ##   -----  in  ../src/Mutils.c
6    setAs("ddenseMatrix", "dgeMatrix",
7          function(from) .Call(dup_mMatrix_as_dgeMatrix, from))
8    
9    ## d(ouble) to l(ogical):
10  setAs("dgeMatrix", "lgeMatrix", d2l_Matrix)  setAs("dgeMatrix", "lgeMatrix", d2l_Matrix)
11  setAs("dtrMatrix", "ltrMatrix", d2l_Matrix)  setAs("dtrMatrix", "ltrMatrix", d2l_Matrix)
12  setAs("dtpMatrix", "ltpMatrix", d2l_Matrix)  setAs("dtpMatrix", "ltpMatrix", d2l_Matrix)

Legend:
Removed from v.1446  
changed lines
  Added in v.1447

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