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

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

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