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 1647, Mon Oct 23 12:36:27 2006 UTC revision 2062, Sat Sep 1 21:06:52 2007 UTC
# Line 1  Line 1 
1    2007-09-01  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/Matrix.R ([<-): add (Matrix,missing,ANY,Matrix) etc
4            * tests/indexing.R: add new regression for the above cases.
5    
6    2007-08-30  Martin Maechler  <maechler@stat.math.ethz.ch>
7    
8            * src/Mutils.h (__sun): clause for alloca.h on Solaris
9    
10    2007-08-16  Martin Maechler  <maechler@stat.math.ethz.ch>
11    
12            * DESCRIPTION (Date, Version): 0.999375-2
13    
14    2007-08-15  Martin Maechler  <maechler@stat.math.ethz.ch>
15    
16            * R/HBMM.R (readMM): make work for pattern matrices as well
17    
18    2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>
19    
20            * [r4730] src/Mutils.h: declare alloca
21            * [r4734] NAMESPACE, R/AllGeneric.R, R/Csparse.R, R/HBMM.R, R/Tsparse.R,
22              R/dgCMatrix.R, R/dgTMatrix.R, R/dsCMatrix.R, R/dsTMatrix.R,
23              man/externalFormats.Rd, src/Csparse.c, src/Csparse.h, src/DEPS.mkf,
24              src/HBMM.c, src/HBMM.h, src/Mutils.h, src/SOURCES_C.mkf, src/init.c,
25              src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its
26              methods; switch writeMM to use CHOLMOD code; repair readMM
27    
28    2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
29    
30            * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens
31            Oehlschlaegel's ... result type still to be discussed!
32    
33    2007-08-10  Martin Maechler  <maechler@stat.math.ethz.ch>
34    
35            * man/image-methods.Rd: new, combining all image() methods
36    
37    2007-08-09  Martin Maechler  <maechler@stat.math.ethz.ch>
38    
39            * R/dgCMatrix.R: define qr() and lu() methods for "sparseMatrix"
40            to work via dgC...
41    
42            * R/Matrix.R (Matrix): special treatment for "table" (S3)
43    
44    2007-08-07  Martin Maechler  <maechler@stat.math.ethz.ch>
45    
46            * R/dgTMatrix.R (image): change defaults to
47                    aspect = "iso", colorkey = FALSE
48    
49    2007-08-06  Martin Maechler  <maechler@stat.math.ethz.ch>
50    
51            * src/dsyMatrix.c (dsyMatrix_matrix_mm): 'b' might be matrix;
52            must copy its *expanded* x slot before LAPACK call.
53    
54            * tests/matprod.R: test the last days' changes.
55    
56    2007-08-06 16:43  Douglas Bates <bates@stat.wisc.edu>
57    
58            * [r4712] inst/include/Matrix_stubs.c: Change R_cholmod_printf in stubs
59              as well as in sources
60            * [r4713] src/dsyMatrix.c: Duplicate the contents of the RHS before
61              Lapack call
62    
63    2007-08-03  Martin Maechler  <maechler@stat.math.ethz.ch>
64    
65            * R/Matrix.R (%*%, crossprod, tcrossprod): add method for
66                    ("Matrix", "matrix") which is needed in some cases.
67            Ditto for solve().
68    
69            * R/colSums.R (.as.dge.Fun): need ddenseMatrix methods to avoid
70            infinite recursion in dispatch for some cases.
71    
72    2007-08-02 08:48  Martin Maechler <maechler@stat.math.ethz.ch>
73    
74            * [r4693] src/chm_common.c: R_cholmod_printf() instead of Rprintf() just
75              so pointers match
76    
77    2007-08-02  Martin Maechler  <maechler@stat.math.ethz.ch>
78    
79            * DESCRIPTION (Date): set ready for release -- 0.999375-1
80    
81    2007-08-01 15:44  Douglas Bates <bates@stat.wisc.edu>
82    
83            * [r4686] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
84              src/chm_common.c, src/chm_common.h: Change API for
85              numeric_as_chm_dense and N_AS_CHM_DN
86    
87    2007-08-01  Martin Maechler  <maechler@stat.math.ethz.ch>
88    
89            * src/dtrMatrix.c (dtrMatrix_matrix_mm): fix dimensionality check (!)
90            * tests/matprod.R: regr.test for it
91    
92    2007-07-20  Martin Maechler  <maechler@stat.math.ethz.ch>
93    
94            * R/dMatrix.R: fix from Brian for   Math2(., digits = "missing")
95            * tests/group-methods.R: and regression-test it
96    
97    2007-07-19 19:45  Douglas Bates <bates@stat.wisc.edu>
98    
99            * [r4642] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
100              inst/include/cholmod.h, src/chm_common.c, src/init.c: Export
101              triplet_to_sparse, documentation, use typedefs
102    
103    2007-07-18  Martin Maechler  <maechler@stat.math.ethz.ch>
104    
105            * man/dpoMatrix-class.Rd: added 'corMatrix' example
106    
107            * src/dsyMatrix.[ch] (dsyMatrix_as_matrix): new 'keep_dimnames' arg
108            * src/dtrMatrix.[ch] (dtrMatrix_as_matrix): ditto
109            * src/init.c, R/dsyMatrix.R, R/dtrMatrix.R, R/lgTMatrix.R: ditto
110    
111            * R/lsparseMatrix.R: bug fix in "all" method
112            * R/Ops.R (.do.Logic.lsparse): "|" bug in borderline case
113    
114            * R/dsyMatrix.R (coerce->dsTMatrix): (i,j) slots should *not* have names
115            * R/ngTMatrix.R (coerce->ngTMatrix): ditto;
116                    + matrix |-> nMatrix coercion
117            * R/pMatrix.R: + setAs()  to dMatrix and from nMatrix
118            * man/pMatrix-class.Rd: ditto
119    
120            * R/Matrix.R (Summary): method for non-dMatrix
121    
122            * tests/Class+Meth.R (extraValid): new check about "dirty" slots
123            * tests/Class+Meth.R (tstMatrixClass): test norm(.);
124                    test all Summary methods.
125    
126    2007-07-16  Martin Maechler  <maechler@stat.math.ethz.ch>
127    
128            * R/dgeMatrix.R (norm, rcond): methods for 'matrix'
129    
130    2007-07-14  Martin Maechler  <maechler@stat.math.ethz.ch>
131    
132            * R/sparseMatrix.R (norm): simple methods for sparseMatrix
133    
134            * R/pMatrix.R (t?crossprod): methods for pMatrix
135    
136    2007-07-10  Douglas Bates  <bates@stat.wisc.edu>
137    
138            * src/dgeMatrix.c (dgeMatrix_colsums): Get the logic straight.
139    
140    2007-07-09 20:45  Douglas Bates <bates@stat.wisc.edu>
141    
142            * [r4579] src/dgeMatrix.c: Untangle horrible code in dgeMatrix_colsums
143              trying to fix a subtle bug - which has been somewhere else.
144    
145    2007-07-09 19:43  Martin Maechler <maechler@stat.math.ethz.ch>
146    
147            * [r4578] src/dgeMatrix.c: "cleaned" dgeMatrix_colsums() - but did not
148              solve the bug
149    
150    2007-07-08  Martin Maechler  <maechler@stat.math.ethz.ch>
151    
152            * src/dgCMatrix.c (compressed_to_TMatrix):
153    
154    2007-07-07  Martin Maechler  <maechler@stat.math.ethz.ch>
155    
156            * src/Csparse.c (Rsparse_validate): new, to have some validity
157            checking for RsparseMatrix
158            * src/dgCMatrix.c (xRMatrix_validate): ditto
159            * src/dtCMatrix.c (tRMatrix_validate): ditto
160    
161    2007-07-07  Douglas Bates <bates@stat.wisc.edu>
162    
163            * [r4567] R/AllClass.R: Slots already in RsparseMatrix were redefined in
164              lgRMatrix
165            * [r4568] DESCRIPTION: Prepare for bug-fix release
166            * [r4570] src/CHOLMOD/Check/cholmod_write.c: Include cholmod_matrixops.h
167              for declaration of cholmod_symmetry
168    
169    2007-07-06  Martin Maechler  <maechler@stat.math.ethz.ch>
170    
171            * DESCRIPTION (Version): 0.999375 merged into the trunk; ready for
172            release.
173    
174    2007-07-06 14:11  Douglas Bates <bates@stat.wisc.edu>
175    
176            * [r4559] src/iohb.c, src/iohb.h: Remove Harwell-Boeing input/output
177              functions - no longer used
178            * [r4560] src/HBMM.c, src/Mutils.c, src/dgTMatrix.c, src/dgeMatrix.c,
179              src/dspMatrix.c, src/dsyMatrix.c, src/dtCMatrix.c,
180              src/factorizations.c, src/sparseQR.c: Replace most calls to Calloc by
181              Alloca
182    
183    2007-07-06 13:14  Martin Maechler <maechler@stat.math.ethz.ch>
184    
185            * [r4558] inst/doc/Comparisons.Rnw, src/CHMfactor.c, src/Csparse.c,
186              src/Tsparse.c, src/chm_common.c, src/chm_common.h, src/dense.c,
187              src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c, src/sparseQR.c,
188              src/t_gCMatrix_colSums.c: more R_CheckStack()s
189    
190    2007-07-05 18:12  Douglas Bates <bates@stat.wisc.edu>
191    
192            * [r4550] inst/include/Matrix.h: Add the macro N_AS_CHM_DN to "alloca"
193              the required amount of memory then call M_numeric_as_chm_dense.
194            * [r4556] src/Mutils.h, src/dgCMatrix.c: Define and use the Alloca macro
195              (like Calloc but calling alloca)
196    
197    2007-07-05  Martin Maechler  <maechler@stat.math.ethz.ch>
198    
199            * R/sparseMatrix.R (printSpMatrix): renamed from prSpMatrix()
200            and extended with more sophisticated 'col.names' option.
201            * NAMESPACE: export  printSparseMatrix()
202            * man/printSpMatrix.Rd: document, incl. examples
203    
204    2007-07-04 16:21  Douglas Bates <bates@stat.wisc.edu>
205    
206            * [r4543] src/cs_utils.c, src/cs_utils.h, src/dgCMatrix.c,
207              src/dtCMatrix.c, src/sparseQR.c: CSP typedef for *cs and macro
208              AS_CSP. API change - pass the empty structure to Matrix_as_cs.
209    
210    2007-07-04  Martin Maechler  <maechler@stat.math.ethz.ch>
211    
212            * DESCRIPTION (Version): 0.99875-4
213    
214            * tests/Class+Meth.R (tstMatrixClass): add dimnames, and hence test
215            some dimnames perservation.
216    
217            * R/dsTMatrix.R (t-method): keep dimnames
218            * R/dtTMatrix.R:  ditto
219    
220            * R/sparseMatrix.R (prSpMatrix): print colnames when non-trivial
221            and ncol(.) < 10
222    
223            * src/cs_utils.c: drop check_class() and use Matrix_check_class()
224            from Mutils.h
225    
226            * src/lgCMatrix.c ([ln]csc_to_matrix): no longer lose dimnames,
227            e.g. in as(<ngCMatrix>, "matrix")
228    
229    2007-07-01 13:27  Douglas Bates <bates@stat.wisc.edu>
230    
231            * [r4529] .: Create a branch for the API changes from the 0.99875
232              series to the 0.999375 series
233            * [r4530] DESCRIPTION, inst/include/Matrix.h,
234              inst/include/Matrix_stubs.c, src/CHMfactor.c, src/Csparse.c,
235              src/Mutils.h, src/Tsparse.c, src/chm_common.c, src/chm_common.h,
236              src/dense.c, src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c,
237              src/t_gCMatrix_colSums.c: API change - pass the empty structure to the
238              as_cholmod_x functions
239    
240    2007-06-30 09:05  Martin Maechler <maechler@stat.math.ethz.ch>
241    
242            * [r4527] trunk/Matrix/DESCRIPTION, trunk/Matrix/NAMESPACE,
243              trunk/Matrix/inst/doc/Comparisons.Rnw: add session- and hardware-info
244              to Comparisons
245    
246    >>>>>>> .merge-right.r4561
247    2007-06-29  Martin Maechler  <maechler@stat.math.ethz.ch>
248    
249            * DESCRIPTION (Version): 0.99875-3 ready to be released.
250    
251            * R/sparseMatrix.R (spMatrix): make spMatrix(3,4) working
252    
253            * R/AllGeneric.R: set "Math" (and "Math2") group generics in a way
254            that should also work in a future version of R.
255    
256    2007-06-21  Martin Maechler  <maechler@stat.math.ethz.ch>
257    
258            * NAMESPACE, R/AllClass.R: "xsparseVector" class union.
259    
260            * R/sparseVector.R: more *sparseVector coercions, notably for
261            non - double ones.
262    
263    2007-06-19  Martin Maechler  <maechler@stat.math.ethz.ch>
264    
265            * R/colSums.R: new file for all (col|row)(Sums|Means) methods,
266              notably the new ones building on the new .Call(.)s:
267    
268            * src/dgCMatrix.c (DEF_gCMatrix_COLSUMS): use to define
269            all 4 of [dlin]gCMatrix_colSums().
270    
271    2007-06-18 16:12  Douglas Bates <bates@stat.wisc.edu>
272    
273            * [r4472] src/Syms.h, src/init.c: Added Matrix_lengthSym
274            * [r4473] src/dgCMatrix.c: Modified dgCMatrix_colSums for sparseVector
275              result
276    
277    2007-06-16  Martin Maechler  <maechler@stat.math.ethz.ch>
278    
279            * R/kronecker.R: fix typo (could lead to inf.recursion)
280            * test/simple.R: testing that
281    
282            * R/sparseMatrix.R (prSpMatrix): change to be used as print()
283            method as well (which can have arguments, show() can't).
284    
285    2007-06-16 15:52  Douglas Bates <bates@stat.wisc.edu>
286    
287            * [r4466] R/dgCMatrix.R, src/dgCMatrix.c, src/dgCMatrix.h, src/init.c:
288              added dgCMatrix_colSums for [col,row][Sums,Means]
289    
290    2007-06-15 23:15  Douglas Bates <bates@stat.wisc.edu>
291    
292            * [r4460] R/sparseMatrix.R, man/dgCMatrix-class.Rd, src/dgCMatrix.c,
293              src/dgCMatrix.h, src/init.c: added lm.fit.sparse (unexported),
294              coercion of "factor" to "dgCMatrix" and dgCMatrix_cholsol
295            * [r4461] R/AllClass.R, man/sparseMatrix-class.Rd: draft "indicators"
296              class
297            * [r4463] R/sparseMatrix.R, man/dgCMatrix-class.Rd,
298              man/sparseMatrix-class.Rd: Don't need an "indicators" class - use the
299              row names to store the levels - duh!  Added an example.
300    
301    2007-06-14  Martin Maechler  <maechler@stat.math.ethz.ch>
302    
303            * src/Csparse.c (Csparse_validate): check for *repeated* entries
304            thanks to example from Christian Buchta; with a test here:
305            * tests/simple.R:
306    
307    2007-06-07  Martin Maechler  <maechler@stat.math.ethz.ch>
308    
309            * R/Auxiliaries.R (callGeneric): another fix, needed for some cases
310            of colSums(*, sparseResult = TRUE)
311    
312    2007-06-06  Martin Maechler  <maechler@stat.math.ethz.ch>
313    
314            * R/lsparseMatrix.R, R/ldenseMatrix.R (all, any): change default to
315            'na.rm = FALSE' as "everywhere" else in R.
316    
317    2007-06-05 Douglas Bates <bates@stat.wisc.edu>
318    
319            * [r4421] src/CSparse_install.sh: Modify for new organization of
320              CSparse package
321            * [r4425] src/UFsparse_download.sh: Update to version 3.0.0 of
322              SuiteSparse
323            * [r4426] src/Makefile: add ./UFconfig to the include path for
324              compilation
325            * [r4427] src/cs.[ch]: update to CSparse version 2.2.0
326            * [r4428] inst/doc/UFsparse/* src/{AMD,CHOLMOD,COLAMD}/*
327              src/UFconfig/UFconfig.h: Update to version 3.0.0 of SuiteSparse
328    
329    2007-06-05  Martin Maechler  <maechler@stat.math.ethz.ch>
330    
331            * R/Auxiliaries.R (emptyColnames): + argument msg.if.not.empty, used in
332            * R/sparseMatrix.R (prSpMatrix): now gives a message about
333            suppressed column names.
334    
335    2007-06-04 17:13  Douglas Bates <bates@stat.wisc.edu>
336    
337            * [r4418] src/Csparse.c, src/HBMM.c, src/Mutils.c, src/Mutils.h,
338              src/Tsparse.c, src/chm_common.c, src/chm_common.h, src/dgCMatrix.c,
339              src/dgeMatrix.c, src/dpoMatrix.c, src/dpoMatrix.h, src/dppMatrix.c,
340              src/dppMatrix.h, src/dsCMatrix.c, src/dspMatrix.c, src/dspMatrix.h,
341              src/dsyMatrix.c, src/dsyMatrix.h, src/dtpMatrix.c, src/dtrMatrix.c:
342              Remove warnings after change to const char* CHAR
343    
344    2007-06-04 17:11  Douglas Bates <bates@stat.wisc.edu>
345    
346            * [r4417] inst/include/Matrix_stubs.c, inst/include/cholmod.h: Corrected
347              type of M_cholmod_ssmult
348    
349    2007-06-03 14:42  Douglas Bates <bates@stat.wisc.edu>
350    
351            * [r4412] inst/include/Matrix_stubs.c, inst/include/cholmod.h,
352              src/init.c: Yet another cholmod export - cholmod_ssmult
353    
354    2007-05-23  Martin Maechler  <maechler@stat.math.ethz.ch>
355    
356            * NAMESPACE: exported drop0(), since
357            * man/drop0.Rd: I have seen several cases, I really wanted to use
358            it, so our users may want too.
359    
360    2007-05-22  Martin Maechler  <maechler@stat.math.ethz.ch>
361    
362            * man/colSums.Rd: separately document colSums() etc, since these
363            have the extra argument 'sparseResult'.
364    
365    2007-05-21  Martin Maechler  <maechler@stat.math.ethz.ch>
366    
367            * R/sparseMatrix.R (spMatrix): utility (T)sparse Matrix constructor;
368            * man/spMatrix.Rd: docu., including examples
369    
370            * R/Auxiliaries.R (sp.colMeans): etc, using a patched callGeneric(),
371            in order to make colMeans() etc fast *and* correct.
372            * R/sparseVector.R (replSPvec): "[<-" functionality for
373            sparseVectors; tested in
374            * tests/simple.R:
375    
376    2007-05-19  Martin Maechler  <maechler@stat.math.ethz.ch>
377    
378            * R/sparseMatrix.R (print.sparseSummary): and summary() method for
379            (very) sparse Matrices; output similar to Matlab's print().
380    
381    2007-05-17  Douglas Bates  <bates@stat.wisc.edu>
382    
383            * src/HBMM.c (Matrix_writeMatrixMarket): Write 1-based, not
384            0-based, indices (Jose Quesada <quesada@gmail.com>).
385    
386    2007-05-16  Douglas Bates  <bates@stat.wisc.edu>
387    
388            * R/CHMfactor.R: Added solve methods for a CHMfactor object.
389    
390    2007-05-16  Martin Maechler  <maechler@stat.math.ethz.ch>
391    
392            * R/Auxiliaries.R (sparsapply): new utility, much faster than
393            tapply1() for large sparse matrices.
394    
395    2007-05-15  Martin Maechler  <maechler@stat.math.ethz.ch>
396    
397            * R/Matrix.R (dim<-): reshape now via sparseVector.
398    
399            * R/sparseVector.R: methods and function for
400            * R/AllClass.R: new "sparseVector" class and daughters.
401            * NAMESPACE: export new classes
402    
403    2007-05-14  Martin Maechler  <maechler@stat.math.ethz.ch>
404    
405            * DESCRIPTION (Version): 0.99875-1
406            * src/Makefile.win: also remove Lapack code from here (cf. 04-25).
407    
408    2007-05-11  Martin Maechler  <maechler@stat.math.ethz.ch>
409    
410            * R/Tsparse.R ([, Tsparse): fix last case: *duplicated*, symmetric
411            indexing
412            * tests/indexing.R: test set for that.
413    
414    2007-05-08  Martin Maechler  <maechler@stat.math.ethz.ch>
415    
416            * R/Tsparse.R (replTmat): fix the case of *duplicated* index
417            entries.
418            * tests/indexing.R(out): add regression test for it
419    
420    2007-04-30  Martin Maechler  <maechler@stat.math.ethz.ch>
421    
422            * R/(l(dense|sparse))?Matrix.R (!): use 'x', not 'e1' as argument
423            name for "!" method definitions.
424    
425    2007-04-26  Martin Maechler  <maechler@stat.math.ethz.ch>
426    
427            * R/Tsparse.R (intI): new utility, used for "[" :
428                    Cleanup up there, and fixes for duplicated indices - more TODO!
429    
430            * tests/indexing.R(out): more tests
431    
432    2007-04-25  Douglas Bates  <bates@stat.wisc.edu>
433    
434            * DESCRIPTION,src/Makefile: require R>= 2.5.0 and remove Lapack
435            code that is now part of the R Lapack library.
436    
437            * src/init.c,inst/include/{Matrix_stubs.c,cholmod.h}:export
438            cholmod_factorize_p (used in lme4 for GLMMs and NLMMs).
439    
440    2007-04-21  Martin Maechler  <maechler@stat.math.ethz.ch>
441    
442            * R/Matrix.R (image): method for all Matrices, not just sparse ones.
443    
444    2007-04-17  Martin Maechler  <maechler@stat.math.ethz.ch>
445    
446            * R/Auxiliaries.R (tapply1): unname(.) -> colSums() etc don't end
447            up with extraneous names '0'...'<n-1>'
448    
449    2007-04-12  Martin Maechler  <maechler@stat.math.ethz.ch>
450    
451            * R/dgTMatrix.R (mat2dgT): care about NAs
452    
453    2007-04-11  Martin Maechler  <maechler@stat.math.ethz.ch>
454    
455            * R/kronecker.R: triangularity preserving methods
456    
457    2007-03-27  Martin Maechler  <maechler@stat.math.ethz.ch>
458    
459            * R/kronecker.R: new file collecting kronecker() methods in one
460                    place.  Goal: become much faster!
461    
462    2007-03-23  Martin Maechler  <maechler@stat.math.ethz.ch>
463    
464            * src/dtCMatrix.c (dtCMatrix_solve): use the new code from Kasper
465            Kristensen based cs_spsolve() instead of _lsolve & _usolve which
466            can be much faster.
467    
468            * tests/matprod.R: add regression tests for these (upper & lower).
469    
470    2007-03-19  Martin Maechler  <maechler@stat.math.ethz.ch>
471    
472            * R/Matrix.R (diff): method for our Matrices.
473    
474            * R/sparseMatrix.R (isDiagonal): check dim()!
475    
476    2007-03-17  Martin Maechler  <maechler@stat.math.ethz.ch>
477    
478            * R/Matrix.R (dim<-): new method for "reshape()" built on a
479            proposal from Tamas Papp.
480    
481    2007-03-16  Martin Maechler  <maechler@stat.math.ethz.ch>
482    
483            * R/AllGeneric.R: remove all  if(!isGeneric(.))  clauses
484    
485            * R/zzz.R (.onLoad, .onUnload): do *not* leave bind_activation(TRUE);
486            rather define and export  cBind() and rBind() only.
487            --> useRs *must* change code that used to have cbind()/rbind() !!
488    
489            * R/bind.R: change tests from cbind() to cBind() and similarly to rBind()
490            * R/bind.Rout.save: ditto
491    
492    2007-02-16  Douglas Bates  <bates@r-project.org>
493    
494            * DESCRIPTION (Date, Version): 0.9975-11 with new date
495            * src/dgCMatrix.c (R_to_CMatrix, compressed_to_TMatrix): remove
496            const modifier on declaration of the array 'valid'
497    
498    2007-02-12  Douglas Bates  <bates@stat.wisc.edu>
499    
500            * R/CHMfactor.R: Add image method (coercion to sparseMatrix).
501    
502    2007-02-05  Martin Maechler  <maechler@stat.math.ethz.ch>
503    
504            * DESCRIPTION (Date, Version): 0.9975-10 with new date.
505    
506            * R/Ops.R (Arith): make sure Csparse o Csparse also works for e.g. ntCMatrix
507            * tests/simple.R: test the above and some of these coercions:
508    
509            * R/nsparseMatrix.R: coercing "Csparse" to "lsparseMatrix";
510                    be careful to avoid infinite recursion, using new coercions in
511            * R/ngCMatrix.R and nsC... and ntC...
512            * R/lsparseMatrix.R: ditto
513    
514            * R/SparseM-conv.R: more conversion, notably for triplet matrices.
515    
516            * src/dgCMatrix.c (R_to_C_Matrix): port Doug's fix and
517            * R/Rsparse.R: reactivate .Call()s
518    
519            * tests/Class+Meth.R: a bit more on actual classes
520    
521    2007-02-04  Douglas Bates  <bates@stat.wisc.edu>
522    
523            * src/dgCMatrix.c (compressed_to_TMatrix): fix memory bug using strdup()
524    
525    2007-02-03  Martin Maechler  <maechler@stat.math.ethz.ch>
526    
527            * DESCRIPTION (Version): 0.9975-10 to upload
528    
529            * tests/Class+Meth.R (tstMatrixClass): require coercions to
530            specific classes less unconditionally.
531    
532            * R/Auxiliaries.R: get rid of as_Tsparse() and as_Rsparse()
533    
534            * R/Tsparse.R (triu): etc, use as(*, "TsparseMatrix") instead of as_Tsparse()
535    
536            * R/Rsparse.R (.R.2.T): R-level workaround using compressed_to_TMatrix.
537            * R/Rsparse.R (.R.2.C): R-level workaround since C-level
538            R_to_CMatrix segfaults on one platform.
539            Eliminate most coercion method to *specific* classes, and replace
540            with virtual classes coercions.
541    
542    
543    2007-02-01  Martin Maechler <maechler@stat.math.ethz.ch>
544    
545            * src/init.c: export the CHM...._validate() placeholders, since
546            they *are* called.
547    
548            * tests/Class+Meth.R (classCanCoerce): and starting to test
549            all as(<from>, <to>)
550    
551    2007-01-30  Martin Maechler  <maechler@stat.math.ethz.ch>
552    
553            * R/Tsparse.R ([): more care when subsetting triangular Tsparse
554            * tests/indexing.R: tested now
555            * tests/indexing.Rout.save: updated
556    
557            * src/Csparse.c (Csparse_to_dense): use Rkind = -1 for PATTERN to
558            * src/chm_common.c (chm_dense_to_SEXP): return "ngeMatrix" when
559            appropriate.
560    
561            * NAMESPACE: export a trivial
562            * R/Matrix.R: drop() Matrix-method
563    
564            * R/AllClass.R: moved all prototypes to virtual super classes.
565    
566            * R/Rsparse.R: many more coercions to have less exceptions in
567            * tests/Class+Meth.R:
568    
569            * R/Ops.R (Compare): tweak for case with NA
570            * tests/simpl.R: hence another 'FIXME' eliminated
571    
572    2007-01-29  Martin Maechler  <maechler@stat.math.ethz.ch>
573    
574            * R/diagMatrix.R (solve): the obvious methods for diagonalMatrix
575            objects.
576    
577            * tests/Class+Meth.R (tstMatrixClass): now testing diag(), nnzero(),
578              and more of "!", "&", "|", all, any; coercions
579    
580            * R/Rsparse.R: many coercions (which enable quite a few other
581            methods), thanks to enhancements in
582            * src/dgCMatrix.c (R_to_CMatrix): new, and
583            * src/dgCMatrix.c (compressed_to_TMatrix): now for (d,l,n) ,
584            symmetric & triangular and ..RMatrix objects.
585    
586            * src/TMatrix_as.c (Matrix_T_as_DENSE,Matrix_T_as_GENERAL):
587            renamed file from src/dsTMatrix.c;
588            now dealing with symmetric and triangular Tsparse coercions, both
589            to dense and general.
590    
591    2007-01-27  Martin Maechler  <maechler@stat.math.ethz.ch>
592    
593            * src/dsTMatrix.c: has now "l" and "n" methods besides the "d" ones.
594    
595            * R/Ops.R (Arith): <dgCMatrix> o <numeric> now remains sparse
596            where sensible when the <numeric> is of length > 1.
597    
598    2007-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
599    
600            * R/Matrix.R ([<-): for M[] <- value: fix length
601    
602    2007-01-25  Martin Maechler  <maechler@stat.math.ethz.ch>
603    
604            * R/Auxiliaries.R (n2l_Matrix): new, to be used in
605            * R/ndenseMatrix.R: new coercions n* -> l*
606    
607    2007-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
608    
609            * R/triangularMatrix.R: new file; simple triu() and tril() methods.
610    
611            * R/Ops.R ("Logic"): and other "Ops", many updates
612    
613    2007-01-18  Martin Maechler  <maechler@stat.math.ethz.ch>
614    
615            * src/Mutils.h (SET_DimNames): new utility
616    
617            * R/Auxiliaries.R (nnzero): improved and now exported via
618    
619            * NAMESPACE: + nnzero(); length() == prod(dim(.)) method for all "Matrix" objects
620    
621    2007-01-17  Martin Maechler  <maechler@stat.math.ethz.ch>
622    
623            * R/diagMatrix.R (!): fix typo.
624    
625    2007-01-16  Martin Maechler  <maechler@stat.math.ethz.ch>
626    
627            * R/Auxiliaries.R (as_Csparse): and quite a few others:
628                    allow to pass class definition --> speedup
629            * R/sparseMatrix.R: apply the above
630    
631            * R/Csparse.R: coercion Csparse* to dense* now preserves shape properties.
632    
633            * src/Mutils.h (mMatrix_as_geMatrix): new, based on
634            * src/Mutils.c (dup_mMatrix_as_geMatrix): new; generalization of
635            old dup_mMatrix_as_dgeMatrix), eliminating a long-standing "FIXME".
636    
637            * src/dense.c (dense_to_Csparse): use new mMatrix_as_geMatrix()
638    
639            * R/denseMatrix.R (.dense2C): based on dense_to_Csparse: name it,
640            and use it for "sparse*" as well, since it's faster than the
641            as_Csparse(.) way.
642    
643    2007-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
644    
645            * R/Ops.R ("Logic"): more methods, notably an  <lgC> o <lgC> one.
646    
647    2007-01-12  Martin Maechler  <maechler@stat.math.ethz.ch>
648    
649            * R/Tsparse.R (.TM.repl.i.2col): new internal function to be used
650            as method for   M[ ij ] <- v
651            * R/Csparse.R:: go via Tsparse for "M[ij] <- v"
652    
653            * R/Ops.R: "Compare" for (C|R)sparse: need pointer slot for all
654            FALSE answer
655    
656            * R/Csparse.R (replCmat): fix the "all non-zero" case with reordering
657            * tests/indexing.R: test it, and some of the above
658    
659    2007-01-05  Martin Maechler  <maechler@stat.math.ethz.ch>
660    
661            * R/Auxiliaries.R (is_duplicatedT): new utility
662    
663    2007-01-05  Douglas Bates  <bates@stat.wisc.edu>
664    
665            * src/init.c (R_init_Matrix): export cholmod_scale
666    
667    2006-12-30  Martin Maechler  <maechler@stat.math.ethz.ch>
668    
669            * R/zzz.R (tmp): for R >= 2.5.0, extend formals of our
670            base::as.matrix to (x, ...)
671    
672    2006-12-28  Martin Maechler  <maechler@stat.math.ethz.ch>
673    
674            * R/Ops.R ("Arith" etc): move almost all "Ops" methods to new R
675            file; start using "Logic", hence
676    
677            * DESCRIPTION (Depends): R >= 2.4.1 (since we want "Logic")
678            * NAMESPACE: import and export "Logic"
679    
680    2006-12-27  Martin Maechler  <maechler@stat.math.ethz.ch>
681    
682            * src/zpotfr.f and dependencies: use LAPACK 3.1 version
683            only needed previously to R version 2.5.0.
684    
685    2006-12-26  Martin Maechler  <maechler@stat.math.ethz.ch>
686    
687            * DESCRIPTION (Date, Version): 0.9975-8, ready for release
688    
689            * R/Tsparse.R (replTmat): fix subassignment of triangular
690            * R/Csparse.R (replCmat): ditto
691            * tests/indexing.R: more tests, incl the above fix
692    
693    2006-12-23  Martin Maechler  <maechler@stat.math.ethz.ch>
694    
695            * R/Auxiliaries.R (drop0): extend for non CSparse
696            * R/Auxiliaries.R (diagU2N): should work for all sparseMatrix
697    
698            * src/Csparse.c (Csparse_to_Tsparse, Csparse_general_to_symmetric):
699                    use uplo correctly (!); other places: use uplo_P() macro
700    
701            * R/Csparse.R (replCmat): call diagU2N() when needed
702            * R/Tsparse.R (replTmat): ditto
703    
704            * src/dtCMatrix.c (tCMatrix_validate): new
705            * src/dtTMatrix.c (tTMatrix_validate): new, used in
706            * R/AllClass.R: for validity of dtC, dsC, and dtT, dsT.
707    
708            * R/diagMatrix.R (replDiag): to use in [<-
709    
710    2006-12-22  Martin Maechler  <maechler@stat.math.ethz.ch>
711    
712            * R/Auxiliaries.R (as_Csparse2, as_geSimpl): new functions;
713                    also more general diagU2N().
714    
715    2006-12-21  Martin Maechler  <maechler@stat.math.ethz.ch>
716    
717            * R/bind2.R: new file for all cbind2(), rbind() methods moved here
718            from R/<foo>Matrix.R files. Better diagonal & improved sparse methods.
719    
720    2006-12-20  Martin Maechler  <maechler@stat.math.ethz.ch>
721    
722            * tests/bind.R: a few more cases
723            * R/Auxiliaries.R (.M.kind): also work for atomic vectors
724    
725            * R/denseMatrix.R (cbind2/rbind2): moved here (and generalized) from
726            * R/ddenseMatrix.R (cbind2/rbind2)
727            * R/Tsparse.R (replTmat): final(?!) fix for "[<-" ..
728            * tests/indexing.R
729            * tests/indexing.Rout.save: updated
730    
731    2006-12-18  Martin Maechler  <maechler@stat.math.ethz.ch>
732    
733            * R/Tsparse.R (replTmat): fixed a remaining "[<-" bug in
734            * tests/indexing.R
735    
736    2006-12-15  Martin Maechler  <maechler@stat.math.ethz.ch>
737    
738            * R/sparseMatrix.R (prSpMatrix): "." alignment much improved:
739            align with proper position of "0", i.e., right for integers.
740            argument 'align' by default is "fancy".
741    
742    2006-12-14  Martin Maechler  <maechler@stat.math.ethz.ch>
743    
744            * R/sparseMatrix.R: delegate "Compare" to "Csparse.."
745            * R/Csparse.R: and fix "Compare" for more cases.
746            * tests/Class+Meth.R: test some of these (m == m, m != m)
747    
748    2006-12-13  Martin Maechler  <maechler@stat.math.ethz.ch>
749    
750            * R/lsparseMatrix.R: all() and any() methods
751            * R/ldenseMatrix.R:      ditto
752            * NAMESPACE, R/Matrix.R: ditto
753    
754            * man/all-methods.Rd: document them minimally
755    
756            * tests/simple.R: add a few examples for these
757    
758    2006-12-11  Martin Maechler  <maechler@stat.math.ethz.ch>
759    
760            * R/Tsparse.R ([): fix long standing typo in symmetric case
761            * man/dsCMatrix-class.Rd: add example exhibiting the above case
762    
763    2006-12-10  Douglas Bates  <bates@stat.wisc.edu>
764    
765            * src/CHMfactor.c (CHMfactor_to_sparse): change LDL factorization
766            to LL before converting to a sparse matrix. (The LDL form can be
767            converted to a sparse matrix but it is implicitly a unit
768            triangular matrix and a diagonal matrix overwritten on the diagonal.)
769    
770    2006-12-09  Douglas Bates  <bates@stat.wisc.edu>
771    
772            * src/chm_common.c (chm_factor_to_SEXP): allocate and fill the Dim slot.
773    
774    2006-12-08  Douglas Bates  <bates@stat.wisc.edu>
775    
776            * DESCRIPTION (Version): updated -> release 0.9975-7
777            * src/{init.c,chm_common.c}, inst/include/*: export cholmod_analyze_p
778    
779    2006-11-30  Martin Maechler  <maechler@stat.math.ethz.ch>
780    
781            * R/diagMatrix.R (%*%): write a direct [diag o Csparse] method
782    
783    2006-11-29  Douglas Bates  <bates@stat.wisc.edu>
784    
785            * src/dgeMatrix.c (dgeMatrix_solve): Check error code from dgetri.
786            * tests/dg_Matrix.R: Add Barry Rowlingson's test of a matrix that
787            is exactly singular.
788    
789    2006-11-07  Martin Maechler  <maechler@stat.math.ethz.ch>
790    
791            * DESCRIPTION (Date): updated -> release 0.9975-6
792    
793    2006-11-06  Martin Maechler  <maechler@stat.math.ethz.ch>
794    
795            * R/Csparse.R (replCmat): symmetric indexing of symmetric matrix
796            now returns symmetric.
797    
798            * R/zzz.R ("diag<-"): replace "diag<-" in base for R <= 2.4.x
799    
800            * R/Matrix.R (.M.sub.i.2col):  new, for  M[ cbind(i,j) ] indexing.
801            * R/Matrix.R (.M.repl.i.2col): new, for  M[ cbind(i,j) ] <- value
802    
803            * R/Auxiliaries.R (.type.kind): added
804    
805    2006-11-04  Martin Maechler  <maechler@stat.math.ethz.ch>
806    
807            * src/cs.[ch]: updated to CSparse Version 2.0.3 by simply
808            running src/CSparse_install.sh
809    
810            * R/denseMatrix.R: "[": keep symmetric on symmetric indexing.
811    
812    2006-11-03  Martin Maechler  <maechler@stat.math.ethz.ch>
813    
814            * src/dsCMatrix.c (dsCMatrix_Csparse_solve): new
815            * R/dsCMatrix.R (solve): "fully-sparse" using the above.
816    
817            * R/AllClass.R: "pMatrix" now also inherits from "generalMatrix"
818    
819            * tests/Class+Meth.R (tstMatrixClass): now assure
820            the (important in method programming) property :
821    
822                    ###>>  Every "Matrix" is either
823                    ###>>  "general*", "symmetric*", "triangular*" or "diagonal*"
824    
825                    (where "*" stands for "Matrix")
826    
827            * R/Auxiliaries.R (diagU2N): now .Call()s Csparse_diagU2N for <Csparse>
828    
829            * R/dMatrix.R (Compare(<dMatrix>,<dMatrix>): update and
830            * tests/validObj.R: checks for "comparison"
831    
832            * R/sparseMatrix.R ([): improved indexing for sparse;
833                    trying to keep <symmetric>[ n, n] symmmetric
834    
835            * tests/indexing.R: indexing for logical sparse now ok
836    
837    
838    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
839    
840            * src/Tsparse.c: use xTsparse_validate() , and hence remove
841    
842            * src/{ltC,lsC,lgT}Matrix.[ch]: removed
843    
844    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
845    
846            * R/AllClass.R (Matrix-class): check length of dimnames in validity.
847    
848            * tests/simple.R: validObject() checking the above.
849    
850            * src/dgCMatrix.c (xCMatrix_validate): new, small and simple,
851            replacing both dgCMatrix_validate and lgCM*.
852    
853            * src/Csparse.c (Csparse_dense_prod, etc): do not lose dimnames;
854            fix dimnames setting in other places.
855            * src/chm_common.c (chm_dense_to_SEXP): now can pass dimnames
856    
857    2006-11-01  Martin Maechler  <maechler@stat.math.ethz.ch>
858    
859            * R/Csparse.R,src/Csparse.c, etc: tcrossprod(<CsparseM>,<CsparseM>)
860    
861            * R/sparseMatrix.R (isSymmetric): drop 'factors' slot for
862            symmetry test, via
863            * R/Auxiliaries.R (.as.dgC.0.factors):
864    
865    2006-11-01  Douglas Bates  <bates@r-project.org>
866    
867            * R/Csparse.R,src/Csparse.c,tests/matprod.R,
868            man/CsparseMatrix-class.Rd: crossprod(<CsparseMatrix>,
869            <CsparseMatrix>) added
870    
871    2006-10-30  Martin Maechler  <maechler@stat.math.ethz.ch>
872    
873            * tests/matprod.R: add a variation of Harri's example
874    
875            * R/dsparseMatrix.R: fix crossprod(<dsparse>, <dge>) to *not*
876            recursive infinitely.
877    
878            * R/dgCMatrix.R: + solve(<sparse>, <sparse>)
879    
880            * tests/indexing.R: add test for the "<" bug fixed 10-27 in R/dMatrix.R
881    
882    2006-10-28  Martin Maechler  <maechler@stat.math.ethz.ch>
883    
884            * tests/Class+Meth.R (tstMatrixClass): more: use non-trivial
885            matrix if possible; test m+m == 2*m; now test dgRMatrix.
886            * R/dgRMatrix.R (.to.dgR): a few more coercions, in order to
887            satisfy the above test.
888    
889    2006-10-27  Martin Maechler  <maechler@stat.math.ethz.ch>
890    
891            * R/Matrix.R (Ops):  <Matrix> o <matrix>  method added
892    
893            * R/dgCMatrix.R: solve(a, b="missing") based on
894            * src/dgCMatrix.c (dgCMatrix_matrix_solve): extend to work with
895            RHS = NULL.
896    
897            * R/diagMatrix.R (diagdiagprod): extend %*% etc to ldiMatrix;
898            add more (needed) [t]crossprod() methods.
899    
900            * man/ddiMatrix-class.Rd: more info, notably on 'diag'
901    
902            * R/Auxiliaries.R (as_CspClass): cleanup
903            (drop0): internal utility for "Csparse_drop(*, 0)"
904            (.bail.out.2): encourage active feedback
905    
906    2006-10-26  Martin Maechler  <maechler@stat.math.ethz.ch>
907    
908            * R/dMatrix.R(Compare): new(), then slots [no validity check]
909    
910            * src/Csparse.c (Csparse_validate): fixed (and more efficient in
911            non-valid or 'sorted' case).
912    
913            * R/dsparseMatrix.R: add "chol" method.
914            * R/ddenseMatrix.R: ditto
915    
916            * R/diagMatrix.R (Ops): group methods for  <diagonal> o <sparse>
917            * NAMESPACE (Ops)
918            * R/diagMatrix.R (diag2T): simple utility used "higher level"
919            coercion; deprecating direct lower level coercions.
920    
921            * R/*.R (seq): use seq_len() and seq_along() where possible.
922    
923    
924  2006-10-23  Martin Maechler  <maechler@stat.math.ethz.ch>  2006-10-23  Martin Maechler  <maechler@stat.math.ethz.ch>
925    
926          * DESCRIPTION (Version): 0.9975-5 ready for release          * DESCRIPTION (Version): 0.9975-5 ready for release

Legend:
Removed from v.1647  
changed lines
  Added in v.2062

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