Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7789:82be108cc558
First attempt at single precision tyeps
* * *
corrections to qrupdate single precision routines
* * *
prefer demotion to single over promotion to double
* * *
Add single precision support to log2 function
* * *
Trivial PROJECT file update
* * *
Cache optimized hermitian/transpose methods
* * *
Add tests for tranpose/hermitian and ChangeLog entry for new transpose code
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 27 Apr 2008 22:34:17 +0200 |
parents | 45f5faba05a2 |
children | 96ba591be50f |
rev | line source |
---|---|
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
3 * Array.cc (Array<T> Array<T>::transpose () const): Modify for tiled |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
4 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
5 (Array<T> Array<T>::hermitian (T (*)(const&)) const): New method |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
6 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
7 * Array.h (Array<T> hermitian (T (*)(const&)) const): Declare it. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
8 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
9 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
10 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
11 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
12 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
13 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
14 * MArray.h (MArray<T> hermitian <T (*) (const&)) const): New method. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
15 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
16 * MArray2.h (MArray2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
17 * Array2.h (Array2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
18 * ArrayN.h (ArrayN<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
19 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
20 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
21 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
22 * CColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
23 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
24 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
25 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
26 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
27 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
28 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
29 * fCColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
30 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
31 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
32 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
33 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
34 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
35 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
36 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
37 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
38 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
39 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
40 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
41 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
42 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
43 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
44 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
45 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
46 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
47 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
48 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
49 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
50 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
51 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
52 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
53 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
54 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
55 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
56 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
57 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
58 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
59 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
60 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
61 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
62 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
63 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
64 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
65 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
66 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
67 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
68 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
69 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
70 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
71 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
72 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
73 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
74 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
75 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
76 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
77 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
78 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
79 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
80 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
81 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
82 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
83 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
84 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
85 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
86 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
87 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
88 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
89 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
90 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
91 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
92 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
93 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
94 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
95 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
96 * Array-f.cc, Array-fC.cc, MArray-f.cc, MArray-fC.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
97 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
98 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
99 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
100 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
101 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
102 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
103 fEIG.cc, fEIG.h, fMatrix.cc, fMatrix.h, fNDArray.cc, fNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
104 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
105 floatDET.cc, floatDET.h, floatLU.cc, floatLU.h, floatSCHUR.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
106 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
107 * Makefile.in (MATRIC_INC, TI_SRC, MATRIX_SRC): Add them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
108 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
109 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, CmplxDET.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
110 MArray-C.cc, MArray-d.cc, MArray-defs.h, MArray.cc, MArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
111 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
112 SparseQR.cc, SparseQR.h, dMatrix.cc, dMatrix.h, dNDArray.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
113 dNDArray.h, data-conv.cc, data-conv.h, dbleDET.cc, dbleSVD.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
114 lo-cieee.c, lo-ieee.cc, lo-ieee.h, lo-mappers.cc, lo-mappers.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
115 lo-specfun.cc, lo-specfun.h, lo-utils.cc, lo-utils.h, mx-base.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
116 mx-defs.h, mx-ext.h, mx-inlines.cc, mx-op-defs.h, mx-ops, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
117 oct-cmplx.h, oct-fftw.cc, oct-fftw.h, oct-inttypes.h, vx-ops: |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
118 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
119 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
120 2008-05-20 David Bateman <dbateman@free.fr> |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
121 |
7788 | 122 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
123 to avoid shadowed variable warning | |
124 (double ComplexMatrix::rcond (void) const): New method for | |
125 reciprocal condition number calculation. | |
126 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
127 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
128 to avoid shadowed variable warning | |
129 (double ComplexMatrix::rcond (void) const): New method for | |
130 reciprocal condition number calculation. | |
131 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
132 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
133 to avoid shadowed variable warning | |
134 (double Matrix::rcond (void) const): New method for | |
135 reciprocal condition number calculation. | |
136 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
137 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
138 to avoid shadowed variable warning | |
139 (double Matrix::rcond (void) const): New method for | |
140 reciprocal condition number calculation. | |
141 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
142 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
143 * regex-match.cc, regex-match.h: New class for simple regular |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
144 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
145 * Makefile.in (INCLUDES): Add regex-match.h here, and |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
146 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
147 |
7776 | 148 2008-05-19 David Bateman <dbateman@free.fr> |
149 | |
150 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
151 incorrectly used. | |
152 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
153 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
154 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
155 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
156 If len is zero size the index vector in the same manner as if len |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
157 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
158 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
159 2008-05-05 John W. Eaton <jwe@octave.org> |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
160 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
161 * cmd-edit.cc (command_editor::re_read_init_file, |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
162 gnu_readline::do_re_read_init_file): New functions. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
163 * cmd-edit.h (command_editor::re_read_init_file): Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
164 (command_editor::do_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
165 * oct-rl-edit.c (octave_rl_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
166 * oct-rl-edit.h: Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
167 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
168 2008-05-05 Rafael Laboissiere <rafael@debian.org> |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
169 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
170 * oct-rl-edit.c (octave_read_init_file): Simply call rl_read_init_file. |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
171 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
172 2008-05-01 John W. Eaton <jwe@octave.org> |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
173 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
174 * oct-shlib.h (octave_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
175 Return size_t instead of int value. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
176 * oct-shlib.cc (octave_base_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
177 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
178 (octave_base_shlib::fcn_names): Now a std::map object. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
179 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
180 (octave_base_shlib::fcn_names_iterator, |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
181 octave_base_shlib::fcn_names_const_iterator): New typedefs. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
182 (octave_base_shlib::add_to_fcn_names, octave_base_shlib::remove): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
183 Perform reference counting for functions accessed. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
184 |
7740 | 185 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
186 | |
187 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
188 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
189 New functions. | |
190 * lo-mappers.h: Provide decls. | |
191 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
192 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
193 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
194 * oct-lookup.h (seq_lookup): Do not use output value of fill_n (MSVC |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
195 does not support it). |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
196 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
197 2008-04-24 Michael Goffioul <michael.goffioul@gmail.com> |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
198 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
199 * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
200 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
201 2008-04-21 John W. Eaton <jwe@octave.org> |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
202 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
203 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
204 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
205 |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
206 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
207 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
208 * CmplxCHOL.cc, CmplxQR.cc, dbleCHOL.cc, dbleQR.cc: Fix calls to error() |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
209 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
210 2008-04-16 David Bateman <dbateman@free.fr> |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
211 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
212 * Sparse.h (Sparse<T>& operator = (Sparse<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
213 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
214 * Sparse.cc (Sparse<T>& Sparse<T>::operator = (Sparse<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
215 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
216 * Array.h (Array<T>& operator = (Array<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
217 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
218 * Array.cc (Array<T>& Array<T>::operator = (Array<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
219 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
220 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
221 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
222 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
223 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
224 value is equal to bitmax implementation taken from gnulib). |
7705
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
225 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
226 * file-stat.cc (file_stat::update_internal): Do not strip trailing |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
227 file separator when path length is equal to 1 (handle case '\') under |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
228 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
229 |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
230 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
231 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
232 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
233 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
234 * dbleCHOL.h, dbleCHOL.cc (CHOL::insert_sym, CHOL::delete_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
235 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
236 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
237 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
238 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
239 2008-04-03 John W. Eaton <jwe@octave.org> |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
240 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
241 * lo-sysdep.cc [__WIN32__ && ! __CYGWIN__]: Include windows.h. |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
242 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
243 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
244 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
245 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
246 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
247 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
248 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
249 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
250 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
251 2008-03-25 David Bateman <dbateman@feee.fr> |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
252 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
253 * Array.cc (assignN): refactor calculation of new dimensions when |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
254 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
255 * Array-util.cc (bool is_vector (const dim_vector&)): New |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
256 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
257 * Array-util.h (bool is_vector (const dim_vector&)): declare it. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
258 |
7637
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
259 2008-03-25 David Bateman <dbateman@free.fr> |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
260 |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
261 * sparse-base-chol.h (sparse_base_chol_rep::~sparse_base_chol_rep |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
262 (void)): Only free the factorization if it was created |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
263 * spase-base-chol.cc (sparse_base_chol_rep::init): Don't attempt |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
264 to factorize a matrix that has been flagged as not being positive |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
265 definite. |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
266 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
267 2008-03-25 John W. Eaton <jwe@octave.org> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
268 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
269 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
270 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
271 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
272 2008-03-25 Jaroslav Hajek <highegg@gmail.com> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
273 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
274 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
275 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
276 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
277 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
278 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
279 |
7625
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
280 2008-03-23 David Bateman <dbateman@free.fr> |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
281 |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
282 * mx-ops: Definite binary operators for mixed integer array + |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
283 array case, except for 64bit cases. |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
284 |
7619 | 285 2008-03-21 David Bateman <dbateman@free.fr> |
286 | |
287 * oct-sparse.h: Add headers for amd.h. | |
288 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
289 2008-03-20 David Bateman <dbateman@free.fr> |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
290 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
291 * Array.cc (Array<T> Array<T>::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
292 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
293 * Array.h (Array<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
294 * Array2.h (Array2<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
295 * MArray2.h (MArray2<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
296 * ArrayN.h (ArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
297 * MArrayN.h (MArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
298 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
299 * Sparse.cc (Sparse<T> Sparse<T>::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
300 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
301 * Sparse.h (Sparse<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
302 * MSparse.h (MSparse<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
303 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
304 * Range.cc (Matrix Range::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
305 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
306 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
307 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
308 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
309 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
310 * dDiagMatrix.cc (ColumnVector DiagMatrix::diag (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
311 * dDiagMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
312 * CMatrix.cc (ComplexColumnVector ComplexMatrix::diag (void) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
313 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
314 * CMatrix.h (ComplexColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
315 * dMatrix.cc (ColumnVector Matrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
316 * dMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
317 * boolMatrix.cc (boolMatrix boolMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
318 * boolMatrix.h (boolMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
319 * chMatrix.cc (charMatrix charMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
320 * chMatrix.h (charMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
321 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
322 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
323 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
324 * CMatrix.cc (ComplexMatrix ComplexMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
325 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
326 * CMatrix.h (ComplexMatrix diag (octave_idx_type)const ): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
327 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
328 * dMatrix.cc (Matrix Matrix::diag (octave_idx_type) const): Rewrite in |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
329 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
330 * dMatrix.h (Matrix diag (octave_idx_type) const): Change return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
331 * boolMatrix.cc (boolMatrix boolMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
332 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
333 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
334 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
335 * chMatrix.cc (charMatrix charMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
336 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
337 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
338 * dSparse.cc (SparseMatrix SparseMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
339 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
340 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
341 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
342 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
343 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
344 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
345 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
346 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
347 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
348 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
349 * CNDArray.h (ComplexNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
350 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
351 * dNDArray.cc (NDArray NDArray::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
352 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
353 * dNDArray.h (NDArray diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
354 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
355 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
356 * chNDArray.h (charNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
357 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
358 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
359 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
360 2008-03-19 John W. Eaton <jwe@octave.org> |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
361 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
362 * oct-env.cc (octave_env::do_base_pathname): Also handle rooted |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
363 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
364 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
365 2008-03-19 David Bateman <dbateman@free.fr> |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
366 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
367 * Array.cc (assignN): If orig_empty allow assignment like |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
368 a(1:10,1)=1:10 |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
369 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
370 * Sparse.h (template <class U, class F> Sparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
371 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
372 * MSparse.h (template <class U, class F> MSparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
373 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
374 * dSparse.cc (SparseMatrix SparseMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
375 SparseComplexMatrix SparseMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
376 SparseBoolMatrix SparseMatrix::map (bmapper) const): Rewrite in |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
377 terms of the new template functor. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
378 * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
379 SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
380 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
381 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
382 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
383 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
384 * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
385 * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
386 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
387 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
388 * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
389 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
390 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
391 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
392 * Array.cc (Array<T>::index): Don't short_freeze on index with |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
393 fewer dimensions than the array only if the last dimension is empty. |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
394 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
395 2008-03-18 John W. Eaton <jwe@octave.org> |
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
396 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
397 * oct-inttypes.h (octave_int_fit_to_range): |
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
398 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
399 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
400 2008-03-08 John W. Eaton <jwe@octave.org> |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
401 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
402 * Sparse.cc (Sparse<T>::index, assign): Likewise. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
403 * Array.cc (Array<T>::index1, Array<T>::index2, Array<T>::indexN, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
404 assign2): Eliminate use of idx_vector::is_one_zero method. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
405 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
406 (idx_vector::maybe_convert_one_zero_to_idx, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
407 IDX_VEC_REP::maybe_convert_one_zero_to_idx): Delete unused function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
408 (IDX_VEC_REP::one_zero): Delete data member. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
409 (IDX_VEC_REP::is_colon_equiv): Delete one_zero check. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
410 (idx_vector::is_one_zero, IDX_VEC_REP::is_one_zero): Delete function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
411 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
412 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
413 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
414 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (bool), |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
415 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
416 Simply perform the equivalent of "find" on the bool argument here, |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
417 set one_zero to 0 and orig_dims to size of resulting index vector. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
418 (IDX_VEC_REP::freeze): Don't call maybe_convert_one_zero_to_idx here. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
419 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
420 2008-03-05 Jaroslav Hajek <highegg@gmail.com> |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
421 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
422 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
423 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
424 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
425 ComplexQR::delete_col, ComplexQR::delete_row): Likewise. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
426 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
427 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
428 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
429 * CmplxQR.cc (ComplexQR::ComplexQR): Adjust code to match dbleQR.cc. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
430 * dbleQR.cc (QR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
431 * CmplxQR.cc (ComplexQR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
432 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
433 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
434 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
435 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
436 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
437 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
438 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
439 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
440 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
441 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
442 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
443 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
444 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
445 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
446 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
447 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
448 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
449 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
450 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
451 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
452 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
453 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
454 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
455 * Array-C.cc, Sparse-C.cc: Include oct-sort.cc after definitions |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
456 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
457 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
458 2008-03-03 David Bateman <dbateman@free.fr> |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
459 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
460 * Sparse.cc (assign1, assign1): Take care of repeated index |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
461 values. Adapt the test code to check for these cases. |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
462 |
7545 | 463 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
464 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
465 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
466 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
467 calculation of nlvl. |
7545 | 468 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
469 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
470 2008-02-27 John W. Eaton <jwe@octave.org> |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
471 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
472 * oct-rand.cc (class octave_rand): Make it a proper singleton class. |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
473 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
474 2008-02-26 John W. Eaton <jwe@octave.org> |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
475 |
7536 | 476 * oct-rand.cc (get_dist_id): Fix typo. |
477 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
478 fill_rand): Improve error messages. | |
479 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
480 * oct-rand.cc (unknown_dist): New dist type. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
481 (uniform_dist, normal_dist, expon_dist, poisson_dist, gamma_dist): |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
482 Use static const int instead of #define. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
483 (get_dist_id): Default retval is unknown_dist. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
484 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
485 * oct-rand.cc (rand_states): New static variable. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
486 (initialize_rand_states, get_dist_id, get_internal_state, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
487 set_internal_state, switch_to_generator, save_state): New functions. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
488 (octave_rand::state): New arg to specify distribution. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
489 Save state in rand_states instead of setting internal state. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
490 Return named state. Use set_internal_state to generate proper |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
491 state vector from user supplied state. Save and restore current |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
492 state if specified and current distributions are different. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
493 (octave_rand::distribution (void)): Use switch rather than if/else. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
494 (octave_rand::distribution (const std::string&)): Likewise. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
495 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
496 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
497 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
498 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
499 octave_rand::gamma_distribution): Call switch_to_generator. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
500 (octave_rand::state, maybe_initialize): For new_generators, just |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
501 call initialize_rand_states if not already initialized. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
502 (octave_rand::scalar, fill_rand): Save state after generating value. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
503 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
504 * dMatrix.cc (Matrix::lssolve): Avoid another dgelsd lwork query bug. |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
505 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
506 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
507 2008-02-24 John W. Eaton <jwe@octave.org> |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
508 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
509 * oct-inttypes.h (octave_int_helper): New class. Provide |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
510 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
511 (octave_int<T>::operator >>=, octave_int<T>::abs, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
512 octave_int<T>::signum): Use static functions from |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
513 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
514 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
515 * oct-inttypes.h, oct-inttypes.cc (OCTAVE_US_TYPE1_CMP_OP, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
516 OCTAVE_US_TYPE2_CMP_OP): Tag function declarations and definitions |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
517 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
518 |
7520 | 519 2008-02-22 John W. Eaton <jwe@octave.org> |
520 | |
521 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
522 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
523 sparse-dmsolve.cc: Use 0 instead of NULL. | |
524 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
525 2008-02-22 David Bateman <dbateman@free.fr> |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
526 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
527 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
528 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
529 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
530 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
531 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
532 * base-lu.h (lu_type Y (void) const): New method to return |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
533 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
534 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
535 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
536 lu_elt_type, p_type, p_elt_type> :: Y (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
537 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
538 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
539 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
540 lu_elt_type, p_type, p_elt_type> :: Y (void) const): Declare it |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
541 (SparseMatrix R (void) const): Method to return scaling factors. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
542 * SparsedbleLU.cc: Allow two element pivot thresholding and |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
543 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
544 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
545 * SparsedbleLU.h: Modify constructors to allow passing of two |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
546 element pivoting thresholds and flag for scaling |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
547 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
548 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
549 * base-lu.cc (ColumnVector P_vec (void) const): New method to |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
550 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
551 * base-lu.h (ColumnVector P_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
552 * sparse-base-lu.cc (ColumnVector Pr_vec (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
553 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
554 (ColumnVector Pc_vec (void) const): New method return column |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
555 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
556 * sparse-base-lu.h (ColumnVector Pr_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
557 (ColumnVector Pc_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
558 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
559 * oct-spparms.cc: Add sym_tol field. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
560 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
561 2008-02-20 David Bateman <dbateman@free.fr> |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
562 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
563 * SparseComplexQR.cc (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
564 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
565 (void) const): New method. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
566 * SparseComplexQR.h (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
567 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
568 (void) const): Declare it. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
569 * SparseQR.cc (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
570 * SparseQR.h (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
571 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
572 2008-02-20 John W. Eaton <jwe@octave.org> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
573 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
574 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
575 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
576 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
577 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
578 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
579 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
580 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
581 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
582 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
583 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
584 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
585 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
586 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
587 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
588 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
589 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
590 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
591 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
592 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
593 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
594 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
595 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
596 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
597 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
598 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
599 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
600 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
601 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
602 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
603 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
604 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
605 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
606 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
607 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
608 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
609 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
610 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
611 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
612 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
613 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
614 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
615 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
616 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
617 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
618 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
619 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
620 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
621 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
622 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
623 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
624 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
625 * oct-inttypes.h (abs, signum): Mapper functions on scalar integer |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
626 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
627 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
628 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
629 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
630 * dMatrix.cc (Matrix::lssolve): Check n > mnthr, not n > m when |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
631 deciding whether to calculate workspace size, with mnthr from ILAENV. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
632 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
633 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
634 2008-02-14 John W. Eaton <jwe@octave.org> |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
635 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
636 * CColVector.cc, CMatrix.cc, CRowVector.cc, CSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
637 CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
638 CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, DASPK.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
639 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
640 dColVector.cc, dMatrix.cc, dRowVector.cc, dSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
641 dbleAEPBAL.cc, dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
642 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
643 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
644 |
7477 | 645 2008-02-12 John W. Eaton <jwe@octave.org> |
646 | |
647 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
648 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
649 | |
7476 | 650 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
651 | |
7480 | 652 * Array.cc (ascending_compare, descending_compare): Remove |
653 non-standard extern in the instantiations. | |
654 | |
655 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
656 | |
7476 | 657 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
658 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
659 workaround for DGELSD's broken lwork query. The formula is from | |
660 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
661 efficient algorithm in the short-and-fat case (n > m). | |
662 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
663 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
664 ugly workaround for DGELSD's broken lwork query, as with double. | |
665 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
666 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
667 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
668 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
669 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
670 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
671 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
672 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
673 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
674 * Sparse-C.cc, Sparse-b.cc, Sparse-d.cc: Don't use it. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
675 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
676 * Range.cc (Range::sort_internal): Avoid shadow warning from gcc. |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
677 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
678 2008-02-11 John W. Eaton <jwe@octave.org> |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
679 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
680 * Makefile.in ($(MAKEDEPS)): Skip dependencies if omit_deps is defined. |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
681 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
682 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
683 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
684 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
685 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
686 |
7457 | 687 2008-02-07 John W. Eaton <jwe@octave.org> |
688 | |
7458 | 689 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
690 ASCENDING, with default value of true. | |
691 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
692 (Range::sort (octave_idx_type, sortmode) const): New function. | |
693 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
694 const): New function. | |
695 * Range.h: Fix/provide decls. | |
696 | |
7457 | 697 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
698 | |
7449 | 699 2008-02-06 John W. Eaton <jwe@octave.org> |
700 | |
701 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
702 (stamp-prereq): Eliminate. | |
703 (clean): Don't remove stamp-prereq. | |
704 (libraries): Don't depend on stamp-prereq. | |
705 (PREREQ): New macro. | |
706 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
707 (distclean): Simplify with $(PREREQ). | |
708 (OPT_BASE): New macro. | |
709 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
710 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
711 | |
7448 | 712 2008-02-05 John W. Eaton <jwe@octave.org> |
713 | |
714 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
715 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
716 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
717 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 718 |
719 * Array.cc (ascending_compare, descending_compare, | |
720 Array<T>::sort): Declare explicit specialization for T=double to | |
721 avoid symbol duplication error at link time. | |
722 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
723 define as nonmember functions, not member functions of Array<T>. | |
724 | |
7442 | 725 2008-02-03 John W. Eaton <jwe@octave.org> |
726 | |
727 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
728 | |
729 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
730 | |
731 * Array.cc: Don't include Range.h. | |
732 | |
7433 | 733 2008-01-31 David Bateman <dbateman@free.fr> |
734 | |
735 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
736 for 64-bit builds. | |
737 (IFLT): Allow IFLT macro to be overridden. | |
738 * oct-sort.h: conversion of int to octave_idx_type where needed | |
739 for 64-bit builds. | |
740 (enum sortmode): Type of sort to perform. | |
741 (vec_index): Simple class to aid in indexed sorts. | |
742 | |
743 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
744 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
745 sortmode) const): Array sorting methods. | |
746 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
747 instantiate the array sorting methods. | |
748 * Array.cc (ascending_compare, descending_compare): New template | |
749 functions for generic sort comparison. | |
750 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
751 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
752 sortmode) const): Array sorting functions based of octave_sort | |
753 class. | |
754 * Array-C.cc: Instantiate the complex array sort methods. | |
755 (IFLT): New macro to override the one in the | |
756 octave_sort class to avoid need for Complex < and > operators. | |
757 (static double xabs (const Complex&)): Complex abs function | |
758 avoiding std::abs(Inf) returning NaN with some compilers. | |
759 (ascending_compare, descending compare): override template | |
760 functions for complex comparison. | |
761 * Array-d.cc: Instantiate the double array sort methods. | |
762 (Array<double> Array<double>::sort (octave_idx_type, | |
763 sortmode) const, Array<double> Array<double>::sort | |
764 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
765 Array sorting functions based of octave_sort using uint64 sorting | |
766 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
767 (ascending_compare, descending compare): override template | |
768 functions for double and uint64 comparison. | |
769 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
770 Instantiate the array sort methods. | |
771 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
772 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
773 versions of the sort methods based on Array<T>::sort. | |
774 | |
775 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
776 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
777 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
778 sortmode) const): Sparse sorting methods. | |
779 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
780 methods. | |
781 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
782 of new sort method. | |
783 (sparse_ascending_compare, sparse_descending_compare): New template | |
784 functions for generic sort comparison. | |
785 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
786 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
787 sortmode) const): Sparse sorting functions based of octave_sort | |
788 class. | |
789 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
790 (IFLT): New macro to override the one in the | |
791 octave_sort class to avoid need for Complex < and > operators. | |
792 (static double xabs (const Complex&)): Complex abs function | |
793 avoiding std::abs(Inf) returning NaN with some compilers. | |
794 (sparse_ascending_compare, sparse_descending compare): override | |
795 template functions for complex comparison. | |
796 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
797 (sparse_ascending_compare, sparse_descending compare): override | |
798 template functions for double comparison. | |
799 * Array-b.cc: Instantiate the sparse sort methods. | |
800 | |
7422 | 801 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
802 | |
803 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
804 idx_vector::idx_vector_rep::range_step, | |
805 idx_vector::idx_vector_rep::range_step): New data members. | |
806 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
807 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
808 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
809 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
810 | |
7416 | 811 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
812 | |
813 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
814 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
815 | |
7408 | 816 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 817 |
818 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
819 this fixes the "localtime(-1)" crash under Windows. | |
820 | |
7400 | 821 2008-01-18 John W. Eaton <jwe@octave.org> |
822 | |
823 * dMatrix.cc (solve_singularity_warning): New function. | |
824 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
825 Matrix::solve method. Exit early if Matrix::solve fails. | |
826 Limit sqpow value to avoid overflowing scale factor. | |
827 * CMatrix.cc (solve_singularity_warning): New function. | |
828 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
829 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
830 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 831 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 832 |
7356 | 833 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
834 | |
835 * Sparse.cc: New tests for slicing of sparse matrices. | |
836 | |
7350 | 837 2008-01-07 David Bateman <dbateman@free.fr> |
838 | |
839 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
840 loop if this test succeeds. | |
841 | |
7342 | 842 2008-01-03 David Bateman <dbateman@free.fr> |
843 | |
844 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
845 need unary operator on remaining argument | |
846 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
847 | |
7334 | 848 2007-12-21 John W. Eaton <jwe@octave.org> |
849 | |
850 Version 3.0.0 released. | |
851 | |
7322 | 852 2007-12-18 David Bateman <dbateman@free.fr> |
853 | |
854 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
855 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
856 stored as a sparse matrix. | |
857 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
858 idx_vector&, int) const): For the non permutated indexing case, | |
859 fix link list calculation and use. | |
860 | |
7321 | 861 2007-12-17 John W. Eaton <jwe@octave.org> |
862 | |
863 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
864 N-d array. | |
865 | |
7318 | 866 2007-12-17 David Bateman <dbateman@free.fr> |
867 | |
868 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
869 index. | |
870 | |
7299 | 871 2007-12-11 John W. Eaton <jwe@octave.org> |
872 | |
873 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
874 If indexing scalar with empty matrix, return empty array with same | |
875 size as index. | |
876 | |
7272 | 877 2007-12-10 John W. Eaton <jwe@octave.org> |
878 | |
7279 | 879 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
880 and assignment operator. | |
881 (NLEqn::function_value): New function. | |
882 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
883 function value. | |
884 | |
7272 | 885 * file-ops.cc (file_ops::concat): New function. |
886 * file-ops.h: Provide decl. | |
887 | |
7270 | 888 2007-12-07 John W. Eaton <jwe@octave.org> |
889 | |
890 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
891 is not 0. | |
892 | |
7269 | 893 2007-12-07 David Bateman <dbateman@free.fr> |
894 | |
895 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
896 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
897 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
898 indexing where possible rather than the elem method. | |
899 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
900 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
901 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
902 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
903 = 0 directly. | |
904 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
905 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
906 SPARSE_BASE_REDUCTION_OP. | |
907 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
908 Specialize the initial value, and only treat dim = 0 directly. | |
909 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
910 ditto. | |
911 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
912 | |
7265 | 913 2007-12-06 John W. Eaton <jwe@octave.org> |
914 | |
915 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
916 data for npp and dpp after assignments. | |
917 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
918 | |
7253 | 919 2007-12-04 John W. Eaton <jwe@octave.org> |
920 | |
921 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
922 Do nothing if one index is empty. | |
923 | |
7246 | 924 2007-12-04 David Bateman <dbateman@free.fr> |
925 | |
926 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
927 Resize matrix as well if one dimension of lhs is zero and the rhs | |
928 index exceeds the lhs index. | |
929 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
930 Don't resize to a smaller matrix for empty matrices with a max rhs | |
931 index smaller than the non zero lhs index. | |
932 | |
933 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
934 | |
935 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
936 | |
7241 | 937 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
938 | |
939 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
940 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
941 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
942 | |
7238 | 943 2007-12-03 David Bateman <dbateman@free.fr> |
944 | |
945 * Sparse.cc (template <class LT, class RT> int assign | |
946 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
947 rhs values if both no. rows and columns are zero. | |
948 | |
7231 | 949 2007-11-30 John W. Eaton <jwe@octave.org> |
950 | |
7234 | 951 * oct-sort.cc, oct-sort.h: Style fixes. |
952 | |
7231 | 953 * lo-math.h: New file. |
954 * Makefile.in (INCLUDES): Add it to the list. | |
955 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
956 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
957 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
958 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
959 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
960 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
961 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
962 liboctave/oct-time.h, liboctave/randgamma.c, | |
963 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
964 instead of cmath or math.h. | |
965 * lo-mappers.h: Don't include sunmath.h here. | |
966 | |
7198 | 967 2007-11-26 John W. Eaton <jwe@octave.org> |
968 | |
969 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
970 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
971 | |
972 * oct-inttypes.h (operator bool, operator char): Delete. | |
973 (bool_value, char_value, double_value, float_value): New functions. | |
974 | |
7189 | 975 2007-11-26 David Bateman <dbateman@free.fr> |
976 | |
977 * intNDArray.cc (template <class T> intNDArray<T> | |
978 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
979 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
980 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
981 template <class T> intNDArray<T> intNDArray<T>::min | |
982 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
983 classes. | |
984 * intNDArray.h (class intNDArray): Add min/max methods | |
985 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
986 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
987 min/max functions. | |
988 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
989 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
990 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
991 types. | |
992 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
993 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
994 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
995 types. | |
996 | |
997 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
998 const T& rfv) const): If ndims != 2 call ND version of index. | |
999 | |
7176 | 1000 2007-11-14 John W. Eaton <jwe@octave.org> |
1001 | |
7178 | 1002 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
1003 | |
7176 | 1004 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
1005 correction to half-integer values. From Eric Chassande-Mottin | |
1006 <echassandemottin@gmail.com>. | |
1007 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1008 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 1009 |
1010 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
1011 ambiguities related to math functions (in C++ mode). | |
1012 | |
7102 | 1013 2007-11-06 David Bateman <dbateman@free.fr> |
1014 | |
7113 | 1015 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
1016 New method. | |
1017 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
1018 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
1019 New method. | |
1020 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 1021 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
1022 norm to avoid issues of over- and underflow. From Rolf Fabian | |
1023 <Rolf.Fabian@gmx.de>. | |
1024 | |
7081 | 1025 2007-10-30 David Bateman <dbateman@free.fr> |
1026 | |
1027 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
1028 | |
7079 | 1029 2007-10-30 John W. Eaton <jwe@octave.org> |
1030 | |
1031 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
1032 * dMatrix.cc (lssolve): Compute size of iwork array. | |
1033 | |
7076 | 1034 2007-10-29 David Bateman <dbateman@free.fr> |
1035 | |
1036 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1037 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1038 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1039 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1040 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1041 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1042 declarations. | |
1043 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1044 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1045 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1046 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1047 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1048 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1049 methods. | |
1050 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1051 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1052 octave_idx_type&, double&) const): Also return rcond from the | |
1053 singular values returned by XGELSD. | |
1054 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
1055 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1056 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1057 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1058 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1059 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1060 declarations. | |
1061 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
1062 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
1063 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
1064 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
1065 double& rcond) const, lssolve (const ComplexColumnVector&, | |
1066 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
1067 methods. | |
1068 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
1069 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
1070 octave_idx_type&, double&) const): Also return rcond from the | |
1071 singular values returned by XGELSD. | |
1072 | |
7072 | 1073 2007-10-26 David Bateman <dbateman@free.fr> |
1074 | |
1075 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
1076 matrices to avoid reliability issues with xGELSY. | |
1077 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 1078 |
7065 | 1079 2007-10-25 John W. Eaton <jwe@octave.org> |
1080 | |
1081 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
1082 Call unix_time on arg instead of relying on conversion operator. | |
1083 | |
1084 * oct-time.h (octave_time::double_value): New function. | |
1085 (octave_time::operator double () const): Delete. | |
1086 (octave_time::operator time_t () const): Delete. | |
1087 | |
7058 | 1088 2007-10-24 John W. Eaton <jwe@octave.org> |
1089 | |
1090 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
1091 | |
7052 | 1092 2007-10-23 John W. Eaton <jwe@octave.org> |
1093 | |
1094 * CRowVector.cc (operator * const ComplexRowVector&, const | |
1095 ComplexColumnVector&)): Delete spurious code left from patch. | |
1096 | |
7048 | 1097 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
1098 | |
1099 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
1100 sparse-sort.cc: Include <cstring>. | |
1101 | |
7036 | 1102 2007-10-17 John W. Eaton <jwe@octave.org> |
1103 | |
1104 * oct-sparse.h: Don't include metis.h. | |
1105 | |
1106 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
1107 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1108 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
1109 p_type>::sparse_base_chol_rep::init): Likewise. | |
1110 | |
7033 | 1111 2007-10-16 John W. Eaton <jwe@octave.org> |
1112 | |
1113 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
1114 matrix is hermitian or calc_cond is true. | |
1115 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
1116 | |
7016 | 1117 2007-10-12 John W. Eaton <jwe@octave.org> |
1118 | |
1119 * Change copyright notices in all files that are part of Octave to | |
1120 GPLv3 or any later version. | |
1121 | |
7007 | 1122 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
1123 | |
1124 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
1125 | |
7001 | 1126 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
1127 | |
1128 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
1129 | |
7000 | 1130 2007-10-10 John W. Eaton <jwe@octave.org> |
1131 | |
1132 * LPsolve.h, LPsolve.cc: Delete. | |
1133 * Makefile.in: Remove them from the INCLUDES and | |
1134 LIBOCTAVE_CXX_SOURCES lists. | |
1135 | |
6989 | 1136 2007-10-09 John W. Eaton <jwe@octave.org> |
1137 | |
6996 | 1138 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
1139 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
1140 values to zero after call if they remain unchanged. | |
1141 | |
6989 | 1142 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
1143 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
1144 | |
6988 | 1145 2007-10-09 David Bateman <dbateman@free.fr> |
1146 | |
6995 | 1147 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
1148 valud and mon and year are also filled in. | |
1149 | |
6990 | 1150 * Array2.h (Array2<T>::Array2(const dim_vector&), |
1151 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
1152 dim_vector is 2 dimensional. | |
1153 | |
6988 | 1154 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
1155 int)): Remove a for loop in the random indexing case at the | |
1156 expense of maintaining a set of linked lists of indices that point | |
1157 to the same column in the original matrix. | |
1158 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
1159 and use it on the RHS of expressions to avoid unnecessary calls to | |
1160 make_unique. | |
1161 | |
6979 | 1162 2007-10-08 David Bateman <dbateman@free.fr> |
1163 | |
1164 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
1165 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
1166 for readline compatible functions. | |
1167 (octave_rl_redisplay): Redisplay the current line of text. | |
1168 (octave_rl_newline): Change interface to the same | |
1169 as used by the equivalent readline function itself. | |
1170 (octave_rl_filename_quoting_desired, | |
1171 octave_rl_set_filename_quote_characters, | |
1172 octave_rl_set_completer_quote_characters, | |
1173 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1174 octave_rl_set_char_is_quoted_function): New functions to control | |
1175 readline filename quoting and line acceptace. | |
1176 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
1177 as used by the equivalent readline function itself. | |
1178 (octave_rl_redisplay): Redisplay the current line of text. | |
1179 (octave_rl_filename_quoting_desired, | |
1180 octave_rl_set_filename_quote_characters, | |
1181 octave_rl_set_completer_quote_characters, | |
1182 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
1183 octave_rl_set_char_is_quoted_function): New functions to control | |
1184 readline filename quoting and line acceptace. | |
1185 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
1186 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
1187 to map C++ function to readline compatible functions. | |
1188 (set_filename_quote_characters): New function to set the | |
1189 characters to if they appear in a filename that force the filename | |
1190 to be quoted. | |
1191 (set_completer_quote_characters): The characters that the readline | |
1192 completion function considers as quotation characters. | |
1193 (set_quoting_function, set_dequoting_function, | |
1194 set_char_is_quoted_function, set_user_accept_line_function): | |
1195 Functions to set the Octave functions to perform quoting and the | |
1196 acceptance of a line of text by readline. | |
1197 (get_quoting_function, get_dequoting_function, | |
1198 get_char_is_quoted_function, get_user_accept_line_function): | |
1199 Functions to get the above functions. | |
1200 (accept_line): New method for the command_editor to accept a line | |
1201 of text. | |
1202 (file_quoting_desired): Function to set whether readline should | |
1203 attempt to quote filenames. | |
1204 (do_set_filename_quoting_characters, | |
1205 do_set_completer_quote_characters, do_set_quoting_function, | |
1206 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1207 do_set_user_accept_line_function, do_get_quoting_function, | |
1208 do_get_dequoting_function, do_get_char_is_quoted_function, | |
1209 do_get_user_accept_line_function, do_filename_quoting_desired): | |
1210 Virtual functions to control the behavior of readline quoting and | |
1211 acceptance of lines. | |
1212 (do_accept_line): Virtual function for the accept line function. | |
1213 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
1214 do_completer_quote_characters, do_set_quoting_function, | |
1215 do_set_dequoting_function, do_set_char_is_quoted_function, | |
1216 do_set_user_accept_line_function, do_get_quoting_function, | |
1217 do_get_dequoting_function, do_get_user_accept_line_function, | |
1218 do_accept_line, do_filename_quoting_desired, command_quoter, | |
1219 command_dequoter, command_char_is_quoted, command_accept_line): | |
1220 New functions in gnu_readline class to control filename quoting | |
1221 and line acceptance. | |
1222 (quoting_function, dequoting_function, char_is_quoted_function, | |
1223 user_accept_line_function): private variable to store functions | |
1224 supplied for readline quoting and line acceptance. | |
1225 (gnu_readline::gnu_readline): Also set the new function pointers | |
1226 to zero. | |
1227 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
1228 interface. | |
1229 (gnu_readeline::operate_and_get_next): Use new accept_line | |
1230 function rather than newline. | |
1231 (default_ommand_editor::do_accept_line): New method. | |
1232 (class command_editor set_filename_quote_characters, | |
1233 set_completer_quote_characters, set_quoting_function, | |
1234 set_dequoting_function, set_char_is_quoted_function, | |
1235 set_user_accept_line_function, get_quoting_function, | |
1236 get_dequoting_function, get_user_accept_line_function, | |
1237 accept_line, filename_quoting_desired): New functions checking | |
1238 instance before calling virtual function. | |
1239 | |
1240 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
1241 Array2.h: Add dim_vector constructors. | |
1242 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
1243 const to dim_vector constructors. | |
1244 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
1245 (octave_idx_type)): New methods to constructor diagonal matrices. | |
1246 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
1247 (octave_idx_type)): Declare them. | |
1248 | |
1249 | |
6969 | 1250 2007-10-06 John W. Eaton <jwe@octave.org> |
1251 | |
1252 * lo-specfun.cc: (zlgamma): Delete. | |
1253 (xgamma): Use C library gamma function if available. | |
1254 (xlgamma): Use C library lgamma function if available. | |
1255 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
1256 other than NaN or Inf. | |
1257 | |
6961 | 1258 2007-10-05 John W. Eaton <jwe@octave.org> |
1259 | |
1260 * lo-specfun.cc (zlgamma): New function. | |
1261 | |
6959 | 1262 2007-10-04 John W. Eaton <jwe@octave.org> |
1263 | |
1264 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
1265 qualifiers on local variables. | |
1266 | |
6958 | 1267 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
1268 | |
1269 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
1270 than log(realmax) to avoid issues with NaN. | |
1271 | |
6940 | 1272 2007-10-01 John W. Eaton <jwe@octave.org> |
1273 | |
6941 | 1274 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
1275 initialize wday and yday. | |
1276 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
1277 | |
6940 | 1278 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
1279 insert extra '\001' when decoding \[ and \]. | |
1280 | |
6926 | 1281 2007-09-26 David Bateman <dbateman@free.fr> |
1282 | |
1283 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
1284 is much faster and no less accurate. | |
1285 * CMatrix.cc (lssolve): ditto. | |
1286 | |
6924 | 1287 2007-09-25 David Bateman <dbateman@free.fr> |
1288 | |
1289 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
1290 zero dimensioned matrices. | |
1291 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
1292 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1293 ditto. | |
1294 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
1295 ditto. | |
1296 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
1297 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
1298 qrsolve): ditto. | |
1299 * sparse-dmsolve.cc (dmsolve): ditto. | |
1300 | |
6922 | 1301 2007-09-21 John W. Eaton <jwe@octave.org> |
1302 | |
1303 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
1304 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
1305 | |
6916 | 1306 2007-09-19 John W. Eaton <jwe@octave.org> |
1307 | |
1308 * cmd-edit.cc (command_editor::remove_startup_hook): | |
1309 Fix cut-and-paste error. | |
6917 | 1310 (gnu_readline::set_startup_hook): Only set hook function if new |
1311 function is different from the current one. | |
6916 | 1312 |
6913 | 1313 2007-09-18 John W. Eaton <jwe@octave.org> |
1314 | |
1315 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
1316 command_editor::event_hook_set): New static data. | |
1317 (default_command_editor::set_startup_hook, | |
1318 gnu_readline::set_startup_hook, | |
1319 default_command_editor::restore_startup_hook, | |
1320 gnu_readline_restore_event_hook): | |
1321 Rename from do_set_startup_hook and do_set_event_hook. | |
1322 (gnu_readline::operate_and_get_next): Call | |
1323 command_editor::add_startup_hook, not | |
1324 command_editor::set_startup_hook. | |
1325 (command_editor::startup_handler, command_editor::event_handler): | |
1326 New functions. | |
1327 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
1328 command_editor::remove_startup_hook, | |
1329 command_editor::remove_event_hook): Rename from set_startup_hook | |
1330 and restore_startup_hook. Handle hook sets here. | |
1331 * cmd-edit.cc (gnu_history::do_goto_mark): | |
1332 Call remove_startup_hook instead of restore_startup_hook. | |
1333 | |
6907 | 1334 2007-09-17 John W. Eaton <jwe@octave.org> |
1335 | |
1336 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
1337 leading whitespace. | |
1338 | |
6897 | 1339 2007-09-13 John W. Eaton <jwe@octave.org> |
1340 | |
1341 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
1342 octave_read_complex): Use istream::get instead of >> to read | |
1343 individual characters. | |
1344 | |
6884 | 1345 2007-09-10 John W. Eaton <jwe@octave.org> |
1346 | |
1347 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
1348 | |
1349 2007-09-10 David Bateman <dbateman@free.fr> | |
1350 | |
1351 * Array.h (Array<T>::make_unique): Make public so that the | |
1352 ::assign functions can access it directly. | |
1353 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
1354 Array<T>::maybe_delete_elements_1(idx_vector&), | |
1355 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
1356 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
1357 Use xelem for non const RHS to avoid call to make_unique. | |
1358 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
1359 xelem for LHS and call lhs.make_unique() only once. Special case | |
1360 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
1361 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
1362 bring the additional multiplication out of the inner loop. | |
1363 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1364 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
1365 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
1366 (const Range& r)): Don't use init_state() method but special case | |
1367 as with a Range can avoid exhaustive search. | |
1368 | |
6881 | 1369 2007-09-07 John W. Eaton <jwe@octave.org> |
1370 | |
1371 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
1372 manipulating rep directly. | |
1373 | |
1374 * Array.h (idx, idx_count): Declare mutable. | |
1375 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
1376 Now const. | |
1377 | |
6867 | 1378 2007-09-06 David Bateman <dbateman@free.fr> |
1379 | |
6868 | 1380 * Array-util.cc (increment_index): dimensions can have singleton |
1381 trailing dimensions. | |
6867 | 1382 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
1383 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
1384 where necessary. | |
1385 * Array.cc (range_error): ditto. | |
1386 * MArrayN.h (permute, ipermute): ditto. | |
1387 * ArrayN.h (permute, ipermute): ditto. | |
1388 * so-array.cc (streamoff_array::compute_index): ditto. | |
1389 * so-array.h (compute_index): ditto. | |
1390 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
1391 | |
6840 | 1392 2007-08-29 David Bateman <dbateman@free.fr> |
1393 | |
1394 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
1395 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
1396 matrices marked as singular. | |
1397 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
1398 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
1399 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
1400 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
1401 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
1402 octave_idx_type&, double&, int, int)): ditto. | |
1403 | |
6838 | 1404 2007-08-27 John W. Eaton <jwe@octave.org> |
1405 | |
1406 * oct-env.cc (octave_env::rooted_relative_pathname, | |
1407 octave_env::do_rooted_relative_pathname): New functions. | |
1408 * oct-env.h: Provide decls. | |
1409 | |
6823 | 1410 2007-08-24 David Bateman <dbateman@free.fr> |
1411 | |
1412 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
1413 const Array<octave_idx_type>&)): New method. | |
1414 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
1415 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
1416 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1417 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1418 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
1419 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
1420 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1421 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1422 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
1423 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
1424 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1425 SparseMatrix&, const Array<octave_idx_type>&), | |
1426 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1427 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1428 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
1429 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1430 SparseMatrix&, const Array<octave_idx_type>&), | |
1431 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
1432 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
1433 | |
6817 | 1434 2007-08-19 David Bateman <dbateman@free.fr> |
1435 | |
1436 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
1437 | |
6813 | 1438 2007-08-14 John W. Eaton <jwe@octave.org> |
1439 | |
1440 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
1441 Simplify. | |
6814 | 1442 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 1443 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1444 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 1445 |
1446 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
1447 Remove trailing dir separator when stat'ing directory except for | |
1448 root directory. | |
1449 | |
6796 | 1450 2007-07-25 David Bateman <dbateman@free.fr> |
1451 | |
1452 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
1453 to work. | |
1454 | |
6764 | 1455 2007-06-04 David Bateman <dbateman@free.fr> |
1456 | |
1457 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
1458 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
1459 perform a twos complement arithmetic shift for both signed and | |
1460 unsigned integers regardless of compiler implementations. | |
1461 | |
6708 | 1462 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
1463 | |
6719 | 1464 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
1465 use cs_complex_t(0,0) for the complex zero. | |
1466 | |
6708 | 1467 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
1468 Sprinkle class instantiations with OCTAVE_API as needed. | |
1469 | |
1470 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
1471 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
1472 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
1473 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
1474 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
1475 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
1476 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
1477 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
1478 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
1479 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
1480 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
1481 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
1482 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
1483 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
1484 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
1485 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
1486 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
1487 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
1488 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
1489 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
1490 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
1491 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
1492 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
1493 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
1494 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
1495 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
1496 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
1497 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1498 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
1499 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
1500 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
1501 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
1502 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
1503 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
1504 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
1505 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
1506 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
1507 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
1508 SPARSE_SMM_OP_DECLS): Ditto. | |
1509 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
1510 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
1511 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
1512 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
1513 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
1514 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
1515 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
1516 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
1517 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
1518 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
1519 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
1520 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
1521 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
1522 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
1523 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
1524 | |
6699 | 1525 2007-06-12 John W. Eaton <jwe@octave.org> |
1526 | |
1527 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
1528 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 1529 |
6693 | 1530 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
1531 | |
6709 | 1532 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
1533 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
1534 with file_ops::dir_sep_char. | |
6694 | 1535 |
6693 | 1536 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
1537 | |
6689 | 1538 2007-06-04 David Bateman <dbateman@free.fr> |
1539 | |
6699 | 1540 * file-ops.cc: Typo. |
1541 | |
6689 | 1542 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
1543 dimensions is greater than 2, collapse to 2-D. | |
1544 | |
6685 | 1545 2007-06-02 David Bateman <dbateman@free.fr> |
1546 | |
1547 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
1548 | |
6680 | 1549 2007-05-31 John W. Eaton <jwe@octave.org> |
1550 | |
1551 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
1552 the computed size is too large for the size of Octave's index type. | |
1553 | |
6662 | 1554 2007-05-23 John W. Eaton <jwe@octave.org> |
1555 | |
1556 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
1557 | |
6629 | 1558 2007-05-16 David Bateman <dbateman@free.fr> |
1559 | |
1560 * dRowVector.cc (linspace): Return second argument if fewer than | |
1561 two values are requested. | |
1562 * CRowVector.cc (linspace): Likewise. | |
1563 | |
6596 | 1564 2007-04-27 John W. Eaton <jwe@octave.org> |
1565 | |
1566 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
1567 | |
6583 | 1568 2007-04-25 John W. Eaton <jwe@octave.org> |
1569 | |
1570 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1571 | |
6553 | 1572 2007-04-20 John W. Eaton <jwe@octave.org> |
1573 | |
1574 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1575 not rhs_len == 1. | |
1576 | |
6536 | 1577 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1578 | |
1579 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1580 | |
6525 | 1581 2007-04-13 John W. Eaton <jwe@octave.org> |
1582 | |
1583 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1584 for empty matrix. Only check for colon index equivalence if not empty. | |
1585 | |
6513 | 1586 2007-04-10 John W. Eaton <jwe@octave.org> |
1587 | |
1588 * SparseCmplxQR.cc | |
1589 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1590 Move GCC_ATTR_UNUSED before the parameter decl. | |
1591 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1592 | |
6508 | 1593 2007-04-06 John W. Eaton <jwe@octave.org> |
1594 | |
1595 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1596 * MArray.h (MArray<T>::norm): New function. | |
1597 * MArray.cc: Provide decl. | |
1598 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1599 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1600 | |
6490 | 1601 2007-04-04 John W. Eaton <jwe@octave.org> |
1602 | |
1603 * Range.cc (Range::nelem_internal): Likewise. | |
1604 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1605 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1606 From Scott Pakin <pakin@lanl.gov>. | |
1607 | |
6486 | 1608 2007-04-04 David Bateman <dbateman@free.fr> |
1609 | |
1610 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1611 the condition number for positive definite matrices. | |
1612 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1613 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1614 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1615 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1616 (CHOL(const CHOL&)): Copy xrcond. | |
1617 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1618 (xrcond): New private data member. | |
1619 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1620 calc_cond. | |
1621 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1622 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1623 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1624 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1625 (xrcond): New private data member. | |
1626 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1627 true, calculate the condition number with dpocon. | |
1628 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1629 calc_cond is true, calculate the condition number with zpocon. | |
1630 | |
6481 | 1631 2007-04-03 John W. Eaton <jwe@octave.org> |
1632 | |
6482 | 1633 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1634 | |
1635 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1636 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1637 "maybe clobbered by vfork" warning. | |
1638 | |
6483 | 1639 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1640 if/else. |
1641 | |
1642 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1643 and destructor. | |
1644 | |
6481 | 1645 * Array.cc (assignN): Don't resize dimension if corresponding |
1646 index is empty. | |
1647 | |
6479 | 1648 2007-04-02 John W. Eaton <jwe@octave.org> |
1649 | |
1650 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1651 MatrixType argument. | |
1652 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1653 | |
6467 | 1654 2007-03-27 John W. Eaton <jwe@octave.org> |
1655 | |
1656 * Makefile.in (DISTDIRS): Delete variable. | |
1657 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1658 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1659 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 1660 |
1661 * MatrixType.cc: Replace all uses of the method | |
1662 octave_sparse_params::get_key ("bandden") with | |
1663 octave_sparse_params::get_bandden (void). | |
1664 (MatrixType::MatrixType (void)): Undo previous change but use | |
1665 octave_sparse_params::get_bandden (void). | |
1666 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1667 methods. | |
1668 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1669 Declare them. | |
1670 | |
6458 | 1671 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1672 David Bateman <dbateman@free.fr> | |
1673 | |
1674 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1675 Check that all elements are ints before doing anything. Simplify | |
1676 calculation of index values. | |
1677 | |
6457 | 1678 2007-03-26 David Bateman <dbateman@free.fr> |
1679 | |
1680 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1681 | |
6456 | 1682 2007-03-26 John W. Eaton <jwe@octave.org> |
1683 | |
1684 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1685 * chNDArray.h, chMatrix.h: Provide decls. | |
1686 | |
1687 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1688 | |
1689 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1690 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1691 |
6435 | 1692 2007-03-23 David Bateman <dbateman@free.fr> |
1693 | |
1694 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1695 little endian. | |
1696 | |
6414 | 1697 2007-03-15 John W. Eaton <jwe@octave.org> |
1698 | |
1699 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1700 From Alexander Barth <abarth@marine.usf.edu>. | |
1701 | |
6402 | 1702 2007-03-12 John W. Eaton <jwe@octave.org> |
1703 | |
1704 * oct-inttypes.h (octave_int::octave_int (double)): | |
1705 New Specialization. Round arg. | |
1706 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1707 Round result before converting type. | |
1708 | |
6388 | 1709 2007-03-07 John W. Eaton <jwe@octave.org> |
1710 | |
6392 | 1711 * Array.cc (assign1): Avoid resizing if there is an error. |
1712 | |
6390 | 1713 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1714 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1715 | |
6389 | 1716 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1717 Only allow resizing empty LHS if it is 0x0. | |
1718 | |
6388 | 1719 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1720 const T&)): Handle case of more indices than dimensions. | |
1721 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1722 cases to be handled by assignN. | |
1723 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1724 Special cases for 2-d array assignments for speed. | |
1725 Improve handling of scalar RHS and empty indices. | |
6384 | 1726 |
6383 | 1727 2007-03-05 David Bateman <dbateman@free.fr> |
1728 | |
1729 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1730 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1731 | |
6379 | 1732 2007-03-02 John W. Eaton <jwe@octave.org> |
1733 | |
1734 * str-vec.h (string_vector::empty): Return bool, not int. | |
1735 | |
6375 | 1736 2007-03-01 David Bateman <dbateman@free.fr> |
1737 | |
1738 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1739 an independent implementation of RFC1321. | |
1740 * oct-md5.h, oct-md5: New files for treating std::string class | |
1741 with MD5. | |
1742 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1743 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1744 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1745 | |
6366 | 1746 2007-02-27 John W. Eaton <jwe@octave.org> |
1747 | |
1748 * Makefile.in (uninstall): Delete files listed in | |
1749 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1750 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1751 | |
6536 | 1752 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1753 |
1754 * file-ops.cc (file_ops::recursive_rmdir): | |
1755 Close dir_entry object before calling rmdir. | |
1756 | |
6536 | 1757 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1758 |
1759 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1760 | |
6359 | 1761 * sparse-util.h (SparseCholPrint, SparseCholError): |
1762 Tag with OCTAVE_API. | |
1763 | |
6326 | 1764 2007-02-18 David Bateman <dbateman@free.fr> |
1765 | |
1766 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1767 calling setall and reset to the current generator after. | |
1768 | |
6323 | 1769 2007-02-16 John W. Eaton <jwe@octave.org> |
1770 | |
1771 * oct-shlib.h (octave_shlib::relative): New data member. | |
1772 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1773 New functions. | |
1774 | |
6321 | 1775 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1776 | |
1777 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1778 windows platform. | |
1779 * lo-sysdep.h (octave_popen2): Declare it. | |
1780 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1781 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1782 | |
6306 | 1783 2007-02-14 John W. Eaton <jwe@octave.org> |
1784 | |
1785 * kpse.cc (expand_elt): Omit special treatment for //. | |
1786 | |
6273 | 1787 2007-02-06 John W. Eaton <jwe@octave.org> |
1788 | |
1789 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1790 Don't delete value returned from realpath. | |
1791 | |
6271 | 1792 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1793 | |
1794 * file-ops.cc (file_ops::canonicalize_file_name): | |
1795 Provide implementation if realpath function is available. | |
1796 | |
6256 | 1797 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1798 | |
1799 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1800 | |
6244 | 1801 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1802 | |
1803 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1804 Windows systems. | |
1805 | |
6242 | 1806 2007-01-16 John W. Eaton <jwe@octave.org> |
1807 | |
1808 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1809 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1810 | |
1811 * oct-fftw.h (fftw_planner): Provide decl. | |
1812 | |
6241 | 1813 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1814 | |
1815 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1816 | |
6236 | 1817 2007-01-10 John W. Eaton <jwe@octave.org> |
1818 | |
1819 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1820 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1821 | |
6231 | 1822 2007-01-08 David Bateman <dbateman@free.fr> |
1823 | |
1824 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1825 SPARSESUITE with SUITESPARSE to match upstream name. | |
1826 | |
6228 | 1827 2007-01-05 David Bateman <dbateman@free.fr> |
1828 | |
1829 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1830 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1831 set the FFTW wisdom method used. | |
1832 (octave_fftw_planner::create_plan) Modify to allow different | |
1833 methods to be used. | |
1834 (octave_fftw_planner): Move class definition from here. | |
1835 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1836 and FftwMethod enum. | |
1837 | |
6221 | 1838 2007-01-03 David Bateman <dbateman@free.fr> |
1839 | |
1840 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1841 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1842 sparse matrices are special cased. | |
1843 | |
1844 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1845 matrix, sparse matrix operations. | |
1846 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1847 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1848 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1849 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1850 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1851 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1852 sparse matrices are special cased. | |
1853 | |
6217 | 1854 2006-12-22 David Bateman <dbateman@free.fr> |
1855 | |
1856 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1857 | |
6216 | 1858 2006-12-22 John W. Eaton <jwe@octave.org> |
1859 | |
1860 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1861 least 2 dimensions. | |
1862 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1863 | |
6208 | 1864 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1865 | |
1866 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1867 | |
1868 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1869 implementation for Windows. |
6208 | 1870 |
6207 | 1871 2006-12-06 David Bateman <dbateman@free.fr> |
1872 | |
6208 | 1873 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1874 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1875 |
1876 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1877 (tinverse): New method for triangular matrices. | |
1878 (inverse): New function with matrix type probing. | |
1879 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1880 declarations. | |
6208 | 1881 * CMatrix.cc: Ditto. |
1882 * CMatrix.h: Ditto. | |
6207 | 1883 |
6205 | 1884 2006-12-06 John W. Eaton <jwe@octave.org> |
1885 | |
1886 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1887 | |
6202 | 1888 2006-12-05 John W. Eaton <jwe@octave.org> |
1889 | |
1890 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1891 followed by 'I' or 'i', try reading number after putting | |
1892 characters back on input stream. | |
1893 | |
6198 | 1894 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1895 | |
1896 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1897 loop is n, not L. | |
1898 | |
6194 | 1899 2006-11-30 John W. Eaton <jwe@octave.org> |
1900 | |
1901 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1902 Also recognize [+-][Ii]nf. | |
1903 | |
6187 | 1904 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1905 |
1906 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1907 sub-directory. | |
1908 | |
6204 | 1909 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1910 well when calling tinverse for lower triangular matrices. | |
1911 * CSparse.cc (SparseComplexMatrix::inverse): | |
1912 Ditto. | |
6185 | 1913 |
6183 | 1914 2006-11-21 John W. Eaton <jwe@octave.org> |
1915 | |
1916 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1917 | |
6182 | 1918 2006-11-20 John W. Eaton <jwe@octave.org> |
1919 | |
1920 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1921 for ".", and names beginning with "./" or "../". | |
1922 | |
6162 | 1923 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1924 | |
1925 * CMatrix.cc, dMatrix.cc: New tests. | |
1926 | |
6153 | 1927 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1928 | |
1929 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1930 | |
6152 | 1931 2006-11-11 John W. Eaton <jwe@octave.org> |
1932 | |
1933 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1934 Use $(simple-move-if-change-rule) here. | |
1935 | |
6148 | 1936 2006-11-09 David Bateman <dbateman@free.fr> |
1937 | |
1938 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1939 octave_idx_type, not int. | |
1940 | |
6145 | 1941 2006-11-08 John W. Eaton <jwe@octave.org> |
1942 | |
1943 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1944 | |
6141 | 1945 2006-11-06 John W. Eaton <jwe@octave.org> |
1946 | |
1947 * Array.cc (assignN): Exit early if invalid indices are found. | |
1948 | |
6140 | 1949 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1950 | |
1951 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1952 | |
6137 | 1953 2006-11-03 John W. Eaton <jwe@octave.org> |
1954 | |
1955 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1956 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1957 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1958 | |
6123 | 1959 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1960 | |
1961 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1962 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1963 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1964 lo-sysdep.cc. | |
1965 | |
6113 | 1966 2006-10-27 John W. Eaton <jwe@octave.org> |
1967 | |
6119 | 1968 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1969 | |
1970 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1971 | |
1972 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1973 NDS_CMP_OPS2): New macros. | |
6113 | 1974 |
6111 | 1975 2006-10-26 John W. Eaton <jwe@octave.org> |
1976 | |
6119 | 1977 * mx-ops (core-type): New field for integer types. |
1978 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1979 | |
6111 | 1980 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1981 Move here from src/cutils.c. | |
1982 * lo-utils.h: Provide decls. | |
1983 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1984 * strncase.c: Move here from src/strncase.c. | |
1985 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1986 | |
6106 | 1987 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1988 | |
1989 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1990 | |
6708 | 1991 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1992 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1993 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1994 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1995 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1996 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1997 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1998 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1999 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
2000 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
2001 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
2002 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
2003 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
2004 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
2005 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
2006 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
2007 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
2008 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
2009 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
2010 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
2011 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
2012 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
2013 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 2014 |
6105 | 2015 2006-10-26 John W. Eaton <jwe@octave.org> |
2016 | |
2017 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
2018 type qualification for OP. | |
2019 | |
6101 | 2020 2006-10-26 David Bateman <dbateman@free.fr> |
2021 | |
2022 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
2023 octave_idx_type)): Be more careful with the size of the input | |
2024 matrix, and therefore don't create or read non existent data. | |
2025 | |
6092 | 2026 2006-10-25 John W. Eaton <jwe@octave.org> |
2027 | |
2028 * Sparse.cc (assign): Clear lhs index after error. | |
2029 | |
6093 | 2030 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 2031 |
2032 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2033 Fix previous patch so it works. | |
2034 | |
6087 | 2035 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
2036 | |
6095 | 2037 * glob-match.h (glob_match::glob_match (const std::string&, |
2038 unsigned int)): Delete initializer for first arg. | |
2039 | |
6093 | 2040 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
2041 New functions. | |
2042 | |
6087 | 2043 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
2044 | |
6096 | 2045 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
2046 same code as __MINGW32__. | |
2047 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
2048 the same as for __MINGW32__. | |
2049 | |
2050 * randpoisson.c: Undefine INFINITE before redefining. | |
2051 | |
6079 | 2052 2006-10-24 David Bateman <dbateman@free.fr> |
2053 | |
2054 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
2055 lhs at the point we know the assignment can succeed if the lhs is | |
2056 empty. | |
2057 | |
6072 | 2058 2006-10-23 John W. Eaton <jwe@octave.org> |
2059 | |
2060 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
2061 | |
6061 | 2062 2006-10-17 John W. Eaton <jwe@octave.org> |
2063 | |
2064 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
2065 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
2066 and _copysign. | |
2067 | |
6059 | 2068 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 2069 |
6061 | 2070 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
2071 | |
6708 | 2072 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
2073 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 2074 |
6058 | 2075 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
2076 | |
6059 | 2077 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
2078 | |
6051 | 2079 * Makefile.in: Adapt rules to use $(LIBPRE). |
2080 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2081 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 2082 |
2083 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
2084 or p == 0. | |
2085 | |
6018 | 2086 2006-10-02 John W. Eaton <jwe@octave.org> |
2087 | |
2088 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
2089 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
2090 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2091 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 2092 |
2093 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 2094 Remove spurious warning. |
5996 | 2095 |
5992 | 2096 2006-09-15 John W. Eaton <jwe@octave.org> |
2097 | |
2098 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
2099 Handle resizing. | |
2100 | |
2101 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
2102 | |
5983 | 2103 2006-09-11 John W. Eaton <jwe@octave.org> |
2104 | |
2105 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
2106 Handle M*v and rv*cv special cases. | |
2107 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
2108 ComplexMatrix&))): Likewise. | |
2109 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
2110 | |
2111 * dRowVector.cc (operator * (const RowVector&, const | |
2112 ColumnVector&)): Call xddot here instead of using a Fortran | |
2113 function directly. | |
2114 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
2115 ComplexColumnVector&)): Call xzdotu here. | |
2116 | |
2117 2006-09-05 John W. Eaton <jwe@octave.org> | |
2118 | |
2119 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
2120 elements to '\0', not ' '. | |
2121 | |
5972 | 2122 2006-08-25 John W. Eaton <jwe@octave.org> |
2123 | |
2124 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
2125 | |
5958 | 2126 2006-08-23 John W. Eaton <jwe@octave.org> |
2127 | |
2128 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
2129 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
2130 | |
5955 | 2131 2006-08-22 John W. Eaton <jwe@octave.org> |
2132 | |
5956 | 2133 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
2134 * dMatrix.cc (Matrix::save_ascii): New function. | |
2135 | |
5955 | 2136 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
2137 If array is empty, return value is same size as array. | |
2138 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
2139 If array is empty, produce correctly sized return value. | |
2140 | |
5940 | 2141 2006-08-18 John W. Eaton <jwe@octave.org> |
2142 | |
5943 | 2143 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
2144 * dMatrix.h: Provide decl. | |
2145 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
2146 * dNDArray.h: Provide decl. | |
2147 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
2148 New function. | |
2149 * intNDArray.h: Provide decl. | |
2150 | |
5940 | 2151 * Array.cc (Array<T>::permute): Only rearrange values if array is |
2152 not empty. | |
2153 | |
5904 | 2154 2006-07-26 John W. Eaton <jwe@octave.org> |
2155 | |
2156 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
2157 DET::value_will_overflow): Use xlog2 instead of log2. | |
2158 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
2159 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
2160 * CmplxDET.cc (ComplexDET::initialize10, | |
2161 ComplexDET::value_will_underflow, | |
2162 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
2163 (ComplexDET::initialize2, ComplexDET::initialize10): | |
2164 Use xround instead of round. | |
2165 (ComplexDET::initialize2, ComplexDET::value): | |
2166 Use xexp2 instead of exp2. | |
2167 | |
2168 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
2169 (xlog2, xexp2): New functions. | |
2170 * lo-mappers.h: Provide decls. | |
2171 | |
5900 | 2172 2006-07-22 John W. Eaton <jwe@octave.org> |
2173 | |
2174 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
2175 Sparse<T>::mex_get_jc): New functions. | |
2176 | |
2177 2006-07-21 John W. Eaton <jwe@octave.org> | |
2178 | |
2179 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
2180 * Array.h (Array<T>::mex_get_data): New function. | |
2181 | |
5898 | 2182 2006-07-19 John W. Eaton <jwe@octave.org> |
2183 | |
2184 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
2185 | |
5893 | 2186 2006-07-16 John W. Eaton <jwe@octave.org> |
2187 | |
2188 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
2189 Rename from SparseParams. Use same implementation method as other | |
2190 singleton classes in Octave. Change all uses of | |
2191 Voctave_sparse_controls to use static functions from | |
2192 octave_sparse_params class instead. | |
2193 | |
2194 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
2195 SparseParams::get_key): Pass std::string arg by const reference, | |
2196 not const value. | |
2197 | |
5892 | 2198 2006-07-15 John W. Eaton <jwe@octave.org> |
2199 | |
2200 * data-conv.cc: Instantiante swap_bytes templates here. | |
2201 | |
2202 * MatrixType.cc (MatrixType::MatrixType): | |
2203 Use complete initializer lists in constructors. | |
2204 | |
5880 | 2205 2006-07-06 John W. Eaton <jwe@octave.org> |
2206 | |
2207 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
2208 New constructor. | |
2209 * str-vec.h: Provide decl. | |
2210 | |
5876 | 2211 2006-07-01 David Bateman <dbateman@free.fr> |
2212 | |
2213 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
2214 elements on the diagonal. Allow both Upper and Lower triangular | |
2215 matrices to be treated. | |
2216 * CSparse.cc (tinverse): ditto. | |
2217 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
2218 constant assignment. | |
2219 | |
5870 | 2220 2006-06-30 John W. Eaton <jwe@octave.org> |
2221 | |
5872 | 2222 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
2223 * cmd-edit.cc (editor::read_init_file): Ditto. | |
2224 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 2225 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 2226 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 2227 |
5870 | 2228 * data-conv.cc (data_conv::string_to_data_type): |
2229 Correctly handle leading "*". | |
2230 | |
5869 | 2231 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
2232 | |
2233 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
2234 array access. | |
2235 | |
5866 | 2236 2006-06-27 John W. Eaton <jwe@octave.org> |
2237 | |
2238 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
2239 | |
5864 | 2240 2006-06-21 John W. Eaton <jwe@octave.org> |
2241 | |
2242 * oct-shlib.cc (octave_dlopen_shlib::close, | |
2243 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
2244 Skip do_close_hook if cl_hook is 0. | |
2245 | |
5863 | 2246 2006-06-16 John W. Eaton <jwe@octave.org> |
2247 | |
2248 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
2249 * randmtzig.h: Don't inlcude config.h. | |
2250 | |
5837 | 2251 2006-05-31 David Bateman <dbateman@free.fr> |
2252 | |
2253 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
2254 | |
5828 | 2255 2006-05-23 John W. Eaton <jwe@octave.org> |
2256 | |
2257 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
2258 typedefs, or define them if those files are not available. | |
2259 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
2260 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
2261 octave_uint64_t): Delete typedefs. Replace all uses of these | |
2262 types with int8_t, int16_t, etc. | |
2263 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
2264 Delete definitions. Replace all uses of these macros with int8_t, | |
2265 int16_t, etc. | |
2266 * randmtzig.h: Delete integer typedefs. | |
2267 | |
5822 | 2268 2006-05-18 John W. Eaton <jwe@octave.org> |
2269 | |
2270 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
2271 From Keith Goodman <kwgoodman@gmail.com>. | |
2272 | |
5813 | 2273 2006-05-08 David Bateman <dbateman@free.fr> |
2274 | |
2275 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
2276 modification. | |
2277 | |
5797 | 2278 2006-05-09 David Bateman <dbateman@free.fr> |
2279 | |
2280 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
2281 ov-cx-sparse. and error_state. | |
2282 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
2283 | |
5795 | 2284 2006-05-08 David Bateman <dbateman@free.fr> |
2285 | |
2286 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
2287 first pass and use to determine which algorithm to use on a | |
2288 column-by-column basis. | |
2289 | |
5792 | 2290 2006-05-04 David Bateman <dbateman@free.fr> |
2291 | |
2292 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
2293 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
2294 CXSparse or later | |
2295 | |
5785 | 2296 2006-05-03 David Bateman <dbateman@free.fr> |
2297 | |
2298 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
2299 External declaration of lapack triangular and Cholesky codes. | |
2300 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
2301 ComplexMatrix::fsolve): New private solver codes for | |
2302 upper, lower and LU/Cholesky solvers. | |
2303 (ComplexMatrix::solve): New versions for cached matrix | |
2304 type. Adapt old versions to call new versions | |
2305 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2306 new solvers. | |
2307 (solve): New versions for cached matrix type. | |
2308 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
2309 External declaration of lapack triangular and Cholesky codes. | |
2310 (Matrix::utsolve, Matrix::ltsolve, | |
2311 Matrix::fsolve): New private solver codes for | |
2312 upper, lower and LU/Cholesky solvers. | |
2313 (Matrix::solve): New versions for cached matrix | |
2314 type. Adapt old versions to call new versions | |
2315 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
2316 new solvers. | |
2317 (solve): New versions for cached matrix type. | |
2318 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
2319 * CSparse.h: ditto. | |
2320 * dSparse.cc: ditto. | |
2321 * dSparse.h: ditto. | |
2322 * SparseCmplxCHOL.cc: ditto. | |
2323 * SparsedbleCHOL.cc: ditto. | |
2324 * sparse-dmsolve.cc: ditto. | |
2325 * SparseType.cc, SparseType.h: delete. | |
2326 * MatrixType.cc: New file for class to cache matrix type, based on | |
2327 old SparseType class but caching matrix and sparse types. | |
2328 * MatrixType.h: ditto. | |
2329 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
2330 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
2331 respectively. | |
2332 * mx-base.h: Include MatrixTye.h as header file. | |
2333 | |
5781 | 2334 2006-05-01 John W. Eaton <jwe@octave.org> |
2335 | |
2336 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
2337 Delete WARN_FUTURE arg. Change all uses. | |
2338 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
2339 Change all uses. Use current_liboctave_warning_with_id_handler. | |
2340 (octave_base_shlib::open): Delete arg. Change all derived classes | |
2341 and uses. | |
2342 | |
2343 2006-04-29 John W. Eaton <jwe@octave.org> | |
2344 | |
2345 * Array-flags.cc, Array-flags.h: Delete. | |
2346 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
2347 (MATRIX_INC): Remove Array-flags.h from the list. | |
2348 | |
2349 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
2350 Use current_liboctave_warning_with_id_handler | |
2351 with warning ID Octave:resize-on-range-error. | |
2352 * idx-vector.h: Fix decl. | |
2353 * Array.cc, Sparse.cc: Change all callers. | |
2354 | |
2355 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
2356 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
2357 with warning ID Octave:fortran-indexing instead of | |
2358 liboctave_wfi_flag. | |
2359 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
2360 | |
5777 | 2361 2006-04-26 John W. Eaton <jwe@octave.org> |
2362 | |
2363 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
2364 New static data. | |
2365 * pathsearch.h: Provide decls. | |
2366 (dir_path::is_path_sep): New function. | |
2367 | |
5766 | 2368 2006-04-18 John W. Eaton <jwe@octave.org> |
2369 | |
2370 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
2371 Omit inline from decl. | |
2372 | |
2373 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
2374 local array with variable dimension. | |
2375 | |
5764 | 2376 2006-04-16 John W. Eaton <jwe@octave.org> |
2377 | |
5765 | 2378 * lo-sstream.h: Delete. |
2379 * Makefile.in (INCLUDES): Remove it from the list. | |
2380 | |
2381 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
2382 * Sparse.cc (Sparse::range_error): Likewise. | |
2383 * DASSL.cc (DASSL::error_message): Likewise. | |
2384 * LSODE.cc (LSODE::error_message): Likewise. | |
2385 * DASRT.cc (DASRT::error_message): Likewise. | |
2386 * DASPK.cc (DASPK::error_message): Likewise. | |
2387 * Array.cc (Array::range_error): Likewise. | |
2388 | |
5764 | 2389 * kpse.cc (kpse_hash): Rename from hash. |
2390 (hash_lookup): Call kpse_hash instead of hash. | |
2391 | |
2392 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
2393 to avoid local array with variable dimension. | |
2394 | |
5760 | 2395 2006-04-13 David Bateman <dbateman@free.fr> |
2396 | |
2397 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2398 Optimize assignment. | |
2399 | |
2400 2006-04-13 John W. Eaton <jwe@octave.org> | |
2401 | |
2402 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2403 Eliminate unnecessary casts. | |
2404 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
2405 | |
2406 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
2407 (log_search, dir_links): Use static_cast instead of C-style cast. | |
2408 | |
2409 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
2410 * oct-alloc.cc (allocator::grow): Likewise. | |
2411 * CSparse.cc (SparseComplexMatrix::determinant, | |
2412 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
2413 Likewise. | |
2414 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
2415 | |
2416 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
2417 Use static_cast instead of C-style cast. | |
2418 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2419 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
2420 | |
2421 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
2422 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
2423 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
2424 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
2425 Use reinterpret_cast instead of X_CAST. | |
2426 | |
2427 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
2428 return value here. | |
2429 | |
5752 | 2430 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
2431 | |
2432 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
2433 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
2434 | |
5730 | 2435 2006-04-03 David Bateman <dbateman@free.fr> |
2436 | |
5731 | 2437 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
2438 to avoid copy of original matrix. | |
2439 | |
5730 | 2440 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
2441 randmtzig.h to the list. | |
2442 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
2443 randmtzig.c to the list. | |
2444 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
2445 (use_old_generators): New variable. | |
2446 (old_initialized): Rename from initialized. | |
2447 (new_initialized): New variable. | |
2448 (oct_init_by_entropy): New function. | |
2449 (maybe_initialize): Initialize new or old generator depending on | |
2450 value of use_old_generators. | |
2451 (octave_rand::state): New functions. | |
2452 (octave_rand::distribution): Add gamma, exponential and poisson | |
2453 distributions. | |
2454 (octave_rand::exponential_distribution, | |
2455 octave_rand::poisson_distribution, | |
2456 octave_rand::gamma_distribution): New methods to select | |
2457 exponential, poisson or gamma distribution. | |
2458 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2459 octave_rand::vector): Add new distributions. | |
2460 * oct-rand.h: Provide decls for new functions. | |
2461 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
2462 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
2463 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
2464 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
2465 randmtzig.h: New files. | |
2466 | |
5717 | 2467 2006-03-24 John W. Eaton <jwe@octave.org> |
2468 | |
2469 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
2470 Array<octave_idx_type>, so fortran_vec returns pointer to | |
2471 octave_idx_type, not pointer to int. | |
2472 | |
2473 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
2474 ComplexMatrix::column (char*)): Delete. | |
2475 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
2476 Matrix::column (char*)): Delete. | |
2477 | |
5713 | 2478 2006-03-21 David Bateman <dbateman@free.fr> |
2479 | |
2480 * SparseQR.h: Publish externally used friends. | |
2481 * SparseCmplxQR.h: ditto. | |
2482 | |
5700 | 2483 2006-03-21 John W. Eaton <jwe@octave.org> |
2484 | |
2485 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
2486 call to xdbetai. | |
2487 | |
5697 | 2488 2006-03-21 David Bateman <dbateman@free.fr> |
2489 | |
5701 | 2490 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
2491 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 2492 |
2493 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
2494 fallback to QR solvers to be optional. | |
2495 * CSparse.cc (solve): Ditto. | |
2496 * dSparse.h (solve): update declaration for new argument. | |
2497 * CSparse.h (solve): Ditto. | |
2498 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
2499 to bypass QR solvers when solving the well determined part of | |
2500 the problem. | |
5697 | 2501 |
5690 | 2502 2006-03-17 John W. Eaton <jwe@octave.org> |
2503 | |
2504 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
2505 | |
5681 | 2506 2006-03-16 David Bateman <dbateman@free.fr> |
2507 | |
2508 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
2509 reduction of matrix size, except for a couple of cases where nzmax | |
2510 is needed. | |
2511 (zpbcon): Correct declaration of lapack zpbcon function. | |
2512 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
2513 an argument to allow the calculation of condition number to be | |
2514 optional. | |
2515 (bsolve): Add code for the calculation of the condition number | |
2516 using zpbcon and zgbcon. | |
2517 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
2518 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
2519 singular if singularity is detected. | |
2520 (solve): Use optional argument to disable calculation of | |
2521 condition number for all but fsolve, for speed. Add code to | |
2522 allow rectnagular matrices or matrices identified as singular | |
2523 to be treated. | |
2524 (lssolve): delete. | |
2525 (operator *): Don't recast real matrices as complex, but | |
2526 rather use the macro directly on the real data. | |
2527 * dSparse.cc: ditto. | |
2528 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
2529 fsolve, factorize): Update declaration for new argument to | |
2530 calculate the condition number. | |
2531 (lssolve): delete. | |
2532 * dSparse.h: ditto. | |
2533 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
2534 reduction of matrix size, except for a couple of cases where | |
2535 nzmax is needed. | |
2536 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
2537 reduction of matrix size, except for a couple of cases where | |
2538 nzmax is needed. | |
2539 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
2540 Special case strict permutations for speed. | |
2541 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
2542 reduction of matrix size, except for a couple of cases where | |
2543 nzmax is needed. | |
2544 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
2545 macros to allow mixed complex/real arguments. | |
2546 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
2547 value. | |
2548 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
2549 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
2550 of permutated triangular matrices to avoid seg-faults. Disable | |
2551 detection of underdetermined lower and over-determined upper | |
2552 matrix due to problems with non minimum norm solutions. | |
2553 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
2554 * Makefile.in: add sparse-dmsolve.cc to targets. | |
2555 | |
5675 | 2556 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
2557 | |
2558 * oct-time.cc (octave_strptime::init): Return useful character count. | |
2559 | |
5648 | 2560 2006-03-08 David Bateman <dbateman@free.fr> |
2561 | |
2562 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
2563 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
2564 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
2565 * SparseQR.cc: ditto. | |
2566 * SparseQR.h: ditto. | |
2567 * oct-sparse.h: ditto. | |
2568 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
2569 Declare info variable as volatile. | |
2570 | |
2571 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2572 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2573 | |
5634 | 2574 2006-03-01 John W. Eaton <jwe@octave.org> |
2575 | |
2576 * CMatrix.cc (ComplexMatrix::determinant): | |
2577 Scale result by factors of 2, not 10. | |
2578 * dMatrix.cc (Matrix::determinant): Likewise. | |
2579 | |
2580 * dbleDET.h (DET::DET): Use initializer list. | |
2581 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2582 DET::exponent10): New functions. | |
2583 (DET::det): Delete. | |
2584 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2585 Store value internally with double and int instead of 2-element | |
2586 double vector. | |
2587 (DET::initialize2, DET::initialize10): Provide decls. | |
2588 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2589 Return bool value, not int. | |
2590 (DET::initialize2, DET::initialize10): New functions. | |
2591 | |
2592 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2593 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2594 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2595 (ComplexDET::det): Delete. | |
2596 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2597 ComplexDET::base2): New data members. | |
2598 Store value internally with Complex and int instead of 2-element | |
2599 Complex vector. | |
2600 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2601 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2602 ComplexDET::value_will_underflow): Return bool value, not int. | |
2603 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2604 | |
5632 | 2605 2006-02-24 John W. Eaton <jwe@octave.org> |
2606 | |
2607 * Array.cc (assignN): Clear index before reshaping. | |
2608 | |
2609 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2610 | |
5630 | 2611 2006-02-20 David Bateman <dbateman@free.fr> |
2612 | |
2613 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2614 matrix must be square in diagonal, permuted diagonal, triangular | |
2615 and permuted triangular back/forward substitution code. Change | |
2616 ambiguous use of no. rows and columns. | |
2617 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2618 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2619 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2620 rectangular diagonal, permuted diagonal, triangular and permuted | |
2621 triangular matrices. | |
2622 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2623 Treat case where third argument is zero. | |
2624 | |
5621 | 2625 2006-02-15 John W. Eaton <jwe@octave.org> |
2626 | |
5622 | 2627 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2628 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2629 | |
5621 | 2630 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2631 | |
5619 | 2632 2006-02-13 David Bateman <dbateman@free.fr> |
2633 | |
2634 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2635 ccolamd and cxsparse | |
2636 | |
5617 | 2637 2006-02-13 John W. Eaton <jwe@octave.org> |
2638 | |
5618 | 2639 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2640 while loop condition. | |
2641 (kpse_path_iterator::operator =): Declare as private function but | |
2642 don't define to prevent attempts to use assignment operator. | |
2643 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2644 |
5615 | 2645 2006-02-10 John W. Eaton <jwe@octave.org> |
2646 | |
2647 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2648 product of all dimensions in CP_SZ. | |
2649 | |
5611 | 2650 2006-02-09 John W. Eaton <jwe@octave.org> |
2651 | |
2652 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2653 product of all dimensions in CP_SZ. |
5611 | 2654 |
5610 | 2655 2006-02-09 David Bateman <dbateman@free.fr> |
2656 | |
2657 * SparseQR.cc: new file for real sparse QR class. | |
2658 * SparseQR.h: declaration. | |
2659 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2660 * SparseCmplxQR.h: declaration. | |
2661 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2662 (factorize, fsolve): Enable code code lssolve. | |
2663 (lssolve): disable unused args, write based in above sparse QR class. | |
2664 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2665 (factorize, fsolve): Enable code code lssolve. | |
2666 (lssolve): disable unused args, write based in above sparse QR class. | |
2667 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2668 Include CXSparse headers. | |
2669 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2670 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2671 | |
5607 | 2672 2006-02-08 John W. Eaton <jwe@octave.org> |
2673 | |
2674 * Array-util.h (calc_permutated_idx): Delete. | |
2675 * Array.cc (permute_vector): New data structure. | |
2676 (permute_vector_compare): New function. | |
2677 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2678 improved performance. | |
2679 | |
5606 | 2680 2006-02-04 David Bateman <dbateman@free.fr> |
2681 | |
2682 * COLAMD: Remove all files, as now unused. | |
2683 | |
5604 | 2684 2006-01-31 John W. Eaton <jwe@octave.org> |
2685 | |
2686 * Sparse.h (Sparse<T>::nzmax): New function. | |
2687 (Sparse<T>::nnz): Rename from nonzero. | |
2688 Change all uses of old nnz function to be nzmax. Change all uses | |
2689 of nonzero to be nnz. | |
2690 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2691 | |
5603 | 2692 2006-01-21 David Bateman <dbateman@free.fr> |
2693 | |
2694 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2695 (bool octave_idx_vector_comp): New function. | |
2696 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2697 indexed idx_vector sorting function. | |
2698 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2699 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2700 sorting. | |
2701 (bool octave_idx_vector_comp): Declaration. | |
2702 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2703 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2704 class. | |
2705 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2706 | |
5602 | 2707 2006-01-30 John W. Eaton <jwe@octave.org> |
2708 | |
2709 * so-array.h (streamoff_array::nnz): New funtion. | |
2710 * boolNDArray.h (boolNDArray::nnz): New function. | |
2711 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2712 * MArray.h (MArray<T>::nnz): New function. | |
2713 | |
5587 | 2714 2006-01-04 David Bateman <dbateman@free.fr> |
2715 | |
2716 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2717 elements not being sorted in return matrix. Sort them, and make | |
2718 solver select between two algorithms to further improve the | |
2719 performance. | |
2720 * dSparse.cc: include oct-sort.h. | |
2721 * CSparse.cc: ditto. | |
2722 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2723 | |
5586 | 2724 2005-12-28 David Bateman <dbateman@free.fr> |
2725 | |
5587 | 2726 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2727 faster in all cases, and significantly so for low density or small | |
2728 order problems. | |
5586 | 2729 |
5552 | 2730 2005-11-30 John W. Eaton <jwe@octave.org> |
2731 | |
2732 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2733 before setting any values in either array. | |
2734 | |
5547 | 2735 2005-11-29 John W. Eaton <jwe@octave.org> |
2736 | |
2737 * oct-uname.h, oct-uname.cc: New files. | |
2738 * Makefile.in: Add them to the appropriate lists. | |
2739 | |
5535 | 2740 2005-11-11 John W. Eaton <jwe@octave.org> |
2741 | |
2742 * Array.cc (Array<T>::indexN): Simplify. | |
2743 | |
5533 | 2744 2005-11-09 John W. Eaton <jwe@octave.org> |
2745 | |
2746 * oct-inttypes.h (octave_int::operator char (void) const): | |
2747 New conversion op. | |
2748 | |
5527 | 2749 2005-11-01 John W. Eaton <jwe@octave.org> |
2750 | |
2751 * Makefile.in (distclean): Also remove oct-types.h. | |
2752 From Quentin Spencer <qspencer@ieee.org>. | |
2753 | |
5526 | 2754 2005-10-31 David Bateman <dbateman@free.fr> |
2755 | |
2756 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2757 preprocessor defined TRUE/FALSE. | |
2758 | |
5523 | 2759 2005-10-30 John W. Eaton <jwe@octave.org> |
2760 | |
2761 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2762 (MX_ND_CUMULATIVE_OP): Likewise. | |
2763 | |
5519 | 2764 2005-10-29 John W. Eaton <jwe@octave.org> |
2765 | |
5520 | 2766 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2767 things up. Simplify. | |
2768 | |
5519 | 2769 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2770 case for "vector_equivalent". | |
2771 | |
2772 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2773 | |
5518 | 2774 2005-10-28 John W. Eaton <jwe@octave.org> |
2775 | |
2776 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2777 From Quentin Spencer <qspencer@ieee.org>. | |
2778 | |
2779 * sparse-base-chol.cc: Use C++ true/false instead of | |
2780 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2781 | |
5516 | 2782 2005-10-27 John W. Eaton <jwe@octave.org> |
2783 | |
2784 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2785 | |
5512 | 2786 2005-10-26 John W. Eaton <jwe@octave.org> |
2787 | |
2788 * oct-sparse.h: New file. | |
2789 * oct-sparse.h.in: Delete. | |
2790 | |
5511 | 2791 2005-10-26 David Bateman <dbateman@free.fr> |
2792 | |
2793 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2794 * sparse-base-chol.cc: ditto. | |
2795 | |
5508 | 2796 2005-10-26 John W. Eaton <jwe@octave.org> |
2797 | |
2798 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2799 <arno@heho.snv.jussieu.fr>: | |
2800 | |
5509 | 2801 * dSparse.h (real (const SparseComplexMatrix&)): |
2802 Publish externally used friend function. | |
2803 (imag (const SparseComplexMatrix&)): Likewise. | |
2804 | |
5508 | 2805 * dColVector.h (real (const ComplexColumnVector&)): |
2806 Publish externally used friend function. | |
2807 (imag (const ComplexColumnVector&)): Likewise. | |
2808 | |
2809 * dNDArray.h (real (const ComplexNDArray&)): | |
2810 Publish externally used friend function. | |
2811 (imag (const ComplexNDArray&)): Likewise. | |
2812 | |
2813 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2814 Move decl outside class. No need to be friend. | |
2815 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2816 (imag (const ComplexMatrix&)): Likewise. | |
2817 | |
2818 * CMatrix.h: (operator * (const ColumnVector&, const | |
2819 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2820 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2821 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2822 Likewise. | |
2823 | |
5506 | 2824 2005-10-23 David Bateman <dbateman@free.fr> |
2825 | |
2826 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2827 elements need to be removed. | |
2828 | |
2829 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2830 versions of cholmod. | |
2831 | |
2832 * CSparse.cc (tinverse): New private function for the inversion of | |
2833 an upper triangular matrix. | |
2834 (dinverse): ditto for diagonal matrices. | |
2835 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2836 using tinverse and dinverse. | |
2837 (fsolve): Use cholmod to implement Cholesky solver. | |
2838 * CSparse.h (tinverse, dinverse): Declarations | |
2839 (inverse): Alter declaration to include SparseType. | |
2840 | |
2841 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2842 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2843 | |
2844 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2845 | |
2846 * sparse-util.cc: New file for sparse utility functions. | |
2847 * sparse-util.h: New file with declarations of sparse utility | |
2848 functions. | |
2849 | |
2850 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2851 on cholmod. | |
2852 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2853 class based on cholmod. | |
2854 | |
2855 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2856 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2857 | |
2858 * SparsedbleCHOL.cc: ditto. | |
2859 * SparsedbleCHOL.h: ditto. | |
2860 | |
2861 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2862 (INCLUDES): Include sparse-util.h | |
2863 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2864 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2865 | |
5489 | 2866 2005-10-12 John W. Eaton <jwe@octave.org> |
2867 | |
2868 * oct-env.cc (octave_env::have_x11_display): New function. | |
2869 * oct-env.h: Provide decl. | |
2870 | |
5476 | 2871 2005-09-29 John W. Eaton <jwe@octave.org> |
2872 | |
2873 * file-stat.h (file_stat::mode): New function. | |
2874 | |
2875 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2876 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2877 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2878 * file-stat.h: Provide decls. | |
2879 | |
2880 2005-09-28 John W. Eaton <jwe@octave.org> | |
2881 | |
2882 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2883 * file-ops.h: Provide decl. | |
2884 | |
5454 | 2885 2005-09-19 David Bateman <dbateman@free.fr> |
2886 | |
2887 * oct-env.cc (octave_env::do_get_home_directory): | |
2888 Also check HOMEDRIVE under mingw. | |
2889 | |
5455 | 2890 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2891 | |
5453 | 2892 2005-09-16 John W. Eaton <jwe@octave.org> |
2893 | |
2894 * oct-syscalls.cc: Include lo-utils.h here. | |
2895 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2896 | |
2897 * lo-cutils.c (octave_waitpid): New function. | |
2898 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2899 oct-syscalls.cc | |
2900 | |
2901 | |
2902 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2903 waitpid in src/sysdep.h. Make this header C-compatible. | |
2904 | |
2905 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2906 Change all uses. | |
2907 | |
5451 | 2908 2005-09-15 John W. Eaton <jwe@octave.org> |
2909 | |
2910 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2911 | |
2912 * oct-sparse.h.in: New file. | |
2913 * Makefile.in (DISTFILES): Include it in the list. | |
2914 (INCLUDES): Add oct-sparse.h to the list. | |
2915 | |
2916 2005-09-15 David Bateman <dbateman@free.fr> | |
2917 | |
2918 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2919 headers. Remove include of umfpack.h. | |
2920 * CSparse.cc : ditto. | |
2921 * SparsedbleLU.cc : ditto. | |
2922 * SparseCmplxLU.cc : ditto. | |
2923 | |
2924 * COLAMD : Remove colamd files from octave. | |
2925 * COLAMD.files : delete. | |
2926 * COLAMD.README : delete. | |
2927 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2928 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2929 under mingw. | |
2930 | |
2931 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2932 in definition. | |
2933 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2934 change of cast not allowed under g++ 3.x. | |
2935 * lo-utils.h (octave_w32_library_search): Declaration. | |
2936 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2937 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2938 | |
5442 | 2939 2005-09-07 John W. Eaton <jwe@octave.org> |
2940 | |
2941 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2942 based on current code in Bash. Handle a few more escape | |
2943 sequences. Do a better job of decoding \W. | |
2944 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2945 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 2946 |
2947 * COLAMD: Update version of colamd to v2.4. | |
2948 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2949 colamd.c for long version. | |
2950 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2951 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 2952 |
2953 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2954 mixed sparse/full multiply. | |
2955 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2956 mixed sparse/full multiply. | |
2957 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2958 mixed sparse/full multiply operators. | |
2959 | |
5420 | 2960 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2961 | |
2962 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2963 avoid warnings for unsigned types. | |
2964 | |
5404 | 2965 2005-07-07 John W. Eaton <jwe@octave.org> |
2966 | |
2967 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2968 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2969 | |
5392 | 2970 2005-06-15 John W. Eaton <jwe@octave.org> |
2971 | |
5394 | 2972 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2973 Flush stdout here. | |
2974 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2975 | |
5392 | 2976 * Array.h (Array::resize): Change int args to octave_idx_type. |
2977 | |
5386 | 2978 2005-06-14 John W. Eaton <jwe@octave.org> |
2979 | |
5389 | 2980 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2981 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2982 octave_is_NaN_or_NA to xisnan. | |
2983 | |
2984 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2985 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2986 | |
2987 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2988 lo_ieee_isnan. | |
2989 | |
5387 | 2990 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2991 value is greater than FLT_MAX. | |
2992 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2993 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2994 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2995 | |
2996 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2997 values too. | |
2998 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2999 | |
3000 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
3001 NA, Inf values. | |
3002 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 3003 |
5385 | 3004 2005-06-14 David Bateman <dbateman@free.fr> |
3005 | |
5387 | 3006 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
3007 NA values. | |
3008 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 3009 |
5379 | 3010 2005-06-02 John W. Eaton <jwe@octave.org> |
3011 | |
3012 * Array.cc (assignN): Try harder to correctly resize previously | |
3013 empty LHS. | |
3014 | |
5351 | 3015 2005-05-16 David Bateman <dbateman@free.fr> |
3016 | |
3017 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
3018 * CSparse.h: ditto. | |
3019 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3020 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 3021 |
3022 * dSparse.cc (determinant): Free numeric factorization after | |
3023 sucessful calculation. | |
3024 * CSparse.cc (determinant): ditto. | |
3025 | |
5340 | 3026 2005-05-06 John W. Eaton <jwe@octave.org> |
3027 | |
3028 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
3029 chol_mat. | |
3030 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
3031 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
3032 Provide decls. | |
3033 | |
3034 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
3035 indexing chol_mat. | |
3036 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
3037 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
3038 Provide decls. | |
3039 | |
5338 | 3040 2005-05-05 John W. Eaton <jwe@octave.org> |
3041 | |
3042 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
3043 retval before return. | |
3044 | |
5336 | 3045 2005-05-04 John W. Eaton <jwe@octave.org> |
3046 | |
3047 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
3048 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
3049 | |
5330 | 3050 2005-05-02 John W. Eaton <jwe@octave.org> |
3051 | |
3052 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
3053 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
3054 | |
5322 | 3055 2005-04-29 David Bateman <dbateman@free.fr> |
3056 | |
5330 | 3057 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
3058 double. Correct indexing for upper diagonal elements for sparse | |
3059 tridiagonal. | |
5322 | 3060 * CSparse.cc (trisolve): ditto. |
3061 | |
5330 | 3062 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
3063 UMFPACK for 64-bit. | |
5322 | 3064 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
3065 UMFPACK_ZNAME(*). | |
3066 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
3067 | |
5330 | 3068 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
3069 UMFPACK for 64-bit. | |
5322 | 3070 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
3071 UMFPACK_DNAME(*). | |
3072 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
3073 | |
5330 | 3074 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
3075 triangular back/forward substitution code. | |
5322 | 3076 * CSparse.cc (ltsolve, utsolve): ditto. |
3077 | |
5330 | 3078 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
3079 from spparms("spumoni",1). | |
5322 | 3080 * CSparse.cc (solve): ditto |
3081 | |
5330 | 3082 * SparseType.cc (SparseType(void)): Print info for |
3083 spparms("spumoni",1). | |
5322 | 3084 (SparseType(const matrix_type), SparseType(const matrix_type, const |
3085 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
3086 const octave_idx_type, const octave_idx_type)): New constructors. | |
3087 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 3088 Detect row permuted lower triangular and column permuted upper |
3089 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 3090 |
3091 * SparseType.h: Simplify the permutation code. | |
3092 (SparseType(const matrix_type), SparseType | |
3093 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
3094 SparseType(const matrix_type, const octave_idx_type, | |
3095 const octave_idx_type)): Declarations. | |
3096 | |
5304 | 3097 2005-04-25 John W. Eaton <jwe@octave.org> |
3098 | |
3099 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
3100 array and its contents. | |
3101 | |
5303 | 3102 2005-04-22 John W. Eaton <jwe@octave.org> |
3103 | |
3104 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
3105 const here now that rl_terminal_name is declared const char*. | |
3106 | |
5294 | 3107 2005-04-21 John W. Eaton <jwe@octave.org> |
3108 | |
3109 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
3110 | |
5285 | 3111 2005-04-19 John W. Eaton <jwe@octave.org> |
3112 | |
3113 * Array.cc (assignN): Don't crash if the index list is empty. | |
3114 | |
5282 | 3115 2005-04-14 David Bateman <dbateman@free.fr> |
3116 | |
3117 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
3118 * SparsedbleLU.cc: Ditto. | |
3119 * SparseCmplxLU.h: Definition. | |
3120 * SparsedbleLU.h: ditto. | |
3121 | |
3122 * SparseType.cc (transpose): New function. | |
3123 * SparseType.h (transpose): Definition. | |
3124 | |
5278 | 3125 2005-04-11 John W. Eaton <jwe@octave.org> |
3126 | |
3127 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
3128 fortran code that could end up calling XSTOPX. | |
3129 | |
5277 | 3130 2005-04-10 David Bateman <dbateman@free.fr> |
3131 | |
3132 * Makefile.in: include oct-types in INCLUDES so that it is | |
3133 installed | |
3134 | |
5275 | 3135 2005-04-08 John W. Eaton <jwe@octave.org> |
3136 | |
5276 | 3137 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
3138 | |
5275 | 3139 * Initial merge of 64-bit changes from Clinton Chee: |
3140 | |
3141 2005-04-07 John W. Eaton <jwe@octave.org> | |
3142 | |
3143 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
3144 | |
3145 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
3146 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
3147 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
3148 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
3149 Use octave_idx_type instead of int where needed. | |
3150 | |
3151 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3152 | |
3153 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
3154 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
3155 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
3156 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
3157 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
3158 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3159 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
3160 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
3161 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
3162 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
3163 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
3164 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
3165 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
3166 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
3167 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
3168 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
3169 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
3170 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
3171 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
3172 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
3173 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
3174 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
3175 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
3176 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
3177 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
3178 str-vec.cc, str-vec.h: | |
3179 Use octave_idx_type instead of int where needed. | |
3180 | |
3181 2005-04-01 John W. Eaton <jwe@octave.org> | |
3182 | |
3183 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
3184 | |
3185 * oct-types.h.in: New file. | |
3186 | |
3187 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
3188 | |
3189 * lo-utils.cc (NINTbig): New function. | |
3190 * lo-utils.h: Provide decl. | |
3191 | |
5269 | 3192 2005-04-06 David Bateman <dbateman@free.fr> |
3193 | |
3194 * Makefile.in: Link to UMFPACK_LIBS. | |
3195 | |
5265 | 3196 2005-04-05 John W. Eaton <jwe@octave.org> |
3197 | |
3198 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
3199 | |
5264 | 3200 2005-04-01 John W. Eaton <jwe@octave.org> |
3201 | |
3202 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
3203 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
3204 when resizing A. When performing the assignment, just check that | |
3205 the number of elements in RHS matches the number of elements | |
3206 indexed by IDX-LIST. | |
3207 | |
5260 | 3208 2005-03-30 John W. Eaton <jwe@octave.org> |
3209 | |
5261 | 3210 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
3211 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
3212 | |
3213 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
3214 dSparse.cc: Use std:: for Complex functions instead of relying on | |
3215 wrappers from oct-cmplx.h. | |
5260 | 3216 |
3217 * oct-cmplx.h: Provide typedef only. | |
3218 | |
3219 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
3220 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
3221 Likewise. | |
3222 | |
5247 | 3223 2005-03-26 John W. Eaton <jwe@octave.org> |
3224 | |
3225 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
3226 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
3227 | |
5209 | 3228 2005-03-15 John W. Eaton <jwe@octave.org> |
3229 | |
3230 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
3231 | |
5203 | 3232 2005-03-14 John W. Eaton <jwe@octave.org> |
3233 | |
3234 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
3235 (DISTDIRS): Don't include UMFPACK. | |
3236 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
3237 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
3238 flags for these files. | |
3239 Don't include include $(srcdir)/UMFPACK.files. | |
3240 Don't include include $(srcdir)/UMFPACK.rules. | |
3241 | |
3242 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
3243 Delete files. | |
3244 * UMFPACK: Delete directory tree. | |
3245 | |
3246 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
3247 * CSparse.cc: Likewise. | |
3248 * SparsedbleLU.cc: Likewise. | |
3249 * SparseCmplxLU.cc: Likewise. | |
3250 | |
3251 2005-03-14 David Bateman <dbateman@free.org> | |
3252 | |
3253 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
3254 Allow compilation to succeed if UMFPACK is not available. | |
3255 | |
5196 | 3256 2005-03-09 John W. Eaton <jwe@octave.org> |
3257 | |
3258 * Makefile.in (bin-dist): Delete target. | |
3259 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
3260 | |
5173 | 3261 2005-03-01 John W. Eaton <jwe@octave.org> |
3262 | |
3263 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
3264 * Makefile.in: Remove them from the lists. | |
3265 | |
5169 | 3266 2005-02-28 John W. Eaton <jwe@octave.org> |
3267 | |
3268 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
3269 | |
5167 | 3270 2005-02-27 David Bateman <dbateman@free.org> |
3271 | |
5169 | 3272 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
3273 in the sparse matrix. | |
5167 | 3274 |
5164 | 3275 2005-02-25 John W. Eaton <jwe@octave.org> |
3276 | |
3277 Sparse merge. | |
3278 | |
3279 2005-02-13 David Bateman <dbateman@free.fr> | |
3280 | |
3281 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
3282 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
3283 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
3284 solver into separate functions for the diagonal, upper, lower | |
3285 triangular, tridiagonal, banded and full cases. | |
3286 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
3287 version that probes the matrix type and another that assumes the type | |
3288 is passed. | |
3289 | |
3290 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
3291 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
3292 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
3293 (SparseMatrix::solve): Likewise | |
3294 | |
3295 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3296 Declaration of new functions | |
3297 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
3298 Likewise | |
3299 | |
3300 * CSparse.cc (operator !): Reverse the sense of the test. | |
3301 * dSpase.cc (operator !): Likewise | |
3302 | |
3303 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3304 triangular_col_perm, sparse_info): Remove matrix type code | |
3305 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3306 triangular_col_perm, sparse_info): Likewise | |
3307 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3308 triangular_col_perm, sparse_info): Likewise | |
3309 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
3310 triangular_col_perm, sparse_info): Likewise | |
3311 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
3312 triangular_col_perm, sparse_info, matrix_type): Likewise | |
3313 | |
3314 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
3315 | |
3316 * SparseType.h: New class for the matrix type used in solvers | |
3317 * SparseType.cc: methods of sparse matrix type class | |
3318 | |
3319 * Makefile.in: Add SparseType.cc | |
3320 | |
3321 2005-02-01 David Bateman <dbateman@free.fr> | |
3322 | |
3323 * UMFPACK: Update to version 4.4 | |
3324 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
3325 keep octave specific test files | |
3326 | |
3327 2005-01-23 David Bateman <dbateman@free.fr> | |
3328 | |
3329 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
3330 tridiagonal and banded cholesky solvers. Remove calculation of | |
3331 condition number for banded solvers. | |
3332 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
3333 | |
3334 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
3335 new functions. | |
3336 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3337 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3338 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
3339 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
3340 ditto | |
3341 | |
3342 * Sparse.cc (int Sparse<T>::type (int) const, | |
3343 bool Sparse<T>::is_dense (void) const): New functions definition | |
3344 | |
3345 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
3346 so it actually is cached, but disable | |
3347 | |
3348 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
3349 for compatiability | |
3350 | |
3351 2005-01-18 David Bateman <dbateman@free.fr> | |
3352 | |
3353 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3354 Modify calculation of number elements to skip between copied blocks. | |
3355 | |
3356 2005-01-07 David Bateman <dbateman@free.fr> | |
3357 | |
3358 * Sparse.h : Reverse definitions of numel and nelem. | |
3359 * Sparse.cc (assign1): Use numel and not nelem | |
3360 * Sparse-op-def.h: Replace all uses of nelem with numel | |
3361 | |
3362 2005-01-07 David Bateman <dbateman@free.fr> | |
3363 | |
3364 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
3365 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
3366 ComplexDET | |
3367 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
3368 by DET | |
3369 * dSparse.h (determinant): ditto | |
3370 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
3371 SparseComplexDET by ComplexDET | |
3372 * CSparse.h (determinant): ditto | |
3373 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
3374 SparseCmplxDET.cc: delete files | |
3375 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
3376 SparseCmplxDET.h andSparseCmplxDET.cc. | |
3377 | |
3378 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
3379 local variable to avoid variable shadowing. | |
3380 * dSparse.cc (SparseMatrix::solve): ditto. | |
3381 | |
3382 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
3383 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
3384 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
3385 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
3386 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
3387 sparse-sort.h: Remove additional licensing clause with authors | |
3388 permission. | |
3389 | |
3390 2004-12-30 John W. Eaton <jwe@octave.org> | |
3391 | |
3392 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
3393 Loop counter is int, not size_t. | |
3394 | |
3395 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
3396 | |
3397 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
3398 | |
3399 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
3400 Delete unused variables. | |
3401 (SparseMatrix::solve): Avoid warnings about uninitialized | |
3402 variables and variables that might be clobbered by longjmp. | |
3403 | |
3404 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
3405 min, max): Delete unused variables. | |
3406 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
3407 variables and variables that might be clobbered by longjmp. | |
3408 | |
3409 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
3410 | |
3411 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
3412 Loop counter is int, not size_t. | |
3413 | |
3414 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
3415 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
3416 | |
3417 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
3418 lists consistently. | |
3419 | |
3420 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
3421 | |
3422 2004-12-29 John W. Eaton <jwe@octave.org> | |
3423 | |
3424 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
3425 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
3426 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
3427 $(UMFPACK_EXTRAS) to the list. | |
3428 (DISTDIRS): New variable. | |
3429 (dist): Handle $(DISTDIRS). | |
3430 | |
3431 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
3432 Andy Adler <adler@site.uottawa.ca>. | |
3433 | |
3434 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
3435 | |
3436 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
3437 without directory prefix. | |
3438 | |
3439 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
3440 $(UMFPACK_OBJ) to the list. | |
3441 | |
3442 * COLAMD: New directory. | |
3443 * COLAMD.files: New file. | |
3444 * Makefile.in: Include COLAMD.files. | |
3445 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
3446 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
3447 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
3448 | |
3449 * UMFPACK: New directory. | |
3450 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
3451 New files. | |
3452 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
3453 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
3454 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
3455 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
3456 | |
3457 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
3458 (INCLUDES): Add it to the list. | |
3459 (SPARSE_MX_OP_SRC): New variable. | |
3460 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
3461 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3462 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
3463 | |
3464 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
3465 * Makefile.in (DISTFILES): Add them to the lists. | |
3466 | |
3467 * oct-spparms.h, sparse-sort.h: New files. | |
3468 * Makefile.in (INCLUDES): Add them to the list. | |
3469 | |
3470 * oct-spparms.cc, sparse-sort.cc: New files. | |
3471 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
3472 | |
3473 * sparse-base-lu.cc: New file. | |
3474 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
3475 | |
3476 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
3477 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
3478 SparsedbleLU.cc: New files. | |
3479 * Makefile.in (MATRIX_SRC): Add them to the list. | |
3480 | |
3481 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
3482 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
3483 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
3484 Sparse-op-defs.h: New files. | |
3485 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
3486 | |
3487 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
3488 Sparse-C.cc: New files. | |
3489 * Makefile.in (TI_SRC): Add them to the list. | |
3490 | |
5149 | 3491 2005-02-18 John W. Eaton <jwe@octave.org> |
3492 | |
3493 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
3494 Pass current directory to octave_env::make_absolute. | |
3495 Save value returned from octave_env::make_absolute in local var. | |
3496 Pass const char*, not std::string as first arg of resolvepath. | |
3497 Provide decl for resolved_len. | |
3498 | |
5148 | 3499 2005-02-18 John W. Eaton <jwe@octave.org> |
3500 | |
3501 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
3502 than number of dimenensions of permuted matrix. | |
3503 | |
3504 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
3505 * Array-util.cc (calc_permutated_idx): Likewise. | |
3506 | |
5139 | 3507 2005-02-10 David Bateman <dbateman@free.fr> |
3508 | |
3509 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
3510 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
3511 | |
5137 | 3512 2005-02-09 John W. Eaton <jwe@octave.org> |
3513 | |
5138 | 3514 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
3515 * file-ops.h: Provide decls. | |
3516 | |
5137 | 3517 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
3518 | |
5136 | 3519 2005-02-08 John W. Eaton <jwe@octave.org> |
3520 | |
3521 * Array-util.cc (freeze): Improve error message. | |
3522 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3523 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 3524 |
5121 | 3525 * Array.cc (Array<T>::insert): Handle generic case, not just |
3526 special case for fast concatenation. | |
5120 | 3527 |
5110 | 3528 2005-01-18 John W. Eaton <jwe@octave.org> |
3529 | |
3530 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
3531 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
3532 | |
3533 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
3534 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
3535 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3536 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 3537 |
3538 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
3539 Modify calculation of number elements to skip between copied blocks. | |
3540 | |
3541 2005-01-18 John W. Eaton <jwe@octave.org> | |
3542 | |
3543 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
3544 error handler, to warn about resizing. | |
3545 | |
5105 | 3546 2004-12-27 Martin Dalecki <martin@dalecki.de> |
3547 | |
3548 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
3549 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
3550 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
3551 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
3552 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
3553 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
3554 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
3555 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
3556 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
3557 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
3558 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
3559 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
3560 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
3561 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
3562 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
3563 Delete #pragma implementation. | |
3564 | |
3565 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
3566 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
3567 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
3568 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
3569 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
3570 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3571 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3572 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3573 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3574 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3575 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3576 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3577 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3578 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3579 Delete #pragma interface. | |
3580 | |
5098 | 3581 2004-12-17 John W. Eaton <jwe@octave.org> |
3582 | |
3583 * lo-cieee.c (lo_ieee_signbit): New function. | |
3584 * lo-ieee.h: Provide decl. | |
3585 Don't define lo_ieee_signbit as a macro here. | |
3586 From Orion Poplawski <orion@cora.nwra.com>. | |
3587 | |
5085 | 3588 2004-11-18 John W. Eaton <jwe@octave.org> |
3589 | |
3590 * int32NDArray.cc (pow): Delete instantiation. | |
3591 * int16NDArray.cc (pow): Likewise. | |
3592 * int8NDArray.cc (pow): Likewise. | |
3593 * uint32NDArray.cc (pow): Likewise. | |
3594 * uint16NDArray.cc (pow): Likewise. | |
3595 * uint8NDArray.cc (pow): Likewise. | |
3596 | |
5081 | 3597 2004-11-17 John W. Eaton <jwe@octave.org> |
3598 | |
5085 | 3599 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3600 Now static. | |
3601 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3602 DEFAULT_TEXMFDBS): Delete unused macros. | |
3603 | |
5081 | 3604 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3605 if idx_arg is N-d. | |
3606 | |
5073 | 3607 2004-11-09 David Bateman <dbateman@free.fr> |
3608 | |
3609 * dNDArray.cc (concat): Delete. | |
3610 (NDArray::concat): New methods. | |
3611 * dNDArray.h: Provide decls. | |
3612 | |
3613 * CNDArray.cc (concat): Delete. | |
3614 (ComplexNDArray::concat): New methods. | |
3615 * CNDArray.h: Provide decls. | |
3616 | |
3617 * boolNDArray.cc (concat): Delete. | |
3618 (boolNDArray::concat): New methods. | |
3619 * boolNDArray.h: Provide decls. | |
3620 | |
3621 * chNDArray.cc (concat): Delete. | |
3622 (charNDArray::concat): New methods. | |
3623 * chNDArray.h: Provide decls. | |
3624 | |
3625 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3626 Delete macros. | |
3627 | |
3628 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3629 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3630 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3631 | |
3632 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3633 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3634 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3635 | |
3636 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3637 * intNDArray.h: Provide decl. | |
3638 | |
5072 | 3639 2004-11-08 John W. Eaton <jwe@octave.org> |
3640 | |
3641 * oct-inttypes.cc: New file. | |
3642 * Makefile.in (TI_SRC): Add it to the list. | |
3643 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3644 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3645 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3646 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3647 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3648 New macros for comparison operations. Avoid potential | |
3649 problems with default conversions when comparing signed and | |
3650 unsigned values. | |
3651 | |
5061 | 3652 2004-11-03 John W. Eaton <jwe@octave.org> |
3653 | |
3654 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3655 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3656 | |
5052 | 3657 2004-10-19 John W. Eaton <jwe@octave.org> |
3658 | |
3659 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3660 | |
5047 | 3661 2004-10-18 John W. Eaton <jwe@octave.org> |
3662 | |
3663 * Array.cc (assign2): Save result of squeeze operation. | |
3664 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3665 | |
5095 | 3666 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3667 |
3668 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3669 flag whether transform in- or out-of-place. | |
3670 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3671 (octave_fftw_planner::create_plan): Use it. | |
3672 | |
5039 | 3673 2004-09-24 John W. Eaton <jwe@octave.org> |
3674 | |
3675 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3676 any empty matrix, not just []. | |
3677 | |
5030 | 3678 2004-09-23 John W. Eaton <jwe@octave.org> |
3679 | |
3680 * mx-ops: Include scalar zero value in type definitions. | |
3681 Delete zero information from ops section. | |
3682 * mk-ops.awk: Use type-specific zero info. | |
3683 | |
3684 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3685 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3686 LHS and RHS. | |
3687 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3688 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3689 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3690 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3691 | |
3692 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3693 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3694 tree_to_mat_idx. | |
3695 | |
3696 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3697 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3698 Likewise for the "if (b_val & one)" test. | |
3699 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3700 | |
5029 | 3701 2004-09-23 David Bateman <dbateman@free.fr> |
3702 | |
3703 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3704 New macros. Use them to define mixed intX-double and double-intX ops. | |
3705 | |
5021 | 3706 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3707 | |
3708 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3709 Fix doc string layout to avoid overfull hbox in printed output. | |
3710 | |
5015 | 3711 2004-09-21 John W. Eaton <jwe@octave.org> |
3712 | |
3713 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3714 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3715 For "native", set actual native format. | |
3716 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3717 | |
5008 | 3718 2004-09-17 David Bateman <dbateman@free.fr> |
3719 | |
3720 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3721 calculation of the unitary matrix optional. | |
3722 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3723 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3724 | |
4998 | 3725 2004-09-15 David Bateman <dbateman@free.fr> |
3726 | |
3727 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3728 New function to set the comparison function for the sort. | |
3729 | |
4985 | 3730 2004-09-10 John W. Eaton <jwe@octave.org> |
3731 | |
3732 * lo-mappers.cc (xround): Fix typo. | |
3733 | |
4979 | 3734 2004-09-08 John W. Eaton <jwe@octave.org> |
3735 | |
3736 * Array.h (Array::~Array): Declare virtual. | |
3737 | |
3738 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3739 initializaion list. Don't set rep->count since the rep | |
3740 constructor does that. | |
3741 | |
4968 | 3742 2004-09-07 John W. Eaton <jwe@octave.org> |
3743 | |
4970 | 3744 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3745 (oct_data_conv::data_type_as_string): Likewise. | |
3746 | |
3747 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3748 | |
4968 | 3749 * Range.cc (round): Delete unused function. |
3750 | |
3751 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3752 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3753 | |
3754 * oct-inttypes.h: Include <cmath> here. | |
3755 | |
4964 | 3756 2004-09-03 David Bateman <dbateman@free.fr> |
3757 | |
3758 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3759 New functions for boolean matrix concatenation. | |
3760 * boolNDArray.h: Provide decls. | |
3761 | |
4963 | 3762 2004-09-03 John W. Eaton <jwe@octave.org> |
3763 | |
4964 | 3764 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3765 to avoid signed/unsigned int comparison problems. | |
3766 | |
3767 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3768 for mixed integer and double types. | |
3769 | |
3770 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3771 separately, and only if needed. | |
3772 | |
4963 | 3773 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3774 static_cast for type conversion. | |
3775 | |
4953 | 3776 2004-09-01 John W. Eaton <jwe@octave.org> |
3777 | |
3778 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3779 operator /): Handle mixed integer/double ops. If op generates a | |
3780 NaN, set result to 0. | |
3781 (octave_int::operator - (void)): Convert to double, then negate, | |
3782 then fit to range. | |
3783 | |
3784 * mx-ops: Define integer types. Include declarations for mixed | |
3785 integer/double ops. | |
3786 | |
4952 | 3787 2004-08-31 John W. Eaton <jwe@octave.org> |
3788 | |
3789 * oct-inttypes.h (pow): Args now const reference. | |
3790 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3791 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3792 New member functions. | |
3793 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3794 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3795 Define in terms of >>=. | |
3796 (operator << (const octave_int<T1>& x, const T2& y)): | |
3797 Define in terms of <<=. | |
3798 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3799 we get proper saturation properties. | |
3800 | |
3801 2004-08-31 David Bateman <dbateman@free.fr> | |
3802 | |
3803 * oct-inttypes.h (pow (constT, T)): New template. | |
3804 | |
3805 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3806 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3807 | |
4949 | 3808 2004-08-31 John W. Eaton <jwe@octave.org> |
3809 | |
3810 * oct-inttypes.h (octave_int::byte_size): New function. | |
3811 | |
4944 | 3812 2004-08-31 John W. Eaton <jwe@octave.org> |
3813 | |
4946 | 3814 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3815 | |
4944 | 3816 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3817 Explicitly number enum elements. | |
3818 | |
3819 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3820 std::string&, int&, oct_data_conv::data_type&, | |
3821 oct_data_conv::data_type&)): New function. | |
3822 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3823 oct_data_conv::data_type&)): New function. | |
3824 (oct_data_conv::data_type_as_string): New function. | |
3825 | |
3826 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3827 (write_int, do_write, Matrix::write): Delete. | |
3828 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3829 | |
3830 * byte-swap.h: Use template functions and specialization. | |
3831 Change all uses. | |
3832 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3833 | |
4943 | 3834 2004-08-30 John W. Eaton <jwe@octave.org> |
3835 | |
3836 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3837 specializations to avoid warnings about signed/unsigned comparisons. | |
3838 | |
3839 2004-08-28 John W. Eaton <jwe@octave.org> | |
3840 | |
3841 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3842 size_t, int, oct_mach_info::float_format)): New function. | |
3843 (GET_SIZED_INT_TYPE): New macro. | |
3844 (string_to_data_type): Use it to return sized types corresponding | |
3845 to Octave array data types. | |
3846 (strip_spaces): New function. | |
3847 (do_double_format_conversion, do_float_format_conversion): Pass | |
3848 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3849 float format. | |
3850 (do_double_format_conversion, | |
3851 IEEE_big_double_to_IEEE_little_double, | |
3852 VAX_D_double_to_IEEE_little_double, | |
3853 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3854 IEEE_little_double_to_IEEE_big_double, | |
3855 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3856 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3857 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3858 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3859 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3860 Cray_to_VAX_G_double): | |
3861 Pass data as void*, not double*. | |
3862 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3863 VAX_D_float_to_IEEE_little_float, | |
3864 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3865 IEEE_little_float_to_IEEE_big_float, | |
3866 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3867 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3868 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3869 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3870 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3871 Cray_to_VAX_G_float): | |
3872 Pass data as void*, not float*. | |
3873 | |
3874 2004-08-27 John W. Eaton <jwe@octave.org> | |
3875 | |
3876 * byte-swap.h (swap_bytes): New template versions, with | |
3877 specializations. | |
3878 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3879 Change all uses. | |
3880 | |
4940 | 3881 2004-08-24 David Bateman <dbateman@free.fr> |
3882 | |
3883 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3884 empty instead of checking final matrix. | |
3885 * dNDArray.cc (concat): Likewise. | |
3886 * CNDArray.cc (concat): Likewise. | |
3887 | |
3888 2004-08-23 David Bateman <dbateman@free.fr> | |
3889 | |
3890 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3891 non-existent dimensions. | |
3892 | |
4938 | 3893 2004-08-09 John W. Eaton <jwe@octave.org> |
3894 | |
3895 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3896 (const octave_int<U>&)): New member function. | |
3897 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3898 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3899 Now member functions instead of static in idx-vector.cc. | |
3900 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3901 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3902 New template constructors. | |
3903 | |
4932 | 3904 2004-08-05 John W. Eaton <jwe@octave.org> |
3905 | |
4933 | 3906 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3907 | |
4932 | 3908 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3909 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3910 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3911 | |
4929 | 3912 2004-08-03 John W. Eaton <jwe@octave.org> |
3913 | |
3914 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3915 arrays with more than two dimensions and only one non-singleton | |
3916 dimension, return a column vector. | |
3917 | |
4921 | 3918 2004-07-28 John W. Eaton <jwe@octave.org> |
3919 | |
3920 * oct-cmplx.h (pow (const Complex&, const double&): | |
3921 Convert second arg to complex to avoid libstdc++ bug. | |
3922 | |
4920 | 3923 2004-07-27 John W. Eaton <jwe@octave.org> |
3924 | |
3925 * oct-inttypes.h (bitshift): New arg, MASK. | |
3926 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3927 | |
4916 | 3928 2004-07-23 John W. Eaton <jwe@octave.org> |
3929 | |
3930 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3931 | |
4915 | 3932 2004-07-23 David Bateman <dbateman@free.fr> |
3933 | |
3934 * Array.cc, Array.h (cat_ra): Delete. | |
3935 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3936 (INSTANTIATE_ARRAY_CAT): Delete. | |
3937 | |
3938 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3939 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3940 | |
3941 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3942 | |
3943 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3944 chNDArray.h (concat): New function used for concatenation that does | |
3945 an indexed copy of one array into another. | |
3946 | |
3947 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3948 | |
3949 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3950 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3951 insertion of one NDArray into another. | |
3952 | |
3953 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3954 macros to define the int/uint concatenation functions. | |
3955 | |
3956 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3957 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3958 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3959 | |
3960 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3961 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3962 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3963 functions. | |
3964 | |
4911 | 3965 2004-07-22 David Bateman <dbateman@free.fr> |
3966 | |
3967 * oct-sort.h: Don't include oct-obj.h. | |
3968 | |
3969 * lo-specfun.cc (is_integer_value): New function. | |
3970 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3971 integer orders that cause overflow for small arguments. | |
3972 | |
4909 | 3973 2004-07-12 John W. Eaton <jwe@octave.org> |
3974 | |
3975 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3976 (bitshift (const octave_int<T>&, int)): New function. | |
3977 | |
4902 | 3978 2004-06-14 John W. Eaton <jwe@octave.org> |
3979 | |
3980 * mx-base.h: Include headers for new int types. | |
3981 | |
3982 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3983 NDArray::NDArray (const charNDArray&)): Delete. | |
3984 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3985 constructor. | |
3986 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3987 | |
3988 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3989 return type conversion. | |
3990 | |
3991 * ComplexNDArray.h, ComplexNDArray.cc | |
3992 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3993 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3994 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3995 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3996 | |
3997 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3998 | |
3999 * MArrayN.h: | |
4000 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
4001 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
4002 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
4003 New constructors. | |
4004 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4005 ArrayN<T>::squeeze): | |
4006 New forwarding functions for return type conversion. | |
4007 | |
4008 * ArrayN.h: | |
4009 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
4010 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
4011 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
4012 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
4013 const dim_vector&)): New constructors. | |
4014 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
4015 ArrayN<T>::transpose): | |
4016 New forwarding functions for return type conversion. | |
4017 | |
4018 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
4019 New constructor. | |
4020 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
4021 | |
4022 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
4023 | |
4024 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
4025 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
4026 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
4027 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
4028 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
4029 * Makefile.in: Add them to the appropriate lists. | |
4030 | |
4899 | 4031 2004-06-04 John W. Eaton <jwe@octave.org> |
4032 | |
4033 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
4034 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
4035 resize op. Change all uses. | |
4036 | |
4898 | 4037 2004-06-03 David Bateman <dbateman@free.fr> |
4038 | |
4039 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
4040 greater than the existing number of dimensions in lvalue. | |
4041 | |
4887 | 4042 2004-04-30 David Bateman <dbateman@free.fr> |
4043 | |
4044 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
4045 New arg, fill_value. | |
4046 (dim_vector::resize): Allow optional fill_value argument. | |
4047 | |
4048 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4049 Don't chop trailing dimensions of Array<idx_vector> if there is | |
4050 more than one element in idx_vector. Resize the return value to | |
4051 the size of Array<idx_vector>. | |
4052 | |
4053 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
4054 idx_vector that is shorter than a dim_vector. | |
4055 | |
4882 | 4056 2004-04-23 John W. Eaton <jwe@octave.org> |
4057 | |
4058 * oct-sort.cc: Don't include oct-obj.h. | |
4059 | |
4876 | 4060 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4061 | |
4062 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
4063 Don't set invalid dimensions on return value. | |
4064 | |
4871 | 4065 2004-04-21 John W. Eaton <jwe@octave.org> |
4066 | |
4067 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
4068 | |
4850 | 4069 2004-04-06 David Bateman <dbateman@free.fr> |
4070 | |
4870 | 4071 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
4072 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
4073 Make their behavior equivalent except for filling vs. not filling. | |
4074 | |
4850 | 4075 * oct-sort.cc: New template class for arbitrary sorting. |
4076 * oct-sort.h: Declaration of sort class. | |
4077 * Makefile: Add them to the appropriate lists. | |
4078 | |
4845 | 4079 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4080 | |
4081 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
4082 | |
4844 | 4083 2004-04-02 David Bateman <dbateman@free.fr> |
4084 | |
4085 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
4086 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 4087 New N-d array versions. |
4844 | 4088 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
4089 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
4090 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
4091 | |
4092 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
4093 New functions. | |
4094 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
4095 | |
4096 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4097 New functions. | |
4098 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
4099 Provide decls. | |
4100 | |
4842 | 4101 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
4102 | |
4103 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
4104 work vector, not just when using a numerical Jacobian. | |
4105 | |
4834 | 4106 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4107 | |
4835 | 4108 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
4109 Omit empty result args. | |
4110 | |
4834 | 4111 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
4112 Move here from Array.h, check that size of array arg is not | |
4113 smaller than the size defined by the new dimensions. | |
4114 | |
4832 | 4115 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4116 | |
4117 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
4118 a scalar or vector with an N-d array. | |
4119 | |
4826 | 4120 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4121 | |
4828 | 4122 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
4123 matrix, return object that is the same size as the index. | |
4124 | |
4826 | 4125 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
4126 Eliminate MT_RESULT args. Return value is always size of args. | |
4127 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
4128 Eliminate EMPTY_RESULT arg. | |
4129 Return value is always size of matrix or N-d array arg. | |
4130 (TBM, FBM, NBM): Delete unused macros. | |
4131 | |
4821 | 4132 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4133 | |
4134 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
4135 if all LHS dimensions are zero. For one index case, freeze and | |
4136 sort idx_vec before checking length, and do nothing if | |
4137 num_to_delete is zero. | |
4822 | 4138 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 4139 |
4816 | 4140 2004-03-04 David Bateman <dbateman@free.fr> |
4141 | |
4142 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
4143 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
4144 | |
4811 | 4145 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
4146 | |
4147 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
4148 element. | |
4149 | |
4150 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4151 | |
4152 * Range.h (Range::Range): Add cache to member initialization list. | |
4153 (Range::clear_cache): New private function. | |
4154 | |
4155 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
4156 Use clear cache. Don't do anything if range does not change. | |
4157 * Range.cc (Range::sort): Likewise. | |
4158 | |
4810 | 4159 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
4160 | |
4161 * Range.cc (Range::matrix_value): Cache result. | |
4162 (Range::sort): Clear cache. | |
4163 * Range.h (Range::cache): New data member. | |
4164 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
4165 (Range::print_range): Delete. | |
4808 | 4166 |
4167 2004-03-02 David Bateman <dbateman@free.fr> | |
4168 | |
4169 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
4170 changes between them. Faster for small fft's. | |
4171 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
4172 New member variables. | |
4173 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
4174 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
4175 Change all uses. | |
4176 (CHECK_SIMD_ALIGNMENT): New macro. | |
4177 (octave_fftw_planner::create_plan): Use it. | |
4178 | |
4806 | 4179 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
4180 | |
4181 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
4182 | |
4183 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
4184 | |
4185 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
4186 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
4187 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
4188 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
4189 | |
4190 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
4191 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
4192 | |
4800 | 4193 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4194 | |
4802 | 4195 * oct-rl-edit.c (octave_rl_set_startup_hook, |
4196 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
4197 octave_rl_get_event_hook): Omit casts. | |
4198 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
4199 Return value for function pointer typedef is now int. | |
4200 * cmd-edit.h (command_editor::startup_hook_fcn, | |
4201 command_editor::event_hook_fcn): Likewise. | |
4202 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
4203 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
4204 Return type is now int. Return 0. | |
4205 | |
4800 | 4206 * EIG.cc (EIG::init, EIG::symmetric_init): |
4207 Query Lapack for workspace size. | |
4208 | |
4796 | 4209 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4210 | |
4211 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
4212 Fix thinko in extending dimensions. | |
4213 | |
4791 | 4214 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4215 | |
4216 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
4217 Don't compute values beyond the limits of the range. | |
4218 (operator << (std::ostream&, const Range&)): Likewise. | |
4219 | |
4786 | 4220 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4221 | |
4788 | 4222 * oct-fftw.cc (octave_fftw_planner::create_plan): |
4223 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
4224 From Paul Kienzle <pkienzle@users.sf.net>. | |
4225 | |
4786 | 4226 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
4227 Rename from Array<T>::insert. | |
4228 (Array<T>::insert2 (const Array<T>&, int, int)): | |
4229 Reinstate old Array<T>::insert function under this name. | |
4230 (Array<T>::insert (const Array<T>&, int, int)): | |
4231 New function. Dispatch to insert2 or insertN as appropriate. | |
4232 | |
4785 | 4233 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4234 | |
4235 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4236 Sprinkle with OCTAVE_QUIT. | |
4237 | |
5095 | 4238 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 4239 |
4240 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
4241 Add support for FFTW 3.x. Include the ability to | |
4242 use the real to complex transform for fft's of real matrices | |
4243 (octave_fftw_planner::create_plan2d): Delete. | |
4244 (octave_fftw::fft2d): Delete. | |
4245 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
4246 New static functions. | |
4247 * oct-fftw.h: Update decls. | |
4248 | |
4249 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
4250 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
4251 transforms. 1D FFT of a matrix done as single call rather than | |
4252 loop. Update for FFTW 3.x | |
4253 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
4254 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
4255 matrix done as single call rather than loop. Update for FFTW 3.x. | |
4256 | |
4257 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
4258 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
4259 functions for Nd arrays. | |
4260 * dNArray.h Provide decls. | |
4261 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
4262 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
4263 fourier transform functions for complex Nd arrays. | |
4264 * CNArray.h: Provide decls. | |
4265 | |
4765 | 4266 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
4267 | |
4268 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
4269 Make it work for N-d arrays. | |
4270 | |
4271 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
4272 New function. | |
4273 | |
4274 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
4275 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
4276 New functions. | |
4277 * CNDArray.h: Provide decls. | |
4278 | |
4759 | 4279 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4280 | |
4760 | 4281 * Makefile.in (LINK_DEPS): Always define. |
4282 | |
4759 | 4283 * Array.cc (Array<T>::squeeze): Always return an array with at |
4284 least two dimensions. | |
4285 | |
4758 | 4286 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4287 | |
4288 * mx-inlines.cc (MX_ND_CAT): New macro. | |
4289 * dNDArray.cc (NDArray::cat): New function. | |
4290 * dNDArray.h: Provide decls. | |
4291 * CNDArray.cc (complexNDArray::cat): New function. | |
4292 * CNDArray.h: Provide decls. | |
4293 * chNDArray.cc (charNDArray::cat): New function. | |
4294 * chNDArray.h: Provide decls. | |
4295 | |
4756 | 4296 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4297 | |
4298 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
4299 (Array<T>assign2): Also call maybe_delete_elements for single | |
4300 index when rows and columns or LHS are both greater than 1. | |
4301 | |
4755 | 4302 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
4303 | |
4304 * Array.cc (Array<T>::maybe_delete_elements): | |
4305 Check for index out of bounds. Handle one index. | |
4306 | |
4307 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
4308 dim_vector (0) to create empty return vector. | |
4309 | |
4749 | 4310 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4311 | |
4312 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
4313 non-empty LHS when the number of lhs dimensions is less than the | |
4314 number of indices. Detect error if attempting to resize non-empty | |
4315 LHS with colon indices. | |
4316 | |
4745 | 4317 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4318 | |
4747 | 4319 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
4320 values unless the length of the new array is greater than 0. | |
4321 (Array<T>::resize_no_fill): Likewise. | |
4322 | |
4323 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
4324 is equal to dimensions(i). | |
4325 | |
4326 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
4327 get_zero_len_size, number_of_elements): | |
4328 Delete unused functions. | |
4329 | |
4330 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
4331 number_of_elements function. | |
4332 * Array.cc (Array<T>::indexN): Likewise. | |
4333 | |
4334 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
4335 of equal_arrays function. | |
4336 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
4337 dim_vector::any_zero instead of any_zero_len function. | |
4338 | |
4339 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
4340 Don't skip reshaping and resizing if RHS is empty. | |
4341 | |
4746 | 4342 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
4343 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 4344 Delete unused variables is_colon and is_colon_equiv. |
4746 | 4345 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
4346 LHS is not yet defined. | |
4745 | 4347 Error for resizing if number of indices is less than number of LHS |
4348 dimensions. | |
4349 | |
4746 | 4350 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
4351 Fortran-style indexing. | |
4352 | |
4743 | 4353 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4354 | |
4355 * Array.cc (Array<T>::assignN): Simplify. | |
4356 Allow assignments to succeed if number if indices is less than the | |
4357 number of RHS dimensions. | |
4358 | |
4738 | 4359 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4360 | |
4741 | 4361 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
4362 when number of indices is less than number of dimensions. | |
4363 | |
4364 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
4365 Remove unsued variable lhs_inc. | |
4366 | |
4740 | 4367 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
4368 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
4369 | |
4370 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
4371 | |
4738 | 4372 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
4373 == n_dims before checking to see if all indices are colon_equiv. | |
4374 | |
4736 | 4375 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4376 | |
4377 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
4378 deleting elements. | |
4737 | 4379 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
4380 at least ndims elements. | |
4736 | 4381 |
4735 | 4382 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
4383 | |
4384 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
4385 oriented differently from the index. | |
4386 | |
4387 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
4388 least two dimensions. | |
4389 | |
4733 | 4390 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4391 | |
4735 | 4392 * dim-vector.h (dim_vector::squeeze): New function. |
4393 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
4394 deciding whether the assignment conforms. | |
4395 | |
4733 | 4396 * Array.cc (Array<T>::assignN): Simplify dimension check by |
4397 comparing rhs_dims and frozen_len sans trailing singletons. | |
4398 | |
4732 | 4399 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4400 | |
4401 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
4402 Call error handler and return conversion_error == true if arg is | |
4403 not integer. | |
4404 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
4405 | |
4730 | 4406 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4407 | |
4408 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
4409 reference arg const. | |
4410 | |
4411 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4412 | |
4413 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
4414 | |
4729 | 4415 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
4416 | |
4417 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
4418 Now bool, to match definition in Array-flags.cc. | |
4419 | |
4725 | 4420 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4421 | |
4726 | 4422 * file-ops.cc: Include <vector> instead of <memory> for new |
4423 definition of OCTAVE_LOCAL_BUFFER. | |
4424 | |
4725 | 4425 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
4426 New arg, calc_eigenvectors. | |
4427 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
4428 Based on patch from David Bateman <dbateman@free.fr>. | |
4429 | |
4716 | 4430 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4431 | |
4432 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
4433 For X(I) = RHS, don't restrict I to fewer elements than X. | |
4434 | |
4435 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
4436 | |
4711 | 4437 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4438 | |
4714 | 4439 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
4440 Simplify calculation of number of elements in retval. | |
4441 | |
4711 | 4442 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
4443 filling when RHS is scalar and dimension lengths agree. | |
4444 | |
4710 | 4445 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
4446 | |
4713 | 4447 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
4448 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 4449 |
4707 | 4450 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
4451 | |
4709 | 4452 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
4453 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 4454 |
4702 | 4455 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
4456 | |
4703 | 4457 * Array.h (Array<T>::chop_trailing_singletons): New function. |
4458 * Array.cc (Array<T>::assignN): Use it on LHS. | |
4459 | |
4460 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 4461 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 4462 Check for singleton dimensions where RHS is matrix or higher dimension. |
4463 Make sure index is in bounds. | |
4702 | 4464 |
4698 | 4465 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4466 | |
4467 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
4468 octave_NaN, and octav_NA values are always initialized. Check | |
4469 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
4470 to decide whether to do IEEE initialization. | |
4471 | |
4687 | 4472 2004-01-06 David Bateman <dbateman@free.fr> |
4473 | |
4474 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
4475 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
4476 ComplexNDArray::too_large_for_float): New functions | |
4477 | |
4478 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
4479 * CNDArray.h: Provide decls. | |
4480 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
4481 * dNDArray.h: Provide decls. | |
4482 | |
4673 | 4483 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4484 | |
4674 | 4485 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
4486 they are already defined in boolNDArray.cc. | |
4487 | |
4673 | 4488 * Array-util.cc (get_zero_len_size): Delete. |
4489 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
4490 Handle zero-length result dimensions the same as empty original | |
4491 indices. | |
4492 | |
4493 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4494 | |
4495 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
4496 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
4497 New functions. | |
4498 * Array.cc (ArrayN<T>::indexN): Use it. | |
4499 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
4500 | |
4669 | 4501 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4502 | |
4503 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
4504 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
4505 | |
4506 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4507 | |
4508 * mk-ops.awk: Also emit #include "Array-util.h". | |
4509 | |
4510 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
4511 Add bnda x bnda, b x bnda, and bnda x b ops. | |
4512 | |
4513 * MArray-misc.cc: Delete. | |
4514 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
4515 | |
4516 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
4517 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
4518 | |
4655 | 4519 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4520 | |
4663 | 4521 * dbleQR.cc (QR::init): Use separate pwork pointers. |
4522 * CmplxQR.cc (ComplexQR::init): Likewise. | |
4523 | |
4524 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
4525 two-arg getgrnam version. | |
4526 | |
4657 | 4527 * Array.cc (assignN): Allow single indexing to work. |
4661 | 4528 (Array<T>::range_error (const char*, const Array<int>&)): |
4529 Report index values. | |
4530 | |
4531 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 4532 * ODESSA.cc (odessa_j): Likewise. |
4533 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
4534 * DASPK.cc (ddaspk_psol): Likewise. | |
4535 * lo-mappers.cc (imag): Likewise. | |
4663 | 4536 * Array-util.cc (get_zero_len_size): Likewise. |
4537 * kpse.cc (path_search, path_find_first_of): Likewise. | |
4538 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 4539 |
4655 | 4540 * dim-vector.h (dim_vector::all_ones): New function. |
4541 | |
4646 | 4542 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4543 | |
4653 | 4544 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
4545 zeros, not orig_rows or orig_columns. | |
4546 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
4547 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
4548 | |
4549 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
4550 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
4551 | |
4552 * idx-vector.cc (idx_vector::idx_vector_rep): | |
4553 Use initialization lists for constructors. | |
4554 | |
4651 | 4555 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
4556 Omit special case for ra_idx.capacity () == 1. | |
4557 Always allow single index for matrix args with optional warning. | |
4558 | |
4650 | 4559 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
4560 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
4561 | |
4648 | 4562 * Array-so.cc: New file. Move instantiations here from so-array.h. |
4563 * Makefile.in (TI_SRC): Add it to the list. | |
4564 | |
4646 | 4565 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
4566 type and the names of the left and right operands. Change all uses. | |
4567 | |
4568 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
4569 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
4570 | |
4645 | 4571 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4572 | |
4573 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4574 just length. | |
4575 | |
4576 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4577 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4578 non-dependent member functions and data as needed. | |
4579 | |
4580 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4581 | |
4582 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4583 * Array3.h (Array3<T>::operator =): Likewise. | |
4584 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4585 Include Array.h, not Array2.h. | |
4586 | |
4634 | 4587 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4588 | |
4636 | 4589 * str-vec.cc (list_in_columns): Fix previous change. |
4590 | |
4635 | 4591 * dim-vector.h (dim_vector::num_ones): New function. |
4592 * Array.cc (maybe_delete_elements): Use it instead of | |
4593 num_ones (const Array<int>&). | |
4594 | |
4595 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4596 | |
4634 | 4597 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4598 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4599 New functions. | |
4600 * dNDArray.h: Provide decls. | |
4601 | |
4602 * dMatrix.h (Matrix::any_element_is_negative, | |
4603 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4604 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4605 Simplify. | |
4606 | |
4607 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4608 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4609 | |
4610 * dNDArray.cc (real, imag): New functions. | |
4611 * dNDArray.h: Provide decls. | |
4612 | |
4630 | 4613 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4614 | |
4615 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4616 | |
4625 | 4617 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4618 | |
4619 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4620 * MArray.h (resize): Delete. | |
4621 * MArray2.h (resize): Delete. | |
4622 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4623 * ODESSA (ODESSA::integrate): Likewise. | |
4624 | |
4616 | 4625 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4626 | |
4627 * Makefile.in (dist): Depend on stamp-prereq. | |
4628 | |
4605 | 4629 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4630 | |
4631 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4632 Kluge to make it work. | |
4604 | 4633 |
4634 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4635 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4636 | |
4637 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4638 default_command_editor::do_generate_filename_completions, | |
4639 command_editor::generate_filename_completions): New functions. | |
4640 * cmd-edit.h: Provide decls. | |
4641 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4642 function. | |
4643 * oct-rl-edit.h: Provide decl. | |
4644 | |
4593 | 4645 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4646 | |
4594 | 4647 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4648 INSTANTIATE_ARRAY): New macros. | |
4649 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4650 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4651 | |
4593 | 4652 * Array.h (Array<T>::ipermute): New function. |
4653 | |
4654 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4655 | |
4656 * Array.cc (Array<T>::permute): New function. | |
4657 * Array.h: Provide decl. | |
4658 | |
4659 * Array-util.cc (calc_permutated_idx): New function. | |
4660 * Array-util.h: Provide decl. | |
4661 | |
4587 | 4662 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4663 | |
4592 | 4664 * Array.cc (Array<T>::index2): Return value has orientation of |
4665 indexed value if indexing a vector with a bool matrix. | |
4666 | |
4589 | 4667 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4668 | |
4588 | 4669 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4670 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4671 | |
4672 * ArrayN-inline.h: Delete. | |
4673 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4674 * Makefile.in: Fix the appropriate lists. | |
4675 | |
4587 | 4676 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4677 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4678 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4679 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4680 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4681 Avoid -Wshadow warnings. | |
4682 | |
4683 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4684 |
4685 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4686 | |
4687 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4688 | |
4689 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4690 | |
4691 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4692 | |
4584 | 4693 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4694 | |
4695 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4696 | |
4697 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4698 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4699 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4700 Return NDArray. Handle N-d arrays. | |
4701 | |
4575 | 4702 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4703 | |
4583 | 4704 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4705 that upcase Fortran names by calling dlsode instead of lsode. | |
4706 | |
4707 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4708 that upcase Fortran names by calling dodessa instead of odessa. | |
4709 | |
4577 | 4710 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4711 non-const args for symlink system call. | |
4712 (file_ops::readlink): Likewise, for readlink. | |
4713 | |
4575 | 4714 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4715 | |
4574 | 4716 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4717 | |
4718 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4719 Change all uses. | |
4720 | |
4569 | 4721 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4722 | |
4723 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4724 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4725 * dNDArray.h: Provide decls. | |
4726 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4727 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4728 ComplexNDArray::abs): New functions. | |
4729 * CNDArray.h: Provide decls. | |
4730 | |
4731 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4732 Generalize to handle other reduction operations. | |
4733 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4734 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4735 | |
4565 | 4736 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4737 | |
4567 | 4738 * Array.cc (Array<T>::reshape): New function. |
4739 * Array.h: Provide decl. | |
4740 | |
4741 * dim-vector.h (dim_vector::numel): New function. | |
4742 | |
4565 | 4743 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4744 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4745 | |
4559 | 4746 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4747 | |
4748 * dim-vector.h (dim_vector::any_zero): New function. | |
4749 (dim_vector::str): New default arg, sep. | |
4750 | |
4751 * Array.h (Array<T>::numel): New function. | |
4752 | |
4556 | 4753 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4754 | |
4755 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4756 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4757 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4758 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4759 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4760 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4761 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4762 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4763 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4764 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4765 | |
4552 | 4766 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4767 | |
4553 | 4768 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4769 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4770 | |
4552 | 4771 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4772 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4773 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4774 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4775 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4776 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4777 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4778 Use new F77 arg macros in declarations of external Fortran | |
4779 subroutines and for calling them. | |
4780 | |
4548 | 4781 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4782 | |
4783 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4784 Allow number of dimensions to change. | |
4785 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4786 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4787 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4788 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4789 (Array<T>::transpose): Require ndims to be 2. | |
4790 (Array<T>::index2): Likewise. | |
4791 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4792 (Array<T>::maybe_delete_elements_2): Likewise. | |
4793 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4794 (Array<T>::index1): Use resize_and_fill. | |
4795 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4796 | |
4797 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4798 | |
4799 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4800 (MArray2<T>::resize (int, int, const T&)): New function. | |
4801 | |
4802 * MArray.h (MArray<T>::resize (int)): New function. | |
4803 (MArray<T>::resize (int, const T&)): New function. | |
4804 | |
4805 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4806 | |
4807 * DASPK-opts.in: Use single-arg resize for initial condition | |
4808 heuristics. | |
4809 | |
4810 * dim-vector.h (class dim_vector): Now reference counted. | |
4811 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4812 | |
4544 | 4813 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4814 | |
4545 | 4815 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4816 | |
4544 | 4817 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4818 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4819 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4820 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4821 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4822 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4823 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4824 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4825 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4826 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4827 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4828 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4829 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4830 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4831 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4832 files are now automatically generated. | |
4833 | |
4834 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4835 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4836 Add rules to generate these files and mx-ops.h. | |
4837 (stamp-prereq): Depend on these files. | |
4838 | |
4839 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4840 * Makefile.in (DISTFILES): Add them to the list. | |
4841 | |
4543 | 4842 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4843 | |
4844 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4845 NDArray::NDArray (const charNDArray)): New constructors. | |
4846 (NDArray::operator !): New function. | |
4847 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4848 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4849 | |
4850 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4851 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4852 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4853 New constructors. | |
4854 (ComplexNDArray::operator !): New function. | |
4855 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4856 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4857 | |
4858 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4859 | |
4860 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4861 Provide NDND_CMP_OPS. | |
4862 | |
4863 * MArrayN.cc (operator +=, operator -=): New functions. | |
4864 Provide product and quotient functions. | |
4865 | |
4866 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4867 dim_vector&)): New function. | |
4868 | |
4869 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4870 operator ==, operator !=): New functions. | |
4871 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4872 | |
4873 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4874 No need to save old dimensions. | |
4875 | |
4876 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4877 (octave_rand::nd_array): New function. | |
4878 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4879 | |
4880 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4881 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4882 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4883 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4884 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4885 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4886 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4887 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4888 NDND_OP_DECLS): New macros. | |
4889 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4890 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4891 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4892 | |
4893 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4894 boolNDArray, class charNDArray): New forward decls. | |
4895 | |
4534 | 4896 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4897 | |
4898 * Array.cc (assign2): No error (but don't do anything either) for | |
4899 expressions like x([],j) = scalar. | |
4900 | |
4532 | 4901 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4902 | |
4533 | 4903 * Array.cc (assignN): Allow lhs(:) = scalar. |
4904 | |
4532 | 4905 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4906 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4907 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4908 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4909 | |
4910 * dim-vector.h (rows, cols): Delete unused data members. | |
4911 | |
4912 * Array.cc (Array<T>::get_size): Fix thinko. | |
4913 | |
4914 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4915 | |
4916 * Array.cc (Array<T>::squeeze): New function. | |
4917 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4918 * dNDArray.h (NDArray::squeeze): Likewise. | |
4919 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4920 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4921 | |
4530 | 4922 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4923 | |
4924 * Array.cc (ArrayN<T>::indexN): New definition. | |
4925 * Array.h (Array<T>::indexN): Provide decl. | |
4926 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4927 Call indexN if more than 2 indices. | |
4928 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4929 Make it (mostly) work. | |
4930 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4931 New functions. | |
4932 | |
4527 | 4933 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4934 | |
4935 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4936 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4937 versions with eof arg. | |
4938 | |
4518 | 4939 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4940 | |
4941 * Array.h (dimensions): Now public. | |
4942 template <class LT, class RT> | |
4943 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4944 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4945 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4946 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4947 resize_no_fill (int), | |
4948 resize_no_fill (int, int), | |
4949 resize_no_fill (int, int, int), | |
4950 resize_no_fill (const dim_vector&), | |
4951 resize_and_fill (int, const T&), | |
4952 resize_and_fill (int, int, const T&), | |
4953 resize_and_fill (int, int, int, const T&), | |
4954 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4955 | |
4956 * Array.cc: Include <climits>. | |
4957 | |
4513 | 4958 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4959 | |
4517 | 4960 * Array.cc: Merge Array-idx.h. |
4961 * Array-idx.h: Delete. | |
4962 | |
4514 | 4963 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4964 | |
4513 | 4965 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4966 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4967 just special cases of the general purpose N-d Array object). | |
4968 | |
4969 * dim-vector.h: New file. Use dim_vector objects instead of | |
4970 ints or Array<int> objects to represent the size of Array | |
4971 objects. | |
4972 | |
4973 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4974 | |
4975 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4976 | |
4977 * mx-base.h: Include NDArray header files. | |
4978 | |
4979 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4980 | |
4981 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4982 Array-s.cc: Also instantiate ArrayN objects. | |
4983 Don't instantiate assign funcitons for Array2 objects. | |
4984 | |
4985 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4986 liboctave_error_handler, not cerr. | |
4987 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4988 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4989 * dMatrix.cc (Matrix::diag): Likewise. | |
4990 | |
4991 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4992 Omit checks for HEAVYWEIGHT_INDEXING. | |
4993 | |
4994 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4995 | |
4996 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4997 | |
4998 * CNDARray.h, CNDArray.cc: New files. | |
4999 * Makefile.in: Add them to the appropriate lists. | |
5000 | |
5001 * dNDArray.h: Rename from NDArray.h. | |
5002 * dNDArray.cc: Rename from NDArray.cc. | |
5003 * Makefile.in: Rename them here too. | |
5004 | |
4507 | 5005 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
5006 | |
5007 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
5008 | |
5009 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
5010 * Makefile.in: Add them to the appropriate lists. | |
5011 | |
5095 | 5012 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 5013 |
5014 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
5015 biry): Always request scaled results from AMOS functions and | |
5016 perform reverse scaling on results if scaled result not requested | |
5017 by user. | |
5018 | |
5019 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5020 | |
5021 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5022 | |
4505 | 5023 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5024 | |
5025 * Array-d.cc: Instantiate assign functions. | |
5026 | |
4504 | 5027 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
5028 | |
5029 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
5030 (get_elt_idx): Index ra_idx correctly. | |
5031 | |
5032 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
5033 bounds if it is exactly on the bound. | |
5034 | |
5035 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
5036 * ArrayN.h: Provide decl. | |
5037 | |
5038 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
5039 | |
5040 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
5041 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
5042 (idx_vector::orig_dimensions): New function. | |
5043 | |
4497 | 5044 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5045 | |
5046 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
5047 | |
4496 | 5048 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
5049 | |
5050 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
5051 (is_in, how_many_lgt, all_ones): New functions. | |
5052 | |
4493 | 5053 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5054 | |
5055 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
5056 | |
5057 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
5058 | |
5059 * ArrayN-inline.h: New file. | |
5060 (index_in_bounds, increment_index): Move here. | |
5061 * ArrayN.cc: From here. | |
5062 | |
5063 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
5064 * ArrayN-idx.h (assign): New function. | |
5065 | |
4490 | 5066 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5067 | |
5068 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
5069 Also zero imaginary part of result if real part of input value is | |
5070 zero. | |
5071 | |
4478 | 5072 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5073 | |
5074 * mx-base.h: Include ArrayN.h. | |
5075 | |
4476 | 5076 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
5077 | |
5078 * ArrayN.cc (operator <<): Corrected output. | |
5079 | |
4474 | 5080 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5081 | |
5082 * ArrayN.cc (increment_index): New arg, start_dimension. | |
5083 | |
5095 | 5084 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 5085 |
5086 * ArrayN.cc (operator <<): Improve output readability. | |
5087 | |
4493 | 5088 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 5089 |
5090 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
5091 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
5092 Initialize old_len before changing size. | |
5093 | |
4472 | 5094 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5095 | |
5096 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 5097 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 5098 |
4469 | 5099 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5100 | |
5101 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
5102 way. Handle NA in an R-compatible way. | |
5103 | |
5104 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
5105 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
5106 | |
5107 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
5108 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
5109 | |
5110 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
5111 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
5112 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
5113 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
5114 | |
4461 | 5115 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5116 | |
5117 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5118 Pass true for resize_ok arg to freeze. | |
5119 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5120 Likewise. | |
5121 | |
5122 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
5123 resize_ok arg is now bool. | |
5124 * idx-vector.h (idx_vector::freeze): Likewise. | |
5125 | |
5126 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
5127 Rename from liboctave_rre_flag. Now bool. | |
5128 (liboctave_wfi_flag): Now bool. | |
5129 | |
5130 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
5131 | |
5095 | 5132 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 5133 |
5134 * Array.h (resize_fill_value): Now a top-level template function. | |
5135 Accept object as argument. Change all uses. | |
5136 | |
4455 | 5137 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5138 | |
5139 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
5140 | |
5141 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
5142 liboctave_dfi_flag. | |
5143 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
5144 X undefined or empty, always create a row vector. | |
5145 | |
5146 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
5147 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
5148 | |
4437 | 5149 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5150 | |
5151 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5152 Magic colon indexing always produces an object with one column. | |
5153 | |
5095 | 5154 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 5155 |
5156 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
5157 | |
5158 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
5159 | |
4431 | 5160 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5161 | |
5162 * dMatrix.cc (any_element_is_negative): If new optional arg | |
5163 neg_zero is true, also return true for negative zero. | |
5164 | |
4429 | 5165 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5166 | |
5167 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
5168 Handle step limit. | |
5169 * DASSL-opts.in: New option for step limit. | |
5170 | |
5095 | 5171 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 5172 |
5173 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
5174 | |
4428 | 5175 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5176 | |
5177 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
5178 Store step limit in iwork(20), not iwork(18). | |
5179 | |
5095 | 5180 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 5181 |
5182 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
5183 | |
4412 | 5184 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5185 | |
4413 | 5186 * Makefile.in: Handle DESTDIR. |
5187 | |
4412 | 5188 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
5189 (kpse_path_iterator::set_end): Don't miss last element when not | |
5190 followed by a colon. | |
5191 | |
4409 | 5192 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5193 | |
5194 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
5195 | |
5196 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5197 | |
5198 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
5199 (find_first_of): Also do an absolute search on each | |
5200 name before looking in the path. | |
5201 | |
4407 | 5202 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5203 | |
5204 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
5205 directory separator. | |
5206 | |
4399 | 5207 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5208 | |
5209 * pathsearch.cc: Include kpse.cc here. | |
5210 | |
5211 * kpse.cc: All functions are now static. Massive surgery to | |
5212 condense kpathsearch library to a single file of just the | |
5213 essentials for Octave and convert to using C++ strings (no more | |
5214 calls to malloc, very few calls to new, so there should be much | |
5215 less potential for introducing memory leaks now). | |
5216 | |
5217 * Makefile.in (EXTRAS): Move kpse.cc here from | |
5218 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
5219 | |
5220 * kpse.h, kpse-config.h: Delete. | |
5221 * Makefile.in (INCLUDES): Delete them from the list. | |
5222 | |
4392 | 5223 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5224 | |
5225 * str-vec.cc (string_vector::append (const std::string&), | |
5226 string_vector::append (const string_vector&)): New methods. | |
5227 | |
4386 | 5228 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5229 | |
4389 | 5230 * kpse.cc, kpse.h: Replace fn_type with std::string. |
5231 | |
4387 | 5232 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
5233 | |
4386 | 5234 * kpse.cc (xclosedir): Don't define or declare for Windows. |
5235 (READABLE): Now a static function to avoid warnings from MinGW | |
5236 compiler. | |
5237 | |
4384 | 5238 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5239 | |
4385 | 5240 * kpse.cc: Move most functions from kpse-xfns.c here and make |
5241 static. Include most of kpse-xfns.h directly, removing | |
5242 unnecessary bits. | |
5243 | |
4384 | 5244 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
5245 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
5246 | |
4378 | 5247 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5248 | |
5249 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
5250 * Makefile.in: Add them to the appropriates lists. | |
5251 | |
5252 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
5253 | |
5254 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
5255 for new locations of kpathsea objects. | |
5256 Delete kpathsea targets. | |
5257 | |
5258 * pathsearch.cc (dir_path::set_program_name): Delete. | |
5259 | |
5260 * kpse.cc: New file. | |
5261 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
5262 | |
5263 * kpse.c: New file. | |
5264 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
5265 | |
5266 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
5267 * Makefile.in (INCLUDES): Add them to the list. | |
5268 | |
5269 * oct-kpse.h: Delete. | |
5270 * Makefile.in (INCLUDES): Delete it from the list. | |
5271 | |
4374 | 5272 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5273 | |
5274 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
5275 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
5276 Likewise. | |
5277 From Quentin H. Spencer <qspencer@ieee.org>. | |
5278 | |
4365 | 5279 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5280 | |
5281 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
5282 | |
4349 | 5283 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5284 | |
4352 | 5285 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
5286 without placement delete. | |
5287 | |
4349 | 5288 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
5289 imaginary parts. | |
5290 | |
5291 * lo-ieee.h (lo_ieee_signbit): New macro. | |
5292 | |
5095 | 5293 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 5294 |
5295 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
5296 Use Lapack instead of Linpack. | |
5315 | 5297 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 5298 ComplexMatrix::solve): Likewise. |
5299 | |
5300 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
5301 calc_cond. If 0, skip condition number calculation. | |
5302 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
5303 Likewise. | |
5304 | |
5305 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
5306 * dbleLU.cc (LU::LU): Likewise. | |
5307 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
5308 | |
5309 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5310 | |
5311 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
5312 | |
4323 | 5313 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5314 | |
5315 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
5316 Additional compatibility fix. | |
5317 | |
5318 2003-02-13 Arno Klaassen <arno@scito.com> | |
5319 | |
5320 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5321 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
5322 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
5323 | |
4322 | 5324 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5325 | |
5326 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
5327 Compatibility fix. | |
5328 | |
4316 | 5329 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5330 | |
5331 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
5332 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
5333 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
5334 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
5335 * dRowVector.cc (RowVector::extract_n): Likewise. | |
5336 * dMatrix.cc (Matrix::extract_n): Likewise. | |
5337 | |
5338 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
5339 with make_unique and xelem. | |
5340 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
5341 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
5342 ComplexMatrix::extract, ComplexMatrix::row, | |
5343 ComplexMatrix::column): Likewise. | |
5344 * dColVector.cc (ColumnVector::insert): Likewise. | |
5345 * dRowVector.cc (RowVector::insert): Likewise. | |
5346 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
5347 Matrix::row, Matrix::column): Likewise. | |
5348 | |
4313 | 5349 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5350 | |
5351 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
5352 | |
4309 | 5353 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5354 | |
5355 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
5356 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
5357 * CMatrix.h, dMatrix.h: Provide decls. | |
5358 | |
4307 | 5359 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5360 | |
5361 * oct-rand.h, oct-rand.cc: New files. | |
5362 * Makefile.in: Add them to the appropriate lists. | |
5363 | |
4306 | 5364 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5365 | |
5366 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
5367 | |
4299 | 5368 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
5369 | |
5370 * oct-syscalls.cc: Include signal.h. | |
5371 | |
4294 | 5372 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5373 | |
5374 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
5375 * oct-syscalls.h: Provide decl. | |
5376 | |
5377 | |
4293 | 5378 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5379 | |
5380 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
5381 there is nothing to read. | |
5382 | |
4290 | 5383 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5384 | |
5385 * lo-cutils.c: Define _XOPEN_SOURCE. | |
5386 | |
4286 | 5387 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5388 | |
4288 | 5389 * getopt.h: Update to version from kpathsearch, so we will install |
5390 the version that we are using. | |
5391 | |
5392 * getopt.c, getopt1.c: Delete. | |
5393 (INCLUDES): Delete them from the list. We'll get these files from | |
5394 kpathsearch. | |
5395 | |
4286 | 5396 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
5397 ../kpathsea/STATIC/*.o. | |
5398 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
5399 | |
4270 | 5400 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5401 | |
4282 | 5402 * dMatrix.cc (read_int, write_int): Avoid warnings about |
5403 unreachable code. | |
5404 | |
4279 | 5405 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
5406 to correspond to placement new operator. | |
5407 | |
4278 | 5408 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
5409 (DET::value_will_underflow): Likewise. | |
5410 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
5411 (ComplexDET::value_will_underflow): Likewise. | |
5412 | |
4276 | 5413 * Makefile.in (distclean): Also remove stamp-prereq. |
5414 | |
4306 | 5415 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
5416 RHS and index are empty matrices, don't do anything. | |
4270 | 5417 |
4242 | 5418 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5419 | |
5420 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
5421 delete_c_names): New helper functions. | |
5422 (dir_path::find_first_of): New function. | |
5423 (dir_path::find_all_first_of): Likewise. | |
5424 * pathsearch.h: Provide decls. | |
5425 | |
5426 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
5427 (octave_kpse_all_path_find_first_of): Likewise. | |
5428 * oct-kpse.h: Provide decls. | |
5429 | |
4231 | 5430 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5431 | |
5432 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
5433 * ODESSA-opts.in: Likewise. | |
5434 | |
5435 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
5436 * LSODE-opts.in: Likewise. | |
5437 | |
4229 | 5438 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5439 | |
4230 | 5440 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
5441 in all constructors. | |
5442 | |
4229 | 5443 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
5444 (LINK_DEPS): Not here. | |
5445 | |
4219 | 5446 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5447 | |
4220 | 5448 * str-vec.cc (string_vector::compare): New static member function. |
5449 * str-vec.h: Provide decl. | |
5450 (string_vector::sort): Use it. | |
5451 (str_vec_compare): Delete static function. | |
5452 | |
4219 | 5453 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
5454 a placement operator new. | |
5455 | |
4209 | 5456 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5457 | |
4210 | 5458 * Matrix.h: Include mx-ops.h too. |
4209 | 5459 * mx-ops.h: New file. |
5460 | |
4192 | 5461 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5462 | |
5463 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
5464 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
5465 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
5466 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
5467 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5468 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5469 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
5470 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
5471 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
5472 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
5473 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
5474 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
5475 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
5476 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
5477 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
5478 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
5479 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
5480 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
5481 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
5482 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
5483 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
5484 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
5485 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
5486 | |
4184 | 5487 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5488 | |
5489 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
5490 From Remy Bruno <remy.bruno@libertysurf.fr> | |
5491 | |
4180 | 5492 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5493 | |
5494 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
5495 fortran code that should run fast enough that it is not worth all | |
5496 the setup costs of F77_XFCN. | |
5497 | |
5498 * Quad.cc (user_function): Surround body of function with | |
5499 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
5500 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
5501 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
5502 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
5503 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
5504 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
5505 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
5506 | |
4164 | 5507 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
5509 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
5510 of ! defined (linux). | |
5511 | |
5095 | 5512 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 5513 |
5514 * oct-shlib.cc (octave_dyld_shlib): New class. | |
5515 (make_shlib): Instantiate octave_dyld_shlib. | |
5516 | |
4152 | 5517 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5518 | |
4153 | 5519 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
5520 | |
4152 | 5521 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
5522 | |
5523 * Array.h: Include <cstddef> here. | |
5524 | |
4142 | 5525 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5526 | |
4144 | 5527 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
5528 using them. Accept inequality contraint option of 0. Assign | |
5529 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
5530 abs_tol and rel_tol. | |
5531 | |
4143 | 5532 * cmd-edit.h (command_editor::filename_completion_desired): New |
5533 static function. | |
5534 (command_editor::do_filename_completion_desired): New virtual function. | |
5535 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
5536 * oct-rl-edit.h: Provide decl. | |
5537 | |
4142 | 5538 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
5539 avoid OS X linker bug. | |
5540 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
5541 | |
4139 | 5542 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5543 | |
4141 | 5544 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
5545 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
5546 solvers. | |
5547 * ODESSA.cc: Fix all callers. | |
5548 | |
4139 | 5549 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
5550 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
5551 sum(zeros(1,0)) returns 0, not [](1x0)). | |
5552 | |
4136 | 5553 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5554 | |
5555 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
5556 | |
4132 | 5557 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5558 | |
4133 | 5559 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
5560 (ddasrt_f): Combine loops. | |
5561 | |
4132 | 5562 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
5563 instead of empty vector if user termninates iteration. | |
5564 | |
4130 | 5565 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5566 | |
5567 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
5568 octave_read_complex, octave_write_double, octave_write_complex): | |
5569 New functions. | |
5570 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5571 Use octave_write_complex. | |
5572 (operator >> (std::istream&, const ComplexMatrix&)): | |
5573 Use octave_read_complex. | |
5574 * dMatrix.cc (operator << (std::ostream&, double)): | |
5575 Use octave_write_double. | |
5576 (operator >> (std::istream&, double)): Use octave_read_double. | |
5577 | |
4126 | 5578 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5579 | |
5580 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5581 * oct-kpse.h: Delete decl. | |
5582 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5583 ::octave_kpse_clear_dir_cache. | |
5584 | |
4123 | 5585 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5586 | |
4124 | 5587 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5588 earlier than 3.0. | |
5589 | |
4123 | 5590 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5591 (liboctave.$(SHLEXT)): Not here. | |
5592 | |
5095 | 5593 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5594 |
5595 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5596 | |
4108 | 5597 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5598 | |
5599 * Makefile.in (install-lib): Don't bother with versions for | |
5600 $(SHLBIN) files. | |
5601 | |
5095 | 5602 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5603 |
5604 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5605 | |
4102 | 5606 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5607 | |
5608 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5609 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5610 New functions. | |
5611 | |
5612 * Makefile.in (install): No need to use cd to create links. | |
5613 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5614 | |
5095 | 5615 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5616 |
5617 * Makefile.in: Merge liboctave with liboct-readline and | |
5618 liboct-pathsearch. | |
5619 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5620 (libraries): Depend on versioned library. | |
5621 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5622 build unversioned library, symbolic link adds version info. | |
5623 (install, uninstall): Handle link and load forms of the library | |
5624 separately. | |
5625 | |
4101 | 5626 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5627 | |
5628 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5629 __CYGWIN__. | |
5630 | |
5631 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5632 file_ops::dir_sep_chars): New static functions to replace | |
5633 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5634 | |
5635 * oct-env.cc (octave_env::do_set_program_name): | |
5636 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5637 (octave_env::do_base_pathname): Likewise. | |
5638 (octave_env::do_make_absolute): Likewise. | |
5639 | |
5640 * oct-env.cc (octave_env::do_make_absolute): | |
5641 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5642 (octave_env::do_get_home_directory): Likewise. | |
5643 | |
5644 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5645 that information here too. | |
5646 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5647 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5648 | |
5649 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5650 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5651 | |
4097 | 5652 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5653 | |
5654 * oct-env.h (octave_env::current_directory): Now mutable. | |
5655 (octave_env:do_getcwd): Now const. | |
5656 | |
5657 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5658 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5659 OCTAVE_CURRENT_DIR_STR): New macros. | |
5660 * oct-env.cc (is_dir_sep): Delete. | |
5661 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5662 (octave_env::do_set_program_name): Likewise. | |
5663 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5664 instead of checking for '/'. | |
5665 (octave_env::pathname_backup): Likewise. | |
5666 (octave_env::do_absolute_pathname): Likewise. | |
5667 (octave_env::do_make_absolute): Likewise. | |
5668 If dot_path is empty, use getcwd to set current_dir. | |
5669 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5670 instead of "/". | |
5671 | |
5095 | 5672 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5673 |
5674 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5675 | |
5095 | 5676 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5677 |
5678 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5679 absolute path names under MinGW as well. | |
5680 | |
5681 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5682 | |
5683 * oct-env.cc: Include <cctype> too. | |
5684 | |
4087 | 5685 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5686 | |
5687 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5688 filenames. | |
5689 (octave_env::do_make_absolute): Check for absolute name with | |
5690 do_absolute_path. | |
4088 | 5691 (octave_env::do_chdir): Likewise. |
5692 (is_dir_sep): New function. | |
4087 | 5693 |
5095 | 5694 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5695 |
4086 | 5696 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5697 systems. | |
4085 | 5698 |
4083 | 5699 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5700 | |
5701 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5702 | |
4080 | 5703 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5704 | |
4081 | 5705 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5706 | |
4080 | 5707 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5708 | |
5095 | 5709 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5710 |
5711 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5712 gr_gid too. | |
5713 | |
4072 | 5714 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5715 | |
4074 | 5716 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5717 lo_ieee_* functions. | |
4072 | 5718 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5719 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5720 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5721 * lo-cieee.c: New file. |
4074 | 5722 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5723 * lo-ieee.h: Now all extern "C". |
4074 | 5724 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5725 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5726 | |
4072 | 5727 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5728 Now extern. | |
5729 | |
4066 | 5730 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5731 | |
5732 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5733 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5734 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5735 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5736 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5737 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5738 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5739 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5740 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5741 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5742 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5743 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5744 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5745 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5746 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5747 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5748 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5749 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5750 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5751 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5752 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5753 oct-alloc.cc: | |
5754 If __GNUG__, use pragma interface/implementation. Allow this to | |
5755 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5756 | |
5095 | 5757 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5758 |
4066 | 5759 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5760 system readlink function is not available. | |
5761 | |
4065 | 5762 * lo-mappers.cc (xerf, xerfc): Delete. |
5763 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5764 | |
4064 | 5765 * lo-mappers.cc: Remove unused #define M_PI. |
5766 * lo-specfun.cc: Add #define M_PI if needed. | |
5767 | |
4062 | 5768 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5769 | |
5770 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5771 that geteuid doesn't exist. | |
5772 | |
5773 * LP.h: Rename LP class to octave_LP. | |
5774 LPsolve.h: Change all uses. | |
5775 | |
5776 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5777 incorrect token-pasting op. | |
5778 | |
5779 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5780 define lstat. | |
5781 | |
4061 | 5782 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5783 | |
5784 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5785 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5786 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5787 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5788 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5789 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5790 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5791 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5792 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5793 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5794 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5795 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5796 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5797 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5798 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5799 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5800 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5801 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5802 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5803 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5804 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5805 oct-alloc.cc: | |
5806 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5807 to decide whether to use the interface/implementation pragmas. | |
5808 | |
4058 | 5809 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5810 | |
5811 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5812 | |
4055 | 5813 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5814 | |
5815 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5816 qualified names. | |
5817 | |
4051 | 5818 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5819 | |
4054 | 5820 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5821 ArrayN.cc: Add typename where needed. | |
4053 | 5822 |
4051 | 5823 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5824 strstream classes directly. | |
5825 * DASRT.cc: Likewise. | |
5826 * DASSL.cc: Likewise. | |
5827 * LSODE.cc: Likewise. | |
5828 * ODESSA.cc: Likewise. | |
5829 | |
5830 * cmd-hist.cc: Don't include <strstream>. | |
5831 * oct-shlib.cc: Likewise. | |
5832 | |
5833 * lo-sstream.h: New file. | |
5834 | |
4049 | 5835 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5836 | |
5837 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5838 New data members. | |
5839 (LSODE::sanity_checked): Delete unused data member. | |
5840 | |
5841 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5842 prel_tol, pinfo, piwork, prwork): New data members. | |
5843 * DASSL.h (DASSL): Likewise. | |
5844 | |
5845 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5846 | |
5847 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5848 initialization, changes in options, etc. | |
5849 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5850 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5851 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5852 | |
4047 | 5853 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5854 | |
4049 | 5855 * DAEFunc.h (DAEFunc::reset): New data member. |
5856 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5857 | |
5858 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5859 (base_diff_eqn::clear_stop_time): Likewise. | |
5860 | |
4047 | 5861 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5862 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5863 | |
5095 | 5864 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5865 |
5866 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5867 * DASRT-opts.in, DASRT.h: Likewise. | |
5868 * DASSL-opts.in, DASSL.h: Likewise. | |
5869 * LSODE-opts.in, LSODE.h: Likewise. | |
5870 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5871 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5872 | |
4038 | 5873 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5874 | |
4042 | 5875 * LSODE.cc (LSODE::error_message): Also return current T on |
5876 failures when that makes sense. | |
4043 | 5877 * DASSL.cc (DASSL::error_message): Likewise. |
5878 * DASRT.cc (DASRT::error_message): Likewise. | |
5879 * DASPK.cc (DASPK::error_message): Likewise. | |
5880 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5881 |
4038 | 5882 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5883 $(LIBKPATHSEA) here. | |
5884 | |
4025 | 5885 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5886 | |
5887 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5888 (lo_ieee_is_NaN_or_NA): New function. | |
5889 (octave_NA): New global value. | |
5890 (octave_ieee_init): Initialize it. | |
5891 * lo-mappers.cc (octave_is_NA): New function. | |
5892 (octave_is_NaN_or_NA): New function. | |
5893 (xisnan): Return false if NaN looks like a missing value. | |
5894 (xisnan (const Complex&)): Use xisnan here. | |
5895 | |
4015 | 5896 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5897 | |
4017 | 5898 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5899 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5900 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5901 Default value for dim is -1, not 0. | |
5902 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5903 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5904 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5905 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5906 | |
4015 | 5907 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5908 New macros. | |
5909 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5910 MX_BASE_REDUCTION_OP. | |
5911 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5912 | |
4014 | 5913 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5914 | |
4015 | 5915 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5916 Return boolMatrix, not Matrix. | |
5917 | |
5918 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5919 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5920 (Matrix::all): Replace guts with MX_ALL_OP. | |
5921 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5922 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5923 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5924 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5925 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5926 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5927 | |
5928 * dMatrix.h (Matrix::any): New arg, dim. | |
5929 (Matrix::all): Likewise. | |
5930 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5931 (ComplexMatrix::all): Likewise. | |
5932 * boolMatrix.h (boolMatrix::any): Likewise. | |
5933 (boolMatrix::all): Likewise. | |
5934 * chMatrix.h (charMatrix::any): Likewise. | |
5935 (charMatrix::all): Likewise. | |
5936 | |
4014 | 5937 * Makefile.in: Use $@-t instead of $@.t. |
5938 | |
4004 | 5939 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5940 | |
5941 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5942 Use it in matrix versions to avoid spewing multiple errors. | |
5943 Call xgammainc instead of dgamit. | |
5944 | |
3998 | 5945 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5946 | |
5947 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5948 Get rows and columns right in loop. | |
5949 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5950 | |
5951 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5952 | |
5953 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5954 * DASRT.cc (DASRT::integrate): Likewise. | |
5955 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5956 | |
5957 * Quad.cc: Don't pass tolerances in constructors. | |
5958 | |
5959 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5960 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5961 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5962 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5963 from corresponding .in files. | |
5964 * LSODE.h, Quad.h: Replace options class definitions with included | |
5965 file. | |
5966 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5967 create OPTS_INC files from OPTS_INC_SRC files. | |
5968 (stamp-prereq): New target. | |
5969 (libraries): Depend on stamp-prereq. | |
5970 Include stamp-prereq along with $(MAKEDEPS). | |
5971 | |
3997 | 5972 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5973 | |
5974 * base-de.h (base_diff_eqn::istate): New data member. | |
5975 (base_diff_eqn::integration_state): New member function. | |
5976 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5977 data members and functions. | |
5978 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5979 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5980 | |
3990 | 5981 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5982 | |
3995 | 5983 * base-de.h (base_diff_eqn::stop_time, |
5984 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5985 base_diff_eqn::integration_error): New data members. | |
5986 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5987 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5988 base_diff_eqn::error_message): New member functions. | |
5989 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5990 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5991 members and functions. | |
5992 | |
3992 | 5993 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5994 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5995 (DASRT::integrate): Don't forget to set nn. |
3992 | 5996 |
3991 | 5997 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5998 * DASSL.cc (ddassl_j): Make it work. | |
5999 * DASPK.cc (ddaspk_j): Likewise. | |
6000 | |
3990 | 6001 * DAE.cc: Delete. |
6002 | |
6003 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
6004 solving with root finding. | |
6005 * Makefile.in: Add them to the appropriate lists. | |
6006 | |
6007 * base-dae.h: New file. | |
6008 * Makefile.in (INCLUDES): Add it to the list. | |
6009 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
6010 | |
3984 | 6011 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6012 | |
6013 * ODE.h: Move integrate and do_integrate method declarations and | |
6014 definitions here. | |
6015 * base-de.h: From here. | |
6016 | |
6017 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
6018 * Makefile.in: Add them to the appropriate lists. | |
6019 (LIBOCTAVE_CXX_SOURCES): | |
6020 | |
3971 | 6021 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6022 | |
6023 * NLEqn.cc (NLEqn::error_message): New function. | |
6024 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
6025 | |
3970 | 6026 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6027 | |
6028 * lo-utils.cc (octave_fgetl): New function. | |
6029 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
6030 | |
3959 | 6031 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6032 | |
6033 * LSODE.cc (LSODE::error_message): New function. | |
6034 * LSODE.h: Provide decl. | |
6035 (LSODE::integration_state): New function. | |
6036 (LSODE::integration_ok): New function. | |
6037 | |
3952 | 6038 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6039 | |
3955 | 6040 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
6041 (LSODE_options::set_integration_method, | |
6042 LSODE_options::integration_method): New functions. | |
3954 | 6043 |
3952 | 6044 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
6045 Change all uses. | |
6046 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
6047 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
6048 New function. | |
6049 | |
6050 * Array.h (Array::fortran_vec): New const version. | |
6051 | |
3951 | 6052 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6053 | |
6054 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
6055 (gnu_readline::history_search_forward): Likewise. | |
6056 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
6057 to extern "C" functions to octave_rl_ad_defun. | |
6058 | |
5095 | 6059 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 6060 |
6061 * DASPK.cc (ddaspk_psol): Return value. | |
6062 * oct-rl-edit.c: Use /* ... */ to comment. | |
6063 | |
3945 | 6064 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6065 | |
6066 * DASSL.h (DASSL_options::init): Undo previous change. | |
6067 (DASSL_options::set_absolute_tolerance): Likewise. | |
6068 * LSODE.h (LSODE_options::init): Likewise. | |
6069 (LSODE_options::set_absolute_tolerance): Likewise. | |
6070 | |
6071 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
6072 sqrt(eps), not eps^2. | |
6073 DASPK_options::set_absolute_tolerance): Likewise. | |
6074 | |
5095 | 6075 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 6076 |
6077 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
6078 object. | |
6079 | |
3933 | 6080 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6081 | |
6082 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
6083 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
6084 (octave_rl_set_basic_word_break_characters, | |
6085 octave_rl_set_completer_word_break_characters): New functions. | |
6086 * oct-rl-edit.h: Provide decls. | |
6087 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
6088 gnu_readline::do_set_completer_word_break_characters): New functions. | |
6089 (command_editor::set_basic_quote_characters, | |
6090 command_editor::set_completion_append_character): New static functions. | |
6091 * cmd-edit.h: Provide decls. | |
6092 (command_editor::do_set_basic_word_break_characters, | |
6093 command_editor::do_set_completer_word_break_characters): | |
6094 New virtual functions. | |
6095 | |
6096 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
6097 (resize_fill_value): New static function. | |
6098 | |
6099 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
6100 resize_fill_value. | |
6101 * Array2-idx.h (Array2<T>::index): Likewise. | |
6102 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
6103 | |
6104 * Array2.cc (Array<T>::print_info): New function. | |
6105 * Array2.h: Provide decl. | |
6106 | |
6107 * Array.cc (Array<T>::print_info): New function. | |
6108 * Array.h: Provide decl. | |
6109 | |
3928 | 6110 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6111 | |
6112 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
6113 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
6114 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
6115 | |
6116 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
6117 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
6118 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
6119 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
6120 | |
5095 | 6121 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 6122 |
6123 * Array3.h (Array3<T>::checkelem): Improve error message. | |
6124 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
6125 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
6126 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
6127 | |
3919 | 6128 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6129 | |
6130 * DASSL.h (DASSL_options::init): Undo previous change. | |
6131 (DASSL_options::set_absolute_tolerance): Likewise. | |
6132 | |
3912 | 6133 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6134 | |
6135 * DASPK.h, DASPK.cc: New files. | |
6136 * Makefile.in: Add them to the appropriate lists. | |
6137 | |
3904 | 6138 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6139 | |
6140 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
6141 Simplify indexing when one or both of the indices are empty. | |
6142 | |
3896 | 6143 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6144 | |
6145 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
6146 (DASSL_options::set_absolute_tolerance): Likewise. | |
6147 * LSODE.h (LSODE_options::init): Likewise. | |
6148 (LSODE_options::set_absolute_tolerance): Likewise. | |
6149 | |
5095 | 6150 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 6151 |
6152 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
6153 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
6154 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
6155 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
6156 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
6157 * file-stat.h: Likewise. | |
6158 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
6159 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
6160 instead of HAVE_STRUCT_TM_TM_ZONE. | |
6161 * strftime.c: Likewise. | |
6162 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
6163 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
6164 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
6165 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
6166 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6167 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6168 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
6169 | |
5095 | 6170 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 6171 |
6172 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
6173 internally when the user requests it. | |
6174 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
6175 * dbleQR.cc (QR::init): Ditto. | |
6176 * dbleQRP.cc (QRP::init): Ditto. | |
6177 | |
3874 | 6178 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6179 | |
6180 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
6181 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
6182 (octave_fftw::ifft2d): Likewise. | |
6183 | |
5095 | 6184 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 6185 |
6186 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
6187 | |
3867 | 6188 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6189 | |
6190 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
6191 (LS_DO_WRITE): Likewise. | |
6192 | |
3864 | 6193 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6194 | |
6195 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
6196 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
6197 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
6198 | |
6199 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
6200 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
6201 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
6202 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
6203 | |
6204 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
6205 DIM == -1 now means no orientation for vector sums. | |
6206 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
6207 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
6208 | |
3858 | 6209 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6210 | |
6211 * Range.cc (Range::nelem_internal): Special case ranges that must | |
6212 have zero elements. | |
6213 | |
3854 | 6214 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6215 | |
3857 | 6216 * Makefile.in: Split out readline and pathsearch functionality |
6217 into separate liboct-readline and liboct-pathsearch libraries. | |
6218 | |
3854 | 6219 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 6220 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
6221 to do nothing for this call to rl_clear_screen. | |
3854 | 6222 |
3849 | 6223 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6224 | |
6225 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
6226 function. | |
6227 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
6228 | |
3838 | 6229 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6230 | |
6231 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
6232 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
6233 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
6234 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
6235 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
6236 | |
3836 | 6237 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6238 | |
6239 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
6240 | |
6241 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
6242 Array-b.cc: Instantiate three arg assign functions. | |
6243 | |
6244 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
6245 New arg, resize_fill_value. | |
6246 * ArrayN.h: Provide declaration. | |
6247 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
6248 three arg version. | |
6249 | |
6250 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
6251 New arg, resize_fill_value. | |
6252 * Array3.h: Provide declaration. | |
6253 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
6254 three arg version. | |
6255 | |
6256 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6257 New arg, resize_fill_value. | |
6258 * Array2.h: Provide declaration. | |
6259 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
6260 three arg version. | |
6261 | |
6262 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6263 New arg, resize_fill_value. | |
6264 * Array.h: Provide declaration. | |
6265 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
6266 three arg version. | |
6267 | |
3833 | 6268 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6269 | |
6270 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
6271 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
6272 to the empty string. | |
6273 | |
3832 | 6274 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6275 | |
6276 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
6277 Don't check for rep != a.rep. | |
6278 | |
3827 | 6279 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
6280 | |
6281 * oct-fftw.h, oct-fftw.cc: New files. | |
6282 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
6283 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
6284 ifourier2d}): Use fftw if available. | |
6285 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
6286 Likewise. | |
6287 | |
3821 | 6288 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6289 | |
6290 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
6291 (install-inc): Don't use mk-includedir-link. | |
6292 | |
3803 | 6293 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6294 | |
6295 * lo-cutils.c (octave_gethostname): New function. | |
6296 * lo-utils.h: Provide declaration. | |
6297 * oct-env.cc (octave_env::do_get_host_name): | |
6298 Call octave_gethostname, instead of gethostname. | |
6299 | |
6300 * lo-cutils.c (gethostname): Define here. | |
6301 * lo-sysdep.cc: Not here. | |
6302 | |
3786 | 6303 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6304 | |
6305 * lo-cutils.c: Don't declare strptime. | |
6306 (oct_strptime): Cast return type of strptime to char*. | |
6307 | |
3777 | 6308 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6309 | |
3779 | 6310 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
6311 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
6312 (octave_rl_read_init_file): Ditto. | |
6313 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
6314 free_undo_list. | |
6315 (octave_rl_completion_matches): Call rl_completion_matches, not | |
6316 completion_matches. | |
6317 (octave_rl_enable_paren_matching): New function. | |
6318 (octave_rl_set_blink_matching_paren_flag): Delete. | |
6319 (octave_rl_get_blink_matching_paren_flag): Delete. | |
6320 | |
3777 | 6321 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
6322 tanh (const Complex&)): Declare and define if not | |
6323 CXX_ISO_COMPLIANT_LIBRARY. | |
6324 | |
3776 | 6325 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6326 | |
6327 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
6328 CXX_ISO_COMPLIANT_LIBRARY. | |
6329 | |
3775 | 6330 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
6331 | |
3776 | 6332 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
6333 CXX_ISO_COMPLIANT_LIBRARY. | |
6334 | |
3775 | 6335 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
6336 archive libraries containing templates. | |
6337 | |
6338 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
6339 get_zero_len_size, all_colon_equiv): Inline. | |
6340 (ArrayN<T>::index): Rename idx to arr_idx. | |
6341 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
6342 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
6343 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
6344 | |
6345 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6346 | |
6347 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
6348 log10 (const Complex&)): Delete. | |
6349 | |
6350 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
6351 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
6352 sinh, sqrt, tan, and tanh. | |
6353 | |
3769 | 6354 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6355 | |
6356 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
6357 Add std:: namespace qualifier as needed. | |
6358 | |
6359 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
6360 Change all uses to match. | |
6361 | |
3767 | 6362 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
6364 * lo-cutils.c: Don't delcare strptime. | |
6365 | |
3760 | 6366 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6367 | |
6368 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
6369 Return correct size result for empty matrix case. | |
6370 | |
3757 | 6371 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6372 | |
6373 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
6374 If args are equal in magnitude, return first arg instead of | |
6375 second. | |
6376 | |
3752 | 6377 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6378 | |
3755 | 6379 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
6380 then try harder to compute correct number of elements. | |
3753 | 6381 |
3752 | 6382 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
6383 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
6384 | |
3750 | 6385 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6386 | |
3751 | 6387 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
6388 Rename n_intervals to be n_elt. | |
6389 | |
3750 | 6390 * strptime.c: Surround everything after including config.h in |
6391 #ifndef HAVE_STRPTIME ... #endif. | |
6392 | |
3742 | 6393 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6394 | |
6395 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
6396 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
6397 | |
3741 | 6398 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6399 | |
6400 * MArray-defs.h: Protect against multiple inclusion. | |
6401 | |
3739 | 6402 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6403 | |
6404 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
6405 end of the list, to be compatible with previous versions of Octave. | |
6406 | |
3736 | 6407 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6408 | |
6409 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
6410 since mktime is supposed to `normalize' the results for us. | |
6411 | |
3731 | 6412 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6413 | |
6414 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 6415 and vectors. Use xelem for faster access to elements when copying. |
3731 | 6416 |
3726 | 6417 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6418 | |
6419 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
6420 Correct indexing for operation across rows. | |
6421 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
6422 | |
3725 | 6423 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
6424 | |
6425 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
6426 elements if arg is a colon. | |
6427 | |
5095 | 6428 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 6429 |
3795 | 6430 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 6431 (Matrix::cumsum (int) const): Likewise. |
6432 (Matrix::prod (int) const): Likewise. | |
6433 (Matrix::sum (int) const): Likewise. | |
6434 (Matrix::sumsq (int) const): Likewise. | |
6435 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
6436 (ComplexMatrix::cumsum (int) const): Likewise. | |
6437 (ComplexMatrix::prod (int) const): Likewise. | |
6438 (ComplexMatrix::sum (int) const): Likewise. | |
6439 (ComplexMatrix::sumsq (int) const): Likewise. | |
6440 | |
3722 | 6441 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6442 | |
6443 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
6444 size if Array<T>::index returns an empty array. | |
6445 | |
3710 | 6446 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6447 | |
6448 * file-ops.cc (file_ops::link, file_ops::symlink, | |
6449 file_ops::readlink): New functions. | |
6450 | |
3709 | 6451 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6452 | |
6453 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
6454 indexed, always return an object the same size as the index arg. | |
6455 | |
6456 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
6457 empty format. | |
6458 | |
3706 | 6459 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6460 | |
6461 * lo-cutils.c (oct_strptime): New function. | |
6462 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
6463 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
6464 | |
3702 | 6465 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6466 | |
3703 | 6467 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
6468 | |
3702 | 6469 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
6470 | |
3689 | 6471 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6472 | |
6473 * dMatrix.h (read_int): Provide declaration. | |
6474 | |
3688 | 6475 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
6476 | |
6477 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
6478 (write_doubles): Ditto. | |
6479 * data-conv.h: Ditto. | |
6480 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
6481 | |
3685 | 6482 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6483 | |
6484 * boolMatrix.h: Declare MM_CMP_OPS here. | |
6485 * boolMatrix.cc: Define them here. | |
6486 | |
3680 | 6487 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6488 | |
6489 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
6490 previously undefined and set size of x to size of bool index. | |
6491 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
6492 Allow z_len to be zero. | |
6493 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
6494 If frozen, don't assert that frozen_at_z_len == z_len. | |
6495 | |
3670 | 6496 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6497 | |
6498 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
6499 instead of rl_clear_screen. | |
6500 | |
3665 | 6501 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6502 | |
6503 * Array-d.cc: Instantiate ArrayN<double> here too. | |
6504 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
6505 * Makefile.in: Add them to the appropriate lists. | |
6506 | |
3657 | 6507 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6508 | |
6509 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
6510 | |
3635 | 6511 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6512 | |
6513 * lo-sysdep.h: octave_chdir returns int, not bool. | |
6514 | |
3615 | 6515 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6516 | |
6517 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
6518 before rebuilding. | |
6519 | |
5095 | 6520 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 6521 |
5261 | 6522 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 6523 (libraries): Depend only on library targets, not archive members. |
6524 | |
3613 | 6525 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6526 | |
6527 * Makefile.in: (objects): New target. | |
6528 | |
6529 * lo-cutils.c: New file. | |
6530 * Makefile.in (SOURCES): Add it to the list. | |
6531 * lo-utils.h: Declare octave_qsort here. | |
6532 * Array.h (Array::qsort): Use it here. | |
6533 | |
3607 | 6534 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6535 | |
6536 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
6537 | |
3598 | 6538 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6539 | |
6540 * oct-rl-hist.c (octave_history_list): Do something when not | |
6541 printing line numbers. Fix reallocation of retval. | |
6542 | |
3597 | 6543 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6544 | |
6545 * Makefile.in (install-inc): Install files in | |
6546 $(octincludedir)/octave. | |
6547 (uninstall): Remove them from the correct directory too. | |
6548 | |
6549 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
6550 they are not already defined. | |
6551 | |
3588 | 6552 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6553 | |
6554 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
6555 Delete declarations and definitions of mixed-type vector-vector ops. | |
6556 | |
3585 | 6557 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6558 | |
6559 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
6560 matrix and vector objects. | |
6561 | |
6562 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
6563 return type from second arg type. | |
6564 (MDM_BIN_OP): Likewise, for first arg type. | |
6565 | |
6566 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6567 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
6568 | |
6569 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
6570 request ColumnVector to ComplexColumnVector, and Matrix to | |
6571 ComplexMatrix conversions. | |
6572 | |
6573 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6574 initial value using ComplexMatrix constructor. | |
6575 | |
6576 * CColVector.cc (product, quotient, | |
6577 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6578 Fix type of returned value. | |
6579 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6580 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6581 | |
6582 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6583 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6584 dRowVector.h: Declare some constructors explicit, to disallow | |
6585 potentially problematic automatic type conversions. | |
6586 | |
3580 | 6587 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6588 | |
3582 | 6589 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6590 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6591 More new files. | |
6592 * Makefile.in: Add them to the appropriate lists. | |
6593 | |
6594 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6595 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6596 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6597 vx-s-crv.cc:, New files. | |
6598 * Makefile.in: Add them to the appropriate lists. | |
6599 | |
6600 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6601 Delete scalar by vector and vector by scalar binary ops. | |
6602 | |
3580 | 6603 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6604 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6605 | |
3573 | 6606 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6607 | |
3578 | 6608 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6609 rl_event_hook before casting to void **. | |
6610 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6611 | |
3574 | 6612 * MArray-defs.h: Many new macros to make declaration and |
6613 definition of operators more consistent. | |
6614 | |
6615 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6616 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6617 |
3569 | 6618 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6619 | |
3572 | 6620 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6621 (Matrix::ifourier2d): Likewise. | |
6622 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6623 (ComplexMatrix::ifourier2d): Likewise. | |
6624 | |
3569 | 6625 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6626 | |
3504 | 6627 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6628 | |
3519 | 6629 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6630 readline library. | |
6631 * Makefile.in: Add them to the appropriate lists. | |
6632 | |
6633 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6634 readline history library. | |
6635 * Makefile.in: Add them to the appropriate lists. | |
6636 | |
3517 | 6637 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6638 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6639 (write_doubles): Likewise. |
6640 (read_doubles): Likewise. | |
3517 | 6641 |
3516 | 6642 * oct-env.cc (octave_env::do_polite_directory_format): |
6643 Use operator== and substr method to do limited-length string | |
6644 comparison. | |
6645 | |
3513 | 6646 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6647 |
3511 | 6648 * Quad.h: Use do_integrate as name of pure virtual function. |
6649 | |
3508 | 6650 * base-de.h: Use tt instead of t as arg names. |
3511 | 6651 Add method with tcrit arg. |
6652 | |
3509 | 6653 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6654 |
3507 | 6655 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6656 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6657 * Quad.cc (quad_fcn_ptr): Ditto. | |
6658 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6659 | |
3505 | 6660 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6661 * Makefile.in: Add them to the appropriate lists. |
3505 | 6662 |
6663 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6664 * Makefile.in: Add them to the appropriate lists. |
3505 | 6665 |
3504 | 6666 * dMatrix.cc (write_int, read_int): No longer declared static. |
6667 | |
6668 * CDiagMatrix.h: Delete decls for friend operators that are | |
6669 handled by MDiagArray2 class. Move others outside class decl and | |
6670 strip friend status. | |
6671 * dDiagMatrix.h: Likewise. | |
6672 | |
6673 * MArray.h: Delete decls for friend operators inside class decl. | |
6674 * MArray2.h: Ditto. | |
6675 * MDiagArray2.h: Ditto. | |
6676 | |
6677 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6678 necessary parameters. Don't allocate memory in the macro. Change | |
6679 all uses. | |
6680 | |
6681 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6682 * CMatrix.h (class ComplexMatrix): Ditto. | |
6683 | |
6684 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6685 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6686 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6687 avoid type conflicts. Change all uses. | |
6688 | |
6689 * strptime.c (__mon_yday): Fix size of array decl. | |
6690 | |
6691 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6692 | |
6693 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6694 default value for second arg. | |
6695 | |
6696 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6697 references to ArrayRep. | |
6698 | |
3503 | 6699 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6700 | |
3504 | 6701 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6702 |
6703 * All source files: Include iostream, fstream, strstream, | |
6704 etc. as needed instead of using forward declarations for these | |
3504 | 6705 classes. Add std:: qualifier as needed. |
3503 | 6706 |
3498 | 6707 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6708 | |
6709 * oct-time.cc: Declare strptime extern "C". | |
6710 | |
3496 | 6711 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6712 | |
6713 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6714 | |
3488 | 6715 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6716 | |
3492 | 6717 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6718 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6719 to get total size to be allocated. | |
6720 | |
3488 | 6721 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6722 as bool, not int. | |
6723 | |
3482 | 6724 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6725 | |
6726 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6727 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6728 as A, even when do_fortran_indexing is not enabled. | |
6729 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6730 | |
3473 | 6731 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6732 | |
3480 | 6733 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6734 function pointer as final arg. Passed function (if any) will be | |
6735 called for singularity errors. | |
6736 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6737 | |
6738 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6739 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6740 | |
3475 | 6741 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6742 No longer bother with infinity or quiet_nan. | |
6743 | |
3473 | 6744 * Array2.cc (Array2<T>::get_size): New function. |
6745 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6746 | |
3472 | 6747 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6748 | |
6749 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6750 New function. | |
6751 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6752 Use it when indexing with one arg instead of faking a second one. | |
6753 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6754 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6755 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6756 rows or columns. | |
6757 | |
6758 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6759 vector that is all true values with a length equal to n as colon | |
6760 equivalent. | |
6761 | |
3470 | 6762 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6763 | |
6764 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6765 | |
5095 | 6766 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6767 |
6768 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6769 operations directly in step 2 and reverse step 2. | |
6770 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6771 operations directly in step 2 and reverse step 2. | |
6772 | |
3465 | 6773 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6774 | |
6775 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6776 | |
6777 * strptime.c: New file, from glibc 2.1.2. | |
6778 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6779 | |
3419 | 6780 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6781 | |
6782 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6783 | |
3415 | 6784 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6785 | |
6786 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6787 NULL directory list returned from kpse_element_dirs | |
6788 | |
3375 | 6789 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6790 | |
6791 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6792 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6793 directly, instead of calling ZGESV. | |
6794 | |
3358 | 6795 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6796 | |
6797 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6798 (string_to_data_type): Use it to improve lookup of data types. | |
6799 | |
3354 | 6800 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6801 | |
6802 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6803 * Array2.h (is_symmetric): Delete declaration. | |
6804 | |
3347 | 6805 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6806 | |
6807 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6808 | |
3344 | 6809 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
6811 * oct-time.cc (Fstrftime): Undo previous change. | |
6812 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6813 | |
3334 | 6814 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6815 | |
3336 | 6816 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6817 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6818 | |
3334 | 6819 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6820 Don't forget to pass length of third string argument to dgeesx. | |
6821 | |
6822 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6823 of third string argument to zgeesx. | |
6824 | |
3333 | 6825 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6826 | |
6827 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6828 On errors, simply return `T ()'. | |
6829 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6830 | |
5095 | 6831 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6832 |
6833 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6834 AEPBALANCE class. | |
6835 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6836 | |
3325 | 6837 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6838 | |
6839 * oct-shlib.cc, oct-shlib.h: New files. | |
6840 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6841 | |
3322 | 6842 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6843 | |
6844 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6845 * dRowVector.cc (linspace): Ditto. | |
6846 | |
6847 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6848 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6849 | |
3312 | 6850 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6851 | |
6852 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6853 to evaluate the Jacobian, set info(4), not iwork(4). | |
6854 Set rwork(1) to the maximum step size, not rwork(2). | |
6855 | |
3290 | 6856 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6857 | |
6858 * oct-time.cc: Include <climits>. | |
6859 | |
3281 | 6860 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6861 | |
6862 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6863 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6864 (gnu_readline::do_resize_terminal): New function. | |
6865 | |
3268 | 6866 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6867 | |
6868 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6869 * lo-ieee.c: Likewise. | |
6870 Delete extern "C" declarations for infinity and quiet_nan. | |
6871 | |
3262 | 6872 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6873 | |
3263 | 6874 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6875 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6876 `inline', not `static inline'. | |
6877 | |
3262 | 6878 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6879 then cast to const int * to compare. | |
6880 | |
3257 | 6881 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6882 | |
6883 * DAEFunc.h: Remove useless preprocessor conditional. | |
6884 | |
3255 | 6885 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6886 | |
3257 | 6887 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6888 Use octave_time object instead of time_t. | |
6889 | |
6890 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6891 file_stat::fs_ctime): Now octave_time objects. | |
6892 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6893 Return octave_time objects. | |
6894 (file_stat::is_newer): Args are now octave_time objects instead of | |
6895 time_t. | |
6896 | |
3255 | 6897 * oct-time.h (octave_time::as_double): Delete. |
6898 (octave_time::operator double ()): New function. | |
6899 (octave_time::operator time_t ()): New function. | |
6900 (octave_time::ctime): New function. | |
6901 (octave_base_tm::strftime): Renamed from format_as_string. | |
6902 (octave_base_tm::asctime): New function. | |
6903 (operator == (const octave_time&, const octave_time&), | |
6904 operator != (const octave_time&, const octave_time&), | |
6905 operator < (const octave_time&, const octave_time&), | |
6906 operator <= (const octave_time&, const octave_time&), | |
6907 operator > (const octave_time&, const octave_time&), | |
6908 operator >= (const octave_time&, const octave_time&)): | |
6909 New comparison functions. | |
6910 | |
6911 * strftime.c: Move here from src directory. | |
6912 * Makefile.in (SOURCES): Add it to the list. | |
6913 | |
6914 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6915 | |
3253 | 6916 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6917 | |
6918 * oct-time.h, oct-time.cc: New files. | |
6919 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6920 | |
6921 * systime.h: Move here from src directory. | |
6922 * Makefile.in (INCLUDES): Add it to the list. | |
6923 | |
3248 | 6924 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6925 | |
6926 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6927 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6928 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6929 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6930 | |
6931 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6932 | |
3243 | 6933 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6934 | |
6935 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6936 | |
6937 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6938 | |
6939 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6940 column vector for A(:), for compatibility with Matlab. | |
6941 | |
6942 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6943 | |
6944 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6945 iopt when there are optional inputs in rwork or iwork. | |
6946 | |
3238 | 6947 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6948 | |
6949 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6950 creating static libs. | |
6951 | |
5095 | 6952 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6953 |
6954 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6955 and uint32 data types. | |
6956 | |
6957 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6958 | |
6959 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6960 for Linux. Remove old Linux-specific code. | |
6961 | |
3233 | 6962 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6963 | |
6964 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6965 Don't require lengths to be equal. | |
6966 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6967 ComplexRowVector& a)): Likewise | |
6968 | |
5095 | 6969 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6970 |
6971 * statdefs.h: Only define mode_t if not already defined. | |
6972 | |
5095 | 6973 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6974 |
6975 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6976 when appropriate. | |
6977 | |
6978 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6979 | |
6980 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6981 before calling rl_initialize. | |
6982 | |
3220 | 6983 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6984 | |
6985 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6986 Update Bessel function support to use library by D. E. Amos. | |
6987 | |
3219 | 6988 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6989 | |
6990 * cmd-edit.h (command_editor::readline): Add new variation that | |
6991 allows EOF information to be passed back to caller. | |
6992 | |
6993 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6994 amount of data to read is unspecified. | |
6995 | |
3215 | 6996 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6997 | |
3219 | 6998 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6999 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
7000 | |
3215 | 7001 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
7002 Add volatile qualifier to void* arg. | |
7003 Cast volatile void* arg to volatile char*. | |
7004 | |
7005 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7006 | |
7007 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
7008 (command_editor::do_restore_event_hook): Ditto. | |
7009 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
7010 (command_editor::restore_event_hook): Ditto. | |
7011 (gnu_readline::do_set_event_hook): Ditto. | |
7012 (gnu_readline::do_restore_event_hook): Ditto. | |
7013 (gnu_readline::previous_event_hook): New data member. | |
7014 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
7015 | |
3206 | 7016 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7017 | |
7018 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
7019 | |
7020 * Makefile.in (stmp-pic): New target. | |
7021 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
7022 (clean): Remove stmp-pic | |
7023 | |
7024 * Makefile.in: Undo previous change to avoid optmization when | |
7025 compiling lo-ieee.cc. | |
7026 | |
7027 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7028 | |
7029 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
7030 imaginary parts. | |
7031 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
7032 | |
3203 | 7033 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7034 | |
7035 * boolMatrix.cc (boolMatrix::operator !): New function. | |
7036 | |
3196 | 7037 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7038 | |
7039 * pathsearch.h (dir_path::default_path): New data member. | |
7040 * pathsearch.cc (dir_path::init): Use it. | |
7041 | |
7042 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
7043 | |
3189 | 7044 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7045 | |
7046 * chMatrix.cc (charMatrix::extract): New function. | |
7047 (charMatrix::charMatrix (char c)): New constructor. | |
7048 | |
7049 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7050 | |
7051 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
7052 * cmd-edit.cc (command_editor::read_init_file): New function. | |
7053 (gnu_readline::do_read_init_file): Likewise. | |
7054 | |
3185 | 7055 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7056 | |
7057 * oct-env.cc (octave_env::do_get_home_directory): | |
7058 If HOME can't be found, set it to "/". | |
7059 (octave_env::do_get_user_name) | |
7060 If user name can't be found, set it to "unknown". | |
7061 (octave_env::do_get_host_name) | |
7062 If host name can't be found, set it to "unknown". | |
7063 | |
7064 * pathsearch.h (dir_path::rehash): New function. | |
7065 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
7066 diretcory cache before doing initialization. | |
7067 | |
3180 | 7068 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7069 | |
3185 | 7070 * dMatrix.cc (Qzval): Delete. |
7071 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
7072 * dMatrix.h (Qzval): Delete declaration. | |
7073 | |
7074 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
7075 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
7076 * mx-ext.h: Don't include dbleGEPBAL. | |
7077 | |
3180 | 7078 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
7079 static_cast. | |
7080 | |
7081 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7082 | |
7083 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
7084 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
7085 | |
7086 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7087 | |
7088 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
7089 HUGE_VAL and NAN. | |
7090 | |
7091 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7092 | |
7093 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
7094 Handle x(i) = scalar for do_fortran_indexing == 1. | |
7095 | |
7096 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7097 | |
7098 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
7099 Alloctate space before attempting to use it. | |
7100 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
7101 | |
5095 | 7102 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 7103 |
7104 * EIG.cc (EIG::init): Move invariant code outside loop. | |
7105 | |
7106 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7107 | |
7108 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
7109 have the same size as the operands. | |
7110 | |
7111 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7112 | |
7113 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
7114 call to ddassl, set integration_error to 1 before calling the | |
7115 error handler and returning. | |
7116 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7117 | |
3177 | 7118 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7119 | |
7120 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
7121 do_fortran_indexing is set, A([]) = scalar. | |
7122 * Array-idx.h (assign): Allow A([]) = scalar. | |
7123 | |
3176 | 7124 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7125 | |
7126 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
7127 if dm_nc == 0. | |
7128 | |
3174 | 7129 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7130 | |
7131 * pathsearch.h (dir_path::p_orig): New field. | |
7132 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
7133 expansion on the original path here. | |
7134 (dir_path::find_all): Don't do anything if not initialized. | |
7135 | |
3164 | 7136 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7137 | |
7138 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
7139 is not set. | |
7140 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
7141 | |
7142 * lo-specfun.cc (gammainc): Use dgamit to compute | |
7143 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
7144 \int_0^x exp(-t) t^(a-1) dt. | |
7145 | |
7146 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7147 | |
7148 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
7149 Array-s.cc: Change return types of all `assign' explicit | |
7150 instantiations to be int, not void, to match the template decl in | |
7151 Array.h. | |
7152 | |
3162 | 7153 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7154 | |
7155 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
7156 | |
3156 | 7157 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7158 | |
7159 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
7160 * lo-mappers.cc: Not here. | |
7161 | |
7162 * lo-specfun.h: Declare xgamma and xlgamma here. | |
7163 * lo-mappers.h: Not here. | |
7164 | |
7165 * lo-specfun.h: Never declare gamma or lgamma. | |
7166 | |
3154 | 7167 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7168 | |
7169 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
7170 empty matrix of any dimension. | |
7171 | |
3145 | 7172 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7173 | |
3147 | 7174 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
7175 | |
3146 | 7176 * lo-specfun.cc: Don't include dbleBessel.h. |
7177 | |
7178 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
7179 | |
3145 | 7180 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
7181 * file-stat.h (file_stat::operator bool ()): Likewise. | |
7182 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
7183 * oct-group.h (octave_group::operator bool ()): Likewise. | |
7184 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
7185 | |
7186 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
7187 Don't cast arg in call to swap_8_bytes. | |
7188 (IEEE_big_double_to_IEEE_little_double): Ditto | |
7189 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
7190 swap_4_bytes. | |
7191 (IEEE_little_float_to_IEEE_big_float): Ditto | |
7192 | |
7193 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
7194 * prog-args.cc (prog_args::getopt): Likewise. | |
7195 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
7196 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
7197 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
7198 Likewise. | |
7199 | |
7200 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
7201 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
7202 | |
3141 | 7203 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7204 | |
7205 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
7206 Use $(mk-libdir-link). | |
7207 | |
7208 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
7209 not SAFE_STAT and SAFE_LSTAT. | |
7210 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
7211 * safe-xstat.hin, safe-xstat.cin: Delete. | |
7212 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
7213 safe-lstat.h, and safe-lstat.cc. | |
7214 | |
3136 | 7215 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7216 | |
7217 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
7218 | |
3130 | 7219 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
7220 | |
7221 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
7222 trace is negative. | |
7223 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
7224 the real part of the trace is negative. | |
7225 | |
7226 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7227 | |
7228 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
7229 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
7230 | |
7231 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
7232 to succeed. | |
7233 | |
3125 | 7234 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7235 | |
7236 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
7237 (make_uniq): Likewise. | |
7238 | |
7239 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7240 | |
7241 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
7242 | |
3119 | 7243 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7244 | |
3121 | 7245 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
7246 | |
7247 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 7248 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
7249 | |
3121 | 7250 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
7251 oct-math.h: Delete. | |
7252 * Makefile.in (SOURCES): Delete them from the list. | |
7253 | |
3112 | 7254 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7255 | |
7256 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
7257 | |
5095 | 7258 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 7259 |
7260 Changes to make support egcs snapshots that implement explicit | |
7261 specification of template functions according to CD2. | |
7262 | |
7263 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
7264 template function specs for template friends. | |
7265 * MArray2.h: Likewise. | |
7266 * MDiagArray2.h: Likewise. | |
7267 | |
3095 | 7268 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7269 | |
7270 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
7271 | |
3092 | 7272 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
7273 | |
7274 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
7275 to complex<double>(int) instead of complex<double>(double). | |
7276 | |
7277 * lo-mappers.cc (atanh): Ditto. | |
7278 | |
3079 | 7279 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7280 | |
7281 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
7282 * idx-vector.h (idx_vector::sort): Ditto. | |
7283 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
7284 trying to delete elements specified by the index vectors. | |
7285 | |
3075 | 7286 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7287 | |
7288 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
7289 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
7290 | |
3074 | 7291 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7292 | |
7293 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
7294 | |
3069 | 7295 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7296 | |
7297 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
7298 Call error handler if we can't find the current directory. | |
7299 | |
3068 | 7300 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7301 | |
3069 | 7302 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
7303 (xfinite (double)): Ditto. | |
7304 | |
3068 | 7305 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
7306 * CmplxQR.cc (ComplexQR::init): Ditto. | |
7307 | |
3056 | 7308 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7309 | |
7310 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
7311 compatible with Matlab. | |
7312 | |
3050 | 7313 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7314 | |
7315 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
7316 single colon. | |
7317 | |
3040 | 7318 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7319 | |
3049 | 7320 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
7321 (xgamma): Likewise, for calling xdgamma. | |
7322 | |
3042 | 7323 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
7324 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
7325 | |
3040 | 7326 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
7327 to do better job expanding tildes. | |
7328 | |
7329 * str-vec.cc (string_vector::string_vector (const char * const *): | |
7330 Use temporary variable to compute length. | |
7331 | |
3029 | 7332 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7333 | |
3034 | 7334 * Makefile.in: Make building of static library optional. |
3036 | 7335 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 7336 |
3029 | 7337 * Makefile.in (stamp-picdir): Delete. |
7338 (pic): New target. Don't worry so much about creating pic | |
7339 directory only when it is really needed. | |
7340 (stamp-interp): Delete. | |
7341 (libraries): New target. Depend on shared library directly. | |
7342 | |
3024 | 7343 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7344 | |
7345 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
7346 New static function. | |
7347 | |
3012 | 7348 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7349 | |
7350 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
7351 | |
3004 | 7352 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7353 | |
7354 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
7355 set_basic_quote_characters, to match new version of readline. | |
7356 | |
7357 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
7358 for restoring terminal state through rl_deprep_term_function, now | |
7359 declared in readline.h | |
7360 (rl_deprep_terminal): Delete declaration. | |
7361 | |
2993 | 7362 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7363 | |
7364 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
7365 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
7366 | |
2968 | 7367 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7368 | |
7369 * cmd-edit.cc (command_editor::increment_current_command_number): | |
7370 New static function. | |
7371 | |
2964 | 7372 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7373 | |
2966 | 7374 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
7375 the vector is not sorted. | |
7376 | |
2964 | 7377 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
7378 * dMatrix.cc (Matrix::operator !): Likewise | |
7379 | |
2941 | 7380 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7381 | |
7382 * oct-syscalls.h, oct-syscalls.cc: New files. | |
7383 | |
7384 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
7385 | |
7386 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
7387 | |
2938 | 7388 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7389 | |
2941 | 7390 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
7391 (install-inc): Use it. | |
7392 | |
2938 | 7393 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
7394 Handle errors and missing functions consistently. | |
7395 | |
7396 * oct-group.h, oct-group.cc: New files. | |
7397 | |
7398 * oct-passwd.cc: Handle errors and missing functions consistently. | |
7399 | |
7400 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
7401 | |
2934 | 7402 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7403 | |
7404 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
7405 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
7406 | |
7407 * oct-passwd.h, oct-passwd.cc: New files. | |
7408 | |
2926 | 7409 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7410 | |
7411 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
7412 | |
7413 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
7414 (instance_ok ()): New function. | |
7415 | |
7416 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
7417 | |
7418 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
7419 | |
7420 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
7421 src/utils.h and src/utils.cc. | |
7422 (octave_fgets): New function, extracted from src/input.cc. | |
7423 | |
7424 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
7425 GNU readline, and allow Octave to work without GNU readline. | |
7426 | |
7427 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
7428 system-dependent functions. | |
7429 | |
7430 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
7431 | |
7432 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
7433 from file-ops.h and file-ops.cc and move here. | |
7434 | |
7435 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
7436 tilde_expand functions here from src/dirfns.cc. | |
7437 | |
7438 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7439 | |
7440 * pathlen.h: New file, from ../src. | |
7441 | |
2917 | 7442 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7443 | |
7444 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
7445 out-of-bounds indexing of the index array. | |
7446 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
7447 | |
2850 | 7448 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7449 | |
7450 * LSODE.h (x_step_limit): New field. | |
7451 (LSODE_options::init): Initialize it. | |
7452 (LSODE_options::copy): Copy it. | |
7453 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
7454 New functions. | |
7455 (LSODE::working_too_hard): Delete. | |
7456 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
7457 | |
2844 | 7458 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7459 | |
7460 * MArray-b.cc: Delete. | |
7461 * Makefile.in: Delete it from the lists. | |
7462 | |
7463 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
7464 MArray2, since most of the numeric ops don't really make sense. | |
7465 | |
2829 | 7466 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7467 | |
2832 | 7468 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
7469 | |
7470 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
7471 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
7472 | |
2830 | 7473 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
7474 idx_vector::freeze): Delete prefer_zero_one arg. | |
7475 * Array-idx.h, Array2-idx.h: Change all callers. | |
7476 | |
7477 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
7478 | |
2829 | 7479 * mx-op-defs.h: New file for operator definitions. |
7480 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
7481 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
7482 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
7483 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
7484 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
7485 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
7486 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
7487 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
7488 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
7489 mx-s-cm.cc, mx-s-dm.cc: | |
7490 New files for mixed-type operations. | |
7491 * Makefiles.in: Add them to the appropriate lists. | |
7492 | |
7493 * mx-inlines.cc: Add bool by bool EQ ops. | |
7494 | |
7495 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
7496 boolMatrix types. | |
7497 (idx_vector::maybe_convert_one_zero_to_idx, | |
7498 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
7499 Delete second arg, prefer_zero_one. Change all callers. | |
7500 | |
7501 * boolMatrix.h, boolMatrix.cc: New files. | |
7502 * mx-base.h: Include boolMatrix.h here. | |
7503 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
7504 | |
7505 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
7506 | |
7507 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
7508 operator-, operator*, product, and quotient functions. | |
7509 Add constructor for boolMatrix type. | |
7510 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
7511 product, and quotient functions. | |
7512 | |
7513 * CDiagMatrix.h: Delete friend declarations for operator+, | |
7514 operator-, and product functions. | |
7515 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
7516 | |
7517 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
7518 | |
2815 | 7519 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7520 | |
7521 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
7522 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
7523 (EIG::symmetric_init (const Matrix&)): New function. | |
7524 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
7525 | |
7526 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
7527 | |
7528 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7529 | |
7530 * Array2.cc (is_symmetric): New function. | |
7531 * Array2.h (is_square): New function. | |
7532 | |
2811 | 7533 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7534 | |
7535 * Makefile.in (install-strip): New target. | |
7536 | |
2804 | 7537 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7538 | |
7539 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7540 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
7541 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
7542 dbleSVD.cc: Don't include mx-inlines.cc. | |
7543 | |
7544 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
7545 duplicate code. | |
7546 | |
2800 | 7547 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7548 | |
2804 | 7549 * dbleQR.h (QR): Delete extra comma at end of list. |
7550 | |
7551 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
7552 | |
7553 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
7554 | |
7555 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
7556 idx_vecotr_rep:: qualifiers. | |
7557 | |
7558 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
7559 | |
7560 * data-conv.h (save_type): Delete extra comma at end of list. | |
7561 | |
2800 | 7562 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
7563 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
7564 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
7565 old C-style `(T) val' casts. | |
7566 | |
2795 | 7567 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7568 | |
7569 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
7570 just breaking out of the innermost loop. | |
7571 * CMatrix.cc (operator >>): Likewise. | |
7572 | |
2779 | 7573 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7574 |
7575 * Version 2.0.5 released. | |
7576 | |
2767 | 7577 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7578 | |
7579 * CmplxQR.cc (ComplexQR::init): New function. | |
7580 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7581 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7582 Get sizes right in all cases. | |
7583 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7584 | |
7585 * dbleQR.cc (QR::init): New function. | |
7586 (QR::QR): Use it. Use initializer list too. | |
7587 * dbleQRP.cc (QRP::init): New function. | |
7588 Get sizes right in all cases. | |
7589 (QR::QRP): Use it. Use initializer list too. | |
7590 | |
2759 | 7591 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7592 | |
7593 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7594 Recognize "vaxg", not "vax_g". | |
7595 | |
2713 | 7596 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7597 | |
2714 | 7598 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7599 dimension in check for colon equivalent index. | |
7600 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7601 index whose value is 0 is also colon eqivalent for n == 1. | |
7602 | |
2713 | 7603 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7604 system-specific tests first. | |
7605 | |
2709 | 7606 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7607 |
7608 * Version 2.0.4 released. | |
7609 | |
7610 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7611 | |
7612 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7613 | |
2693 | 7614 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7615 |
7616 * Version 2.0.3 released. | |
7617 | |
2686 | 7618 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7619 | |
7620 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7621 | |
2673 | 7622 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7623 | |
2676 | 7624 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7625 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7626 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7627 (stamp-picdir): Silence noise about making pic. | |
7628 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7629 | |
2673 | 7630 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7631 Fix typo in last change. | |
7632 | |
7633 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7634 Convert from friend (moved from dColVector.cc). | |
7635 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7636 Likewise (moved from dMatrix.cc). | |
7637 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7638 Likewise (moved from dRowVector.cc). | |
7639 | |
7640 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7641 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7642 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7643 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7644 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7645 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7646 | |
7647 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7648 * dMatrix.cc (Matrix::apply): Likewise. | |
7649 * dRowVector.cc (RowVector::apply): Likewise. | |
7650 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7651 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7652 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7653 | |
2668 | 7654 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7655 | |
7656 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7657 | |
7658 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7659 | |
7660 * file-ops.cc (oct_unlink (const string&, string&)): | |
7661 New two-arg version. | |
7662 (oct_rmdir (const string&, string&)): New two-arg version. | |
7663 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7664 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7665 (oct_rename (const string&, const string&, string&)): | |
7666 New three-arg version. | |
7667 | |
2663 | 7668 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7669 | |
7670 * idx-vector.h (idx_vector::orig_empty): New function. | |
7671 | |
7672 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7673 Don't always resize to [](0x0) if one of the indices is empty or | |
7674 zero. | |
7675 | |
2658 | 7676 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7677 | |
7678 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7679 Set line_in_file here too. | |
7680 (command_history::read_range): New arg, must_exist. | |
7681 | |
2651 | 7682 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7683 | |
7684 * f2c-main.c: Change C++-style comments to C-style comments. | |
7685 | |
2638 | 7686 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7687 | |
7688 * Makefile.in (install-inc): Create a relative symbolic link. | |
7689 | |
2634 | 7690 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7691 | |
7692 * Version 2.0.2 released. | |
7693 | |
2624 | 7694 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7695 | |
7696 * Makefile.in (bin-dist): New target. | |
7697 | |
2621 | 7698 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7699 | |
7700 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7701 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7702 | |
2613 | 7703 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7704 | |
7705 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7706 If the number of columns is zero, also set the number of rows to zero. | |
7707 (charMatrix::charMatrix (const char *)): Likewise. | |
7708 | |
2602 | 7709 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7710 | |
7711 * Version 2.0.1 released. | |
7712 | |
2601 | 7713 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7714 | |
7715 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7716 columns for resizing when the number of rows is specified but the | |
7717 number of columns is not. | |
7718 | |
2598 | 7719 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7720 | |
2599 | 7721 * Range.cc (operator -): New function. |
7722 | |
2598 | 7723 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7724 | |
2589 | 7725 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7726 | |
7727 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7728 know if the assignment conforms. | |
7729 | |
2583 | 7730 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7731 | |
7732 * Version 2.0 released. | |
7733 | |
2570 | 7734 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7735 | |
2575 | 7736 * Array2-idx.h (assign): If index is a colon, set number of |
7737 elements to the lhs dimension if the lhs dimension is greater than | |
7738 zero. Otherwise, set it to the rhs dimension. | |
7739 | |
7740 * Version 1.94. | |
7741 | |
2570 | 7742 * Array2-idx.h (assign): Test for rhs scalar case first. |
7743 If index is colon, set number of elements to lhs dimension, not | |
7744 rhs dimension. | |
7745 | |
2563 | 7746 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7747 | |
2566 | 7748 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7749 * sun-utils.cc: Delete. | |
7750 * f2c-main.c: New file | |
7751 | |
7752 * Makefile.in: Fix file name lists. | |
7753 | |
2563 | 7754 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7755 | |
2561 | 7756 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7757 | |
7758 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7759 Create result using Complex constructor, not multiplication. | |
7760 Order elements as they are returned from Eispack. | |
7761 | |
2559 | 7762 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7763 | |
2560 | 7764 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7765 Only include nan.h if SCO is defined. Define _IEEE before | |
7766 including it and undefine it afterward. | |
7767 [SCO] (isnan): Don't mistake Inf as NaN. | |
7768 | |
2559 | 7769 * Array-idx.h (assign): Only resize if assignment conforms. |
7770 | |
2551 | 7771 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7772 | |
7773 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7774 * lo-error.h: Delete (moved to libcruft/misc). | |
7775 | |
7776 * Version 1.93. | |
7777 | |
2546 | 7778 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7779 | |
2549 | 7780 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7781 be the same as they are in fnmatch.h. | |
7782 | |
2546 | 7783 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7784 | |
7785 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7786 (SOURCES): Delete f77-fcn.c. | |
7787 | |
2522 | 7788 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7789 | |
7790 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7791 | |
2512 | 7792 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7793 | |
7794 * Version 1.92. | |
7795 | |
2508 | 7796 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7797 | |
2512 | 7798 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7799 lines that have only carriage return or newline. | |
7800 | |
2508 | 7801 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7802 | |
2500 | 7803 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7804 | |
7805 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7806 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7807 | |
2493 | 7808 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7809 | |
7810 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7811 from vectors of C strings. | |
7812 | |
7813 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7814 vector. | |
7815 (glob_match::match): Allow match string to be a string vector. | |
7816 (glob_match::glob): New function. | |
7817 | |
7818 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7819 | |
7820 * Array-b.cc: New file. | |
7821 * Makefile.in (TI_SRC): Add it to the list. | |
7822 | |
2492 | 7823 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7824 | |
7825 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7826 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7827 want the version from the build directory. (Maybe this should be | |
7828 done for all the include files, not just those that are | |
7829 auto-generated? Hmm.) | |
7830 | |
2481 | 7831 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7832 | |
2482 | 7833 * Version 1.91. |
7834 | |
2481 | 7835 * Array3.cc (Array3<T>::resize): Make it work. |
7836 | |
7837 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7838 | |
7839 * oct-alloc.h, oct-alloc.cc: New files. | |
7840 * Makefile.in: Add them to the lists. | |
7841 | |
7842 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7843 | |
7844 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7845 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7846 | |
2466 | 7847 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7848 | |
7849 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7850 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7851 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7852 underlying macro is not defined. | |
7853 | |
7854 * oct-math.h (lgamma, gamma): Delete declarations. | |
7855 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7856 Protect declarations with #ifdef HAVE_*. | |
7857 | |
2440 | 7858 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7859 | |
2452 | 7860 * Version 1.90. |
7861 | |
7862 * Makefile.in (DISTFILES): Add ChangeLog. | |
7863 | |
2444 | 7864 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7865 | |
7866 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7867 | |
2443 | 7868 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7869 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7870 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7871 |
2440 | 7872 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7873 since that is now accepatble syntax, even for built-in types. | |
7874 * Array2.h (T Array2<T>::checkelem): Likewise | |
7875 | |
2433 | 7876 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7877 | |
7878 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7879 message and return -1. | |
7880 | |
2428 | 7881 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7882 | |
2431 | 7883 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7884 cast them to const string * in the body of the function. | |
7885 | |
7886 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7887 string from buf. | |
7888 | |
2428 | 7889 * Array3.h (Array3::checkelem): Tag bogus return value with |
7890 GCC_ATTRIBUTE_UNUSED. | |
7891 * Array2.h (Array2::checkelem): Likewise. | |
7892 | |
2424 | 7893 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7894 | |
7895 * Quad.h (Quad): Define virtual destructor. | |
7896 | |
2408 | 7897 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7898 | |
7899 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7900 | |
2401 | 7901 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7902 | |
7903 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7904 and MAIN__ extern "C". | |
7905 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7906 | |
2391 | 7907 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7908 | |
7909 * MArray-misc.cc: New file. | |
7910 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7911 | |
7912 * mx-inlines.cc (equal): Return bool, not int. | |
7913 | |
7914 * idx-vector.h (idx_vector (double)): New constructor. | |
7915 | |
7916 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7917 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7918 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7919 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7920 CRowVector.cc: Logical operators return bool, not int. | |
7921 | |
7922 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7923 New function. | |
7924 | |
7925 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7926 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7927 Matrix::all_elements_are_inf_or_nan): New functions. | |
7928 | |
7929 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7930 | |
7931 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7932 for errors. Simplify macros by converting FCN to string for error | |
7933 messages. | |
7934 | |
7935 * Array-idx.h (Array<T>::index): New function. Don't call | |
7936 clear_index() here. | |
7937 (Array<T>::value): Call it, do call clear_index() here. | |
7938 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7939 one and two arg index functions. | |
7940 | |
7941 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7942 | |
7943 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7944 separate implementation file. | |
7945 | |
2354 | 7946 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7947 | |
2358 | 7948 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7949 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7950 | |
2356 | 7951 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7952 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7953 them uniq. | |
7954 | |
2354 | 7955 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7956 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7957 Rewrite. Also return index as a reference arg. | |
7958 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7959 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7960 Delete. | |
7961 | |
7962 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7963 Matrix::column_max, Matrix::column_min): | |
7964 Rewrite. Also return index as a reference arg. | |
7965 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7966 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7967 | |
7968 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7969 | |
7970 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7971 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7972 Matrix::column_min_loc, Matrix::column_max, | |
7973 Matrix::column_max_loc): Ignore leading NaNs. | |
7974 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7975 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7976 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7977 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7978 leading NaNs. | |
7979 | |
2352 | 7980 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7981 | |
7982 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7983 starting at n, not 0. | |
7984 | |
2349 | 7985 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7986 | |
7987 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7988 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7989 | |
7990 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7991 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7992 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7993 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7994 New constructors. | |
7995 | |
7996 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7997 New constructor. | |
7998 | |
2343 | 7999 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8000 | |
8001 * LSODE.cc (do_integrate): Check to make sure that the state and | |
8002 derivative vectors are the same size. | |
2344 | 8003 * DASSL.cc (do_integrate): Likewise. |
2343 | 8004 |
2330 | 8005 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
8006 | |
8007 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
8008 iostreams and handler data format conversions. Delete old methods | |
8009 that used stdio. | |
8010 | |
8011 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
8012 | |
8013 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8014 | |
8015 * mach-info.h: Rename from float-fmt.h. | |
8016 * mach-info.cc: Rename from float-fmt.cc. | |
8017 Handle machine information using a singlton class. | |
8018 * Makefile.in: Update appropriate lists. | |
8019 | |
8020 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8021 | |
8022 * Array-flags.cc: Provide definitions for the flags even if | |
8023 OCTAVE_SOURCE is not defined. | |
8024 | |
8025 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
8026 operator(), not elem(). | |
8027 * Array3.h: Move indexing methods here from Array3.cc. | |
8028 | |
8029 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8030 | |
8031 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
8032 | |
8033 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
8034 INSTALL_DATA for shared libs. | |
8035 | |
8036 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8037 | |
8038 * Quad.cc: Include lo-error.h here too. | |
8039 | |
8040 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8041 | |
8042 * file-ops.h: Include sys/types.h here. | |
8043 | |
8044 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8045 | |
8046 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
8047 | |
8048 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
8049 elements in result. | |
8050 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
8051 rows and columns in result. | |
8052 | |
8053 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8054 | |
8055 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
8056 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
8057 | |
8058 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8059 | |
8060 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
8061 | |
8062 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8063 | |
8064 * Makefile.in (uninstall): Also delete shared library. | |
8065 Split install into install-libs and install-includes. | |
8066 (install-inc): If linkdir is a directory, leave it alone. | |
8067 | |
8068 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
8069 | |
8070 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8071 | |
8072 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
8073 * Array2-idx.h (assign): Likewise. | |
8074 | |
8075 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8076 | |
8077 * Array2.cc (Array2<T>::range_error): New functions. | |
8078 | |
8079 * Array.h (class Array<T>): elem() and operator() are now | |
8080 equivalent, and do bounds checking by default. | |
8081 * Array2.cc (class Array2<T>): Likewise. | |
8082 | |
8083 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8084 | |
8085 * Makefile.in (maintainer-clean, distclean): Also delete | |
8086 stamp-picdir, stamp-shared, and pic directory. | |
8087 (stamp-prereq): New target. | |
8088 | |
8089 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8090 | |
8091 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
8092 New function. | |
8093 | |
8094 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
8095 * Array.h (Array<T>::checkelem): Use them. | |
8096 | |
8097 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
8098 elements too. | |
8099 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
8100 | |
8101 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
8102 | |
8103 * Makefile.in (distclean): Delete so_locations, which is created | |
8104 on DEC Alpha systems. | |
8105 | |
8106 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8107 | |
8108 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
8109 already defined. | |
8110 | |
8111 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8112 | |
8113 * pathsearch.cc: Include config.h. | |
8114 | |
8115 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8116 | |
8117 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
8118 allow M(I, J) = scalar if I or J is empty. | |
8119 | |
8120 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
8121 and Array3-idx.h). | |
8122 | |
8123 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8124 | |
8125 * lo-error.h: Make comments C friendly. | |
8126 | |
8127 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8128 | |
8129 * Array2.h (make_unique): Move all indexing functions here. | |
8130 * Array2.cc: From here. | |
8131 | |
8132 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
8133 whether operator() calls elem or checkelem. | |
8134 | |
8135 * Array.h (make_unique): New private function. | |
8136 Move all indexing functions here. | |
8137 * Array.cc: From here. | |
8138 | |
8139 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
8140 it too. | |
8141 | |
8142 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
8143 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
8144 MArray-C.cc: Include config.h. | |
8145 | |
8146 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
8147 Don't define HEAVYWEIGHT_INDEXING here. | |
8148 | |
8149 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8150 | |
8151 * base-lu.h, base-lu.cc: New files. | |
8152 * Makefile.in: Add them to the appropriate lists. | |
8153 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
8154 | |
8155 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8156 | |
8157 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
8158 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
8159 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
8160 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
8161 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
8162 | |
8163 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
8164 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
8165 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
8166 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
8167 Simplify using new macros. | |
8168 | |
8169 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8170 | |
8171 * Makefile.in (install): If $(includedir) ends in version string, | |
8172 make link to name that does not include version info. | |
8173 | |
8174 * lo-ieee.cc: Include <cmath> here. | |
8175 | |
8176 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8177 | |
8178 * lo-ieee.cc, lo-ieee.h: New files. | |
8179 * lo-mappers.cc, lo-mappers.h: New files. | |
8180 * lo-utils.cc, lo-utils.h: New files. | |
8181 * Makefile.in: Add them to the appropriate lists. | |
8182 | |
8183 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8184 | |
8185 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
8186 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
8187 | |
8188 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
8189 float-fmt.cc: New files. | |
8190 * Makefile.in: Include them in the appropriate lists. | |
8191 | |
8192 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8193 | |
8194 * dMatrix.cc (Qzval): New function. | |
8195 | |
8196 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8197 | |
8198 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
8199 char*. | |
8200 | |
8201 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
8202 Use F77_XFCN to call Fortran subroutine. | |
8203 * dColVector.cc, CColVector.cc: Likewise. | |
8204 * dRowVector.cc, CRowVector.cc: Likewise. | |
8205 * NPSOL.h, NPSOL.cc: Likewise. | |
8206 * CmplxCHOL.cc: Likewise. | |
8207 * dbleCHOL.cc: Likewise. | |
8208 * CMatrix.cc: Likewise. | |
8209 * dMatrix.cc: Likewise. | |
8210 * QPSOL.cc: Likewise. | |
8211 * LSODE.cc: Likewise. | |
8212 | |
8213 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8214 | |
8215 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
8216 | |
8217 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
8218 workspace. Use F77_XFCN to call Fortran subroutine. | |
8219 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
8220 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
8221 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
8222 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
8223 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
8224 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
8225 * dbleHESS.h, dbleHESS.cc: Likewise. | |
8226 * dbleSVD.h, dbleSVD.cc: Likewise. | |
8227 * EIG.h, EIG.cc; Likewise. | |
8228 * CollocWt.cc: Likewise. | |
8229 * NLEqn.cc: Likewise. | |
8230 * Quad.cc: Likewise. | |
8231 | |
8232 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8233 | |
8234 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
8235 Use F77_XFCN to call Fortran subroutine. | |
8236 * CmplxLU.h, CmplxLU.cc: Ditto. | |
8237 * dbleQR.h, dbleQR.cc: Ditto. | |
8238 * CmplxQR.h, CmplxQR.cc: Ditto. | |
8239 * dbleQRP.h, dbleQRP.cc: Ditto. | |
8240 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
8241 | |
8242 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
8243 (struct DIR): delete forward declaration. | |
8244 (dir_entry::operator = (const dir_entry$)): Protect against | |
8245 copying same object. | |
8246 * dir-ops.cc: Cast dir appropriately. | |
8247 | |
8248 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8249 | |
8250 * lo-error.cc: Moved to libcruft/misc. | |
8251 * Makefile.in: Delete it from the list. | |
8252 | |
8253 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
8254 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
8255 | |
8256 * Array-flags.h: New file. | |
8257 * Array-idx.h: Include it here. | |
8258 * Makefile.in (MATRIX_INC): Add it to the list. | |
8259 | |
8260 * Array-flags.cc: Renamed from Array-ext.cc. | |
8261 (liboctave_dfi_flag): Renamed from dfi_flag. | |
8262 (liboctave_pcv_flag): Renamed from pcv_flag. | |
8263 (liboctave_pzo_flag): Renamed from pzo_flag. | |
8264 (liboctave_rre_flag): Renamed from rre_flag. | |
8265 * Array-idx.h: Change all uses of dfi_flag, etc. | |
8266 * Makefile.in (MATRIX_SRC): Change file name here too. | |
8267 | |
8268 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
8269 (stamp-shared): Use them here. | |
8270 | |
8271 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8272 | |
8273 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
8274 argument value. | |
8275 | |
8276 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8277 | |
8278 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
8279 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
8280 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
8281 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
8282 Clean up constructors, assigment operator. | |
8283 | |
8284 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8285 | |
8286 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
8287 Check f77_exception_encountered on return. | |
8288 | |
8289 * f77-fcn.c (f77_exception_encountered): New variable. | |
8290 (F77_XFCN): Set it. | |
8291 * f77-fcn.h: Provide declaration. | |
8292 | |
8293 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
8294 | |
8295 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
8296 | |
8297 * NLEqn.h (NLEqn_options::set_options): New function. | |
8298 * Quad.h (Quad_options::set_options): Likewise. | |
8299 | |
8300 * LP.h (class LP): Add accessors for LP data. | |
8301 | |
8302 * NLEqn.h (NLEqn::n): Delete. | |
8303 | |
8304 * NLEqn.h (class NLEqn::n): Likewise. | |
8305 | |
8306 * NLP.h (class NLP): Add accessors for NLP data. | |
8307 | |
8308 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
8309 access functions here. | |
8310 * NPSOL.cc.cc: From here. | |
8311 | |
8312 * QLD.h (class QLD): Add destructor definition. | |
8313 * Objective.h (class Objective): Likewise. | |
8314 * ODEFunc.h (class ODEFunc): Likewise. | |
8315 * NLFunc.h (class NLFunc): Likewise. | |
8316 * NLEqn.h (class NLEqn): Likewise. | |
8317 * NLConst.h (class NLConst): Likewise. | |
8318 * LinConst.h (class LinConst): Likewise. | |
8319 * LSODE.h (class LSODE_options): Likewise. | |
8320 * CollocWt.h (class CollocWt): Likewise. | |
8321 * Bounds.h (class Bounds): Likewise. | |
8322 | |
8323 * QLD.cc (QLD::set_default_options): Delete. | |
8324 | |
8325 * QP.h (QP): Add accessors for QP data. | |
8326 Add copy constructor, operator =, and destructor definitions. | |
8327 | |
8328 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
8329 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
8330 DAEFunc.h, CollocWt.h, Bounds.h: | |
8331 Clean up constructors, assigment operator. | |
8332 | |
8333 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
8334 counting to avoid duplicating the data immediately. | |
8335 * dColVector.cc (ColumnVector::transpose): Likewise. | |
8336 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
8337 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
8338 | |
8339 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8340 | |
8341 * prog-args.h (prog_args::option_argument): New enum. | |
8342 | |
8343 * f77-fcn.h: Rename from f77-uscore.h. | |
8344 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
8345 * f77-fcn.c: New file. | |
8346 * Makefile.in (SOURCES): Add it to the list. | |
8347 | |
8348 * ODEFunc.h: Clean up. | |
8349 | |
8350 * DASSL.cc, DASSL.h: New files. | |
8351 * Makefile.in: Add them to the appropriate lists. | |
8352 | |
8353 * LSODE.cc, LSODE.h: New files. | |
8354 * Makefile.in: Add them to the appropriate lists. | |
8355 | |
8356 * ODE.cc: Delete. | |
8357 * Makefile.in (SOURCES): Remove from list. | |
8358 | |
8359 * base-de.h, DAE.cc: New files. | |
8360 * Makefile.in: Add them to the appropriate lists. | |
8361 * ODE.h: Only define interface for ODE classes. | |
8362 * DAE.h: Only define interface for ODE classes. | |
8363 | |
8364 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
8365 (LPsolve::set_default_options)): Delete | |
8366 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
8367 destructor. | |
8368 | |
8369 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
8370 | |
8371 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
8372 (QPSOL::operator =): Call base class operator = instead of assuming | |
8373 we know what to copy. | |
8374 | |
8375 * base-min.h (size): New function. | |
8376 | |
8377 * NLP.h (NLP::size): Delete. | |
8378 (NLP::NLP (const NLP&)): New constructor. | |
8379 (NLP::operator =): Call base class operator = instead of assuming | |
8380 we know what to copy. | |
8381 | |
8382 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
8383 (class NPSOL): Add operator = and destructor. | |
8384 | |
8385 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
8386 | |
8387 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8388 | |
8389 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
8390 | |
8391 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8392 | |
8393 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
8394 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
8395 | |
8396 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8397 | |
8398 * prog-args.h, prog-args.cc: New files. | |
8399 * Makefile.in: Add them to lists. | |
8400 | |
8401 * getopt.h, getopt.c, getopt1.c: New files. | |
8402 * Makefile.in: Add them to the lists. | |
8403 | |
8404 * oct-term.h, oct-term.cc: New files. | |
8405 * Makefile.in: Add them to the lists. | |
8406 | |
8407 * str-vec.cc: New file. | |
8408 * Makefile.in (SOURCES): Add it to the list. | |
8409 | |
8410 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
8411 | |
8412 * tempname.c, tempnam.c: Move here from src directory. | |
8413 * Makefile.in: Add to lists. | |
8414 | |
8415 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8416 | |
8417 * cmd-hist.h, cmd-hist.cc: New files. | |
8418 * Makefile.in: Add them to lists. | |
8419 | |
8420 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8421 | |
8422 * oct-glob.h, oct-glob.cc: New files. | |
8423 * Makefile.in: Add them to lists. | |
8424 | |
8425 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8426 | |
8427 * pathsearch.h, pathsearch.cc: New files. | |
8428 * Makefile.in: Add them to lists. | |
8429 | |
8430 * dir-ops.h, dir-ops.cc: New files. | |
8431 * sysdir.h: Move here from src directory. | |
8432 * Makefile.in: Add them to lists. | |
8433 | |
8434 * Array.h (Array::qsort): Return *this, not void. | |
8435 * str-vec.h (string_vector::qsort): Likewise. | |
8436 | |
8437 * chMatrix.cc (row_as_string): Resize result to eliminate | |
8438 unnecessary NULs. | |
8439 | |
8440 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8441 | |
8442 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
8443 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
8444 Files moved here from src directory. | |
8445 * Makefile.in: Add them to lists. Include appropriate rules. | |
8446 | |
8447 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8448 Use pointers, not references (this is C code!). | |
8449 | |
8450 * oct-math.h: New file. | |
8451 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
8452 Files moved here from src directory. | |
8453 * Makefile.in: Add them to lists. | |
8454 | |
8455 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8456 | |
8457 * idx-vector.cc (make_uniq): Fix major brain-o. | |
8458 | |
8459 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
8460 Convert to use string class instead of char*. | |
8461 | |
8462 * str-vec.h, Array-str.cc: New files. | |
8463 | |
8464 * Array.h (Array::qsort): New function. | |
8465 | |
8466 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8467 | |
8468 * Array.h: Nest ArrayRep class inside Array class. | |
8469 Refer to ArrayRep, not ArrayRep<T>. | |
8470 Move all ArrayRep functions inline. | |
8471 Don't declare other Array classes as friends of ArrayRep. | |
8472 * Array.cc: Delete ArrayRep functions. | |
8473 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
8474 | |
8475 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
8476 Don't instantiate ArrayRep objects. | |
8477 | |
8478 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8479 | |
8480 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
8481 New constructor. | |
8482 | |
8483 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8484 | |
8485 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
8486 for balance_job arg. | |
8487 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
8488 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
8489 | |
8490 * chMatrix.cc (row_as_string): Return string, not const char*. | |
8491 | |
8492 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8493 | |
8494 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
8495 | |
8496 * chMatrix.cc (row_as_string): Undo previous change. | |
8497 | |
8498 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8499 | |
8500 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
8501 is expected to save string if necessary. | |
8502 | |
8503 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8504 | |
8505 * Array.h (class DiagArray): Enable nested Proxy class for all | |
8506 platforms. | |
8507 | |
8508 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
8509 a.rep, don't mess with count. | |
8510 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
8511 don't do anything if reps are the same. | |
8512 (Array3<T>& operator = (const Array3<T>&) | |
8513 | |
8514 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
8515 Declare private with no definition to prevent misuse. | |
8516 | |
8517 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
8518 Get range check right. | |
8519 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
8520 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
8521 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8522 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
8523 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
8524 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
8525 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
8526 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
8527 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
8528 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
8529 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
8530 * dColVector.cc | |
8531 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8532 * CRowVector.cc | |
8533 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
8534 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
8535 * CColVector.cc | |
8536 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
8537 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
8538 | |
8539 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
8540 Also fill in zeros, not just the diagonal. | |
8541 | |
8542 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
8543 Use END parameter properly. | |
8544 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
8545 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
8546 | |
8547 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
8548 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
8549 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
8550 Don't copy count. Set it to 1. | |
8551 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
8552 | |
8553 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
8554 don't set rep->count to 1 here (now handled by ArrayRep | |
8555 constructors). | |
8556 (Array<T>::Array (void)): Ditto. | |
8557 (Array<T>::Array (int)): Ditto. | |
8558 (Array<T>::T& elem (int)): Ditto. | |
8559 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
8560 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
8561 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
8562 (Array<T>::resize (int)): Ditto. | |
8563 (Array<T>::resize (int, const T&)) :Ditto. | |
8564 (Array<T>::fortran_vec (void)): Ditto. | |
8565 (Array2<T>::resize (int, int)): Ditto. | |
8566 (Array2<T>::resize (int, int, const T&)): Ditto. | |
8567 (DiagArray<T>::resize (int, int)): Ditto. | |
8568 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
8569 | |
8570 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8571 | |
8572 * Array-ch.cc: Rename from Array-c.cc. | |
8573 * MArray-ch.cc: Rename from MArray-c.cc. | |
8574 * chMatrix.cc: Rename from cMatrix.cc. | |
8575 * chMatrix.h: Rename from cMatrix.h. | |
8576 * Makefile.in (TI_SRC): Use new names here. | |
8577 * mx-base.h: Likewise. | |
8578 | |
8579 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8580 | |
8581 * Makefile.in: Handle shared libraries. | |
8582 | |
8583 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8584 | |
8585 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8586 Correctly compute length of return value. Correct rows and | |
8587 columns in zgemv call. | |
8588 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8589 | |
8590 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8591 | |
8592 * Makefile.in (stamp-picdir): New target. | |
8593 (all): Depend on it. | |
8594 | |
8595 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8596 | |
8597 * Makefile.in (INCLUDES): Remove QLD.h. | |
8598 (SOURCES): Remove QLD.cc. | |
8599 | |
8600 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8601 | |
8602 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8603 If force is nonzero, invert even if matrix is singular. | |
8604 (ComplexMatrix::inverse): Likewise. | |
8605 | |
8606 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8607 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8608 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8609 Include "oct-cmplx.h" instead of <Complex.h>. | |
8610 | |
8611 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8612 for class Complex. | |
8613 | |
8614 * oct-cmplx.h: New file. | |
8615 * Makefile.in (INCLUDES): Add it to the list. | |
8616 | |
8617 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8618 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8619 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8620 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8621 Avoid g++ bugs. | |
8622 | |
8623 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8624 | |
8625 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8626 | |
8627 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8628 | |
8629 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8630 | |
8631 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8632 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8633 | |
8634 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8635 | |
8636 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8637 index vector object with Array, not ArrayRep. | |
8638 | |
8639 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8640 | |
8641 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8642 if index is a colon and resizing is maybe needed. | |
8643 | |
8644 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8645 | |
8646 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8647 if we have a vector of 1's. | |
8648 | |
8649 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8650 current orientation, require index and rhs to conform unless | |
8651 do_fortran_indexing flag is set. | |
8652 | |
8653 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8654 | |
8655 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8656 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8657 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8658 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8659 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8660 Massive changes to support additional data types. Only charMatrix | |
8661 is currently used in Octave. | |
8662 | |
8663 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8664 | |
8665 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8666 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8667 Simply call Array2<Complex> version. | |
8668 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8669 call Array2<double> version. | |
8670 | |
8671 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8672 | |
8673 * Array.h, Array.cc: Massive overhaul to support new way of | |
8674 handling indexing. | |
8675 * idx-vector.h, idx-vector.cc: Likewise. | |
8676 * Array-ext.cc, Array-idx.h: New files. | |
8677 * Makefile.in: Add them to the appropriate lists. | |
8678 | |
8679 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8680 | |
8681 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8682 | |
8683 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8684 | |
8685 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8686 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8687 | |
8688 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8689 | |
8690 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8691 | |
8692 * Array.h: Move simple member functions here. | |
8693 * Array.cc: From here. | |
8694 | |
8695 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8696 | |
8697 * Range.cc (tfloor, tceil, round): New static functions. | |
8698 (Range::nelem_internal): Rewrite to use better method. | |
8699 | |
8700 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8701 (type_computed): New var. | |
8702 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8703 Handle possible error condition. | |
8704 (init): Allow for SVD::sigma_only, save type computed. | |
8705 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8706 Handle possible error condition. | |
8707 (init): Allow for SVD::sigma_only, save type computed. | |
8708 | |
8709 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8710 | |
8711 * Nearly all non-matrix .h and .cc files: | |
8712 Move short function bodies into class declarations for inlining. | |
8713 Generally clean up. | |
8714 | |
8715 * base-min.h: New file. | |
8716 * LP.h (class LP): Derive from base_minimizer. | |
8717 * QLP.h (class QLP): Derive from base_minimizer. | |
8718 * NLP.h (class NLP): Derive from base_minimizer. | |
8719 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8720 | |
8721 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8722 NLFunc.cc, Objective.cc and QP.cc from list. | |
8723 | |
8724 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8725 | |
8726 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8727 (SCHUR::SCHUR): Delete unused parameter ord. | |
8728 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8729 | |
8730 * CRowVector.cc | |
8731 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8732 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8733 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8734 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8735 Actually do something. | |
8736 | |
8737 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8738 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8739 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8740 | |
8741 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8742 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8743 tolerances. | |
8744 | |
8745 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8746 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8747 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8748 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8749 * QPSOL.cc (qphess): Likewise. | |
8750 | |
8751 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8752 | |
8753 * dMatrix.cc: Include <cstring>. | |
8754 | |
8755 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8756 that return bogus values after calling the error handler. | |
8757 | |
8758 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8759 | |
8760 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8761 | |
8762 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8763 | |
8764 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8765 | |
8766 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8767 (dassl_j): Likewise. | |
8768 | |
8769 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8770 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8771 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8772 Update for change in for loop variable scope for gcc 2.7.0. | |
8773 | |
8774 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8775 | |
8776 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8777 not set. | |
8778 | |
8779 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8780 | |
8781 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8782 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8783 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8784 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8785 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8786 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8787 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8788 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8789 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8790 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8791 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8792 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8793 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8794 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8795 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8796 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8797 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8798 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8799 NLP.h: Use pragma interface/implementation. Don't surround | |
8800 contents in extern "C++". | |
8801 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8802 | |
8803 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8804 | |
8805 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8806 identifiers. | |
8807 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8808 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8809 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8810 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8811 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8812 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8813 Quad.cc: Change usage of F77_FCN to match new definition | |
8814 | |
8815 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8816 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8817 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8818 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8819 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8820 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8821 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8822 args by reference instead of pointer. Change all callers. | |
8823 | |
8824 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8825 | |
8826 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8827 functions. Make += and -= operators friend functions. | |
8828 | |
8829 * Array.h (Array2::~Array2, Array3::~Array3, | |
8830 DiagArray::~DiagArray): New functions. | |
8831 | |
8832 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8833 | |
8834 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8835 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8836 | |
8837 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8838 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8839 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8840 dRowVector.h dRowVector.cc: | |
8841 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8842 Array2, and DiagArray2. | |
8843 Don't use functions defined in mx-kludge.cc for arithmetic | |
8844 like-type operations on arrays. | |
8845 | |
8846 * MArray.cc: Use the classes defined here like-type mathematical | |
8847 operations on Array objects. Abuse CPP more. | |
8848 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8849 (EXTRAS): Delete it from this list. | |
8850 | |
8851 * MArray-C.cc, MArray-d.cc: New files. | |
8852 * Makefile.in (TI_SRC): Add them to the list. | |
8853 | |
8854 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8855 | |
8856 * mx-kludge.cc: Abuse CPP even more. | |
8857 | |
8858 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8859 | |
8860 * Objective.h (objective_function): Add missing const. | |
8861 (gradient_function): Likewise. | |
8862 | |
8863 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8864 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8865 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8866 dRowVector.h dRowVector.cc: | |
8867 Reorganize to declare and define friends where they should be, | |
8868 based on the use of private constructors. | |
8869 | |
8870 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8871 | |
8872 * CRowVector.h (linspace): Add declaration. | |
8873 * dRowVector.h (linspace): Likewise. | |
8874 | |
8875 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8876 Force result of rcond + 1.0 to be stored. | |
8877 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8878 ComplexMatrix::solve): Likewise. | |
8879 | |
8880 See ChangeLog.1 in the top level directory for earlier changes. |