SCM Repository

[matrix] Diff of /pkg/TODO
ViewVC logotype

Diff of /pkg/TODO

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

revision 510, Fri Feb 4 23:36:17 2005 UTC revision 976, Fri Oct 7 20:18:29 2005 UTC
# Line 1  Line 1 
1    - Sparse matrix methods can now be based on the CHOLMOD package.  We
2       will need to migrate from the current code to CHOLMOD-based code
3       using #ifdef USE_CHOLMOD.  Some of the things to be done
5       - Move documentation from subdirectories of src to inst/doc
6       - Write utilities to create a cholmod_sparse pointer from a
7       dgCMatrix or lgCMatrix (or zgCMatrix) object without copying and
8       allocating.
9       - Start adding simple S4 methods (rcond, %*%, +, cbind, t).
11  - Report the problem in the Linux ldexp manual page.  The second and  - Report the problem in the Linux ldexp manual page.  The second and
12    third calls in the Synopsis should be to ldexpf and ldexpl.    third calls in the Synopsis should be to ldexpf and ldexpl.
14  - [,] indexing  - [,] indexing: for sparse "works", but not yet for negative indices!
16    - consider moving alloc3Darray from ./src/Mutils.c to
17      $(RSRC)/src/base/array.c
19    -------
21    - provide methods for "dspMatrix" and "dppMatrix"!
23    - implement (more) methods for supporting "packed" (symmetric / triangular)
24      matrices; particularly something like pack() and unpack()  [to/from our
25      classes from/to "numeric"] --- have already man/unpack.Rd but no method yet!
27      (have some dtr* <-> dtp*)
29    - implement diagonal Matrix class  "ddiMatrix" etc
30      using constructor function Diagonal() or Diag().
32    - rcond() of a singular dpoMatrix gives a LaPack error instead of just 0:
33      MM <- crossprod(M <- Matrix(c(1:4,9:6), 2,4)) ; rcond(MM)
34      ##> Error in rcond(MM) : Lapack routine dpotrf returned error code 4
35      It's .Call("dpoMatrix_rcond") --> set_rcond() in src/dpoMatrix.c
36      and in src/dppMatrix.c similarly.
38  - group generics: "Arith", but also "Ops" and "Math";  see    Done(2005-10-03): The error message is more helpful now.
   ?  and the examples in  
40  - check to see if the .onLoad function to require the methods package  ---
   (in the AllClass.R file) is needed  
42  - Should the uplo and diag slots continue to be stored as character?  - combine the C functions for multiplication by special forms and
43    An alternative is to use a factor as in the enum values for the    solution wrt special forms by using a 'right' argument and a
44    cblas.    'classed' argument.
45       [done with dgeMatrix_matrix_mm();  not yet for other classes;
46        and for _crossprod()]
48  - Organization of the source code files - right now they are organized  - add more comprehensive examples / tests for Schur decomposition
   according to class (e.g. dgeMatrix.R, dgeMatrix.h, dgeMatrix.c).  Is  
   there a better way?  
50  - Fix the calculation of the Dim slot for the crossprod method for  - arithmetic for sparse matrices:
51    dgCMatrix objects (too tired to do that now).               <sparseMatrix>  o  <same-dim-sparseMatrix>
52      should return a sparse matrix  for at least "+" and "*" , also %%,
53      and "/" and "%/%" at least when the RHS is non-zero a scalar.
54      Challenge: nice implementation (``common non-0''; but Tsparse* is not uniq).
56  - bCrosstab(): do we really want the diagonal "V:V" crosstabs?  ---
58  - src/Metis/ : some Makefile needs fixing, as changing src/Metis/*.c  - Create a Harwell-Boeing version of the matrix mm and the response
59               does not lead to recompilation.    vector y in inst/external and remove them from the data directory.
60      Modify any examples that use them and modify the Comparisons vignette.
62  - man/Matrix.Rd :  has example with dimnames, but we just drop them!  - "Math2" , "Math", "Arith":
63                  MM thinks dimnames should be supported (but then ...)     keep triangular and symmetric Matrices when appropriate:
64       particularly desirable for  "Math2": round(), signif()
66  - data/ : names 'mm' and even more 'y' are  ``too short''.  - "d" <-> "l" coercion for all "[TCR]" sparse matrices is really trivial:
67          If we really want to keep them, don't use "LazyData"    "d" -> "l" : drops the 'x' slot
68          (such that one needs  data(*) explicitly);    "l" -> "d" : construct an 'x' slot of all '1'
69          But MM would rather want something like and ex.y    We currently have many of these conversions explicitly, e.g.
70       setAs("dsTMatrix", "lsTMatrix",
71          function(from) new("lsTMatrix", i = from@i, j = from@j, uplo = from@uplo,
72                             Dim = from@Dim, Dimnames = from@Dimnames))
73      but I would rather want to automatically construct all these coercion
74      methods at once by a ``method constructor'', i.e.,
75      for all  "dsparse*" -> "lsparse*" and vice versa.
76      How can one do this {in a documented way} ?

Removed from v.510  
changed lines
  Added in v.976
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge