SCM

SCM Repository

[matrix] Diff of /pkg/ChangeLog
ViewVC logotype

Diff of /pkg/ChangeLog

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

revision 2005, Wed Jul 18 14:46:20 2007 UTC revision 2113, Mon Feb 18 08:27:41 2008 UTC
# Line 1  Line 1 
1    2008-02-16  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/Matrix.R (subset.ij): utility, as first step to faster
4               M [ <ij-matrix> ] indexing.
5    
6            * R/Matrix.R (.M.sub.i.logical): M[ <logical> ] : try better.
7    
8            * src/dense.c (ddense_symmpart, ddense_skewpart): new functions
9            for more efficient symmpart() and skewpart() methods.
10    
11            * src/Mutils.c (equal_string_vectors): utility
12    
13            * src/dense.c (ddense_to_symmetric): new function used in
14    
15            * R/symmetricMatrix.R: setAs(., "symmetricMatrix")
16    
17            * R/sparseMatrix.R, et_al (isSymmetric): add '...' to formals, in
18            order to match the generic (and evade .local(..)).
19    
20            * R/dsCMatrix.R: dgC -> dsC: use C code!
21    
22            * NAMESPACE, R/AllGeneric.R (symmpart, skewpart): new functions
23            as per TODO
24    
25            * R/Auxiliaries.R (setZero, all0Matrix): new utilities
26    
27            * R/symmetricMatrix.R: obvious symmpart(), skewpart() methods
28    
29    
30    2008-02-15  Martin Maechler  <maechler@stat.math.ethz.ch>
31    
32            * R/Ops.R (.Arith.Csparse): use diagU2N when needed in triangular
33    
34            * R/Auxiliaries.R (non0.i): take out of non0ind
35    
36            * R/ddenseMatrix.R (.trilDense, .triuDense, .bandDense):
37            make tril(), triu(), band() work for "matrix" and all "dense*"
38    
39            * R/triangularMatrix.R (.tri[lu].tr): need .diagU2N(*)
40            * tests/simple.R: test the fix above
41    
42            * R/sparseMatrix.R ([): simplification: no coerce to <general>
43                    before we use as(., <Tsparse>)[...] anyway
44    
45            * R/Rsparse.R (.viaC.to.R): mostly instead of .viaC.to.dgR()
46    
47            * R/triangularMatrix.R (isTriangular): methods for all subclasses
48            instead of "triangularMatrix" -- just to disambiguate
49    
50    2008-02-14  Martin Maechler  <maechler@stat.math.ethz.ch>
51    
52            * tests/Class+Meth.R (dotestMat): add m[FALSE, FALSE] { <-> TODO}
53            * tests/indexing.R: example that fails above
54    
55    2008-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
56    
57            * R/Matrix.R (.M.sub.i.2col): fix for logical matrix indexing
58            * R/Tsparse.R (.TM.sub.i.2col, .TM.repl.i.2col): ditto;
59                    now, M[lower.tri(M)] and  M[lower.tri(M)] <- v  work better
60    
61            * src/Tsparse.c (Tsparse_to_tCsparse): new fast utility.
62            * src/Tsparse.h, init.c: ditto
63            * R/Auxiliaries.R (isTriT): new; faster than going via Csparse
64                 both isTriC() and isTriT() now return TRUE with "kind" or FALSE.
65            * R/sparseMatrix.R (isTriangular): hence simplified
66    
67    2008-01-24  Martin Maechler  <maechler@stat.math.ethz.ch>
68    
69            * R/Ops.R (.Arith.Csparse): new utility factored out of former
70              <dgC> o <dgC>, extended for triangular and also used in  <dtC> o <dtC>.
71    
72    2008-01-23  Martin Maechler  <maechler@stat.math.ethz.ch>
73    
74            * tests/factorizing.R (checkSchur): and more tests for checking Schur()
75    
76            * inst/test-tools.R (isOrthogonal): new function; also file restructured
77    
78    2008-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
79    
80            * R/ngTMatrix.R: allow as(<numeric matrix>, "ngTMatrix") and hence
81            coercion to "nMatrix" and "pMatrix"
82    
83            * R/AllClass.R: "Schur" class;  "number" class union
84            * man/number-class.Rd:
85            * man/Schur-class.Rd:
86    
87            * R/eigen.R (.dgeSchur): utility, and return "Schur" class
88            (.simpleSchur): Schur() method for diagonal matrices
89            (.triSchur):    Schur() method for triangular matrices
90            (Schur.sym):    Schur() for symmetric matrices {building on eigen()}.
91    
92    
93    2008-01-21  Martin Maechler  <maechler@stat.math.ethz.ch>
94    
95            * src/dgCMatrix.c (dgCMatrix_QR): set @Dim slot (as per doc)
96    
97    2008-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
98    
99            * R/CHMfactor.R (solve): method for b="numeric", but also b="ANY"
100                    in order to ensure 'system = *' is not lost;
101                    formals()$system instead of cut&paste.
102            * tests/factorizing.R: test solve(<CHM..>, <numeric>)
103    
104    2008-01-11  Martin Maechler  <maechler@stat.math.ethz.ch>
105    
106            * DESCRIPTION (Date): make ready for release --> 0.999375-4
107    
108            * R/dgeMatrix.R: fix rcond() method for "dgeMatrix".
109    
110    2007-12-08  Martin Maechler  <maechler@stat.math.ethz.ch>
111    
112            * R/pMatrix.R: as(*, "matrix") now returns 0/1 *integer* matrix,
113                    and hence does as.vector(.).
114            * man/pMatrix-class.Rd: docs
115            * R/sparseMatrix.R: fix for printing "integer sparse"
116    
117            * tests/Class+Meth.R (tstMatrixClass): test M[FALSE], M[2] etc
118    
119            * R/Matrix.R and others: use "exact" function argument list for
120                    both "["   : (x, i,j, ..., drop)
121                    and  "[<-" : (x, i,j, ..., value)
122    
123            * R/denseMatrix.R: M[i] and M[i] <- v  (i vector) now work
124            * R/Tsparse.R (replTmat):    ditto
125            * R/diagMatrix.R (replDiag): ditto
126            * R/Csparse.R (replCmat):    ditto {was it worth the pain?}
127            * tests/indexing.R: testing the above
128    
129    2007-12-07  Martin Maechler  <maechler@stat.math.ethz.ch>
130    
131            * R/sparseMatrix.R (cov2cor): method for sparse matrices
132    
133            * R/diagMatrix.R ([<-): fix   D[ cbind(i,j) ] <- v
134    
135            * R/bind2.R: fix for Rsparse* and rbind2(dense,dense)
136    
137            * tests/Class+Meth.R: test cbind2, rbind2  and  diag<-
138    
139    2007-12-06  Martin Maechler  <maechler@stat.math.ethz.ch>
140    
141            * R/Matrix.R: "generic" cov2cor() method
142    
143            * R/nearPD.R: new 'only.values', 'keepDiag' arguments;
144                    speed up Q %*% D %*% t(Q)
145            * tests/dpoMatrix.R: test nearPD()
146    
147    2007-12-05  Doug Bates and Martin Maechler
148    
149            * R/sparseMatrix.R: xtabs(*, sparse=.) function; an extention of
150            stats::xtabs() allowing to create sparse matrices.
151    
152    2007-10-08  Martin Maechler  <maechler@stat.math.ethz.ch>
153    
154            * DESCRIPTION (Version): *-4 (released *-3 two days ago)
155    
156    2007-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
157    
158            * R/pMatrix.R: solve(<Matrix>, <pMatrix>)
159    
160    2007-10-05  Martin Maechler  <maechler@stat.math.ethz.ch>
161    
162            * R/LU.R: solve() method for "denseLU"
163    
164    2007-10-01  Martin Maechler  <maechler@stat.math.ethz.ch>
165    
166            * DESCRIPTION (Version): 0.999375-3 preparing for release
167    
168            * R/AllGeneric.R: simplify  if(.) .. else .. for R <= 2.5.1
169    
170            * R/Matrix.R (Matrix): .Internal(matrix(..)) different for R >= 2.7.0
171    
172    2007-09-26  Martin Maechler  <maechler@stat.math.ethz.ch>
173    
174            * R/pMatrix.R (.m.mult.pMat): fix <matrix> %*% <pMatrix>,
175              thanks to Kasper Kristensen.
176            * tests/matprod.R: regression test for that.
177    
178    2007-09-23 17:32  Douglas Bates <bates@stat.wisc.edu>
179    
180            * [r4778] R/AllGeneric.R: Check R version before defining generics for
181              primitives
182    
183    2007-09-13  Martin Maechler  <maechler@stat.math.ethz.ch>
184    
185            * R/denseMatrix.R (rcond): method
186            * R/sparseQR.R (rcond): method, use x or t(x)
187    
188    2007-09-12  Martin Maechler  <maechler@stat.math.ethz.ch>
189    
190            * R/dgeMatrix.R (rcond): method: work via qr.R() for non-square
191            matrices.
192            * R/sparseMatrix.R: Ditto for all other rcond() method definitions.
193    
194            * man/rcond.Rd: mention the more general definition, and add
195            example for non-square matrices.
196    
197            * man/chol.Rd: new file, for the S4 chol() generic and all methods.
198    
199    2007-09-11  Martin Maechler  <maechler@stat.math.ethz.ch>
200    
201            * R/sparseQR.R: add qr.R() method [to be used for rcond()]
202    
203    2007-09-01  Martin Maechler  <maechler@stat.math.ethz.ch>
204    
205            * R/Matrix.R ([<-): add (Matrix,missing,ANY,Matrix) etc
206            * tests/indexing.R: add new regression for the above cases.
207    
208    2007-08-30  Martin Maechler  <maechler@stat.math.ethz.ch>
209    
210            * src/Mutils.h (__sun): clause for alloca.h on Solaris
211    
212    2007-08-16  Martin Maechler  <maechler@stat.math.ethz.ch>
213    
214            * DESCRIPTION (Date, Version): 0.999375-2
215    
216    2007-08-15  Martin Maechler  <maechler@stat.math.ethz.ch>
217    
218            * R/HBMM.R (readMM): make work for pattern matrices as well
219    
220    2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>
221    
222            * [r4730] src/Mutils.h: declare alloca
223            * [r4734] NAMESPACE, R/AllGeneric.R, R/Csparse.R, R/HBMM.R, R/Tsparse.R,
224              R/dgCMatrix.R, R/dgTMatrix.R, R/dsCMatrix.R, R/dsTMatrix.R,
225              man/externalFormats.Rd, src/Csparse.c, src/Csparse.h, src/DEPS.mkf,
226              src/HBMM.c, src/HBMM.h, src/Mutils.h, src/SOURCES_C.mkf, src/init.c,
227              src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its
228              methods; switch writeMM to use CHOLMOD code; repair readMM
229    
230    2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
231    
232            * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens
233            Oehlschlaegel's ... result type still to be discussed!
234    
235    2007-08-10  Martin Maechler  <maechler@stat.math.ethz.ch>
236    
237            * man/image-methods.Rd: new, combining all image() methods
238    
239    2007-08-09  Martin Maechler  <maechler@stat.math.ethz.ch>
240    
241            * R/dgCMatrix.R: define qr() and lu() methods for "sparseMatrix"
242            to work via dgC...
243    
244            * R/Matrix.R (Matrix): special treatment for "table" (S3)
245    
246    2007-08-07  Martin Maechler  <maechler@stat.math.ethz.ch>
247    
248            * R/dgTMatrix.R (image): change defaults to
249                    aspect = "iso", colorkey = FALSE
250    
251    2007-08-06  Martin Maechler  <maechler@stat.math.ethz.ch>
252    
253            * src/dsyMatrix.c (dsyMatrix_matrix_mm): 'b' might be matrix;
254            must copy its *expanded* x slot before LAPACK call.
255    
256            * tests/matprod.R: test the last days' changes.
257    
258    2007-08-06 16:43  Douglas Bates <bates@stat.wisc.edu>
259    
260            * [r4712] inst/include/Matrix_stubs.c: Change R_cholmod_printf in stubs
261              as well as in sources
262            * [r4713] src/dsyMatrix.c: Duplicate the contents of the RHS before
263              Lapack call
264    
265    2007-08-03  Martin Maechler  <maechler@stat.math.ethz.ch>
266    
267            * R/Matrix.R (%*%, crossprod, tcrossprod): add method for
268                    ("Matrix", "matrix") which is needed in some cases.
269            Ditto for solve().
270    
271            * R/colSums.R (.as.dge.Fun): need ddenseMatrix methods to avoid
272            infinite recursion in dispatch for some cases.
273    
274    2007-08-02 08:48  Martin Maechler <maechler@stat.math.ethz.ch>
275    
276            * [r4693] src/chm_common.c: R_cholmod_printf() instead of Rprintf() just
277              so pointers match
278    
279    2007-08-02  Martin Maechler  <maechler@stat.math.ethz.ch>
280    
281            * DESCRIPTION (Date): set ready for release -- 0.999375-1
282    
283    2007-08-01 15:44  Douglas Bates <bates@stat.wisc.edu>
284    
285            * [r4686] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
286              src/chm_common.c, src/chm_common.h: Change API for
287              numeric_as_chm_dense and N_AS_CHM_DN
288    
289    2007-08-01  Martin Maechler  <maechler@stat.math.ethz.ch>
290    
291            * src/dtrMatrix.c (dtrMatrix_matrix_mm): fix dimensionality check (!)
292            * tests/matprod.R: regr.test for it
293    
294    2007-07-20  Martin Maechler  <maechler@stat.math.ethz.ch>
295    
296            * R/dMatrix.R: fix from Brian for   Math2(., digits = "missing")
297            * tests/group-methods.R: and regression-test it
298    
299    2007-07-19 19:45  Douglas Bates <bates@stat.wisc.edu>
300    
301            * [r4642] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
302              inst/include/cholmod.h, src/chm_common.c, src/init.c: Export
303              triplet_to_sparse, documentation, use typedefs
304    
305  2007-07-18  Martin Maechler  <maechler@stat.math.ethz.ch>  2007-07-18  Martin Maechler  <maechler@stat.math.ethz.ch>
306    
307          * man/dpoMatrix-class.Rd: added 'corMatrix' example          * man/dpoMatrix-class.Rd: added 'corMatrix' example

Legend:
Removed from v.2005  
changed lines
  Added in v.2113

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