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 1507, Mon Sep 4 18:41:34 2006 UTC revision 1673, Mon Nov 6 20:54:26 2006 UTC
# Line 1  Line 1 
1    2006-11-06  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/Csparse.R (replCmat): symmetric indexing of symmetric matrix
4            now returns symmetric.
5    
6            * R/zzz.R ("diag<-"): replace "diag<-" in base for R <= 2.4.x
7    
8            * R/Matrix.R (.M.sub.i.2col):  new, for  M[ cbind(i,j) ] indexing.
9            * R/Matrix.R (.M.repl.i.2col): new, for  M[ cbind(i,j) ] <- value
10    
11            * R/Auxiliaries.R (.type.kind): added
12    
13    2006-11-04  Martin Maechler  <maechler@stat.math.ethz.ch>
14    
15            * src/cs.[ch]: updated to CSparse Version 2.0.3 by simply
16            running src/CSparse_install.sh
17    
18            * R/denseMatrix.R: "[": keep symmetric on symmetric indexing.
19    
20    2006-11-03  Martin Maechler  <maechler@stat.math.ethz.ch>
21    
22            * src/dsCMatrix.c (dsCMatrix_Csparse_solve): new
23            * R/dsCMatrix.R (solve): "fully-sparse" using the above.
24    
25            * R/AllClass.R: "pMatrix" now also inherits from "generalMatrix"
26    
27            * tests/Class+Meth.R (tstMatrixClass): now assure
28            the (important in method programming) property :
29    
30                    ###>>  Every "Matrix" is either
31                    ###>>  "general*", "symmetric*", "triangular*" or "diagonal*"
32    
33                    (where "*" stands for "Matrix")
34    
35            * R/Auxiliaries.R (diagU2N): now .Call()s Csparse_diagU2N for <Csparse>
36    
37            * R/dMatrix.R (Compare(<dMatrix>,<dMatrix>): update and
38            * tests/validObj.R: checks for "comparison"
39    
40            * R/sparseMatrix.R ([): improved indexing for sparse;
41                    trying to keep <symmetric>[ n, n] symmmetric
42    
43            * tests/indexing.R: indexing for logical sparse now ok
44    
45    
46    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
47    
48            * src/Tsparse.c: use xTsparse_validate() , and hence remove
49    
50            * src/{ltC,lsC,lgT}Matrix.[ch]: removed
51    
52    2006-11-02  Martin Maechler  <maechler@stat.math.ethz.ch>
53    
54            * R/AllClass.R (Matrix-class): check length of dimnames in validity.
55    
56            * tests/simple.R: validObject() checking the above.
57    
58            * src/dgCMatrix.c (xCMatrix_validate): new, small and simple,
59            replacing both dgCMatrix_validate and lgCM*.
60    
61            * src/Csparse.c (Csparse_dense_prod, etc): do not lose dimnames;
62            fix dimnames setting in other places.
63            * src/chm_common.c (chm_dense_to_SEXP): now can pass dimnames
64    
65    2006-11-01  Martin Maechler  <maechler@stat.math.ethz.ch>
66    
67            * R/Csparse.R,src/Csparse.c, etc: tcrossprod(<CsparseM>,<CsparseM>)
68    
69            * R/sparseMatrix.R (isSymmetric): drop 'factors' slot for
70            symmetry test, via
71            * R/Auxiliaries.R (.as.dgC.0.factors):
72    
73    2006-11-01  Douglas Bates  <bates@r-project.org>
74    
75            * R/Csparse.R,src/Csparse.c,tests/matprod.R,
76            man/CsparseMatrix-class.Rd: crossprod(<CsparseMatrix>,
77            <CsparseMatrix>) added
78    
79    2006-10-30  Martin Maechler  <maechler@stat.math.ethz.ch>
80    
81            * tests/matprod.R: add a variation of Harri's example
82    
83            * R/dsparseMatrix.R: fix crossprod(<dsparse>, <dge>) to *not*
84            recursive infinitely.
85    
86            * R/dgCMatrix.R: + solve(<sparse>, <sparse>)
87    
88            * tests/indexing.R: add test for the "<" bug fixed 10-27 in R/dMatrix.R
89    
90    2006-10-28  Martin Maechler  <maechler@stat.math.ethz.ch>
91    
92            * tests/Class+Meth.R (tstMatrixClass): more: use non-trivial
93            matrix if possible; test m+m == 2*m; now test dgRMatrix.
94            * R/dgRMatrix.R (.to.dgR): a few more coercions, in order to
95            satisfy the above test.
96    
97    2006-10-27  Martin Maechler  <maechler@stat.math.ethz.ch>
98    
99            * R/Matrix.R (Ops):  <Matrix> o <matrix>  method added
100    
101            * R/dgCMatrix.R: solve(a, b="missing") based on
102            * src/dgCMatrix.c (dgCMatrix_matrix_solve): extend to work with
103            RHS = NULL.
104    
105            * R/diagMatrix.R (diagdiagprod): extend %*% etc to ldiMatrix;
106            add more (needed) [t]crossprod() methods.
107    
108            * man/ddiMatrix-class.Rd: more info, notably on 'diag'
109    
110            * R/Auxiliaries.R (as_CspClass): cleanup
111            (drop0): internal utility for "Csparse_drop(*, 0)"
112            (.bail.out.2): encourage active feedback
113    
114    2006-10-26  Martin Maechler  <maechler@stat.math.ethz.ch>
115    
116            * R/dMatrix.R(Compare): new(), then slots [no validity check]
117    
118            * src/Csparse.c (Csparse_validate): fixed (and more efficient in
119            non-valid or 'sorted' case).
120    
121            * R/dsparseMatrix.R: add "chol" method.
122            * R/ddenseMatrix.R: ditto
123    
124            * R/diagMatrix.R (Ops): group methods for  <diagonal> o <sparse>
125            * NAMESPACE (Ops)
126            * R/diagMatrix.R (diag2T): simple utility used "higher level"
127            coercion; deprecating direct lower level coercions.
128    
129            * R/*.R (seq): use seq_len() and seq_along() where possible.
130    
131    
132    2006-10-23  Martin Maechler  <maechler@stat.math.ethz.ch>
133    
134            * DESCRIPTION (Version): 0.9975-5 ready for release
135    
136    2006-10-20  Douglas Bates  <bates@stat.wisc.edu>
137    
138            * src/init.c (R_init_Matrix): export more cholmod CCallable functions.
139    
140    2006-10-20  Martin Maechler  <maechler@stat.math.ethz.ch>
141    
142            * R/AllClass.R (corMatrix): add 'validity' check;
143                    comment out unused "LDL" class definition
144            * NAMESPACE: mention, but do not export "LDL" class
145            * R/corMatrix.R: new (simple), needed for R-devel with
146            * tests/Class+Meth.R (tstMatrixClass): 1 exception for corMatrix
147              coerce and t() exceptions for all 5 'Mat.MatFact' classes.
148    
149    2006-10-19  Douglas Bates  <bates@stat.wisc.edu>
150    
151            * src/chm_common.h: Add R_cholmod_start to initialize cholmod to
152            use Rprintf and R's error handling.
153    
154    2006-10-17  Martin Maechler  <maechler@stat.math.ethz.ch>
155    
156            * R/diagMatrix.R (%*%): rep(*, each = .) in Matrix %*% diagonal.
157            * tests/matprod.R: add tests for the bug fixed.
158    
159    2006-10-11  Douglas Bates  <bates@stat.wisc.edu>
160    
161            * src/HBMM.[ch]: remove HarwellBoeing format for writing.
162            * src/SOURCES_C.mkf (SOURCES_C): no longer compile iohb.c
163    
164    2006-10-06  Douglas Bates  <bates@stat.wisc.edu>
165    
166            * R/d[gs]CMatrix.R: deprecate the writeHB function.  Use writeMM instead.
167    
168    2006-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
169    
170            * DESCRIPTION (Version): 0.9975-3
171    
172            * R/diagMatrix.R (bdiag): new function constructing block diagonal
173            (sparse) matrices.
174            * man/bdiag.Rd: docu + examples
175    
176            * R/Csparse.R (replCmat): calling new Csparse_drop() now.
177    
178            * src/Csparse.c (Csparse_general_to_symmetric, Csparse_drop): new functions
179            * R/lsCMatrix.R: three more coercions to lsC (thanks to the above)
180    
181            * R/diagMatrix.R (Diagonal): '[<-' method for diag.matrices such
182            that result is sparse or diagonal (and not dense).
183    
184            * man/Subassign-methods.Rd: fix examples
185    
186            * R/Matrix.R (Matrix):  Matrix(0, *) or Matrix(*, sparse=TRUE)
187            should always return a sparse (and not sometimes a diagonal) matrix.
188    
189    2006-10-05  Martin Maechler  <maechler@stat.math.ethz.ch>
190    
191            * R/Matrix.R ([<-): also for value "Matrix" or "matrix"
192    
193    2006-10-04  Douglas Bates  <bates@stat.wisc.edu>
194    
195            * DESCRIPTION (Version): 0.9975-2
196    
197            * inst/include/Matrix_stubs.c (M_cholmod_sparse_to_triplet): export more symbols
198    
199    2006-10-02  Douglas Bates  <bates@R-project.org>
200    
201            * tests/dg_Matrix.R: Simplify test taking into account new code.
202    
203    2006-09-29  Martin Maechler  <maechler@stat.math.ethz.ch>
204    
205            * R/Csparse.R (replCmat): improve for missing i / j in non-simple cases
206    
207            * R/lsTMatrix.R: new files w/ missing methods
208            * R/nsTMatrix.R:  "  'for completeness'
209    
210            * tests/Class+Meth.R: a bit less 'not.ok.classes'
211    
212            * R/Tsparse.R (t): generalized "t" method from "dgT*" to "Tsparse*"
213    
214    
215    2006-09-28  Douglas Bates  <bates@R-project.org>
216    
217            * src/dppMatrix.h: Ensure definition of dspMatrix_validate is
218            included.
219    
220            * src/init.c, inst/include/{Matrix.h,Matrix_stubs.h,cholmod.h}:
221            Export C-callable functions used in Zt_create in lme4.
222    
223    2006-09-28  Martin Maechler  <maechler@stat.math.ethz.ch>
224    
225            * DESCRIPTION (Version): 0.9975-1
226    
227            * tests/simple.R: less checks fail; using NA, found that our
228                    kronecker() is not base-compatible with NA's.
229    
230            * R/dMatrix.R: "Compare" method now implemented for all cases
231    
232            * R/Auxiliaries.R (indTri): == which([lower/upper].tri( * )) new utility
233    
234            * man/dtpMatrix-class.Rd: mention length of 'x' slot
235    
236            * src/dtpMatrix.c (dtpMatrix_validate): fix check
237            * src/dspMatrix.c (dspMatrix_validate): ditto
238    
239            * R/dtTMatrix.R (gt2tT): fix ("l" -> "n")
240              including coercion to [nl]tTMatrix.
241    
242            * R/diagMatrix.R (show): print a header line as for other classes.
243    
244    2006-09-27  Martin Maechler  <maechler@stat.math.ethz.ch>
245    
246            * src/Makefile.win (SUBDIRS): fix typo
247    
248    2006-09-19  Martin Maechler  <maechler@stat.math.ethz.ch>
249    
250            * DESCRIPTION (Date): ready to release 0.9975-0 to CRAN
251    
252    2006-09-18  Douglas Bates  <bates@stat.wisc.edu>
253    
254            * R/[CT]sparse.R (crossprod and tcrossprod): Handle the cases for x
255            symmetric and y missing in R code using %*% (cholmod_aat doesn't
256            accept a symmetric matrix).
257            * tests/group-methods.R: Uncomment test of crossprod applied to
258            lsCMatrix objects.
259    
260    2006-09-18  Martin Maechler  <maechler@stat.math.ethz.ch>
261    
262            * R/AllClass.R (symmetricMatrix): add validity method (available
263            in C for a long time). Many "n..Matrix": drop (wrong) validity arg.
264    
265            * src/lgCMatrix.c (lgCMatrix_validate): check 'x' slot (!)
266    
267            * tests/indexing.Rout.save:
268            * tests/indexing.R: additions, mainly for 'lsparse'
269    
270            * R/diagMatrix.R (Diagonal) & coercion to lgTMatrix: fixes for NA
271            case.
272    
273            * R/Auxiliaries.R (nz.NA): new utility now used in nnzero()
274    
275    2006-09-16  Martin Maechler  <maechler@stat.math.ethz.ch>
276    
277            * R/sparseMatrix.R (prSpMatrix): print logical NAs "visibly"
278                    as 'N' (1-letter - Ok?)
279    
280            * tests/group-methods.R: add test for logical + NAs
281    
282            * R/dMatrix.R ("Compare"): fix to work with NA's
283    
284            * R/AllClass.R: "Cholesky" etc now inherit from MatrixFactorization.
285    
286            * src/lgCMatrix.c (ncsc_to_matrix): renamed from lcsc_to_matrix()
287                    which is implemented.
288    
289    2006-09-15  Martin Maechler  <maechler@stat.math.ethz.ch>
290    
291            * src/chm_common.c: coerce logical <-> double instead of
292            typecasting;  needed for "l" matrix handling in cholmod.
293    
294            * tests/other-pkgs.R (graph): small extension in "graph" checks.
295    
296            * R/sparseMatrix.R (graphNEL -> Tsparse): method for weight case.
297            (Tsp2grNEL): other fixes needed
298    
299    2006-09-11  Martin Maechler  <maechler@stat.math.ethz.ch>
300    
301            * R/AllClass.R ("nMatrix"): and subclasses for "nonzero pattern"
302                    Matrices, since "lMatrix", also "lsparseM" can have NA
303            * R/ndenseMatrix.R, etc: new source files
304            * man/nsparseMatrix-classes.Rd, etc: new help files
305            * tests/: adaptions
306            * src/chm_common.c (chm_dense_to_SEXP): and others:
307                    new 'Rkind' argument: "l*" and "d*" both use CHOLMOD_REAL
308            * src/Csparse.c, etc: ditto
309    
310    2006-09-11  Douglas Bates  <bates@R-project.org>
311    
312            * src/Mutils.[ch],init.c inst/include/*.h: Move the
313            alloc_d**Matrix functions to the lme4 package.
314    
315    2006-09-09  Douglas Bates  <bates@R-project.org>
316    
317            * src/dsCMatrix.c (dsCMatrix_Cholesky): igoring LDL = FALSE now
318            fixed
319    
320    2006-09-09  Martin Maechler  <maechler@stat.math.ethz.ch>
321    
322            * R/lMatrix.R: new
323    
324            * R/sparseMatrix.R (Tsp2grNEL): do not yet use graph::foo()
325    
326            * R/dgeMatrix.R: do not define tcrossprod() methods for "matrix"
327            * man/tcrossprod.Rd: ditto
328    
329    2006-09-08  Douglas Bates  <bates@stat.wisc.edu>
330    
331            * inst/include/Matrix_stubs.c,Matrix.h: Add declarations and stubs
332            for exported functions
333            * src/Makefile, src/CHOLMOD/Lib/Makefile, src/Metis,CAMD,CCOLAMD:
334            Remove partitioning algorithms for sparse matrix reordering.  The
335            copyright on the Metis code was problematic and the methods were
336            rarely used.
337            * src/triplet_to_col.[ch],MMHB.[ch]: Remove triplet_to_col.  Such
338            operations are now done entirely in CHOLMOD code.
339    
340    2006-09-06  Douglas Bates  <bates@R-project.org>
341    
342            * src/Mutils.h: Remove functions that are no longer used.
343    
344  2006-09-04  Douglas Bates  <bates@R-project.org>  2006-09-04  Douglas Bates  <bates@R-project.org>
345    
346          * src/dtCMatrix.c (dtCMatrix_validate): rename functions.          * src/dtCMatrix.c (dtCMatrix_validate): rename functions.
# Line 24  Line 367 
367    
368          * R/sparseMatrix.R (Arith): moved Arith group method one-level up          * R/sparseMatrix.R (Arith): moved Arith group method one-level up
369          from "dsparse" to "sparse" and now go via "Csparse" instead of "dgC"          from "dsparse" to "sparse" and now go via "Csparse" instead of "dgC"
370          * R/dsparseMatrix.R: dito          * R/dsparseMatrix.R: ditto
371          * R/Csparse.R: dito          * R/Csparse.R: ditto
372    
373  2006-08-31  Martin Maechler  <maechler@stat.math.ethz.ch>  2006-08-31  Martin Maechler  <maechler@stat.math.ethz.ch>
374    
# Line 41  Line 384 
384    
385          * R/Auxiliaries.R (all0, is0): for 0-testing in presence of NA's          * R/Auxiliaries.R (all0, is0): for 0-testing in presence of NA's
386          * R/Auxiliaries.R (isTriMat): use all0() for 0-testing.          * R/Auxiliaries.R (isTriMat): use all0() for 0-testing.
387          (.is.diagonal): dito          (.is.diagonal): ditto
388    
389          * R/lgTMatrix.R: as("matrix", "lgTMatrix"): warn about NA's          * R/lgTMatrix.R: as("matrix", "lgTMatrix"): warn about NA's
390    

Legend:
Removed from v.1507  
changed lines
  Added in v.1673

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