SCM

SCM Repository

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

Diff of /pkg/R/Auxiliaries.R

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

revision 1226, Mon Mar 13 14:07:58 2006 UTC revision 1227, Wed Mar 15 17:42:03 2006 UTC
# Line 82  Line 82 
82      da[2]      da[2]
83  }  }
84    
85    isPacked <- function(x)
86    {
87        ## Is 'x' a packed (dense) matrix ?
88        is(x,"Matrix") && !is.null(x@x) && length(x@x) < prod(dim(x))
89    }
90    
91  emptyColnames <- function(x)  emptyColnames <- function(x)
92  {  {
93      ## Useful for compact printing of (parts) of sparse matrices      ## Useful for compact printing of (parts) of sparse matrices

Legend:
Removed from v.1226  
changed lines
  Added in v.1227

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