SCM

SCM Repository

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

Diff of /pkg/Matrix/R/AllClass.R

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

revision 2627, Mon Dec 6 14:33:15 2010 UTC revision 2628, Sat Dec 11 16:56:51 2010 UTC
# Line 150  Line 150 
150  setClass("nsparseMatrix", representation("VIRTUAL"),  setClass("nsparseMatrix", representation("VIRTUAL"),
151           contains = c("nMatrix", "sparseMatrix"))           contains = c("nMatrix", "sparseMatrix"))
152    
153    if(FALSE) { ##-- a nice idea --- but needs more careful method re-definitions
154                ##-- such that the *correct* methods are dispatched:
155    ## Trying to use more economical method defs:
156    setClass("dCsparseMatrix", representation("VIRTUAL"),
157             contains = c("CsparseMatrix", "dsparseMatrix"))
158    setClass("lCsparseMatrix", representation("VIRTUAL"),
159             contains = c("CsparseMatrix", "lsparseMatrix"))
160    setClass("nCsparseMatrix", representation("VIRTUAL"),
161             contains = c("CsparseMatrix", "nsparseMatrix"))
162    }
163    
164  ## ------------------ Proper (non-virtual) Classes ----------------------------  ## ------------------ Proper (non-virtual) Classes ----------------------------
165    
# Line 431  Line 441 
441           ## validity: Tsparse_ and symmetric*_validate should be enough           ## validity: Tsparse_ and symmetric*_validate should be enough
442           )           )
443    
444  ## nonzero pattern, sparse, sorted compressed column-oriented general matrices  ## nonzero pattern, sparse, sorted compressed column-oriented matrices
445    setClass("ngCMatrix",
446             contains = c("CsparseMatrix", "nsparseMatrix", "generalMatrix"),
447             ## validity: Csparse_validate should be enough
448             )
449    
450  setClass("ngCMatrix",  setClass("ngCMatrix",
451           contains = c("CsparseMatrix", "nsparseMatrix", "generalMatrix"),           contains = c("CsparseMatrix", "nsparseMatrix", "generalMatrix"),
452           ## validity: Csparse_validate should be enough           ## validity: Csparse_validate should be enough

Legend:
Removed from v.2627  
changed lines
  Added in v.2628

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