SCM

SCM Repository

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

Diff of /pkg/Matrix/R/dgCMatrix.R

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

revision 3045, Mon Feb 16 14:39:35 2015 UTC revision 3046, Mon Feb 16 14:40:37 2015 UTC
# Line 93  Line 93 
93      }      }
94      n <- dim(a)[1L] ## == dim(a)[2], as a[.,.] is square matrix      n <- dim(a)[1L] ## == dim(a)[2], as a[.,.] is square matrix
95      b.isMat <-      b.isMat <-
96          if((b.miss <- missing(b))) {          if(missing(b)) {
97              ## default b = Identity = Diagonal(nrow(a)), however more efficiently              ## default b = Identity = Diagonal(nrow(a)), however more efficiently
98              b <- .sparseDiagonal(n)              b <- .sparseDiagonal(n)
99              TRUE              TRUE

Legend:
Removed from v.3045  
changed lines
  Added in v.3046

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