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 924, Mon Sep 19 08:40:29 2005 UTC revision 925, Mon Sep 19 19:01:31 2005 UTC
# Line 129  Line 129 
129           validity = function(object) .Call("dppMatrix_validate", object)           validity = function(object) .Call("dppMatrix_validate", object)
130           )           )
131    
132    ##----- logical dense Matrices -- e.g. as result of <ddenseMatrix>  COMPARISON
133    
134    # numeric, dense, general matrices
135    setClass("lgeMatrix", contains = "ldenseMatrix",
136             ## checks that length( @ x) == prod( @ Dim):
137             validity = function(object) .Call("lgeMatrix_validate", object)
138             )
139    ## i.e. "lgeMatrix" cannot be packed, but "ldenseMatrix" can ..
140    
141    # numeric, dense, non-packed, triangular matrices
142    setClass("ltrMatrix",
143             contains = c("lgeMatrix", "triangularMatrix"),
144             prototype = prototype(uplo = "U", diag = "N"),
145             validity = function(object) .Call("ltrMatrix_validate", object)
146             )
147    
148    # numeric, dense, packed, triangular matrices
149    setClass("ltpMatrix",
150             contains = c("ldenseMatrix", "triangularMatrix"),
151             prototype = prototype(uplo = "U", diag = "N"),
152             validity = function(object) .Call("ltpMatrix_validate", object)
153             )
154    
155    # numeric, dense, non-packed symmetric matrices
156    setClass("lsyMatrix",
157             contains = c("lgeMatrix", "symmetricMatrix"),
158             prototype = prototype(uplo = "U"),
159             validity = function(object) .Call("lsyMatrix_validate", object)
160             )
161    
162    # numeric, dense, packed symmetric matrices
163    setClass("lspMatrix",
164             prototype = prototype(uplo = "U"),
165             contains = c("ldenseMatrix", "symmetricMatrix"),
166             validity = function(object) .Call("lspMatrix_validate", object)
167             )
168    
169  ##-------------------- S P A R S E (non-virtual) --------------------------  ##-------------------- S P A R S E (non-virtual) --------------------------
170    
171  ##---------- numeric sparse matrix classes --------------------------------  ##---------- numeric sparse matrix classes --------------------------------

Legend:
Removed from v.924  
changed lines
  Added in v.925

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