SCM

SCM Repository

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

Diff of /pkg/R/Matrix.R

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

revision 1331, Sat Jul 22 17:59:53 2006 UTC revision 1332, Thu Jul 27 13:42:18 2006 UTC
# Line 124  Line 124 
124                          if(is.logical(data)) "lgTMatrix" else                          if(is.logical(data)) "lgTMatrix" else
125                          stop("invalid 'data'"),                          stop("invalid 'data'"),
126                          Dim = as.integer(c(nrow,ncol)),                          Dim = as.integer(c(nrow,ncol)),
127                          Dimnames = if(is.null(dimnames))                          Dimnames = if(is.null(dimnames)) list(NULL,NULL)
128                          list(NULL,NULL) else dimnames)                          else dimnames)
129          } else { ## normal case          } else { ## normal case
130              data <- .Internal(matrix(data, nrow, ncol, byrow))              data <- .Internal(matrix(data, nrow, ncol, byrow))
131              if(is.null(sparse))              if(is.null(sparse))

Legend:
Removed from v.1331  
changed lines
  Added in v.1332

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