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 1922, Sat Jun 23 18:08:48 2007 UTC revision 2110, Sat Jan 26 20:59:26 2008 UTC
# Line 1  Line 1 
1    2008-01-26  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/Matrix.R (.M.sub.i.2col): fix for logical matrix indexing
4            * R/Tsparse.R (.TM.sub.i.2col, .TM.repl.i.2col): ditto;
5                    now, M[lower.tri(M)] and  M[lower.tri(M)] <- v  work better
6    
7            * src/Tsparse.c (Tsparse_to_tCsparse): new fast utility.
8            * src/Tsparse.h, init.c: ditto
9            * R/Auxiliaries.R (isTriT): new; faster than going via Csparse
10                 both isTriC() and isTriT() now return TRUE with "kind" or FALSE.
11            * R/sparseMatrix.R (isTriangular): hence simplified
12    
13    2008-01-24  Martin Maechler  <maechler@stat.math.ethz.ch>
14    
15            * R/Ops.R (.Arith.Csparse): new utility factored out of former
16              <dgC> o <dgC>, extended for triangular and also used in  <dtC> o <dtC>.
17    
18    2008-01-23  Martin Maechler  <maechler@stat.math.ethz.ch>
19    
20            * tests/factorizing.R (checkSchur): and more tests for checking Schur()
21    
22            * inst/test-tools.R (isOrthogonal): new function; also file restructured
23    
24    2008-01-22  Martin Maechler  <maechler@stat.math.ethz.ch>
25    
26            * R/ngTMatrix.R: allow as(<numeric matrix>, "ngTMatrix") and hence
27            coercion to "nMatrix" and "pMatrix"
28    
29            * R/AllClass.R: "Schur" class;  "number" class union
30            * man/number-class.Rd:
31            * man/Schur-class.Rd:
32    
33            * R/eigen.R (.dgeSchur): utility, and return "Schur" class
34            (.simpleSchur): Schur() method for diagonal matrices
35            (.triSchur):    Schur() method for triangular matrices
36            (Schur.sym):    Schur() for symmetric matrices {building on eigen()}.
37    
38    
39    2008-01-21  Martin Maechler  <maechler@stat.math.ethz.ch>
40    
41            * src/dgCMatrix.c (dgCMatrix_QR): set @Dim slot (as per doc)
42    
43    2008-01-15  Martin Maechler  <maechler@stat.math.ethz.ch>
44    
45            * R/CHMfactor.R (solve): method for b="numeric", but also b="ANY"
46                    in order to ensure 'system = *' is not lost;
47                    formals()$system instead of cut&paste.
48            * tests/factorizing.R: test solve(<CHM..>, <numeric>)
49    
50    2008-01-11  Martin Maechler  <maechler@stat.math.ethz.ch>
51    
52            * DESCRIPTION (Date): make ready for release --> 0.999375-4
53    
54            * R/dgeMatrix.R: fix rcond() method for "dgeMatrix".
55    
56    2007-12-08  Martin Maechler  <maechler@stat.math.ethz.ch>
57    
58            * R/pMatrix.R: as(*, "matrix") now returns 0/1 *integer* matrix,
59                    and hence does as.vector(.).
60            * man/pMatrix-class.Rd: docs
61            * R/sparseMatrix.R: fix for printing "integer sparse"
62    
63            * tests/Class+Meth.R (tstMatrixClass): test M[FALSE], M[2] etc
64    
65            * R/Matrix.R and others: use "exact" function argument list for
66                    both "["   : (x, i,j, ..., drop)
67                    and  "[<-" : (x, i,j, ..., value)
68    
69            * R/denseMatrix.R: M[i] and M[i] <- v  (i vector) now work
70            * R/Tsparse.R (replTmat):    ditto
71            * R/diagMatrix.R (replDiag): ditto
72            * R/Csparse.R (replCmat):    ditto {was it worth the pain?}
73            * tests/indexing.R: testing the above
74    
75    2007-12-07  Martin Maechler  <maechler@stat.math.ethz.ch>
76    
77            * R/sparseMatrix.R (cov2cor): method for sparse matrices
78    
79            * R/diagMatrix.R ([<-): fix   D[ cbind(i,j) ] <- v
80    
81            * R/bind2.R: fix for Rsparse* and rbind2(dense,dense)
82    
83            * tests/Class+Meth.R: test cbind2, rbind2  and  diag<-
84    
85    2007-12-06  Martin Maechler  <maechler@stat.math.ethz.ch>
86    
87            * R/Matrix.R: "generic" cov2cor() method
88    
89            * R/nearPD.R: new 'only.values', 'keepDiag' arguments;
90                    speed up Q %*% D %*% t(Q)
91            * tests/dpoMatrix.R: test nearPD()
92    
93    2007-12-05  Doug Bates and Martin Maechler
94    
95            * R/sparseMatrix.R: xtabs(*, sparse=.) function; an extention of
96            stats::xtabs() allowing to create sparse matrices.
97    
98    2007-10-08  Martin Maechler  <maechler@stat.math.ethz.ch>
99    
100            * DESCRIPTION (Version): *-4 (released *-3 two days ago)
101    
102    2007-10-06  Martin Maechler  <maechler@stat.math.ethz.ch>
103    
104            * R/pMatrix.R: solve(<Matrix>, <pMatrix>)
105    
106    2007-10-05  Martin Maechler  <maechler@stat.math.ethz.ch>
107    
108            * R/LU.R: solve() method for "denseLU"
109    
110    2007-10-01  Martin Maechler  <maechler@stat.math.ethz.ch>
111    
112            * DESCRIPTION (Version): 0.999375-3 preparing for release
113    
114            * R/AllGeneric.R: simplify  if(.) .. else .. for R <= 2.5.1
115    
116            * R/Matrix.R (Matrix): .Internal(matrix(..)) different for R >= 2.7.0
117    
118    2007-09-26  Martin Maechler  <maechler@stat.math.ethz.ch>
119    
120            * R/pMatrix.R (.m.mult.pMat): fix <matrix> %*% <pMatrix>,
121              thanks to Kasper Kristensen.
122            * tests/matprod.R: regression test for that.
123    
124    2007-09-23 17:32  Douglas Bates <bates@stat.wisc.edu>
125    
126            * [r4778] R/AllGeneric.R: Check R version before defining generics for
127              primitives
128    
129    2007-09-13  Martin Maechler  <maechler@stat.math.ethz.ch>
130    
131            * R/denseMatrix.R (rcond): method
132            * R/sparseQR.R (rcond): method, use x or t(x)
133    
134    2007-09-12  Martin Maechler  <maechler@stat.math.ethz.ch>
135    
136            * R/dgeMatrix.R (rcond): method: work via qr.R() for non-square
137            matrices.
138            * R/sparseMatrix.R: Ditto for all other rcond() method definitions.
139    
140            * man/rcond.Rd: mention the more general definition, and add
141            example for non-square matrices.
142    
143            * man/chol.Rd: new file, for the S4 chol() generic and all methods.
144    
145    2007-09-11  Martin Maechler  <maechler@stat.math.ethz.ch>
146    
147            * R/sparseQR.R: add qr.R() method [to be used for rcond()]
148    
149    2007-09-01  Martin Maechler  <maechler@stat.math.ethz.ch>
150    
151            * R/Matrix.R ([<-): add (Matrix,missing,ANY,Matrix) etc
152            * tests/indexing.R: add new regression for the above cases.
153    
154    2007-08-30  Martin Maechler  <maechler@stat.math.ethz.ch>
155    
156            * src/Mutils.h (__sun): clause for alloca.h on Solaris
157    
158    2007-08-16  Martin Maechler  <maechler@stat.math.ethz.ch>
159    
160            * DESCRIPTION (Date, Version): 0.999375-2
161    
162    2007-08-15  Martin Maechler  <maechler@stat.math.ethz.ch>
163    
164            * R/HBMM.R (readMM): make work for pattern matrices as well
165    
166    2007-08-14 13:07  Douglas Bates <bates@stat.wisc.edu>
167    
168            * [r4730] src/Mutils.h: declare alloca
169            * [r4734] NAMESPACE, R/AllGeneric.R, R/Csparse.R, R/HBMM.R, R/Tsparse.R,
170              R/dgCMatrix.R, R/dgTMatrix.R, R/dsCMatrix.R, R/dsTMatrix.R,
171              man/externalFormats.Rd, src/Csparse.c, src/Csparse.h, src/DEPS.mkf,
172              src/HBMM.c, src/HBMM.h, src/Mutils.h, src/SOURCES_C.mkf, src/init.c,
173              src/mmio.c, src/mmio.h: Remove deprecated function writeHB and its
174              methods; switch writeMM to use CHOLMOD code; repair readMM
175    
176    2007-08-14  Martin Maechler  <maechler@stat.math.ethz.ch>
177    
178            * R/nearPD.R, man/nearPD.Rd (nearPD): new function built on Jens
179            Oehlschlaegel's ... result type still to be discussed!
180    
181    2007-08-10  Martin Maechler  <maechler@stat.math.ethz.ch>
182    
183            * man/image-methods.Rd: new, combining all image() methods
184    
185    2007-08-09  Martin Maechler  <maechler@stat.math.ethz.ch>
186    
187            * R/dgCMatrix.R: define qr() and lu() methods for "sparseMatrix"
188            to work via dgC...
189    
190            * R/Matrix.R (Matrix): special treatment for "table" (S3)
191    
192    2007-08-07  Martin Maechler  <maechler@stat.math.ethz.ch>
193    
194            * R/dgTMatrix.R (image): change defaults to
195                    aspect = "iso", colorkey = FALSE
196    
197    2007-08-06  Martin Maechler  <maechler@stat.math.ethz.ch>
198    
199            * src/dsyMatrix.c (dsyMatrix_matrix_mm): 'b' might be matrix;
200            must copy its *expanded* x slot before LAPACK call.
201    
202            * tests/matprod.R: test the last days' changes.
203    
204    2007-08-06 16:43  Douglas Bates <bates@stat.wisc.edu>
205    
206            * [r4712] inst/include/Matrix_stubs.c: Change R_cholmod_printf in stubs
207              as well as in sources
208            * [r4713] src/dsyMatrix.c: Duplicate the contents of the RHS before
209              Lapack call
210    
211    2007-08-03  Martin Maechler  <maechler@stat.math.ethz.ch>
212    
213            * R/Matrix.R (%*%, crossprod, tcrossprod): add method for
214                    ("Matrix", "matrix") which is needed in some cases.
215            Ditto for solve().
216    
217            * R/colSums.R (.as.dge.Fun): need ddenseMatrix methods to avoid
218            infinite recursion in dispatch for some cases.
219    
220    2007-08-02 08:48  Martin Maechler <maechler@stat.math.ethz.ch>
221    
222            * [r4693] src/chm_common.c: R_cholmod_printf() instead of Rprintf() just
223              so pointers match
224    
225    2007-08-02  Martin Maechler  <maechler@stat.math.ethz.ch>
226    
227            * DESCRIPTION (Date): set ready for release -- 0.999375-1
228    
229    2007-08-01 15:44  Douglas Bates <bates@stat.wisc.edu>
230    
231            * [r4686] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
232              src/chm_common.c, src/chm_common.h: Change API for
233              numeric_as_chm_dense and N_AS_CHM_DN
234    
235    2007-08-01  Martin Maechler  <maechler@stat.math.ethz.ch>
236    
237            * src/dtrMatrix.c (dtrMatrix_matrix_mm): fix dimensionality check (!)
238            * tests/matprod.R: regr.test for it
239    
240    2007-07-20  Martin Maechler  <maechler@stat.math.ethz.ch>
241    
242            * R/dMatrix.R: fix from Brian for   Math2(., digits = "missing")
243            * tests/group-methods.R: and regression-test it
244    
245    2007-07-19 19:45  Douglas Bates <bates@stat.wisc.edu>
246    
247            * [r4642] inst/include/Matrix.h, inst/include/Matrix_stubs.c,
248              inst/include/cholmod.h, src/chm_common.c, src/init.c: Export
249              triplet_to_sparse, documentation, use typedefs
250    
251    2007-07-18  Martin Maechler  <maechler@stat.math.ethz.ch>
252    
253            * man/dpoMatrix-class.Rd: added 'corMatrix' example
254    
255            * src/dsyMatrix.[ch] (dsyMatrix_as_matrix): new 'keep_dimnames' arg
256            * src/dtrMatrix.[ch] (dtrMatrix_as_matrix): ditto
257            * src/init.c, R/dsyMatrix.R, R/dtrMatrix.R, R/lgTMatrix.R: ditto
258    
259            * R/lsparseMatrix.R: bug fix in "all" method
260            * R/Ops.R (.do.Logic.lsparse): "|" bug in borderline case
261    
262            * R/dsyMatrix.R (coerce->dsTMatrix): (i,j) slots should *not* have names
263            * R/ngTMatrix.R (coerce->ngTMatrix): ditto;
264                    + matrix |-> nMatrix coercion
265            * R/pMatrix.R: + setAs()  to dMatrix and from nMatrix
266            * man/pMatrix-class.Rd: ditto
267    
268            * R/Matrix.R (Summary): method for non-dMatrix
269    
270            * tests/Class+Meth.R (extraValid): new check about "dirty" slots
271            * tests/Class+Meth.R (tstMatrixClass): test norm(.);
272                    test all Summary methods.
273    
274    2007-07-16  Martin Maechler  <maechler@stat.math.ethz.ch>
275    
276            * R/dgeMatrix.R (norm, rcond): methods for 'matrix'
277    
278    2007-07-14  Martin Maechler  <maechler@stat.math.ethz.ch>
279    
280            * R/sparseMatrix.R (norm): simple methods for sparseMatrix
281    
282            * R/pMatrix.R (t?crossprod): methods for pMatrix
283    
284    2007-07-10  Douglas Bates  <bates@stat.wisc.edu>
285    
286            * src/dgeMatrix.c (dgeMatrix_colsums): Get the logic straight.
287    
288    2007-07-09 20:45  Douglas Bates <bates@stat.wisc.edu>
289    
290            * [r4579] src/dgeMatrix.c: Untangle horrible code in dgeMatrix_colsums
291              trying to fix a subtle bug - which has been somewhere else.
292    
293    2007-07-09 19:43  Martin Maechler <maechler@stat.math.ethz.ch>
294    
295            * [r4578] src/dgeMatrix.c: "cleaned" dgeMatrix_colsums() - but did not
296              solve the bug
297    
298    2007-07-08  Martin Maechler  <maechler@stat.math.ethz.ch>
299    
300            * src/dgCMatrix.c (compressed_to_TMatrix):
301    
302    2007-07-07  Martin Maechler  <maechler@stat.math.ethz.ch>
303    
304            * src/Csparse.c (Rsparse_validate): new, to have some validity
305            checking for RsparseMatrix
306            * src/dgCMatrix.c (xRMatrix_validate): ditto
307            * src/dtCMatrix.c (tRMatrix_validate): ditto
308    
309    2007-07-07  Douglas Bates <bates@stat.wisc.edu>
310    
311            * [r4567] R/AllClass.R: Slots already in RsparseMatrix were redefined in
312              lgRMatrix
313            * [r4568] DESCRIPTION: Prepare for bug-fix release
314            * [r4570] src/CHOLMOD/Check/cholmod_write.c: Include cholmod_matrixops.h
315              for declaration of cholmod_symmetry
316    
317    2007-07-06  Martin Maechler  <maechler@stat.math.ethz.ch>
318    
319            * DESCRIPTION (Version): 0.999375 merged into the trunk; ready for
320            release.
321    
322    2007-07-06 14:11  Douglas Bates <bates@stat.wisc.edu>
323    
324            * [r4559] src/iohb.c, src/iohb.h: Remove Harwell-Boeing input/output
325              functions - no longer used
326            * [r4560] src/HBMM.c, src/Mutils.c, src/dgTMatrix.c, src/dgeMatrix.c,
327              src/dspMatrix.c, src/dsyMatrix.c, src/dtCMatrix.c,
328              src/factorizations.c, src/sparseQR.c: Replace most calls to Calloc by
329              Alloca
330    
331    2007-07-06 13:14  Martin Maechler <maechler@stat.math.ethz.ch>
332    
333            * [r4558] inst/doc/Comparisons.Rnw, src/CHMfactor.c, src/Csparse.c,
334              src/Tsparse.c, src/chm_common.c, src/chm_common.h, src/dense.c,
335              src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c, src/sparseQR.c,
336              src/t_gCMatrix_colSums.c: more R_CheckStack()s
337    
338    2007-07-05 18:12  Douglas Bates <bates@stat.wisc.edu>
339    
340            * [r4550] inst/include/Matrix.h: Add the macro N_AS_CHM_DN to "alloca"
341              the required amount of memory then call M_numeric_as_chm_dense.
342            * [r4556] src/Mutils.h, src/dgCMatrix.c: Define and use the Alloca macro
343              (like Calloc but calling alloca)
344    
345    2007-07-05  Martin Maechler  <maechler@stat.math.ethz.ch>
346    
347            * R/sparseMatrix.R (printSpMatrix): renamed from prSpMatrix()
348            and extended with more sophisticated 'col.names' option.
349            * NAMESPACE: export  printSparseMatrix()
350            * man/printSpMatrix.Rd: document, incl. examples
351    
352    2007-07-04 16:21  Douglas Bates <bates@stat.wisc.edu>
353    
354            * [r4543] src/cs_utils.c, src/cs_utils.h, src/dgCMatrix.c,
355              src/dtCMatrix.c, src/sparseQR.c: CSP typedef for *cs and macro
356              AS_CSP. API change - pass the empty structure to Matrix_as_cs.
357    
358    2007-07-04  Martin Maechler  <maechler@stat.math.ethz.ch>
359    
360            * DESCRIPTION (Version): 0.99875-4
361    
362            * tests/Class+Meth.R (tstMatrixClass): add dimnames, and hence test
363            some dimnames perservation.
364    
365            * R/dsTMatrix.R (t-method): keep dimnames
366            * R/dtTMatrix.R:  ditto
367    
368            * R/sparseMatrix.R (prSpMatrix): print colnames when non-trivial
369            and ncol(.) < 10
370    
371            * src/cs_utils.c: drop check_class() and use Matrix_check_class()
372            from Mutils.h
373    
374            * src/lgCMatrix.c ([ln]csc_to_matrix): no longer lose dimnames,
375            e.g. in as(<ngCMatrix>, "matrix")
376    
377    2007-07-01 13:27  Douglas Bates <bates@stat.wisc.edu>
378    
379            * [r4529] .: Create a branch for the API changes from the 0.99875
380              series to the 0.999375 series
381            * [r4530] DESCRIPTION, inst/include/Matrix.h,
382              inst/include/Matrix_stubs.c, src/CHMfactor.c, src/Csparse.c,
383              src/Mutils.h, src/Tsparse.c, src/chm_common.c, src/chm_common.h,
384              src/dense.c, src/dgCMatrix.c, src/dsCMatrix.c, src/dtTMatrix.c,
385              src/t_gCMatrix_colSums.c: API change - pass the empty structure to the
386              as_cholmod_x functions
387    
388    2007-06-30 09:05  Martin Maechler <maechler@stat.math.ethz.ch>
389    
390            * [r4527] trunk/Matrix/DESCRIPTION, trunk/Matrix/NAMESPACE,
391              trunk/Matrix/inst/doc/Comparisons.Rnw: add session- and hardware-info
392              to Comparisons
393    
394    >>>>>>> .merge-right.r4561
395    2007-06-29  Martin Maechler  <maechler@stat.math.ethz.ch>
396    
397            * DESCRIPTION (Version): 0.99875-3 ready to be released.
398    
399            * R/sparseMatrix.R (spMatrix): make spMatrix(3,4) working
400    
401            * R/AllGeneric.R: set "Math" (and "Math2") group generics in a way
402            that should also work in a future version of R.
403    
404  2007-06-21  Martin Maechler  <maechler@stat.math.ethz.ch>  2007-06-21  Martin Maechler  <maechler@stat.math.ethz.ch>
405    
406          * NAMESPACE, R/AllClass.R: "xsparseVector" class union.          * NAMESPACE, R/AllClass.R: "xsparseVector" class union.
# Line 5  Line 408 
408          * R/sparseVector.R: more *sparseVector coercions, notably for          * R/sparseVector.R: more *sparseVector coercions, notably for
409          non - double ones.          non - double ones.
410    
   
411  2007-06-19  Martin Maechler  <maechler@stat.math.ethz.ch>  2007-06-19  Martin Maechler  <maechler@stat.math.ethz.ch>
412    
413          * R/colSums.R: new file for all (col|row)(Sums|Means) methods,          * R/colSums.R: new file for all (col|row)(Sums|Means) methods,

Legend:
Removed from v.1922  
changed lines
  Added in v.2110

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