SCM

SCM Repository

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

Diff of /pkg/R/sparseMatrix.R

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

revision 1931, Fri Jun 29 03:48:47 2007 UTC revision 1932, Fri Jun 29 16:43:47 2007 UTC
# Line 13  Line 13 
13    
14  setAs("sparseMatrix", "triangularMatrix", as_tSparse)  setAs("sparseMatrix", "triangularMatrix", as_tSparse)
15    
16  spMatrix <- function(nrow, ncol, i,j,x) {  spMatrix <- function(nrow, ncol,
17      ## Author: Martin Maechler, Date:  8 Jan 2007, 18:46                       i = integer(), j = integer(), x = numeric())
18    {
19      dim <- c(as.integer(nrow), as.integer(ncol))      dim <- c(as.integer(nrow), as.integer(ncol))
20      ## The conformability of (i,j,x) with itself and with 'dim'      ## The conformability of (i,j,x) with itself and with 'dim'
21      ## is checked automatically by internal "validObject()" inside new(.):      ## is checked automatically by internal "validObject()" inside new(.):

Legend:
Removed from v.1931  
changed lines
  Added in v.1932

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