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

Legend:
Removed from v.2011  
changed lines
  Added in v.2236

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