SCM

SCM Repository

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

Diff of /pkg/R/denseMatrix.R

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

revision 1289, Tue Jun 6 14:48:37 2006 UTC revision 1290, Thu Jun 8 09:30:21 2006 UTC
# Line 117  Line 117 
117  setMethod("isTriangular", signature(object = "denseMatrix"), isTriMat)  setMethod("isTriangular", signature(object = "denseMatrix"), isTriMat)
118    
119  setMethod("isDiagonal", signature(object = "denseMatrix"), .is.diagonal)  setMethod("isDiagonal", signature(object = "denseMatrix"), .is.diagonal)
120    
121    .as.dge.Fun <- function(x, na.rm = FALSE, dims = 1) {
122        x <- as(x, "dgeMatrix")
123        callGeneric()
124    }
125    setMethod("colSums",  signature(x = "denseMatrix"), .as.dge.Fun)
126    setMethod("colMeans", signature(x = "denseMatrix"), .as.dge.Fun)
127    setMethod("rowSums",  signature(x = "denseMatrix"), .as.dge.Fun)
128    setMethod("rowMeans", signature(x = "denseMatrix"), .as.dge.Fun)

Legend:
Removed from v.1289  
changed lines
  Added in v.1290

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