SCM

SCM Repository

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

Diff of /pkg/Matrix/R/diagMatrix.R

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

revision 3002, Mon Sep 1 15:31:40 2014 UTC revision 3015, Tue Oct 7 10:56:03 2014 UTC
# Line 520  Line 520 
520            function(x) { x@Dimnames <- x@Dimnames[2:1] ; x })            function(x) { x@Dimnames <- x@Dimnames[2:1] ; x })
521    
522  setMethod("isDiagonal",   "diagonalMatrix", function(object) TRUE)  setMethod("isDiagonal",   "diagonalMatrix", function(object) TRUE)
523  setMethod("isTriangular", "diagonalMatrix", function(object, ...) TRUE)  setMethod("isTriangular", "diagonalMatrix", function(object, upper=NA, ...) TRUE)
524  setMethod("isSymmetric",  "diagonalMatrix", function(object, ...) TRUE)  setMethod("isSymmetric",  "diagonalMatrix", function(object, ...) TRUE)
525    
526  setMethod("symmpart", signature(x = "diagonalMatrix"), function(x) x)  setMethod("symmpart", signature(x = "diagonalMatrix"), function(x) x)

Legend:
Removed from v.3002  
changed lines
  Added in v.3015

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