SCM Repository

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

revision 2175, Wed Apr 23 11:23:50 2008 UTC revision 2204, Sat Jun 14 20:10:03 2008 UTC
# Line 74  Line 74
74    specifically for multiplying a cholmod_sparse object by a diagonal matrix.    specifically for multiplying a cholmod_sparse object by a diagonal matrix.
75    Use it in %*% and [t]crossprod methods.    Use it in %*% and [t]crossprod methods.
76
77  - chol() and determinant() should ``work'': proper result or "good" error  - chol() should ``work'': proper result or "good" error message.
message.
78
79  - make sure *all* group methods have (maybe "bail-out") setMethod for "Matrix".  - make sure *all* group methods have (maybe "bail-out") setMethod for "Matrix".
80    e.g. zapsmall(<pMatrix>) fails "badly"    e.g. zapsmall(<pMatrix>) fails "badly"
81
- sum(): implement methods which work for *all* our matrices.

82  - Implement  expand(.) for the Cholesky() results  - Implement  expand(.) for the Cholesky() results
83    "dCHMsimpl" and  "dCHMsuper"  -- currently have no *decent* way to get at    "dCHMsimpl" and  "dCHMsuper"  -- currently have no *decent* way to get at
84    the matrix factors of the corresponding matrix factorization !!    the matrix factors of the corresponding matrix factorization !!
# Line 99  Line 96
96    --> R/diagMatrix.R ('FIXME')    --> R/diagMatrix.R ('FIXME')
97    but also R/Ops.R  to ensure  sp-sym. + sp-sym. |-> sp-sym.  etc    but also R/Ops.R  to ensure  sp-sym. + sp-sym. |-> sp-sym.  etc
98
- Diagonal(n) %*% A ---  too slow!! --> ~/R/MM/Pkg-ex/Matrix/diag-Tamas-ex.R

99  - ! <symmetricMatrix>  loses symmetry, both for dense and sparse matrices.  - ! <symmetricMatrix>  loses symmetry, both for dense and sparse matrices.
100    !M  where M is "sparseMatrix", currently always gives dense. This only    !M  where M is "sparseMatrix", currently always gives dense. This only
101    makes sense when M is ``really sparse''.    makes sense when M is ``really sparse''.
102
- msy <- as(matrix(c(2:1,1:2),2), "dsyMatrix"); str(msy)

shows that the Cholesky factorization is computed ``too quickly''.
Can be a big pain for largish matrices, when it is unneeded.

103  - example(Cholesky, echo=FALSE) ; cm <- chol(mtm); str(cm); str(mtm)  - example(Cholesky, echo=FALSE) ; cm <- chol(mtm); str(cm); str(mtm)
104
105    shows that chol() does not seems to make use of an already    shows that chol() does not seems to make use of an already
# Line 182  Line 172
172    An R (instead of C) version should be pretty simple, and would work with    An R (instead of C) version should be pretty simple, and would work with
173    connections automatically ["lsparse" become either "real" or    connections automatically ["lsparse" become either "real" or
174    "pattern", "depending if they have NAs or not].    "pattern", "depending if they have NAs or not].
175
176    - <diagMatrix> o <ddenseMatrix> currently works via sparse, but
177      should return <diagMatrix> in the same cases where
178      <diagMatrix> o <numeric> does.

Legend:
 Removed from v.2175 changed lines Added in v.2204

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