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 497, Fri Feb 4 18:15:24 2005 UTC revision 498, Fri Feb 4 18:15:54 2005 UTC
# Line 1  Line 1 
1  # Ensure that the methods package is available  ## Ensure that the methods package is available
2  .onLoad <- function(lib, pkg) {  .onLoad <- function(lib, pkg) {
3      require("methods", character = TRUE, quietly = TRUE)      require("methods", character = TRUE, quietly = TRUE)
4  }  }
# Line 42  Line 42 
42    
43  # numeric, dense, general matrices  # numeric, dense, general matrices
44  setClass("dgeMatrix", contains = "ddenseMatrix",  setClass("dgeMatrix", contains = "ddenseMatrix",
45           validity = function(object) { ## dgeMatrix checks the length of x is prod(Dim)           validity = function(object) { ## checks the length of x is prod(Dim)
46               .Call("dgeMatrix_validate", object)               .Call("dgeMatrix_validate", object)
47           })           })
48    
# Line 217  Line 217 
217    
218                         # correlation matrices and standard deviations                         # correlation matrices and standard deviations
219  setClass("corrmatrix", representation("matrix", stdDev = "numeric"))  setClass("corrmatrix", representation("matrix", stdDev = "numeric"))
   
   
   

Legend:
Removed from v.497  
changed lines
  Added in v.498

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