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 475, Tue Feb 1 14:44:06 2005 UTC revision 476, Wed Feb 2 11:51:24 2005 UTC
# Line 9  Line 9 
9  # general double-precision matrices  # general double-precision matrices
10  setClass("geMatrix",  setClass("geMatrix",
11           representation(x = "numeric", Dim = "integer",           representation(x = "numeric", Dim = "integer",
12                          rcond = "numeric", factorization = "list"),                          rcond = "numeric", factors = "list"),
13           prototype = prototype(x = numeric(0), Dim = as.integer(c(0,0)),           prototype = prototype(x = numeric(0), Dim = as.integer(c(0,0)),
14                                 rcond = numeric(0),                                 rcond = numeric(0),
15                                 factorization = list()),                                 factors = list()),
16           contains = "Matrix",           contains = "Matrix",
17           validity = function(object) {           validity = function(object) {
18               .Call("geMatrix_validate", object)               .Call("geMatrix_validate", object)
# Line 35  Line 35 
35           representation(uplo = "character"),           representation(uplo = "character"),
36           prototype = prototype(uplo = "U",           prototype = prototype(uplo = "U",
37             x = numeric(0), Dim = as.integer(c(0,0)),             x = numeric(0), Dim = as.integer(c(0,0)),
38             rcond = numeric(0), factorization = list()),             rcond = numeric(0), factors = list()),
39           contains = "geMatrix",           contains = "geMatrix",
40           validity = function(object) {           validity = function(object) {
41               .Call("syMatrix_validate", object)               .Call("syMatrix_validate", object)
# Line 48  Line 48 
48  setClass("poMatrix", contains = "syMatrix",  setClass("poMatrix", contains = "syMatrix",
49           prototype = prototype(uplo = "U",           prototype = prototype(uplo = "U",
50             x = numeric(0), Dim = as.integer(c(0,0)),             x = numeric(0), Dim = as.integer(c(0,0)),
51             rcond = numeric(0), factorization = list())             rcond = numeric(0), factors = list())
52           )           )
53    
54  # Sparse general matrix in sorted compressed sparse column format  # Sparse general matrix in sorted compressed sparse column format
55  setClass("cscMatrix",  setClass("cscMatrix",
56           representation(p = "integer", i = "integer", x = "numeric",           representation(p = "integer", i = "integer", x = "numeric",
57                          Dim = "integer", factorization = "list"),                          Dim = "integer", factors = "list"),
58           prototype = prototype(p = as.integer(0), i = integer(0),           prototype = prototype(p = as.integer(0), i = integer(0),
59                          x = numeric(0), Dim = as.integer(c(0, 0))),                          x = numeric(0), Dim = as.integer(c(0, 0))),
60           validity = function(object)           validity = function(object)

Legend:
Removed from v.475  
changed lines
  Added in v.476

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