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 869, Fri Aug 26 17:23:49 2005 UTC
# Line 1  Line 1 
1  - Report the problem in the Linux ldexp manual page.  The second and  - Report the problem in the Linux ldexp manual page.  The second and
2    third calls in the Synopsis should be to ldexpf and ldexpl.    third calls in the Synopsis should be to ldexpf and ldexpl.
3    
4  - [,] indexing  - [,] indexing: for sparse "works", but not yet for negative indices!
5    
6  - group generics: "Arith", but also "Ops" and "Math";  see  - group generics: "Arith" (partly done),
7    ?Math.data.frame  and the examples in    but also "Compare", "Math" etc;
8    ?SetGeneric    see ?Math  and the examples in ?SetGeneric
9    
10    - methods for rbind and cbind where they make sense
11      (Kurt is particularly interested in dgCMatrix ones, for pkg 'arules')
12      ****> UNFEASIBLE as long cbind is function(..., *) !!!! <*******
13        --> follow John's proposition  cbind(x, ...) via Generic cbind2(x,y)?
14    
15  - check to see if the .onLoad function to require the methods package  - consider moving alloc3Darray from ./src/Mutils.c to
16    (in the AllClass.R file) is needed    $(RSRC)/src/base/array.c
17    
18  - Should the uplo and diag slots continue to be stored as character?  - data/ : names 'mm' and even more 'y' are  ``too short''.
19    An alternative is to use a factor as in the enum values for the          If we really want to keep them, don't use "LazyData"
20    cblas.          (such that one needs  data(*) explicitly);
21            But MM would rather want something like  ex.mm and ex.y
22    
23  - Organization of the source code files - right now they are organized  -  slot "factors" maybe should move up to "Matrix"
   according to class (e.g. dgeMatrix.R, dgeMatrix.h, dgeMatrix.c).  Is  
   there a better way?  
24    
25  - Fix the calculation of the Dim slot for the crossprod method for  -------
   dgCMatrix objects (too tired to do that now).  
26    
27  - bCrosstab(): do we really want the diagonal "V:V" crosstabs?  We have a (at least one) basic problem :
28       Currently the show() method fail sometime after coercion:
29       e.g. 'sy' show()s wrongly, even though it "str()" fine :
30    
31  - src/Metis/ : some Makefile needs fixing, as changing src/Metis/*.c        (po <- crossprod(Matrix(0:3, 2))) # ok
32               does not lead to recompilation.        (ge <- as(po, "dgeMatrix")) # ok
33          (sy <- as(po, "dsyMatrix")) # BAD
34          str(sy) # looks fine
35    
36  - man/Matrix.Rd :  has example with dimnames, but we just drop them!    or
37                  MM thinks dimnames should be supported (but then ...)        example(expand) # -> ex$L and ex$U look bad, however
38          as(ex$L, "dgeMatrix") # `works'
39    
40  - data/ : names 'mm' and even more 'y' are  ``too short''.    {Of course, we don't need a workaround but must understand
41          If we really want to keep them, don't use "LazyData"     and solve the problem}
42          (such that one needs  data(*) explicitly);  
43          But MM would rather want something like  ex.mm and ex.y  ---
44    
45    - provide methods for "dspMatrix" and "dppMatrix"!
46    
47    - implement (more) methods for supporting "packed" (symmetric / triangular)
48      matrices; particularly something like pack() and unpack()  [to/from our
49      classes from/to "numeric"] --- have already man/unpack.Rd but no method yet!
50    
51      (have some dtr* <-> dtp*)
52    
53    - implement diagonal Matrix class  "ddiMatrix" etc
54      using constructor function Diagonal() or Diag().
55    
56    BUG: rcond() of a singular dpoMatrix gives a LaPack error instead of just 0:
57      MM <- crossprod(M <- Matrix(c(1:4,9:6), 2,4)) ; rcond(MM)
58      ##> Error in rcond(MM) : Lapack routine dpotrf returned error code 4
59    
60    
61    ---
62    
63    - combine the C functions for multiplication by special forms and
64      solution wrt special forms by using a 'right' argument and a
65      'classed' argument.
66       [done with dgeMatrix_matrix_mm();  not yet for other classes;
67        and for _crossprod()]
68    
69    - add more comprehensive examples / tests for Schur decomposition
70    
71    - arithmetic for sparse matrices:
72                 <sparseMatrix>  o  { <scalar> | <same-dim-sparseMatrix> }
73      should return a sparse matrix  for at least "+" and "*" , also %%,
74      and "/" and "%/%" at least when the RHS is non-zero a scalar.
75    
76    ---
77    
78    - in lmer.c check all instances of the use of ZtX and XtX and change
79      them so that having a negative last element of nc means use the
80      response only (but look for it in the right place).

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

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