SCM

SCM Repository

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

Diff of /pkg/R/dgeMatrix.R

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

revision 572, Fri Feb 25 14:11:54 2005 UTC revision 573, Sat Feb 26 18:06:08 2005 UTC
# Line 74  Line 74 
74                } else stop ("length of 1st arg does not match dimension of 2nd")                } else stop ("length of 1st arg does not match dimension of 2nd")
75            })            })
76    
77    setMethod("Math",
78              signature(x = "dgeMatrix"),
79              function(x) {
80                  x@x <- callGeneric(x@x)
81                  x
82              })
83    
84    ## help(Math2)  mentions this uglyness:
85    setGeneric("round",  group="Math2")
86    setGeneric("signif", group="Math2")
87    
88    setMethod("Math2",
89              signature(x = "dgeMatrix", digits = "numeric"),
90              function(x, digits) {
91                  x@x <- callGeneric(x@x, digits = digits)
92                  x
93              })
94    
95    ## TODO :  "Compare" -> returning  logical Matrices
96    
97    
98  ## -- end{group generics} -----------------------  ## -- end{group generics} -----------------------
99    
100    

Legend:
Removed from v.572  
changed lines
  Added in v.573

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