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 1624, Wed Oct 11 15:00:11 2006 UTC revision 1765, Mon Feb 5 16:32:04 2007 UTC
# Line 1  Line 1 
1    2007-02-05  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/SparseM-conv.R: more conversion, notably for triplet matrices.
4    
5    
6    2007-02-03  Martin Maechler  <maechler@stat.math.ethz.ch>
7    
8            * DESCRIPTION (Version): 0.9975-10 to upload
9    
10            * tests/Class+Meth.R (tstMatrixClass): require coercions to
11            specific classes less unconditionally.
12    
13            * R/Auxiliaries.R: get rid of as_Tsparse() and as_Rsparse()
14    
15            * R/Tsparse.R (triu): etc, use as(*, "TsparseMatrix") instead of as_Tsparse()
16    
17            * R/Rsparse.R (.R.2.T): R-level workaround using compressed_to_TMatrix.
18            * R/Rsparse.R (.R.2.C): R-level workaround since C-level
19            R_to_CMatrix segfaults on one platform.
20            Eliminate most coercion method to *specific* classes, and replace
21            with virtual classes coercions.
22    
23    
24    2007-02-01  Martin Maechler <maechler@stat.math.ethz.ch>
25    
26            * src/init.c: export the CHM...._validate() placeholders, since
27            they *are* called.
28    
29            * tests/Class+Meth.R (classCanCoerce): and starting to test
30            all as(<from>, <to>)
31    
32    2007-01-30  Martin Maechler  <maechler@stat.math.ethz.ch>
33    
34            * R/Tsparse.R ([): more care when subsetting triangular Tsparse
35            * tests/indexing.R: tested now
36            * tests/indexing.Rout.save: updated
37    
38            * src/Csparse.c (Csparse_to_dense): use Rkind = -1 for PATTERN to
39            * src/chm_common.c (chm_dense_to_SEXP): return "ngeMatrix" when
40            appropriate.
41    
42            * NAMESPACE: export a trivial
43            * R/Matrix.R: drop() Matrix-method
44    
45            * R/AllClass.R: moved all prototypes to virtual super classes.
46    
47            * R/Rsparse.R: many more coercions to have less exceptions in
48            * tests/Class+Meth.R:
49    
50            * R/Ops.R (Compare): tweak for case with NA
51            * tests/simpl.R: hence another 'FIXME' eliminated
52    
53    2007-01-29  Martin Maechler  <maechler@stat.math.ethz.ch>
54    
55            * R/diagMatrix.R (solve): the obvious methods for diagonalMatrix
56            objects.
57    
58            * tests/Class+Meth.R (tstMatrixClass): now testing diag(), nnzero(),
59              and more of "!", "&", "|", all, any; coercions
60    
61            * R/Rsparse.R: many coercions (which enable quite a few other
62            methods), thanks to enhancements in
63            * src/dgCMatrix.c (R_to_CMatrix): new, and
64            * src/dgCMatrix.c (compressed_to_TMatrix): now for (d,l,n) ,
65            symmetric & triangular and ..RMatrix objects.
66    
67            * src/TMatrix_as.c (Matrix_T_as_DENSE,Matrix_T_as_GENERAL):
68            renamed file from src/dsTMatrix.c;
69            now dealing with symmetric and triangular Tsparse coercions, both
70            to dense and general.
71    
72    2007-01-27  Martin Maechler  <maechler@stat.math.ethz.ch>
73    
74            * src/dsTMatrix.c: has now "l" and "n" methods besides the "d" ones.
75    
76            * R/Ops.R (Arith): <dgCMatrix> o <numeric> now remains sparse
77            where sensible when the <numeric> is of length > 1.
78    
79    2007-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
80    
81            * R/Matrix.R ([<-): for M[] <- value: fix length
82    
83    2007-01-25  Martin Maechler  <maechler@stat.math.ethz.ch>
84    
85            * R/Auxiliaries.R (n2l_Matrix): new, to be used in
86            * R/ndenseMatrix.R: new coercions n* -> l*
87    
88    2007-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
89    
90            * R/triangularMatrix.R: new file; simple triu() and tril() methods.
91    
92            * R/Ops.R ("Logic"): and other "Ops", many updates
93    
94    2007-01-18  Martin Maechler  <maechler@stat.math.ethz.ch>
95    
96            * src/Mutils.h (SET_DimNames): new utility
97    
98            * R/Auxiliaries.R (nnzero): improved and now exported via
99    
100            * NAMESPACE: + nnzero(); length() == prod(dim(.)) method for all "Matrix" objects
101    
102    2007-01-17  Martin Maechler  <maechler@stat.math.ethz.ch>
103    
104            * R/diagMatrix.R (!): fix typo.
105    
106    2007-01-16  Martin Maechler  <maechler@stat.math.ethz.ch>
107    
108            * R/Auxiliaries.R (as_Csparse): and quite a few others:
109                    allow to pass class definition --> speedup
110            * R/sparseMatrix.R: apply the above
111    
112            * R/Csparse.R: coercion Csparse* to dense* now preserves shape properties.
113    
114            * src/Mutils.h (mMatrix_as_geMatrix): new, based on
115            * src/Mutils.c (dup_mMatrix_as_geMatrix): new; generalization of
116            old dup_mMatrix_as_dgeMatrix), eliminating a long-standing "FIXME".
117    
118            * src/dense.c (dense_to_Csparse): use new mMatrix_as_geMatrix()
119    
120            * R/denseMatrix.R (.dense2C): based on dense_to_Csparse: name it,
121            and use it for "sparse*" as well, since it's faster than the
122            as_Csparse(.) way.
123    
124    2007-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
125    
126            * R/Ops.R ("Logic"): more methods, notably an  <lgC> o <lgC> one.
127    
128    2007-01-12  Martin Maechler  <maechler@stat.math.ethz.ch>
129    
130            * R/Tsparse.R (.TM.repl.i.2col): new internal function to be used
131            as method for   M[ ij ] <- v
132            * R/Csparse.R:: go via Tsparse for "M[ij] <- v"
133    
134            * R/Ops.R: "Compare" for (C|R)sparse: need pointer slot for all
135            FALSE answer
136    
137            * R/Csparse.R (replCmat): fix the "all non-zero" case with reordering
138            * tests/indexing.R: test it, and some of the above
139    
140    2007-01-05  Martin Maechler  <maechler@stat.math.ethz.ch>
141    
142            * R/Auxiliaries.R (is_duplicatedT): new utility
143    
144    2007-01-05  Douglas Bates  <bates@stat.wisc.edu>
145    
146            * src/init.c (R_init_Matrix): export cholmod_scale
147    
148    2006-12-30  Martin Maechler  <maechler@stat.math.ethz.ch>
149    
150            * R/zzz.R (tmp): for R >= 2.5.0, extend formals of our
151            base::as.matrix to (x, ...)
152    
153    2006-12-28  Martin Maechler  <maechler@stat.math.ethz.ch>
154    
155            * R/Ops.R ("Arith" etc): move almost all "Ops" methods to new R
156            file; start using "Logic", hence
157    
158            * DESCRIPTION (Depends): R >= 2.4.1 (since we want "Logic")
159            * NAMESPACE: import and export "Logic"
160    
161    2006-12-27  Martin Maechler  <maechler@stat.math.ethz.ch>
162    
163            * src/zpotfr.f and dependencies: use LAPACK 3.1 version
164            only needed previously to R version 2.5.0.
165    
166    2006-12-26  Martin Maechler  <maechler@stat.math.ethz.ch>
167    
168            * DESCRIPTION (Date, Version): 0.9975-8, ready for release
169    
170            * R/Tsparse.R (replTmat): fix subassignment of triangular
171            * R/Csparse.R (replCmat): ditto
172            * tests/indexing.R: more tests, incl the above fix
173    
174    2006-12-23  Martin Maechler  <maechler@stat.math.ethz.ch>
175    
176            * R/Auxiliaries.R (drop0): extend for non CSparse
177            * R/Auxiliaries.R (diagU2N): should work for all sparseMatrix
178    
179            * src/Csparse.c (Csparse_to_Tsparse, Csparse_general_to_symmetric):
180                    use uplo correctly (!); other places: use uplo_P() macro
181    
182            * R/Csparse.R (replCmat): call diagU2N() when needed
183            * R/Tsparse.R (replTmat): ditto
184    
185            * src/dtCMatrix.c (tCMatrix_validate): new
186            * src/dtTMatrix.c (tTMatrix_validate): new, used in
187            * R/AllClass.R: for validity of dtC, dsC, and dtT, dsT.
188    
189            * R/diagMatrix.R (replDiag): to use in [<-
190    
191    2006-12-22  Martin Maechler  <maechler@stat.math.ethz.ch>
192    
193            * R/Auxiliaries.R (as_Csparse2, as_geSimpl): new functions;
194                    also more general diagU2N().
195    
196    2006-12-21  Martin Maechler  <maechler@stat.math.ethz.ch>
197    
198            * R/bind2.R: new file for all cbind2(), rbind() methods moved here
199            from R/<foo>Matrix.R files. Better diagonal & improved sparse methods.
200    
201    2006-12-20  Martin Maechler  <maechler@stat.math.ethz.ch>
202    
203            * tests/bind.R: a few more cases
204            * R/Auxiliaries.R (.M.kind): also work for atomic vectors
205    
206            * R/denseMatrix.R (cbind2/rbind2): moved here (and generalized) from
207            * R/ddenseMatrix.R (cbind2/rbind2)
208            * R/Tsparse.R (replTmat): final(?!) fix for "[<-" ..
209            * tests/indexing.R
210            * tests/indexing.Rout.save: updated
211    
212    2006-12-18  Martin Maechler  <maechler@stat.math.ethz.ch>
213    
214            * R/Tsparse.R (replTmat): fixed a remaining "[<-" bug in
215            * tests/indexing.R
216    
217    2006-12-15  Martin Maechler  <maechler@stat.math.ethz.ch>
218    
219            * R/sparseMatrix.R (prSpMatrix): "." alignment much improved:
220            align with proper position of "0", i.e., right for integers.
221            argument 'align' by default is "fancy".
222    
223    2006-12-14  Martin Maechler  <maechler@stat.math.ethz.ch>
224    
225            * R/sparseMatrix.R: delegate "Compare" to "Csparse.."
226            * R/Csparse.R: and fix "Compare" for more cases.
227            * tests/Class+Meth.R: test some of these (m == m, m != m)
228    
229    2006-12-13  Martin Maechler  <maechler@stat.math.ethz.ch>
230    
231            * R/lsparseMatrix.R: all() and any() methods
232            * R/ldenseMatrix.R:      ditto
233            * NAMESPACE, R/Matrix.R: ditto
234    
235            * man/all-methods.Rd: document them minimally
236    
237            * tests/simple.R: add a few examples for these
238    
239    2006-12-11  Martin Maechler  <maechler@stat.math.ethz.ch>
240    
241            * R/Tsparse.R ([): fix long standing typo in symmetric case
242            * man/dsCMatrix-class.Rd: add example exhibiting the above case
243    
244    2006-12-10  Douglas Bates  <bates@stat.wisc.edu>
245    
246            * src/CHMfactor.c (CHMfactor_to_sparse): change LDL factorization
247            to LL before converting to a sparse matrix. (The LDL form can be
248            converted to a sparse matrix but it is implicitly a unit
249            triangular matrix and a diagonal matrix overwritten on the diagonal.)
250    
251    2006-12-09  Douglas Bates  <bates@stat.wisc.edu>
252    
253            * src/chm_common.c (chm_factor_to_SEXP): allocate and fill the Dim slot.
254    
255    2006-12-08  Douglas Bates  <bates@stat.wisc.edu>
256    
257            * DESCRIPTION (Version): updated -> release 0.9975-7
258            * src/{init.c,chm_common.c}, inst/include/*: export cholmod_analyze_p
259    
260    2006-11-30  Martin Maechler  <maechler@stat.math.ethz.ch>
261    
262            * R/diagMatrix.R (%*%): write a direct [diag o Csparse] method
263    
264    2006-11-29  Douglas Bates  <bates@stat.wisc.edu>
265    
266            * src/dgeMatrix.c (dgeMatrix_solve): Check error code from dgetri.
267            * tests/dg_Matrix.R: Add Barry Rowlingson's test of a matrix that
268            is exactly singular.
269    
270    2006-11-07  Martin Maechler  <maechler@stat.math.ethz.ch>
271    
272            * DESCRIPTION (Date): updated -> release 0.9975-6
273    
274    2006-11-06  Martin Maechler  <maechler@stat.math.ethz.ch>
275    
276            * R/Csparse.R (replCmat): symmetric indexing of symmetric matrix
277            now returns symmetric.
278    
279            * R/zzz.R ("diag<-"): replace "diag<-" in base for R <= 2.4.x
280    
281            * R/Matrix.R (.M.sub.i.2col):  new, for  M[ cbind(i,j) ] indexing.
282            * R/Matrix.R (.M.repl.i.2col): new, for  M[ cbind(i,j) ] <- value
283    
284            * R/Auxiliaries.R (.type.kind): added
285    
286    2006-11-04  Martin Maechler  <maechler@stat.math.ethz.ch>
287    
288            * src/cs.[ch]: updated to CSparse Version 2.0.3 by simply
289            running src/CSparse_install.sh
290    
291            * R/denseMatrix.R: "[": keep symmetric on symmetric indexing.
292    
293    2006-11-03  Martin Maechler  <maechler@stat.math.ethz.ch>
294    
295            * src/dsCMatrix.c (dsCMatrix_Csparse_solve): new
296            * R/dsCMatrix.R (solve): "fully-sparse" using the above.
297    
298            * R/AllClass.R: "pMatrix" now also inherits from "generalMatrix"
299    
300            * tests/Class+Meth.R (tstMatrixClass): now assure
301            the (important in method programming) property :
302    
303                    ###>>  Every "Matrix" is either
304                    ###>>  "general*", "symmetric*", "triangular*" or "diagonal*"
305    
306                    (where "*" stands for "Matrix")
307    
308            * R/Auxiliaries.R (diagU2N): now .Call()s Csparse_diagU2N for <Csparse>
309    
310            * R/dMatrix.R (Compare(<dMatrix>,<dMatrix>): update and
311            * tests/validObj.R: checks for "comparison"
312    
313            * R/sparseMatrix.R ([): improved indexing for sparse;
314                    trying to keep <symmetric>[ n, n] symmmetric
315    
316            * tests/indexing.R: indexing for logical sparse now ok
317    
318    
319    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
320    
321            * src/Tsparse.c: use xTsparse_validate() , and hence remove
322    
323            * src/{ltC,lsC,lgT}Matrix.[ch]: removed
324    
325    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
326    
327            * R/AllClass.R (Matrix-class): check length of dimnames in validity.
328    
329            * tests/simple.R: validObject() checking the above.
330    
331            * src/dgCMatrix.c (xCMatrix_validate): new, small and simple,
332            replacing both dgCMatrix_validate and lgCM*.
333    
334            * src/Csparse.c (Csparse_dense_prod, etc): do not lose dimnames;
335            fix dimnames setting in other places.
336            * src/chm_common.c (chm_dense_to_SEXP): now can pass dimnames
337    
338    2006-11-01  Martin Maechler  <maechler@stat.math.ethz.ch>
339    
340            * R/Csparse.R,src/Csparse.c, etc: tcrossprod(<CsparseM>,<CsparseM>)
341    
342            * R/sparseMatrix.R (isSymmetric): drop 'factors' slot for
343            symmetry test, via
344            * R/Auxiliaries.R (.as.dgC.0.factors):
345    
346    2006-11-01  Douglas Bates  <bates@r-project.org>
347    
348            * R/Csparse.R,src/Csparse.c,tests/matprod.R,
349            man/CsparseMatrix-class.Rd: crossprod(<CsparseMatrix>,
350            <CsparseMatrix>) added
351    
352    2006-10-30  Martin Maechler  <maechler@stat.math.ethz.ch>
353    
354            * tests/matprod.R: add a variation of Harri's example
355    
356            * R/dsparseMatrix.R: fix crossprod(<dsparse>, <dge>) to *not*
357            recursive infinitely.
358    
359            * R/dgCMatrix.R: + solve(<sparse>, <sparse>)
360    
361            * tests/indexing.R: add test for the "<" bug fixed 10-27 in R/dMatrix.R
362    
363    2006-10-28  Martin Maechler  <maechler@stat.math.ethz.ch>
364    
365            * tests/Class+Meth.R (tstMatrixClass): more: use non-trivial
366            matrix if possible; test m+m == 2*m; now test dgRMatrix.
367            * R/dgRMatrix.R (.to.dgR): a few more coercions, in order to
368            satisfy the above test.
369    
370    2006-10-27  Martin Maechler  <maechler@stat.math.ethz.ch>
371    
372            * R/Matrix.R (Ops):  <Matrix> o <matrix>  method added
373    
374            * R/dgCMatrix.R: solve(a, b="missing") based on
375            * src/dgCMatrix.c (dgCMatrix_matrix_solve): extend to work with
376            RHS = NULL.
377    
378            * R/diagMatrix.R (diagdiagprod): extend %*% etc to ldiMatrix;
379            add more (needed) [t]crossprod() methods.
380    
381            * man/ddiMatrix-class.Rd: more info, notably on 'diag'
382    
383            * R/Auxiliaries.R (as_CspClass): cleanup
384            (drop0): internal utility for "Csparse_drop(*, 0)"
385            (.bail.out.2): encourage active feedback
386    
387    2006-10-26  Martin Maechler  <maechler@stat.math.ethz.ch>
388    
389            * R/dMatrix.R(Compare): new(), then slots [no validity check]
390    
391            * src/Csparse.c (Csparse_validate): fixed (and more efficient in
392            non-valid or 'sorted' case).
393    
394            * R/dsparseMatrix.R: add "chol" method.
395            * R/ddenseMatrix.R: ditto
396    
397            * R/diagMatrix.R (Ops): group methods for  <diagonal> o <sparse>
398            * NAMESPACE (Ops)
399            * R/diagMatrix.R (diag2T): simple utility used "higher level"
400            coercion; deprecating direct lower level coercions.
401    
402            * R/*.R (seq): use seq_len() and seq_along() where possible.
403    
404    
405    2006-10-23  Martin Maechler  <maechler@stat.math.ethz.ch>
406    
407            * DESCRIPTION (Version): 0.9975-5 ready for release
408    
409    2006-10-20  Douglas Bates  <bates@stat.wisc.edu>
410    
411            * src/init.c (R_init_Matrix): export more cholmod CCallable functions.
412    
413    2006-10-20  Martin Maechler  <maechler@stat.math.ethz.ch>
414    
415            * R/AllClass.R (corMatrix): add 'validity' check;
416                    comment out unused "LDL" class definition
417            * NAMESPACE: mention, but do not export "LDL" class
418            * R/corMatrix.R: new (simple), needed for R-devel with
419            * tests/Class+Meth.R (tstMatrixClass): 1 exception for corMatrix
420              coerce and t() exceptions for all 5 'Mat.MatFact' classes.
421    
422    2006-10-19  Douglas Bates  <bates@stat.wisc.edu>
423    
424            * src/chm_common.h: Add R_cholmod_start to initialize cholmod to
425            use Rprintf and R's error handling.
426    
427    2006-10-17  Martin Maechler  <maechler@stat.math.ethz.ch>
428    
429            * R/diagMatrix.R (%*%): rep(*, each = .) in Matrix %*% diagonal.
430            * tests/matprod.R: add tests for the bug fixed.
431    
432  2006-10-11  Douglas Bates  <bates@stat.wisc.edu>  2006-10-11  Douglas Bates  <bates@stat.wisc.edu>
433    
434          * src/HBMM.[ch]: remove HarwellBoeing format for writing.          * src/HBMM.[ch]: remove HarwellBoeing format for writing.
# Line 5  Line 436 
436    
437  2006-10-06  Douglas Bates  <bates@stat.wisc.edu>  2006-10-06  Douglas Bates  <bates@stat.wisc.edu>
438    
439          * R/dgCMatrix.R: deprecate the writeHB function.  Use writeMM instead.          * R/d[gs]CMatrix.R: deprecate the writeHB function.  Use writeMM instead.
440    
441  2006-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>  2006-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
442    

Legend:
Removed from v.1624  
changed lines
  Added in v.1765

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