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 2050, Tue Aug 14 22:23:33 2007 UTC revision 2245, Mon Aug 25 15:06:12 2008 UTC
# Line 1  Line 1 
1    2008-08-25  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/LU.R: expand( <sparseLU> )
4    
5            * NAMESPACE, man/all.equal-methods.Rd:
6            * R/Matrix.R (all.equal): methods for Matrices,
7            * R/sparseMatrix.R, R/sparseVector.R: sparseMatrices and -Vectors
8    
9    
10    2008-08-23  Douglas Bates <bates@stat.wisc.edu>
11    
12            * [r2243] R/CHMfactor.R, man/CHMfactor-class.Rd: Added expand method and
13              documentation for CHMfactor class
14            * [r2241] R/CHMfactor.R: Added trivial coercion method for CHMfactor ->
15              pMatrix
16    
17    2008-08-19  Martin Maechler  <maechler@stat.math.ethz.ch>
18    
19            * R/nsCMatrix.R (setAs(., dgTMatrix))): remove unused method
20    
21    2008-08-18  Martin Maechler  <maechler@stat.math.ethz.ch>
22    
23            * R/Ops.R (.Ops2dge.via.x, and many others): eliminate never-used
24            variable assignments {from "next version" codetools}.
25            * R/Csparse.R, R/Tsparse.R: ditto
26    
27    2008-08-17  Martin Maechler  <maechler@stat.math.ethz.ch>
28    
29            * R/sparseVector.R (sp2vec, coerce to sparseVector):
30            make sure no integer overflows happen, and use double precision
31            (n, index) where appropriate.
32    
33            * tests/Simple.R: test "large" sparse vectors.
34    
35    2008-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
36    
37            * R/AllClass.R (sparseVector): 'length' and 'i' are "numeric", not
38            just integer (allowing much longer length).
39    
40    2008-07-28  Martin Maechler  <maechler@stat.math.ethz.ch>
41    
42            * R/AllClass.R (diagonalMatrix): extend  "sparseMatrix" instead of
43            "denseMatrix".  This renders "scarceMatrix" dispensable and
44            invalidates part of MM's presentations on "space of Matrix
45            classes", but seems cleaner overall.
46    
47            * R/diagMatrix.R, etc: eliminate "scarceMatrix", replacing it by
48            "sparseMatrix" in method signatures;
49            further, instead of coercing to "sparseMatrix", coerce to
50            "TsparseMatrix" now.
51    
52    2008-07-26  Martin Maechler  <maechler@stat.math.ethz.ch>
53    
54            * src/dgCMatrix.c (dgCMatrix_qrsol): allow third argument 'order' in
55            .Call(.)
56            * R/sparseMatrix.R (lm.fit.sparse), src/dgCMatrix.h, src/init.c: ditto
57    
58    2008-07-24  Martin Maechler  <maechler@stat.math.ethz.ch>
59    
60            * R/dgeMatrix.R: need solve(<dge>, <sparse>) against infinite
61            recursion in new test in
62            * tests/matprod.R: testing the above and another solve() case, below
63    
64            * R/sparseMatrix.R (lm.fit.sparse): slightly more efficient for
65            e.g. triangular 'x'.
66    
67            * src/dgCMatrix.c (dgCMatrix_qrsol): use AS_CSP() hence allowing dtC*
68            * src/dgCMatrix.c (dgCMatrix_cholsol): use AS_CHM_SP() to work
69            correctly with unit-triangular x
70    
71            * src/dsCMatrix.c (dsCMatrix_Csparse_solve): use AS_CHM_SP()
72            instead of not checking diagU.
73    
74            * R/diagMatrix.R, R/Auxiliaries.R: tweaks to allow later
75            experiments where diagonalMatrix would extend sparse*.
76    
77    
78    2008-07-23  Martin Maechler  <maechler@stat.math.ethz.ch>
79    
80            * src/dgCMatrix.c (compressed_non_0_ij): for nnzero(), use
81            "x@p[ncol(x)]" instead of length(x@i).
82            * R/Auxiliaries.R (nnzero): ditto
83    
84            * src/chm_common.c (as_cholmod_sparse): Do not use LENGTH(islot)
85            since that fails for over-allocated i.
86    
87            * tests/validObj.R: more testing of over-allocated (i,x) slots
88    
89    2008-07-23  Martin Maechler  <maechler@stat.math.ethz.ch>
90    
91            * src/chm_common.c (as_cholmod_sparse): Add 4th argument
92            'sort_in_place' and set it to TRUE in call from
93            * src/Csparse.c (Csparse_validate): sort in place, making sure that
94            validObject() continues sort the columns if needed.
95    
96            * tests/validObj.R: now tests that more thoroughly, and
97            * man/CsparseMatrix-class.Rd: documents it.
98    
99    2008-07-22  Douglas Bates <bates@stat.wisc.edu>
100    
101            * [r2233] src/chm_common.c: sort columns more carefully in
102              as_cholmod_sparse
103            * [r2231] src/chm_common.c: check for sorted columns in
104              as_cholmod_sparse instead of assuming it
105            * [r2228] src/cs_utils.c: Use R_alloc for semi-permanent storage when
106              expanding diagonal
107    
108    
109    2008-07-21  Martin Maechler  <maechler@stat.math.ethz.ch>
110    
111            * src/cs_utils.c (Matrix_as_cs): add check_Udiag switch
112            * src/cs_utils.h (AS_CSP & AS_CSP__): two versions
113            * src/dtCMatrix.c (dtCMatrix_sparse_solve): no longer needs
114            diagU2N().
115    
116            * R/diagMatrix.R (.sparseDiagonal): new utility, used in "old"
117            .spDiagonal() and new .trDiagonal().
118    
119            * R/dtCMatrix.R (solve): make use of .trDiagonal()
120    
121    2008-07-19  Martin Maechler  <maechler@stat.math.ethz.ch>
122    
123            * R/Auxiliaries.R (dimNamesCheck): fix very long standing buglet,
124            stumbled upon by Michael H.
125    
126            * tests/validObj.R: testing the bug-fix
127    
128            * src/chm_common.h (AS_CHM_SP__, AS_CHM_TR__): the non-diagU2N
129            versions.
130    
131            * src/chm_common.c (as_cholmod_sparse, as_cholmod_triplet): new
132            boolean argument 'check_Udiag' (formerly implicitly was FALSE).
133    
134            * src/Csparse.c (Csparse_Csparse_prod, ...): etc: use the new
135              AS_CHM_SP() which includes diagU2N.
136    
137            * inst/include/Matrix_stubs.c (M_as_cholmod_sparse): similarly
138            adapt to 3 arguments.
139    
140    2008-07-17  Douglas Bates <bates@stat.wisc.edu>
141    
142            * [r2220] src/dtCMatrix.c: Correct number of columns for rhs in
143              dtCMatrix_sparse_solve
144            * [r2219] src/cs_utils.c: eye->nz should be -1 for compressed column
145              storage
146            * [r2217] R/dtCMatrix.R, src/dtCMatrix.c, src/dtCMatrix.h, src/init.c:
147              Replace dtCMatrix_solve by more general dtCMatrix_sparse_solve and add
148              new solve method
149            * [r2216] src/cs_utils.c: Utility csp_eye in case we want to fold
150              Csparse_diagU2N functionality into Matrix_as_cs
151    
152    2008-07-17  Martin Maechler  <maechler@stat.math.ethz.ch>
153    
154            * inst/doc/factor2sparse.Rnw: revive a year-old unfinished vignette
155    
156    2008-07-16  Douglas Bates <bates@stat.wisc.edu>
157    
158            * [r2212] R/sparseMatrix.R: fac2sparse gets a drop.unused.levels
159              argument with default TRUE
160            * [r2211] inst/include/Matrix.h, inst/include/Matrix_stubs.c: Export
161              Csparse_diagU2N
162            * [r2210] R/dtCMatrix.R, man/dtCMatrix-class.Rd, src/dtCMatrix.c,
163              src/dtCMatrix.h, src/init.c: Remove vestigial methods based on the
164              parent array; new solve method for signature(a = "dtCMatrix", b =
165              "sparseMatrix")
166    
167    2008-07-14  Martin Maechler  <maechler@stat.math.ethz.ch>
168    
169            * R/diagMatrix.R (.bdiag): also keep result triangular
170    
171    2008-07-13  Douglas Bates <bates@stat.wisc.edu>
172    
173            * [r2208] src/dtCMatrix.c, src/dtTMatrix.c: Revise wording in error
174              messages
175    
176    2008-07-12  Martin Maechler  <maechler@stat.math.ethz.ch>
177    
178            * R/diagMatrix.R (.bdiag): make more sophisticated, keeping
179            symmetric- or nsparse-Matrix, also fixing the bug introduced with
180            the new version (.999375-10).
181    
182            * tests/Simple.R: regression test for the bugs.
183    
184    2008-07-07  Martin Maechler  <maechler@stat.math.ethz.ch>
185    
186            * R/sparseVector.R (spV2M): fix for "isparseVector".
187            Further, fix <diag> -> <sparseVector> coercion
188            (repSpV): add rep(<sparseVector>, .) method
189    
190            * R/sparseMatrix.R ([<-): when the RHS is a "scarce"Matrix, do *not*
191            use as.vector(.).
192    
193            * R/Tsparse.R ([<-): & [CR]sparse.R: methods for value = "sparseVector"
194    
195            * R/AllClass.R: new (hidden) class union "scarceMatrix"
196            * R/AllClass.R: sparseVector: add prototype
197    
198            * src/dsCMatrix.c (chk_nm): fix "Cholesky" check, thanks to
199            Kasper Kristensen
200    
201    2008-06-28  Martin Maechler  <maechler@stat.math.ethz.ch>
202    
203            * tests/other-pkgs.R: add more interesting Matrix -> graph
204    
205    2008-06-27  Martin Maechler  <maechler@stat.math.ethz.ch>
206    
207            * R/sparseMatrix.R (Tsp2grNEL): add 'need.uniq' argument for speed
208            improvement in "[CR]sparseMatrix" -> "graphNEL" coercion.
209    
210    2008-06-25  Martin Maechler  <maechler@stat.math.ethz.ch>
211    
212            * DESCRIPTION: release 0.999375-10 to CRAN
213    
214            * R/diagMatrix.R (.bdiag): use more efficient Bates-algorithm for
215            .bdiag().
216            * man/bdiag.Rd: update, including test.
217    
218    2008-06-24  Martin Maechler  <maechler@stat.math.ethz.ch>
219    
220            * tests/Simple.R: add minimal bdiag() checks
221    
222            * R/diagMatrix.R (bdiag): fix bdiag(diag(4:5)) case;
223              factor out the Tsparse - internal computation into new .bdiag()
224    
225    2008-06-14  Martin Maechler  <maechler@stat.math.ethz.ch>
226    
227            * R/nsparseMatrix.R: specific fast all() and any() methods.
228    
229            * src/dgTMatrix.c (MAKE_gTMatrix_to_geMatrix): better error message
230            when trying to produce too large result.
231    
232            * inst/test-tools.R (checkMatrix): add 'do.matrix' with a check for
233            very large matrices.
234    
235            * R/sparseMatrix.R (printSpMatrix2): new function, used by
236            show(<sparseMatrix>).
237    
238            * R/diagMatrix.R (show): print only diagonal entries when nrow(.) >= 50.
239    
240    2008-06-13  Martin Maechler  <maechler@stat.math.ethz.ch>
241    
242            * src/Mutils.c (m_encodeInd, m_encodeInd2):
243            * R/*.R: .Call(m_encodeInd2?, ..) instead of encodeInd2?(..).
244    
245            * R/Auxiliaries.R (encodeInd2?): care against integer overflow (for
246            big matrices): -> 2nd argument 'di' instead of 'nr' !
247    
248    2008-06-09  Martin Maechler  <maechler@stat.math.ethz.ch>
249    
250            * R/dtCMatrix.R: faster dgC* -> dtC* method
251            * tests/Simple.R: (hence removed "FIXME")
252    
253            * R/Auxiliaries.R (copyClass): add 'check = .copyClass.check'
254            which can be be turned off for possible speed gains.
255    
256    2008-06-02  Martin Maechler  <maechler@stat.math.ethz.ch>
257    
258            * R/dMatrix.R, R/Tsparse.R: get rid of some disambiguation warnings
259    
260            * R/not.R: fix !<ldiMatrix>
261            implement two old "FIXME"s:  !<ldenseMatrix> & !<ndenseMatrix>
262    
263            * R/diagMatrix.R (Ops): fix one-off thinko in
264            <diagonal> o <numeric> methods
265    
266            * inst/test-tools.R: checkMatrix(): drop0(m12) unconditionally
267    
268    2008-05-30  Martin Maechler  <maechler@stat.math.ethz.ch>
269    
270            * R/diagMatrix.R (Ops): more <diagonal> o <Matrix> methods
271            * tests/Simple.R: testing the above
272    
273    2008-05-07  Martin Maechler  <maechler@stat.math.ethz.ch>
274    
275            * NAMESPACE: also import "Ops" {found via new tools:::get_S4_generics_with_methods()}
276    
277    2008-05-03  Martin Maechler  <maechler@stat.math.ethz.ch>
278    
279            * R/Matrix.R (dimnames<-): dimnames(.) <- NULL works with a message;
280            * NAMESPACE (unname): finally exported
281    
282    2008-04-28  Martin Maechler  <maechler@stat.math.ethz.ch>
283    
284            * R/Auxiliaries.R (cholMat): possibly keep packed
285    
286            * inst/test-tools.R (checkMatrix): add fixed determinant.matrix()
287            for R < 2.7.0.
288    
289            * R/Tsparse.R ([): for triangularMatrix, check if result may be
290            triangular.
291            * tests/indexing.R: regression test
292    
293    2008-04-26  Martin Maechler  <maechler@stat.math.ethz.ch>
294    
295            * inst/test-tools.R (checkMatrix): test <Ops> not only for dMatrix
296            * R/Ops.R: more methods, for lMatrix/nMatrix
297    
298    2008-04-24  Martin Maechler  <maechler@stat.math.ethz.ch>
299    
300            * R/expm.R: new file for all expm() methods; notably new ones for
301            diagonal*, triangular*, symmetric* and also simple "matrix".
302    
303    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
304    
305            * R/dsyMatrix.R: setAs(.) rather than setIs(.)  "to dpoMatrix"
306    
307            * inst/test-tools.R (assert.EQ.mat): better message when not equal
308    
309            * src/dgeMatrix.c (dgeMatrix_matrix_crossprod): allow integer RHS.
310    
311            * R/AllClass.R (ddiMatrix,ldiMatrix): extend [dl]Matrix instead of
312            [dl]denseMatrix {identical slots; but more logical method dispatch}
313    
314    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
315    
316            * R/sparseMatrix.R (summary): use length(<i-slot>) instead of nnzero()
317    
318            * R/diagMatrix.R (determinant): method
319    
320    2008-04-22  Martin Maechler  <maechler@stat.math.ethz.ch>
321    
322            * src/dsCMatrix.c (dsCMatrix_Cholesky): suppress CHOLMOD printing too
323    
324            * R/Rsparse.R (.viaC.to.R): uplo fix for symmetric & triangular
325    
326            * R/dsCMatrix.R (determinant): switch to use Cholesky( 'LDL' ) and
327            its diagonal
328    
329    2008-04-21  Martin Maechler  <maechler@stat.math.ethz.ch>
330    
331            * R/dMatrix.R (Summary): short-cut for prod(<sparse>)
332    
333            * R/not.R: fix !<"U"-diag-ltrMatrix> ; drop {R < 2.6.0}-branch
334    
335            * R/Auxiliaries.R (tT2gT): fix for "U"-diag-ltTMatrix
336    
337            * R/AllClass.R: ltTMatrix validity: call (more stringent) tTMatrix_validate
338    
339    2008-04-19  Martin Maechler  <maechler@stat.math.ethz.ch>
340    
341            * R/Ops.R (Ops.x.x): aux.function, not just for (dMatrix,dMatrix)
342    
343            * R/Ops.R (.do.Logic.lsparse): fix NA case
344    
345            * R/Tsparse.R (replTmat): fix r.sym case, using indTri()
346    
347            * R/Auxiliaries.R (nnzero): fix special cases, using
348            * R/Auxiliaries.R (indDiag): new utility
349            * R/Auxiliaries.R (indTri): new argument 'diag'
350    
351            * R/dMatrix.R: Summmary(<ddenseMatrix>): different branch for dsy*
352    
353    2008-04-18  Martin Maechler  <maechler@stat.math.ethz.ch>
354    
355            * R/diagMatrix.R: "Summary" methods, and more "Arith" / "Ops"
356    
357            * src/Csparse.c (Csparse_drop): preserve (uplo,diag) for
358            ".tCMatrix" triangular matrix.
359    
360            * R/Auxiliaries.R (drop0): use diagU2N(); according to helpfile,
361            'clx' can be class *or* class representation.
362            (nnzSparse): new.
363            (non0ind): new 'xtendSymm' argument; used in
364            * R/Ops.R:
365    
366            * R/pMatrix.R: more efficient determinant() method
367    
368    2008-04-17  Martin Maechler  <maechler@stat.math.ethz.ch>
369    
370            * [disactivated] R/Matrix.R (det): det() as base::det(), but with Matrix environment
371            * [disactivated] NAMESPACE: export(det)
372    
373            * R/diagMatrix.R (mkDiag): new substitute for diag()
374    
375            * R/Auxiliaries.R (nnzero): fix for "diagU2N"-case
376            (as0, as1): new utility.
377    
378            * R/Csparse.R (diag, band): need diagU2N()
379    
380            * src/dgeMatrix.c (get_norm): return NA when 'x' slot has NA/NaN.
381    
382            * R/lMatrix.R: coerce(nMatrix |-> lMatrix) fix
383    
384            * R/Ops.R (Compare): fix <nsp> o <nsp> case
385    
386            * R/nsparseMatrix.R, R/pMatrix.R: is.na() method
387    
388    2008-04-16  Martin Maechler  <maechler@stat.math.ethz.ch>
389    
390            * R/Auxiliaries.R (signPerm): new utility for
391            * R/Auxiliaries.R (detSparseLU): determinant() via sparseLU
392    
393            * src/dsCMatrix.c (dsCMatrix_LDL_D): suppress 'CHOLMOD warning';
394            since we have our own error handler (and can use tryCatch() from R).
395    
396    2008-04-15  Martin Maechler  <maechler@stat.math.ethz.ch>
397    
398            * R/dgTMatrix.R (image): ha! set col=NA if lwd is small -- very nice!
399    
400            * R/dsCMatrix.R (determinant): use tryCatch() and switch to lu()
401            when not positive definite.
402    
403            * R/Auxiliaries.R (asTri): new auxiliary
404            (non0.i): make *much* faster for Tsparse with many non-zero
405            entries; add 'uniqT = TRUE' argument to be used when sorting is undesired.
406    
407            * tests/Class+Meth.R (dotestMat): now build on checkMatrix() from
408            test-tools.R , see below
409    
410            * R/dMatrix.R: fix "Summary" method: + diagU2N()
411    
412            * NAMESPACE, R/Matrix.R: add mean() method
413    
414    2008-04-12  Martin Maechler  <maechler@stat.math.ethz.ch>
415    
416            * R/dgTMatrix.R (image): allow to *not* take abs(), and use
417            cold-hot colors; try *changed* default useAbs = FALSE
418            * man/image-methods.Rd:  nice examples
419    
420    2008-04-11  Martin Maechler  <maechler@stat.math.ethz.ch>
421    
422            * inst/test-tools.R (checkMatrix): new function for modularizing part
423            of tstMatrixClass() in tests/Class+Meth.R
424    
425            * R/dsCMatrix.R: coercion from "matrix"
426            * R/ltTMatrix.R, R/ntTMatrix.R: ditto (change it).
427    
428            * tests/Class+Meth.R (tstMatrixClass): some cleanup;
429            add test for as(matrix(,0,0), <class>)
430    
431    2008-04-09  Martin Maechler  <maechler@stat.math.ethz.ch>
432    
433            * src/dgeMatrix.c (dgeMatrix_determinant): for n == 0,
434            work as determinant(matrix(,0,0)).
435    
436            * src/dgCMatrix.c (dgCMatrix_LU): return {L,U} as dtCMatrix
437            * man/sparseLU-class.Rd: ditto
438    
439            * R/dgCMatrix.R (determinant): method building on lu()
440            * R/sparseMatrix.R, Matrix.R, ...: ditto
441    
442            * R/Auxiliaries.R (mkDet): auxiliary for determinant()
443    
444    2008-04-07  Martin Maechler  <maechler@stat.math.ethz.ch>
445    
446            * R/sparseMatrix.R (summary<sparseMatrix>): no 'x' column for
447            pattern matrices.
448    
449    2008-04-02  Martin Maechler  <maechler@stat.math.ethz.ch>
450    
451            * src/dense.c (dense_to_Csparse): all declarations *before*
452            R_CheckStack(); needed e.g. for ancient gcc 2.96.
453    
454    
455    2008-03-29  Martin Maechler  <maechler@stat.math.ethz.ch>
456    
457            * DESCRIPTION (Version): 0.999375-9 --- need to release
458            for R-devel (and R 2.7.0 alpha soon).
459    
460            * R/AllClass.R: drop "double" from "atomicVector" class union
461    
462            * R/AllGeneric.R (rcond): check for base::rcond instead of R version
463            * R/dgeMatrix.R: ditto
464    
465            * R/sparseMatrix.R (summary): count NAs
466    
467            * inst/doc/Intro2Matrix.Rnw: changes, aim for *one* introduction.
468    
469    2008-03-28  Martin Maechler  <maechler@stat.math.ethz.ch>
470    
471            * R/AllGeneric.R: rcond(., norm) instead of rcond(., type), in
472            order to become compatible to new R 2.7.0 base::rcond().
473    
474    2008-03-25  Martin Maechler  <maechler@stat.math.ethz.ch>
475    
476            * DESCRIPTION (Version,Date): 0.999375-8 --- released to CRAN
477    
478            * R/diagMatrix.R (Ops): fix newly introduce bug in <.di> o <numeric>
479    
480            * inst/test-tools.R (isValid): new utility, used much in
481            * tests/simple.R:
482    
483            * man/BunchKaufman-methods.Rd: added too
484    
485    2008-03-24  Martin Maechler  <maechler@stat.math.ethz.ch>
486    
487            * R/dsyMatrix.R: add BunchKaufman() methods.
488            * R/dspMatrix.R:
489    
490            * src/init.c: add dsyMatrix_trf
491    
492    2008-03-23  Douglas Bates <bates@stat.wisc.edu>
493    
494            * DESCRIPTION (Version): release 0.999375-7
495            * src/CHMfactor.c (CHMfactor_update): fix
496    
497    2008-03-22  Martin Maechler  <maechler@stat.math.ethz.ch>
498    
499            * src/dsCMatrix.c (dsCMatrix_LDL_D): cleanup, also using
500            internal_chm_factor().
501    
502            * R/AllGeneric.R: do *not* define a "chol" generic
503                    (but rather use the implicit one *without* making pivot
504                    part of the signature)
505            * R/*.R: drop the 'pivot' from chol's signature and make
506                    'pivot=FALSE' a default argument of method definitions.
507    
508            * .Rbuildignore: add 'wrld_1deg': I.e. do not put it into released
509            version of Matrix
510    
511    2008-03-18  Martin Maechler  <maechler@stat.math.ethz.ch>
512    
513            * R/Tsparse.R (.T.2.n): drop 0's before coercion to "nMatrix"
514    
515            * R/sparseMatrix.R (is.na): new simple method
516            * R/denseMatrix.R (is.na): ditto.
517    
518            * R/diagMatrix.R (.symDiagonal): newly exported utility.
519    
520            * R/diagMatrix.R (Ops): <diag> * <numeric> should not become dgeMatrix!
521    
522            * src/UFsparse_download.sh: -->
523            * src/CHOLMOD/: update to CHOLMOD version 1.6 (Nov.2007)
524    
525    2008-03-17  Martin Maechler  <maechler@stat.math.ethz.ch>
526    
527            * src/dsCMatrix.c (dsCMatrix_LDL_D): even faster utility with same
528            functionality; barely tested in
529            * tests/factorizing.R
530    
531            * src/Csparse.c (diag_tC): new functionality to enable faster
532            determinant(<dsCMatrix>, .) in
533            * R/dsCMatrix.R
534    
535    2008-03-17 18:53  Douglas Bates <bates@stat.wisc.edu>
536    
537            * R/CHMfactor.R, inst/include/Matrix.h, inst/include/Matrix_stubs.c,
538              src/CHMfactor.c, src/CHMfactor.h,
539              man/CHMfactor-class.Rd, src/init.c, tests/factorizing.R:
540              Log-determinant of the parent matrix from a CHMfactor object as
541              chm_factor_ldetL2; documentation and support
542    
543    2008-03-15  Martin Maechler  <maechler@stat.math.ethz.ch>
544    
545            * R/dsCMatrix.R: enable determinant(<dsCMatrix>, .) via chol(.)
546    
547    2008-03-14  Martin Maechler  <maechler@stat.math.ethz.ch>
548    
549            * R/dsCMatrix.R: setAs(., "dsCMatrix") but with a deprecation
550            warning.
551    
552    2008-03-13  Martin Maechler  <maechler@stat.math.ethz.ch>
553    
554            * DESCRIPTION (Version, Date): bug-fix release 0.999375-6
555    
556            * R/diagMatrix.R (diag2tT.u): utility to be smarter in
557              <diagonal> o <sparse_triangular>
558              setAs(., "nMatrix") added.
559    
560            * R/diagMatrix.R (Diagonal): Diagonal(4, x=3) now works too
561    
562            * R/Auxiliaries.R (.diagU2N): more careful coercion in 2 steps
563                    new argument 'checkDense = FALSE'.
564    
565    
566    2008-03-07  Martin Maechler  <maechler@stat.math.ethz.ch>
567    
568            * src/dgeMatrix.c (dgeMatrix_exp): fix the octave-origin bug in the
569            back-permutation of the matrix exponential.
570    
571            * tests/matr-exp.R: test the fix (for an example where expm() was wrong).
572    
573            * DESCRIPTION (Date,Version): ready to release 0.999375-5
574    
575            * tests/simple.R: testing diagN2U
576    
577    2008-03-06  Martin Maechler  <maechler@stat.math.ethz.ch>
578    
579            * R/Auxiliaries.R (diagN2U): interface to
580    
581            * src/Csparse.c (Csparse_diagN2U): .Call()able SEXP version of chm_diagN2U()
582    
583            * tests/matprod.R: test for triangularity preserving <dtC> %*% <dtC>
584    
585    2008-03-05  Martin Maechler  <maechler@stat.math.ethz.ch>
586    
587            * src/chm_common.c (chm_diagN2U): new utility.
588    
589            * src/Csparse.c (Csparse_Csparse_crossprod, Csparse_Csparse_prod):
590            make use of chm_diagN2U() and hence now preserve triangularity and
591            unit-triangularity.
592    
593            * DESCRIPTION (LicenseDetails): new; such that 'License:' becomes "canonical"
594    
595    2008-03-04  Martin Maechler  <maechler@stat.math.ethz.ch>
596    
597            * R/diagMatrix.R (subDiag): fix when x[..] became a vector
598    
599            * src/Tsparse.c (Tsparse_diagU2N): new utility, necessary for e.g.
600            * src/Csparse.c (Csparse_crossprod): use [CT]sparse_diagU2N() !!
601    
602            * R/Auxiliaries.R (.diagU2N): make use of new Tsparse_diagU2N
603    
604            * R/Ops.R ("-" (<sparseMatrix>)): use diagU2N()
605    
606            * src/chm_common.c (AS_CHM_FINISH): add note about problem
607            for triangular (diag = "U").
608    
609    2008-02-21  Martin Maechler  <maechler@stat.math.ethz.ch>
610    
611            * R/Auxiliaries.R (as_Csparse2): drop this, replacing by
612            * R/bind.R:  .Call(dense_to_Csparse, *)
613    
614    2008-02-20  Martin Maechler  <maechler@stat.math.ethz.ch>
615    
616            * R/Matrix.R (Matrix): no longer use coercions to specific classes
617                    (since we are discouraging them in user code).
618    
619            * tests/*.R: also replaces coercions to specific classes by
620            coercions to super classes.
621    
622            * R/denseMatrix.R (.dense2C): simplified by using forceSymmetric()
623    
624    
625    2008-02-19  Martin Maechler  <maechler@stat.math.ethz.ch>
626    
627            * man/CAex.Rd: example: coerce to symmetric*, not dsC*
628    
629            * src/dense.c (dense_band): generalized from ddense_band
630    
631            * R/ddenseMatrix.R (.trilDense,.triuDense, .bandDense):
632              now for "denseMatrix" (instead of just "ddense*"); much
633              simplified setMethod()s for these.
634    
635            * src/dense.c (dense_to_symmetric): generalized from ddense_*
636    
637    2008-02-18  Martin Maechler  <maechler@stat.math.ethz.ch>
638    
639            * R/AllGeneric.R: forceSymmetric() generic: fast no-checking
640            version of as(*, "symmetricMatric").
641    
642            * src/dense.c (ddense_to_symmetric): add 'symm_test' argument, and
643            * R/symmetricMatrix.R: set it TRUE in coercion to "symmetricMatrix"
644    
645    2008-02-16  Martin Maechler  <maechler@stat.math.ethz.ch>
646    
647            * R/Matrix.R (subset.ij): utility, as first step to faster
648               M [ <ij-matrix> ] indexing.
649    
650            * R/Matrix.R (.M.sub.i.logical): M[ <logical> ] : try better.
651    
652            * src/dense.c (ddense_symmpart, ddense_skewpart): new functions
653            for more efficient symmpart() and skewpart() methods.
654    
655            * src/Mutils.c (equal_string_vectors): utility
656    
657            * src/dense.c (ddense_to_symmetric): new function used in
658    
659            * R/symmetricMatrix.R: setAs(., "symmetricMatrix")
660    
661            * R/sparseMatrix.R, et_al (isSymmetric): add '...' to formals, in
662            order to match the generic (and evade .local(..)).
663    
664            * R/dsCMatrix.R: dgC -> dsC: use C code!
665    
666            * NAMESPACE, R/AllGeneric.R (symmpart, skewpart): new functions
667            as per TODO
668    
669            * R/Auxiliaries.R (setZero, all0Matrix): new utilities
670    
671            * R/symmetricMatrix.R: obvious symmpart(), skewpart() methods
672    
673    
674    2008-02-15  Martin Maechler  <maechler@stat.math.ethz.ch>
675    
676            * R/Ops.R (.Arith.Csparse): use diagU2N when needed in triangular
677    
678            * R/Auxiliaries.R (non0.i): take out of non0ind
679    
680            * R/ddenseMatrix.R (.trilDense, .triuDense, .bandDense):
681            make tril(), triu(), band() work for "matrix" and all "dense*"
682    
683            * R/triangularMatrix.R (.tri[lu].tr): need .diagU2N(*)
684            * tests/simple.R: test the fix above
685    
686            * R/sparseMatrix.R ([): simplification: no coerce to <general>
687                    before we use as(., <Tsparse>)[...] anyway
688    
689            * R/Rsparse.R (.viaC.to.R): mostly instead of .viaC.to.dgR()
690    
691            * R/triangularMatrix.R (isTriangular): methods for all subclasses
692            instead of "triangularMatrix" -- just to disambiguate
693    
694    2008-02-14  Martin Maechler  <maechler@stat.math.ethz.ch>
695    
696            * tests/Class+Meth.R (dotestMat): add m[FALSE, FALSE] { <-> TODO}
697            * tests/indexing.R: example that fails above
698    
699    2008-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
700    
701            * R/Matrix.R (.M.sub.i.2col): fix for logical matrix indexing
702            * R/Tsparse.R (.TM.sub.i.2col, .TM.repl.i.2col): ditto;
703                    now, M[lower.tri(M)] and  M[lower.tri(M)] <- v  work better
704    
705            * src/Tsparse.c (Tsparse_to_tCsparse): new fast utility.
706            * src/Tsparse.h, init.c: ditto
707            * R/Auxiliaries.R (isTriT): new; faster than going via Csparse
708                 both isTriC() and isTriT() now return TRUE with "kind" or FALSE.
709            * R/sparseMatrix.R (isTriangular): hence simplified
710    
711    2008-01-24  Martin Maechler  <maechler@stat.math.ethz.ch>
712    
713            * R/Ops.R (.Arith.Csparse): new utility factored out of former
714              <dgC> o <dgC>, extended for triangular and also used in  <dtC> o <dtC>.
715    
716    2008-01-23  Martin Maechler  <maechler@stat.math.ethz.ch>
717    
718            * tests/factorizing.R (checkSchur): and more tests for checking Schur()
719    
720            * inst/test-tools.R (isOrthogonal): new function; also file restructured
721    
722    2008-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
723    
724            * R/ngTMatrix.R: allow as(<numeric matrix>, "ngTMatrix") and hence
725            coercion to "nMatrix" and "pMatrix"
726    
727            * R/AllClass.R: "Schur" class;  "number" class union
728            * man/number-class.Rd:
729            * man/Schur-class.Rd:
730    
731            * R/eigen.R (.dgeSchur): utility, and return "Schur" class
732            (.simpleSchur): Schur() method for diagonal matrices
733            (.triSchur):    Schur() method for triangular matrices
734            (Schur.sym):    Schur() for symmetric matrices {building on eigen()}.
735    
736    
737    2008-01-21  Martin Maechler  <maechler@stat.math.ethz.ch>
738    
739            * src/dgCMatrix.c (dgCMatrix_QR): set @Dim slot (as per doc)
740    
741    2008-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
742    
743            * R/CHMfactor.R (solve): method for b="numeric", but also b="ANY"
744                    in order to ensure 'system = *' is not lost;
745                    formals()$system instead of cut&paste.
746            * tests/factorizing.R: test solve(<CHM..>, <numeric>)
747    
748    2008-01-11  Martin Maechler  <maechler@stat.math.ethz.ch>
749    
750            * DESCRIPTION (Date): make ready for release --> 0.999375-4
751    
752            * R/dgeMatrix.R: fix rcond() method for "dgeMatrix".
753    
754    2007-12-08  Martin Maechler  <maechler@stat.math.ethz.ch>
755    
756            * R/pMatrix.R: as(*, "matrix") now returns 0/1 *integer* matrix,
757                    and hence does as.vector(.).
758            * man/pMatrix-class.Rd: docs
759            * R/sparseMatrix.R: fix for printing "integer sparse"
760    
761            * tests/Class+Meth.R (tstMatrixClass): test M[FALSE], M[2] etc
762    
763            * R/Matrix.R and others: use "exact" function argument list for
764                    both "["   : (x, i,j, ..., drop)
765                    and  "[<-" : (x, i,j, ..., value)
766    
767            * R/denseMatrix.R: M[i] and M[i] <- v  (i vector) now work
768            * R/Tsparse.R (replTmat):    ditto
769            * R/diagMatrix.R (replDiag): ditto
770            * R/Csparse.R (replCmat):    ditto {was it worth the pain?}
771            * tests/indexing.R: testing the above
772    
773    2007-12-07  Martin Maechler  <maechler@stat.math.ethz.ch>
774    
775            * R/sparseMatrix.R (cov2cor): method for sparse matrices
776    
777            * R/diagMatrix.R ([<-): fix   D[ cbind(i,j) ] <- v
778    
779            * R/bind2.R: fix for Rsparse* and rbind2(dense,dense)
780    
781            * tests/Class+Meth.R: test cbind2, rbind2  and  diag<-
782    
783    2007-12-06  Martin Maechler  <maechler@stat.math.ethz.ch>
784    
785            * R/Matrix.R: "generic" cov2cor() method
786    
787            * R/nearPD.R: new 'only.values', 'keepDiag' arguments;
788                    speed up Q %*% D %*% t(Q)
789            * tests/dpoMatrix.R: test nearPD()
790    
791    2007-12-05  Doug Bates and Martin Maechler
792    
793            * R/sparseMatrix.R: xtabs(*, sparse=.) function; an extention of
794            stats::xtabs() allowing to create sparse matrices.
795    
796    2007-10-08  Martin Maechler  <maechler@stat.math.ethz.ch>
797    
798            * DESCRIPTION (Version): *-4 (released *-3 two days ago)
799    
800    2007-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
801    
802            * R/pMatrix.R: solve(<Matrix>, <pMatrix>)
803    
804    2007-10-05  Martin Maechler  <maechler@stat.math.ethz.ch>
805    
806            * R/LU.R: solve() method for "denseLU"
807    
808    2007-10-01  Martin Maechler  <maechler@stat.math.ethz.ch>
809    
810            * DESCRIPTION (Version): 0.999375-3 preparing for release
811    
812            * R/AllGeneric.R: simplify  if(.) .. else .. for R <= 2.5.1
813    
814            * R/Matrix.R (Matrix): .Internal(matrix(..)) different for R >= 2.7.0
815    
816    2007-09-26  Martin Maechler  <maechler@stat.math.ethz.ch>
817    
818            * R/pMatrix.R (.m.mult.pMat): fix <matrix> %*% <pMatrix>,
819              thanks to Kasper Kristensen.
820            * tests/matprod.R: regression test for that.
821    
822    2007-09-23 17:32  Douglas Bates <bates@stat.wisc.edu>
823    
824            * [r4778] R/AllGeneric.R: Check R version before defining generics for
825              primitives
826    
827    2007-09-13  Martin Maechler  <maechler@stat.math.ethz.ch>
828    
829            * R/denseMatrix.R (rcond): method
830            * R/sparseQR.R (rcond): method, use x or t(x)
831    
832    2007-09-12  Martin Maechler  <maechler@stat.math.ethz.ch>
833    
834            * R/dgeMatrix.R (rcond): method: work via qr.R() for non-square
835            matrices.
836            * R/sparseMatrix.R: Ditto for all other rcond() method definitions.
837    
838            * man/rcond.Rd: mention the more general definition, and add
839            example for non-square matrices.
840    
841            * man/chol.Rd: new file, for the S4 chol() generic and all methods.
842    
843    2007-09-11  Martin Maechler  <maechler@stat.math.ethz.ch>
844    
845            * R/sparseQR.R: add qr.R() method [to be used for rcond()]
846    
847    2007-09-01  Martin Maechler  <maechler@stat.math.ethz.ch>
848    
849            * R/Matrix.R ([<-): add (Matrix,missing,ANY,Matrix) etc
850            * tests/indexing.R: add new regression for the above cases.
851    
852    2007-08-30  Martin Maechler  <maechler@stat.math.ethz.ch>
853    
854            * src/Mutils.h (__sun): clause for alloca.h on Solaris
855    
856    2007-08-16  Martin Maechler  <maechler@stat.math.ethz.ch>
857    
858            * DESCRIPTION (Date, Version): 0.999375-2
859    
860    2007-08-15  Martin Maechler  <maechler@stat.math.ethz.ch>
861    
862            * R/HBMM.R (readMM): make work for pattern matrices as well
863    
864  2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>  2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>
865    
866          * [r4730] src/Mutils.h: declare alloca          * [r4730] src/Mutils.h: declare alloca
# Line 8  Line 871 
871            src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its            src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its
872            methods; switch writeMM to use CHOLMOD code; repair readMM            methods; switch writeMM to use CHOLMOD code; repair readMM
873    
   
874  2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>  2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
875    
876          * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens          * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens

Legend:
Removed from v.2050  
changed lines
  Added in v.2245

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