SCM

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 1228, Wed Mar 15 17:43:34 2006 UTC
# Line 1  Line 1 
1    ------
2    - Sparse matrix methods can now be based on the CHOLMOD package.  We
3       will need to migrate from the current code to CHOLMOD-based code
4       using #ifdef USE_CHOLMOD.  Some of the things to be done
5    
6       - Move documentation from subdirectories of src to inst/doc
7       - Write utilities to create a cholmod_sparse pointer from a
8       dgCMatrix or lgCMatrix (or zgCMatrix) object without copying and
9       allocating.
10       - Start adding simple S4 methods (rcond, %*%, +, cbind, t).
11    
12  - Report the problem in the Linux ldexp manual page.  The second and  - Report the problem in the Linux ldexp manual page.  The second and
13    third calls in the Synopsis should be to ldexpf and ldexpl.    third calls in the Synopsis should be to ldexpf and ldexpl.
14    
15  - [,] indexing  - [,] indexing: for sparse "works", but not yet for negative indices!
16    
17    - consider moving alloc3Darray from ./src/Mutils.c to
18      $(RSRC)/src/base/array.c
19    
20    -------
21    
22    - provide methods for "dspMatrix" and "dppMatrix"!
23    
24    - implement (more) methods for supporting "packed" (symmetric / triangular)
25      matrices; particularly something like pack() and unpack()  [to/from our
26      classes from/to "numeric"] --- have already man/unpack.Rd but no method yet!
27    
28      (have some dtr* <-> dtp*)
29    
30    ---
31    
32    - combine the C functions for multiplication by special forms and
33      solution wrt special forms by using a 'right' argument and a
34      'classed' argument.
35       [done with dgeMatrix_matrix_mm();  not yet for other classes;
36        and for _crossprod()]
37    
38  - group generics: "Arith", but also "Ops" and "Math";  see  - add more comprehensive examples / tests for Schur decomposition
   ?Math.data.frame  and the examples in  
   ?SetGeneric  
39    
40  - check to see if the .onLoad function to require the methods package  - arithmetic for sparse matrices:
41    (in the AllClass.R file) is needed               <sparseMatrix>  o  <same-dim-sparseMatrix>
42      should return a sparse matrix  for at least "+" and "*" , also %%,
43      and "/" and "%/%" at least when the RHS is non-zero a scalar.
44      Challenge: nice implementation (``common non-0''; but Tsparse* is not uniq).
45    
46  - Should the uplo and diag slots continue to be stored as character?  ---
   An alternative is to use a factor as in the enum values for the  
   cblas.  
47    
48  - Organization of the source code files - right now they are organized  - "Math2" , "Math", "Arith":
49    according to class (e.g. dgeMatrix.R, dgeMatrix.h, dgeMatrix.c).  Is     keep triangular and symmetric Matrices when appropriate:
50    there a better way?     particularly desirable for  "Math2": round(), signif()
51    
52  - Fix the calculation of the Dim slot for the crossprod method for  - "d" <-> "l" coercion for all "[TCR]" sparse matrices is really trivial:
53    dgCMatrix objects (too tired to do that now).    "d" -> "l" : drops the 'x' slot
54      "l" -> "d" : construct an 'x' slot of all '1'
55      We currently have many of these conversions explicitly, e.g.
56       setAs("dsTMatrix", "lsTMatrix",
57          function(from) new("lsTMatrix", i = from@i, j = from@j, uplo = from@uplo,
58                             Dim = from@Dim, Dimnames = from@Dimnames))
59      but I would rather want to automatically construct all these coercion
60      methods at once by a ``method constructor'', i.e.,
61      for all  "dsparse*" -> "lsparse*" and vice versa.
62      How can one do this {in a documented way} ?
63    
64  - bCrosstab(): do we really want the diagonal "V:V" crosstabs?  - tcrossprod(x, y) : do provide methods for y != NULL
65      calling Lapack's DGEMM for "dense"
66      [2005-12-xx: done for dgeMatrix at least]
67    
68  - src/Metis/ : some Makefile needs fixing, as changing src/Metis/*.c  - "ltTmatrix" :
69               does not lead to recompilation.    2) new("ltTMatrix", diag = "U", Dim = c(2:2, 2:2)) shows lack of ltTM*_validate
70    
71  - man/Matrix.Rd :  has example with dimnames, but we just drop them!  - BUGlet:  Shouldn't lose factorization here:
72                  MM thinks dimnames should be supported (but then ...)    h6 <- Hilbert(6); chol(h6) ; str(h6) # has factor
73      str(H6 <- as(h6, "dspMatrix"))       # has lost factor
74      ## and the same in a similar situation involving  "dpo", "dpp"
75    
76  - data/ : names 'mm' and even more 'y' are  ``too short''.  - "Compare" for dgC & dgT  --- want to be able to do  M[M > 10]  etc
         If we really want to keep them, don't use "LazyData"  
         (such that one needs  data(*) explicitly);  
         But MM would rather want something like  ex.mm and ex.y  

Legend:
Removed from v.510  
changed lines
  Added in v.1228

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