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 1714, Thu Dec 28 22:11:32 2006 UTC revision 1738, Tue Jan 23 17:17:15 2007 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    
 ## Should this method return 'from' without duplication when it has  
 ## class dgeMatrix?  
7  setAs("ddenseMatrix", "dgeMatrix",  setAs("ddenseMatrix", "dgeMatrix",
8        function(from) {        function(from) {
9            if (class(from) != "dgeMatrix")            if (class(from) != "dgeMatrix")
10                from <- .Call(dup_mMatrix_as_dgeMatrix, from)                .Call(dup_mMatrix_as_dgeMatrix, from)
11            from            else from
12        })        })
13    
14  ## d(ouble) to l(ogical):  ## d(ouble) to l(ogical):

Legend:
Removed from v.1714  
changed lines
  Added in v.1738

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