SCM Repository

[matrix] Diff of /pkg/TODO
 [matrix] / pkg / TODO Diff of /pkg/TODO

revision 1833, Tue May 8 12:25:57 2007 UTC revision 1887, Thu Jun 7 09:04:34 2007 UTC
# Line 130  Line 130
130
131  - sparse-symmetric + diagonal should stay sparse-symmetric  - sparse-symmetric + diagonal should stay sparse-symmetric
132    (only stays sparse): Matrix(0, 4, 4) + Diagonal(4, 1:4)    (only stays sparse): Matrix(0, 4, 4) + Diagonal(4, 1:4)
133      --> R/diagMatrix.R ('FIXME')
134      but also R/Ops.R  to ensure  sp-sym. + sp-sym. |-> sp-sym.  etc
135
136  - For a square sparse matrix 'b' {typically dgCMatrix or dgTMatrix},  - For a square sparse matrix 'b' {typically dgCMatrix or dgTMatrix},
137    we'd want a function  "Mat_plus_t_Mat" <- function(b) {....}    we'd want a function  "Mat_plus_t_Mat" <- function(b) {....}
# Line 139  Line 141
141  - ! <symmetricMatrix>  loses symmetry, both for dense and sparse matrices.  - ! <symmetricMatrix>  loses symmetry, both for dense and sparse matrices.
142    !M  where M is "sparseMatrix", currently always gives dense. This only    !M  where M is "sparseMatrix", currently always gives dense. This only
143    makes sense when M is ``really sparse''.    makes sense when M is ``really sparse''.
144
145    - column names of sparse matrices are not printed;
146      we now "mention" them (if they are non-empty).
147      Option:
148            build show( <sparseMatrix>) on a function, possibly
149            print.sparseMatrix(), which gets an argument such as
150            'col.names.show  = FALSE' which is documented and can be set to TRUE
151
152    - 'arules' needs fast colSums() and rowSums() - for ngCMatrix;
153      do it for "nMatrix" and "lMatrix" and return *integer*

Legend:
 Removed from v.1833 changed lines Added in v.1887

 root@r-forge.r-project.org ViewVC Help Powered by ViewVC 1.0.0
Thanks to:  