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 2159, Sat Mar 29 08:09:05 2008 UTC revision 2207, Mon Jul 7 22:34:52 2008 UTC
# Line 1  Line 1 
1    2008-07-07  Martin Maechler  <maechler@stat.math.ethz.ch>
2    
3            * R/sparseVector.R (spV2M): fix for "isparseVector".
4            Further, fix <diag> -> <sparseVector> coercion
5            (repSpV): add rep(<sparseVector>, .) method
6    
7            * R/sparseMatrix.R ([<-): when the RHS is a "scarce"Matrix, do *not*
8            use as.vector(.).
9    
10            * R/[TCR]sparse.R ([<-): methods for  value = "sparseVector"
11    
12            * R/AllClass.R: new (hidden) class union "scarceMatrix"
13            * R/AllClass.R: sparseVector: add prototype
14    
15            * src/dsCMatrix.c (chk_nm): fix "Cholesky" check, thanks to Kasper Kristensen
16    
17    2008-06-28  Martin Maechler  <maechler@stat.math.ethz.ch>
18    
19            * tests/other-pkgs.R: add more interesting Matrix -> graph
20    
21    2008-06-27  Martin Maechler  <maechler@stat.math.ethz.ch>
22    
23            * R/sparseMatrix.R (Tsp2grNEL): add 'need.uniq' argument for speed
24            improvement in "[CR]sparseMatrix" -> "graphNEL" coercion.
25    
26    2008-06-25  Martin Maechler  <maechler@stat.math.ethz.ch>
27    
28            * R/diagMatrix.R (.bdiag): use more efficient Bates-algorithm for
29            .bdiag().
30            * man/bdiag.Rd: update, including test.
31    
32    2008-06-24  Martin Maechler  <maechler@stat.math.ethz.ch>
33    
34            * tests/Simple.R: add minimal bdiag() checks
35    
36            * R/diagMatrix.R (bdiag): fix bdiag(diag(4:5)) case;
37              factor out the Tsparse - internal computation into new .bdiag()
38    
39    2008-06-14  Martin Maechler  <maechler@stat.math.ethz.ch>
40    
41            * R/nsparseMatrix.R: specific fast all() and any() methods.
42    
43            * src/dgTMatrix.c (MAKE_gTMatrix_to_geMatrix): better error message
44            when trying to produce too large result.
45    
46            * inst/test-tools.R (checkMatrix): add 'do.matrix' with a check for
47            very large matrices.
48    
49            * R/sparseMatrix.R (printSpMatrix2): new function, used by
50            show(<sparseMatrix>).
51    
52            * R/diagMatrix.R (show): print only diagonal entries when nrow(.) >= 50.
53    
54    2008-06-13  Martin Maechler  <maechler@stat.math.ethz.ch>
55    
56            * src/Mutils.c (m_encodeInd, m_encodeInd2):
57            * R/*.R: .Call(m_encodeInd2?, ..) instead of encodeInd2?(..).
58    
59            * R/Auxiliaries.R (encodeInd2?): care against integer overflow (for
60            big matrices): -> 2nd argument 'di' instead of 'nr' !
61    
62    2008-06-09  Martin Maechler  <maechler@stat.math.ethz.ch>
63    
64            * R/dtCMatrix.R: faster dgC* -> dtC* method
65            * tests/Simple.R: (hence removed "FIXME")
66    
67            * R/Auxiliaries.R (copyClass): add 'check = .copyClass.check'
68            which can be be turned off for possible speed gains.
69    
70    2008-06-02  Martin Maechler  <maechler@stat.math.ethz.ch>
71    
72            * R/dMatrix.R, R/Tsparse.R: get rid of some disambiguation warnings
73    
74            * R/not.R: fix !<ldiMatrix>
75            implement two old "FIXME"s:  !<ldenseMatrix> & !<ndenseMatrix>
76    
77            * R/diagMatrix.R (Ops): fix one-off thinko in
78            <diagonal> o <numeric> methods
79    
80            * inst/test-tools.R: checkMatrix(): drop0(m12) unconditionally
81    
82    2008-05-30  Martin Maechler  <maechler@stat.math.ethz.ch>
83    
84            * R/diagMatrix.R (Ops): more <diagonal> o <Matrix> methods
85            * tests/Simple.R: testing the above
86    
87    2008-05-07  Martin Maechler  <maechler@stat.math.ethz.ch>
88    
89            * NAMESPACE: also import "Ops" {found via new tools:::get_S4_generics_with_methods()}
90    
91    2008-05-03  Martin Maechler  <maechler@stat.math.ethz.ch>
92    
93            * R/Matrix.R (dimnames<-): dimnames(.) <- NULL works with a message;
94            * NAMESPACE (unname): finally exported
95    
96    2008-04-28  Martin Maechler  <maechler@stat.math.ethz.ch>
97    
98            * R/Auxiliaries.R (cholMat): possibly keep packed
99    
100            * inst/test-tools.R (checkMatrix): add fixed determinant.matrix()
101            for R < 2.7.0.
102    
103            * R/Tsparse.R ([): for triangularMatrix, check if result may be
104            triangular.
105            * tests/indexing.R: regression test
106    
107    2008-04-26  Martin Maechler  <maechler@stat.math.ethz.ch>
108    
109            * inst/test-tools.R (checkMatrix): test <Ops> not only for dMatrix
110            * R/Ops.R: more methods, for lMatrix/nMatrix
111    
112    2008-04-24  Martin Maechler  <maechler@stat.math.ethz.ch>
113    
114            * R/expm.R: new file for all expm() methods; notably new ones for
115            diagonal*, triangular*, symmetric* and also simple "matrix".
116    
117    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
118    
119            * R/dsyMatrix.R: setAs(.) rather than setIs(.)  "to dpoMatrix"
120    
121            * inst/test-tools.R (assert.EQ.mat): better message when not equal
122    
123            * src/dgeMatrix.c (dgeMatrix_matrix_crossprod): allow integer RHS.
124    
125            * R/AllClass.R (ddiMatrix,ldiMatrix): extend [dl]Matrix instead of
126            [dl]denseMatrix {identical slots; but more logical method dispatch}
127    
128    2008-04-23  Martin Maechler  <maechler@stat.math.ethz.ch>
129    
130            * R/sparseMatrix.R (summary): use length(<i-slot>) instead of nnzero()
131    
132            * R/diagMatrix.R (determinant): method
133    
134    2008-04-22  Martin Maechler  <maechler@stat.math.ethz.ch>
135    
136            * src/dsCMatrix.c (dsCMatrix_Cholesky): suppress CHOLMOD printing too
137    
138            * R/Rsparse.R (.viaC.to.R): uplo fix for symmetric & triangular
139    
140            * R/dsCMatrix.R (determinant): switch to use Cholesky( 'LDL' ) and
141            its diagonal
142    
143    2008-04-21  Martin Maechler  <maechler@stat.math.ethz.ch>
144    
145            * R/dMatrix.R (Summary): short-cut for prod(<sparse>)
146    
147            * R/not.R: fix !<"U"-diag-ltrMatrix> ; drop {R < 2.6.0}-branch
148    
149            * R/Auxiliaries.R (tT2gT): fix for "U"-diag-ltTMatrix
150    
151            * R/AllClass.R: ltTMatrix validity: call (more stringent) tTMatrix_validate
152    
153    2008-04-19  Martin Maechler  <maechler@stat.math.ethz.ch>
154    
155            * R/Ops.R (Ops.x.x): aux.function, not just for (dMatrix,dMatrix)
156    
157            * R/Ops.R (.do.Logic.lsparse): fix NA case
158    
159            * R/Tsparse.R (replTmat): fix r.sym case, using indTri()
160    
161            * R/Auxiliaries.R (nnzero): fix special cases, using
162            * R/Auxiliaries.R (indDiag): new utility
163            * R/Auxiliaries.R (indTri): new argument 'diag'
164    
165            * R/dMatrix.R: Summmary(<ddenseMatrix>): different branch for dsy*
166    
167    2008-04-18  Martin Maechler  <maechler@stat.math.ethz.ch>
168    
169            * R/diagMatrix.R: "Summary" methods, and more "Arith" / "Ops"
170    
171            * src/Csparse.c (Csparse_drop): preserve (uplo,diag) for
172            ".tCMatrix" triangular matrix.
173    
174            * R/Auxiliaries.R (drop0): use diagU2N(); according to helpfile,
175            'clx' can be class *or* class representation.
176            (nnzSparse): new.
177            (non0ind): new 'xtendSymm' argument; used in
178            * R/Ops.R:
179    
180            * R/pMatrix.R: more efficient determinant() method
181    
182    2008-04-17  Martin Maechler  <maechler@stat.math.ethz.ch>
183    
184            * [disactivated] R/Matrix.R (det): det() as base::det(), but with Matrix environment
185            * [disactivated] NAMESPACE: export(det)
186    
187            * R/diagMatrix.R (mkDiag): new substitute for diag()
188    
189            * R/Auxiliaries.R (nnzero): fix for "diagU2N"-case
190            (as0, as1): new utility.
191    
192            * R/Csparse.R (diag, band): need diagU2N()
193    
194            * src/dgeMatrix.c (get_norm): return NA when 'x' slot has NA/NaN.
195    
196            * R/lMatrix.R: coerce(nMatrix |-> lMatrix) fix
197    
198            * R/Ops.R (Compare): fix <nsp> o <nsp> case
199    
200            * R/nsparseMatrix.R, R/pMatrix.R: is.na() method
201    
202    2008-04-16  Martin Maechler  <maechler@stat.math.ethz.ch>
203    
204            * R/Auxiliaries.R (signPerm): new utility for
205            * R/Auxiliaries.R (detSparseLU): determinant() via sparseLU
206    
207            * src/dsCMatrix.c (dsCMatrix_LDL_D): suppress 'CHOLMOD warning';
208            since we have our own error handler (and can use tryCatch() from R).
209    
210    2008-04-15  Martin Maechler  <maechler@stat.math.ethz.ch>
211    
212            * R/dgTMatrix.R (image): ha! set col=NA if lwd is small -- very nice!
213    
214            * R/dsCMatrix.R (determinant): use tryCatch() and switch to lu()
215            when not positive definite.
216    
217            * R/Auxiliaries.R (asTri): new auxiliary
218            (non0.i): make *much* faster for Tsparse with many non-zero
219            entries; add 'uniqT = TRUE' argument to be used when sorting is undesired.
220    
221            * tests/Class+Meth.R (dotestMat): now build on checkMatrix() from
222            test-tools.R , see below
223    
224            * R/dMatrix.R: fix "Summary" method: + diagU2N()
225    
226            * NAMESPACE, R/Matrix.R: add mean() method
227    
228    2008-04-12  Martin Maechler  <maechler@stat.math.ethz.ch>
229    
230            * R/dgTMatrix.R (image): allow to *not* take abs(), and use
231            cold-hot colors; try *changed* default useAbs = FALSE
232            * man/image-methods.Rd:  nice examples
233    
234    2008-04-11  Martin Maechler  <maechler@stat.math.ethz.ch>
235    
236            * inst/test-tools.R (checkMatrix): new function for modularizing part
237            of tstMatrixClass() in tests/Class+Meth.R
238    
239            * R/dsCMatrix.R: coercion from "matrix"
240            * R/ltTMatrix.R, R/ntTMatrix.R: ditto (change it).
241    
242            * tests/Class+Meth.R (tstMatrixClass): some cleanup;
243            add test for as(matrix(,0,0), <class>)
244    
245    2008-04-09  Martin Maechler  <maechler@stat.math.ethz.ch>
246    
247            * src/dgeMatrix.c (dgeMatrix_determinant): for n == 0,
248            work as determinant(matrix(,0,0)).
249    
250            * src/dgCMatrix.c (dgCMatrix_LU): return {L,U} as dtCMatrix
251            * man/sparseLU-class.Rd: ditto
252    
253            * R/dgCMatrix.R (determinant): method building on lu()
254            * R/sparseMatrix.R, Matrix.R, ...: ditto
255    
256            * R/Auxiliaries.R (mkDet): auxiliary for determinant()
257    
258    2008-04-07  Martin Maechler  <maechler@stat.math.ethz.ch>
259    
260            * R/sparseMatrix.R (summary<sparseMatrix>): no 'x' column for
261            pattern matrices.
262    
263    2008-04-02  Martin Maechler  <maechler@stat.math.ethz.ch>
264    
265            * src/dense.c (dense_to_Csparse): all declarations *before*
266            R_CheckStack(); needed e.g. for ancient gcc 2.96.
267    
268    
269  2008-03-29  Martin Maechler  <maechler@stat.math.ethz.ch>  2008-03-29  Martin Maechler  <maechler@stat.math.ethz.ch>
270    
271          * DESCRIPTION (Version): 0.999375-9 --- need to release          * DESCRIPTION (Version): 0.999375-9 --- need to release
272          for R-devel (and R 2.7.0 alpha soon).          for R-devel (and R 2.7.0 alpha soon).
273    
274            * R/AllClass.R: drop "double" from "atomicVector" class union
275    
276            * R/AllGeneric.R (rcond): check for base::rcond instead of R version
277            * R/dgeMatrix.R: ditto
278    
279          * R/sparseMatrix.R (summary): count NAs          * R/sparseMatrix.R (summary): count NAs
280    
281            * inst/doc/Intro2Matrix.Rnw: changes, aim for *one* introduction.
282    
283  2008-03-28  Martin Maechler  <maechler@stat.math.ethz.ch>  2008-03-28  Martin Maechler  <maechler@stat.math.ethz.ch>
284    
285          * R/AllGeneric.R: rcond(., norm) instead of rcond(., type), in          * R/AllGeneric.R: rcond(., norm) instead of rcond(., type), in

Legend:
Removed from v.2159  
changed lines
  Added in v.2207

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