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 953, Wed Sep 28 19:31:36 2005 UTC revision 956, Fri Sep 30 17:28:00 2005 UTC
# Line 68  Line 68 
68  - "Math2" , "Math", "Arith":  - "Math2" , "Math", "Arith":
69     keep triangular and symmetric Matrices when appropriate:     keep triangular and symmetric Matrices when appropriate:
70     particularly desirable for  "Math2": round(), signif()     particularly desirable for  "Math2": round(), signif()
71    
72    - "d" <-> "l" coercion for all "[TCR]" sparse matrices is really trivial:
73      "d" -> "l" : drops the 'x' slot
74      "l" -> "d" : construct an 'x' slot of all '1'
75      We currently have many of these conversions explicitly, e.g.
76       setAs("dsTMatrix", "lsTMatrix",
77          function(from) new("lsTMatrix", i = from@i, j = from@j, uplo = from@uplo,
78                             Dim = from@Dim, Dimnames = from@Dimnames))
79      but I would rather want to automatically construct all these coercion
80      methods at once by a ``method constructor'', i.e.,
81      for all  "dsparse*" -> "lsparse*" and vice versa.
82      How can one do this {in a documented way} ?

Legend:
Removed from v.953  
changed lines
  Added in v.956

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