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

Legend:
Removed from v.1455  
changed lines
  Added in v.2164

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