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 1646, Sun Oct 22 22:42:40 2006 UTC revision 2199, Mon Jun 2 16:09:12 2008 UTC
# Line 1  Line 1 
1    2008-06-02  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/dMatrix.R, R/Tsparse.R: get rid of some disambiguation warnings
4    
5            * R/not.R: fix !<ldiMatrix>
6            implement two old "FIXME"s:  !<ldenseMatrix> & !<ndenseMatrix>
7    
8            * R/diagMatrix.R (Ops): fix one-off thinko in
9            <diagonal> o <numeric> methods
10    
11            * inst/test-tools.R: checkMatrix(): drop0(m12) unconditionally
12    
13    2008-05-30  Martin Maechler  <maechler@stat.math.ethz.ch>
14    
15            * R/diagMatrix.R (Ops): more <diagonal> o <Matrix> methods
16            * tests/Simple.R: testing the above
17    
18    2008-05-07  Martin Maechler  <maechler@stat.math.ethz.ch>
19    
20            * NAMESPACE: also import "Ops" {found via new tools:::get_S4_generics_with_methods()}
21    
22    2008-05-03  Martin Maechler  <maechler@stat.math.ethz.ch>
23    
24            * R/Matrix.R (dimnames<-): dimnames(.) <- NULL works with a message;
25            * NAMESPACE (unname): finally exported
26    
27    2008-04-28  Martin Maechler  <maechler@stat.math.ethz.ch>
28    
29            * R/Auxiliaries.R (cholMat): possibly keep packed
30    
31            * inst/test-tools.R (checkMatrix): add fixed determinant.matrix()
32            for R < 2.7.0.
33    
34            * R/Tsparse.R ([): for triangularMatrix, check if result may be
35            triangular.
36            * tests/indexing.R: regression test
37    
38    2008-04-26  Martin Maechler  <maechler@stat.math.ethz.ch>
39    
40            * inst/test-tools.R (checkMatrix): test <Ops> not only for dMatrix
41            * R/Ops.R: more methods, for lMatrix/nMatrix
42    
43    2008-04-24  Martin Maechler  <maechler@stat.math.ethz.ch>
44    
45            * R/expm.R: new file for all expm() methods; notably new ones for
46            diagonal*, triangular*, symmetric* and also simple "matrix".
47    
48    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
49    
50            * R/dsyMatrix.R: setAs(.) rather than setIs(.)  "to dpoMatrix"
51    
52            * inst/test-tools.R (assert.EQ.mat): better message when not equal
53    
54            * src/dgeMatrix.c (dgeMatrix_matrix_crossprod): allow integer RHS.
55    
56            * R/AllClass.R (ddiMatrix,ldiMatrix): extend [dl]Matrix instead of
57            [dl]denseMatrix {identical slots; but more logical method dispatch}
58    
59    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
60    
61            * R/sparseMatrix.R (summary): use length(<i-slot>) instead of nnzero()
62    
63            * R/diagMatrix.R (determinant): method
64    
65    2008-04-22  Martin Maechler  <maechler@stat.math.ethz.ch>
66    
67            * src/dsCMatrix.c (dsCMatrix_Cholesky): suppress CHOLMOD printing too
68    
69            * R/Rsparse.R (.viaC.to.R): uplo fix for symmetric & triangular
70    
71            * R/dsCMatrix.R (determinant): switch to use Cholesky( 'LDL' ) and
72            its diagonal
73    
74    2008-04-21  Martin Maechler  <maechler@stat.math.ethz.ch>
75    
76            * R/dMatrix.R (Summary): short-cut for prod(<sparse>)
77    
78            * R/not.R: fix !<"U"-diag-ltrMatrix> ; drop {R < 2.6.0}-branch
79    
80            * R/Auxiliaries.R (tT2gT): fix for "U"-diag-ltTMatrix
81    
82            * R/AllClass.R: ltTMatrix validity: call (more stringent) tTMatrix_validate
83    
84    2008-04-19  Martin Maechler  <maechler@stat.math.ethz.ch>
85    
86            * R/Ops.R (Ops.x.x): aux.function, not just for (dMatrix,dMatrix)
87    
88            * R/Ops.R (.do.Logic.lsparse): fix NA case
89    
90            * R/Tsparse.R (replTmat): fix r.sym case, using indTri()
91    
92            * R/Auxiliaries.R (nnzero): fix special cases, using
93            * R/Auxiliaries.R (indDiag): new utility
94            * R/Auxiliaries.R (indTri): new argument 'diag'
95    
96            * R/dMatrix.R: Summmary(<ddenseMatrix>): different branch for dsy*
97    
98    2008-04-18  Martin Maechler  <maechler@stat.math.ethz.ch>
99    
100            * R/diagMatrix.R: "Summary" methods, and more "Arith" / "Ops"
101    
102            * src/Csparse.c (Csparse_drop): preserve (uplo,diag) for
103            ".tCMatrix" triangular matrix.
104    
105            * R/Auxiliaries.R (drop0): use diagU2N(); according to helpfile,
106            'clx' can be class *or* class representation.
107            (nnzSparse): new.
108            (non0ind): new 'xtendSymm' argument; used in
109            * R/Ops.R:
110    
111            * R/pMatrix.R: more efficient determinant() method
112    
113    2008-04-17  Martin Maechler  <maechler@stat.math.ethz.ch>
114    
115            * [disactivated] R/Matrix.R (det): det() as base::det(), but with Matrix environment
116            * [disactivated] NAMESPACE: export(det)
117    
118            * R/diagMatrix.R (mkDiag): new substitute for diag()
119    
120            * R/Auxiliaries.R (nnzero): fix for "diagU2N"-case
121            (as0, as1): new utility.
122    
123            * R/Csparse.R (diag, band): need diagU2N()
124    
125            * src/dgeMatrix.c (get_norm): return NA when 'x' slot has NA/NaN.
126    
127            * R/lMatrix.R: coerce(nMatrix |-> lMatrix) fix
128    
129            * R/Ops.R (Compare): fix <nsp> o <nsp> case
130    
131            * R/nsparseMatrix.R, R/pMatrix.R: is.na() method
132    
133    2008-04-16  Martin Maechler  <maechler@stat.math.ethz.ch>
134    
135            * R/Auxiliaries.R (signPerm): new utility for
136            * R/Auxiliaries.R (detSparseLU): determinant() via sparseLU
137    
138            * src/dsCMatrix.c (dsCMatrix_LDL_D): suppress 'CHOLMOD warning';
139            since we have our own error handler (and can use tryCatch() from R).
140    
141    2008-04-15  Martin Maechler  <maechler@stat.math.ethz.ch>
142    
143            * R/dgTMatrix.R (image): ha! set col=NA if lwd is small -- very nice!
144    
145            * R/dsCMatrix.R (determinant): use tryCatch() and switch to lu()
146            when not positive definite.
147    
148            * R/Auxiliaries.R (asTri): new auxiliary
149            (non0.i): make *much* faster for Tsparse with many non-zero
150            entries; add 'uniqT = TRUE' argument to be used when sorting is undesired.
151    
152            * tests/Class+Meth.R (dotestMat): now build on checkMatrix() from
153            test-tools.R , see below
154    
155            * R/dMatrix.R: fix "Summary" method: + diagU2N()
156    
157            * NAMESPACE, R/Matrix.R: add mean() method
158    
159    2008-04-12  Martin Maechler  <maechler@stat.math.ethz.ch>
160    
161            * R/dgTMatrix.R (image): allow to *not* take abs(), and use
162            cold-hot colors; try *changed* default useAbs = FALSE
163            * man/image-methods.Rd:  nice examples
164    
165    2008-04-11  Martin Maechler  <maechler@stat.math.ethz.ch>
166    
167            * inst/test-tools.R (checkMatrix): new function for modularizing part
168            of tstMatrixClass() in tests/Class+Meth.R
169    
170            * R/dsCMatrix.R: coercion from "matrix"
171            * R/ltTMatrix.R, R/ntTMatrix.R: ditto (change it).
172    
173            * tests/Class+Meth.R (tstMatrixClass): some cleanup;
174            add test for as(matrix(,0,0), <class>)
175    
176    2008-04-09  Martin Maechler  <maechler@stat.math.ethz.ch>
177    
178            * src/dgeMatrix.c (dgeMatrix_determinant): for n == 0,
179            work as determinant(matrix(,0,0)).
180    
181            * src/dgCMatrix.c (dgCMatrix_LU): return {L,U} as dtCMatrix
182            * man/sparseLU-class.Rd: ditto
183    
184            * R/dgCMatrix.R (determinant): method building on lu()
185            * R/sparseMatrix.R, Matrix.R, ...: ditto
186    
187            * R/Auxiliaries.R (mkDet): auxiliary for determinant()
188    
189    2008-04-07  Martin Maechler  <maechler@stat.math.ethz.ch>
190    
191            * R/sparseMatrix.R (summary<sparseMatrix>): no 'x' column for
192            pattern matrices.
193    
194    2008-04-02  Martin Maechler  <maechler@stat.math.ethz.ch>
195    
196            * src/dense.c (dense_to_Csparse): all declarations *before*
197            R_CheckStack(); needed e.g. for ancient gcc 2.96.
198    
199    
200    2008-03-29  Martin Maechler  <maechler@stat.math.ethz.ch>
201    
202            * DESCRIPTION (Version): 0.999375-9 --- need to release
203            for R-devel (and R 2.7.0 alpha soon).
204    
205            * R/AllClass.R: drop "double" from "atomicVector" class union
206    
207            * R/AllGeneric.R (rcond): check for base::rcond instead of R version
208            * R/dgeMatrix.R: ditto
209    
210            * R/sparseMatrix.R (summary): count NAs
211    
212            * inst/doc/Intro2Matrix.Rnw: changes, aim for *one* introduction.
213    
214    2008-03-28  Martin Maechler  <maechler@stat.math.ethz.ch>
215    
216            * R/AllGeneric.R: rcond(., norm) instead of rcond(., type), in
217            order to become compatible to new R 2.7.0 base::rcond().
218    
219    2008-03-25  Martin Maechler  <maechler@stat.math.ethz.ch>
220    
221            * DESCRIPTION (Version,Date): 0.999375-8 --- released to CRAN
222    
223            * R/diagMatrix.R (Ops): fix newly introduce bug in <.di> o <numeric>
224    
225            * inst/test-tools.R (isValid): new utility, used much in
226            * tests/simple.R:
227    
228            * man/BunchKaufman-methods.Rd: added too
229    
230    2008-03-24  Martin Maechler  <maechler@stat.math.ethz.ch>
231    
232            * R/dsyMatrix.R: add BunchKaufman() methods.
233            * R/dspMatrix.R:
234    
235            * src/init.c: add dsyMatrix_trf
236    
237    2008-03-23  Douglas Bates <bates@stat.wisc.edu>
238    
239            * DESCRIPTION (Version): release 0.999375-7
240            * src/CHMfactor.c (CHMfactor_update): fix
241    
242    2008-03-22  Martin Maechler  <maechler@stat.math.ethz.ch>
243    
244            * src/dsCMatrix.c (dsCMatrix_LDL_D): cleanup, also using
245            internal_chm_factor().
246    
247            * R/AllGeneric.R: do *not* define a "chol" generic
248                    (but rather use the implicit one *without* making pivot
249                    part of the signature)
250            * R/*.R: drop the 'pivot' from chol's signature and make
251                    'pivot=FALSE' a default argument of method definitions.
252    
253            * .Rbuildignore: add 'wrld_1deg': I.e. do not put it into released
254            version of Matrix
255    
256    2008-03-18  Martin Maechler  <maechler@stat.math.ethz.ch>
257    
258            * R/Tsparse.R (.T.2.n): drop 0's before coercion to "nMatrix"
259    
260            * R/sparseMatrix.R (is.na): new simple method
261            * R/denseMatrix.R (is.na): ditto.
262    
263            * R/diagMatrix.R (.symDiagonal): newly exported utility.
264    
265            * R/diagMatrix.R (Ops): <diag> * <numeric> should not become dgeMatrix!
266    
267            * src/UFsparse_download.sh: -->
268            * src/CHOLMOD/: update to CHOLMOD version 1.6 (Nov.2007)
269    
270    2008-03-17  Martin Maechler  <maechler@stat.math.ethz.ch>
271    
272            * src/dsCMatrix.c (dsCMatrix_LDL_D): even faster utility with same
273            functionality; barely tested in
274            * tests/factorizing.R
275    
276            * src/Csparse.c (diag_tC): new functionality to enable faster
277            determinant(<dsCMatrix>, .) in
278            * R/dsCMatrix.R
279    
280    2008-03-17 18:53  Douglas Bates <bates@stat.wisc.edu>
281    
282            * R/CHMfactor.R, inst/include/Matrix.h, inst/include/Matrix_stubs.c,
283              src/CHMfactor.c, src/CHMfactor.h,
284              man/CHMfactor-class.Rd, src/init.c, tests/factorizing.R:
285              Log-determinant of the parent matrix from a CHMfactor object as
286              chm_factor_ldetL2; documentation and support
287    
288    2008-03-15  Martin Maechler  <maechler@stat.math.ethz.ch>
289    
290            * R/dsCMatrix.R: enable determinant(<dsCMatrix>, .) via chol(.)
291    
292    2008-03-14  Martin Maechler  <maechler@stat.math.ethz.ch>
293    
294            * R/dsCMatrix.R: setAs(., "dsCMatrix") but with a deprecation
295            warning.
296    
297    2008-03-13  Martin Maechler  <maechler@stat.math.ethz.ch>
298    
299            * DESCRIPTION (Version, Date): bug-fix release 0.999375-6
300    
301            * R/diagMatrix.R (diag2tT.u): utility to be smarter in
302              <diagonal> o <sparse_triangular>
303              setAs(., "nMatrix") added.
304    
305            * R/diagMatrix.R (Diagonal): Diagonal(4, x=3) now works too
306    
307            * R/Auxiliaries.R (.diagU2N): more careful coercion in 2 steps
308                    new argument 'checkDense = FALSE'.
309    
310    
311    2008-03-07  Martin Maechler  <maechler@stat.math.ethz.ch>
312    
313            * src/dgeMatrix.c (dgeMatrix_exp): fix the octave-origin bug in the
314            back-permutation of the matrix exponential.
315    
316            * tests/matr-exp.R: test the fix (for an example where expm() was wrong).
317    
318            * DESCRIPTION (Date,Version): ready to release 0.999375-5
319    
320            * tests/simple.R: testing diagN2U
321    
322    2008-03-06  Martin Maechler  <maechler@stat.math.ethz.ch>
323    
324            * R/Auxiliaries.R (diagN2U): interface to
325    
326            * src/Csparse.c (Csparse_diagN2U): .Call()able SEXP version of chm_diagN2U()
327    
328            * tests/matprod.R: test for triangularity preserving <dtC> %*% <dtC>
329    
330    2008-03-05  Martin Maechler  <maechler@stat.math.ethz.ch>
331    
332            * src/chm_common.c (chm_diagN2U): new utility.
333    
334            * src/Csparse.c (Csparse_Csparse_crossprod, Csparse_Csparse_prod):
335            make use of chm_diagN2U() and hence now preserve triangularity and
336            unit-triangularity.
337    
338            * DESCRIPTION (LicenseDetails): new; such that 'License:' becomes "canonical"
339    
340    2008-03-04  Martin Maechler  <maechler@stat.math.ethz.ch>
341    
342            * R/diagMatrix.R (subDiag): fix when x[..] became a vector
343    
344            * src/Tsparse.c (Tsparse_diagU2N): new utility, necessary for e.g.
345            * src/Csparse.c (Csparse_crossprod): use [CT]sparse_diagU2N() !!
346    
347            * R/Auxiliaries.R (.diagU2N): make use of new Tsparse_diagU2N
348    
349            * R/Ops.R ("-" (<sparseMatrix>)): use diagU2N()
350    
351            * src/chm_common.c (AS_CHM_FINISH): add note about problem
352            for triangular (diag = "U").
353    
354    2008-02-21  Martin Maechler  <maechler@stat.math.ethz.ch>
355    
356            * R/Auxiliaries.R (as_Csparse2): drop this, replacing by
357            * R/bind.R:  .Call(dense_to_Csparse, *)
358    
359    2008-02-20  Martin Maechler  <maechler@stat.math.ethz.ch>
360    
361            * R/Matrix.R (Matrix): no longer use coercions to specific classes
362                    (since we are discouraging them in user code).
363    
364            * tests/*.R: also replaces coercions to specific classes by
365            coercions to super classes.
366    
367            * R/denseMatrix.R (.dense2C): simplified by using forceSymmetric()
368    
369    
370    2008-02-19  Martin Maechler  <maechler@stat.math.ethz.ch>
371    
372            * man/CAex.Rd: example: coerce to symmetric*, not dsC*
373    
374            * src/dense.c (dense_band): generalized from ddense_band
375    
376            * R/ddenseMatrix.R (.trilDense,.triuDense, .bandDense):
377              now for "denseMatrix" (instead of just "ddense*"); much
378              simplified setMethod()s for these.
379    
380            * src/dense.c (dense_to_symmetric): generalized from ddense_*
381    
382    2008-02-18  Martin Maechler  <maechler@stat.math.ethz.ch>
383    
384            * R/AllGeneric.R: forceSymmetric() generic: fast no-checking
385            version of as(*, "symmetricMatric").
386    
387            * src/dense.c (ddense_to_symmetric): add 'symm_test' argument, and
388            * R/symmetricMatrix.R: set it TRUE in coercion to "symmetricMatrix"
389    
390    2008-02-16  Martin Maechler  <maechler@stat.math.ethz.ch>
391    
392            * R/Matrix.R (subset.ij): utility, as first step to faster
393               M [ <ij-matrix> ] indexing.
394    
395            * R/Matrix.R (.M.sub.i.logical): M[ <logical> ] : try better.
396    
397            * src/dense.c (ddense_symmpart, ddense_skewpart): new functions
398            for more efficient symmpart() and skewpart() methods.
399    
400            * src/Mutils.c (equal_string_vectors): utility
401    
402            * src/dense.c (ddense_to_symmetric): new function used in
403    
404            * R/symmetricMatrix.R: setAs(., "symmetricMatrix")
405    
406            * R/sparseMatrix.R, et_al (isSymmetric): add '...' to formals, in
407            order to match the generic (and evade .local(..)).
408    
409            * R/dsCMatrix.R: dgC -> dsC: use C code!
410    
411            * NAMESPACE, R/AllGeneric.R (symmpart, skewpart): new functions
412            as per TODO
413    
414            * R/Auxiliaries.R (setZero, all0Matrix): new utilities
415    
416            * R/symmetricMatrix.R: obvious symmpart(), skewpart() methods
417    
418    
419    2008-02-15  Martin Maechler  <maechler@stat.math.ethz.ch>
420    
421            * R/Ops.R (.Arith.Csparse): use diagU2N when needed in triangular
422    
423            * R/Auxiliaries.R (non0.i): take out of non0ind
424    
425            * R/ddenseMatrix.R (.trilDense, .triuDense, .bandDense):
426            make tril(), triu(), band() work for "matrix" and all "dense*"
427    
428            * R/triangularMatrix.R (.tri[lu].tr): need .diagU2N(*)
429            * tests/simple.R: test the fix above
430    
431            * R/sparseMatrix.R ([): simplification: no coerce to <general>
432                    before we use as(., <Tsparse>)[...] anyway
433    
434            * R/Rsparse.R (.viaC.to.R): mostly instead of .viaC.to.dgR()
435    
436            * R/triangularMatrix.R (isTriangular): methods for all subclasses
437            instead of "triangularMatrix" -- just to disambiguate
438    
439    2008-02-14  Martin Maechler  <maechler@stat.math.ethz.ch>
440    
441            * tests/Class+Meth.R (dotestMat): add m[FALSE, FALSE] { <-> TODO}
442            * tests/indexing.R: example that fails above
443    
444    2008-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
445    
446            * R/Matrix.R (.M.sub.i.2col): fix for logical matrix indexing
447            * R/Tsparse.R (.TM.sub.i.2col, .TM.repl.i.2col): ditto;
448                    now, M[lower.tri(M)] and  M[lower.tri(M)] <- v  work better
449    
450            * src/Tsparse.c (Tsparse_to_tCsparse): new fast utility.
451            * src/Tsparse.h, init.c: ditto
452            * R/Auxiliaries.R (isTriT): new; faster than going via Csparse
453                 both isTriC() and isTriT() now return TRUE with "kind" or FALSE.
454            * R/sparseMatrix.R (isTriangular): hence simplified
455    
456    2008-01-24  Martin Maechler  <maechler@stat.math.ethz.ch>
457    
458            * R/Ops.R (.Arith.Csparse): new utility factored out of former
459              <dgC> o <dgC>, extended for triangular and also used in  <dtC> o <dtC>.
460    
461    2008-01-23  Martin Maechler  <maechler@stat.math.ethz.ch>
462    
463            * tests/factorizing.R (checkSchur): and more tests for checking Schur()
464    
465            * inst/test-tools.R (isOrthogonal): new function; also file restructured
466    
467    2008-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
468    
469            * R/ngTMatrix.R: allow as(<numeric matrix>, "ngTMatrix") and hence
470            coercion to "nMatrix" and "pMatrix"
471    
472            * R/AllClass.R: "Schur" class;  "number" class union
473            * man/number-class.Rd:
474            * man/Schur-class.Rd:
475    
476            * R/eigen.R (.dgeSchur): utility, and return "Schur" class
477            (.simpleSchur): Schur() method for diagonal matrices
478            (.triSchur):    Schur() method for triangular matrices
479            (Schur.sym):    Schur() for symmetric matrices {building on eigen()}.
480    
481    
482    2008-01-21  Martin Maechler  <maechler@stat.math.ethz.ch>
483    
484            * src/dgCMatrix.c (dgCMatrix_QR): set @Dim slot (as per doc)
485    
486    2008-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
487    
488            * R/CHMfactor.R (solve): method for b="numeric", but also b="ANY"
489                    in order to ensure 'system = *' is not lost;
490                    formals()$system instead of cut&paste.
491            * tests/factorizing.R: test solve(<CHM..>, <numeric>)
492    
493    2008-01-11  Martin Maechler  <maechler@stat.math.ethz.ch>
494    
495            * DESCRIPTION (Date): make ready for release --> 0.999375-4
496    
497            * R/dgeMatrix.R: fix rcond() method for "dgeMatrix".
498    
499    2007-12-08  Martin Maechler  <maechler@stat.math.ethz.ch>
500    
501            * R/pMatrix.R: as(*, "matrix") now returns 0/1 *integer* matrix,
502                    and hence does as.vector(.).
503            * man/pMatrix-class.Rd: docs
504            * R/sparseMatrix.R: fix for printing "integer sparse"
505    
506            * tests/Class+Meth.R (tstMatrixClass): test M[FALSE], M[2] etc
507    
508            * R/Matrix.R and others: use "exact" function argument list for
509                    both "["   : (x, i,j, ..., drop)
510                    and  "[<-" : (x, i,j, ..., value)
511    
512            * R/denseMatrix.R: M[i] and M[i] <- v  (i vector) now work
513            * R/Tsparse.R (replTmat):    ditto
514            * R/diagMatrix.R (replDiag): ditto
515            * R/Csparse.R (replCmat):    ditto {was it worth the pain?}
516            * tests/indexing.R: testing the above
517    
518    2007-12-07  Martin Maechler  <maechler@stat.math.ethz.ch>
519    
520            * R/sparseMatrix.R (cov2cor): method for sparse matrices
521    
522            * R/diagMatrix.R ([<-): fix   D[ cbind(i,j) ] <- v
523    
524            * R/bind2.R: fix for Rsparse* and rbind2(dense,dense)
525    
526            * tests/Class+Meth.R: test cbind2, rbind2  and  diag<-
527    
528    2007-12-06  Martin Maechler  <maechler@stat.math.ethz.ch>
529    
530            * R/Matrix.R: "generic" cov2cor() method
531    
532            * R/nearPD.R: new 'only.values', 'keepDiag' arguments;
533                    speed up Q %*% D %*% t(Q)
534            * tests/dpoMatrix.R: test nearPD()
535    
536    2007-12-05  Doug Bates and Martin Maechler
537    
538            * R/sparseMatrix.R: xtabs(*, sparse=.) function; an extention of
539            stats::xtabs() allowing to create sparse matrices.
540    
541    2007-10-08  Martin Maechler  <maechler@stat.math.ethz.ch>
542    
543            * DESCRIPTION (Version): *-4 (released *-3 two days ago)
544    
545    2007-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
546    
547            * R/pMatrix.R: solve(<Matrix>, <pMatrix>)
548    
549    2007-10-05  Martin Maechler  <maechler@stat.math.ethz.ch>
550    
551            * R/LU.R: solve() method for "denseLU"
552    
553    2007-10-01  Martin Maechler  <maechler@stat.math.ethz.ch>
554    
555            * DESCRIPTION (Version): 0.999375-3 preparing for release
556    
557            * R/AllGeneric.R: simplify  if(.) .. else .. for R <= 2.5.1
558    
559            * R/Matrix.R (Matrix): .Internal(matrix(..)) different for R >= 2.7.0
560    
561    2007-09-26  Martin Maechler  <maechler@stat.math.ethz.ch>
562    
563            * R/pMatrix.R (.m.mult.pMat): fix <matrix> %*% <pMatrix>,
564              thanks to Kasper Kristensen.
565            * tests/matprod.R: regression test for that.
566    
567    2007-09-23 17:32  Douglas Bates <bates@stat.wisc.edu>
568    
569            * [r4778] R/AllGeneric.R: Check R version before defining generics for
570              primitives
571    
572    2007-09-13  Martin Maechler  <maechler@stat.math.ethz.ch>
573    
574            * R/denseMatrix.R (rcond): method
575            * R/sparseQR.R (rcond): method, use x or t(x)
576    
577    2007-09-12  Martin Maechler  <maechler@stat.math.ethz.ch>
578    
579            * R/dgeMatrix.R (rcond): method: work via qr.R() for non-square
580            matrices.
581            * R/sparseMatrix.R: Ditto for all other rcond() method definitions.
582    
583            * man/rcond.Rd: mention the more general definition, and add
584            example for non-square matrices.
585    
586            * man/chol.Rd: new file, for the S4 chol() generic and all methods.
587    
588    2007-09-11  Martin Maechler  <maechler@stat.math.ethz.ch>
589    
590            * R/sparseQR.R: add qr.R() method [to be used for rcond()]
591    
592    2007-09-01  Martin Maechler  <maechler@stat.math.ethz.ch>
593    
594            * R/Matrix.R ([<-): add (Matrix,missing,ANY,Matrix) etc
595            * tests/indexing.R: add new regression for the above cases.
596    
597    2007-08-30  Martin Maechler  <maechler@stat.math.ethz.ch>
598    
599            * src/Mutils.h (__sun): clause for alloca.h on Solaris
600    
601    2007-08-16  Martin Maechler  <maechler@stat.math.ethz.ch>
602    
603            * DESCRIPTION (Date, Version): 0.999375-2
604    
605    2007-08-15  Martin Maechler  <maechler@stat.math.ethz.ch>
606    
607            * R/HBMM.R (readMM): make work for pattern matrices as well
608    
609    2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>
610    
611            * [r4730] src/Mutils.h: declare alloca
612            * [r4734] NAMESPACE, R/AllGeneric.R, R/Csparse.R, R/HBMM.R, R/Tsparse.R,
613              R/dgCMatrix.R, R/dgTMatrix.R, R/dsCMatrix.R, R/dsTMatrix.R,
614              man/externalFormats.Rd, src/Csparse.c, src/Csparse.h, src/DEPS.mkf,
615              src/HBMM.c, src/HBMM.h, src/Mutils.h, src/SOURCES_C.mkf, src/init.c,
616              src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its
617              methods; switch writeMM to use CHOLMOD code; repair readMM
618    
619    2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
620    
621            * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens
622            Oehlschlaegel's ... result type still to be discussed!
623    
624    2007-08-10  Martin Maechler  <maechler@stat.math.ethz.ch>
625    
626            * man/image-methods.Rd: new, combining all image() methods
627    
628    2007-08-09  Martin Maechler  <maechler@stat.math.ethz.ch>
629    
630            * R/dgCMatrix.R: define qr() and lu() methods for "sparseMatrix"
631            to work via dgC...
632    
633            * R/Matrix.R (Matrix): special treatment for "table" (S3)
634    
635    2007-08-07  Martin Maechler  <maechler@stat.math.ethz.ch>
636    
637            * R/dgTMatrix.R (image): change defaults to
638                    aspect = "iso", colorkey = FALSE
639    
640    2007-08-06  Martin Maechler  <maechler@stat.math.ethz.ch>
641    
642            * src/dsyMatrix.c (dsyMatrix_matrix_mm): 'b' might be matrix;
643            must copy its *expanded* x slot before LAPACK call.
644    
645            * tests/matprod.R: test the last days' changes.
646    
647    2007-08-06 16:43  Douglas Bates <bates@stat.wisc.edu>
648    
649            * [r4712] inst/include/Matrix_stubs.c: Change R_cholmod_printf in stubs
650              as well as in sources
651            * [r4713] src/dsyMatrix.c: Duplicate the contents of the RHS before
652              Lapack call
653    
654    2007-08-03  Martin Maechler  <maechler@stat.math.ethz.ch>
655    
656            * R/Matrix.R (%*%, crossprod, tcrossprod): add method for
657                    ("Matrix", "matrix") which is needed in some cases.
658            Ditto for solve().
659    
660            * R/colSums.R (.as.dge.Fun): need ddenseMatrix methods to avoid
661            infinite recursion in dispatch for some cases.
662    
663    2007-08-02 08:48  Martin Maechler <maechler@stat.math.ethz.ch>
664    
665            * [r4693] src/chm_common.c: R_cholmod_printf() instead of Rprintf() just
666              so pointers match
667    
668    2007-08-02  Martin Maechler  <maechler@stat.math.ethz.ch>
669    
670            * DESCRIPTION (Date): set ready for release -- 0.999375-1
671    
672    2007-08-01 15:44  Douglas Bates <bates@stat.wisc.edu>
673    
674            * [r4686] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
675              src/chm_common.c, src/chm_common.h: Change API for
676              numeric_as_chm_dense and N_AS_CHM_DN
677    
678    2007-08-01  Martin Maechler  <maechler@stat.math.ethz.ch>
679    
680            * src/dtrMatrix.c (dtrMatrix_matrix_mm): fix dimensionality check (!)
681            * tests/matprod.R: regr.test for it
682    
683    2007-07-20  Martin Maechler  <maechler@stat.math.ethz.ch>
684    
685            * R/dMatrix.R: fix from Brian for   Math2(., digits = "missing")
686            * tests/group-methods.R: and regression-test it
687    
688    2007-07-19 19:45  Douglas Bates <bates@stat.wisc.edu>
689    
690            * [r4642] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
691              inst/include/cholmod.h, src/chm_common.c, src/init.c: Export
692              triplet_to_sparse, documentation, use typedefs
693    
694    2007-07-18  Martin Maechler  <maechler@stat.math.ethz.ch>
695    
696            * man/dpoMatrix-class.Rd: added 'corMatrix' example
697    
698            * src/dsyMatrix.[ch] (dsyMatrix_as_matrix): new 'keep_dimnames' arg
699            * src/dtrMatrix.[ch] (dtrMatrix_as_matrix): ditto
700            * src/init.c, R/dsyMatrix.R, R/dtrMatrix.R, R/lgTMatrix.R: ditto
701    
702            * R/lsparseMatrix.R: bug fix in "all" method
703            * R/Ops.R (.do.Logic.lsparse): "|" bug in borderline case
704    
705            * R/dsyMatrix.R (coerce->dsTMatrix): (i,j) slots should *not* have names
706            * R/ngTMatrix.R (coerce->ngTMatrix): ditto;
707                    + matrix |-> nMatrix coercion
708            * R/pMatrix.R: + setAs()  to dMatrix and from nMatrix
709            * man/pMatrix-class.Rd: ditto
710    
711            * R/Matrix.R (Summary): method for non-dMatrix
712    
713            * tests/Class+Meth.R (extraValid): new check about "dirty" slots
714            * tests/Class+Meth.R (tstMatrixClass): test norm(.);
715                    test all Summary methods.
716    
717    2007-07-16  Martin Maechler  <maechler@stat.math.ethz.ch>
718    
719            * R/dgeMatrix.R (norm, rcond): methods for 'matrix'
720    
721    2007-07-14  Martin Maechler  <maechler@stat.math.ethz.ch>
722    
723            * R/sparseMatrix.R (norm): simple methods for sparseMatrix
724    
725            * R/pMatrix.R (t?crossprod): methods for pMatrix
726    
727    2007-07-10  Douglas Bates  <bates@stat.wisc.edu>
728    
729            * src/dgeMatrix.c (dgeMatrix_colsums): Get the logic straight.
730    
731    2007-07-09 20:45  Douglas Bates <bates@stat.wisc.edu>
732    
733            * [r4579] src/dgeMatrix.c: Untangle horrible code in dgeMatrix_colsums
734              trying to fix a subtle bug - which has been somewhere else.
735    
736    2007-07-09 19:43  Martin Maechler <maechler@stat.math.ethz.ch>
737    
738            * [r4578] src/dgeMatrix.c: "cleaned" dgeMatrix_colsums() - but did not
739              solve the bug
740    
741    2007-07-08  Martin Maechler  <maechler@stat.math.ethz.ch>
742    
743            * src/dgCMatrix.c (compressed_to_TMatrix):
744    
745    2007-07-07  Martin Maechler  <maechler@stat.math.ethz.ch>
746    
747            * src/Csparse.c (Rsparse_validate): new, to have some validity
748            checking for RsparseMatrix
749            * src/dgCMatrix.c (xRMatrix_validate): ditto
750            * src/dtCMatrix.c (tRMatrix_validate): ditto
751    
752    2007-07-07  Douglas Bates <bates@stat.wisc.edu>
753    
754            * [r4567] R/AllClass.R: Slots already in RsparseMatrix were redefined in
755              lgRMatrix
756            * [r4568] DESCRIPTION: Prepare for bug-fix release
757            * [r4570] src/CHOLMOD/Check/cholmod_write.c: Include cholmod_matrixops.h
758              for declaration of cholmod_symmetry
759    
760    2007-07-06  Martin Maechler  <maechler@stat.math.ethz.ch>
761    
762            * DESCRIPTION (Version): 0.999375 merged into the trunk; ready for
763            release.
764    
765    2007-07-06 14:11  Douglas Bates <bates@stat.wisc.edu>
766    
767            * [r4559] src/iohb.c, src/iohb.h: Remove Harwell-Boeing input/output
768              functions - no longer used
769            * [r4560] src/HBMM.c, src/Mutils.c, src/dgTMatrix.c, src/dgeMatrix.c,
770              src/dspMatrix.c, src/dsyMatrix.c, src/dtCMatrix.c,
771              src/factorizations.c, src/sparseQR.c: Replace most calls to Calloc by
772              Alloca
773    
774    2007-07-06 13:14  Martin Maechler <maechler@stat.math.ethz.ch>
775    
776            * [r4558] inst/doc/Comparisons.Rnw, src/CHMfactor.c, src/Csparse.c,
777              src/Tsparse.c, src/chm_common.c, src/chm_common.h, src/dense.c,
778              src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c, src/sparseQR.c,
779              src/t_gCMatrix_colSums.c: more R_CheckStack()s
780    
781    2007-07-05 18:12  Douglas Bates <bates@stat.wisc.edu>
782    
783            * [r4550] inst/include/Matrix.h: Add the macro N_AS_CHM_DN to "alloca"
784              the required amount of memory then call M_numeric_as_chm_dense.
785            * [r4556] src/Mutils.h, src/dgCMatrix.c: Define and use the Alloca macro
786              (like Calloc but calling alloca)
787    
788    2007-07-05  Martin Maechler  <maechler@stat.math.ethz.ch>
789    
790            * R/sparseMatrix.R (printSpMatrix): renamed from prSpMatrix()
791            and extended with more sophisticated 'col.names' option.
792            * NAMESPACE: export  printSparseMatrix()
793            * man/printSpMatrix.Rd: document, incl. examples
794    
795    2007-07-04 16:21  Douglas Bates <bates@stat.wisc.edu>
796    
797            * [r4543] src/cs_utils.c, src/cs_utils.h, src/dgCMatrix.c,
798              src/dtCMatrix.c, src/sparseQR.c: CSP typedef for *cs and macro
799              AS_CSP. API change - pass the empty structure to Matrix_as_cs.
800    
801    2007-07-04  Martin Maechler  <maechler@stat.math.ethz.ch>
802    
803            * DESCRIPTION (Version): 0.99875-4
804    
805            * tests/Class+Meth.R (tstMatrixClass): add dimnames, and hence test
806            some dimnames perservation.
807    
808            * R/dsTMatrix.R (t-method): keep dimnames
809            * R/dtTMatrix.R:  ditto
810    
811            * R/sparseMatrix.R (prSpMatrix): print colnames when non-trivial
812            and ncol(.) < 10
813    
814            * src/cs_utils.c: drop check_class() and use Matrix_check_class()
815            from Mutils.h
816    
817            * src/lgCMatrix.c ([ln]csc_to_matrix): no longer lose dimnames,
818            e.g. in as(<ngCMatrix>, "matrix")
819    
820    2007-07-01 13:27  Douglas Bates <bates@stat.wisc.edu>
821    
822            * [r4529] .: Create a branch for the API changes from the 0.99875
823              series to the 0.999375 series
824            * [r4530] DESCRIPTION, inst/include/Matrix.h,
825              inst/include/Matrix_stubs.c, src/CHMfactor.c, src/Csparse.c,
826              src/Mutils.h, src/Tsparse.c, src/chm_common.c, src/chm_common.h,
827              src/dense.c, src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c,
828              src/t_gCMatrix_colSums.c: API change - pass the empty structure to the
829              as_cholmod_x functions
830    
831    2007-06-30 09:05  Martin Maechler <maechler@stat.math.ethz.ch>
832    
833            * [r4527] trunk/Matrix/DESCRIPTION, trunk/Matrix/NAMESPACE,
834              trunk/Matrix/inst/doc/Comparisons.Rnw: add session- and hardware-info
835              to Comparisons
836    
837    >>>>>>> .merge-right.r4561
838    2007-06-29  Martin Maechler  <maechler@stat.math.ethz.ch>
839    
840            * DESCRIPTION (Version): 0.99875-3 ready to be released.
841    
842            * R/sparseMatrix.R (spMatrix): make spMatrix(3,4) working
843    
844            * R/AllGeneric.R: set "Math" (and "Math2") group generics in a way
845            that should also work in a future version of R.
846    
847    2007-06-21  Martin Maechler  <maechler@stat.math.ethz.ch>
848    
849            * NAMESPACE, R/AllClass.R: "xsparseVector" class union.
850    
851            * R/sparseVector.R: more *sparseVector coercions, notably for
852            non - double ones.
853    
854    2007-06-19  Martin Maechler  <maechler@stat.math.ethz.ch>
855    
856            * R/colSums.R: new file for all (col|row)(Sums|Means) methods,
857              notably the new ones building on the new .Call(.)s:
858    
859            * src/dgCMatrix.c (DEF_gCMatrix_COLSUMS): use to define
860            all 4 of [dlin]gCMatrix_colSums().
861    
862    2007-06-18 16:12  Douglas Bates <bates@stat.wisc.edu>
863    
864            * [r4472] src/Syms.h, src/init.c: Added Matrix_lengthSym
865            * [r4473] src/dgCMatrix.c: Modified dgCMatrix_colSums for sparseVector
866              result
867    
868    2007-06-16  Martin Maechler  <maechler@stat.math.ethz.ch>
869    
870            * R/kronecker.R: fix typo (could lead to inf.recursion)
871            * test/simple.R: testing that
872    
873            * R/sparseMatrix.R (prSpMatrix): change to be used as print()
874            method as well (which can have arguments, show() can't).
875    
876    2007-06-16 15:52  Douglas Bates <bates@stat.wisc.edu>
877    
878            * [r4466] R/dgCMatrix.R, src/dgCMatrix.c, src/dgCMatrix.h, src/init.c:
879              added dgCMatrix_colSums for [col,row][Sums,Means]
880    
881    2007-06-15 23:15  Douglas Bates <bates@stat.wisc.edu>
882    
883            * [r4460] R/sparseMatrix.R, man/dgCMatrix-class.Rd, src/dgCMatrix.c,
884              src/dgCMatrix.h, src/init.c: added lm.fit.sparse (unexported),
885              coercion of "factor" to "dgCMatrix" and dgCMatrix_cholsol
886            * [r4461] R/AllClass.R, man/sparseMatrix-class.Rd: draft "indicators"
887              class
888            * [r4463] R/sparseMatrix.R, man/dgCMatrix-class.Rd,
889              man/sparseMatrix-class.Rd: Don't need an "indicators" class - use the
890              row names to store the levels - duh!  Added an example.
891    
892    2007-06-14  Martin Maechler  <maechler@stat.math.ethz.ch>
893    
894            * src/Csparse.c (Csparse_validate): check for *repeated* entries
895            thanks to example from Christian Buchta; with a test here:
896            * tests/simple.R:
897    
898    2007-06-07  Martin Maechler  <maechler@stat.math.ethz.ch>
899    
900            * R/Auxiliaries.R (callGeneric): another fix, needed for some cases
901            of colSums(*, sparseResult = TRUE)
902    
903    2007-06-06  Martin Maechler  <maechler@stat.math.ethz.ch>
904    
905            * R/lsparseMatrix.R, R/ldenseMatrix.R (all, any): change default to
906            'na.rm = FALSE' as "everywhere" else in R.
907    
908    2007-06-05 Douglas Bates <bates@stat.wisc.edu>
909    
910            * [r4421] src/CSparse_install.sh: Modify for new organization of
911              CSparse package
912            * [r4425] src/UFsparse_download.sh: Update to version 3.0.0 of
913              SuiteSparse
914            * [r4426] src/Makefile: add ./UFconfig to the include path for
915              compilation
916            * [r4427] src/cs.[ch]: update to CSparse version 2.2.0
917            * [r4428] inst/doc/UFsparse/* src/{AMD,CHOLMOD,COLAMD}/*
918              src/UFconfig/UFconfig.h: Update to version 3.0.0 of SuiteSparse
919    
920    2007-06-05  Martin Maechler  <maechler@stat.math.ethz.ch>
921    
922            * R/Auxiliaries.R (emptyColnames): + argument msg.if.not.empty, used in
923            * R/sparseMatrix.R (prSpMatrix): now gives a message about
924            suppressed column names.
925    
926    2007-06-04 17:13  Douglas Bates <bates@stat.wisc.edu>
927    
928            * [r4418] src/Csparse.c, src/HBMM.c, src/Mutils.c, src/Mutils.h,
929              src/Tsparse.c, src/chm_common.c, src/chm_common.h, src/dgCMatrix.c,
930              src/dgeMatrix.c, src/dpoMatrix.c, src/dpoMatrix.h, src/dppMatrix.c,
931              src/dppMatrix.h, src/dsCMatrix.c, src/dspMatrix.c, src/dspMatrix.h,
932              src/dsyMatrix.c, src/dsyMatrix.h, src/dtpMatrix.c, src/dtrMatrix.c:
933              Remove warnings after change to const char* CHAR
934    
935    2007-06-04 17:11  Douglas Bates <bates@stat.wisc.edu>
936    
937            * [r4417] inst/include/Matrix_stubs.c, inst/include/cholmod.h: Corrected
938              type of M_cholmod_ssmult
939    
940    2007-06-03 14:42  Douglas Bates <bates@stat.wisc.edu>
941    
942            * [r4412] inst/include/Matrix_stubs.c, inst/include/cholmod.h,
943              src/init.c: Yet another cholmod export - cholmod_ssmult
944    
945    2007-05-23  Martin Maechler  <maechler@stat.math.ethz.ch>
946    
947            * NAMESPACE: exported drop0(), since
948            * man/drop0.Rd: I have seen several cases, I really wanted to use
949            it, so our users may want too.
950    
951    2007-05-22  Martin Maechler  <maechler@stat.math.ethz.ch>
952    
953            * man/colSums.Rd: separately document colSums() etc, since these
954            have the extra argument 'sparseResult'.
955    
956    2007-05-21  Martin Maechler  <maechler@stat.math.ethz.ch>
957    
958            * R/sparseMatrix.R (spMatrix): utility (T)sparse Matrix constructor;
959            * man/spMatrix.Rd: docu., including examples
960    
961            * R/Auxiliaries.R (sp.colMeans): etc, using a patched callGeneric(),
962            in order to make colMeans() etc fast *and* correct.
963            * R/sparseVector.R (replSPvec): "[<-" functionality for
964            sparseVectors; tested in
965            * tests/simple.R:
966    
967    2007-05-19  Martin Maechler  <maechler@stat.math.ethz.ch>
968    
969            * R/sparseMatrix.R (print.sparseSummary): and summary() method for
970            (very) sparse Matrices; output similar to Matlab's print().
971    
972    2007-05-17  Douglas Bates  <bates@stat.wisc.edu>
973    
974            * src/HBMM.c (Matrix_writeMatrixMarket): Write 1-based, not
975            0-based, indices (Jose Quesada <quesada@gmail.com>).
976    
977    2007-05-16  Douglas Bates  <bates@stat.wisc.edu>
978    
979            * R/CHMfactor.R: Added solve methods for a CHMfactor object.
980    
981    2007-05-16  Martin Maechler  <maechler@stat.math.ethz.ch>
982    
983            * R/Auxiliaries.R (sparsapply): new utility, much faster than
984            tapply1() for large sparse matrices.
985    
986    2007-05-15  Martin Maechler  <maechler@stat.math.ethz.ch>
987    
988            * R/Matrix.R (dim<-): reshape now via sparseVector.
989    
990            * R/sparseVector.R: methods and function for
991            * R/AllClass.R: new "sparseVector" class and daughters.
992            * NAMESPACE: export new classes
993    
994    2007-05-14  Martin Maechler  <maechler@stat.math.ethz.ch>
995    
996            * DESCRIPTION (Version): 0.99875-1
997            * src/Makefile.win: also remove Lapack code from here (cf. 04-25).
998    
999    2007-05-11  Martin Maechler  <maechler@stat.math.ethz.ch>
1000    
1001            * R/Tsparse.R ([, Tsparse): fix last case: *duplicated*, symmetric
1002            indexing
1003            * tests/indexing.R: test set for that.
1004    
1005    2007-05-08  Martin Maechler  <maechler@stat.math.ethz.ch>
1006    
1007            * R/Tsparse.R (replTmat): fix the case of *duplicated* index
1008            entries.
1009            * tests/indexing.R(out): add regression test for it
1010    
1011    2007-04-30  Martin Maechler  <maechler@stat.math.ethz.ch>
1012    
1013            * R/(l(dense|sparse))?Matrix.R (!): use 'x', not 'e1' as argument
1014            name for "!" method definitions.
1015    
1016    2007-04-26  Martin Maechler  <maechler@stat.math.ethz.ch>
1017    
1018            * R/Tsparse.R (intI): new utility, used for "[" :
1019                    Cleanup up there, and fixes for duplicated indices - more TODO!
1020    
1021            * tests/indexing.R(out): more tests
1022    
1023    2007-04-25  Douglas Bates  <bates@stat.wisc.edu>
1024    
1025            * DESCRIPTION,src/Makefile: require R>= 2.5.0 and remove Lapack
1026            code that is now part of the R Lapack library.
1027    
1028            * src/init.c,inst/include/{Matrix_stubs.c,cholmod.h}:export
1029            cholmod_factorize_p (used in lme4 for GLMMs and NLMMs).
1030    
1031    2007-04-21  Martin Maechler  <maechler@stat.math.ethz.ch>
1032    
1033            * R/Matrix.R (image): method for all Matrices, not just sparse ones.
1034    
1035    2007-04-17  Martin Maechler  <maechler@stat.math.ethz.ch>
1036    
1037            * R/Auxiliaries.R (tapply1): unname(.) -> colSums() etc don't end
1038            up with extraneous names '0'...'<n-1>'
1039    
1040    2007-04-12  Martin Maechler  <maechler@stat.math.ethz.ch>
1041    
1042            * R/dgTMatrix.R (mat2dgT): care about NAs
1043    
1044    2007-04-11  Martin Maechler  <maechler@stat.math.ethz.ch>
1045    
1046            * R/kronecker.R: triangularity preserving methods
1047    
1048    2007-03-27  Martin Maechler  <maechler@stat.math.ethz.ch>
1049    
1050            * R/kronecker.R: new file collecting kronecker() methods in one
1051                    place.  Goal: become much faster!
1052    
1053    2007-03-23  Martin Maechler  <maechler@stat.math.ethz.ch>
1054    
1055            * src/dtCMatrix.c (dtCMatrix_solve): use the new code from Kasper
1056            Kristensen based cs_spsolve() instead of _lsolve & _usolve which
1057            can be much faster.
1058    
1059            * tests/matprod.R: add regression tests for these (upper & lower).
1060    
1061    2007-03-19  Martin Maechler  <maechler@stat.math.ethz.ch>
1062    
1063            * R/Matrix.R (diff): method for our Matrices.
1064    
1065            * R/sparseMatrix.R (isDiagonal): check dim()!
1066    
1067    2007-03-17  Martin Maechler  <maechler@stat.math.ethz.ch>
1068    
1069            * R/Matrix.R (dim<-): new method for "reshape()" built on a
1070            proposal from Tamas Papp.
1071    
1072    2007-03-16  Martin Maechler  <maechler@stat.math.ethz.ch>
1073    
1074            * R/AllGeneric.R: remove all  if(!isGeneric(.))  clauses
1075    
1076            * R/zzz.R (.onLoad, .onUnload): do *not* leave bind_activation(TRUE);
1077            rather define and export  cBind() and rBind() only.
1078            --> useRs *must* change code that used to have cbind()/rbind() !!
1079    
1080            * R/bind.R: change tests from cbind() to cBind() and similarly to rBind()
1081            * R/bind.Rout.save: ditto
1082    
1083    2007-02-16  Douglas Bates  <bates@r-project.org>
1084    
1085            * DESCRIPTION (Date, Version): 0.9975-11 with new date
1086            * src/dgCMatrix.c (R_to_CMatrix, compressed_to_TMatrix): remove
1087            const modifier on declaration of the array 'valid'
1088    
1089    2007-02-12  Douglas Bates  <bates@stat.wisc.edu>
1090    
1091            * R/CHMfactor.R: Add image method (coercion to sparseMatrix).
1092    
1093    2007-02-05  Martin Maechler  <maechler@stat.math.ethz.ch>
1094    
1095            * DESCRIPTION (Date, Version): 0.9975-10 with new date.
1096    
1097            * R/Ops.R (Arith): make sure Csparse o Csparse also works for e.g. ntCMatrix
1098            * tests/simple.R: test the above and some of these coercions:
1099    
1100            * R/nsparseMatrix.R: coercing "Csparse" to "lsparseMatrix";
1101                    be careful to avoid infinite recursion, using new coercions in
1102            * R/ngCMatrix.R and nsC... and ntC...
1103            * R/lsparseMatrix.R: ditto
1104    
1105            * R/SparseM-conv.R: more conversion, notably for triplet matrices.
1106    
1107            * src/dgCMatrix.c (R_to_C_Matrix): port Doug's fix and
1108            * R/Rsparse.R: reactivate .Call()s
1109    
1110            * tests/Class+Meth.R: a bit more on actual classes
1111    
1112    2007-02-04  Douglas Bates  <bates@stat.wisc.edu>
1113    
1114            * src/dgCMatrix.c (compressed_to_TMatrix): fix memory bug using strdup()
1115    
1116    2007-02-03  Martin Maechler  <maechler@stat.math.ethz.ch>
1117    
1118            * DESCRIPTION (Version): 0.9975-10 to upload
1119    
1120            * tests/Class+Meth.R (tstMatrixClass): require coercions to
1121            specific classes less unconditionally.
1122    
1123            * R/Auxiliaries.R: get rid of as_Tsparse() and as_Rsparse()
1124    
1125            * R/Tsparse.R (triu): etc, use as(*, "TsparseMatrix") instead of as_Tsparse()
1126    
1127            * R/Rsparse.R (.R.2.T): R-level workaround using compressed_to_TMatrix.
1128            * R/Rsparse.R (.R.2.C): R-level workaround since C-level
1129            R_to_CMatrix segfaults on one platform.
1130            Eliminate most coercion method to *specific* classes, and replace
1131            with virtual classes coercions.
1132    
1133    
1134    2007-02-01  Martin Maechler <maechler@stat.math.ethz.ch>
1135    
1136            * src/init.c: export the CHM...._validate() placeholders, since
1137            they *are* called.
1138    
1139            * tests/Class+Meth.R (classCanCoerce): and starting to test
1140            all as(<from>, <to>)
1141    
1142    2007-01-30  Martin Maechler  <maechler@stat.math.ethz.ch>
1143    
1144            * R/Tsparse.R ([): more care when subsetting triangular Tsparse
1145            * tests/indexing.R: tested now
1146            * tests/indexing.Rout.save: updated
1147    
1148            * src/Csparse.c (Csparse_to_dense): use Rkind = -1 for PATTERN to
1149            * src/chm_common.c (chm_dense_to_SEXP): return "ngeMatrix" when
1150            appropriate.
1151    
1152            * NAMESPACE: export a trivial
1153            * R/Matrix.R: drop() Matrix-method
1154    
1155            * R/AllClass.R: moved all prototypes to virtual super classes.
1156    
1157            * R/Rsparse.R: many more coercions to have less exceptions in
1158            * tests/Class+Meth.R:
1159    
1160            * R/Ops.R (Compare): tweak for case with NA
1161            * tests/simpl.R: hence another 'FIXME' eliminated
1162    
1163    2007-01-29  Martin Maechler  <maechler@stat.math.ethz.ch>
1164    
1165            * R/diagMatrix.R (solve): the obvious methods for diagonalMatrix
1166            objects.
1167    
1168            * tests/Class+Meth.R (tstMatrixClass): now testing diag(), nnzero(),
1169              and more of "!", "&", "|", all, any; coercions
1170    
1171            * R/Rsparse.R: many coercions (which enable quite a few other
1172            methods), thanks to enhancements in
1173            * src/dgCMatrix.c (R_to_CMatrix): new, and
1174            * src/dgCMatrix.c (compressed_to_TMatrix): now for (d,l,n) ,
1175            symmetric & triangular and ..RMatrix objects.
1176    
1177            * src/TMatrix_as.c (Matrix_T_as_DENSE,Matrix_T_as_GENERAL):
1178            renamed file from src/dsTMatrix.c;
1179            now dealing with symmetric and triangular Tsparse coercions, both
1180            to dense and general.
1181    
1182    2007-01-27  Martin Maechler  <maechler@stat.math.ethz.ch>
1183    
1184            * src/dsTMatrix.c: has now "l" and "n" methods besides the "d" ones.
1185    
1186            * R/Ops.R (Arith): <dgCMatrix> o <numeric> now remains sparse
1187            where sensible when the <numeric> is of length > 1.
1188    
1189    2007-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
1190    
1191            * R/Matrix.R ([<-): for M[] <- value: fix length
1192    
1193    2007-01-25  Martin Maechler  <maechler@stat.math.ethz.ch>
1194    
1195            * R/Auxiliaries.R (n2l_Matrix): new, to be used in
1196            * R/ndenseMatrix.R: new coercions n* -> l*
1197    
1198    2007-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
1199    
1200            * R/triangularMatrix.R: new file; simple triu() and tril() methods.
1201    
1202            * R/Ops.R ("Logic"): and other "Ops", many updates
1203    
1204    2007-01-18  Martin Maechler  <maechler@stat.math.ethz.ch>
1205    
1206            * src/Mutils.h (SET_DimNames): new utility
1207    
1208            * R/Auxiliaries.R (nnzero): improved and now exported via
1209    
1210            * NAMESPACE: + nnzero(); length() == prod(dim(.)) method for all "Matrix" objects
1211    
1212    2007-01-17  Martin Maechler  <maechler@stat.math.ethz.ch>
1213    
1214            * R/diagMatrix.R (!): fix typo.
1215    
1216    2007-01-16  Martin Maechler  <maechler@stat.math.ethz.ch>
1217    
1218            * R/Auxiliaries.R (as_Csparse): and quite a few others:
1219                    allow to pass class definition --> speedup
1220            * R/sparseMatrix.R: apply the above
1221    
1222            * R/Csparse.R: coercion Csparse* to dense* now preserves shape properties.
1223    
1224            * src/Mutils.h (mMatrix_as_geMatrix): new, based on
1225            * src/Mutils.c (dup_mMatrix_as_geMatrix): new; generalization of
1226            old dup_mMatrix_as_dgeMatrix), eliminating a long-standing "FIXME".
1227    
1228            * src/dense.c (dense_to_Csparse): use new mMatrix_as_geMatrix()
1229    
1230            * R/denseMatrix.R (.dense2C): based on dense_to_Csparse: name it,
1231            and use it for "sparse*" as well, since it's faster than the
1232            as_Csparse(.) way.
1233    
1234    2007-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
1235    
1236            * R/Ops.R ("Logic"): more methods, notably an  <lgC> o <lgC> one.
1237    
1238    2007-01-12  Martin Maechler  <maechler@stat.math.ethz.ch>
1239    
1240            * R/Tsparse.R (.TM.repl.i.2col): new internal function to be used
1241            as method for   M[ ij ] <- v
1242            * R/Csparse.R:: go via Tsparse for "M[ij] <- v"
1243    
1244            * R/Ops.R: "Compare" for (C|R)sparse: need pointer slot for all
1245            FALSE answer
1246    
1247            * R/Csparse.R (replCmat): fix the "all non-zero" case with reordering
1248            * tests/indexing.R: test it, and some of the above
1249    
1250    2007-01-05  Martin Maechler  <maechler@stat.math.ethz.ch>
1251    
1252            * R/Auxiliaries.R (is_duplicatedT): new utility
1253    
1254    2007-01-05  Douglas Bates  <bates@stat.wisc.edu>
1255    
1256            * src/init.c (R_init_Matrix): export cholmod_scale
1257    
1258    2006-12-30  Martin Maechler  <maechler@stat.math.ethz.ch>
1259    
1260            * R/zzz.R (tmp): for R >= 2.5.0, extend formals of our
1261            base::as.matrix to (x, ...)
1262    
1263    2006-12-28  Martin Maechler  <maechler@stat.math.ethz.ch>
1264    
1265            * R/Ops.R ("Arith" etc): move almost all "Ops" methods to new R
1266            file; start using "Logic", hence
1267    
1268            * DESCRIPTION (Depends): R >= 2.4.1 (since we want "Logic")
1269            * NAMESPACE: import and export "Logic"
1270    
1271    2006-12-27  Martin Maechler  <maechler@stat.math.ethz.ch>
1272    
1273            * src/zpotfr.f and dependencies: use LAPACK 3.1 version
1274            only needed previously to R version 2.5.0.
1275    
1276    2006-12-26  Martin Maechler  <maechler@stat.math.ethz.ch>
1277    
1278            * DESCRIPTION (Date, Version): 0.9975-8, ready for release
1279    
1280            * R/Tsparse.R (replTmat): fix subassignment of triangular
1281            * R/Csparse.R (replCmat): ditto
1282            * tests/indexing.R: more tests, incl the above fix
1283    
1284    2006-12-23  Martin Maechler  <maechler@stat.math.ethz.ch>
1285    
1286            * R/Auxiliaries.R (drop0): extend for non CSparse
1287            * R/Auxiliaries.R (diagU2N): should work for all sparseMatrix
1288    
1289            * src/Csparse.c (Csparse_to_Tsparse, Csparse_general_to_symmetric):
1290                    use uplo correctly (!); other places: use uplo_P() macro
1291    
1292            * R/Csparse.R (replCmat): call diagU2N() when needed
1293            * R/Tsparse.R (replTmat): ditto
1294    
1295            * src/dtCMatrix.c (tCMatrix_validate): new
1296            * src/dtTMatrix.c (tTMatrix_validate): new, used in
1297            * R/AllClass.R: for validity of dtC, dsC, and dtT, dsT.
1298    
1299            * R/diagMatrix.R (replDiag): to use in [<-
1300    
1301    2006-12-22  Martin Maechler  <maechler@stat.math.ethz.ch>
1302    
1303            * R/Auxiliaries.R (as_Csparse2, as_geSimpl): new functions;
1304                    also more general diagU2N().
1305    
1306    2006-12-21  Martin Maechler  <maechler@stat.math.ethz.ch>
1307    
1308            * R/bind2.R: new file for all cbind2(), rbind() methods moved here
1309            from R/<foo>Matrix.R files. Better diagonal & improved sparse methods.
1310    
1311    2006-12-20  Martin Maechler  <maechler@stat.math.ethz.ch>
1312    
1313            * tests/bind.R: a few more cases
1314            * R/Auxiliaries.R (.M.kind): also work for atomic vectors
1315    
1316            * R/denseMatrix.R (cbind2/rbind2): moved here (and generalized) from
1317            * R/ddenseMatrix.R (cbind2/rbind2)
1318            * R/Tsparse.R (replTmat): final(?!) fix for "[<-" ..
1319            * tests/indexing.R
1320            * tests/indexing.Rout.save: updated
1321    
1322    2006-12-18  Martin Maechler  <maechler@stat.math.ethz.ch>
1323    
1324            * R/Tsparse.R (replTmat): fixed a remaining "[<-" bug in
1325            * tests/indexing.R
1326    
1327    2006-12-15  Martin Maechler  <maechler@stat.math.ethz.ch>
1328    
1329            * R/sparseMatrix.R (prSpMatrix): "." alignment much improved:
1330            align with proper position of "0", i.e., right for integers.
1331            argument 'align' by default is "fancy".
1332    
1333    2006-12-14  Martin Maechler  <maechler@stat.math.ethz.ch>
1334    
1335            * R/sparseMatrix.R: delegate "Compare" to "Csparse.."
1336            * R/Csparse.R: and fix "Compare" for more cases.
1337            * tests/Class+Meth.R: test some of these (m == m, m != m)
1338    
1339    2006-12-13  Martin Maechler  <maechler@stat.math.ethz.ch>
1340    
1341            * R/lsparseMatrix.R: all() and any() methods
1342            * R/ldenseMatrix.R:      ditto
1343            * NAMESPACE, R/Matrix.R: ditto
1344    
1345            * man/all-methods.Rd: document them minimally
1346    
1347            * tests/simple.R: add a few examples for these
1348    
1349    2006-12-11  Martin Maechler  <maechler@stat.math.ethz.ch>
1350    
1351            * R/Tsparse.R ([): fix long standing typo in symmetric case
1352            * man/dsCMatrix-class.Rd: add example exhibiting the above case
1353    
1354    2006-12-10  Douglas Bates  <bates@stat.wisc.edu>
1355    
1356            * src/CHMfactor.c (CHMfactor_to_sparse): change LDL factorization
1357            to LL before converting to a sparse matrix. (The LDL form can be
1358            converted to a sparse matrix but it is implicitly a unit
1359            triangular matrix and a diagonal matrix overwritten on the diagonal.)
1360    
1361    2006-12-09  Douglas Bates  <bates@stat.wisc.edu>
1362    
1363            * src/chm_common.c (chm_factor_to_SEXP): allocate and fill the Dim slot.
1364    
1365    2006-12-08  Douglas Bates  <bates@stat.wisc.edu>
1366    
1367            * DESCRIPTION (Version): updated -> release 0.9975-7
1368            * src/{init.c,chm_common.c}, inst/include/*: export cholmod_analyze_p
1369    
1370    2006-11-30  Martin Maechler  <maechler@stat.math.ethz.ch>
1371    
1372            * R/diagMatrix.R (%*%): write a direct [diag o Csparse] method
1373    
1374    2006-11-29  Douglas Bates  <bates@stat.wisc.edu>
1375    
1376            * src/dgeMatrix.c (dgeMatrix_solve): Check error code from dgetri.
1377            * tests/dg_Matrix.R: Add Barry Rowlingson's test of a matrix that
1378            is exactly singular.
1379    
1380    2006-11-07  Martin Maechler  <maechler@stat.math.ethz.ch>
1381    
1382            * DESCRIPTION (Date): updated -> release 0.9975-6
1383    
1384    2006-11-06  Martin Maechler  <maechler@stat.math.ethz.ch>
1385    
1386            * R/Csparse.R (replCmat): symmetric indexing of symmetric matrix
1387            now returns symmetric.
1388    
1389            * R/zzz.R ("diag<-"): replace "diag<-" in base for R <= 2.4.x
1390    
1391            * R/Matrix.R (.M.sub.i.2col):  new, for  M[ cbind(i,j) ] indexing.
1392            * R/Matrix.R (.M.repl.i.2col): new, for  M[ cbind(i,j) ] <- value
1393    
1394            * R/Auxiliaries.R (.type.kind): added
1395    
1396    2006-11-04  Martin Maechler  <maechler@stat.math.ethz.ch>
1397    
1398            * src/cs.[ch]: updated to CSparse Version 2.0.3 by simply
1399            running src/CSparse_install.sh
1400    
1401            * R/denseMatrix.R: "[": keep symmetric on symmetric indexing.
1402    
1403    2006-11-03  Martin Maechler  <maechler@stat.math.ethz.ch>
1404    
1405            * src/dsCMatrix.c (dsCMatrix_Csparse_solve): new
1406            * R/dsCMatrix.R (solve): "fully-sparse" using the above.
1407    
1408            * R/AllClass.R: "pMatrix" now also inherits from "generalMatrix"
1409    
1410            * tests/Class+Meth.R (tstMatrixClass): now assure
1411            the (important in method programming) property :
1412    
1413                    ###>>  Every "Matrix" is either
1414                    ###>>  "general*", "symmetric*", "triangular*" or "diagonal*"
1415    
1416                    (where "*" stands for "Matrix")
1417    
1418            * R/Auxiliaries.R (diagU2N): now .Call()s Csparse_diagU2N for <Csparse>
1419    
1420            * R/dMatrix.R (Compare(<dMatrix>,<dMatrix>): update and
1421            * tests/validObj.R: checks for "comparison"
1422    
1423            * R/sparseMatrix.R ([): improved indexing for sparse;
1424                    trying to keep <symmetric>[ n, n] symmmetric
1425    
1426            * tests/indexing.R: indexing for logical sparse now ok
1427    
1428    
1429    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
1430    
1431            * src/Tsparse.c: use xTsparse_validate() , and hence remove
1432    
1433            * src/{ltC,lsC,lgT}Matrix.[ch]: removed
1434    
1435    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
1436    
1437            * R/AllClass.R (Matrix-class): check length of dimnames in validity.
1438    
1439            * tests/simple.R: validObject() checking the above.
1440    
1441            * src/dgCMatrix.c (xCMatrix_validate): new, small and simple,
1442            replacing both dgCMatrix_validate and lgCM*.
1443    
1444            * src/Csparse.c (Csparse_dense_prod, etc): do not lose dimnames;
1445            fix dimnames setting in other places.
1446            * src/chm_common.c (chm_dense_to_SEXP): now can pass dimnames
1447    
1448    2006-11-01  Martin Maechler  <maechler@stat.math.ethz.ch>
1449    
1450            * R/Csparse.R,src/Csparse.c, etc: tcrossprod(<CsparseM>,<CsparseM>)
1451    
1452            * R/sparseMatrix.R (isSymmetric): drop 'factors' slot for
1453            symmetry test, via
1454            * R/Auxiliaries.R (.as.dgC.0.factors):
1455    
1456    2006-11-01  Douglas Bates  <bates@r-project.org>
1457    
1458            * R/Csparse.R,src/Csparse.c,tests/matprod.R,
1459            man/CsparseMatrix-class.Rd: crossprod(<CsparseMatrix>,
1460            <CsparseMatrix>) added
1461    
1462    2006-10-30  Martin Maechler  <maechler@stat.math.ethz.ch>
1463    
1464            * tests/matprod.R: add a variation of Harri's example
1465    
1466            * R/dsparseMatrix.R: fix crossprod(<dsparse>, <dge>) to *not*
1467            recursive infinitely.
1468    
1469            * R/dgCMatrix.R: + solve(<sparse>, <sparse>)
1470    
1471            * tests/indexing.R: add test for the "<" bug fixed 10-27 in R/dMatrix.R
1472    
1473    2006-10-28  Martin Maechler  <maechler@stat.math.ethz.ch>
1474    
1475            * tests/Class+Meth.R (tstMatrixClass): more: use non-trivial
1476            matrix if possible; test m+m == 2*m; now test dgRMatrix.
1477            * R/dgRMatrix.R (.to.dgR): a few more coercions, in order to
1478            satisfy the above test.
1479    
1480    2006-10-27  Martin Maechler  <maechler@stat.math.ethz.ch>
1481    
1482            * R/Matrix.R (Ops):  <Matrix> o <matrix>  method added
1483    
1484            * R/dgCMatrix.R: solve(a, b="missing") based on
1485            * src/dgCMatrix.c (dgCMatrix_matrix_solve): extend to work with
1486            RHS = NULL.
1487    
1488            * R/diagMatrix.R (diagdiagprod): extend %*% etc to ldiMatrix;
1489            add more (needed) [t]crossprod() methods.
1490    
1491            * man/ddiMatrix-class.Rd: more info, notably on 'diag'
1492    
1493            * R/Auxiliaries.R (as_CspClass): cleanup
1494            (drop0): internal utility for "Csparse_drop(*, 0)"
1495            (.bail.out.2): encourage active feedback
1496    
1497    2006-10-26  Martin Maechler  <maechler@stat.math.ethz.ch>
1498    
1499            * R/dMatrix.R(Compare): new(), then slots [no validity check]
1500    
1501            * src/Csparse.c (Csparse_validate): fixed (and more efficient in
1502            non-valid or 'sorted' case).
1503    
1504            * R/dsparseMatrix.R: add "chol" method.
1505            * R/ddenseMatrix.R: ditto
1506    
1507            * R/diagMatrix.R (Ops): group methods for  <diagonal> o <sparse>
1508            * NAMESPACE (Ops)
1509            * R/diagMatrix.R (diag2T): simple utility used "higher level"
1510            coercion; deprecating direct lower level coercions.
1511    
1512            * R/*.R (seq): use seq_len() and seq_along() where possible.
1513    
1514    
1515    2006-10-23  Martin Maechler  <maechler@stat.math.ethz.ch>
1516    
1517            * DESCRIPTION (Version): 0.9975-5 ready for release
1518    
1519  2006-10-20  Douglas Bates  <bates@stat.wisc.edu>  2006-10-20  Douglas Bates  <bates@stat.wisc.edu>
1520    
1521          * src/init.c (R_init_Matrix): export more cholmod CCallable functions.          * src/init.c (R_init_Matrix): export more cholmod CCallable functions.

Legend:
Removed from v.1646  
changed lines
  Added in v.2199

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