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

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