SCM

SCM Repository

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

Diff of /pkg/R/AllClass.R

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

revision 847, Thu Aug 11 06:44:09 2005 UTC revision 848, Thu Aug 11 07:41:59 2005 UTC
# Line 39  Line 39 
39  setClass("zMatrix", # letter 'z' is as in the names of Lapack subroutines  setClass("zMatrix", # letter 'z' is as in the names of Lapack subroutines
40           representation(x = "complex", "VIRTUAL"), contains = "Matrix")           representation(x = "complex", "VIRTUAL"), contains = "Matrix")
41    
42    # Virtual class of dense matrices
43    setClass("denseMatrix", representation("VIRTUAL"), contains = "Matrix")
44    
45  # Virtual class of dense, numeric matrices  # Virtual class of dense, numeric matrices
46  setClass("ddenseMatrix",  setClass("ddenseMatrix",
47           representation(rcond = "numeric", factors = "list", "VIRTUAL"),           representation(rcond = "numeric", factors = "list", "VIRTUAL"),
48           contains = "dMatrix")           contains = c("dMatrix", "denseMatrix"))
49    
50  # Virtual class of dense, logical matrices  # Virtual class of dense, logical matrices
51  setClass("ldenseMatrix",  setClass("ldenseMatrix",
52           representation(x = "logical", factors = "list", "VIRTUAL"),           representation(x = "logical", factors = "list", "VIRTUAL"),
53           contains = "lMatrix")           contains = c("lMatrix", "denseMatrix"))
54    
55  ## virtual SPARSE ------------  ## virtual SPARSE ------------
56    
57  setClass("sparseMatrix", contains = "Matrix")# "VIRTUAL"  setClass("sparseMatrix", representation("VIRTUAL"),
58             contains = "Matrix")
59    
60  setClass("dsparseMatrix", contains = c("dMatrix", "sparseMatrix"))# "VIRTUAL"  setClass("dsparseMatrix", representation("VIRTUAL"),
61             contains = c("dMatrix", "sparseMatrix"))
62    
63  setClass("lsparseMatrix", contains = c("lMatrix", "sparseMatrix"))# "VIRTUAL"  setClass("lsparseMatrix", representation("VIRTUAL"),
64             contains = c("lMatrix", "sparseMatrix"))
65    
66  ## ------------------ Proper (non-virtual) Classes ----------------------------  ## ------------------ Proper (non-virtual) Classes ----------------------------
67    

Legend:
Removed from v.847  
changed lines
  Added in v.848

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