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 2508, Thu Dec 24 09:47:57 2009 UTC revision 2544, Wed Jun 2 09:29:01 2010 UTC
# Line 953  Line 953 
953  }  }
954    
955  ## Direct subclasses of "denseMatrix": currently ddenseMatrix, ldense... :  ## Direct subclasses of "denseMatrix": currently ddenseMatrix, ldense... :
956    if(FALSE)## too general, would contain  denseModelMatrix:
957  dense.subCl <- local({ dM.scl <- getClass("denseMatrix")@subclasses  dense.subCl <- local({ dM.scl <- getClass("denseMatrix")@subclasses
958                         names(dM.scl)[sapply(dM.scl, slot, "distance") == 1] })                         names(dM.scl)[sapply(dM.scl, slot, "distance") == 1] })
959    dense.subCl <- paste(c("d","l","n"), "denseMatrix", sep="")
960  for(DI in diCls) {  for(DI in diCls) {
961      for(c2 in c(dense.subCl, "Matrix")) {      for(c2 in c(dense.subCl, "Matrix")) {
962          for(Fun in c("*", "^", "&")) {          for(Fun in c("*", "^", "&")) {

Legend:
Removed from v.2508  
changed lines
  Added in v.2544

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