Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8968:91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Nothing terribly fancy in any of this. There probably is some
mechanism for using the permutation vectors and some assign or index
method in the sparse classes, but I've never understood all the
intricacies. I'm opting for a simple implementation at the cost of
possibly duplicating some functionality.
author | Jason Riedy <jason@acm.org> |
---|---|
date | Tue, 10 Mar 2009 21:54:44 -0400 |
parents | 1bba53c0a38d |
children | 3ecbc236e2e0 |
rev | line source |
---|---|
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
1 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
2 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
3 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
4 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
5 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
6 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
7 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
8 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
9 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
10 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
11 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
12 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
13 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
14 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
15 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
16 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
17 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
18 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
19 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
20 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
21 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
22 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
23 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
24 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
25 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
26 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
27 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
28 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
29 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
30 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
31 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
32 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
33 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
34 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
35 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
36 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
37 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
38 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
39 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
40 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
41 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
42 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
43 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
44 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
45 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
46 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
47 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
48 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
49 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
50 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
51 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
52 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
53 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
54 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
55 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
56 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
57 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
58 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
59 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
60 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
61 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
62 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
63 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
64 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
65 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
66 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
67 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
68 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
69 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
70 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
71 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
72 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
73 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
74 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
75 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
76 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
77 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
78 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
79 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
80 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
81 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
82 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
83 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
84 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
85 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
86 Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
87 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
88 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
89 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
90 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
91 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
92 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
93 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
94 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
95 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
96 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
97 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
98 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
99 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
100 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
101 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
102 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
103 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
104 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
105 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
106 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
107 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
108 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
109 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
110 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
111 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
112 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
113 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
114 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
115 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
116 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
117 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
118 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
119 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
120 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
121 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
122 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
123 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
124 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
125 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
126 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
127 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
128 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
129 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
130 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
131 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
132 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
133 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
134 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
135 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
136 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
137 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
138 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
139 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
140 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
141 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
142 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
143 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
144 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
145 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
146 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
147 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
148 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
149 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
150 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
151 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
152 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
153 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
154 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
155 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
156 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
157 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
158 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
159 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
160 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
161 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
162 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
163 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
164 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
165 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
166 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
167 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
168 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
169 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
170 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
171 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
172 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
173 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
174 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
175 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
176 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
177 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
178 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
179 |
8897 | 180 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
181 | |
182 * mx-inlines.cc: Add missing #include. | |
183 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
184 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
185 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
186 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
187 |
8864 | 188 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
189 | |
190 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
191 Simplify. | |
192 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
193 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
194 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
195 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
196 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
197 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
198 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
199 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
200 defs for octave_int_cmp_op::emulate_mop. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
201 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
202 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
203 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
204 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
205 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
206 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
207 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
208 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
209 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
210 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
211 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
212 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
213 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
214 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
215 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
216 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
217 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
218 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
219 (octave_sort<T>::MergeState::~MergeState): New destructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
220 (octave_sort<T>::MergeState::reset, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
221 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
222 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
223 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
224 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
225 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
226 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
227 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
228 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
229 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
230 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
231 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
232 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
233 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
234 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
235 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
236 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
237 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
238 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
239 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
240 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
241 |
8811 | 242 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
243 call to std::max. | |
244 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
245 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
246 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
247 | |
248 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
249 std::max and as operand to -= operator. | |
250 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
251 * floatQRP.cc (FloatQRP::init): Ditto. | |
252 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
253 | |
254 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
255 Declare info as octave_idx_type, not int. | |
256 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
257 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
258 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
259 Ditto. | |
260 | |
8806 | 261 * dMatrix.cc (Matrix::determinant): |
262 Declare local variables volatile as needed to avoid "maybe | |
263 clobbered by vfork" warning from GCC. | |
264 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
265 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
266 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
267 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
268 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
269 FloatQR::delete_col): Likewise. | |
270 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
271 ComplexQR::delete_col): Likewise. | |
272 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
273 FloatComplexQR::delete_col): Likewise. | |
274 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
275 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
276 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
277 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
278 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
279 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
280 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
281 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
282 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
283 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
284 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
285 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
286 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
287 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
288 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
289 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
290 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
291 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
292 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
293 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
294 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
295 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
296 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
297 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
298 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
299 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
300 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
301 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
302 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
303 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
304 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
305 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
306 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
307 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
308 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
309 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
310 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
311 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
312 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
313 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
314 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
315 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
316 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
317 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
318 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
319 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
320 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
321 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
322 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
323 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
324 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
325 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
326 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
327 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
328 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
329 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
330 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
331 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
332 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
333 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
334 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
335 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
336 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
337 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
338 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
339 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
340 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
341 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
342 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
343 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
344 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
345 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
346 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
347 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
348 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
349 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
350 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
351 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
352 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
353 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
354 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
355 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
356 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
357 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
358 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
359 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
360 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
361 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
362 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
363 |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
364 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
365 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
366 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
367 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
368 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
369 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
370 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
371 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
372 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
373 |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
374 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
375 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
376 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
377 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
378 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
379 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
380 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
381 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
382 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
383 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
384 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
385 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
386 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
387 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
388 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
389 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
390 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
391 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
392 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
393 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
394 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
395 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
396 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
397 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
398 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
399 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
400 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
401 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
402 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
403 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
404 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
405 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
406 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
407 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
408 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
409 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
410 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
411 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
412 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
413 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
414 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
415 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
416 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
417 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
418 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
419 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
420 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
421 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
422 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
423 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
424 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
425 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
426 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
427 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
428 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
429 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
430 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
431 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
432 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
433 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
434 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
435 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
436 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
437 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
438 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
439 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
440 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
441 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
442 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
443 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
444 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
445 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
446 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
447 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
448 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
449 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
450 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
451 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
452 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
453 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
454 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
455 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
456 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
457 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
458 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
459 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
460 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
461 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
462 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
463 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
464 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
465 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
466 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
467 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
468 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
469 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
470 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
471 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
472 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
473 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
474 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
475 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
476 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
477 |
8725 | 478 2009-02-12 John W. Eaton <jwe@octave.org> |
479 | |
480 * lo-traits.h: New file. | |
481 * Makefile.in (INCLUDES): Add it to the list. | |
482 | |
483 * Array.h (compare_fcn_type): New typedef. | |
484 * oct-sort.h (compare_fcn_type): Ditto. | |
485 | |
486 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
487 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
488 Use typedef to simplify decl. | |
489 (octave_sort<T>::ascending_compare, | |
490 octave_sort<T>::descending_compare): | |
491 Use ref_param<T>::type for parameter decl. | |
492 | |
493 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
494 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
495 | |
496 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
497 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
498 all uses. Use typedef for return value to simplify decl. | |
499 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
500 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
501 of sortrows_comparator. | |
502 | |
503 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
504 descending_compare, nan_ascending_compare, | |
505 nan_descending_compare): | |
506 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
507 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
508 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
509 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
510 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
511 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
512 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
513 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
514 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
515 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
516 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
517 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
518 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
519 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
520 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
521 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
522 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
523 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
524 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
525 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
526 |
8700 | 527 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
528 | |
529 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
530 inlined comparison functor and by-the-way indexed sorting. | |
531 * oct-sort.h (octave_sort<T>): Update interface. | |
532 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
533 mechanism. | |
534 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
535 Array-i.cc: Reflect changes. | |
536 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
537 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
538 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
539 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
540 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
541 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
542 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
543 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
544 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
545 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
546 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
547 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
548 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
549 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
550 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
551 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
552 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
553 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
554 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
555 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
556 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
557 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
558 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
559 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
560 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
561 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
562 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
563 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
564 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
565 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
566 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
567 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
568 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
569 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
570 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
571 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
572 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
573 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
574 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
575 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
576 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
577 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
578 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
579 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
580 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
581 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
582 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
583 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
584 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
585 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
586 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
587 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
588 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
589 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
590 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
591 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
592 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
593 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
594 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
595 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
596 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
597 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
598 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
599 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
600 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
601 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
602 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
603 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
604 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
605 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
606 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
607 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
608 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
609 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
610 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
611 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
612 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
613 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
614 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
615 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
616 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
617 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
618 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
619 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
620 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
621 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
622 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
623 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
624 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
625 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
626 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
627 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
628 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
629 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
630 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
631 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
632 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
633 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
634 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
635 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 636 (Matrix::Matrix (const ColumnVector&)): Ditto. |
637 (Matrix::row): Ditto. | |
638 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
639 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
640 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
641 shallow copy. |
8628 | 642 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
643 (FloatMatrix::row): Ditto. | |
644 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
645 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
646 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
647 Use shallow copy. |
8628 | 648 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
649 (ComplexMatrix::row): Ditto. | |
650 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
651 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
652 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
653 Use shallow copy. |
8628 | 654 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
655 (FloatComplexMatrix::row): Ditto. | |
656 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
657 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
658 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
659 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
660 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
661 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
662 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
663 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
664 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
665 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
666 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
667 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
668 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
669 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
670 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
671 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
672 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
673 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
674 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
675 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
676 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
677 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
678 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
679 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
680 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
681 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
682 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
683 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
684 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
685 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
686 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
687 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
688 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
689 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
690 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
691 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
692 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
693 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
694 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
695 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
696 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
697 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
698 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
699 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
700 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
701 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
702 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 703 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
704 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
705 |
8565 | 706 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
707 | |
708 * Range.cc (sort_internal): Add missing test. | |
709 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
710 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
711 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
712 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
713 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
714 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
715 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
716 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
717 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
718 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
719 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
720 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
721 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
722 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
723 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
724 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
725 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
726 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
727 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
728 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
729 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
730 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
731 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
732 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
733 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
734 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
735 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
736 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
737 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
738 |
8549 | 739 2009-01-20 John W. Eaton <jwe@octave.org> |
740 | |
741 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
742 (class file_stat): Derive from base_file_stat. | |
743 (class file_fstat): New class, derived from base_file_stat. | |
744 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
745 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
746 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
747 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
748 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
749 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
750 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
751 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
752 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
753 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
754 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
755 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
756 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
757 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
758 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
759 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
760 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
761 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
762 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
763 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
764 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
765 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
766 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
767 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
768 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
769 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
770 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
771 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
772 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
773 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
774 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
775 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
776 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
777 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
778 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
779 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
780 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
781 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
782 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
783 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
784 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
785 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
786 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
787 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
788 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
789 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
790 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
791 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
792 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
793 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
794 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
795 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
796 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
797 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
798 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
799 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
800 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
801 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
802 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
803 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
804 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
805 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
806 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
807 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
808 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
809 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
810 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
811 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
812 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
813 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
814 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
815 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
816 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
817 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
818 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
819 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
820 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
821 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
822 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
823 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
824 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
825 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
826 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
827 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
828 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 829 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
830 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
831 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
832 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
833 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
834 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
835 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
836 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
837 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
838 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
839 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
840 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
841 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
842 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
843 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
844 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
845 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
846 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
847 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
848 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
849 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
850 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
851 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
852 |
8521 | 853 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
854 | |
855 * oct-md5.cc: Include <cstdio>. | |
856 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
857 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
858 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
859 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
860 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
861 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
862 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
863 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
864 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
865 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
866 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
867 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
868 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
869 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
870 |
8410 | 871 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
872 | |
873 * Array.cc (rec_permute_helper): New class. | |
874 (Array<T>::permute): Rewrite using the recursive algorithm. | |
875 | |
8403 | 876 2008-12-12 David Bateman <dbateman@free.fr> |
877 | |
878 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
879 factorization. | |
880 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
881 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
882 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
883 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
884 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
885 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
886 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
887 |
8397 | 888 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
889 | |
890 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
891 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
892 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
893 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
894 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
895 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
896 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
897 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
898 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
899 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
900 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
901 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
902 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
903 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
904 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
905 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
906 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
907 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
908 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
909 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
910 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
911 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
912 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
913 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
914 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
915 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
916 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
917 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
918 * Makefile.in (INCLUDES): Add oct-locbuf.h |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
919 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
920 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
921 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
922 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
923 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
924 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 925 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
926 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
927 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
928 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
929 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
930 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
931 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
932 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
933 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
934 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
935 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
936 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
937 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
938 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
939 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
940 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
941 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
942 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
943 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
944 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
945 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
946 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
947 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
948 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
949 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
950 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
951 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
952 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
953 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
954 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
955 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
956 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
957 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
958 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
959 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
960 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
961 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
962 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
963 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
964 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
965 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
966 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
967 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
968 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
969 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
970 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
971 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
972 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
973 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
974 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
975 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
976 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
977 |
8369 | 978 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
979 | |
980 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
981 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
982 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
983 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
984 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
985 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
986 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
987 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
988 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
989 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
990 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
991 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
992 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
993 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
994 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
995 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
996 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
997 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
998 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
999 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1000 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1001 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1002 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1003 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1004 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1005 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1006 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1007 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1008 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1009 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1010 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1011 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1012 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1013 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1014 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1015 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1016 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1017 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1018 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1019 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1020 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1021 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1022 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1023 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1024 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1025 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1026 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1027 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1028 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1029 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1030 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1031 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1032 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1033 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1034 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1035 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1036 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1037 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1038 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1039 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1040 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1041 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1042 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1043 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1044 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1045 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1046 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1047 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1048 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1049 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1050 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1051 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1052 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1053 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1054 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1055 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1056 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1057 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1058 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1059 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1060 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1061 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1062 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1063 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1064 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1065 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1066 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1067 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1068 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1069 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1070 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1071 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1072 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1073 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1074 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1075 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1076 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1077 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1078 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1079 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1080 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1081 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1082 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1083 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1084 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1085 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1086 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1087 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1088 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1089 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1090 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1091 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1092 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1093 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1094 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1095 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1096 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1097 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1098 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1099 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1100 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1101 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1102 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1103 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1104 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1105 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1106 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1107 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1108 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1109 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1110 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1111 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1112 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1113 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1114 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1115 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1116 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1117 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1118 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1119 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1120 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1121 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1122 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1123 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1124 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1125 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1126 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1127 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1128 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1129 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1130 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1131 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1132 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1133 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1134 |
8335 | 1135 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
1136 | |
1137 * DET.h: New source. | |
1138 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
1139 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
1140 * Makefile.in: Reflect changes. | |
1141 * mx-defs.h: Remove DET decls. | |
1142 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
1143 dSparse.h, CSparse.h: Include only DET.h. | |
1144 * dMatrix.cc (Matrix::determinant), | |
1145 fMatrix.cc (FloatMatrix::determinant), | |
1146 CMatrix.cc (ComplexMatrix::determinant), | |
1147 fCMatrix.cc (FloatComplexMatrix::determinant), | |
1148 dSparse.cc (SparseMatrix::determinant), | |
1149 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
1150 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1151 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1152 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1153 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1154 std::string&)): Check if the string contains a tilde and fast |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1155 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1156 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1157 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1158 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1159 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1160 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1161 |
8324 | 1162 2008-11-14 David Bateman <dbateman@free.fr> |
1163 | |
1164 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
1165 resize_fill_value. | |
1166 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1167 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1168 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1169 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1170 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1171 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1172 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1173 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1174 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1175 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1176 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1177 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1178 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1179 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1180 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1181 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1182 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1183 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1184 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1185 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1186 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1187 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1188 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1189 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1190 |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1191 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1192 |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1193 * oct-norm.cc: Don't include Array.cc. |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1194 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1195 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1196 Array<T>::resize. |
8628 | 1197 (row_norms (const MArray2<T>&, ...)): Ditto. |
1198 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
1199 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1200 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1201 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1202 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1203 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1204 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1205 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1206 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1207 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1208 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1209 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1210 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1211 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1212 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1213 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1214 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1215 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1216 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1217 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1218 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1219 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1220 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1221 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1222 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1223 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1224 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1225 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1226 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1227 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1228 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1229 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1230 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1231 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1232 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1233 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1234 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1235 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1236 std::abs. |
8628 | 1237 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1238 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1239 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1240 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1241 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1242 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1243 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1244 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1245 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1246 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1247 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1248 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1249 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1250 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1251 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1252 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1253 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1254 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1255 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1256 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1257 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1258 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1259 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1260 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1261 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1262 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1263 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1264 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1265 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1266 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1267 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1268 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1269 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1270 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1271 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1272 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1273 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1274 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1275 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1276 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1277 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1278 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1279 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1280 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1281 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1282 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1283 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1284 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1285 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1286 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1287 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1288 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1289 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1290 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1291 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1292 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1293 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1294 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1295 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1296 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1297 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1298 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1299 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1300 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1301 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1302 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1303 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1304 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1305 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1306 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1307 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1308 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1309 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1310 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1311 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1312 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1313 |
8198 | 1314 2008-10-08 John W. Eaton <jwe@octave.org> |
1315 | |
1316 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
1317 sparse arguments rather than rely on extern function. | |
1318 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1319 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1320 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1321 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1322 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1323 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1324 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1325 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1326 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1327 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1328 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1329 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1330 |
8187 | 1331 2008-10-06 David Bateman <dbateman@free.fr> |
1332 | |
1333 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
1334 sparse arguments rather than rely on extern function. | |
1335 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1336 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1337 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1338 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1339 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1340 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1341 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1342 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1343 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1344 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1345 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1346 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1347 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1348 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1349 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1350 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1351 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1352 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1353 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1354 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1355 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1356 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1357 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1358 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1359 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1360 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1361 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1362 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1363 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1364 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1365 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1366 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1367 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1368 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1369 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1370 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1371 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1372 |
8182 | 1373 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1374 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1375 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1376 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1377 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1378 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1379 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1380 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1381 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1382 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1383 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1384 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1385 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1386 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1387 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1388 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1389 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1390 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1391 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1392 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1393 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1394 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1395 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1396 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1397 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1398 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1399 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1400 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1401 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1402 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1403 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1404 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1405 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1406 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1407 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1408 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1409 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1410 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1411 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1412 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1413 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1414 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1415 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1416 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1417 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1418 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1419 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1420 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1421 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1422 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1423 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1424 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1425 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1426 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1427 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1428 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1429 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1430 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1431 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1432 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1433 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1434 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1435 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1436 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1437 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1438 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1439 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1440 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1441 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1442 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1443 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1444 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1445 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1446 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1447 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1448 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1449 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1450 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1451 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1452 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1453 octave_int<T>&, float)): New functions. |
8040 | 1454 |
1455 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1456 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1457 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1458 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1459 |
8040 | 1460 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1461 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1462 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1463 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1464 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1465 2008-08-07 John W. Eaton <jwe@octave.org> |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1466 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1467 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1468 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1469 * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1470 Replace all uses of NPOS with std::string::npos. |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1471 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1472 * fCmplxLU.h, CmplxLU.h: Fix typo in definition of |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1473 multiple-inclusion guard macro. |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1474 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1475 2008-08-05 John W. Eaton <jwe@octave.org> |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1476 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1477 * file-ops.h, file-ops.cc (file_ops::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1478 New singleton class for static members of file_ops. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1479 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1480 * pathsearch.h, pathsearch.cc (class dir_path::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1481 New singleton class for static members of dir_path. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1482 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1483 * pathsearch.cc (dir_path::init): Move octave_kpathsea_initialized |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1484 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1485 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1486 2008-08-04 John W. Eaton <jwe@octave.org> |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1487 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1488 * oct-env.cc (octave_env::do_set_program_name, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1489 octave_env::do_base_pathname): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1490 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1491 (octave_env::do_make_absolute): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1492 file_ops::dir_sep_chars and file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1493 (octave_env::do_get_home_directory): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1494 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1495 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1496 * file-ops.h (file_ops::do_is_dir_sep): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1497 (file_ops_::is_dir_sep): Call it. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1498 * file-ops.cc (class file_ops): Make it a proper singleton object. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1499 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1500 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1501 (file_ops::xdir_sep_char): Now private. No longer static. Rename |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1502 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1503 (file_ops::xdir_sep_str): Likewise, from dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1504 (file_ops::xdir_sep_chars): Likewise, from dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1505 (file_ops::dir_sep_char, file_ops::dir_sep_str, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1506 file_ops::dir_sep_chars): New functions. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1507 (file_ops::recursive_rmdir): Fix usage of file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1508 (file_ops::concat): Fix usage of file_ops::dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1509 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1510 * oct-env.cc (octave_env::instance_ok): Fix typo in error message. |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1511 |
7999 | 1512 2008-07-30 John W. Eaton <jwe@octave.org> |
1513 | |
1514 * oct-inttypes.h: Style fixes. | |
1515 | |
8040 | 1516 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1517 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1518 * oct-inttypes.h (octave_int<T>::trunc_flag): New member static field. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1519 (octave_int<T>::get_trunc_flag, octave_int<T>::clear_trunc_flag): New |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1520 member functions. |
7999 | 1521 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
1522 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1523 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1524 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1525 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1526 2008-07-29 David Bateman <dbateman@free.fr> |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1527 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1528 * lo-ieee.h (LO_IEEE_NA_HW, LO_IEEE_NA_LW, LO_IEEE_NA_FLOAT): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1529 Change definition so cast from single to double and visa versa |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1530 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1531 (LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD): Keep old values. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1532 (extern OCTAVE_API int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1533 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1534 (extern OCTAVE_API double __lo_ieee_replace_old_NA (double)): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1535 Function to replace old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1536 * lo-cieee.c (int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1537 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1538 (double __lo_ieee_replace_old_NA (double)): Function to replace |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1539 old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1540 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1541 save_type, int, bool, octave_mach_info::float_format)): Test if |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1542 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1543 |
8040 | 1544 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 1545 |
1546 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
1547 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1548 2008-07-21 Michael Goffioul <michael.goffioul@gmail.com> |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1549 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1550 * oct-mutex.h (octave_base_mutex::octave_base_mutex): Initialize |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1551 count to 1, not -1. |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1552 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1553 * oct-mutex.cc (octave_base_mutex::lock, octave_base_mutex::unlock): |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1554 Replace error calls with (*current_liboctave_error_handler). |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1555 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1556 2008-07-21 John W. Eaton <jwe@octave.org> |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1557 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1558 * regex-match.cc (regex_match::init): Initialize err to 0. |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1559 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1560 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1561 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1562 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1563 (class octave_mutex): Don't use union for rep and count. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1564 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1565 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1566 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1567 (octave_mutex::~octave_mutex): No need to check that rep is |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1568 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1569 (octave_mutex::operator =): No need to check that rep is valid. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1570 * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1571 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1572 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1573 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1574 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1575 * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1576 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1577 * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1578 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1579 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1580 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1581 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1582 * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1583 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1584 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1585 2008-07-16 John W. Eaton <jwe@octave.org> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1586 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1587 * oct-mutex.h (octave_autolock::octave_autolock (void), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1588 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1589 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1590 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1591 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1592 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1593 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1594 * cmd-edit.cc (event_hook_lock): New static mutex variable. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1595 (command_editor::event_handler): Lock and copy event_hook_set before |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1596 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1597 (command_editor::add_event_hook, command_editor::remove_event_hook): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1598 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1599 |
7934 | 1600 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
1601 | |
1602 * oct-mutex.h, oct-mutex.cc: New files. | |
1603 * Makefile.in: Add them to appropriate lists. | |
1604 | |
7929 | 1605 2008-07-15 John W. Eaton <jwe@octave.org> |
1606 | |
1607 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
1608 descending arg as bool&. | |
1609 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
1610 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1611 2008-07-11 John W. Eaton <jwe@octave.org> |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1612 |
7924 | 1613 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
1614 number of rows or columns is 0. | |
1615 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
1616 | |
1617 * Array-util.cc (is_vector): Avoid GCC warning. | |
1618 * Array-f.cc (Array<float>::sort): Likewise. | |
1619 * Array-d.cc (Array<double>::sort): Likewise. | |
1620 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
1621 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
1622 ComplexMatrix&)): Likewise. | |
1623 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
1624 FloatMatrix&)): Likewise. | |
1625 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
1626 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
1627 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
1628 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
1629 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
1630 FloatIndefQuad::do_integrate): Likewise. | |
1631 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1632 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1633 SND_BOOL_OP, NDND_BOOL_OP): Detect NaN values. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1634 * Array-util.cc (gripe_nan_to_logical_conversion): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1635 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1636 * oct-inttypes.h (xisnan (octave_int<T>)): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1637 * lo-mappers.h (xisnan (bool), xisnan (char)): New inline functions. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1638 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1639 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1640 dSparse.cc, fCMatrix.cc, fCNDArray.cc, fMatrix.cc, fNDArray.cc: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1641 New member function, any_element_is_nan. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1642 * CMatrix.h, CNDArray.h, CSparse.h, dMatrix.h, dNDArray.h, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1643 dSparse.h, fCMatrix.h, fCNDArray.h, fMatrix.h, fNDArray.h: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1644 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1645 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1646 2008-07-10 David Bateman <dbateman@free.fr> |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1647 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1648 * dNDArray.cc (NDArray::NDArray (const Array<octave_idx_type>&, |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1649 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1650 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1651 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1652 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1653 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1654 * lo-specfun.h: Fix typo in erff/erfcf declaration. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1655 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1656 |
8040 | 1657 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1658 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1659 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1660 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1661 2008-06-13 Michael Goffioul <michael.goffioul@gmail.com> |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1662 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1663 * lo-mappers.cc (arg): Remove ambiguity about atan2(float,float) usage. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1664 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1665 |
7885 | 1666 2008-06-11 John W. Eaton <jwe@octave.org> |
1667 | |
1668 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
1669 * Makefile.in: Remove them from the lists. | |
1670 | |
7872 | 1671 2008-06-05 John W. Eaton <jwe@octave.org> |
1672 | |
1673 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
1674 counter if iterator is valid. | |
1675 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1676 2008-06-02 David Bateman <dbateman@free.fr> |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1677 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1678 * fCmplxDET.cc (FloatComplexDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1679 FloatComplexDET:value_will_underflow): Replace DBL_MIN and DBL_MAX |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1680 with FLT_MIN and FLT_MAX. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1681 * floatDET.cc ((FloatDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1682 FloatDET:value_will_underflow): Ditto. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1683 * lo-cieee.c (__lo_ieee_float_is_NA): Check only a sngle word for |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1684 float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1685 (lo_ieee_float_inf_value): Return correct float Infinity value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1686 (lo_ieee_float_NA_value): Return correct float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1687 (lo_ieee_float_NaN_value): Return correct float NaN value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1688 * lo-ieee.cc (octave_ieee_init): Set float NA value correctly. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1689 * lo-ieee.h (lo_ieee_float): value of union is of type float. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1690 (LO_IEEE_NA_FLOAT): Make NA value a valid float NaN. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1691 (LO_IEEE_NA_FLOAT_LW): Delete. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1692 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1693 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1694 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1695 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1696 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1697 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1698 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1699 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1700 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1701 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1702 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1703 * Makefile.in (MATRIX_INC): Add fCmplxAEPBAL.h and floatAEPBAL.h. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1704 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1705 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1706 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1707 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1708 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1709 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1710 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1711 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1712 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1713 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1714 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1715 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1716 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1717 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1718 |
8040 | 1719 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 1720 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1721 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1722 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1723 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1724 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1725 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1726 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1727 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1728 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1729 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1730 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1731 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1732 |
7803 | 1733 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
1734 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1735 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1736 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1737 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1738 (FULL_SPARSE_MUL): Simplify scalar*matrix case. Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1739 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1740 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1741 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1742 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1743 * CSparse.h (mul_trans, trans_mul, mul_herm, herm_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1744 * CSparse.cc (mul_trans, trans_mul, mul_herm, herm_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1745 |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1746 * dMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1747 * dMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1748 (operator * (const Matrix&, const Matrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1749 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1750 * CMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1751 * CMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1752 (operator * (const ComplexMatrix&, const ComplexMatrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1753 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
1754 |
7799 | 1755 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
1756 New template functions. | |
1757 (MatrixType::MatrixType (const Matrix&), | |
1758 MatrixType::MatrixType (const FloatMatrix&)): | |
1759 just call matrix_real_probe. | |
1760 (MatrixType::MatrixType (const ComplexMatrix&), | |
1761 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
1762 just call matrix_complex_probe. | |
1763 | |
1764 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
1765 add missing test for Unknown. | |
1766 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1767 2008-05-21 David Bateman <dbateman@free.fr> |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1768 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1769 * fCMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1770 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1771 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1772 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1773 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1774 * fCMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1775 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1776 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1777 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1778 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1779 * fMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1780 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1781 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1782 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1783 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1784 * fMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1785 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1786 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1787 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1788 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1789 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1790 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1791 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1792 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1793 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1794 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1795 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1796 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1797 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1798 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1799 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1800 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1801 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1802 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1803 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1804 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1805 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1806 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1807 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1808 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1809 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1810 classes for single precision Hessenberg decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1811 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1812 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1813 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1814 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1815 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1816 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1817 classes for single precision QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1818 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1819 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1820 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1821 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1822 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1823 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1824 classes for single precision permuted QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1825 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1826 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1827 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1828 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1829 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1830 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1831 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1832 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1833 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1834 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1835 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1836 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1837 * 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
|
1838 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1839 (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
|
1840 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1841 * 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
|
1842 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1843 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1844 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1845 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1846 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1847 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1848 * 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
|
1849 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1850 * 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
|
1851 * 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
|
1852 * 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
|
1853 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1854 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1855 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1856 * 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
|
1857 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1858 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1859 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1860 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1861 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1862 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1863 * 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
|
1864 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1865 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1866 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1867 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1868 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1869 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1870 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1871 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1872 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1873 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1874 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1875 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1876 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1877 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1878 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1879 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1880 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1881 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1882 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1883 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1884 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1885 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1886 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1887 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1888 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1889 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1890 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1891 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1892 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1893 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1894 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1895 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1896 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1897 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1898 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1899 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1900 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1901 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1902 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1903 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1904 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1905 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1906 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1907 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1908 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1909 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1910 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1911 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1912 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1913 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1914 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1915 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1916 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1917 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1918 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1919 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1920 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1921 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1922 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1923 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1924 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1925 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1926 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1927 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1928 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1929 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1930 * 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
|
1931 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1932 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1933 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1934 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1935 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1936 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1937 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
|
1938 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1939 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
|
1940 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1941 * 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
|
1942 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1943 * 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
|
1944 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
|
1945 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1946 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
|
1947 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
|
1948 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
|
1949 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
|
1950 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
|
1951 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
|
1952 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1953 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1954 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
|
1955 |
7788 | 1956 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
1957 to avoid shadowed variable warning | |
1958 (double ComplexMatrix::rcond (void) const): New method for | |
1959 reciprocal condition number calculation. | |
1960 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1961 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
1962 to avoid shadowed variable warning | |
1963 (double ComplexMatrix::rcond (void) const): New method for | |
1964 reciprocal condition number calculation. | |
1965 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1966 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
1967 to avoid shadowed variable warning | |
1968 (double Matrix::rcond (void) const): New method for | |
1969 reciprocal condition number calculation. | |
1970 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1971 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
1972 to avoid shadowed variable warning | |
1973 (double Matrix::rcond (void) const): New method for | |
1974 reciprocal condition number calculation. | |
1975 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1976 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1977 * 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
|
1978 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1979 * 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
|
1980 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1981 |
7776 | 1982 2008-05-19 David Bateman <dbateman@free.fr> |
1983 | |
1984 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
1985 incorrectly used. | |
1986 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1987 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1988 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1989 * 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
|
1990 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
|
1991 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1992 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1993 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
|
1994 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1995 * 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
|
1996 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
|
1997 * 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
|
1998 (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
|
1999 * 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
|
2000 * 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
|
2001 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2002 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
|
2003 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2004 * 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
|
2005 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2006 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
|
2007 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2008 * 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
|
2009 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
|
2010 * 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
|
2011 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2012 (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
|
2013 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2014 (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
|
2015 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
|
2016 (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
|
2017 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
|
2018 |
8040 | 2019 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 2020 |
2021 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
2022 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
2023 New functions. | |
2024 * lo-mappers.h: Provide decls. | |
2025 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2026 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
|
2027 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2028 * 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
|
2029 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
|
2030 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2031 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
|
2032 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2033 * 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
|
2034 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2035 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
|
2036 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2037 * 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
|
2038 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2039 |
8040 | 2040 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2041 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2042 * 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
|
2043 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2044 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
|
2045 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2046 * 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
|
2047 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2048 * 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
|
2049 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2050 * 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
|
2051 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2052 * 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
|
2053 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2054 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2055 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2056 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2057 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2058 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
|
2059 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2060 * 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
|
2061 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
|
2062 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2063 |
8040 | 2064 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2065 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2066 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2067 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2068 * 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
|
2069 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2070 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2071 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2072 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2073 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
|
2074 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2075 * 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
|
2076 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2077 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2078 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2079 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2080 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2081 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2082 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2083 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2084 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2085 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
|
2086 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2087 * 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
|
2088 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2089 * 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
|
2090 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2091 * 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
|
2092 |
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
|
2093 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
|
2094 |
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
|
2095 * 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
|
2096 (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
|
2097 * 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
|
2098 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
|
2099 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
|
2100 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2101 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
|
2102 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2103 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2104 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2105 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2106 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
|
2107 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2108 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2109 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2110 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2111 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2112 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2113 |
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
|
2114 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
|
2115 |
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
|
2116 * 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
|
2117 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
|
2118 |
7619 | 2119 2008-03-21 David Bateman <dbateman@free.fr> |
2120 | |
2121 * oct-sparse.h: Add headers for amd.h. | |
2122 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2123 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
|
2124 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2125 * 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
|
2126 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2127 * 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
|
2128 * 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
|
2129 * 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
|
2130 * 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
|
2131 * 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
|
2132 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2133 * 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
|
2134 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2135 * 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
|
2136 * 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
|
2137 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2138 * 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
|
2139 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2140 * 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
|
2141 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2142 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2143 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2144 * 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
|
2145 * 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
|
2146 * 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
|
2147 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2148 * 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
|
2149 * 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
|
2150 * 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
|
2151 * 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
|
2152 * 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
|
2153 * 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
|
2154 * 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
|
2155 * 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
|
2156 * 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
|
2157 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2158 * 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
|
2159 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
|
2160 * 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
|
2161 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2162 * 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
|
2163 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2164 * 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
|
2165 * 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
|
2166 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
|
2167 * 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
|
2168 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2169 * 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
|
2170 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
|
2171 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2172 * 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
|
2173 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
|
2174 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2175 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2176 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2177 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2178 * 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
|
2179 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2180 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2181 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2182 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2183 * 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
|
2184 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2185 * 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
|
2186 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2187 * 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
|
2188 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2189 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2190 * 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
|
2191 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2192 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2193 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2194 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
|
2195 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2196 * 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
|
2197 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2198 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2199 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
|
2200 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2201 * 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
|
2202 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
|
2203 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2204 * 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
|
2205 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2206 * 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
|
2207 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2208 * 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
|
2209 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
|
2210 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
|
2211 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
|
2212 * 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
|
2213 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
|
2214 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
|
2215 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2216 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2217 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2218 * 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
|
2219 * 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
|
2220 * 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
|
2221 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2222 * 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
|
2223 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2224 * 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
|
2225 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2226 * 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
|
2227 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
|
2228 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2229 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
|
2230 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2231 * 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
|
2232 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2233 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2234 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
|
2235 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2236 * 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
|
2237 * 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
|
2238 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
|
2239 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2240 (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
|
2241 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
|
2242 (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
|
2243 (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
|
2244 (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
|
2245 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2246 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2247 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2248 * 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
|
2249 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2250 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
|
2251 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
|
2252 (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
|
2253 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2254 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
|
2255 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2256 * 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
|
2257 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
|
2258 * 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
|
2259 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
|
2260 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2261 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2262 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2263 * 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
|
2264 * 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
|
2265 * 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
|
2266 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2267 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2268 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2269 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2270 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2271 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2272 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2273 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2274 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2275 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2276 * 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
|
2277 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2278 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2279 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2280 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2281 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2282 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2283 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2284 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2285 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2286 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2287 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
|
2288 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2289 * 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
|
2290 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2291 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2292 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
|
2293 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2294 * 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
|
2295 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
|
2296 |
7545 | 2297 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2298 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2299 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2300 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2301 calculation of nlvl. |
7545 | 2302 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2303 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2304 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
|
2305 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2306 * 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
|
2307 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2308 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
|
2309 |
7536 | 2310 * oct-rand.cc (get_dist_id): Fix typo. |
2311 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
2312 fill_rand): Improve error messages. | |
2313 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2314 * 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
|
2315 (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
|
2316 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
|
2317 (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
|
2318 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2319 * 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
|
2320 (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
|
2321 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
|
2322 (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
|
2323 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
|
2324 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
|
2325 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
|
2326 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
|
2327 (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
|
2328 (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
|
2329 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2330 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2331 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2332 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2333 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
|
2334 (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
|
2335 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
|
2336 (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
|
2337 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2338 * 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
|
2339 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2340 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2341 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
|
2342 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2343 * 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
|
2344 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2345 (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
|
2346 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
|
2347 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2348 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2349 * 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
|
2350 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
|
2351 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2352 |
7520 | 2353 2008-02-22 John W. Eaton <jwe@octave.org> |
2354 | |
2355 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
2356 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
2357 sparse-dmsolve.cc: Use 0 instead of NULL. | |
2358 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2359 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
|
2360 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2361 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2362 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2363 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2364 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2365 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2366 * 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
|
2367 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2368 * 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
|
2369 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
|
2370 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
|
2371 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2372 * 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
|
2373 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
|
2374 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
|
2375 (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
|
2376 * 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
|
2377 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2378 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2379 * 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
|
2380 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
|
2381 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2382 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2383 * 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
|
2384 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2385 * 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
|
2386 * 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
|
2387 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2388 (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
|
2389 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2390 * 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
|
2391 (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
|
2392 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2393 * 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
|
2394 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2395 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
|
2396 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2397 * 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
|
2398 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
|
2399 (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
|
2400 * 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
|
2401 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
|
2402 (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
|
2403 * 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
|
2404 * 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
|
2405 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2406 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
|
2407 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2408 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2409 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2410 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2411 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2412 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2413 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2414 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2415 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2416 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2417 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2418 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2419 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2420 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2421 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2422 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2423 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2424 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2425 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2426 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2427 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2428 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2429 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2430 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2431 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2432 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2433 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2434 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2435 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2436 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2437 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2438 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2439 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2440 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2441 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2442 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2443 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2444 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2445 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2446 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2447 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2448 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2449 (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
|
2450 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2451 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2452 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2453 (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
|
2454 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2455 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2456 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2457 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2458 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2459 * 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
|
2460 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2461 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2462 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2463 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2464 * 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
|
2465 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
|
2466 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2467 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2468 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
|
2469 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2470 * 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
|
2471 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
|
2472 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
|
2473 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
|
2474 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
|
2475 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
|
2476 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2477 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2478 |
7477 | 2479 2008-02-12 John W. Eaton <jwe@octave.org> |
2480 | |
2481 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
2482 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
2483 | |
7476 | 2484 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
2485 | |
7480 | 2486 * Array.cc (ascending_compare, descending_compare): Remove |
2487 non-standard extern in the instantiations. | |
2488 | |
2489 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
2490 | |
7476 | 2491 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
2492 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
2493 workaround for DGELSD's broken lwork query. The formula is from | |
2494 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
2495 efficient algorithm in the short-and-fat case (n > m). | |
2496 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
2497 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
2498 ugly workaround for DGELSD's broken lwork query, as with double. | |
2499 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2500 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2501 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2502 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2503 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2504 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2505 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2506 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2507 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2508 * 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
|
2509 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2510 * 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
|
2511 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2512 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
|
2513 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2514 * 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
|
2515 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2516 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2517 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2518 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2519 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2520 |
7457 | 2521 2008-02-07 John W. Eaton <jwe@octave.org> |
2522 | |
7458 | 2523 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
2524 ASCENDING, with default value of true. | |
2525 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
2526 (Range::sort (octave_idx_type, sortmode) const): New function. | |
2527 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
2528 const): New function. | |
2529 * Range.h: Fix/provide decls. | |
2530 | |
7457 | 2531 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
2532 | |
7449 | 2533 2008-02-06 John W. Eaton <jwe@octave.org> |
2534 | |
2535 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
2536 (stamp-prereq): Eliminate. | |
2537 (clean): Don't remove stamp-prereq. | |
2538 (libraries): Don't depend on stamp-prereq. | |
2539 (PREREQ): New macro. | |
2540 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
2541 (distclean): Simplify with $(PREREQ). | |
2542 (OPT_BASE): New macro. | |
2543 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
2544 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
2545 | |
7448 | 2546 2008-02-05 John W. Eaton <jwe@octave.org> |
2547 | |
2548 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
2549 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
2550 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2551 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 2552 |
2553 * Array.cc (ascending_compare, descending_compare, | |
2554 Array<T>::sort): Declare explicit specialization for T=double to | |
2555 avoid symbol duplication error at link time. | |
2556 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
2557 define as nonmember functions, not member functions of Array<T>. | |
2558 | |
7442 | 2559 2008-02-03 John W. Eaton <jwe@octave.org> |
2560 | |
2561 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
2562 | |
2563 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
2564 | |
2565 * Array.cc: Don't include Range.h. | |
2566 | |
7433 | 2567 2008-01-31 David Bateman <dbateman@free.fr> |
2568 | |
2569 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
2570 for 64-bit builds. | |
2571 (IFLT): Allow IFLT macro to be overridden. | |
2572 * oct-sort.h: conversion of int to octave_idx_type where needed | |
2573 for 64-bit builds. | |
2574 (enum sortmode): Type of sort to perform. | |
2575 (vec_index): Simple class to aid in indexed sorts. | |
2576 | |
2577 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
2578 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2579 sortmode) const): Array sorting methods. | |
2580 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
2581 instantiate the array sorting methods. | |
2582 * Array.cc (ascending_compare, descending_compare): New template | |
2583 functions for generic sort comparison. | |
2584 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
2585 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
2586 sortmode) const): Array sorting functions based of octave_sort | |
2587 class. | |
2588 * Array-C.cc: Instantiate the complex array sort methods. | |
2589 (IFLT): New macro to override the one in the | |
2590 octave_sort class to avoid need for Complex < and > operators. | |
2591 (static double xabs (const Complex&)): Complex abs function | |
2592 avoiding std::abs(Inf) returning NaN with some compilers. | |
2593 (ascending_compare, descending compare): override template | |
2594 functions for complex comparison. | |
2595 * Array-d.cc: Instantiate the double array sort methods. | |
2596 (Array<double> Array<double>::sort (octave_idx_type, | |
2597 sortmode) const, Array<double> Array<double>::sort | |
2598 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
2599 Array sorting functions based of octave_sort using uint64 sorting | |
2600 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
2601 (ascending_compare, descending compare): override template | |
2602 functions for double and uint64 comparison. | |
2603 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
2604 Instantiate the array sort methods. | |
2605 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
2606 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
2607 versions of the sort methods based on Array<T>::sort. | |
2608 | |
2609 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
2610 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
2611 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2612 sortmode) const): Sparse sorting methods. | |
2613 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
2614 methods. | |
2615 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
2616 of new sort method. | |
2617 (sparse_ascending_compare, sparse_descending_compare): New template | |
2618 functions for generic sort comparison. | |
2619 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
2620 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
2621 sortmode) const): Sparse sorting functions based of octave_sort | |
2622 class. | |
2623 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
2624 (IFLT): New macro to override the one in the | |
2625 octave_sort class to avoid need for Complex < and > operators. | |
2626 (static double xabs (const Complex&)): Complex abs function | |
2627 avoiding std::abs(Inf) returning NaN with some compilers. | |
2628 (sparse_ascending_compare, sparse_descending compare): override | |
2629 template functions for complex comparison. | |
2630 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
2631 (sparse_ascending_compare, sparse_descending compare): override | |
2632 template functions for double comparison. | |
2633 * Array-b.cc: Instantiate the sparse sort methods. | |
2634 | |
7422 | 2635 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
2636 | |
2637 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
2638 idx_vector::idx_vector_rep::range_step, | |
2639 idx_vector::idx_vector_rep::range_step): New data members. | |
2640 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
2641 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
2642 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
2643 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
2644 | |
7416 | 2645 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
2646 | |
2647 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
2648 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
2649 | |
7408 | 2650 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 2651 |
2652 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
2653 this fixes the "localtime(-1)" crash under Windows. | |
2654 | |
7400 | 2655 2008-01-18 John W. Eaton <jwe@octave.org> |
2656 | |
2657 * dMatrix.cc (solve_singularity_warning): New function. | |
2658 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
2659 Matrix::solve method. Exit early if Matrix::solve fails. | |
2660 Limit sqpow value to avoid overflowing scale factor. | |
2661 * CMatrix.cc (solve_singularity_warning): New function. | |
2662 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
2663 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
2664 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 2665 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 2666 |
7356 | 2667 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
2668 | |
2669 * Sparse.cc: New tests for slicing of sparse matrices. | |
2670 | |
7350 | 2671 2008-01-07 David Bateman <dbateman@free.fr> |
2672 | |
2673 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
2674 loop if this test succeeds. | |
2675 | |
7342 | 2676 2008-01-03 David Bateman <dbateman@free.fr> |
2677 | |
2678 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
2679 need unary operator on remaining argument | |
2680 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
2681 | |
7334 | 2682 2007-12-21 John W. Eaton <jwe@octave.org> |
2683 | |
2684 Version 3.0.0 released. | |
2685 | |
7322 | 2686 2007-12-18 David Bateman <dbateman@free.fr> |
2687 | |
2688 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
2689 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
2690 stored as a sparse matrix. | |
2691 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
2692 idx_vector&, int) const): For the non permutated indexing case, | |
2693 fix link list calculation and use. | |
2694 | |
7321 | 2695 2007-12-17 John W. Eaton <jwe@octave.org> |
2696 | |
2697 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
2698 N-d array. | |
2699 | |
7318 | 2700 2007-12-17 David Bateman <dbateman@free.fr> |
2701 | |
2702 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
2703 index. | |
2704 | |
7299 | 2705 2007-12-11 John W. Eaton <jwe@octave.org> |
2706 | |
2707 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
2708 If indexing scalar with empty matrix, return empty array with same | |
2709 size as index. | |
2710 | |
7272 | 2711 2007-12-10 John W. Eaton <jwe@octave.org> |
2712 | |
7279 | 2713 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
2714 and assignment operator. | |
2715 (NLEqn::function_value): New function. | |
2716 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
2717 function value. | |
2718 | |
7272 | 2719 * file-ops.cc (file_ops::concat): New function. |
2720 * file-ops.h: Provide decl. | |
2721 | |
7270 | 2722 2007-12-07 John W. Eaton <jwe@octave.org> |
2723 | |
2724 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
2725 is not 0. | |
2726 | |
7269 | 2727 2007-12-07 David Bateman <dbateman@free.fr> |
2728 | |
2729 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
2730 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
2731 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
2732 indexing where possible rather than the elem method. | |
2733 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
2734 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
2735 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
2736 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
2737 = 0 directly. | |
2738 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
2739 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
2740 SPARSE_BASE_REDUCTION_OP. | |
2741 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
2742 Specialize the initial value, and only treat dim = 0 directly. | |
2743 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
2744 ditto. | |
2745 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
2746 | |
7265 | 2747 2007-12-06 John W. Eaton <jwe@octave.org> |
2748 | |
2749 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
2750 data for npp and dpp after assignments. | |
2751 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
2752 | |
7253 | 2753 2007-12-04 John W. Eaton <jwe@octave.org> |
2754 | |
2755 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2756 Do nothing if one index is empty. | |
2757 | |
7246 | 2758 2007-12-04 David Bateman <dbateman@free.fr> |
2759 | |
2760 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2761 Resize matrix as well if one dimension of lhs is zero and the rhs | |
2762 index exceeds the lhs index. | |
2763 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
2764 Don't resize to a smaller matrix for empty matrices with a max rhs | |
2765 index smaller than the non zero lhs index. | |
2766 | |
2767 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
2768 | |
2769 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
2770 | |
7241 | 2771 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
2772 | |
2773 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
2774 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
2775 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
2776 | |
7238 | 2777 2007-12-03 David Bateman <dbateman@free.fr> |
2778 | |
2779 * Sparse.cc (template <class LT, class RT> int assign | |
2780 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
2781 rhs values if both no. rows and columns are zero. | |
2782 | |
7231 | 2783 2007-11-30 John W. Eaton <jwe@octave.org> |
2784 | |
7234 | 2785 * oct-sort.cc, oct-sort.h: Style fixes. |
2786 | |
7231 | 2787 * lo-math.h: New file. |
2788 * Makefile.in (INCLUDES): Add it to the list. | |
2789 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
2790 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
2791 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
2792 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
2793 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
2794 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
2795 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
2796 liboctave/oct-time.h, liboctave/randgamma.c, | |
2797 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
2798 instead of cmath or math.h. | |
2799 * lo-mappers.h: Don't include sunmath.h here. | |
2800 | |
7198 | 2801 2007-11-26 John W. Eaton <jwe@octave.org> |
2802 | |
2803 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
2804 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
2805 | |
2806 * oct-inttypes.h (operator bool, operator char): Delete. | |
2807 (bool_value, char_value, double_value, float_value): New functions. | |
2808 | |
7189 | 2809 2007-11-26 David Bateman <dbateman@free.fr> |
2810 | |
2811 * intNDArray.cc (template <class T> intNDArray<T> | |
2812 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
2813 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
2814 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
2815 template <class T> intNDArray<T> intNDArray<T>::min | |
2816 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
2817 classes. | |
2818 * intNDArray.h (class intNDArray): Add min/max methods | |
2819 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
2820 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
2821 min/max functions. | |
2822 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2823 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2824 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
2825 types. | |
2826 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2827 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2828 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
2829 types. | |
2830 | |
2831 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
2832 const T& rfv) const): If ndims != 2 call ND version of index. | |
2833 | |
7176 | 2834 2007-11-14 John W. Eaton <jwe@octave.org> |
2835 | |
7178 | 2836 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
2837 | |
7176 | 2838 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
2839 correction to half-integer values. From Eric Chassande-Mottin | |
2840 <echassandemottin@gmail.com>. | |
2841 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2842 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 2843 |
2844 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
2845 ambiguities related to math functions (in C++ mode). | |
2846 | |
7102 | 2847 2007-11-06 David Bateman <dbateman@free.fr> |
2848 | |
7113 | 2849 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
2850 New method. | |
2851 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
2852 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
2853 New method. | |
2854 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 2855 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
2856 norm to avoid issues of over- and underflow. From Rolf Fabian | |
2857 <Rolf.Fabian@gmx.de>. | |
2858 | |
7081 | 2859 2007-10-30 David Bateman <dbateman@free.fr> |
2860 | |
2861 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
2862 | |
7079 | 2863 2007-10-30 John W. Eaton <jwe@octave.org> |
2864 | |
2865 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
2866 * dMatrix.cc (lssolve): Compute size of iwork array. | |
2867 | |
7076 | 2868 2007-10-29 David Bateman <dbateman@free.fr> |
2869 | |
2870 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2871 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2872 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2873 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2874 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2875 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2876 declarations. | |
2877 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2878 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2879 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2880 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2881 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2882 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2883 methods. | |
2884 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2885 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2886 octave_idx_type&, double&) const): Also return rcond from the | |
2887 singular values returned by XGELSD. | |
2888 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2889 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2890 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2891 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2892 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2893 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2894 declarations. | |
2895 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2896 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2897 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2898 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2899 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2900 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2901 methods. | |
2902 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2903 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2904 octave_idx_type&, double&) const): Also return rcond from the | |
2905 singular values returned by XGELSD. | |
2906 | |
7072 | 2907 2007-10-26 David Bateman <dbateman@free.fr> |
2908 | |
2909 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
2910 matrices to avoid reliability issues with xGELSY. | |
2911 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 2912 |
7065 | 2913 2007-10-25 John W. Eaton <jwe@octave.org> |
2914 | |
2915 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
2916 Call unix_time on arg instead of relying on conversion operator. | |
2917 | |
2918 * oct-time.h (octave_time::double_value): New function. | |
2919 (octave_time::operator double () const): Delete. | |
2920 (octave_time::operator time_t () const): Delete. | |
2921 | |
7058 | 2922 2007-10-24 John W. Eaton <jwe@octave.org> |
2923 | |
2924 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
2925 | |
7052 | 2926 2007-10-23 John W. Eaton <jwe@octave.org> |
2927 | |
2928 * CRowVector.cc (operator * const ComplexRowVector&, const | |
2929 ComplexColumnVector&)): Delete spurious code left from patch. | |
2930 | |
7048 | 2931 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
2932 | |
2933 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
2934 sparse-sort.cc: Include <cstring>. | |
2935 | |
7036 | 2936 2007-10-17 John W. Eaton <jwe@octave.org> |
2937 | |
2938 * oct-sparse.h: Don't include metis.h. | |
2939 | |
2940 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
2941 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2942 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
2943 p_type>::sparse_base_chol_rep::init): Likewise. | |
2944 | |
7033 | 2945 2007-10-16 John W. Eaton <jwe@octave.org> |
2946 | |
2947 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
2948 matrix is hermitian or calc_cond is true. | |
2949 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2950 | |
7016 | 2951 2007-10-12 John W. Eaton <jwe@octave.org> |
2952 | |
2953 * Change copyright notices in all files that are part of Octave to | |
2954 GPLv3 or any later version. | |
2955 | |
7007 | 2956 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
2957 | |
2958 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
2959 | |
7001 | 2960 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
2961 | |
2962 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
2963 | |
7000 | 2964 2007-10-10 John W. Eaton <jwe@octave.org> |
2965 | |
2966 * LPsolve.h, LPsolve.cc: Delete. | |
2967 * Makefile.in: Remove them from the INCLUDES and | |
2968 LIBOCTAVE_CXX_SOURCES lists. | |
2969 | |
6989 | 2970 2007-10-09 John W. Eaton <jwe@octave.org> |
2971 | |
6996 | 2972 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
2973 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
2974 values to zero after call if they remain unchanged. | |
2975 | |
6989 | 2976 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
2977 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
2978 | |
6988 | 2979 2007-10-09 David Bateman <dbateman@free.fr> |
2980 | |
6995 | 2981 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
2982 valud and mon and year are also filled in. | |
2983 | |
6990 | 2984 * Array2.h (Array2<T>::Array2(const dim_vector&), |
2985 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
2986 dim_vector is 2 dimensional. | |
2987 | |
6988 | 2988 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
2989 int)): Remove a for loop in the random indexing case at the | |
2990 expense of maintaining a set of linked lists of indices that point | |
2991 to the same column in the original matrix. | |
2992 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
2993 and use it on the RHS of expressions to avoid unnecessary calls to | |
2994 make_unique. | |
2995 | |
6979 | 2996 2007-10-08 David Bateman <dbateman@free.fr> |
2997 | |
2998 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
2999 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
3000 for readline compatible functions. | |
3001 (octave_rl_redisplay): Redisplay the current line of text. | |
3002 (octave_rl_newline): Change interface to the same | |
3003 as used by the equivalent readline function itself. | |
3004 (octave_rl_filename_quoting_desired, | |
3005 octave_rl_set_filename_quote_characters, | |
3006 octave_rl_set_completer_quote_characters, | |
3007 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3008 octave_rl_set_char_is_quoted_function): New functions to control | |
3009 readline filename quoting and line acceptace. | |
3010 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
3011 as used by the equivalent readline function itself. | |
3012 (octave_rl_redisplay): Redisplay the current line of text. | |
3013 (octave_rl_filename_quoting_desired, | |
3014 octave_rl_set_filename_quote_characters, | |
3015 octave_rl_set_completer_quote_characters, | |
3016 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3017 octave_rl_set_char_is_quoted_function): New functions to control | |
3018 readline filename quoting and line acceptace. | |
3019 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
3020 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
3021 to map C++ function to readline compatible functions. | |
3022 (set_filename_quote_characters): New function to set the | |
3023 characters to if they appear in a filename that force the filename | |
3024 to be quoted. | |
3025 (set_completer_quote_characters): The characters that the readline | |
3026 completion function considers as quotation characters. | |
3027 (set_quoting_function, set_dequoting_function, | |
3028 set_char_is_quoted_function, set_user_accept_line_function): | |
3029 Functions to set the Octave functions to perform quoting and the | |
3030 acceptance of a line of text by readline. | |
3031 (get_quoting_function, get_dequoting_function, | |
3032 get_char_is_quoted_function, get_user_accept_line_function): | |
3033 Functions to get the above functions. | |
3034 (accept_line): New method for the command_editor to accept a line | |
3035 of text. | |
3036 (file_quoting_desired): Function to set whether readline should | |
3037 attempt to quote filenames. | |
3038 (do_set_filename_quoting_characters, | |
3039 do_set_completer_quote_characters, do_set_quoting_function, | |
3040 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3041 do_set_user_accept_line_function, do_get_quoting_function, | |
3042 do_get_dequoting_function, do_get_char_is_quoted_function, | |
3043 do_get_user_accept_line_function, do_filename_quoting_desired): | |
3044 Virtual functions to control the behavior of readline quoting and | |
3045 acceptance of lines. | |
3046 (do_accept_line): Virtual function for the accept line function. | |
3047 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
3048 do_completer_quote_characters, do_set_quoting_function, | |
3049 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3050 do_set_user_accept_line_function, do_get_quoting_function, | |
3051 do_get_dequoting_function, do_get_user_accept_line_function, | |
3052 do_accept_line, do_filename_quoting_desired, command_quoter, | |
3053 command_dequoter, command_char_is_quoted, command_accept_line): | |
3054 New functions in gnu_readline class to control filename quoting | |
3055 and line acceptance. | |
3056 (quoting_function, dequoting_function, char_is_quoted_function, | |
3057 user_accept_line_function): private variable to store functions | |
3058 supplied for readline quoting and line acceptance. | |
3059 (gnu_readline::gnu_readline): Also set the new function pointers | |
3060 to zero. | |
3061 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
3062 interface. | |
3063 (gnu_readeline::operate_and_get_next): Use new accept_line | |
3064 function rather than newline. | |
3065 (default_ommand_editor::do_accept_line): New method. | |
3066 (class command_editor set_filename_quote_characters, | |
3067 set_completer_quote_characters, set_quoting_function, | |
3068 set_dequoting_function, set_char_is_quoted_function, | |
3069 set_user_accept_line_function, get_quoting_function, | |
3070 get_dequoting_function, get_user_accept_line_function, | |
3071 accept_line, filename_quoting_desired): New functions checking | |
3072 instance before calling virtual function. | |
3073 | |
3074 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
3075 Array2.h: Add dim_vector constructors. | |
3076 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
3077 const to dim_vector constructors. | |
3078 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
3079 (octave_idx_type)): New methods to constructor diagonal matrices. | |
3080 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
3081 (octave_idx_type)): Declare them. | |
3082 | |
3083 | |
6969 | 3084 2007-10-06 John W. Eaton <jwe@octave.org> |
3085 | |
3086 * lo-specfun.cc: (zlgamma): Delete. | |
3087 (xgamma): Use C library gamma function if available. | |
3088 (xlgamma): Use C library lgamma function if available. | |
3089 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
3090 other than NaN or Inf. | |
3091 | |
6961 | 3092 2007-10-05 John W. Eaton <jwe@octave.org> |
3093 | |
3094 * lo-specfun.cc (zlgamma): New function. | |
3095 | |
6959 | 3096 2007-10-04 John W. Eaton <jwe@octave.org> |
3097 | |
3098 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
3099 qualifiers on local variables. | |
3100 | |
6958 | 3101 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
3102 | |
3103 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
3104 than log(realmax) to avoid issues with NaN. | |
3105 | |
6940 | 3106 2007-10-01 John W. Eaton <jwe@octave.org> |
3107 | |
6941 | 3108 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
3109 initialize wday and yday. | |
3110 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
3111 | |
6940 | 3112 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
3113 insert extra '\001' when decoding \[ and \]. | |
3114 | |
6926 | 3115 2007-09-26 David Bateman <dbateman@free.fr> |
3116 | |
3117 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
3118 is much faster and no less accurate. | |
3119 * CMatrix.cc (lssolve): ditto. | |
3120 | |
6924 | 3121 2007-09-25 David Bateman <dbateman@free.fr> |
3122 | |
3123 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
3124 zero dimensioned matrices. | |
3125 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
3126 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3127 ditto. | |
3128 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3129 ditto. | |
3130 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
3131 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
3132 qrsolve): ditto. | |
3133 * sparse-dmsolve.cc (dmsolve): ditto. | |
3134 | |
6922 | 3135 2007-09-21 John W. Eaton <jwe@octave.org> |
3136 | |
3137 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
3138 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
3139 | |
6916 | 3140 2007-09-19 John W. Eaton <jwe@octave.org> |
3141 | |
3142 * cmd-edit.cc (command_editor::remove_startup_hook): | |
3143 Fix cut-and-paste error. | |
6917 | 3144 (gnu_readline::set_startup_hook): Only set hook function if new |
3145 function is different from the current one. | |
6916 | 3146 |
6913 | 3147 2007-09-18 John W. Eaton <jwe@octave.org> |
3148 | |
3149 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
3150 command_editor::event_hook_set): New static data. | |
3151 (default_command_editor::set_startup_hook, | |
3152 gnu_readline::set_startup_hook, | |
3153 default_command_editor::restore_startup_hook, | |
3154 gnu_readline_restore_event_hook): | |
3155 Rename from do_set_startup_hook and do_set_event_hook. | |
3156 (gnu_readline::operate_and_get_next): Call | |
3157 command_editor::add_startup_hook, not | |
3158 command_editor::set_startup_hook. | |
3159 (command_editor::startup_handler, command_editor::event_handler): | |
3160 New functions. | |
3161 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
3162 command_editor::remove_startup_hook, | |
3163 command_editor::remove_event_hook): Rename from set_startup_hook | |
3164 and restore_startup_hook. Handle hook sets here. | |
3165 * cmd-edit.cc (gnu_history::do_goto_mark): | |
3166 Call remove_startup_hook instead of restore_startup_hook. | |
3167 | |
6907 | 3168 2007-09-17 John W. Eaton <jwe@octave.org> |
3169 | |
3170 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
3171 leading whitespace. | |
3172 | |
6897 | 3173 2007-09-13 John W. Eaton <jwe@octave.org> |
3174 | |
3175 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
3176 octave_read_complex): Use istream::get instead of >> to read | |
3177 individual characters. | |
3178 | |
6884 | 3179 2007-09-10 John W. Eaton <jwe@octave.org> |
3180 | |
3181 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
3182 | |
3183 2007-09-10 David Bateman <dbateman@free.fr> | |
3184 | |
3185 * Array.h (Array<T>::make_unique): Make public so that the | |
3186 ::assign functions can access it directly. | |
3187 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
3188 Array<T>::maybe_delete_elements_1(idx_vector&), | |
3189 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
3190 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
3191 Use xelem for non const RHS to avoid call to make_unique. | |
3192 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
3193 xelem for LHS and call lhs.make_unique() only once. Special case | |
3194 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
3195 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
3196 bring the additional multiplication out of the inner loop. | |
3197 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3198 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3199 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
3200 (const Range& r)): Don't use init_state() method but special case | |
3201 as with a Range can avoid exhaustive search. | |
3202 | |
6881 | 3203 2007-09-07 John W. Eaton <jwe@octave.org> |
3204 | |
3205 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
3206 manipulating rep directly. | |
3207 | |
3208 * Array.h (idx, idx_count): Declare mutable. | |
3209 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
3210 Now const. | |
3211 | |
6867 | 3212 2007-09-06 David Bateman <dbateman@free.fr> |
3213 | |
6868 | 3214 * Array-util.cc (increment_index): dimensions can have singleton |
3215 trailing dimensions. | |
6867 | 3216 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
3217 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
3218 where necessary. | |
3219 * Array.cc (range_error): ditto. | |
3220 * MArrayN.h (permute, ipermute): ditto. | |
3221 * ArrayN.h (permute, ipermute): ditto. | |
3222 * so-array.cc (streamoff_array::compute_index): ditto. | |
3223 * so-array.h (compute_index): ditto. | |
3224 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
3225 | |
6840 | 3226 2007-08-29 David Bateman <dbateman@free.fr> |
3227 | |
3228 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
3229 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
3230 matrices marked as singular. | |
3231 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
3232 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
3233 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
3234 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
3235 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
3236 octave_idx_type&, double&, int, int)): ditto. | |
3237 | |
6838 | 3238 2007-08-27 John W. Eaton <jwe@octave.org> |
3239 | |
3240 * oct-env.cc (octave_env::rooted_relative_pathname, | |
3241 octave_env::do_rooted_relative_pathname): New functions. | |
3242 * oct-env.h: Provide decls. | |
3243 | |
6823 | 3244 2007-08-24 David Bateman <dbateman@free.fr> |
3245 | |
3246 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
3247 const Array<octave_idx_type>&)): New method. | |
3248 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
3249 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
3250 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3251 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3252 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
3253 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3254 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3255 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3256 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3257 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3258 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3259 SparseMatrix&, const Array<octave_idx_type>&), | |
3260 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3261 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3262 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3263 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3264 SparseMatrix&, const Array<octave_idx_type>&), | |
3265 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3266 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3267 | |
6817 | 3268 2007-08-19 David Bateman <dbateman@free.fr> |
3269 | |
3270 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
3271 | |
6813 | 3272 2007-08-14 John W. Eaton <jwe@octave.org> |
3273 | |
3274 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
3275 Simplify. | |
6814 | 3276 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 3277 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3278 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 3279 |
3280 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
3281 Remove trailing dir separator when stat'ing directory except for | |
3282 root directory. | |
3283 | |
6796 | 3284 2007-07-25 David Bateman <dbateman@free.fr> |
3285 | |
3286 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
3287 to work. | |
3288 | |
6764 | 3289 2007-06-04 David Bateman <dbateman@free.fr> |
3290 | |
3291 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
3292 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
3293 perform a twos complement arithmetic shift for both signed and | |
3294 unsigned integers regardless of compiler implementations. | |
3295 | |
6708 | 3296 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
3297 | |
6719 | 3298 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
3299 use cs_complex_t(0,0) for the complex zero. | |
3300 | |
6708 | 3301 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
3302 Sprinkle class instantiations with OCTAVE_API as needed. | |
3303 | |
3304 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
3305 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
3306 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
3307 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
3308 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
3309 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
3310 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
3311 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
3312 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
3313 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
3314 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
3315 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
3316 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
3317 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
3318 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
3319 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
3320 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
3321 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
3322 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
3323 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
3324 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
3325 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
3326 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
3327 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
3328 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
3329 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
3330 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
3331 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3332 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3333 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
3334 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
3335 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
3336 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
3337 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
3338 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
3339 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
3340 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
3341 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
3342 SPARSE_SMM_OP_DECLS): Ditto. | |
3343 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
3344 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
3345 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
3346 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
3347 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
3348 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
3349 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
3350 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
3351 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
3352 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
3353 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
3354 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
3355 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
3356 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
3357 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
3358 | |
6699 | 3359 2007-06-12 John W. Eaton <jwe@octave.org> |
3360 | |
3361 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
3362 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 3363 |
6693 | 3364 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
3365 | |
6709 | 3366 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
3367 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
3368 with file_ops::dir_sep_char. | |
6694 | 3369 |
6693 | 3370 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
3371 | |
6689 | 3372 2007-06-04 David Bateman <dbateman@free.fr> |
3373 | |
6699 | 3374 * file-ops.cc: Typo. |
3375 | |
6689 | 3376 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
3377 dimensions is greater than 2, collapse to 2-D. | |
3378 | |
6685 | 3379 2007-06-02 David Bateman <dbateman@free.fr> |
3380 | |
3381 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
3382 | |
6680 | 3383 2007-05-31 John W. Eaton <jwe@octave.org> |
3384 | |
3385 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
3386 the computed size is too large for the size of Octave's index type. | |
3387 | |
6662 | 3388 2007-05-23 John W. Eaton <jwe@octave.org> |
3389 | |
3390 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
3391 | |
6629 | 3392 2007-05-16 David Bateman <dbateman@free.fr> |
3393 | |
3394 * dRowVector.cc (linspace): Return second argument if fewer than | |
3395 two values are requested. | |
3396 * CRowVector.cc (linspace): Likewise. | |
3397 | |
6596 | 3398 2007-04-27 John W. Eaton <jwe@octave.org> |
3399 | |
3400 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
3401 | |
6583 | 3402 2007-04-25 John W. Eaton <jwe@octave.org> |
3403 | |
3404 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
3405 | |
6553 | 3406 2007-04-20 John W. Eaton <jwe@octave.org> |
3407 | |
3408 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
3409 not rhs_len == 1. | |
3410 | |
6536 | 3411 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
3412 | |
3413 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
3414 | |
6525 | 3415 2007-04-13 John W. Eaton <jwe@octave.org> |
3416 | |
3417 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
3418 for empty matrix. Only check for colon index equivalence if not empty. | |
3419 | |
6513 | 3420 2007-04-10 John W. Eaton <jwe@octave.org> |
3421 | |
3422 * SparseCmplxQR.cc | |
3423 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
3424 Move GCC_ATTR_UNUSED before the parameter decl. | |
3425 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
3426 | |
6508 | 3427 2007-04-06 John W. Eaton <jwe@octave.org> |
3428 | |
3429 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
3430 * MArray.h (MArray<T>::norm): New function. | |
3431 * MArray.cc: Provide decl. | |
3432 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
3433 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
3434 | |
6490 | 3435 2007-04-04 John W. Eaton <jwe@octave.org> |
3436 | |
3437 * Range.cc (Range::nelem_internal): Likewise. | |
3438 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
3439 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
3440 From Scott Pakin <pakin@lanl.gov>. | |
3441 | |
6486 | 3442 2007-04-04 David Bateman <dbateman@free.fr> |
3443 | |
3444 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
3445 the condition number for positive definite matrices. | |
3446 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
3447 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
3448 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
3449 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
3450 (CHOL(const CHOL&)): Copy xrcond. | |
3451 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
3452 (xrcond): New private data member. | |
3453 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
3454 calc_cond. | |
3455 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
3456 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
3457 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
3458 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
3459 (xrcond): New private data member. | |
3460 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
3461 true, calculate the condition number with dpocon. | |
3462 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
3463 calc_cond is true, calculate the condition number with zpocon. | |
3464 | |
6481 | 3465 2007-04-03 John W. Eaton <jwe@octave.org> |
3466 | |
6482 | 3467 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
3468 | |
3469 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
3470 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
3471 "maybe clobbered by vfork" warning. | |
3472 | |
6483 | 3473 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 3474 if/else. |
3475 | |
3476 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
3477 and destructor. | |
3478 | |
6481 | 3479 * Array.cc (assignN): Don't resize dimension if corresponding |
3480 index is empty. | |
3481 | |
6479 | 3482 2007-04-02 John W. Eaton <jwe@octave.org> |
3483 | |
3484 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
3485 MatrixType argument. | |
3486 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
3487 | |
6467 | 3488 2007-03-27 John W. Eaton <jwe@octave.org> |
3489 | |
3490 * Makefile.in (DISTDIRS): Delete variable. | |
3491 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
3492 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3493 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 3494 |
3495 * MatrixType.cc: Replace all uses of the method | |
3496 octave_sparse_params::get_key ("bandden") with | |
3497 octave_sparse_params::get_bandden (void). | |
3498 (MatrixType::MatrixType (void)): Undo previous change but use | |
3499 octave_sparse_params::get_bandden (void). | |
3500 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
3501 methods. | |
3502 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
3503 Declare them. | |
3504 | |
6458 | 3505 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
3506 David Bateman <dbateman@free.fr> | |
3507 | |
3508 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
3509 Check that all elements are ints before doing anything. Simplify | |
3510 calculation of index values. | |
3511 | |
6457 | 3512 2007-03-26 David Bateman <dbateman@free.fr> |
3513 | |
3514 * Range.cc (Range::all_elements_are_ints): Improve check. | |
3515 | |
6456 | 3516 2007-03-26 John W. Eaton <jwe@octave.org> |
3517 | |
3518 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
3519 * chNDArray.h, chMatrix.h: Provide decls. | |
3520 | |
3521 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
3522 | |
3523 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
3524 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 3525 |
6435 | 3526 2007-03-23 David Bateman <dbateman@free.fr> |
3527 | |
3528 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
3529 little endian. | |
3530 | |
6414 | 3531 2007-03-15 John W. Eaton <jwe@octave.org> |
3532 | |
3533 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
3534 From Alexander Barth <abarth@marine.usf.edu>. | |
3535 | |
6402 | 3536 2007-03-12 John W. Eaton <jwe@octave.org> |
3537 | |
3538 * oct-inttypes.h (octave_int::octave_int (double)): | |
3539 New Specialization. Round arg. | |
3540 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
3541 Round result before converting type. | |
3542 | |
6388 | 3543 2007-03-07 John W. Eaton <jwe@octave.org> |
3544 | |
6392 | 3545 * Array.cc (assign1): Avoid resizing if there is an error. |
3546 | |
6390 | 3547 * dMatrix.cc, CMatrix.cc (operator *): Only check |
3548 f77_exception_encountered immediately after calls that use F77_XFCN. | |
3549 | |
6389 | 3550 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
3551 Only allow resizing empty LHS if it is 0x0. | |
3552 | |
6388 | 3553 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
3554 const T&)): Handle case of more indices than dimensions. | |
3555 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
3556 cases to be handled by assignN. | |
3557 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
3558 Special cases for 2-d array assignments for speed. | |
3559 Improve handling of scalar RHS and empty indices. | |
6384 | 3560 |
6383 | 3561 2007-03-05 David Bateman <dbateman@free.fr> |
3562 | |
3563 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
3564 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
3565 | |
6379 | 3566 2007-03-02 John W. Eaton <jwe@octave.org> |
3567 | |
3568 * str-vec.h (string_vector::empty): Return bool, not int. | |
3569 | |
6375 | 3570 2007-03-01 David Bateman <dbateman@free.fr> |
3571 | |
3572 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
3573 an independent implementation of RFC1321. | |
3574 * oct-md5.h, oct-md5: New files for treating std::string class | |
3575 with MD5. | |
3576 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
3577 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
3578 (LIBOCTAVE_C_SOURCES): Add md5.c | |
3579 | |
6366 | 3580 2007-02-27 John W. Eaton <jwe@octave.org> |
3581 | |
3582 * Makefile.in (uninstall): Delete files listed in | |
3583 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
3584 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
3585 | |
6536 | 3586 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 3587 |
3588 * file-ops.cc (file_ops::recursive_rmdir): | |
3589 Close dir_entry object before calling rmdir. | |
3590 | |
6536 | 3591 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 3592 |
3593 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
3594 | |
6359 | 3595 * sparse-util.h (SparseCholPrint, SparseCholError): |
3596 Tag with OCTAVE_API. | |
3597 | |
6326 | 3598 2007-02-18 David Bateman <dbateman@free.fr> |
3599 | |
3600 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
3601 calling setall and reset to the current generator after. | |
3602 | |
6323 | 3603 2007-02-16 John W. Eaton <jwe@octave.org> |
3604 | |
3605 * oct-shlib.h (octave_shlib::relative): New data member. | |
3606 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
3607 New functions. | |
3608 | |
6321 | 3609 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
3610 | |
3611 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
3612 windows platform. | |
3613 * lo-sysdep.h (octave_popen2): Declare it. | |
3614 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
3615 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
3616 | |
6306 | 3617 2007-02-14 John W. Eaton <jwe@octave.org> |
3618 | |
3619 * kpse.cc (expand_elt): Omit special treatment for //. | |
3620 | |
6273 | 3621 2007-02-06 John W. Eaton <jwe@octave.org> |
3622 | |
3623 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
3624 Don't delete value returned from realpath. | |
3625 | |
6271 | 3626 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
3627 | |
3628 * file-ops.cc (file_ops::canonicalize_file_name): | |
3629 Provide implementation if realpath function is available. | |
3630 | |
6256 | 3631 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
3632 | |
3633 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
3634 | |
6244 | 3635 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
3636 | |
3637 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
3638 Windows systems. | |
3639 | |
6242 | 3640 2007-01-16 John W. Eaton <jwe@octave.org> |
3641 | |
3642 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
3643 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
3644 | |
3645 * oct-fftw.h (fftw_planner): Provide decl. | |
3646 | |
6241 | 3647 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
3648 | |
3649 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
3650 | |
6236 | 3651 2007-01-10 John W. Eaton <jwe@octave.org> |
3652 | |
3653 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
3654 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
3655 | |
6231 | 3656 2007-01-08 David Bateman <dbateman@free.fr> |
3657 | |
3658 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
3659 SPARSESUITE with SUITESPARSE to match upstream name. | |
3660 | |
6228 | 3661 2007-01-05 David Bateman <dbateman@free.fr> |
3662 | |
3663 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
3664 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
3665 set the FFTW wisdom method used. | |
3666 (octave_fftw_planner::create_plan) Modify to allow different | |
3667 methods to be used. | |
3668 (octave_fftw_planner): Move class definition from here. | |
3669 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
3670 and FftwMethod enum. | |
3671 | |
6221 | 3672 2007-01-03 David Bateman <dbateman@free.fr> |
3673 | |
3674 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
3675 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
3676 sparse matrices are special cased. | |
3677 | |
3678 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
3679 matrix, sparse matrix operations. | |
3680 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
3681 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
3682 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
3683 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
3684 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
3685 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
3686 sparse matrices are special cased. | |
3687 | |
6217 | 3688 2006-12-22 David Bateman <dbateman@free.fr> |
3689 | |
3690 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
3691 | |
6216 | 3692 2006-12-22 John W. Eaton <jwe@octave.org> |
3693 | |
3694 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
3695 least 2 dimensions. | |
3696 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
3697 | |
6208 | 3698 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
3699 | |
3700 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
3701 | |
3702 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 3703 implementation for Windows. |
6208 | 3704 |
6207 | 3705 2006-12-06 David Bateman <dbateman@free.fr> |
3706 | |
6208 | 3707 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
3708 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 3709 |
3710 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
3711 (tinverse): New method for triangular matrices. | |
3712 (inverse): New function with matrix type probing. | |
3713 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
3714 declarations. | |
6208 | 3715 * CMatrix.cc: Ditto. |
3716 * CMatrix.h: Ditto. | |
6207 | 3717 |
6205 | 3718 2006-12-06 John W. Eaton <jwe@octave.org> |
3719 | |
3720 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
3721 | |
6202 | 3722 2006-12-05 John W. Eaton <jwe@octave.org> |
3723 | |
3724 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
3725 followed by 'I' or 'i', try reading number after putting | |
3726 characters back on input stream. | |
3727 | |
6198 | 3728 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
3729 | |
3730 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
3731 loop is n, not L. | |
3732 | |
6194 | 3733 2006-11-30 John W. Eaton <jwe@octave.org> |
3734 | |
3735 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
3736 Also recognize [+-][Ii]nf. | |
3737 | |
6187 | 3738 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 3739 |
3740 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
3741 sub-directory. | |
3742 | |
6204 | 3743 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
3744 well when calling tinverse for lower triangular matrices. | |
3745 * CSparse.cc (SparseComplexMatrix::inverse): | |
3746 Ditto. | |
6185 | 3747 |
6183 | 3748 2006-11-21 John W. Eaton <jwe@octave.org> |
3749 | |
3750 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
3751 | |
6182 | 3752 2006-11-20 John W. Eaton <jwe@octave.org> |
3753 | |
3754 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
3755 for ".", and names beginning with "./" or "../". | |
3756 | |
6162 | 3757 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
3758 | |
3759 * CMatrix.cc, dMatrix.cc: New tests. | |
3760 | |
6153 | 3761 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
3762 | |
3763 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
3764 | |
6152 | 3765 2006-11-11 John W. Eaton <jwe@octave.org> |
3766 | |
3767 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
3768 Use $(simple-move-if-change-rule) here. | |
3769 | |
6148 | 3770 2006-11-09 David Bateman <dbateman@free.fr> |
3771 | |
3772 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
3773 octave_idx_type, not int. | |
3774 | |
6145 | 3775 2006-11-08 John W. Eaton <jwe@octave.org> |
3776 | |
3777 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
3778 | |
6141 | 3779 2006-11-06 John W. Eaton <jwe@octave.org> |
3780 | |
3781 * Array.cc (assignN): Exit early if invalid indices are found. | |
3782 | |
6140 | 3783 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
3784 | |
3785 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
3786 | |
6137 | 3787 2006-11-03 John W. Eaton <jwe@octave.org> |
3788 | |
3789 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
3790 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
3791 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
3792 | |
6123 | 3793 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
3794 | |
3795 * oct-shlib.cc: Undefine min and max after including windows.h. | |
3796 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
3797 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
3798 lo-sysdep.cc. | |
3799 | |
6113 | 3800 2006-10-27 John W. Eaton <jwe@octave.org> |
3801 | |
6119 | 3802 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
3803 | |
3804 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
3805 | |
3806 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
3807 NDS_CMP_OPS2): New macros. | |
6113 | 3808 |
6111 | 3809 2006-10-26 John W. Eaton <jwe@octave.org> |
3810 | |
6119 | 3811 * mx-ops (core-type): New field for integer types. |
3812 * mk-ops.awk: Handle core-type for integer comparison ops. | |
3813 | |
6111 | 3814 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
3815 Move here from src/cutils.c. | |
3816 * lo-utils.h: Provide decls. | |
3817 * strcasecmp.c: Move here from src/strcasecmp.c. | |
3818 * strncase.c: Move here from src/strncase.c. | |
3819 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
3820 | |
6106 | 3821 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
3822 | |
3823 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
3824 | |
6708 | 3825 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
3826 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
3827 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
3828 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
3829 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
3830 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
3831 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
3832 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
3833 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
3834 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
3835 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
3836 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
3837 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
3838 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
3839 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
3840 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
3841 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
3842 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
3843 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
3844 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
3845 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
3846 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
3847 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 3848 |
6105 | 3849 2006-10-26 John W. Eaton <jwe@octave.org> |
3850 | |
3851 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
3852 type qualification for OP. | |
3853 | |
6101 | 3854 2006-10-26 David Bateman <dbateman@free.fr> |
3855 | |
3856 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
3857 octave_idx_type)): Be more careful with the size of the input | |
3858 matrix, and therefore don't create or read non existent data. | |
3859 | |
6092 | 3860 2006-10-25 John W. Eaton <jwe@octave.org> |
3861 | |
3862 * Sparse.cc (assign): Clear lhs index after error. | |
3863 | |
6093 | 3864 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 3865 |
3866 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3867 Fix previous patch so it works. | |
3868 | |
6087 | 3869 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
3870 | |
6095 | 3871 * glob-match.h (glob_match::glob_match (const std::string&, |
3872 unsigned int)): Delete initializer for first arg. | |
3873 | |
6093 | 3874 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
3875 New functions. | |
3876 | |
6087 | 3877 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
3878 | |
6096 | 3879 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
3880 same code as __MINGW32__. | |
3881 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
3882 the same as for __MINGW32__. | |
3883 | |
3884 * randpoisson.c: Undefine INFINITE before redefining. | |
3885 | |
6079 | 3886 2006-10-24 David Bateman <dbateman@free.fr> |
3887 | |
3888 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
3889 lhs at the point we know the assignment can succeed if the lhs is | |
3890 empty. | |
3891 | |
6072 | 3892 2006-10-23 John W. Eaton <jwe@octave.org> |
3893 | |
3894 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
3895 | |
6061 | 3896 2006-10-17 John W. Eaton <jwe@octave.org> |
3897 | |
3898 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
3899 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
3900 and _copysign. | |
3901 | |
6059 | 3902 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 3903 |
6061 | 3904 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
3905 | |
6708 | 3906 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
3907 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 3908 |
6058 | 3909 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
3910 | |
6059 | 3911 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
3912 | |
6051 | 3913 * Makefile.in: Adapt rules to use $(LIBPRE). |
3914 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3915 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 3916 |
3917 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
3918 or p == 0. | |
3919 | |
6018 | 3920 2006-10-02 John W. Eaton <jwe@octave.org> |
3921 | |
3922 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
3923 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
3924 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3925 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 3926 |
3927 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 3928 Remove spurious warning. |
5996 | 3929 |
5992 | 3930 2006-09-15 John W. Eaton <jwe@octave.org> |
3931 | |
3932 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
3933 Handle resizing. | |
3934 | |
3935 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
3936 | |
5983 | 3937 2006-09-11 John W. Eaton <jwe@octave.org> |
3938 | |
3939 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
3940 Handle M*v and rv*cv special cases. | |
3941 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
3942 ComplexMatrix&))): Likewise. | |
3943 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
3944 | |
3945 * dRowVector.cc (operator * (const RowVector&, const | |
3946 ColumnVector&)): Call xddot here instead of using a Fortran | |
3947 function directly. | |
3948 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
3949 ComplexColumnVector&)): Call xzdotu here. | |
3950 | |
3951 2006-09-05 John W. Eaton <jwe@octave.org> | |
3952 | |
3953 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
3954 elements to '\0', not ' '. | |
3955 | |
5972 | 3956 2006-08-25 John W. Eaton <jwe@octave.org> |
3957 | |
3958 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
3959 | |
5958 | 3960 2006-08-23 John W. Eaton <jwe@octave.org> |
3961 | |
3962 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
3963 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
3964 | |
5955 | 3965 2006-08-22 John W. Eaton <jwe@octave.org> |
3966 | |
5956 | 3967 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
3968 * dMatrix.cc (Matrix::save_ascii): New function. | |
3969 | |
5955 | 3970 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
3971 If array is empty, return value is same size as array. | |
3972 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
3973 If array is empty, produce correctly sized return value. | |
3974 | |
5940 | 3975 2006-08-18 John W. Eaton <jwe@octave.org> |
3976 | |
5943 | 3977 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
3978 * dMatrix.h: Provide decl. | |
3979 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
3980 * dNDArray.h: Provide decl. | |
3981 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
3982 New function. | |
3983 * intNDArray.h: Provide decl. | |
3984 | |
5940 | 3985 * Array.cc (Array<T>::permute): Only rearrange values if array is |
3986 not empty. | |
3987 | |
5904 | 3988 2006-07-26 John W. Eaton <jwe@octave.org> |
3989 | |
3990 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
3991 DET::value_will_overflow): Use xlog2 instead of log2. | |
3992 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
3993 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
3994 * CmplxDET.cc (ComplexDET::initialize10, | |
3995 ComplexDET::value_will_underflow, | |
3996 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
3997 (ComplexDET::initialize2, ComplexDET::initialize10): | |
3998 Use xround instead of round. | |
3999 (ComplexDET::initialize2, ComplexDET::value): | |
4000 Use xexp2 instead of exp2. | |
4001 | |
4002 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
4003 (xlog2, xexp2): New functions. | |
4004 * lo-mappers.h: Provide decls. | |
4005 | |
5900 | 4006 2006-07-22 John W. Eaton <jwe@octave.org> |
4007 | |
4008 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
4009 Sparse<T>::mex_get_jc): New functions. | |
4010 | |
4011 2006-07-21 John W. Eaton <jwe@octave.org> | |
4012 | |
4013 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
4014 * Array.h (Array<T>::mex_get_data): New function. | |
4015 | |
5898 | 4016 2006-07-19 John W. Eaton <jwe@octave.org> |
4017 | |
4018 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
4019 | |
5893 | 4020 2006-07-16 John W. Eaton <jwe@octave.org> |
4021 | |
4022 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
4023 Rename from SparseParams. Use same implementation method as other | |
4024 singleton classes in Octave. Change all uses of | |
4025 Voctave_sparse_controls to use static functions from | |
4026 octave_sparse_params class instead. | |
4027 | |
4028 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
4029 SparseParams::get_key): Pass std::string arg by const reference, | |
4030 not const value. | |
4031 | |
5892 | 4032 2006-07-15 John W. Eaton <jwe@octave.org> |
4033 | |
4034 * data-conv.cc: Instantiante swap_bytes templates here. | |
4035 | |
4036 * MatrixType.cc (MatrixType::MatrixType): | |
4037 Use complete initializer lists in constructors. | |
4038 | |
5880 | 4039 2006-07-06 John W. Eaton <jwe@octave.org> |
4040 | |
4041 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
4042 New constructor. | |
4043 * str-vec.h: Provide decl. | |
4044 | |
5876 | 4045 2006-07-01 David Bateman <dbateman@free.fr> |
4046 | |
4047 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
4048 elements on the diagonal. Allow both Upper and Lower triangular | |
4049 matrices to be treated. | |
4050 * CSparse.cc (tinverse): ditto. | |
4051 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
4052 constant assignment. | |
4053 | |
5870 | 4054 2006-06-30 John W. Eaton <jwe@octave.org> |
4055 | |
5872 | 4056 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
4057 * cmd-edit.cc (editor::read_init_file): Ditto. | |
4058 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 4059 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 4060 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 4061 |
5870 | 4062 * data-conv.cc (data_conv::string_to_data_type): |
4063 Correctly handle leading "*". | |
4064 | |
5869 | 4065 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
4066 | |
4067 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
4068 array access. | |
4069 | |
5866 | 4070 2006-06-27 John W. Eaton <jwe@octave.org> |
4071 | |
4072 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
4073 | |
5864 | 4074 2006-06-21 John W. Eaton <jwe@octave.org> |
4075 | |
4076 * oct-shlib.cc (octave_dlopen_shlib::close, | |
4077 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
4078 Skip do_close_hook if cl_hook is 0. | |
4079 | |
5863 | 4080 2006-06-16 John W. Eaton <jwe@octave.org> |
4081 | |
4082 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
4083 * randmtzig.h: Don't inlcude config.h. | |
4084 | |
5837 | 4085 2006-05-31 David Bateman <dbateman@free.fr> |
4086 | |
4087 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
4088 | |
5828 | 4089 2006-05-23 John W. Eaton <jwe@octave.org> |
4090 | |
4091 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
4092 typedefs, or define them if those files are not available. | |
4093 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
4094 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
4095 octave_uint64_t): Delete typedefs. Replace all uses of these | |
4096 types with int8_t, int16_t, etc. | |
4097 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
4098 Delete definitions. Replace all uses of these macros with int8_t, | |
4099 int16_t, etc. | |
4100 * randmtzig.h: Delete integer typedefs. | |
4101 | |
5822 | 4102 2006-05-18 John W. Eaton <jwe@octave.org> |
4103 | |
4104 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
4105 From Keith Goodman <kwgoodman@gmail.com>. | |
4106 | |
5813 | 4107 2006-05-08 David Bateman <dbateman@free.fr> |
4108 | |
4109 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
4110 modification. | |
4111 | |
5797 | 4112 2006-05-09 David Bateman <dbateman@free.fr> |
4113 | |
4114 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
4115 ov-cx-sparse. and error_state. | |
4116 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
4117 | |
5795 | 4118 2006-05-08 David Bateman <dbateman@free.fr> |
4119 | |
4120 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
4121 first pass and use to determine which algorithm to use on a | |
4122 column-by-column basis. | |
4123 | |
5792 | 4124 2006-05-04 David Bateman <dbateman@free.fr> |
4125 | |
4126 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
4127 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
4128 CXSparse or later | |
4129 | |
5785 | 4130 2006-05-03 David Bateman <dbateman@free.fr> |
4131 | |
4132 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
4133 External declaration of lapack triangular and Cholesky codes. | |
4134 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
4135 ComplexMatrix::fsolve): New private solver codes for | |
4136 upper, lower and LU/Cholesky solvers. | |
4137 (ComplexMatrix::solve): New versions for cached matrix | |
4138 type. Adapt old versions to call new versions | |
4139 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4140 new solvers. | |
4141 (solve): New versions for cached matrix type. | |
4142 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
4143 External declaration of lapack triangular and Cholesky codes. | |
4144 (Matrix::utsolve, Matrix::ltsolve, | |
4145 Matrix::fsolve): New private solver codes for | |
4146 upper, lower and LU/Cholesky solvers. | |
4147 (Matrix::solve): New versions for cached matrix | |
4148 type. Adapt old versions to call new versions | |
4149 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4150 new solvers. | |
4151 (solve): New versions for cached matrix type. | |
4152 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
4153 * CSparse.h: ditto. | |
4154 * dSparse.cc: ditto. | |
4155 * dSparse.h: ditto. | |
4156 * SparseCmplxCHOL.cc: ditto. | |
4157 * SparsedbleCHOL.cc: ditto. | |
4158 * sparse-dmsolve.cc: ditto. | |
4159 * SparseType.cc, SparseType.h: delete. | |
4160 * MatrixType.cc: New file for class to cache matrix type, based on | |
4161 old SparseType class but caching matrix and sparse types. | |
4162 * MatrixType.h: ditto. | |
4163 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
4164 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
4165 respectively. | |
4166 * mx-base.h: Include MatrixTye.h as header file. | |
4167 | |
5781 | 4168 2006-05-01 John W. Eaton <jwe@octave.org> |
4169 | |
4170 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
4171 Delete WARN_FUTURE arg. Change all uses. | |
4172 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
4173 Change all uses. Use current_liboctave_warning_with_id_handler. | |
4174 (octave_base_shlib::open): Delete arg. Change all derived classes | |
4175 and uses. | |
4176 | |
4177 2006-04-29 John W. Eaton <jwe@octave.org> | |
4178 | |
4179 * Array-flags.cc, Array-flags.h: Delete. | |
4180 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
4181 (MATRIX_INC): Remove Array-flags.h from the list. | |
4182 | |
4183 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
4184 Use current_liboctave_warning_with_id_handler | |
4185 with warning ID Octave:resize-on-range-error. | |
4186 * idx-vector.h: Fix decl. | |
4187 * Array.cc, Sparse.cc: Change all callers. | |
4188 | |
4189 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
4190 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
4191 with warning ID Octave:fortran-indexing instead of | |
4192 liboctave_wfi_flag. | |
4193 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
4194 | |
5777 | 4195 2006-04-26 John W. Eaton <jwe@octave.org> |
4196 | |
4197 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
4198 New static data. | |
4199 * pathsearch.h: Provide decls. | |
4200 (dir_path::is_path_sep): New function. | |
4201 | |
5766 | 4202 2006-04-18 John W. Eaton <jwe@octave.org> |
4203 | |
4204 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
4205 Omit inline from decl. | |
4206 | |
4207 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
4208 local array with variable dimension. | |
4209 | |
5764 | 4210 2006-04-16 John W. Eaton <jwe@octave.org> |
4211 | |
5765 | 4212 * lo-sstream.h: Delete. |
4213 * Makefile.in (INCLUDES): Remove it from the list. | |
4214 | |
4215 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
4216 * Sparse.cc (Sparse::range_error): Likewise. | |
4217 * DASSL.cc (DASSL::error_message): Likewise. | |
4218 * LSODE.cc (LSODE::error_message): Likewise. | |
4219 * DASRT.cc (DASRT::error_message): Likewise. | |
4220 * DASPK.cc (DASPK::error_message): Likewise. | |
4221 * Array.cc (Array::range_error): Likewise. | |
4222 | |
5764 | 4223 * kpse.cc (kpse_hash): Rename from hash. |
4224 (hash_lookup): Call kpse_hash instead of hash. | |
4225 | |
4226 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
4227 to avoid local array with variable dimension. | |
4228 | |
5760 | 4229 2006-04-13 David Bateman <dbateman@free.fr> |
4230 | |
4231 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4232 Optimize assignment. | |
4233 | |
4234 2006-04-13 John W. Eaton <jwe@octave.org> | |
4235 | |
4236 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4237 Eliminate unnecessary casts. | |
4238 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
4239 | |
4240 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
4241 (log_search, dir_links): Use static_cast instead of C-style cast. | |
4242 | |
4243 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
4244 * oct-alloc.cc (allocator::grow): Likewise. | |
4245 * CSparse.cc (SparseComplexMatrix::determinant, | |
4246 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
4247 Likewise. | |
4248 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
4249 | |
4250 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
4251 Use static_cast instead of C-style cast. | |
4252 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4253 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
4254 | |
4255 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
4256 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
4257 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
4258 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
4259 Use reinterpret_cast instead of X_CAST. | |
4260 | |
4261 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
4262 return value here. | |
4263 | |
5752 | 4264 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
4265 | |
4266 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
4267 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
4268 | |
5730 | 4269 2006-04-03 David Bateman <dbateman@free.fr> |
4270 | |
5731 | 4271 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
4272 to avoid copy of original matrix. | |
4273 | |
5730 | 4274 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
4275 randmtzig.h to the list. | |
4276 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
4277 randmtzig.c to the list. | |
4278 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
4279 (use_old_generators): New variable. | |
4280 (old_initialized): Rename from initialized. | |
4281 (new_initialized): New variable. | |
4282 (oct_init_by_entropy): New function. | |
4283 (maybe_initialize): Initialize new or old generator depending on | |
4284 value of use_old_generators. | |
4285 (octave_rand::state): New functions. | |
4286 (octave_rand::distribution): Add gamma, exponential and poisson | |
4287 distributions. | |
4288 (octave_rand::exponential_distribution, | |
4289 octave_rand::poisson_distribution, | |
4290 octave_rand::gamma_distribution): New methods to select | |
4291 exponential, poisson or gamma distribution. | |
4292 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4293 octave_rand::vector): Add new distributions. | |
4294 * oct-rand.h: Provide decls for new functions. | |
4295 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
4296 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4297 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
4298 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
4299 randmtzig.h: New files. | |
4300 | |
5717 | 4301 2006-03-24 John W. Eaton <jwe@octave.org> |
4302 | |
4303 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
4304 Array<octave_idx_type>, so fortran_vec returns pointer to | |
4305 octave_idx_type, not pointer to int. | |
4306 | |
4307 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
4308 ComplexMatrix::column (char*)): Delete. | |
4309 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
4310 Matrix::column (char*)): Delete. | |
4311 | |
5713 | 4312 2006-03-21 David Bateman <dbateman@free.fr> |
4313 | |
4314 * SparseQR.h: Publish externally used friends. | |
4315 * SparseCmplxQR.h: ditto. | |
4316 | |
5700 | 4317 2006-03-21 John W. Eaton <jwe@octave.org> |
4318 | |
4319 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
4320 call to xdbetai. | |
4321 | |
5697 | 4322 2006-03-21 David Bateman <dbateman@free.fr> |
4323 | |
5701 | 4324 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
4325 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 4326 |
4327 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
4328 fallback to QR solvers to be optional. | |
4329 * CSparse.cc (solve): Ditto. | |
4330 * dSparse.h (solve): update declaration for new argument. | |
4331 * CSparse.h (solve): Ditto. | |
4332 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
4333 to bypass QR solvers when solving the well determined part of | |
4334 the problem. | |
5697 | 4335 |
5690 | 4336 2006-03-17 John W. Eaton <jwe@octave.org> |
4337 | |
4338 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
4339 | |
5681 | 4340 2006-03-16 David Bateman <dbateman@free.fr> |
4341 | |
4342 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
4343 reduction of matrix size, except for a couple of cases where nzmax | |
4344 is needed. | |
4345 (zpbcon): Correct declaration of lapack zpbcon function. | |
4346 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
4347 an argument to allow the calculation of condition number to be | |
4348 optional. | |
4349 (bsolve): Add code for the calculation of the condition number | |
4350 using zpbcon and zgbcon. | |
4351 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
4352 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
4353 singular if singularity is detected. | |
4354 (solve): Use optional argument to disable calculation of | |
4355 condition number for all but fsolve, for speed. Add code to | |
4356 allow rectnagular matrices or matrices identified as singular | |
4357 to be treated. | |
4358 (lssolve): delete. | |
4359 (operator *): Don't recast real matrices as complex, but | |
4360 rather use the macro directly on the real data. | |
4361 * dSparse.cc: ditto. | |
4362 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
4363 fsolve, factorize): Update declaration for new argument to | |
4364 calculate the condition number. | |
4365 (lssolve): delete. | |
4366 * dSparse.h: ditto. | |
4367 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
4368 reduction of matrix size, except for a couple of cases where | |
4369 nzmax is needed. | |
4370 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
4371 reduction of matrix size, except for a couple of cases where | |
4372 nzmax is needed. | |
4373 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
4374 Special case strict permutations for speed. | |
4375 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
4376 reduction of matrix size, except for a couple of cases where | |
4377 nzmax is needed. | |
4378 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
4379 macros to allow mixed complex/real arguments. | |
4380 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
4381 value. | |
4382 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
4383 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
4384 of permutated triangular matrices to avoid seg-faults. Disable | |
4385 detection of underdetermined lower and over-determined upper | |
4386 matrix due to problems with non minimum norm solutions. | |
4387 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
4388 * Makefile.in: add sparse-dmsolve.cc to targets. | |
4389 | |
5675 | 4390 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
4391 | |
4392 * oct-time.cc (octave_strptime::init): Return useful character count. | |
4393 | |
5648 | 4394 2006-03-08 David Bateman <dbateman@free.fr> |
4395 | |
4396 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
4397 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
4398 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
4399 * SparseQR.cc: ditto. | |
4400 * SparseQR.h: ditto. | |
4401 * oct-sparse.h: ditto. | |
4402 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
4403 Declare info variable as volatile. | |
4404 | |
4405 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
4406 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
4407 | |
5634 | 4408 2006-03-01 John W. Eaton <jwe@octave.org> |
4409 | |
4410 * CMatrix.cc (ComplexMatrix::determinant): | |
4411 Scale result by factors of 2, not 10. | |
4412 * dMatrix.cc (Matrix::determinant): Likewise. | |
4413 | |
4414 * dbleDET.h (DET::DET): Use initializer list. | |
4415 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
4416 DET::exponent10): New functions. | |
4417 (DET::det): Delete. | |
4418 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
4419 Store value internally with double and int instead of 2-element | |
4420 double vector. | |
4421 (DET::initialize2, DET::initialize10): Provide decls. | |
4422 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
4423 Return bool value, not int. | |
4424 (DET::initialize2, DET::initialize10): New functions. | |
4425 | |
4426 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
4427 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
4428 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
4429 (ComplexDET::det): Delete. | |
4430 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
4431 ComplexDET::base2): New data members. | |
4432 Store value internally with Complex and int instead of 2-element | |
4433 Complex vector. | |
4434 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
4435 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
4436 ComplexDET::value_will_underflow): Return bool value, not int. | |
4437 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
4438 | |
5632 | 4439 2006-02-24 John W. Eaton <jwe@octave.org> |
4440 | |
4441 * Array.cc (assignN): Clear index before reshaping. | |
4442 | |
4443 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
4444 | |
5630 | 4445 2006-02-20 David Bateman <dbateman@free.fr> |
4446 | |
4447 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
4448 matrix must be square in diagonal, permuted diagonal, triangular | |
4449 and permuted triangular back/forward substitution code. Change | |
4450 ambiguous use of no. rows and columns. | |
4451 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
4452 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
4453 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
4454 rectangular diagonal, permuted diagonal, triangular and permuted | |
4455 triangular matrices. | |
4456 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
4457 Treat case where third argument is zero. | |
4458 | |
5621 | 4459 2006-02-15 John W. Eaton <jwe@octave.org> |
4460 | |
5622 | 4461 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
4462 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
4463 | |
5621 | 4464 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
4465 | |
5619 | 4466 2006-02-13 David Bateman <dbateman@free.fr> |
4467 | |
4468 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
4469 ccolamd and cxsparse | |
4470 | |
5617 | 4471 2006-02-13 John W. Eaton <jwe@octave.org> |
4472 | |
5618 | 4473 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
4474 while loop condition. | |
4475 (kpse_path_iterator::operator =): Declare as private function but | |
4476 don't define to prevent attempts to use assignment operator. | |
4477 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 4478 |
5615 | 4479 2006-02-10 John W. Eaton <jwe@octave.org> |
4480 | |
4481 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
4482 product of all dimensions in CP_SZ. | |
4483 | |
5611 | 4484 2006-02-09 John W. Eaton <jwe@octave.org> |
4485 | |
4486 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 4487 product of all dimensions in CP_SZ. |
5611 | 4488 |
5610 | 4489 2006-02-09 David Bateman <dbateman@free.fr> |
4490 | |
4491 * SparseQR.cc: new file for real sparse QR class. | |
4492 * SparseQR.h: declaration. | |
4493 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
4494 * SparseCmplxQR.h: declaration. | |
4495 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4496 (factorize, fsolve): Enable code code lssolve. | |
4497 (lssolve): disable unused args, write based in above sparse QR class. | |
4498 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4499 (factorize, fsolve): Enable code code lssolve. | |
4500 (lssolve): disable unused args, write based in above sparse QR class. | |
4501 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
4502 Include CXSparse headers. | |
4503 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
4504 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
4505 | |
5607 | 4506 2006-02-08 John W. Eaton <jwe@octave.org> |
4507 | |
4508 * Array-util.h (calc_permutated_idx): Delete. | |
4509 * Array.cc (permute_vector): New data structure. | |
4510 (permute_vector_compare): New function. | |
4511 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
4512 improved performance. | |
4513 | |
5606 | 4514 2006-02-04 David Bateman <dbateman@free.fr> |
4515 | |
4516 * COLAMD: Remove all files, as now unused. | |
4517 | |
5604 | 4518 2006-01-31 John W. Eaton <jwe@octave.org> |
4519 | |
4520 * Sparse.h (Sparse<T>::nzmax): New function. | |
4521 (Sparse<T>::nnz): Rename from nonzero. | |
4522 Change all uses of old nnz function to be nzmax. Change all uses | |
4523 of nonzero to be nnz. | |
4524 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
4525 | |
5603 | 4526 2006-01-21 David Bateman <dbateman@free.fr> |
4527 | |
4528 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
4529 (bool octave_idx_vector_comp): New function. | |
4530 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
4531 indexed idx_vector sorting function. | |
4532 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
4533 (class octave_idx_vector_sort): New class for indexed idx_vector | |
4534 sorting. | |
4535 (bool octave_idx_vector_comp): Declaration. | |
4536 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
4537 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
4538 class. | |
4539 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
4540 | |
5602 | 4541 2006-01-30 John W. Eaton <jwe@octave.org> |
4542 | |
4543 * so-array.h (streamoff_array::nnz): New funtion. | |
4544 * boolNDArray.h (boolNDArray::nnz): New function. | |
4545 * MArrayN.h (MArrayN<T>::nnz): New function. | |
4546 * MArray.h (MArray<T>::nnz): New function. | |
4547 | |
5587 | 4548 2006-01-04 David Bateman <dbateman@free.fr> |
4549 | |
4550 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
4551 elements not being sorted in return matrix. Sort them, and make | |
4552 solver select between two algorithms to further improve the | |
4553 performance. | |
4554 * dSparse.cc: include oct-sort.h. | |
4555 * CSparse.cc: ditto. | |
4556 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
4557 | |
5586 | 4558 2005-12-28 David Bateman <dbateman@free.fr> |
4559 | |
5587 | 4560 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
4561 faster in all cases, and significantly so for low density or small | |
4562 order problems. | |
5586 | 4563 |
5552 | 4564 2005-11-30 John W. Eaton <jwe@octave.org> |
4565 | |
4566 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
4567 before setting any values in either array. | |
4568 | |
5547 | 4569 2005-11-29 John W. Eaton <jwe@octave.org> |
4570 | |
4571 * oct-uname.h, oct-uname.cc: New files. | |
4572 * Makefile.in: Add them to the appropriate lists. | |
4573 | |
5535 | 4574 2005-11-11 John W. Eaton <jwe@octave.org> |
4575 | |
4576 * Array.cc (Array<T>::indexN): Simplify. | |
4577 | |
5533 | 4578 2005-11-09 John W. Eaton <jwe@octave.org> |
4579 | |
4580 * oct-inttypes.h (octave_int::operator char (void) const): | |
4581 New conversion op. | |
4582 | |
5527 | 4583 2005-11-01 John W. Eaton <jwe@octave.org> |
4584 | |
4585 * Makefile.in (distclean): Also remove oct-types.h. | |
4586 From Quentin Spencer <qspencer@ieee.org>. | |
4587 | |
5526 | 4588 2005-10-31 David Bateman <dbateman@free.fr> |
4589 | |
4590 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
4591 preprocessor defined TRUE/FALSE. | |
4592 | |
5523 | 4593 2005-10-30 John W. Eaton <jwe@octave.org> |
4594 | |
4595 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
4596 (MX_ND_CUMULATIVE_OP): Likewise. | |
4597 | |
5519 | 4598 2005-10-29 John W. Eaton <jwe@octave.org> |
4599 | |
5520 | 4600 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
4601 things up. Simplify. | |
4602 | |
5519 | 4603 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
4604 case for "vector_equivalent". | |
4605 | |
4606 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
4607 | |
5518 | 4608 2005-10-28 John W. Eaton <jwe@octave.org> |
4609 | |
4610 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
4611 From Quentin Spencer <qspencer@ieee.org>. | |
4612 | |
4613 * sparse-base-chol.cc: Use C++ true/false instead of | |
4614 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
4615 | |
5516 | 4616 2005-10-27 John W. Eaton <jwe@octave.org> |
4617 | |
4618 * Array.cc (assignN): Reshape to final size instead of resizing. | |
4619 | |
5512 | 4620 2005-10-26 John W. Eaton <jwe@octave.org> |
4621 | |
4622 * oct-sparse.h: New file. | |
4623 * oct-sparse.h.in: Delete. | |
4624 | |
5511 | 4625 2005-10-26 David Bateman <dbateman@free.fr> |
4626 | |
4627 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
4628 * sparse-base-chol.cc: ditto. | |
4629 | |
5508 | 4630 2005-10-26 John W. Eaton <jwe@octave.org> |
4631 | |
4632 Changes for GCC 4.1, tip from Arno J. Klaassen | |
4633 <arno@heho.snv.jussieu.fr>: | |
4634 | |
5509 | 4635 * dSparse.h (real (const SparseComplexMatrix&)): |
4636 Publish externally used friend function. | |
4637 (imag (const SparseComplexMatrix&)): Likewise. | |
4638 | |
5508 | 4639 * dColVector.h (real (const ComplexColumnVector&)): |
4640 Publish externally used friend function. | |
4641 (imag (const ComplexColumnVector&)): Likewise. | |
4642 | |
4643 * dNDArray.h (real (const ComplexNDArray&)): | |
4644 Publish externally used friend function. | |
4645 (imag (const ComplexNDArray&)): Likewise. | |
4646 | |
4647 * dMatrix.h (operator * (const ComplexMatrix&)): | |
4648 Move decl outside class. No need to be friend. | |
4649 (real (const ComplexMatrix&)): Publish externally used friend function. | |
4650 (imag (const ComplexMatrix&)): Likewise. | |
4651 | |
4652 * CMatrix.h: (operator * (const ColumnVector&, const | |
4653 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
4654 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
4655 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
4656 Likewise. | |
4657 | |
5506 | 4658 2005-10-23 David Bateman <dbateman@free.fr> |
4659 | |
4660 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
4661 elements need to be removed. | |
4662 | |
4663 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
4664 versions of cholmod. | |
4665 | |
4666 * CSparse.cc (tinverse): New private function for the inversion of | |
4667 an upper triangular matrix. | |
4668 (dinverse): ditto for diagonal matrices. | |
4669 (inverse): Add SparseType as an argument. Implement matrix inverse | |
4670 using tinverse and dinverse. | |
4671 (fsolve): Use cholmod to implement Cholesky solver. | |
4672 * CSparse.h (tinverse, dinverse): Declarations | |
4673 (inverse): Alter declaration to include SparseType. | |
4674 | |
4675 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
4676 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
4677 | |
4678 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
4679 | |
4680 * sparse-util.cc: New file for sparse utility functions. | |
4681 * sparse-util.h: New file with declarations of sparse utility | |
4682 functions. | |
4683 | |
4684 * sparse-base-chol.cc: New file with sparse cholesky class based | |
4685 on cholmod. | |
4686 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
4687 class based on cholmod. | |
4688 | |
4689 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
4690 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
4691 | |
4692 * SparsedbleCHOL.cc: ditto. | |
4693 * SparsedbleCHOL.h: ditto. | |
4694 | |
4695 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
4696 (INCLUDES): Include sparse-util.h | |
4697 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
4698 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
4699 | |
5489 | 4700 2005-10-12 John W. Eaton <jwe@octave.org> |
4701 | |
4702 * oct-env.cc (octave_env::have_x11_display): New function. | |
4703 * oct-env.h: Provide decl. | |
4704 | |
5476 | 4705 2005-09-29 John W. Eaton <jwe@octave.org> |
4706 | |
4707 * file-stat.h (file_stat::mode): New function. | |
4708 | |
4709 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
4710 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
4711 file_stat::is_reg, file_stat::is_sock): New static functions. | |
4712 * file-stat.h: Provide decls. | |
4713 | |
4714 2005-09-28 John W. Eaton <jwe@octave.org> | |
4715 | |
4716 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
4717 * file-ops.h: Provide decl. | |
4718 | |
5454 | 4719 2005-09-19 David Bateman <dbateman@free.fr> |
4720 | |
4721 * oct-env.cc (octave_env::do_get_home_directory): | |
4722 Also check HOMEDRIVE under mingw. | |
4723 | |
5455 | 4724 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
4725 | |
5453 | 4726 2005-09-16 John W. Eaton <jwe@octave.org> |
4727 | |
4728 * oct-syscalls.cc: Include lo-utils.h here. | |
4729 (octave_syscalls::waitpid): Call octave_waitpid here. | |
4730 | |
4731 * lo-cutils.c (octave_waitpid): New function. | |
4732 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
4733 oct-syscalls.cc | |
4734 | |
4735 | |
4736 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
4737 waitpid in src/sysdep.h. Make this header C-compatible. | |
4738 | |
4739 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
4740 Change all uses. | |
4741 | |
5451 | 4742 2005-09-15 John W. Eaton <jwe@octave.org> |
4743 | |
4744 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
4745 | |
4746 * oct-sparse.h.in: New file. | |
4747 * Makefile.in (DISTFILES): Include it in the list. | |
4748 (INCLUDES): Add oct-sparse.h to the list. | |
4749 | |
4750 2005-09-15 David Bateman <dbateman@free.fr> | |
4751 | |
4752 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
4753 headers. Remove include of umfpack.h. | |
4754 * CSparse.cc : ditto. | |
4755 * SparsedbleLU.cc : ditto. | |
4756 * SparseCmplxLU.cc : ditto. | |
4757 | |
4758 * COLAMD : Remove colamd files from octave. | |
4759 * COLAMD.files : delete. | |
4760 * COLAMD.README : delete. | |
4761 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
4762 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
4763 under mingw. | |
4764 | |
4765 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
4766 in definition. | |
4767 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
4768 change of cast not allowed under g++ 3.x. | |
4769 * lo-utils.h (octave_w32_library_search): Declaration. | |
4770 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
4771 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
4772 | |
5442 | 4773 2005-09-07 John W. Eaton <jwe@octave.org> |
4774 | |
4775 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
4776 based on current code in Bash. Handle a few more escape | |
4777 sequences. Do a better job of decoding \W. | |
4778 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4779 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 4780 |
4781 * COLAMD: Update version of colamd to v2.4. | |
4782 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
4783 colamd.c for long version. | |
4784 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4785 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 4786 |
4787 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
4788 mixed sparse/full multiply. | |
4789 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
4790 mixed sparse/full multiply. | |
4791 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
4792 mixed sparse/full multiply operators. | |
4793 | |
5420 | 4794 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
4795 | |
4796 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
4797 avoid warnings for unsigned types. | |
4798 | |
5404 | 4799 2005-07-07 John W. Eaton <jwe@octave.org> |
4800 | |
4801 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
4802 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
4803 | |
5392 | 4804 2005-06-15 John W. Eaton <jwe@octave.org> |
4805 | |
5394 | 4806 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
4807 Flush stdout here. | |
4808 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
4809 | |
5392 | 4810 * Array.h (Array::resize): Change int args to octave_idx_type. |
4811 | |
5386 | 4812 2005-06-14 John W. Eaton <jwe@octave.org> |
4813 | |
5389 | 4814 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
4815 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
4816 octave_is_NaN_or_NA to xisnan. | |
4817 | |
4818 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
4819 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
4820 | |
4821 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
4822 lo_ieee_isnan. | |
4823 | |
5387 | 4824 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
4825 value is greater than FLT_MAX. | |
4826 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4827 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
4828 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
4829 | |
4830 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
4831 values too. | |
4832 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4833 | |
4834 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
4835 NA, Inf values. | |
4836 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 4837 |
5385 | 4838 2005-06-14 David Bateman <dbateman@free.fr> |
4839 | |
5387 | 4840 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
4841 NA values. | |
4842 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 4843 |
5379 | 4844 2005-06-02 John W. Eaton <jwe@octave.org> |
4845 | |
4846 * Array.cc (assignN): Try harder to correctly resize previously | |
4847 empty LHS. | |
4848 | |
5351 | 4849 2005-05-16 David Bateman <dbateman@free.fr> |
4850 | |
4851 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
4852 * CSparse.h: ditto. | |
4853 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4854 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 4855 |
4856 * dSparse.cc (determinant): Free numeric factorization after | |
4857 sucessful calculation. | |
4858 * CSparse.cc (determinant): ditto. | |
4859 | |
5340 | 4860 2005-05-06 John W. Eaton <jwe@octave.org> |
4861 | |
4862 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
4863 chol_mat. | |
4864 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
4865 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
4866 Provide decls. | |
4867 | |
4868 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
4869 indexing chol_mat. | |
4870 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
4871 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
4872 Provide decls. | |
4873 | |
5338 | 4874 2005-05-05 John W. Eaton <jwe@octave.org> |
4875 | |
4876 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
4877 retval before return. | |
4878 | |
5336 | 4879 2005-05-04 John W. Eaton <jwe@octave.org> |
4880 | |
4881 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
4882 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
4883 | |
5330 | 4884 2005-05-02 John W. Eaton <jwe@octave.org> |
4885 | |
4886 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
4887 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
4888 | |
5322 | 4889 2005-04-29 David Bateman <dbateman@free.fr> |
4890 | |
5330 | 4891 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
4892 double. Correct indexing for upper diagonal elements for sparse | |
4893 tridiagonal. | |
5322 | 4894 * CSparse.cc (trisolve): ditto. |
4895 | |
5330 | 4896 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
4897 UMFPACK for 64-bit. | |
5322 | 4898 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
4899 UMFPACK_ZNAME(*). | |
4900 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
4901 | |
5330 | 4902 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
4903 UMFPACK for 64-bit. | |
5322 | 4904 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
4905 UMFPACK_DNAME(*). | |
4906 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
4907 | |
5330 | 4908 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
4909 triangular back/forward substitution code. | |
5322 | 4910 * CSparse.cc (ltsolve, utsolve): ditto. |
4911 | |
5330 | 4912 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
4913 from spparms("spumoni",1). | |
5322 | 4914 * CSparse.cc (solve): ditto |
4915 | |
5330 | 4916 * SparseType.cc (SparseType(void)): Print info for |
4917 spparms("spumoni",1). | |
5322 | 4918 (SparseType(const matrix_type), SparseType(const matrix_type, const |
4919 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
4920 const octave_idx_type, const octave_idx_type)): New constructors. | |
4921 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 4922 Detect row permuted lower triangular and column permuted upper |
4923 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 4924 |
4925 * SparseType.h: Simplify the permutation code. | |
4926 (SparseType(const matrix_type), SparseType | |
4927 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
4928 SparseType(const matrix_type, const octave_idx_type, | |
4929 const octave_idx_type)): Declarations. | |
4930 | |
5304 | 4931 2005-04-25 John W. Eaton <jwe@octave.org> |
4932 | |
4933 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
4934 array and its contents. | |
4935 | |
5303 | 4936 2005-04-22 John W. Eaton <jwe@octave.org> |
4937 | |
4938 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
4939 const here now that rl_terminal_name is declared const char*. | |
4940 | |
5294 | 4941 2005-04-21 John W. Eaton <jwe@octave.org> |
4942 | |
4943 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
4944 | |
5285 | 4945 2005-04-19 John W. Eaton <jwe@octave.org> |
4946 | |
4947 * Array.cc (assignN): Don't crash if the index list is empty. | |
4948 | |
5282 | 4949 2005-04-14 David Bateman <dbateman@free.fr> |
4950 | |
4951 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
4952 * SparsedbleLU.cc: Ditto. | |
4953 * SparseCmplxLU.h: Definition. | |
4954 * SparsedbleLU.h: ditto. | |
4955 | |
4956 * SparseType.cc (transpose): New function. | |
4957 * SparseType.h (transpose): Definition. | |
4958 | |
5278 | 4959 2005-04-11 John W. Eaton <jwe@octave.org> |
4960 | |
4961 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
4962 fortran code that could end up calling XSTOPX. | |
4963 | |
5277 | 4964 2005-04-10 David Bateman <dbateman@free.fr> |
4965 | |
4966 * Makefile.in: include oct-types in INCLUDES so that it is | |
4967 installed | |
4968 | |
5275 | 4969 2005-04-08 John W. Eaton <jwe@octave.org> |
4970 | |
5276 | 4971 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
4972 | |
5275 | 4973 * Initial merge of 64-bit changes from Clinton Chee: |
4974 | |
4975 2005-04-07 John W. Eaton <jwe@octave.org> | |
4976 | |
4977 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
4978 | |
4979 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
4980 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
4981 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
4982 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
4983 Use octave_idx_type instead of int where needed. | |
4984 | |
4985 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4986 | |
4987 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
4988 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
4989 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
4990 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
4991 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
4992 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4993 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
4994 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
4995 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
4996 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
4997 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
4998 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
4999 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
5000 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
5001 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
5002 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
5003 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
5004 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
5005 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
5006 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
5007 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
5008 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
5009 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
5010 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
5011 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
5012 str-vec.cc, str-vec.h: | |
5013 Use octave_idx_type instead of int where needed. | |
5014 | |
5015 2005-04-01 John W. Eaton <jwe@octave.org> | |
5016 | |
5017 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
5018 | |
5019 * oct-types.h.in: New file. | |
5020 | |
5021 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5022 | |
5023 * lo-utils.cc (NINTbig): New function. | |
5024 * lo-utils.h: Provide decl. | |
5025 | |
5269 | 5026 2005-04-06 David Bateman <dbateman@free.fr> |
5027 | |
5028 * Makefile.in: Link to UMFPACK_LIBS. | |
5029 | |
5265 | 5030 2005-04-05 John W. Eaton <jwe@octave.org> |
5031 | |
5032 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
5033 | |
5264 | 5034 2005-04-01 John W. Eaton <jwe@octave.org> |
5035 | |
5036 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
5037 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
5038 when resizing A. When performing the assignment, just check that | |
5039 the number of elements in RHS matches the number of elements | |
5040 indexed by IDX-LIST. | |
5041 | |
5260 | 5042 2005-03-30 John W. Eaton <jwe@octave.org> |
5043 | |
5261 | 5044 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
5045 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
5046 | |
5047 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
5048 dSparse.cc: Use std:: for Complex functions instead of relying on | |
5049 wrappers from oct-cmplx.h. | |
5260 | 5050 |
5051 * oct-cmplx.h: Provide typedef only. | |
5052 | |
5053 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
5054 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
5055 Likewise. | |
5056 | |
5247 | 5057 2005-03-26 John W. Eaton <jwe@octave.org> |
5058 | |
5059 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
5060 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
5061 | |
5209 | 5062 2005-03-15 John W. Eaton <jwe@octave.org> |
5063 | |
5064 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
5065 | |
5203 | 5066 2005-03-14 John W. Eaton <jwe@octave.org> |
5067 | |
5068 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
5069 (DISTDIRS): Don't include UMFPACK. | |
5070 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
5071 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
5072 flags for these files. | |
5073 Don't include include $(srcdir)/UMFPACK.files. | |
5074 Don't include include $(srcdir)/UMFPACK.rules. | |
5075 | |
5076 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
5077 Delete files. | |
5078 * UMFPACK: Delete directory tree. | |
5079 | |
5080 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
5081 * CSparse.cc: Likewise. | |
5082 * SparsedbleLU.cc: Likewise. | |
5083 * SparseCmplxLU.cc: Likewise. | |
5084 | |
5085 2005-03-14 David Bateman <dbateman@free.org> | |
5086 | |
5087 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
5088 Allow compilation to succeed if UMFPACK is not available. | |
5089 | |
5196 | 5090 2005-03-09 John W. Eaton <jwe@octave.org> |
5091 | |
5092 * Makefile.in (bin-dist): Delete target. | |
5093 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
5094 | |
5173 | 5095 2005-03-01 John W. Eaton <jwe@octave.org> |
5096 | |
5097 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
5098 * Makefile.in: Remove them from the lists. | |
5099 | |
5169 | 5100 2005-02-28 John W. Eaton <jwe@octave.org> |
5101 | |
5102 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
5103 | |
5167 | 5104 2005-02-27 David Bateman <dbateman@free.org> |
5105 | |
5169 | 5106 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
5107 in the sparse matrix. | |
5167 | 5108 |
5164 | 5109 2005-02-25 John W. Eaton <jwe@octave.org> |
5110 | |
5111 Sparse merge. | |
5112 | |
5113 2005-02-13 David Bateman <dbateman@free.fr> | |
5114 | |
5115 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
5116 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
5117 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
5118 solver into separate functions for the diagonal, upper, lower | |
5119 triangular, tridiagonal, banded and full cases. | |
5120 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
5121 version that probes the matrix type and another that assumes the type | |
5122 is passed. | |
5123 | |
5124 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
5125 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
5126 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
5127 (SparseMatrix::solve): Likewise | |
5128 | |
5129 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5130 Declaration of new functions | |
5131 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5132 Likewise | |
5133 | |
5134 * CSparse.cc (operator !): Reverse the sense of the test. | |
5135 * dSpase.cc (operator !): Likewise | |
5136 | |
5137 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5138 triangular_col_perm, sparse_info): Remove matrix type code | |
5139 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5140 triangular_col_perm, sparse_info): Likewise | |
5141 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5142 triangular_col_perm, sparse_info): Likewise | |
5143 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5144 triangular_col_perm, sparse_info): Likewise | |
5145 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
5146 triangular_col_perm, sparse_info, matrix_type): Likewise | |
5147 | |
5148 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
5149 | |
5150 * SparseType.h: New class for the matrix type used in solvers | |
5151 * SparseType.cc: methods of sparse matrix type class | |
5152 | |
5153 * Makefile.in: Add SparseType.cc | |
5154 | |
5155 2005-02-01 David Bateman <dbateman@free.fr> | |
5156 | |
5157 * UMFPACK: Update to version 4.4 | |
5158 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
5159 keep octave specific test files | |
5160 | |
5161 2005-01-23 David Bateman <dbateman@free.fr> | |
5162 | |
5163 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
5164 tridiagonal and banded cholesky solvers. Remove calculation of | |
5165 condition number for banded solvers. | |
5166 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
5167 | |
5168 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
5169 new functions. | |
5170 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5171 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5172 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5173 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
5174 ditto | |
5175 | |
5176 * Sparse.cc (int Sparse<T>::type (int) const, | |
5177 bool Sparse<T>::is_dense (void) const): New functions definition | |
5178 | |
5179 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
5180 so it actually is cached, but disable | |
5181 | |
5182 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
5183 for compatiability | |
5184 | |
5185 2005-01-18 David Bateman <dbateman@free.fr> | |
5186 | |
5187 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5188 Modify calculation of number elements to skip between copied blocks. | |
5189 | |
5190 2005-01-07 David Bateman <dbateman@free.fr> | |
5191 | |
5192 * Sparse.h : Reverse definitions of numel and nelem. | |
5193 * Sparse.cc (assign1): Use numel and not nelem | |
5194 * Sparse-op-def.h: Replace all uses of nelem with numel | |
5195 | |
5196 2005-01-07 David Bateman <dbateman@free.fr> | |
5197 | |
5198 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
5199 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
5200 ComplexDET | |
5201 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
5202 by DET | |
5203 * dSparse.h (determinant): ditto | |
5204 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
5205 SparseComplexDET by ComplexDET | |
5206 * CSparse.h (determinant): ditto | |
5207 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
5208 SparseCmplxDET.cc: delete files | |
5209 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
5210 SparseCmplxDET.h andSparseCmplxDET.cc. | |
5211 | |
5212 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
5213 local variable to avoid variable shadowing. | |
5214 * dSparse.cc (SparseMatrix::solve): ditto. | |
5215 | |
5216 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5217 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
5218 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
5219 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
5220 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5221 sparse-sort.h: Remove additional licensing clause with authors | |
5222 permission. | |
5223 | |
5224 2004-12-30 John W. Eaton <jwe@octave.org> | |
5225 | |
5226 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
5227 Loop counter is int, not size_t. | |
5228 | |
5229 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
5230 | |
5231 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
5232 | |
5233 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
5234 Delete unused variables. | |
5235 (SparseMatrix::solve): Avoid warnings about uninitialized | |
5236 variables and variables that might be clobbered by longjmp. | |
5237 | |
5238 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
5239 min, max): Delete unused variables. | |
5240 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
5241 variables and variables that might be clobbered by longjmp. | |
5242 | |
5243 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
5244 | |
5245 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
5246 Loop counter is int, not size_t. | |
5247 | |
5248 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
5249 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
5250 | |
5251 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
5252 lists consistently. | |
5253 | |
5254 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
5255 | |
5256 2004-12-29 John W. Eaton <jwe@octave.org> | |
5257 | |
5258 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
5259 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
5260 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
5261 $(UMFPACK_EXTRAS) to the list. | |
5262 (DISTDIRS): New variable. | |
5263 (dist): Handle $(DISTDIRS). | |
5264 | |
5265 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
5266 Andy Adler <adler@site.uottawa.ca>. | |
5267 | |
5268 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
5269 | |
5270 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
5271 without directory prefix. | |
5272 | |
5273 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
5274 $(UMFPACK_OBJ) to the list. | |
5275 | |
5276 * COLAMD: New directory. | |
5277 * COLAMD.files: New file. | |
5278 * Makefile.in: Include COLAMD.files. | |
5279 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
5280 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
5281 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
5282 | |
5283 * UMFPACK: New directory. | |
5284 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
5285 New files. | |
5286 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
5287 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
5288 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
5289 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
5290 | |
5291 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
5292 (INCLUDES): Add it to the list. | |
5293 (SPARSE_MX_OP_SRC): New variable. | |
5294 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
5295 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5296 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5297 | |
5298 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
5299 * Makefile.in (DISTFILES): Add them to the lists. | |
5300 | |
5301 * oct-spparms.h, sparse-sort.h: New files. | |
5302 * Makefile.in (INCLUDES): Add them to the list. | |
5303 | |
5304 * oct-spparms.cc, sparse-sort.cc: New files. | |
5305 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
5306 | |
5307 * sparse-base-lu.cc: New file. | |
5308 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
5309 | |
5310 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
5311 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
5312 SparsedbleLU.cc: New files. | |
5313 * Makefile.in (MATRIX_SRC): Add them to the list. | |
5314 | |
5315 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
5316 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
5317 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
5318 Sparse-op-defs.h: New files. | |
5319 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
5320 | |
5321 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
5322 Sparse-C.cc: New files. | |
5323 * Makefile.in (TI_SRC): Add them to the list. | |
5324 | |
5149 | 5325 2005-02-18 John W. Eaton <jwe@octave.org> |
5326 | |
5327 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
5328 Pass current directory to octave_env::make_absolute. | |
5329 Save value returned from octave_env::make_absolute in local var. | |
5330 Pass const char*, not std::string as first arg of resolvepath. | |
5331 Provide decl for resolved_len. | |
5332 | |
5148 | 5333 2005-02-18 John W. Eaton <jwe@octave.org> |
5334 | |
5335 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
5336 than number of dimenensions of permuted matrix. | |
5337 | |
5338 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
5339 * Array-util.cc (calc_permutated_idx): Likewise. | |
5340 | |
5139 | 5341 2005-02-10 David Bateman <dbateman@free.fr> |
5342 | |
5343 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
5344 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
5345 | |
5137 | 5346 2005-02-09 John W. Eaton <jwe@octave.org> |
5347 | |
5138 | 5348 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
5349 * file-ops.h: Provide decls. | |
5350 | |
5137 | 5351 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
5352 | |
5136 | 5353 2005-02-08 John W. Eaton <jwe@octave.org> |
5354 | |
5355 * Array-util.cc (freeze): Improve error message. | |
5356 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5357 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 5358 |
5121 | 5359 * Array.cc (Array<T>::insert): Handle generic case, not just |
5360 special case for fast concatenation. | |
5120 | 5361 |
5110 | 5362 2005-01-18 John W. Eaton <jwe@octave.org> |
5363 | |
5364 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
5365 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
5366 | |
5367 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
5368 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
5369 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5370 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 5371 |
5372 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5373 Modify calculation of number elements to skip between copied blocks. | |
5374 | |
5375 2005-01-18 John W. Eaton <jwe@octave.org> | |
5376 | |
5377 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
5378 error handler, to warn about resizing. | |
5379 | |
5105 | 5380 2004-12-27 Martin Dalecki <martin@dalecki.de> |
5381 | |
5382 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
5383 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
5384 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
5385 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5386 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
5387 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
5388 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
5389 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
5390 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
5391 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
5392 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
5393 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
5394 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
5395 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
5396 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
5397 Delete #pragma implementation. | |
5398 | |
5399 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
5400 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
5401 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
5402 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
5403 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
5404 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
5405 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
5406 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
5407 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
5408 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5409 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
5410 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
5411 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
5412 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
5413 Delete #pragma interface. | |
5414 | |
5098 | 5415 2004-12-17 John W. Eaton <jwe@octave.org> |
5416 | |
5417 * lo-cieee.c (lo_ieee_signbit): New function. | |
5418 * lo-ieee.h: Provide decl. | |
5419 Don't define lo_ieee_signbit as a macro here. | |
5420 From Orion Poplawski <orion@cora.nwra.com>. | |
5421 | |
5085 | 5422 2004-11-18 John W. Eaton <jwe@octave.org> |
5423 | |
5424 * int32NDArray.cc (pow): Delete instantiation. | |
5425 * int16NDArray.cc (pow): Likewise. | |
5426 * int8NDArray.cc (pow): Likewise. | |
5427 * uint32NDArray.cc (pow): Likewise. | |
5428 * uint16NDArray.cc (pow): Likewise. | |
5429 * uint8NDArray.cc (pow): Likewise. | |
5430 | |
5081 | 5431 2004-11-17 John W. Eaton <jwe@octave.org> |
5432 | |
5085 | 5433 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
5434 Now static. | |
5435 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
5436 DEFAULT_TEXMFDBS): Delete unused macros. | |
5437 | |
5081 | 5438 * Array.cc (Array<T>::index): Call generic N-d indexing function |
5439 if idx_arg is N-d. | |
5440 | |
5073 | 5441 2004-11-09 David Bateman <dbateman@free.fr> |
5442 | |
5443 * dNDArray.cc (concat): Delete. | |
5444 (NDArray::concat): New methods. | |
5445 * dNDArray.h: Provide decls. | |
5446 | |
5447 * CNDArray.cc (concat): Delete. | |
5448 (ComplexNDArray::concat): New methods. | |
5449 * CNDArray.h: Provide decls. | |
5450 | |
5451 * boolNDArray.cc (concat): Delete. | |
5452 (boolNDArray::concat): New methods. | |
5453 * boolNDArray.h: Provide decls. | |
5454 | |
5455 * chNDArray.cc (concat): Delete. | |
5456 (charNDArray::concat): New methods. | |
5457 * chNDArray.h: Provide decls. | |
5458 | |
5459 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
5460 Delete macros. | |
5461 | |
5462 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5463 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5464 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
5465 | |
5466 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
5467 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5468 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
5469 | |
5470 * intNDArray.cc (intNDArray<T>::concat): New method. | |
5471 * intNDArray.h: Provide decl. | |
5472 | |
5072 | 5473 2004-11-08 John W. Eaton <jwe@octave.org> |
5474 | |
5475 * oct-inttypes.cc: New file. | |
5476 * Makefile.in (TI_SRC): Add it to the list. | |
5477 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
5478 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
5479 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
5480 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
5481 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
5482 New macros for comparison operations. Avoid potential | |
5483 problems with default conversions when comparing signed and | |
5484 unsigned values. | |
5485 | |
5061 | 5486 2004-11-03 John W. Eaton <jwe@octave.org> |
5487 | |
5488 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
5489 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
5490 | |
5052 | 5491 2004-10-19 John W. Eaton <jwe@octave.org> |
5492 | |
5493 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
5494 | |
5047 | 5495 2004-10-18 John W. Eaton <jwe@octave.org> |
5496 | |
5497 * Array.cc (assign2): Save result of squeeze operation. | |
5498 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
5499 | |
5095 | 5500 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 5501 |
5502 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
5503 flag whether transform in- or out-of-place. | |
5504 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
5505 (octave_fftw_planner::create_plan): Use it. | |
5506 | |
5039 | 5507 2004-09-24 John W. Eaton <jwe@octave.org> |
5508 | |
5509 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
5510 any empty matrix, not just []. | |
5511 | |
5030 | 5512 2004-09-23 John W. Eaton <jwe@octave.org> |
5513 | |
5514 * mx-ops: Include scalar zero value in type definitions. | |
5515 Delete zero information from ops section. | |
5516 * mk-ops.awk: Use type-specific zero info. | |
5517 | |
5518 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
5519 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
5520 LHS and RHS. | |
5521 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
5522 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
5523 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
5524 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
5525 | |
5526 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
5527 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
5528 tree_to_mat_idx. | |
5529 | |
5530 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
5531 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
5532 Likewise for the "if (b_val & one)" test. | |
5533 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
5534 | |
5029 | 5535 2004-09-23 David Bateman <dbateman@free.fr> |
5536 | |
5537 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
5538 New macros. Use them to define mixed intX-double and double-intX ops. | |
5539 | |
5021 | 5540 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
5541 | |
5542 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
5543 Fix doc string layout to avoid overfull hbox in printed output. | |
5544 | |
5015 | 5545 2004-09-21 John W. Eaton <jwe@octave.org> |
5546 | |
5547 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
5548 * mach-info.cc (octave_mach_info::string_to_float_format): | |
5549 For "native", set actual native format. | |
5550 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
5551 | |
5008 | 5552 2004-09-17 David Bateman <dbateman@free.fr> |
5553 | |
5554 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
5555 calculation of the unitary matrix optional. | |
5556 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
5557 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
5558 | |
4998 | 5559 2004-09-15 David Bateman <dbateman@free.fr> |
5560 | |
5561 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
5562 New function to set the comparison function for the sort. | |
5563 | |
4985 | 5564 2004-09-10 John W. Eaton <jwe@octave.org> |
5565 | |
5566 * lo-mappers.cc (xround): Fix typo. | |
5567 | |
4979 | 5568 2004-09-08 John W. Eaton <jwe@octave.org> |
5569 | |
5570 * Array.h (Array::~Array): Declare virtual. | |
5571 | |
5572 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
5573 initializaion list. Don't set rep->count since the rep | |
5574 constructor does that. | |
5575 | |
4968 | 5576 2004-09-07 John W. Eaton <jwe@octave.org> |
5577 | |
4970 | 5578 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
5579 (oct_data_conv::data_type_as_string): Likewise. | |
5580 | |
5581 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
5582 | |
4968 | 5583 * Range.cc (round): Delete unused function. |
5584 | |
5585 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
5586 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
5587 | |
5588 * oct-inttypes.h: Include <cmath> here. | |
5589 | |
4964 | 5590 2004-09-03 David Bateman <dbateman@free.fr> |
5591 | |
5592 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
5593 New functions for boolean matrix concatenation. | |
5594 * boolNDArray.h: Provide decls. | |
5595 | |
4963 | 5596 2004-09-03 John W. Eaton <jwe@octave.org> |
5597 | |
4964 | 5598 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
5599 to avoid signed/unsigned int comparison problems. | |
5600 | |
5601 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
5602 for mixed integer and double types. | |
5603 | |
5604 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
5605 separately, and only if needed. | |
5606 | |
4963 | 5607 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
5608 static_cast for type conversion. | |
5609 | |
4953 | 5610 2004-09-01 John W. Eaton <jwe@octave.org> |
5611 | |
5612 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
5613 operator /): Handle mixed integer/double ops. If op generates a | |
5614 NaN, set result to 0. | |
5615 (octave_int::operator - (void)): Convert to double, then negate, | |
5616 then fit to range. | |
5617 | |
5618 * mx-ops: Define integer types. Include declarations for mixed | |
5619 integer/double ops. | |
5620 | |
4952 | 5621 2004-08-31 John W. Eaton <jwe@octave.org> |
5622 | |
5623 * oct-inttypes.h (pow): Args now const reference. | |
5624 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
5625 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
5626 New member functions. | |
5627 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
5628 (operator >> (const octave_int<T1>& x, const T2& y)): | |
5629 Define in terms of >>=. | |
5630 (operator << (const octave_int<T1>& x, const T2& y)): | |
5631 Define in terms of <<=. | |
5632 (bitshift): Operate on octave_int<T> objects, not the values, so | |
5633 we get proper saturation properties. | |
5634 | |
5635 2004-08-31 David Bateman <dbateman@free.fr> | |
5636 | |
5637 * oct-inttypes.h (pow (constT, T)): New template. | |
5638 | |
5639 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
5640 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
5641 | |
4949 | 5642 2004-08-31 John W. Eaton <jwe@octave.org> |
5643 | |
5644 * oct-inttypes.h (octave_int::byte_size): New function. | |
5645 | |
4944 | 5646 2004-08-31 John W. Eaton <jwe@octave.org> |
5647 | |
4946 | 5648 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
5649 | |
4944 | 5650 * data-conv.h (oct_data_conv::data_type): Include sized types. |
5651 Explicitly number enum elements. | |
5652 | |
5653 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
5654 std::string&, int&, oct_data_conv::data_type&, | |
5655 oct_data_conv::data_type&)): New function. | |
5656 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
5657 oct_data_conv::data_type&)): New function. | |
5658 (oct_data_conv::data_type_as_string): New function. | |
5659 | |
5660 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
5661 (write_int, do_write, Matrix::write): Delete. | |
5662 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
5663 | |
5664 * byte-swap.h: Use template functions and specialization. | |
5665 Change all uses. | |
5666 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5667 | |
4943 | 5668 2004-08-30 John W. Eaton <jwe@octave.org> |
5669 | |
5670 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
5671 specializations to avoid warnings about signed/unsigned comparisons. | |
5672 | |
5673 2004-08-28 John W. Eaton <jwe@octave.org> | |
5674 | |
5675 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
5676 size_t, int, oct_mach_info::float_format)): New function. | |
5677 (GET_SIZED_INT_TYPE): New macro. | |
5678 (string_to_data_type): Use it to return sized types corresponding | |
5679 to Octave array data types. | |
5680 (strip_spaces): New function. | |
5681 (do_double_format_conversion, do_float_format_conversion): Pass | |
5682 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
5683 float format. | |
5684 (do_double_format_conversion, | |
5685 IEEE_big_double_to_IEEE_little_double, | |
5686 VAX_D_double_to_IEEE_little_double, | |
5687 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
5688 IEEE_little_double_to_IEEE_big_double, | |
5689 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
5690 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
5691 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
5692 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
5693 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
5694 Cray_to_VAX_G_double): | |
5695 Pass data as void*, not double*. | |
5696 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
5697 VAX_D_float_to_IEEE_little_float, | |
5698 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
5699 IEEE_little_float_to_IEEE_big_float, | |
5700 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
5701 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
5702 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
5703 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
5704 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
5705 Cray_to_VAX_G_float): | |
5706 Pass data as void*, not float*. | |
5707 | |
5708 2004-08-27 John W. Eaton <jwe@octave.org> | |
5709 | |
5710 * byte-swap.h (swap_bytes): New template versions, with | |
5711 specializations. | |
5712 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5713 Change all uses. | |
5714 | |
4940 | 5715 2004-08-24 David Bateman <dbateman@free.fr> |
5716 | |
5717 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
5718 empty instead of checking final matrix. | |
5719 * dNDArray.cc (concat): Likewise. | |
5720 * CNDArray.cc (concat): Likewise. | |
5721 | |
5722 2004-08-23 David Bateman <dbateman@free.fr> | |
5723 | |
5724 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
5725 non-existent dimensions. | |
5726 | |
4938 | 5727 2004-08-09 John W. Eaton <jwe@octave.org> |
5728 | |
5729 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
5730 (const octave_int<U>&)): New member function. | |
5731 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
5732 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
5733 Now member functions instead of static in idx-vector.cc. | |
5734 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
5735 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
5736 New template constructors. | |
5737 | |
4932 | 5738 2004-08-05 John W. Eaton <jwe@octave.org> |
5739 | |
4933 | 5740 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
5741 | |
4932 | 5742 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
5743 intNDArray<T>::any): Sprinkle with this-> as needed. | |
5744 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
5745 | |
4929 | 5746 2004-08-03 John W. Eaton <jwe@octave.org> |
5747 | |
5748 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
5749 arrays with more than two dimensions and only one non-singleton | |
5750 dimension, return a column vector. | |
5751 | |
4921 | 5752 2004-07-28 John W. Eaton <jwe@octave.org> |
5753 | |
5754 * oct-cmplx.h (pow (const Complex&, const double&): | |
5755 Convert second arg to complex to avoid libstdc++ bug. | |
5756 | |
4920 | 5757 2004-07-27 John W. Eaton <jwe@octave.org> |
5758 | |
5759 * oct-inttypes.h (bitshift): New arg, MASK. | |
5760 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
5761 | |
4916 | 5762 2004-07-23 John W. Eaton <jwe@octave.org> |
5763 | |
5764 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
5765 | |
4915 | 5766 2004-07-23 David Bateman <dbateman@free.fr> |
5767 | |
5768 * Array.cc, Array.h (cat_ra): Delete. | |
5769 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
5770 (INSTANTIATE_ARRAY_CAT): Delete. | |
5771 | |
5772 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5773 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
5774 | |
5775 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
5776 | |
5777 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5778 chNDArray.h (concat): New function used for concatenation that does | |
5779 an indexed copy of one array into another. | |
5780 | |
5781 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
5782 | |
5783 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5784 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
5785 insertion of one NDArray into another. | |
5786 | |
5787 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
5788 macros to define the int/uint concatenation functions. | |
5789 | |
5790 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5791 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
5792 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
5793 | |
5794 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5795 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
5796 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
5797 functions. | |
5798 | |
4911 | 5799 2004-07-22 David Bateman <dbateman@free.fr> |
5800 | |
5801 * oct-sort.h: Don't include oct-obj.h. | |
5802 | |
5803 * lo-specfun.cc (is_integer_value): New function. | |
5804 (zbesj, zbesi, zbesy): Special case negative integer or half | |
5805 integer orders that cause overflow for small arguments. | |
5806 | |
4909 | 5807 2004-07-12 John W. Eaton <jwe@octave.org> |
5808 | |
5809 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
5810 (bitshift (const octave_int<T>&, int)): New function. | |
5811 | |
4902 | 5812 2004-06-14 John W. Eaton <jwe@octave.org> |
5813 | |
5814 * mx-base.h: Include headers for new int types. | |
5815 | |
5816 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
5817 NDArray::NDArray (const charNDArray&)): Delete. | |
5818 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
5819 constructor. | |
5820 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5821 | |
5822 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
5823 return type conversion. | |
5824 | |
5825 * ComplexNDArray.h, ComplexNDArray.cc | |
5826 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
5827 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5828 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5829 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
5830 | |
5831 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5832 | |
5833 * MArrayN.h: | |
5834 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
5835 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
5836 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
5837 New constructors. | |
5838 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5839 ArrayN<T>::squeeze): | |
5840 New forwarding functions for return type conversion. | |
5841 | |
5842 * ArrayN.h: | |
5843 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
5844 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
5845 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
5846 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
5847 const dim_vector&)): New constructors. | |
5848 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5849 ArrayN<T>::transpose): | |
5850 New forwarding functions for return type conversion. | |
5851 | |
5852 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
5853 New constructor. | |
5854 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
5855 | |
5856 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
5857 | |
5858 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5859 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
5860 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
5861 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
5862 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
5863 * Makefile.in: Add them to the appropriate lists. | |
5864 | |
4899 | 5865 2004-06-04 John W. Eaton <jwe@octave.org> |
5866 | |
5867 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
5868 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
5869 resize op. Change all uses. | |
5870 | |
4898 | 5871 2004-06-03 David Bateman <dbateman@free.fr> |
5872 | |
5873 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
5874 greater than the existing number of dimensions in lvalue. | |
5875 | |
4887 | 5876 2004-04-30 David Bateman <dbateman@free.fr> |
5877 | |
5878 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
5879 New arg, fill_value. | |
5880 (dim_vector::resize): Allow optional fill_value argument. | |
5881 | |
5882 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5883 Don't chop trailing dimensions of Array<idx_vector> if there is | |
5884 more than one element in idx_vector. Resize the return value to | |
5885 the size of Array<idx_vector>. | |
5886 | |
5887 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
5888 idx_vector that is shorter than a dim_vector. | |
5889 | |
4882 | 5890 2004-04-23 John W. Eaton <jwe@octave.org> |
5891 | |
5892 * oct-sort.cc: Don't include oct-obj.h. | |
5893 | |
4876 | 5894 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
5896 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
5897 Don't set invalid dimensions on return value. | |
5898 | |
4871 | 5899 2004-04-21 John W. Eaton <jwe@octave.org> |
5900 | |
5901 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
5902 | |
4850 | 5903 2004-04-06 David Bateman <dbateman@free.fr> |
5904 | |
4870 | 5905 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
5906 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
5907 Make their behavior equivalent except for filling vs. not filling. | |
5908 | |
4850 | 5909 * oct-sort.cc: New template class for arbitrary sorting. |
5910 * oct-sort.h: Declaration of sort class. | |
5911 * Makefile: Add them to the appropriate lists. | |
5912 | |
4845 | 5913 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5914 | |
5915 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
5916 | |
4844 | 5917 2004-04-02 David Bateman <dbateman@free.fr> |
5918 | |
5919 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
5920 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 5921 New N-d array versions. |
4844 | 5922 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
5923 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
5924 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
5925 | |
5926 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
5927 New functions. | |
5928 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
5929 | |
5930 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5931 New functions. | |
5932 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5933 Provide decls. | |
5934 | |
4842 | 5935 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
5936 | |
5937 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
5938 work vector, not just when using a numerical Jacobian. | |
5939 | |
4834 | 5940 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5941 | |
4835 | 5942 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
5943 Omit empty result args. | |
5944 | |
4834 | 5945 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
5946 Move here from Array.h, check that size of array arg is not | |
5947 smaller than the size defined by the new dimensions. | |
5948 | |
4832 | 5949 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5950 | |
5951 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
5952 a scalar or vector with an N-d array. | |
5953 | |
4826 | 5954 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5955 | |
4828 | 5956 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
5957 matrix, return object that is the same size as the index. | |
5958 | |
4826 | 5959 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
5960 Eliminate MT_RESULT args. Return value is always size of args. | |
5961 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
5962 Eliminate EMPTY_RESULT arg. | |
5963 Return value is always size of matrix or N-d array arg. | |
5964 (TBM, FBM, NBM): Delete unused macros. | |
5965 | |
4821 | 5966 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5967 | |
5968 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
5969 if all LHS dimensions are zero. For one index case, freeze and | |
5970 sort idx_vec before checking length, and do nothing if | |
5971 num_to_delete is zero. | |
4822 | 5972 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 5973 |
4816 | 5974 2004-03-04 David Bateman <dbateman@free.fr> |
5975 | |
5976 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
5977 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
5978 | |
4811 | 5979 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
5980 | |
5981 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
5982 element. | |
5983 | |
5984 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5985 | |
5986 * Range.h (Range::Range): Add cache to member initialization list. | |
5987 (Range::clear_cache): New private function. | |
5988 | |
5989 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
5990 Use clear cache. Don't do anything if range does not change. | |
5991 * Range.cc (Range::sort): Likewise. | |
5992 | |
4810 | 5993 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
5994 | |
5995 * Range.cc (Range::matrix_value): Cache result. | |
5996 (Range::sort): Clear cache. | |
5997 * Range.h (Range::cache): New data member. | |
5998 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
5999 (Range::print_range): Delete. | |
4808 | 6000 |
6001 2004-03-02 David Bateman <dbateman@free.fr> | |
6002 | |
6003 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
6004 changes between them. Faster for small fft's. | |
6005 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
6006 New member variables. | |
6007 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
6008 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
6009 Change all uses. | |
6010 (CHECK_SIMD_ALIGNMENT): New macro. | |
6011 (octave_fftw_planner::create_plan): Use it. | |
6012 | |
4806 | 6013 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
6014 | |
6015 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
6016 | |
6017 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
6018 | |
6019 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
6020 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
6021 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
6022 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
6023 | |
6024 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
6025 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
6026 | |
4800 | 6027 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6028 | |
4802 | 6029 * oct-rl-edit.c (octave_rl_set_startup_hook, |
6030 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
6031 octave_rl_get_event_hook): Omit casts. | |
6032 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
6033 Return value for function pointer typedef is now int. | |
6034 * cmd-edit.h (command_editor::startup_hook_fcn, | |
6035 command_editor::event_hook_fcn): Likewise. | |
6036 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
6037 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
6038 Return type is now int. Return 0. | |
6039 | |
4800 | 6040 * EIG.cc (EIG::init, EIG::symmetric_init): |
6041 Query Lapack for workspace size. | |
6042 | |
4796 | 6043 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6044 | |
6045 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
6046 Fix thinko in extending dimensions. | |
6047 | |
4791 | 6048 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6049 | |
6050 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
6051 Don't compute values beyond the limits of the range. | |
6052 (operator << (std::ostream&, const Range&)): Likewise. | |
6053 | |
4786 | 6054 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6055 | |
4788 | 6056 * oct-fftw.cc (octave_fftw_planner::create_plan): |
6057 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
6058 From Paul Kienzle <pkienzle@users.sf.net>. | |
6059 | |
4786 | 6060 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
6061 Rename from Array<T>::insert. | |
6062 (Array<T>::insert2 (const Array<T>&, int, int)): | |
6063 Reinstate old Array<T>::insert function under this name. | |
6064 (Array<T>::insert (const Array<T>&, int, int)): | |
6065 New function. Dispatch to insert2 or insertN as appropriate. | |
6066 | |
4785 | 6067 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6068 | |
6069 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6070 Sprinkle with OCTAVE_QUIT. | |
6071 | |
5095 | 6072 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 6073 |
6074 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
6075 Add support for FFTW 3.x. Include the ability to | |
6076 use the real to complex transform for fft's of real matrices | |
6077 (octave_fftw_planner::create_plan2d): Delete. | |
6078 (octave_fftw::fft2d): Delete. | |
6079 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6080 New static functions. | |
6081 * oct-fftw.h: Update decls. | |
6082 | |
6083 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6084 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
6085 transforms. 1D FFT of a matrix done as single call rather than | |
6086 loop. Update for FFTW 3.x | |
6087 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
6088 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
6089 matrix done as single call rather than loop. Update for FFTW 3.x. | |
6090 | |
6091 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
6092 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
6093 functions for Nd arrays. | |
6094 * dNArray.h Provide decls. | |
6095 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
6096 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
6097 fourier transform functions for complex Nd arrays. | |
6098 * CNArray.h: Provide decls. | |
6099 | |
4765 | 6100 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
6101 | |
6102 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
6103 Make it work for N-d arrays. | |
6104 | |
6105 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
6106 New function. | |
6107 | |
6108 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
6109 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
6110 New functions. | |
6111 * CNDArray.h: Provide decls. | |
6112 | |
4759 | 6113 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6114 | |
4760 | 6115 * Makefile.in (LINK_DEPS): Always define. |
6116 | |
4759 | 6117 * Array.cc (Array<T>::squeeze): Always return an array with at |
6118 least two dimensions. | |
6119 | |
4758 | 6120 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6121 | |
6122 * mx-inlines.cc (MX_ND_CAT): New macro. | |
6123 * dNDArray.cc (NDArray::cat): New function. | |
6124 * dNDArray.h: Provide decls. | |
6125 * CNDArray.cc (complexNDArray::cat): New function. | |
6126 * CNDArray.h: Provide decls. | |
6127 * chNDArray.cc (charNDArray::cat): New function. | |
6128 * chNDArray.h: Provide decls. | |
6129 | |
4756 | 6130 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6131 | |
6132 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
6133 (Array<T>assign2): Also call maybe_delete_elements for single | |
6134 index when rows and columns or LHS are both greater than 1. | |
6135 | |
4755 | 6136 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6137 | |
6138 * Array.cc (Array<T>::maybe_delete_elements): | |
6139 Check for index out of bounds. Handle one index. | |
6140 | |
6141 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
6142 dim_vector (0) to create empty return vector. | |
6143 | |
4749 | 6144 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6145 | |
6146 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
6147 non-empty LHS when the number of lhs dimensions is less than the | |
6148 number of indices. Detect error if attempting to resize non-empty | |
6149 LHS with colon indices. | |
6150 | |
4745 | 6151 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6152 | |
4747 | 6153 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
6154 values unless the length of the new array is greater than 0. | |
6155 (Array<T>::resize_no_fill): Likewise. | |
6156 | |
6157 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
6158 is equal to dimensions(i). | |
6159 | |
6160 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
6161 get_zero_len_size, number_of_elements): | |
6162 Delete unused functions. | |
6163 | |
6164 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
6165 number_of_elements function. | |
6166 * Array.cc (Array<T>::indexN): Likewise. | |
6167 | |
6168 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
6169 of equal_arrays function. | |
6170 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
6171 dim_vector::any_zero instead of any_zero_len function. | |
6172 | |
6173 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
6174 Don't skip reshaping and resizing if RHS is empty. | |
6175 | |
4746 | 6176 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
6177 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 6178 Delete unused variables is_colon and is_colon_equiv. |
4746 | 6179 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
6180 LHS is not yet defined. | |
4745 | 6181 Error for resizing if number of indices is less than number of LHS |
6182 dimensions. | |
6183 | |
4746 | 6184 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
6185 Fortran-style indexing. | |
6186 | |
4743 | 6187 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6188 | |
6189 * Array.cc (Array<T>::assignN): Simplify. | |
6190 Allow assignments to succeed if number if indices is less than the | |
6191 number of RHS dimensions. | |
6192 | |
4738 | 6193 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6194 | |
4741 | 6195 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
6196 when number of indices is less than number of dimensions. | |
6197 | |
6198 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
6199 Remove unsued variable lhs_inc. | |
6200 | |
4740 | 6201 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
6202 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
6203 | |
6204 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
6205 | |
4738 | 6206 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
6207 == n_dims before checking to see if all indices are colon_equiv. | |
6208 | |
4736 | 6209 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6210 | |
6211 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
6212 deleting elements. | |
4737 | 6213 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
6214 at least ndims elements. | |
4736 | 6215 |
4735 | 6216 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6217 | |
6218 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
6219 oriented differently from the index. | |
6220 | |
6221 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
6222 least two dimensions. | |
6223 | |
4733 | 6224 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6225 | |
4735 | 6226 * dim-vector.h (dim_vector::squeeze): New function. |
6227 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
6228 deciding whether the assignment conforms. | |
6229 | |
4733 | 6230 * Array.cc (Array<T>::assignN): Simplify dimension check by |
6231 comparing rhs_dims and frozen_len sans trailing singletons. | |
6232 | |
4732 | 6233 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6234 | |
6235 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
6236 Call error handler and return conversion_error == true if arg is | |
6237 not integer. | |
6238 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
6239 | |
4730 | 6240 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6241 | |
6242 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
6243 reference arg const. | |
6244 | |
6245 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6246 | |
6247 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
6248 | |
4729 | 6249 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
6250 | |
6251 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
6252 Now bool, to match definition in Array-flags.cc. | |
6253 | |
4725 | 6254 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6255 | |
4726 | 6256 * file-ops.cc: Include <vector> instead of <memory> for new |
6257 definition of OCTAVE_LOCAL_BUFFER. | |
6258 | |
4725 | 6259 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
6260 New arg, calc_eigenvectors. | |
6261 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
6262 Based on patch from David Bateman <dbateman@free.fr>. | |
6263 | |
4716 | 6264 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6265 | |
6266 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
6267 For X(I) = RHS, don't restrict I to fewer elements than X. | |
6268 | |
6269 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
6270 | |
4711 | 6271 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6272 | |
4714 | 6273 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
6274 Simplify calculation of number of elements in retval. | |
6275 | |
4711 | 6276 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
6277 filling when RHS is scalar and dimension lengths agree. | |
6278 | |
4710 | 6279 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6280 | |
4713 | 6281 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
6282 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 6283 |
4707 | 6284 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6285 | |
4709 | 6286 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
6287 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 6288 |
4702 | 6289 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
6290 | |
4703 | 6291 * Array.h (Array<T>::chop_trailing_singletons): New function. |
6292 * Array.cc (Array<T>::assignN): Use it on LHS. | |
6293 | |
6294 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 6295 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 6296 Check for singleton dimensions where RHS is matrix or higher dimension. |
6297 Make sure index is in bounds. | |
4702 | 6298 |
4698 | 6299 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6300 | |
6301 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
6302 octave_NaN, and octav_NA values are always initialized. Check | |
6303 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
6304 to decide whether to do IEEE initialization. | |
6305 | |
4687 | 6306 2004-01-06 David Bateman <dbateman@free.fr> |
6307 | |
6308 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
6309 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
6310 ComplexNDArray::too_large_for_float): New functions | |
6311 | |
6312 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
6313 * CNDArray.h: Provide decls. | |
6314 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
6315 * dNDArray.h: Provide decls. | |
6316 | |
4673 | 6317 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6318 | |
4674 | 6319 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
6320 they are already defined in boolNDArray.cc. | |
6321 | |
4673 | 6322 * Array-util.cc (get_zero_len_size): Delete. |
6323 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6324 Handle zero-length result dimensions the same as empty original | |
6325 indices. | |
6326 | |
6327 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6328 | |
6329 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
6330 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
6331 New functions. | |
6332 * Array.cc (ArrayN<T>::indexN): Use it. | |
6333 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
6334 | |
4669 | 6335 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6336 | |
6337 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
6338 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
6339 | |
6340 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6341 | |
6342 * mk-ops.awk: Also emit #include "Array-util.h". | |
6343 | |
6344 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
6345 Add bnda x bnda, b x bnda, and bnda x b ops. | |
6346 | |
6347 * MArray-misc.cc: Delete. | |
6348 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
6349 | |
6350 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
6351 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
6352 | |
4655 | 6353 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6354 | |
4663 | 6355 * dbleQR.cc (QR::init): Use separate pwork pointers. |
6356 * CmplxQR.cc (ComplexQR::init): Likewise. | |
6357 | |
6358 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
6359 two-arg getgrnam version. | |
6360 | |
4657 | 6361 * Array.cc (assignN): Allow single indexing to work. |
4661 | 6362 (Array<T>::range_error (const char*, const Array<int>&)): |
6363 Report index values. | |
6364 | |
6365 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 6366 * ODESSA.cc (odessa_j): Likewise. |
6367 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
6368 * DASPK.cc (ddaspk_psol): Likewise. | |
6369 * lo-mappers.cc (imag): Likewise. | |
4663 | 6370 * Array-util.cc (get_zero_len_size): Likewise. |
6371 * kpse.cc (path_search, path_find_first_of): Likewise. | |
6372 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 6373 |
4655 | 6374 * dim-vector.h (dim_vector::all_ones): New function. |
6375 | |
4646 | 6376 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6377 | |
4653 | 6378 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
6379 zeros, not orig_rows or orig_columns. | |
6380 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
6381 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
6382 | |
6383 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
6384 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
6385 | |
6386 * idx-vector.cc (idx_vector::idx_vector_rep): | |
6387 Use initialization lists for constructors. | |
6388 | |
4651 | 6389 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
6390 Omit special case for ra_idx.capacity () == 1. | |
6391 Always allow single index for matrix args with optional warning. | |
6392 | |
4650 | 6393 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
6394 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
6395 | |
4648 | 6396 * Array-so.cc: New file. Move instantiations here from so-array.h. |
6397 * Makefile.in (TI_SRC): Add it to the list. | |
6398 | |
4646 | 6399 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
6400 type and the names of the left and right operands. Change all uses. | |
6401 | |
6402 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
6403 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
6404 | |
4645 | 6405 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6406 | |
6407 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
6408 just length. | |
6409 | |
6410 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
6411 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
6412 non-dependent member functions and data as needed. | |
6413 | |
6414 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
6415 | |
6416 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
6417 * Array3.h (Array3<T>::operator =): Likewise. | |
6418 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
6419 Include Array.h, not Array2.h. | |
6420 | |
4634 | 6421 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6422 | |
4636 | 6423 * str-vec.cc (list_in_columns): Fix previous change. |
6424 | |
4635 | 6425 * dim-vector.h (dim_vector::num_ones): New function. |
6426 * Array.cc (maybe_delete_elements): Use it instead of | |
6427 num_ones (const Array<int>&). | |
6428 | |
6429 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
6430 | |
4634 | 6431 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
6432 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
6433 New functions. | |
6434 * dNDArray.h: Provide decls. | |
6435 | |
6436 * dMatrix.h (Matrix::any_element_is_negative, | |
6437 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
6438 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
6439 Simplify. | |
6440 | |
6441 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
6442 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
6443 | |
6444 * dNDArray.cc (real, imag): New functions. | |
6445 * dNDArray.h: Provide decls. | |
6446 | |
4630 | 6447 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6448 | |
6449 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
6450 | |
4625 | 6451 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6452 | |
6453 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
6454 * MArray.h (resize): Delete. | |
6455 * MArray2.h (resize): Delete. | |
6456 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
6457 * ODESSA (ODESSA::integrate): Likewise. | |
6458 | |
4616 | 6459 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6460 | |
6461 * Makefile.in (dist): Depend on stamp-prereq. | |
6462 | |
4605 | 6463 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
6464 | |
6465 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
6466 Kluge to make it work. | |
4604 | 6467 |
6468 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
6469 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
6470 | |
6471 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
6472 default_command_editor::do_generate_filename_completions, | |
6473 command_editor::generate_filename_completions): New functions. | |
6474 * cmd-edit.h: Provide decls. | |
6475 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
6476 function. | |
6477 * oct-rl-edit.h: Provide decl. | |
6478 | |
4593 | 6479 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6480 | |
4594 | 6481 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
6482 INSTANTIATE_ARRAY): New macros. | |
6483 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6484 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
6485 | |
4593 | 6486 * Array.h (Array<T>::ipermute): New function. |
6487 | |
6488 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
6489 | |
6490 * Array.cc (Array<T>::permute): New function. | |
6491 * Array.h: Provide decl. | |
6492 | |
6493 * Array-util.cc (calc_permutated_idx): New function. | |
6494 * Array-util.h: Provide decl. | |
6495 | |
4587 | 6496 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6497 | |
4592 | 6498 * Array.cc (Array<T>::index2): Return value has orientation of |
6499 indexed value if indexing a vector with a bool matrix. | |
6500 | |
4589 | 6501 * ArrayN.h (ArrayN<T>::get_size): Delete. |
6502 | |
4588 | 6503 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
6504 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
6505 | |
6506 * ArrayN-inline.h: Delete. | |
6507 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
6508 * Makefile.in: Fix the appropriate lists. | |
6509 | |
4587 | 6510 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
6511 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
6512 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
6513 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
6514 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
6515 Avoid -Wshadow warnings. | |
6516 | |
6517 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 6518 |
6519 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
6520 | |
6521 * mk-ops.awk: Delete elements of bool_headers array individually. | |
6522 | |
6523 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6524 | |
6525 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
6526 | |
4584 | 6527 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
6528 | |
6529 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
6530 | |
6531 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
6532 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
6533 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
6534 Return NDArray. Handle N-d arrays. | |
6535 | |
4575 | 6536 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6537 | |
4583 | 6538 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
6539 that upcase Fortran names by calling dlsode instead of lsode. | |
6540 | |
6541 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
6542 that upcase Fortran names by calling dodessa instead of odessa. | |
6543 | |
4577 | 6544 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
6545 non-const args for symlink system call. | |
6546 (file_ops::readlink): Likewise, for readlink. | |
6547 | |
4575 | 6548 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
6549 | |
4574 | 6550 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6551 | |
6552 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
6553 Change all uses. | |
6554 | |
4569 | 6555 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
6556 | |
6557 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
6558 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
6559 * dNDArray.h: Provide decls. | |
6560 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
6561 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
6562 ComplexNDArray::abs): New functions. | |
6563 * CNDArray.h: Provide decls. | |
6564 | |
6565 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
6566 Generalize to handle other reduction operations. | |
6567 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
6568 MX_ND_ALL_ANY_REDUCTION): New macros. | |
6569 | |
4565 | 6570 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6571 | |
4567 | 6572 * Array.cc (Array<T>::reshape): New function. |
6573 * Array.h: Provide decl. | |
6574 | |
6575 * dim-vector.h (dim_vector::numel): New function. | |
6576 | |
4565 | 6577 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
6578 dim_vector&)): Correctly handle case of n < dv->ndims. | |
6579 | |
4559 | 6580 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6581 | |
6582 * dim-vector.h (dim_vector::any_zero): New function. | |
6583 (dim_vector::str): New default arg, sep. | |
6584 | |
6585 * Array.h (Array<T>::numel): New function. | |
6586 | |
4556 | 6587 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
6588 | |
6589 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
6590 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
6591 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
6592 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6593 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
6594 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
6595 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
6596 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6597 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
6598 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
6599 | |
4552 | 6600 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6601 | |
4553 | 6602 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
6603 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
6604 | |
4552 | 6605 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
6606 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6607 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
6608 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
6609 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6610 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6611 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
6612 Use new F77 arg macros in declarations of external Fortran | |
6613 subroutines and for calling them. | |
6614 | |
4548 | 6615 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6616 | |
6617 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
6618 Allow number of dimensions to change. | |
6619 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
6620 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
6621 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
6622 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
6623 (Array<T>::transpose): Require ndims to be 2. | |
6624 (Array<T>::index2): Likewise. | |
6625 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
6626 (Array<T>::maybe_delete_elements_2): Likewise. | |
6627 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
6628 (Array<T>::index1): Use resize_and_fill. | |
6629 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
6630 | |
6631 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
6632 | |
6633 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
6634 (MArray2<T>::resize (int, int, const T&)): New function. | |
6635 | |
6636 * MArray.h (MArray<T>::resize (int)): New function. | |
6637 (MArray<T>::resize (int, const T&)): New function. | |
6638 | |
6639 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
6640 | |
6641 * DASPK-opts.in: Use single-arg resize for initial condition | |
6642 heuristics. | |
6643 | |
6644 * dim-vector.h (class dim_vector): Now reference counted. | |
6645 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
6646 | |
4544 | 6647 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6648 | |
4545 | 6649 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
6650 | |
4544 | 6651 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
6652 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
6653 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
6654 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
6655 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
6656 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
6657 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
6658 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
6659 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
6660 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
6661 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
6662 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
6663 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
6664 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
6665 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
6666 files are now automatically generated. | |
6667 | |
6668 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
6669 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
6670 Add rules to generate these files and mx-ops.h. | |
6671 (stamp-prereq): Depend on these files. | |
6672 | |
6673 * mx-ops, vx-ops, mk-ops.awk: New files. | |
6674 * Makefile.in (DISTFILES): Add them to the list. | |
6675 | |
4543 | 6676 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6677 | |
6678 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
6679 NDArray::NDArray (const charNDArray)): New constructors. | |
6680 (NDArray::operator !): New function. | |
6681 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6682 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6683 | |
6684 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6685 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6686 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
6687 New constructors. | |
6688 (ComplexNDArray::operator !): New function. | |
6689 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6690 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6691 | |
6692 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
6693 | |
6694 * boolNDArray.cc (boolNDArray::operator !): New function. | |
6695 Provide NDND_CMP_OPS. | |
6696 | |
6697 * MArrayN.cc (operator +=, operator -=): New functions. | |
6698 Provide product and quotient functions. | |
6699 | |
6700 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
6701 dim_vector&)): New function. | |
6702 | |
6703 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
6704 operator ==, operator !=): New functions. | |
6705 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
6706 | |
6707 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
6708 No need to save old dimensions. | |
6709 | |
6710 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
6711 (octave_rand::nd_array): New function. | |
6712 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
6713 | |
6714 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
6715 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
6716 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
6717 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
6718 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
6719 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
6720 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
6721 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
6722 NDND_OP_DECLS): New macros. | |
6723 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
6724 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
6725 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
6726 | |
6727 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
6728 boolNDArray, class charNDArray): New forward decls. | |
6729 | |
4534 | 6730 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6731 | |
6732 * Array.cc (assign2): No error (but don't do anything either) for | |
6733 expressions like x([],j) = scalar. | |
6734 | |
4532 | 6735 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6736 | |
4533 | 6737 * Array.cc (assignN): Allow lhs(:) = scalar. |
6738 | |
4532 | 6739 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
6740 * dNDArray.cc (NDArray::increment_index): Likewise. | |
6741 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
6742 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
6743 | |
6744 * dim-vector.h (rows, cols): Delete unused data members. | |
6745 | |
6746 * Array.cc (Array<T>::get_size): Fix thinko. | |
6747 | |
6748 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6749 | |
6750 * Array.cc (Array<T>::squeeze): New function. | |
6751 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
6752 * dNDArray.h (NDArray::squeeze): Likewise. | |
6753 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
6754 * chNDArray.h (charNDArray::squeeze): Likewise. | |
6755 | |
4530 | 6756 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
6757 | |
6758 * Array.cc (ArrayN<T>::indexN): New definition. | |
6759 * Array.h (Array<T>::indexN): Provide decl. | |
6760 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
6761 Call indexN if more than 2 indices. | |
6762 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
6763 Make it (mostly) work. | |
6764 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
6765 New functions. | |
6766 | |
4527 | 6767 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6768 | |
6769 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
6770 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
6771 versions with eof arg. | |
6772 | |
4518 | 6773 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6774 | |
6775 * Array.h (dimensions): Now public. | |
6776 template <class LT, class RT> | |
6777 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
6778 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
6779 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
6780 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
6781 resize_no_fill (int), | |
6782 resize_no_fill (int, int), | |
6783 resize_no_fill (int, int, int), | |
6784 resize_no_fill (const dim_vector&), | |
6785 resize_and_fill (int, const T&), | |
6786 resize_and_fill (int, int, const T&), | |
6787 resize_and_fill (int, int, int, const T&), | |
6788 resize_and_fill (const dim_vector&, const T&)): Now public. | |
6789 | |
6790 * Array.cc: Include <climits>. | |
6791 | |
4513 | 6792 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6793 | |
4517 | 6794 * Array.cc: Merge Array-idx.h. |
6795 * Array-idx.h: Delete. | |
6796 | |
4514 | 6797 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
6798 | |
4513 | 6799 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
6800 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
6801 just special cases of the general purpose N-d Array object). | |
6802 | |
6803 * dim-vector.h: New file. Use dim_vector objects instead of | |
6804 ints or Array<int> objects to represent the size of Array | |
6805 objects. | |
6806 | |
6807 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
6808 | |
6809 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
6810 | |
6811 * mx-base.h: Include NDArray header files. | |
6812 | |
6813 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
6814 | |
6815 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6816 Array-s.cc: Also instantiate ArrayN objects. | |
6817 Don't instantiate assign funcitons for Array2 objects. | |
6818 | |
6819 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
6820 liboctave_error_handler, not cerr. | |
6821 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
6822 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
6823 * dMatrix.cc (Matrix::diag): Likewise. | |
6824 | |
6825 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
6826 Omit checks for HEAVYWEIGHT_INDEXING. | |
6827 | |
6828 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6829 | |
6830 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
6831 | |
6832 * CNDARray.h, CNDArray.cc: New files. | |
6833 * Makefile.in: Add them to the appropriate lists. | |
6834 | |
6835 * dNDArray.h: Rename from NDArray.h. | |
6836 * dNDArray.cc: Rename from NDArray.cc. | |
6837 * Makefile.in: Rename them here too. | |
6838 | |
4507 | 6839 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
6840 | |
6841 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
6842 | |
6843 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
6844 * Makefile.in: Add them to the appropriate lists. | |
6845 | |
5095 | 6846 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 6847 |
6848 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
6849 biry): Always request scaled results from AMOS functions and | |
6850 perform reverse scaling on results if scaled result not requested | |
6851 by user. | |
6852 | |
6853 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6854 | |
6855 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6856 | |
4505 | 6857 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6858 | |
6859 * Array-d.cc: Instantiate assign functions. | |
6860 | |
4504 | 6861 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
6862 | |
6863 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
6864 (get_elt_idx): Index ra_idx correctly. | |
6865 | |
6866 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
6867 bounds if it is exactly on the bound. | |
6868 | |
6869 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
6870 * ArrayN.h: Provide decl. | |
6871 | |
6872 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
6873 | |
6874 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
6875 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
6876 (idx_vector::orig_dimensions): New function. | |
6877 | |
4497 | 6878 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6879 | |
6880 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6881 | |
4496 | 6882 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
6883 | |
6884 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
6885 (is_in, how_many_lgt, all_ones): New functions. | |
6886 | |
4493 | 6887 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6888 | |
6889 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
6890 | |
6891 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
6892 | |
6893 * ArrayN-inline.h: New file. | |
6894 (index_in_bounds, increment_index): Move here. | |
6895 * ArrayN.cc: From here. | |
6896 | |
6897 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
6898 * ArrayN-idx.h (assign): New function. | |
6899 | |
4490 | 6900 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6901 | |
6902 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
6903 Also zero imaginary part of result if real part of input value is | |
6904 zero. | |
6905 | |
4478 | 6906 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6907 | |
6908 * mx-base.h: Include ArrayN.h. | |
6909 | |
4476 | 6910 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6911 | |
6912 * ArrayN.cc (operator <<): Corrected output. | |
6913 | |
4474 | 6914 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6915 | |
6916 * ArrayN.cc (increment_index): New arg, start_dimension. | |
6917 | |
5095 | 6918 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 6919 |
6920 * ArrayN.cc (operator <<): Improve output readability. | |
6921 | |
4493 | 6922 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 6923 |
6924 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
6925 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
6926 Initialize old_len before changing size. | |
6927 | |
4472 | 6928 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6929 | |
6930 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 6931 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 6932 |
4469 | 6933 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6934 | |
6935 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
6936 way. Handle NA in an R-compatible way. | |
6937 | |
6938 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
6939 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
6940 | |
6941 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
6942 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
6943 | |
6944 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
6945 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
6946 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
6947 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
6948 | |
4461 | 6949 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6950 | |
6951 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6952 Pass true for resize_ok arg to freeze. | |
6953 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6954 Likewise. | |
6955 | |
6956 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
6957 resize_ok arg is now bool. | |
6958 * idx-vector.h (idx_vector::freeze): Likewise. | |
6959 | |
6960 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
6961 Rename from liboctave_rre_flag. Now bool. | |
6962 (liboctave_wfi_flag): Now bool. | |
6963 | |
6964 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
6965 | |
5095 | 6966 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 6967 |
6968 * Array.h (resize_fill_value): Now a top-level template function. | |
6969 Accept object as argument. Change all uses. | |
6970 | |
4455 | 6971 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6972 | |
6973 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
6974 | |
6975 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
6976 liboctave_dfi_flag. | |
6977 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
6978 X undefined or empty, always create a row vector. | |
6979 | |
6980 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
6981 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
6982 | |
4437 | 6983 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6984 | |
6985 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6986 Magic colon indexing always produces an object with one column. | |
6987 | |
5095 | 6988 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 6989 |
6990 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
6991 | |
6992 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
6993 | |
4431 | 6994 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6995 | |
6996 * dMatrix.cc (any_element_is_negative): If new optional arg | |
6997 neg_zero is true, also return true for negative zero. | |
6998 | |
4429 | 6999 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7000 | |
7001 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
7002 Handle step limit. | |
7003 * DASSL-opts.in: New option for step limit. | |
7004 | |
5095 | 7005 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 7006 |
7007 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
7008 | |
4428 | 7009 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7010 | |
7011 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
7012 Store step limit in iwork(20), not iwork(18). | |
7013 | |
5095 | 7014 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 7015 |
7016 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
7017 | |
4412 | 7018 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7019 | |
4413 | 7020 * Makefile.in: Handle DESTDIR. |
7021 | |
4412 | 7022 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
7023 (kpse_path_iterator::set_end): Don't miss last element when not | |
7024 followed by a colon. | |
7025 | |
4409 | 7026 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7027 | |
7028 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
7029 | |
7030 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7031 | |
7032 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
7033 (find_first_of): Also do an absolute search on each | |
7034 name before looking in the path. | |
7035 | |
4407 | 7036 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7037 | |
7038 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
7039 directory separator. | |
7040 | |
4399 | 7041 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7042 | |
7043 * pathsearch.cc: Include kpse.cc here. | |
7044 | |
7045 * kpse.cc: All functions are now static. Massive surgery to | |
7046 condense kpathsearch library to a single file of just the | |
7047 essentials for Octave and convert to using C++ strings (no more | |
7048 calls to malloc, very few calls to new, so there should be much | |
7049 less potential for introducing memory leaks now). | |
7050 | |
7051 * Makefile.in (EXTRAS): Move kpse.cc here from | |
7052 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
7053 | |
7054 * kpse.h, kpse-config.h: Delete. | |
7055 * Makefile.in (INCLUDES): Delete them from the list. | |
7056 | |
4392 | 7057 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7058 | |
7059 * str-vec.cc (string_vector::append (const std::string&), | |
7060 string_vector::append (const string_vector&)): New methods. | |
7061 | |
4386 | 7062 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7063 | |
4389 | 7064 * kpse.cc, kpse.h: Replace fn_type with std::string. |
7065 | |
4387 | 7066 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
7067 | |
4386 | 7068 * kpse.cc (xclosedir): Don't define or declare for Windows. |
7069 (READABLE): Now a static function to avoid warnings from MinGW | |
7070 compiler. | |
7071 | |
4384 | 7072 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7073 | |
4385 | 7074 * kpse.cc: Move most functions from kpse-xfns.c here and make |
7075 static. Include most of kpse-xfns.h directly, removing | |
7076 unnecessary bits. | |
7077 | |
4384 | 7078 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
7079 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7080 | |
4378 | 7081 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7082 | |
7083 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
7084 * Makefile.in: Add them to the appropriates lists. | |
7085 | |
7086 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
7087 | |
7088 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
7089 for new locations of kpathsea objects. | |
7090 Delete kpathsea targets. | |
7091 | |
7092 * pathsearch.cc (dir_path::set_program_name): Delete. | |
7093 | |
7094 * kpse.cc: New file. | |
7095 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
7096 | |
7097 * kpse.c: New file. | |
7098 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
7099 | |
7100 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
7101 * Makefile.in (INCLUDES): Add them to the list. | |
7102 | |
7103 * oct-kpse.h: Delete. | |
7104 * Makefile.in (INCLUDES): Delete it from the list. | |
7105 | |
4374 | 7106 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7107 | |
7108 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
7109 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
7110 Likewise. | |
7111 From Quentin H. Spencer <qspencer@ieee.org>. | |
7112 | |
4365 | 7113 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7114 | |
7115 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
7116 | |
4349 | 7117 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7118 | |
4352 | 7119 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
7120 without placement delete. | |
7121 | |
4349 | 7122 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
7123 imaginary parts. | |
7124 | |
7125 * lo-ieee.h (lo_ieee_signbit): New macro. | |
7126 | |
5095 | 7127 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 7128 |
7129 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
7130 Use Lapack instead of Linpack. | |
5315 | 7131 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 7132 ComplexMatrix::solve): Likewise. |
7133 | |
7134 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
7135 calc_cond. If 0, skip condition number calculation. | |
7136 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
7137 Likewise. | |
7138 | |
7139 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
7140 * dbleLU.cc (LU::LU): Likewise. | |
7141 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
7142 | |
7143 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7144 | |
7145 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
7146 | |
4323 | 7147 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7148 | |
7149 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
7150 Additional compatibility fix. | |
7151 | |
7152 2003-02-13 Arno Klaassen <arno@scito.com> | |
7153 | |
7154 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7155 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
7156 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
7157 | |
4322 | 7158 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7159 | |
7160 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7161 Compatibility fix. | |
7162 | |
4316 | 7163 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7164 | |
7165 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
7166 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
7167 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
7168 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
7169 * dRowVector.cc (RowVector::extract_n): Likewise. | |
7170 * dMatrix.cc (Matrix::extract_n): Likewise. | |
7171 | |
7172 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
7173 with make_unique and xelem. | |
7174 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
7175 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
7176 ComplexMatrix::extract, ComplexMatrix::row, | |
7177 ComplexMatrix::column): Likewise. | |
7178 * dColVector.cc (ColumnVector::insert): Likewise. | |
7179 * dRowVector.cc (RowVector::insert): Likewise. | |
7180 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
7181 Matrix::row, Matrix::column): Likewise. | |
7182 | |
4313 | 7183 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7184 | |
7185 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
7186 | |
4309 | 7187 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7188 | |
7189 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
7190 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
7191 * CMatrix.h, dMatrix.h: Provide decls. | |
7192 | |
4307 | 7193 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7194 | |
7195 * oct-rand.h, oct-rand.cc: New files. | |
7196 * Makefile.in: Add them to the appropriate lists. | |
7197 | |
4306 | 7198 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7199 | |
7200 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
7201 | |
4299 | 7202 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
7203 | |
7204 * oct-syscalls.cc: Include signal.h. | |
7205 | |
4294 | 7206 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7207 | |
7208 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
7209 * oct-syscalls.h: Provide decl. | |
7210 | |
7211 | |
4293 | 7212 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7213 | |
7214 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
7215 there is nothing to read. | |
7216 | |
4290 | 7217 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7218 | |
7219 * lo-cutils.c: Define _XOPEN_SOURCE. | |
7220 | |
4286 | 7221 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7222 | |
4288 | 7223 * getopt.h: Update to version from kpathsearch, so we will install |
7224 the version that we are using. | |
7225 | |
7226 * getopt.c, getopt1.c: Delete. | |
7227 (INCLUDES): Delete them from the list. We'll get these files from | |
7228 kpathsearch. | |
7229 | |
4286 | 7230 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
7231 ../kpathsea/STATIC/*.o. | |
7232 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
7233 | |
4270 | 7234 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7235 | |
4282 | 7236 * dMatrix.cc (read_int, write_int): Avoid warnings about |
7237 unreachable code. | |
7238 | |
4279 | 7239 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
7240 to correspond to placement new operator. | |
7241 | |
4278 | 7242 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
7243 (DET::value_will_underflow): Likewise. | |
7244 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
7245 (ComplexDET::value_will_underflow): Likewise. | |
7246 | |
4276 | 7247 * Makefile.in (distclean): Also remove stamp-prereq. |
7248 | |
4306 | 7249 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
7250 RHS and index are empty matrices, don't do anything. | |
4270 | 7251 |
4242 | 7252 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7253 | |
7254 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
7255 delete_c_names): New helper functions. | |
7256 (dir_path::find_first_of): New function. | |
7257 (dir_path::find_all_first_of): Likewise. | |
7258 * pathsearch.h: Provide decls. | |
7259 | |
7260 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
7261 (octave_kpse_all_path_find_first_of): Likewise. | |
7262 * oct-kpse.h: Provide decls. | |
7263 | |
4231 | 7264 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7265 | |
7266 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
7267 * ODESSA-opts.in: Likewise. | |
7268 | |
7269 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
7270 * LSODE-opts.in: Likewise. | |
7271 | |
4229 | 7272 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7273 | |
4230 | 7274 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
7275 in all constructors. | |
7276 | |
4229 | 7277 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
7278 (LINK_DEPS): Not here. | |
7279 | |
4219 | 7280 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7281 | |
4220 | 7282 * str-vec.cc (string_vector::compare): New static member function. |
7283 * str-vec.h: Provide decl. | |
7284 (string_vector::sort): Use it. | |
7285 (str_vec_compare): Delete static function. | |
7286 | |
4219 | 7287 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
7288 a placement operator new. | |
7289 | |
4209 | 7290 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7291 | |
4210 | 7292 * Matrix.h: Include mx-ops.h too. |
4209 | 7293 * mx-ops.h: New file. |
7294 | |
4192 | 7295 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7296 | |
7297 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
7298 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
7299 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
7300 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
7301 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7302 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7303 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
7304 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
7305 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
7306 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
7307 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
7308 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
7309 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
7310 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
7311 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
7312 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
7313 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
7314 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
7315 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
7316 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
7317 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
7318 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
7319 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
7320 | |
4184 | 7321 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7322 | |
7323 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
7324 From Remy Bruno <remy.bruno@libertysurf.fr> | |
7325 | |
4180 | 7326 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7327 | |
7328 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
7329 fortran code that should run fast enough that it is not worth all | |
7330 the setup costs of F77_XFCN. | |
7331 | |
7332 * Quad.cc (user_function): Surround body of function with | |
7333 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
7334 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
7335 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
7336 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
7337 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
7338 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
7339 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
7340 | |
4164 | 7341 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7342 | |
7343 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
7344 of ! defined (linux). | |
7345 | |
5095 | 7346 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 7347 |
7348 * oct-shlib.cc (octave_dyld_shlib): New class. | |
7349 (make_shlib): Instantiate octave_dyld_shlib. | |
7350 | |
4152 | 7351 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7352 | |
4153 | 7353 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
7354 | |
4152 | 7355 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
7356 | |
7357 * Array.h: Include <cstddef> here. | |
7358 | |
4142 | 7359 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7360 | |
4144 | 7361 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
7362 using them. Accept inequality contraint option of 0. Assign | |
7363 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
7364 abs_tol and rel_tol. | |
7365 | |
4143 | 7366 * cmd-edit.h (command_editor::filename_completion_desired): New |
7367 static function. | |
7368 (command_editor::do_filename_completion_desired): New virtual function. | |
7369 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
7370 * oct-rl-edit.h: Provide decl. | |
7371 | |
4142 | 7372 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
7373 avoid OS X linker bug. | |
7374 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
7375 | |
4139 | 7376 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7377 | |
4141 | 7378 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
7379 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
7380 solvers. | |
7381 * ODESSA.cc: Fix all callers. | |
7382 | |
4139 | 7383 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
7384 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
7385 sum(zeros(1,0)) returns 0, not [](1x0)). | |
7386 | |
4136 | 7387 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7388 | |
7389 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
7390 | |
4132 | 7391 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7392 | |
4133 | 7393 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
7394 (ddasrt_f): Combine loops. | |
7395 | |
4132 | 7396 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
7397 instead of empty vector if user termninates iteration. | |
7398 | |
4130 | 7399 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7400 | |
7401 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7402 octave_read_complex, octave_write_double, octave_write_complex): | |
7403 New functions. | |
7404 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
7405 Use octave_write_complex. | |
7406 (operator >> (std::istream&, const ComplexMatrix&)): | |
7407 Use octave_read_complex. | |
7408 * dMatrix.cc (operator << (std::ostream&, double)): | |
7409 Use octave_write_double. | |
7410 (operator >> (std::istream&, double)): Use octave_read_double. | |
7411 | |
4126 | 7412 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7413 | |
7414 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
7415 * oct-kpse.h: Delete decl. | |
7416 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
7417 ::octave_kpse_clear_dir_cache. | |
7418 | |
4123 | 7419 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7420 | |
4124 | 7421 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
7422 earlier than 3.0. | |
7423 | |
4123 | 7424 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
7425 (liboctave.$(SHLEXT)): Not here. | |
7426 | |
5095 | 7427 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 7428 |
7429 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
7430 | |
4108 | 7431 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7432 | |
7433 * Makefile.in (install-lib): Don't bother with versions for | |
7434 $(SHLBIN) files. | |
7435 | |
5095 | 7436 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 7437 |
7438 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
7439 | |
4102 | 7440 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7441 | |
7442 * lo-cieee.c: Move everything but lo_ieee_init here. | |
7443 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
7444 New functions. | |
7445 | |
7446 * Makefile.in (install): No need to use cd to create links. | |
7447 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
7448 | |
5095 | 7449 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 7450 |
7451 * Makefile.in: Merge liboctave with liboct-readline and | |
7452 liboct-pathsearch. | |
7453 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
7454 (libraries): Depend on versioned library. | |
7455 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
7456 build unversioned library, symbolic link adds version info. | |
7457 (install, uninstall): Handle link and load forms of the library | |
7458 separately. | |
7459 | |
4101 | 7460 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7461 | |
7462 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
7463 __CYGWIN__. | |
7464 | |
7465 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
7466 file_ops::dir_sep_chars): New static functions to replace | |
7467 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
7468 | |
7469 * oct-env.cc (octave_env::do_set_program_name): | |
7470 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
7471 (octave_env::do_base_pathname): Likewise. | |
7472 (octave_env::do_make_absolute): Likewise. | |
7473 | |
7474 * oct-env.cc (octave_env::do_make_absolute): | |
7475 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
7476 (octave_env::do_get_home_directory): Likewise. | |
7477 | |
7478 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
7479 that information here too. | |
7480 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
7481 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
7482 | |
7483 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
7484 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
7485 | |
4097 | 7486 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7487 | |
7488 * oct-env.h (octave_env::current_directory): Now mutable. | |
7489 (octave_env:do_getcwd): Now const. | |
7490 | |
7491 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
7492 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
7493 OCTAVE_CURRENT_DIR_STR): New macros. | |
7494 * oct-env.cc (is_dir_sep): Delete. | |
7495 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
7496 (octave_env::do_set_program_name): Likewise. | |
7497 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
7498 instead of checking for '/'. | |
7499 (octave_env::pathname_backup): Likewise. | |
7500 (octave_env::do_absolute_pathname): Likewise. | |
7501 (octave_env::do_make_absolute): Likewise. | |
7502 If dot_path is empty, use getcwd to set current_dir. | |
7503 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
7504 instead of "/". | |
7505 | |
5095 | 7506 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7507 |
7508 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
7509 | |
5095 | 7510 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7511 |
7512 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
7513 absolute path names under MinGW as well. | |
7514 | |
7515 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7516 | |
7517 * oct-env.cc: Include <cctype> too. | |
7518 | |
4087 | 7519 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7520 | |
7521 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
7522 filenames. | |
7523 (octave_env::do_make_absolute): Check for absolute name with | |
7524 do_absolute_path. | |
4088 | 7525 (octave_env::do_chdir): Likewise. |
7526 (is_dir_sep): New function. | |
4087 | 7527 |
5095 | 7528 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 7529 |
4086 | 7530 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
7531 systems. | |
4085 | 7532 |
4083 | 7533 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7534 | |
7535 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
7536 | |
4080 | 7537 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7538 | |
4081 | 7539 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
7540 | |
4080 | 7541 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
7542 | |
5095 | 7543 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 7544 |
7545 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
7546 gr_gid too. | |
7547 | |
4072 | 7548 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7549 | |
4074 | 7550 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
7551 lo_ieee_* functions. | |
4072 | 7552 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 7553 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
7554 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 7555 * lo-cieee.c: New file. |
4074 | 7556 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 7557 * lo-ieee.h: Now all extern "C". |
4074 | 7558 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
7559 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
7560 | |
4072 | 7561 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
7562 Now extern. | |
7563 | |
4066 | 7564 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7565 | |
7566 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7567 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7568 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7569 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7570 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7571 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7572 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7573 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7574 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7575 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7576 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7577 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7578 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7579 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7580 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7581 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7582 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7583 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7584 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7585 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7586 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7587 oct-alloc.cc: | |
7588 If __GNUG__, use pragma interface/implementation. Allow this to | |
7589 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
7590 | |
5095 | 7591 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 7592 |
4066 | 7593 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
7594 system readlink function is not available. | |
7595 | |
4065 | 7596 * lo-mappers.cc (xerf, xerfc): Delete. |
7597 * lo-mappers.h (xerf, xerfc): Delete decls. | |
7598 | |
4064 | 7599 * lo-mappers.cc: Remove unused #define M_PI. |
7600 * lo-specfun.cc: Add #define M_PI if needed. | |
7601 | |
4062 | 7602 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7603 | |
7604 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
7605 that geteuid doesn't exist. | |
7606 | |
7607 * LP.h: Rename LP class to octave_LP. | |
7608 LPsolve.h: Change all uses. | |
7609 | |
7610 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
7611 incorrect token-pasting op. | |
7612 | |
7613 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
7614 define lstat. | |
7615 | |
4061 | 7616 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7617 | |
7618 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7619 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7620 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7621 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7622 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7623 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7624 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7625 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7626 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7627 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7628 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7629 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7630 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7631 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7632 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7633 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7634 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7635 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7636 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7637 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7638 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7639 oct-alloc.cc: | |
7640 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
7641 to decide whether to use the interface/implementation pragmas. | |
7642 | |
4058 | 7643 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7644 | |
7645 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
7646 | |
4055 | 7647 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
7648 | |
7649 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
7650 qualified names. | |
7651 | |
4051 | 7652 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7653 | |
4054 | 7654 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
7655 ArrayN.cc: Add typename where needed. | |
4053 | 7656 |
4051 | 7657 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
7658 strstream classes directly. | |
7659 * DASRT.cc: Likewise. | |
7660 * DASSL.cc: Likewise. | |
7661 * LSODE.cc: Likewise. | |
7662 * ODESSA.cc: Likewise. | |
7663 | |
7664 * cmd-hist.cc: Don't include <strstream>. | |
7665 * oct-shlib.cc: Likewise. | |
7666 | |
7667 * lo-sstream.h: New file. | |
7668 | |
4049 | 7669 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7670 | |
7671 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
7672 New data members. | |
7673 (LSODE::sanity_checked): Delete unused data member. | |
7674 | |
7675 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
7676 prel_tol, pinfo, piwork, prwork): New data members. | |
7677 * DASSL.h (DASSL): Likewise. | |
7678 | |
7679 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
7680 | |
7681 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
7682 initialization, changes in options, etc. | |
7683 * DASPK.cc (DASPK::do_integrate): Likewise. | |
7684 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7685 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7686 | |
4047 | 7687 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7688 | |
4049 | 7689 * DAEFunc.h (DAEFunc::reset): New data member. |
7690 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
7691 | |
7692 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
7693 (base_diff_eqn::clear_stop_time): Likewise. | |
7694 | |
4047 | 7695 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
7696 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
7697 | |
5095 | 7698 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 7699 |
7700 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
7701 * DASRT-opts.in, DASRT.h: Likewise. | |
7702 * DASSL-opts.in, DASSL.h: Likewise. | |
7703 * LSODE-opts.in, LSODE.h: Likewise. | |
7704 * NLEqn-opts.in, NLEqn.h: Likewise. | |
7705 * ODESSA-opts.in, ODESSA.h: Likewise. | |
7706 | |
4038 | 7707 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7708 | |
4042 | 7709 * LSODE.cc (LSODE::error_message): Also return current T on |
7710 failures when that makes sense. | |
4043 | 7711 * DASSL.cc (DASSL::error_message): Likewise. |
7712 * DASRT.cc (DASRT::error_message): Likewise. | |
7713 * DASPK.cc (DASPK::error_message): Likewise. | |
7714 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 7715 |
4038 | 7716 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
7717 $(LIBKPATHSEA) here. | |
7718 | |
4025 | 7719 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7720 | |
7721 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
7722 (lo_ieee_is_NaN_or_NA): New function. | |
7723 (octave_NA): New global value. | |
7724 (octave_ieee_init): Initialize it. | |
7725 * lo-mappers.cc (octave_is_NA): New function. | |
7726 (octave_is_NaN_or_NA): New function. | |
7727 (xisnan): Return false if NaN looks like a missing value. | |
7728 (xisnan (const Complex&)): Use xisnan here. | |
7729 | |
4015 | 7730 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7731 | |
4017 | 7732 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
7733 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
7734 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
7735 Default value for dim is -1, not 0. | |
7736 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
7737 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
7738 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
7739 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
7740 | |
4015 | 7741 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
7742 New macros. | |
7743 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
7744 MX_BASE_REDUCTION_OP. | |
7745 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
7746 | |
4014 | 7747 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7748 | |
4015 | 7749 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
7750 Return boolMatrix, not Matrix. | |
7751 | |
7752 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
7753 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
7754 (Matrix::all): Replace guts with MX_ALL_OP. | |
7755 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
7756 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
7757 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
7758 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
7759 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
7760 (charMatrix::all): Replace guts with MX_ALL_OP. | |
7761 | |
7762 * dMatrix.h (Matrix::any): New arg, dim. | |
7763 (Matrix::all): Likewise. | |
7764 * CMatrix.h (ComplexMatrix::any): Likewise. | |
7765 (ComplexMatrix::all): Likewise. | |
7766 * boolMatrix.h (boolMatrix::any): Likewise. | |
7767 (boolMatrix::all): Likewise. | |
7768 * chMatrix.h (charMatrix::any): Likewise. | |
7769 (charMatrix::all): Likewise. | |
7770 | |
4014 | 7771 * Makefile.in: Use $@-t instead of $@.t. |
7772 | |
4004 | 7773 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7774 | |
7775 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
7776 Use it in matrix versions to avoid spewing multiple errors. | |
7777 Call xgammainc instead of dgamit. | |
7778 | |
3998 | 7779 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7780 | |
7781 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
7782 Get rows and columns right in loop. | |
7783 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
7784 | |
7785 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7786 | |
7787 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
7788 * DASRT.cc (DASRT::integrate): Likewise. | |
7789 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7790 | |
7791 * Quad.cc: Don't pass tolerances in constructors. | |
7792 | |
7793 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
7794 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
7795 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
7796 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
7797 from corresponding .in files. | |
7798 * LSODE.h, Quad.h: Replace options class definitions with included | |
7799 file. | |
7800 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
7801 create OPTS_INC files from OPTS_INC_SRC files. | |
7802 (stamp-prereq): New target. | |
7803 (libraries): Depend on stamp-prereq. | |
7804 Include stamp-prereq along with $(MAKEDEPS). | |
7805 | |
3997 | 7806 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7807 | |
7808 * base-de.h (base_diff_eqn::istate): New data member. | |
7809 (base_diff_eqn::integration_state): New member function. | |
7810 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
7811 data members and functions. | |
7812 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
7813 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
7814 | |
3990 | 7815 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7816 | |
3995 | 7817 * base-de.h (base_diff_eqn::stop_time, |
7818 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
7819 base_diff_eqn::integration_error): New data members. | |
7820 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
7821 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
7822 base_diff_eqn::error_message): New member functions. | |
7823 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
7824 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
7825 members and functions. | |
7826 | |
3992 | 7827 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
7828 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 7829 (DASRT::integrate): Don't forget to set nn. |
3992 | 7830 |
3991 | 7831 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
7832 * DASSL.cc (ddassl_j): Make it work. | |
7833 * DASPK.cc (ddaspk_j): Likewise. | |
7834 | |
3990 | 7835 * DAE.cc: Delete. |
7836 | |
7837 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
7838 solving with root finding. | |
7839 * Makefile.in: Add them to the appropriate lists. | |
7840 | |
7841 * base-dae.h: New file. | |
7842 * Makefile.in (INCLUDES): Add it to the list. | |
7843 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
7844 | |
3984 | 7845 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7846 | |
7847 * ODE.h: Move integrate and do_integrate method declarations and | |
7848 definitions here. | |
7849 * base-de.h: From here. | |
7850 | |
7851 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
7852 * Makefile.in: Add them to the appropriate lists. | |
7853 (LIBOCTAVE_CXX_SOURCES): | |
7854 | |
3971 | 7855 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7856 | |
7857 * NLEqn.cc (NLEqn::error_message): New function. | |
7858 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
7859 | |
3970 | 7860 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7861 | |
7862 * lo-utils.cc (octave_fgetl): New function. | |
7863 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
7864 | |
3959 | 7865 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7866 | |
7867 * LSODE.cc (LSODE::error_message): New function. | |
7868 * LSODE.h: Provide decl. | |
7869 (LSODE::integration_state): New function. | |
7870 (LSODE::integration_ok): New function. | |
7871 | |
3952 | 7872 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7873 | |
3955 | 7874 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
7875 (LSODE_options::set_integration_method, | |
7876 LSODE_options::integration_method): New functions. | |
3954 | 7877 |
3952 | 7878 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
7879 Change all uses. | |
7880 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
7881 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
7882 New function. | |
7883 | |
7884 * Array.h (Array::fortran_vec): New const version. | |
7885 | |
3951 | 7886 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7887 | |
7888 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
7889 (gnu_readline::history_search_forward): Likewise. | |
7890 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
7891 to extern "C" functions to octave_rl_ad_defun. | |
7892 | |
5095 | 7893 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 7894 |
7895 * DASPK.cc (ddaspk_psol): Return value. | |
7896 * oct-rl-edit.c: Use /* ... */ to comment. | |
7897 | |
3945 | 7898 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7899 | |
7900 * DASSL.h (DASSL_options::init): Undo previous change. | |
7901 (DASSL_options::set_absolute_tolerance): Likewise. | |
7902 * LSODE.h (LSODE_options::init): Likewise. | |
7903 (LSODE_options::set_absolute_tolerance): Likewise. | |
7904 | |
7905 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
7906 sqrt(eps), not eps^2. | |
7907 DASPK_options::set_absolute_tolerance): Likewise. | |
7908 | |
5095 | 7909 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 7910 |
7911 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
7912 object. | |
7913 | |
3933 | 7914 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7915 | |
7916 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
7917 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
7918 (octave_rl_set_basic_word_break_characters, | |
7919 octave_rl_set_completer_word_break_characters): New functions. | |
7920 * oct-rl-edit.h: Provide decls. | |
7921 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
7922 gnu_readline::do_set_completer_word_break_characters): New functions. | |
7923 (command_editor::set_basic_quote_characters, | |
7924 command_editor::set_completion_append_character): New static functions. | |
7925 * cmd-edit.h: Provide decls. | |
7926 (command_editor::do_set_basic_word_break_characters, | |
7927 command_editor::do_set_completer_word_break_characters): | |
7928 New virtual functions. | |
7929 | |
7930 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
7931 (resize_fill_value): New static function. | |
7932 | |
7933 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
7934 resize_fill_value. | |
7935 * Array2-idx.h (Array2<T>::index): Likewise. | |
7936 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
7937 | |
7938 * Array2.cc (Array<T>::print_info): New function. | |
7939 * Array2.h: Provide decl. | |
7940 | |
7941 * Array.cc (Array<T>::print_info): New function. | |
7942 * Array.h: Provide decl. | |
7943 | |
3928 | 7944 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7945 | |
7946 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
7947 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
7948 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
7949 | |
7950 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
7951 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
7952 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
7953 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
7954 | |
5095 | 7955 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 7956 |
7957 * Array3.h (Array3<T>::checkelem): Improve error message. | |
7958 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
7959 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
7960 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
7961 | |
3919 | 7962 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7963 | |
7964 * DASSL.h (DASSL_options::init): Undo previous change. | |
7965 (DASSL_options::set_absolute_tolerance): Likewise. | |
7966 | |
3912 | 7967 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7968 | |
7969 * DASPK.h, DASPK.cc: New files. | |
7970 * Makefile.in: Add them to the appropriate lists. | |
7971 | |
3904 | 7972 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7973 | |
7974 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
7975 Simplify indexing when one or both of the indices are empty. | |
7976 | |
3896 | 7977 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7978 | |
7979 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
7980 (DASSL_options::set_absolute_tolerance): Likewise. | |
7981 * LSODE.h (LSODE_options::init): Likewise. | |
7982 (LSODE_options::set_absolute_tolerance): Likewise. | |
7983 | |
5095 | 7984 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 7985 |
7986 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
7987 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
7988 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
7989 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
7990 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
7991 * file-stat.h: Likewise. | |
7992 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
7993 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
7994 instead of HAVE_STRUCT_TM_TM_ZONE. | |
7995 * strftime.c: Likewise. | |
7996 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
7997 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
7998 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
7999 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
8000 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8001 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8002 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
8003 | |
5095 | 8004 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 8005 |
8006 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
8007 internally when the user requests it. | |
8008 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
8009 * dbleQR.cc (QR::init): Ditto. | |
8010 * dbleQRP.cc (QRP::init): Ditto. | |
8011 | |
3874 | 8012 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8013 | |
8014 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
8015 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
8016 (octave_fftw::ifft2d): Likewise. | |
8017 | |
5095 | 8018 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 8019 |
8020 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
8021 | |
3867 | 8022 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8023 | |
8024 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
8025 (LS_DO_WRITE): Likewise. | |
8026 | |
3864 | 8027 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8028 | |
8029 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
8030 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
8031 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
8032 | |
8033 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
8034 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
8035 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
8036 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
8037 | |
8038 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
8039 DIM == -1 now means no orientation for vector sums. | |
8040 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
8041 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
8042 | |
3858 | 8043 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8044 | |
8045 * Range.cc (Range::nelem_internal): Special case ranges that must | |
8046 have zero elements. | |
8047 | |
3854 | 8048 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8049 | |
3857 | 8050 * Makefile.in: Split out readline and pathsearch functionality |
8051 into separate liboct-readline and liboct-pathsearch libraries. | |
8052 | |
3854 | 8053 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 8054 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
8055 to do nothing for this call to rl_clear_screen. | |
3854 | 8056 |
3849 | 8057 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8058 | |
8059 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
8060 function. | |
8061 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
8062 | |
3838 | 8063 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8064 | |
8065 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
8066 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
8067 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
8068 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
8069 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
8070 | |
3836 | 8071 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8072 | |
8073 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
8074 | |
8075 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
8076 Array-b.cc: Instantiate three arg assign functions. | |
8077 | |
8078 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
8079 New arg, resize_fill_value. | |
8080 * ArrayN.h: Provide declaration. | |
8081 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
8082 three arg version. | |
8083 | |
8084 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
8085 New arg, resize_fill_value. | |
8086 * Array3.h: Provide declaration. | |
8087 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
8088 three arg version. | |
8089 | |
8090 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8091 New arg, resize_fill_value. | |
8092 * Array2.h: Provide declaration. | |
8093 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
8094 three arg version. | |
8095 | |
8096 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
8097 New arg, resize_fill_value. | |
8098 * Array.h: Provide declaration. | |
8099 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
8100 three arg version. | |
8101 | |
3833 | 8102 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8103 | |
8104 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
8105 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
8106 to the empty string. | |
8107 | |
3832 | 8108 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8109 | |
8110 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
8111 Don't check for rep != a.rep. | |
8112 | |
3827 | 8113 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
8114 | |
8115 * oct-fftw.h, oct-fftw.cc: New files. | |
8116 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
8117 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
8118 ifourier2d}): Use fftw if available. | |
8119 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
8120 Likewise. | |
8121 | |
3821 | 8122 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8123 | |
8124 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
8125 (install-inc): Don't use mk-includedir-link. | |
8126 | |
3803 | 8127 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8128 | |
8129 * lo-cutils.c (octave_gethostname): New function. | |
8130 * lo-utils.h: Provide declaration. | |
8131 * oct-env.cc (octave_env::do_get_host_name): | |
8132 Call octave_gethostname, instead of gethostname. | |
8133 | |
8134 * lo-cutils.c (gethostname): Define here. | |
8135 * lo-sysdep.cc: Not here. | |
8136 | |
3786 | 8137 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8138 | |
8139 * lo-cutils.c: Don't declare strptime. | |
8140 (oct_strptime): Cast return type of strptime to char*. | |
8141 | |
3777 | 8142 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8143 | |
3779 | 8144 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
8145 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
8146 (octave_rl_read_init_file): Ditto. | |
8147 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
8148 free_undo_list. | |
8149 (octave_rl_completion_matches): Call rl_completion_matches, not | |
8150 completion_matches. | |
8151 (octave_rl_enable_paren_matching): New function. | |
8152 (octave_rl_set_blink_matching_paren_flag): Delete. | |
8153 (octave_rl_get_blink_matching_paren_flag): Delete. | |
8154 | |
3777 | 8155 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
8156 tanh (const Complex&)): Declare and define if not | |
8157 CXX_ISO_COMPLIANT_LIBRARY. | |
8158 | |
3776 | 8159 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8160 | |
8161 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
8162 CXX_ISO_COMPLIANT_LIBRARY. | |
8163 | |
3775 | 8164 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
8165 | |
3776 | 8166 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
8167 CXX_ISO_COMPLIANT_LIBRARY. | |
8168 | |
3775 | 8169 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
8170 archive libraries containing templates. | |
8171 | |
8172 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
8173 get_zero_len_size, all_colon_equiv): Inline. | |
8174 (ArrayN<T>::index): Rename idx to arr_idx. | |
8175 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
8176 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
8177 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
8178 | |
8179 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8180 | |
8181 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
8182 log10 (const Complex&)): Delete. | |
8183 | |
8184 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
8185 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
8186 sinh, sqrt, tan, and tanh. | |
8187 | |
3769 | 8188 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8189 | |
8190 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
8191 Add std:: namespace qualifier as needed. | |
8192 | |
8193 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
8194 Change all uses to match. | |
8195 | |
3767 | 8196 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8197 | |
8198 * lo-cutils.c: Don't delcare strptime. | |
8199 | |
3760 | 8200 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8201 | |
8202 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
8203 Return correct size result for empty matrix case. | |
8204 | |
3757 | 8205 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8206 | |
8207 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
8208 If args are equal in magnitude, return first arg instead of | |
8209 second. | |
8210 | |
3752 | 8211 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8212 | |
3755 | 8213 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
8214 then try harder to compute correct number of elements. | |
3753 | 8215 |
3752 | 8216 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
8217 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
8218 | |
3750 | 8219 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8220 | |
3751 | 8221 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
8222 Rename n_intervals to be n_elt. | |
8223 | |
3750 | 8224 * strptime.c: Surround everything after including config.h in |
8225 #ifndef HAVE_STRPTIME ... #endif. | |
8226 | |
3742 | 8227 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8228 | |
8229 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
8230 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
8231 | |
3741 | 8232 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8233 | |
8234 * MArray-defs.h: Protect against multiple inclusion. | |
8235 | |
3739 | 8236 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8237 | |
8238 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
8239 end of the list, to be compatible with previous versions of Octave. | |
8240 | |
3736 | 8241 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8242 | |
8243 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
8244 since mktime is supposed to `normalize' the results for us. | |
8245 | |
3731 | 8246 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8247 | |
8248 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 8249 and vectors. Use xelem for faster access to elements when copying. |
3731 | 8250 |
3726 | 8251 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8252 | |
8253 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
8254 Correct indexing for operation across rows. | |
8255 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
8256 | |
3725 | 8257 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8258 | |
8259 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
8260 elements if arg is a colon. | |
8261 | |
5095 | 8262 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 8263 |
3795 | 8264 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 8265 (Matrix::cumsum (int) const): Likewise. |
8266 (Matrix::prod (int) const): Likewise. | |
8267 (Matrix::sum (int) const): Likewise. | |
8268 (Matrix::sumsq (int) const): Likewise. | |
8269 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
8270 (ComplexMatrix::cumsum (int) const): Likewise. | |
8271 (ComplexMatrix::prod (int) const): Likewise. | |
8272 (ComplexMatrix::sum (int) const): Likewise. | |
8273 (ComplexMatrix::sumsq (int) const): Likewise. | |
8274 | |
3722 | 8275 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8276 | |
8277 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
8278 size if Array<T>::index returns an empty array. | |
8279 | |
3710 | 8280 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8281 | |
8282 * file-ops.cc (file_ops::link, file_ops::symlink, | |
8283 file_ops::readlink): New functions. | |
8284 | |
3709 | 8285 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8286 | |
8287 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
8288 indexed, always return an object the same size as the index arg. | |
8289 | |
8290 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
8291 empty format. | |
8292 | |
3706 | 8293 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8294 | |
8295 * lo-cutils.c (oct_strptime): New function. | |
8296 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
8297 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
8298 | |
3702 | 8299 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8300 | |
3703 | 8301 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
8302 | |
3702 | 8303 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
8304 | |
3689 | 8305 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8306 | |
8307 * dMatrix.h (read_int): Provide declaration. | |
8308 | |
3688 | 8309 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
8310 | |
8311 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
8312 (write_doubles): Ditto. | |
8313 * data-conv.h: Ditto. | |
8314 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
8315 | |
3685 | 8316 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8317 | |
8318 * boolMatrix.h: Declare MM_CMP_OPS here. | |
8319 * boolMatrix.cc: Define them here. | |
8320 | |
3680 | 8321 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8322 | |
8323 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
8324 previously undefined and set size of x to size of bool index. | |
8325 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
8326 Allow z_len to be zero. | |
8327 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
8328 If frozen, don't assert that frozen_at_z_len == z_len. | |
8329 | |
3670 | 8330 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8331 | |
8332 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
8333 instead of rl_clear_screen. | |
8334 | |
3665 | 8335 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8336 | |
8337 * Array-d.cc: Instantiate ArrayN<double> here too. | |
8338 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
8339 * Makefile.in: Add them to the appropriate lists. | |
8340 | |
3657 | 8341 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8342 | |
8343 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
8344 | |
3635 | 8345 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8346 | |
8347 * lo-sysdep.h: octave_chdir returns int, not bool. | |
8348 | |
3615 | 8349 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8350 | |
8351 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
8352 before rebuilding. | |
8353 | |
5095 | 8354 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 8355 |
5261 | 8356 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 8357 (libraries): Depend only on library targets, not archive members. |
8358 | |
3613 | 8359 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8360 | |
8361 * Makefile.in: (objects): New target. | |
8362 | |
8363 * lo-cutils.c: New file. | |
8364 * Makefile.in (SOURCES): Add it to the list. | |
8365 * lo-utils.h: Declare octave_qsort here. | |
8366 * Array.h (Array::qsort): Use it here. | |
8367 | |
3607 | 8368 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8369 | |
8370 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
8371 | |
3598 | 8372 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8373 | |
8374 * oct-rl-hist.c (octave_history_list): Do something when not | |
8375 printing line numbers. Fix reallocation of retval. | |
8376 | |
3597 | 8377 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8378 | |
8379 * Makefile.in (install-inc): Install files in | |
8380 $(octincludedir)/octave. | |
8381 (uninstall): Remove them from the correct directory too. | |
8382 | |
8383 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
8384 they are not already defined. | |
8385 | |
3588 | 8386 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8387 | |
8388 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
8389 Delete declarations and definitions of mixed-type vector-vector ops. | |
8390 | |
3585 | 8391 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8392 | |
8393 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
8394 matrix and vector objects. | |
8395 | |
8396 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
8397 return type from second arg type. | |
8398 (MDM_BIN_OP): Likewise, for first arg type. | |
8399 | |
8400 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8401 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
8402 | |
8403 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
8404 request ColumnVector to ComplexColumnVector, and Matrix to | |
8405 ComplexMatrix conversions. | |
8406 | |
8407 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
8408 initial value using ComplexMatrix constructor. | |
8409 | |
8410 * CColVector.cc (product, quotient, | |
8411 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
8412 Fix type of returned value. | |
8413 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
8414 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
8415 | |
8416 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
8417 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
8418 dRowVector.h: Declare some constructors explicit, to disallow | |
8419 potentially problematic automatic type conversions. | |
8420 | |
3580 | 8421 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8422 | |
3582 | 8423 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
8424 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
8425 More new files. | |
8426 * Makefile.in: Add them to the appropriate lists. | |
8427 | |
8428 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
8429 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
8430 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
8431 vx-s-crv.cc:, New files. | |
8432 * Makefile.in: Add them to the appropriate lists. | |
8433 | |
8434 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
8435 Delete scalar by vector and vector by scalar binary ops. | |
8436 | |
3580 | 8437 * MArray-defs.h: More new macros to handle MDiagArray operators. |
8438 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
8439 | |
3573 | 8440 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8441 | |
3578 | 8442 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
8443 rl_event_hook before casting to void **. | |
8444 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
8445 | |
3574 | 8446 * MArray-defs.h: Many new macros to make declaration and |
8447 definition of operators more consistent. | |
8448 | |
8449 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
8450 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 8451 |
3569 | 8452 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8453 | |
3572 | 8454 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
8455 (Matrix::ifourier2d): Likewise. | |
8456 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
8457 (ComplexMatrix::ifourier2d): Likewise. | |
8458 | |
3569 | 8459 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
8460 | |
3504 | 8461 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8462 | |
3519 | 8463 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
8464 readline library. | |
8465 * Makefile.in: Add them to the appropriate lists. | |
8466 | |
8467 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
8468 readline history library. | |
8469 * Makefile.in: Add them to the appropriate lists. | |
8470 | |
3517 | 8471 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
8472 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 8473 (write_doubles): Likewise. |
8474 (read_doubles): Likewise. | |
3517 | 8475 |
3516 | 8476 * oct-env.cc (octave_env::do_polite_directory_format): |
8477 Use operator== and substr method to do limited-length string | |
8478 comparison. | |
8479 | |
3513 | 8480 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 8481 |
3511 | 8482 * Quad.h: Use do_integrate as name of pure virtual function. |
8483 | |
3508 | 8484 * base-de.h: Use tt instead of t as arg names. |
3511 | 8485 Add method with tcrit arg. |
8486 | |
3509 | 8487 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 8488 |
3507 | 8489 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
8490 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
8491 * Quad.cc (quad_fcn_ptr): Ditto. | |
8492 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
8493 | |
3505 | 8494 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 8495 * Makefile.in: Add them to the appropriate lists. |
3505 | 8496 |
8497 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 8498 * Makefile.in: Add them to the appropriate lists. |
3505 | 8499 |
3504 | 8500 * dMatrix.cc (write_int, read_int): No longer declared static. |
8501 | |
8502 * CDiagMatrix.h: Delete decls for friend operators that are | |
8503 handled by MDiagArray2 class. Move others outside class decl and | |
8504 strip friend status. | |
8505 * dDiagMatrix.h: Likewise. | |
8506 | |
8507 * MArray.h: Delete decls for friend operators inside class decl. | |
8508 * MArray2.h: Ditto. | |
8509 * MDiagArray2.h: Ditto. | |
8510 | |
8511 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
8512 necessary parameters. Don't allocate memory in the macro. Change | |
8513 all uses. | |
8514 | |
8515 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
8516 * CMatrix.h (class ComplexMatrix): Ditto. | |
8517 | |
8518 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
8519 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
8520 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
8521 avoid type conflicts. Change all uses. | |
8522 | |
8523 * strptime.c (__mon_yday): Fix size of array decl. | |
8524 | |
8525 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
8526 | |
8527 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
8528 default value for second arg. | |
8529 | |
8530 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
8531 references to ArrayRep. | |
8532 | |
3503 | 8533 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8534 | |
3504 | 8535 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 8536 |
8537 * All source files: Include iostream, fstream, strstream, | |
8538 etc. as needed instead of using forward declarations for these | |
3504 | 8539 classes. Add std:: qualifier as needed. |
3503 | 8540 |
3498 | 8541 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8542 | |
8543 * oct-time.cc: Declare strptime extern "C". | |
8544 | |
3496 | 8545 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8546 | |
8547 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
8548 | |
3488 | 8549 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8550 | |
3492 | 8551 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
8552 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
8553 to get total size to be allocated. | |
8554 | |
3488 | 8555 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
8556 as bool, not int. | |
8557 | |
3482 | 8558 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8559 | |
8560 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8561 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
8562 as A, even when do_fortran_indexing is not enabled. | |
8563 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
8564 | |
3473 | 8565 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8566 | |
3480 | 8567 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
8568 function pointer as final arg. Passed function (if any) will be | |
8569 called for singularity errors. | |
8570 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
8571 | |
8572 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
8573 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
8574 | |
3475 | 8575 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
8576 No longer bother with infinity or quiet_nan. | |
8577 | |
3473 | 8578 * Array2.cc (Array2<T>::get_size): New function. |
8579 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
8580 | |
3472 | 8581 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8582 | |
8583 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
8584 New function. | |
8585 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8586 Use it when indexing with one arg instead of faking a second one. | |
8587 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
8588 Return empty matrices with the correct dimensions for A(:,:) = [] | |
8589 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
8590 rows or columns. | |
8591 | |
8592 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
8593 vector that is all true values with a length equal to n as colon | |
8594 equivalent. | |
8595 | |
3470 | 8596 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8597 | |
8598 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
8599 | |
5095 | 8600 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 8601 |
8602 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
8603 operations directly in step 2 and reverse step 2. | |
8604 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
8605 operations directly in step 2 and reverse step 2. | |
8606 | |
3465 | 8607 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8608 | |
8609 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
8610 | |
8611 * strptime.c: New file, from glibc 2.1.2. | |
8612 * Makefile.in (SOURCES): Add strptime.c to the list. | |
8613 | |
3419 | 8614 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8615 | |
8616 * MArray.h (MArray <const Array<T>&)): New constructor. | |
8617 | |
3415 | 8618 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8619 | |
8620 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
8621 NULL directory list returned from kpse_element_dirs | |
8622 | |
3375 | 8623 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8624 | |
8625 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
8626 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
8627 directly, instead of calling ZGESV. | |
8628 | |
3358 | 8629 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8630 | |
8631 * data-conv.cc (init_sized_type_lookup_table): New function. | |
8632 (string_to_data_type): Use it to improve lookup of data types. | |
8633 | |
3354 | 8634 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8635 | |
8636 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
8637 * Array2.h (is_symmetric): Delete declaration. | |
8638 | |
3347 | 8639 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8640 | |
8641 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
8642 | |
3344 | 8643 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8644 | |
8645 * oct-time.cc (Fstrftime): Undo previous change. | |
8646 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8647 | |
3334 | 8648 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8649 | |
3336 | 8650 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
8651 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
8652 | |
3334 | 8653 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
8654 Don't forget to pass length of third string argument to dgeesx. | |
8655 | |
8656 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
8657 of third string argument to zgeesx. | |
8658 | |
3333 | 8659 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8660 | |
8661 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
8662 On errors, simply return `T ()'. | |
8663 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
8664 | |
5095 | 8665 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 8666 |
8667 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
8668 AEPBALANCE class. | |
8669 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
8670 | |
3325 | 8671 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8672 | |
8673 * oct-shlib.cc, oct-shlib.h: New files. | |
8674 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8675 | |
3322 | 8676 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8677 | |
8678 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
8679 * dRowVector.cc (linspace): Ditto. | |
8680 | |
8681 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
8682 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8683 | |
3312 | 8684 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8685 | |
8686 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
8687 to evaluate the Jacobian, set info(4), not iwork(4). | |
8688 Set rwork(1) to the maximum step size, not rwork(2). | |
8689 | |
3290 | 8690 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8691 | |
8692 * oct-time.cc: Include <climits>. | |
8693 | |
3281 | 8694 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8695 | |
8696 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
8697 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
8698 (gnu_readline::do_resize_terminal): New function. | |
8699 | |
3268 | 8700 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8701 | |
8702 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
8703 * lo-ieee.c: Likewise. | |
8704 Delete extern "C" declarations for infinity and quiet_nan. | |
8705 | |
3262 | 8706 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8707 | |
3263 | 8708 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
8709 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
8710 `inline', not `static inline'. | |
8711 | |
3262 | 8712 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
8713 then cast to const int * to compare. | |
8714 | |
3257 | 8715 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8716 | |
8717 * DAEFunc.h: Remove useless preprocessor conditional. | |
8718 | |
3255 | 8719 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8720 | |
3257 | 8721 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
8722 Use octave_time object instead of time_t. | |
8723 | |
8724 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
8725 file_stat::fs_ctime): Now octave_time objects. | |
8726 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
8727 Return octave_time objects. | |
8728 (file_stat::is_newer): Args are now octave_time objects instead of | |
8729 time_t. | |
8730 | |
3255 | 8731 * oct-time.h (octave_time::as_double): Delete. |
8732 (octave_time::operator double ()): New function. | |
8733 (octave_time::operator time_t ()): New function. | |
8734 (octave_time::ctime): New function. | |
8735 (octave_base_tm::strftime): Renamed from format_as_string. | |
8736 (octave_base_tm::asctime): New function. | |
8737 (operator == (const octave_time&, const octave_time&), | |
8738 operator != (const octave_time&, const octave_time&), | |
8739 operator < (const octave_time&, const octave_time&), | |
8740 operator <= (const octave_time&, const octave_time&), | |
8741 operator > (const octave_time&, const octave_time&), | |
8742 operator >= (const octave_time&, const octave_time&)): | |
8743 New comparison functions. | |
8744 | |
8745 * strftime.c: Move here from src directory. | |
8746 * Makefile.in (SOURCES): Add it to the list. | |
8747 | |
8748 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
8749 | |
3253 | 8750 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8751 | |
8752 * oct-time.h, oct-time.cc: New files. | |
8753 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8754 | |
8755 * systime.h: Move here from src directory. | |
8756 * Makefile.in (INCLUDES): Add it to the list. | |
8757 | |
3248 | 8758 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8759 | |
8760 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
8761 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
8762 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
8763 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
8764 | |
8765 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
8766 | |
3243 | 8767 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8768 | |
8769 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
8770 | |
8771 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8772 | |
8773 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
8774 column vector for A(:), for compatibility with Matlab. | |
8775 | |
8776 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8777 | |
8778 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
8779 iopt when there are optional inputs in rwork or iwork. | |
8780 | |
3238 | 8781 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8782 | |
8783 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
8784 creating static libs. | |
8785 | |
5095 | 8786 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 8787 |
8788 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
8789 and uint32 data types. | |
8790 | |
8791 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8792 | |
8793 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
8794 for Linux. Remove old Linux-specific code. | |
8795 | |
3233 | 8796 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8797 | |
8798 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
8799 Don't require lengths to be equal. | |
8800 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
8801 ComplexRowVector& a)): Likewise | |
8802 | |
5095 | 8803 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 8804 |
8805 * statdefs.h: Only define mode_t if not already defined. | |
8806 | |
5095 | 8807 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 8808 |
8809 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
8810 when appropriate. | |
8811 | |
8812 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8813 | |
8814 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
8815 before calling rl_initialize. | |
8816 | |
3220 | 8817 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8818 | |
8819 * lo-specfun.cc (besselh, airy, biry): New functions. | |
8820 Update Bessel function support to use library by D. E. Amos. | |
8821 | |
3219 | 8822 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8823 | |
8824 * cmd-edit.h (command_editor::readline): Add new variation that | |
8825 allows EOF information to be passed back to caller. | |
8826 | |
8827 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
8828 amount of data to read is unspecified. | |
8829 | |
3215 | 8830 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8831 | |
3219 | 8832 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
8833 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
8834 | |
3215 | 8835 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
8836 Add volatile qualifier to void* arg. | |
8837 Cast volatile void* arg to volatile char*. | |
8838 | |
8839 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8840 | |
8841 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
8842 (command_editor::do_restore_event_hook): Ditto. | |
8843 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
8844 (command_editor::restore_event_hook): Ditto. | |
8845 (gnu_readline::do_set_event_hook): Ditto. | |
8846 (gnu_readline::do_restore_event_hook): Ditto. | |
8847 (gnu_readline::previous_event_hook): New data member. | |
8848 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
8849 | |
3206 | 8850 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8851 | |
8852 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
8853 | |
8854 * Makefile.in (stmp-pic): New target. | |
8855 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
8856 (clean): Remove stmp-pic | |
8857 | |
8858 * Makefile.in: Undo previous change to avoid optmization when | |
8859 compiling lo-ieee.cc. | |
8860 | |
8861 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8862 | |
8863 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
8864 imaginary parts. | |
8865 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
8866 | |
3203 | 8867 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8868 | |
8869 * boolMatrix.cc (boolMatrix::operator !): New function. | |
8870 | |
3196 | 8871 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8872 | |
8873 * pathsearch.h (dir_path::default_path): New data member. | |
8874 * pathsearch.cc (dir_path::init): Use it. | |
8875 | |
8876 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
8877 | |
3189 | 8878 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8879 | |
8880 * chMatrix.cc (charMatrix::extract): New function. | |
8881 (charMatrix::charMatrix (char c)): New constructor. | |
8882 | |
8883 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8884 | |
8885 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
8886 * cmd-edit.cc (command_editor::read_init_file): New function. | |
8887 (gnu_readline::do_read_init_file): Likewise. | |
8888 | |
3185 | 8889 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8890 | |
8891 * oct-env.cc (octave_env::do_get_home_directory): | |
8892 If HOME can't be found, set it to "/". | |
8893 (octave_env::do_get_user_name) | |
8894 If user name can't be found, set it to "unknown". | |
8895 (octave_env::do_get_host_name) | |
8896 If host name can't be found, set it to "unknown". | |
8897 | |
8898 * pathsearch.h (dir_path::rehash): New function. | |
8899 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
8900 diretcory cache before doing initialization. | |
8901 | |
3180 | 8902 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8903 | |
3185 | 8904 * dMatrix.cc (Qzval): Delete. |
8905 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
8906 * dMatrix.h (Qzval): Delete declaration. | |
8907 | |
8908 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
8909 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
8910 * mx-ext.h: Don't include dbleGEPBAL. | |
8911 | |
3180 | 8912 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
8913 static_cast. | |
8914 | |
8915 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8916 | |
8917 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
8918 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
8919 | |
8920 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8921 | |
8922 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
8923 HUGE_VAL and NAN. | |
8924 | |
8925 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8926 | |
8927 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8928 Handle x(i) = scalar for do_fortran_indexing == 1. | |
8929 | |
8930 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8931 | |
8932 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
8933 Alloctate space before attempting to use it. | |
8934 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
8935 | |
5095 | 8936 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 8937 |
8938 * EIG.cc (EIG::init): Move invariant code outside loop. | |
8939 | |
8940 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8941 | |
8942 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
8943 have the same size as the operands. | |
8944 | |
8945 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8946 | |
8947 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
8948 call to ddassl, set integration_error to 1 before calling the | |
8949 error handler and returning. | |
8950 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8951 | |
3177 | 8952 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8953 | |
8954 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
8955 do_fortran_indexing is set, A([]) = scalar. | |
8956 * Array-idx.h (assign): Allow A([]) = scalar. | |
8957 | |
3176 | 8958 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8959 | |
8960 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
8961 if dm_nc == 0. | |
8962 | |
3174 | 8963 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8964 | |
8965 * pathsearch.h (dir_path::p_orig): New field. | |
8966 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
8967 expansion on the original path here. | |
8968 (dir_path::find_all): Don't do anything if not initialized. | |
8969 | |
3164 | 8970 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8971 | |
8972 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
8973 is not set. | |
8974 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
8975 | |
8976 * lo-specfun.cc (gammainc): Use dgamit to compute | |
8977 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
8978 \int_0^x exp(-t) t^(a-1) dt. | |
8979 | |
8980 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8981 | |
8982 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
8983 Array-s.cc: Change return types of all `assign' explicit | |
8984 instantiations to be int, not void, to match the template decl in | |
8985 Array.h. | |
8986 | |
3162 | 8987 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8988 | |
8989 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
8990 | |
3156 | 8991 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8992 | |
8993 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
8994 * lo-mappers.cc: Not here. | |
8995 | |
8996 * lo-specfun.h: Declare xgamma and xlgamma here. | |
8997 * lo-mappers.h: Not here. | |
8998 | |
8999 * lo-specfun.h: Never declare gamma or lgamma. | |
9000 | |
3154 | 9001 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9002 | |
9003 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
9004 empty matrix of any dimension. | |
9005 | |
3145 | 9006 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9007 | |
3147 | 9008 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
9009 | |
3146 | 9010 * lo-specfun.cc: Don't include dbleBessel.h. |
9011 | |
9012 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
9013 | |
3145 | 9014 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
9015 * file-stat.h (file_stat::operator bool ()): Likewise. | |
9016 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
9017 * oct-group.h (octave_group::operator bool ()): Likewise. | |
9018 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
9019 | |
9020 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
9021 Don't cast arg in call to swap_8_bytes. | |
9022 (IEEE_big_double_to_IEEE_little_double): Ditto | |
9023 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
9024 swap_4_bytes. | |
9025 (IEEE_little_float_to_IEEE_big_float): Ditto | |
9026 | |
9027 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
9028 * prog-args.cc (prog_args::getopt): Likewise. | |
9029 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
9030 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
9031 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
9032 Likewise. | |
9033 | |
9034 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
9035 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
9036 | |
3141 | 9037 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9038 | |
9039 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
9040 Use $(mk-libdir-link). | |
9041 | |
9042 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
9043 not SAFE_STAT and SAFE_LSTAT. | |
9044 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
9045 * safe-xstat.hin, safe-xstat.cin: Delete. | |
9046 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
9047 safe-lstat.h, and safe-lstat.cc. | |
9048 | |
3136 | 9049 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9050 | |
9051 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
9052 | |
3130 | 9053 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9054 | |
9055 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9056 trace is negative. | |
9057 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
9058 the real part of the trace is negative. | |
9059 | |
9060 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9061 | |
9062 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
9063 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
9064 | |
9065 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
9066 to succeed. | |
9067 | |
3125 | 9068 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9069 | |
9070 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
9071 (make_uniq): Likewise. | |
9072 | |
9073 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9074 | |
9075 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
9076 | |
3119 | 9077 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9078 | |
3121 | 9079 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
9080 | |
9081 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 9082 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
9083 | |
3121 | 9084 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
9085 oct-math.h: Delete. | |
9086 * Makefile.in (SOURCES): Delete them from the list. | |
9087 | |
3112 | 9088 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9089 | |
9090 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
9091 | |
5095 | 9092 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 9093 |
9094 Changes to make support egcs snapshots that implement explicit | |
9095 specification of template functions according to CD2. | |
9096 | |
9097 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
9098 template function specs for template friends. | |
9099 * MArray2.h: Likewise. | |
9100 * MDiagArray2.h: Likewise. | |
9101 | |
3095 | 9102 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9103 | |
9104 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
9105 | |
3092 | 9106 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
9107 | |
9108 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
9109 to complex<double>(int) instead of complex<double>(double). | |
9110 | |
9111 * lo-mappers.cc (atanh): Ditto. | |
9112 | |
3079 | 9113 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9114 | |
9115 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
9116 * idx-vector.h (idx_vector::sort): Ditto. | |
9117 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
9118 trying to delete elements specified by the index vectors. | |
9119 | |
3075 | 9120 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9121 | |
9122 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
9123 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
9124 | |
3074 | 9125 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9126 | |
9127 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
9128 | |
3069 | 9129 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9130 | |
9131 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
9132 Call error handler if we can't find the current directory. | |
9133 | |
3068 | 9134 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9135 | |
3069 | 9136 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
9137 (xfinite (double)): Ditto. | |
9138 | |
3068 | 9139 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
9140 * CmplxQR.cc (ComplexQR::init): Ditto. | |
9141 | |
3056 | 9142 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9143 | |
9144 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
9145 compatible with Matlab. | |
9146 | |
3050 | 9147 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9148 | |
9149 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
9150 single colon. | |
9151 | |
3040 | 9152 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9153 | |
3049 | 9154 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
9155 (xgamma): Likewise, for calling xdgamma. | |
9156 | |
3042 | 9157 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
9158 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
9159 | |
3040 | 9160 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
9161 to do better job expanding tildes. | |
9162 | |
9163 * str-vec.cc (string_vector::string_vector (const char * const *): | |
9164 Use temporary variable to compute length. | |
9165 | |
3029 | 9166 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
3034 | 9168 * Makefile.in: Make building of static library optional. |
3036 | 9169 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 9170 |
3029 | 9171 * Makefile.in (stamp-picdir): Delete. |
9172 (pic): New target. Don't worry so much about creating pic | |
9173 directory only when it is really needed. | |
9174 (stamp-interp): Delete. | |
9175 (libraries): New target. Depend on shared library directly. | |
9176 | |
3024 | 9177 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9178 | |
9179 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
9180 New static function. | |
9181 | |
3012 | 9182 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9183 | |
9184 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
9185 | |
3004 | 9186 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9187 | |
9188 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
9189 set_basic_quote_characters, to match new version of readline. | |
9190 | |
9191 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
9192 for restoring terminal state through rl_deprep_term_function, now | |
9193 declared in readline.h | |
9194 (rl_deprep_terminal): Delete declaration. | |
9195 | |
2993 | 9196 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9197 | |
9198 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
9199 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
9200 | |
2968 | 9201 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9202 | |
9203 * cmd-edit.cc (command_editor::increment_current_command_number): | |
9204 New static function. | |
9205 | |
2964 | 9206 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9207 | |
2966 | 9208 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
9209 the vector is not sorted. | |
9210 | |
2964 | 9211 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
9212 * dMatrix.cc (Matrix::operator !): Likewise | |
9213 | |
2941 | 9214 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9215 | |
9216 * oct-syscalls.h, oct-syscalls.cc: New files. | |
9217 | |
9218 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
9219 | |
9220 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
9221 | |
2938 | 9222 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9223 | |
2941 | 9224 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
9225 (install-inc): Use it. | |
9226 | |
2938 | 9227 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
9228 Handle errors and missing functions consistently. | |
9229 | |
9230 * oct-group.h, oct-group.cc: New files. | |
9231 | |
9232 * oct-passwd.cc: Handle errors and missing functions consistently. | |
9233 | |
9234 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
9235 | |
2934 | 9236 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9237 | |
9238 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
9239 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
9240 | |
9241 * oct-passwd.h, oct-passwd.cc: New files. | |
9242 | |
2926 | 9243 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9244 | |
9245 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
9246 | |
9247 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
9248 (instance_ok ()): New function. | |
9249 | |
9250 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
9251 | |
9252 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
9253 | |
9254 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
9255 src/utils.h and src/utils.cc. | |
9256 (octave_fgets): New function, extracted from src/input.cc. | |
9257 | |
9258 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
9259 GNU readline, and allow Octave to work without GNU readline. | |
9260 | |
9261 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
9262 system-dependent functions. | |
9263 | |
9264 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
9265 | |
9266 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
9267 from file-ops.h and file-ops.cc and move here. | |
9268 | |
9269 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
9270 tilde_expand functions here from src/dirfns.cc. | |
9271 | |
9272 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9273 | |
9274 * pathlen.h: New file, from ../src. | |
9275 | |
2917 | 9276 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9277 | |
9278 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
9279 out-of-bounds indexing of the index array. | |
9280 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
9281 | |
2850 | 9282 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9283 | |
9284 * LSODE.h (x_step_limit): New field. | |
9285 (LSODE_options::init): Initialize it. | |
9286 (LSODE_options::copy): Copy it. | |
9287 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
9288 New functions. | |
9289 (LSODE::working_too_hard): Delete. | |
9290 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
9291 | |
2844 | 9292 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9293 | |
9294 * MArray-b.cc: Delete. | |
9295 * Makefile.in: Delete it from the lists. | |
9296 | |
9297 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
9298 MArray2, since most of the numeric ops don't really make sense. | |
9299 | |
2829 | 9300 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9301 | |
2832 | 9302 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
9303 | |
9304 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
9305 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
9306 | |
2830 | 9307 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
9308 idx_vector::freeze): Delete prefer_zero_one arg. | |
9309 * Array-idx.h, Array2-idx.h: Change all callers. | |
9310 | |
9311 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
9312 | |
2829 | 9313 * mx-op-defs.h: New file for operator definitions. |
9314 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
9315 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
9316 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
9317 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
9318 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
9319 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
9320 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
9321 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
9322 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
9323 mx-s-cm.cc, mx-s-dm.cc: | |
9324 New files for mixed-type operations. | |
9325 * Makefiles.in: Add them to the appropriate lists. | |
9326 | |
9327 * mx-inlines.cc: Add bool by bool EQ ops. | |
9328 | |
9329 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
9330 boolMatrix types. | |
9331 (idx_vector::maybe_convert_one_zero_to_idx, | |
9332 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
9333 Delete second arg, prefer_zero_one. Change all callers. | |
9334 | |
9335 * boolMatrix.h, boolMatrix.cc: New files. | |
9336 * mx-base.h: Include boolMatrix.h here. | |
9337 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
9338 | |
9339 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
9340 | |
9341 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
9342 operator-, operator*, product, and quotient functions. | |
9343 Add constructor for boolMatrix type. | |
9344 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
9345 product, and quotient functions. | |
9346 | |
9347 * CDiagMatrix.h: Delete friend declarations for operator+, | |
9348 operator-, and product functions. | |
9349 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
9350 | |
9351 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
9352 | |
2815 | 9353 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9354 | |
9355 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
9356 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
9357 (EIG::symmetric_init (const Matrix&)): New function. | |
9358 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
9359 | |
9360 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
9361 | |
9362 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9363 | |
9364 * Array2.cc (is_symmetric): New function. | |
9365 * Array2.h (is_square): New function. | |
9366 | |
2811 | 9367 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9368 | |
9369 * Makefile.in (install-strip): New target. | |
9370 | |
2804 | 9371 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9372 | |
9373 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
9374 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
9375 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
9376 dbleSVD.cc: Don't include mx-inlines.cc. | |
9377 | |
9378 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
9379 duplicate code. | |
9380 | |
2800 | 9381 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9382 | |
2804 | 9383 * dbleQR.h (QR): Delete extra comma at end of list. |
9384 | |
9385 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
9386 | |
9387 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
9388 | |
9389 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
9390 idx_vecotr_rep:: qualifiers. | |
9391 | |
9392 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
9393 | |
9394 * data-conv.h (save_type): Delete extra comma at end of list. | |
9395 | |
2800 | 9396 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
9397 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
9398 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
9399 old C-style `(T) val' casts. | |
9400 | |
2795 | 9401 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9402 | |
9403 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
9404 just breaking out of the innermost loop. | |
9405 * CMatrix.cc (operator >>): Likewise. | |
9406 | |
2779 | 9407 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 9408 |
9409 * Version 2.0.5 released. | |
9410 | |
2767 | 9411 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9412 | |
9413 * CmplxQR.cc (ComplexQR::init): New function. | |
9414 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
9415 * CmplxQRP.cc (ComplexQRP::init): New function. | |
9416 Get sizes right in all cases. | |
9417 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
9418 | |
9419 * dbleQR.cc (QR::init): New function. | |
9420 (QR::QR): Use it. Use initializer list too. | |
9421 * dbleQRP.cc (QRP::init): New function. | |
9422 Get sizes right in all cases. | |
9423 (QR::QRP): Use it. Use initializer list too. | |
9424 | |
2759 | 9425 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9426 | |
9427 * mach-info.cc (oct_mach_info::string_to_float_format): | |
9428 Recognize "vaxg", not "vax_g". | |
9429 | |
2713 | 9430 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9431 | |
2714 | 9432 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
9433 dimension in check for colon equivalent index. | |
9434 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
9435 index whose value is 0 is also colon eqivalent for n == 1. | |
9436 | |
2713 | 9437 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
9438 system-specific tests first. | |
9439 | |
2709 | 9440 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 9441 |
9442 * Version 2.0.4 released. | |
9443 | |
9444 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9445 | |
9446 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
9447 | |
2693 | 9448 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 9449 |
9450 * Version 2.0.3 released. | |
9451 | |
2686 | 9452 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9453 | |
9454 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
9455 | |
2673 | 9456 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9457 | |
2676 | 9458 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
9459 (all): Don't depend on stamp-prereq or stamp-picdir. | |
9460 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
9461 (stamp-picdir): Silence noise about making pic. | |
9462 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
9463 | |
2673 | 9464 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9465 Fix typo in last change. | |
9466 | |
9467 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
9468 Convert from friend (moved from dColVector.cc). | |
9469 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
9470 Likewise (moved from dMatrix.cc). | |
9471 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
9472 Likewise (moved from dRowVector.cc). | |
9473 | |
9474 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
9475 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
9476 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
9477 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
9478 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
9479 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
9480 | |
9481 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
9482 * dMatrix.cc (Matrix::apply): Likewise. | |
9483 * dRowVector.cc (RowVector::apply): Likewise. | |
9484 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
9485 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
9486 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
9487 | |
2668 | 9488 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9489 | |
9490 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
9491 | |
9492 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9493 | |
9494 * file-ops.cc (oct_unlink (const string&, string&)): | |
9495 New two-arg version. | |
9496 (oct_rmdir (const string&, string&)): New two-arg version. | |
9497 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
9498 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
9499 (oct_rename (const string&, const string&, string&)): | |
9500 New three-arg version. | |
9501 | |
2663 | 9502 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9503 | |
9504 * idx-vector.h (idx_vector::orig_empty): New function. | |
9505 | |
9506 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
9507 Don't always resize to [](0x0) if one of the indices is empty or | |
9508 zero. | |
9509 | |
2658 | 9510 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9511 | |
9512 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
9513 Set line_in_file here too. | |
9514 (command_history::read_range): New arg, must_exist. | |
9515 | |
2651 | 9516 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9517 | |
9518 * f2c-main.c: Change C++-style comments to C-style comments. | |
9519 | |
2638 | 9520 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9521 | |
9522 * Makefile.in (install-inc): Create a relative symbolic link. | |
9523 | |
2634 | 9524 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9525 | |
9526 * Version 2.0.2 released. | |
9527 | |
2624 | 9528 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9529 | |
9530 * Makefile.in (bin-dist): New target. | |
9531 | |
2621 | 9532 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9533 | |
9534 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
9535 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
9536 | |
2613 | 9537 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9538 | |
9539 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9540 If the number of columns is zero, also set the number of rows to zero. | |
9541 (charMatrix::charMatrix (const char *)): Likewise. | |
9542 | |
2602 | 9543 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9544 | |
9545 * Version 2.0.1 released. | |
9546 | |
2601 | 9547 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9548 | |
9549 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
9550 columns for resizing when the number of rows is specified but the | |
9551 number of columns is not. | |
9552 | |
2598 | 9553 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9554 | |
2599 | 9555 * Range.cc (operator -): New function. |
9556 | |
2598 | 9557 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
9558 | |
2589 | 9559 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9560 | |
9561 * Array2-idx.h (assign): Delay resizing left hand side until we | |
9562 know if the assignment conforms. | |
9563 | |
2583 | 9564 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9565 | |
9566 * Version 2.0 released. | |
9567 | |
2570 | 9568 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9569 | |
2575 | 9570 * Array2-idx.h (assign): If index is a colon, set number of |
9571 elements to the lhs dimension if the lhs dimension is greater than | |
9572 zero. Otherwise, set it to the rhs dimension. | |
9573 | |
9574 * Version 1.94. | |
9575 | |
2570 | 9576 * Array2-idx.h (assign): Test for rhs scalar case first. |
9577 If index is colon, set number of elements to lhs dimension, not | |
9578 rhs dimension. | |
9579 | |
2563 | 9580 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9581 | |
2566 | 9582 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
9583 * sun-utils.cc: Delete. | |
9584 * f2c-main.c: New file | |
9585 | |
9586 * Makefile.in: Fix file name lists. | |
9587 | |
2563 | 9588 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
9589 | |
2561 | 9590 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9591 | |
9592 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
9593 Create result using Complex constructor, not multiplication. | |
9594 Order elements as they are returned from Eispack. | |
9595 | |
2559 | 9596 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9597 | |
2560 | 9598 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
9599 Only include nan.h if SCO is defined. Define _IEEE before | |
9600 including it and undefine it afterward. | |
9601 [SCO] (isnan): Don't mistake Inf as NaN. | |
9602 | |
2559 | 9603 * Array-idx.h (assign): Only resize if assignment conforms. |
9604 | |
2551 | 9605 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9606 | |
9607 * Makefile.in (INCLUDES): Delete lo-error.h. | |
9608 * lo-error.h: Delete (moved to libcruft/misc). | |
9609 | |
9610 * Version 1.93. | |
9611 | |
2546 | 9612 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9613 | |
2549 | 9614 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
9615 be the same as they are in fnmatch.h. | |
9616 | |
2546 | 9617 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
9618 | |
9619 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
9620 (SOURCES): Delete f77-fcn.c. | |
9621 | |
2522 | 9622 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9623 | |
9624 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
9625 | |
2512 | 9626 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9627 | |
9628 * Version 1.92. | |
9629 | |
2508 | 9630 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9631 | |
2512 | 9632 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
9633 lines that have only carriage return or newline. | |
9634 | |
2508 | 9635 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
9636 | |
2500 | 9637 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9638 | |
9639 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
9640 (IDX_VEC_REP::idx_vector_rep): Use it. | |
9641 | |
2493 | 9642 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9643 | |
9644 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
9645 from vectors of C strings. | |
9646 | |
9647 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
9648 vector. | |
9649 (glob_match::match): Allow match string to be a string vector. | |
9650 (glob_match::glob): New function. | |
9651 | |
9652 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
9653 | |
9654 * Array-b.cc: New file. | |
9655 * Makefile.in (TI_SRC): Add it to the list. | |
9656 | |
2492 | 9657 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9658 | |
9659 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
9660 and safe-stat.h, to avoid getting them from $srcdir when we really | |
9661 want the version from the build directory. (Maybe this should be | |
9662 done for all the include files, not just those that are | |
9663 auto-generated? Hmm.) | |
9664 | |
2481 | 9665 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9666 | |
2482 | 9667 * Version 1.91. |
9668 | |
2481 | 9669 * Array3.cc (Array3<T>::resize): Make it work. |
9670 | |
9671 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9672 | |
9673 * oct-alloc.h, oct-alloc.cc: New files. | |
9674 * Makefile.in: Add them to the lists. | |
9675 | |
9676 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9677 | |
9678 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
9679 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
9680 | |
2466 | 9681 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9682 | |
9683 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
9684 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
9685 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9686 underlying macro is not defined. | |
9687 | |
9688 * oct-math.h (lgamma, gamma): Delete declarations. | |
9689 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
9690 Protect declarations with #ifdef HAVE_*. | |
9691 | |
2440 | 9692 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9693 | |
2452 | 9694 * Version 1.90. |
9695 | |
9696 * Makefile.in (DISTFILES): Add ChangeLog. | |
9697 | |
2444 | 9698 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
9699 | |
9700 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
9701 | |
2443 | 9702 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 9703 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
9704 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 9705 |
2440 | 9706 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
9707 since that is now accepatble syntax, even for built-in types. | |
9708 * Array2.h (T Array2<T>::checkelem): Likewise | |
9709 | |
2433 | 9710 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9711 | |
9712 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
9713 message and return -1. | |
9714 | |
2428 | 9715 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9716 | |
2431 | 9717 * str-vec.h (str_vec_compare): Declare args as const void *, then |
9718 cast them to const string * in the body of the function. | |
9719 | |
9720 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
9721 string from buf. | |
9722 | |
2428 | 9723 * Array3.h (Array3::checkelem): Tag bogus return value with |
9724 GCC_ATTRIBUTE_UNUSED. | |
9725 * Array2.h (Array2::checkelem): Likewise. | |
9726 | |
2424 | 9727 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9728 | |
9729 * Quad.h (Quad): Define virtual destructor. | |
9730 | |
2408 | 9731 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9732 | |
9733 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
9734 | |
2401 | 9735 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9736 | |
9737 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
9738 and MAIN__ extern "C". | |
9739 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
9740 | |
2391 | 9741 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9742 | |
9743 * MArray-misc.cc: New file. | |
9744 * Makefile.in (MATRIX_SRC): Add it to the list. | |
9745 | |
9746 * mx-inlines.cc (equal): Return bool, not int. | |
9747 | |
9748 * idx-vector.h (idx_vector (double)): New constructor. | |
9749 | |
9750 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
9751 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
9752 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
9753 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
9754 CRowVector.cc: Logical operators return bool, not int. | |
9755 | |
9756 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
9757 New function. | |
9758 | |
9759 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
9760 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
9761 Matrix::all_elements_are_inf_or_nan): New functions. | |
9762 | |
9763 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
9764 | |
9765 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
9766 for errors. Simplify macros by converting FCN to string for error | |
9767 messages. | |
9768 | |
9769 * Array-idx.h (Array<T>::index): New function. Don't call | |
9770 clear_index() here. | |
9771 (Array<T>::value): Call it, do call clear_index() here. | |
9772 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
9773 one and two arg index functions. | |
9774 | |
9775 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9776 | |
9777 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
9778 separate implementation file. | |
9779 | |
2354 | 9780 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9781 | |
2358 | 9782 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
9783 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
9784 | |
2356 | 9785 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
9786 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
9787 them uniq. | |
9788 | |
2354 | 9789 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
9790 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
9791 Rewrite. Also return index as a reference arg. | |
9792 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
9793 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
9794 Delete. | |
9795 | |
9796 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
9797 Matrix::column_max, Matrix::column_min): | |
9798 Rewrite. Also return index as a reference arg. | |
9799 (Matrix::row_max_loc, Matrix::row_min_loc, | |
9800 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
9801 | |
9802 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9803 | |
9804 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
9805 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
9806 Matrix::column_min_loc, Matrix::column_max, | |
9807 Matrix::column_max_loc): Ignore leading NaNs. | |
9808 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
9809 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
9810 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
9811 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
9812 leading NaNs. | |
9813 | |
2352 | 9814 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9815 | |
9816 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
9817 starting at n, not 0. | |
9818 | |
2349 | 9819 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9820 | |
9821 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
9822 Matrix::Matrix (const ColumnVector&)): New constructors. | |
9823 | |
9824 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
9825 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
9826 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
9827 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
9828 New constructors. | |
9829 | |
9830 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
9831 New constructor. | |
9832 | |
2343 | 9833 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9834 | |
9835 * LSODE.cc (do_integrate): Check to make sure that the state and | |
9836 derivative vectors are the same size. | |
2344 | 9837 * DASSL.cc (do_integrate): Likewise. |
2343 | 9838 |
2330 | 9839 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9840 | |
9841 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
9842 iostreams and handler data format conversions. Delete old methods | |
9843 that used stdio. | |
9844 | |
9845 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
9846 | |
9847 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9848 | |
9849 * mach-info.h: Rename from float-fmt.h. | |
9850 * mach-info.cc: Rename from float-fmt.cc. | |
9851 Handle machine information using a singlton class. | |
9852 * Makefile.in: Update appropriate lists. | |
9853 | |
9854 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9855 | |
9856 * Array-flags.cc: Provide definitions for the flags even if | |
9857 OCTAVE_SOURCE is not defined. | |
9858 | |
9859 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
9860 operator(), not elem(). | |
9861 * Array3.h: Move indexing methods here from Array3.cc. | |
9862 | |
9863 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9864 | |
9865 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
9866 | |
9867 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
9868 INSTALL_DATA for shared libs. | |
9869 | |
9870 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9871 | |
9872 * Quad.cc: Include lo-error.h here too. | |
9873 | |
9874 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9875 | |
9876 * file-ops.h: Include sys/types.h here. | |
9877 | |
9878 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9879 | |
9880 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
9881 | |
9882 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
9883 elements in result. | |
9884 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
9885 rows and columns in result. | |
9886 | |
9887 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9888 | |
9889 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
9890 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
9891 | |
9892 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9893 | |
9894 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
9895 | |
9896 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9897 | |
9898 * Makefile.in (uninstall): Also delete shared library. | |
9899 Split install into install-libs and install-includes. | |
9900 (install-inc): If linkdir is a directory, leave it alone. | |
9901 | |
9902 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
9903 | |
9904 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9905 | |
9906 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
9907 * Array2-idx.h (assign): Likewise. | |
9908 | |
9909 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9910 | |
9911 * Array2.cc (Array2<T>::range_error): New functions. | |
9912 | |
9913 * Array.h (class Array<T>): elem() and operator() are now | |
9914 equivalent, and do bounds checking by default. | |
9915 * Array2.cc (class Array2<T>): Likewise. | |
9916 | |
9917 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9918 | |
9919 * Makefile.in (maintainer-clean, distclean): Also delete | |
9920 stamp-picdir, stamp-shared, and pic directory. | |
9921 (stamp-prereq): New target. | |
9922 | |
9923 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9924 | |
9925 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
9926 New function. | |
9927 | |
9928 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
9929 * Array.h (Array<T>::checkelem): Use them. | |
9930 | |
9931 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
9932 elements too. | |
9933 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
9934 | |
9935 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
9936 | |
9937 * Makefile.in (distclean): Delete so_locations, which is created | |
9938 on DEC Alpha systems. | |
9939 | |
9940 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9941 | |
9942 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
9943 already defined. | |
9944 | |
9945 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9946 | |
9947 * pathsearch.cc: Include config.h. | |
9948 | |
9949 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9950 | |
9951 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
9952 allow M(I, J) = scalar if I or J is empty. | |
9953 | |
9954 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
9955 and Array3-idx.h). | |
9956 | |
9957 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9958 | |
9959 * lo-error.h: Make comments C friendly. | |
9960 | |
9961 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9962 | |
9963 * Array2.h (make_unique): Move all indexing functions here. | |
9964 * Array2.cc: From here. | |
9965 | |
9966 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
9967 whether operator() calls elem or checkelem. | |
9968 | |
9969 * Array.h (make_unique): New private function. | |
9970 Move all indexing functions here. | |
9971 * Array.cc: From here. | |
9972 | |
9973 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
9974 it too. | |
9975 | |
9976 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
9977 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
9978 MArray-C.cc: Include config.h. | |
9979 | |
9980 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
9981 Don't define HEAVYWEIGHT_INDEXING here. | |
9982 | |
9983 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9984 | |
9985 * base-lu.h, base-lu.cc: New files. | |
9986 * Makefile.in: Add them to the appropriate lists. | |
9987 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
9988 | |
9989 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9990 | |
9991 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
9992 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
9993 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
9994 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
9995 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9996 | |
9997 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
9998 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
9999 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
10000 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
10001 Simplify using new macros. | |
10002 | |
10003 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10004 | |
10005 * Makefile.in (install): If $(includedir) ends in version string, | |
10006 make link to name that does not include version info. | |
10007 | |
10008 * lo-ieee.cc: Include <cmath> here. | |
10009 | |
10010 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10011 | |
10012 * lo-ieee.cc, lo-ieee.h: New files. | |
10013 * lo-mappers.cc, lo-mappers.h: New files. | |
10014 * lo-utils.cc, lo-utils.h: New files. | |
10015 * Makefile.in: Add them to the appropriate lists. | |
10016 | |
10017 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10018 | |
10019 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
10020 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
10021 | |
10022 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
10023 float-fmt.cc: New files. | |
10024 * Makefile.in: Include them in the appropriate lists. | |
10025 | |
10026 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10027 | |
10028 * dMatrix.cc (Qzval): New function. | |
10029 | |
10030 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10031 | |
10032 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
10033 char*. | |
10034 | |
10035 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
10036 Use F77_XFCN to call Fortran subroutine. | |
10037 * dColVector.cc, CColVector.cc: Likewise. | |
10038 * dRowVector.cc, CRowVector.cc: Likewise. | |
10039 * NPSOL.h, NPSOL.cc: Likewise. | |
10040 * CmplxCHOL.cc: Likewise. | |
10041 * dbleCHOL.cc: Likewise. | |
10042 * CMatrix.cc: Likewise. | |
10043 * dMatrix.cc: Likewise. | |
10044 * QPSOL.cc: Likewise. | |
10045 * LSODE.cc: Likewise. | |
10046 | |
10047 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10048 | |
10049 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
10050 | |
10051 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
10052 workspace. Use F77_XFCN to call Fortran subroutine. | |
10053 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
10054 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
10055 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
10056 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
10057 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
10058 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
10059 * dbleHESS.h, dbleHESS.cc: Likewise. | |
10060 * dbleSVD.h, dbleSVD.cc: Likewise. | |
10061 * EIG.h, EIG.cc; Likewise. | |
10062 * CollocWt.cc: Likewise. | |
10063 * NLEqn.cc: Likewise. | |
10064 * Quad.cc: Likewise. | |
10065 | |
10066 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10067 | |
10068 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
10069 Use F77_XFCN to call Fortran subroutine. | |
10070 * CmplxLU.h, CmplxLU.cc: Ditto. | |
10071 * dbleQR.h, dbleQR.cc: Ditto. | |
10072 * CmplxQR.h, CmplxQR.cc: Ditto. | |
10073 * dbleQRP.h, dbleQRP.cc: Ditto. | |
10074 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
10075 | |
10076 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
10077 (struct DIR): delete forward declaration. | |
10078 (dir_entry::operator = (const dir_entry$)): Protect against | |
10079 copying same object. | |
10080 * dir-ops.cc: Cast dir appropriately. | |
10081 | |
10082 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10083 | |
10084 * lo-error.cc: Moved to libcruft/misc. | |
10085 * Makefile.in: Delete it from the list. | |
10086 | |
10087 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
10088 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
10089 | |
10090 * Array-flags.h: New file. | |
10091 * Array-idx.h: Include it here. | |
10092 * Makefile.in (MATRIX_INC): Add it to the list. | |
10093 | |
10094 * Array-flags.cc: Renamed from Array-ext.cc. | |
10095 (liboctave_dfi_flag): Renamed from dfi_flag. | |
10096 (liboctave_pcv_flag): Renamed from pcv_flag. | |
10097 (liboctave_pzo_flag): Renamed from pzo_flag. | |
10098 (liboctave_rre_flag): Renamed from rre_flag. | |
10099 * Array-idx.h: Change all uses of dfi_flag, etc. | |
10100 * Makefile.in (MATRIX_SRC): Change file name here too. | |
10101 | |
10102 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
10103 (stamp-shared): Use them here. | |
10104 | |
10105 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10106 | |
10107 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
10108 argument value. | |
10109 | |
10110 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10111 | |
10112 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
10113 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
10114 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
10115 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
10116 Clean up constructors, assigment operator. | |
10117 | |
10118 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10119 | |
10120 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
10121 Check f77_exception_encountered on return. | |
10122 | |
10123 * f77-fcn.c (f77_exception_encountered): New variable. | |
10124 (F77_XFCN): Set it. | |
10125 * f77-fcn.h: Provide declaration. | |
10126 | |
10127 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
10128 | |
10129 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
10130 | |
10131 * NLEqn.h (NLEqn_options::set_options): New function. | |
10132 * Quad.h (Quad_options::set_options): Likewise. | |
10133 | |
10134 * LP.h (class LP): Add accessors for LP data. | |
10135 | |
10136 * NLEqn.h (NLEqn::n): Delete. | |
10137 | |
10138 * NLEqn.h (class NLEqn::n): Likewise. | |
10139 | |
10140 * NLP.h (class NLP): Add accessors for NLP data. | |
10141 | |
10142 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
10143 access functions here. | |
10144 * NPSOL.cc.cc: From here. | |
10145 | |
10146 * QLD.h (class QLD): Add destructor definition. | |
10147 * Objective.h (class Objective): Likewise. | |
10148 * ODEFunc.h (class ODEFunc): Likewise. | |
10149 * NLFunc.h (class NLFunc): Likewise. | |
10150 * NLEqn.h (class NLEqn): Likewise. | |
10151 * NLConst.h (class NLConst): Likewise. | |
10152 * LinConst.h (class LinConst): Likewise. | |
10153 * LSODE.h (class LSODE_options): Likewise. | |
10154 * CollocWt.h (class CollocWt): Likewise. | |
10155 * Bounds.h (class Bounds): Likewise. | |
10156 | |
10157 * QLD.cc (QLD::set_default_options): Delete. | |
10158 | |
10159 * QP.h (QP): Add accessors for QP data. | |
10160 Add copy constructor, operator =, and destructor definitions. | |
10161 | |
10162 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
10163 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
10164 DAEFunc.h, CollocWt.h, Bounds.h: | |
10165 Clean up constructors, assigment operator. | |
10166 | |
10167 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
10168 counting to avoid duplicating the data immediately. | |
10169 * dColVector.cc (ColumnVector::transpose): Likewise. | |
10170 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
10171 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
10172 | |
10173 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10174 | |
10175 * prog-args.h (prog_args::option_argument): New enum. | |
10176 | |
10177 * f77-fcn.h: Rename from f77-uscore.h. | |
10178 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
10179 * f77-fcn.c: New file. | |
10180 * Makefile.in (SOURCES): Add it to the list. | |
10181 | |
10182 * ODEFunc.h: Clean up. | |
10183 | |
10184 * DASSL.cc, DASSL.h: New files. | |
10185 * Makefile.in: Add them to the appropriate lists. | |
10186 | |
10187 * LSODE.cc, LSODE.h: New files. | |
10188 * Makefile.in: Add them to the appropriate lists. | |
10189 | |
10190 * ODE.cc: Delete. | |
10191 * Makefile.in (SOURCES): Remove from list. | |
10192 | |
10193 * base-de.h, DAE.cc: New files. | |
10194 * Makefile.in: Add them to the appropriate lists. | |
10195 * ODE.h: Only define interface for ODE classes. | |
10196 * DAE.h: Only define interface for ODE classes. | |
10197 | |
10198 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
10199 (LPsolve::set_default_options)): Delete | |
10200 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
10201 destructor. | |
10202 | |
10203 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
10204 | |
10205 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
10206 (QPSOL::operator =): Call base class operator = instead of assuming | |
10207 we know what to copy. | |
10208 | |
10209 * base-min.h (size): New function. | |
10210 | |
10211 * NLP.h (NLP::size): Delete. | |
10212 (NLP::NLP (const NLP&)): New constructor. | |
10213 (NLP::operator =): Call base class operator = instead of assuming | |
10214 we know what to copy. | |
10215 | |
10216 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
10217 (class NPSOL): Add operator = and destructor. | |
10218 | |
10219 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
10220 | |
10221 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10222 | |
10223 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
10224 | |
10225 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10226 | |
10227 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
10228 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
10229 | |
10230 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10231 | |
10232 * prog-args.h, prog-args.cc: New files. | |
10233 * Makefile.in: Add them to lists. | |
10234 | |
10235 * getopt.h, getopt.c, getopt1.c: New files. | |
10236 * Makefile.in: Add them to the lists. | |
10237 | |
10238 * oct-term.h, oct-term.cc: New files. | |
10239 * Makefile.in: Add them to the lists. | |
10240 | |
10241 * str-vec.cc: New file. | |
10242 * Makefile.in (SOURCES): Add it to the list. | |
10243 | |
10244 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
10245 | |
10246 * tempname.c, tempnam.c: Move here from src directory. | |
10247 * Makefile.in: Add to lists. | |
10248 | |
10249 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10250 | |
10251 * cmd-hist.h, cmd-hist.cc: New files. | |
10252 * Makefile.in: Add them to lists. | |
10253 | |
10254 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10255 | |
10256 * oct-glob.h, oct-glob.cc: New files. | |
10257 * Makefile.in: Add them to lists. | |
10258 | |
10259 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10260 | |
10261 * pathsearch.h, pathsearch.cc: New files. | |
10262 * Makefile.in: Add them to lists. | |
10263 | |
10264 * dir-ops.h, dir-ops.cc: New files. | |
10265 * sysdir.h: Move here from src directory. | |
10266 * Makefile.in: Add them to lists. | |
10267 | |
10268 * Array.h (Array::qsort): Return *this, not void. | |
10269 * str-vec.h (string_vector::qsort): Likewise. | |
10270 | |
10271 * chMatrix.cc (row_as_string): Resize result to eliminate | |
10272 unnecessary NULs. | |
10273 | |
10274 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10275 | |
10276 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
10277 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
10278 Files moved here from src directory. | |
10279 * Makefile.in: Add them to lists. Include appropriate rules. | |
10280 | |
10281 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10282 Use pointers, not references (this is C code!). | |
10283 | |
10284 * oct-math.h: New file. | |
10285 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10286 Files moved here from src directory. | |
10287 * Makefile.in: Add them to lists. | |
10288 | |
10289 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10290 | |
10291 * idx-vector.cc (make_uniq): Fix major brain-o. | |
10292 | |
10293 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
10294 Convert to use string class instead of char*. | |
10295 | |
10296 * str-vec.h, Array-str.cc: New files. | |
10297 | |
10298 * Array.h (Array::qsort): New function. | |
10299 | |
10300 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10301 | |
10302 * Array.h: Nest ArrayRep class inside Array class. | |
10303 Refer to ArrayRep, not ArrayRep<T>. | |
10304 Move all ArrayRep functions inline. | |
10305 Don't declare other Array classes as friends of ArrayRep. | |
10306 * Array.cc: Delete ArrayRep functions. | |
10307 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
10308 | |
10309 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
10310 Don't instantiate ArrayRep objects. | |
10311 | |
10312 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10313 | |
10314 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10315 New constructor. | |
10316 | |
10317 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10318 | |
10319 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
10320 for balance_job arg. | |
10321 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
10322 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
10323 | |
10324 * chMatrix.cc (row_as_string): Return string, not const char*. | |
10325 | |
10326 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10327 | |
10328 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
10329 | |
10330 * chMatrix.cc (row_as_string): Undo previous change. | |
10331 | |
10332 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10333 | |
10334 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
10335 is expected to save string if necessary. | |
10336 | |
10337 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10338 | |
10339 * Array.h (class DiagArray): Enable nested Proxy class for all | |
10340 platforms. | |
10341 | |
10342 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
10343 a.rep, don't mess with count. | |
10344 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
10345 don't do anything if reps are the same. | |
10346 (Array3<T>& operator = (const Array3<T>&) | |
10347 | |
10348 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
10349 Declare private with no definition to prevent misuse. | |
10350 | |
10351 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
10352 Get range check right. | |
10353 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
10354 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
10355 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10356 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
10357 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
10358 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
10359 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10360 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
10361 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
10362 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
10363 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
10364 * dColVector.cc | |
10365 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10366 * CRowVector.cc | |
10367 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
10368 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
10369 * CColVector.cc | |
10370 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10371 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
10372 | |
10373 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
10374 Also fill in zeros, not just the diagonal. | |
10375 | |
10376 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
10377 Use END parameter properly. | |
10378 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
10379 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
10380 | |
10381 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
10382 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
10383 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
10384 Don't copy count. Set it to 1. | |
10385 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
10386 | |
10387 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
10388 don't set rep->count to 1 here (now handled by ArrayRep | |
10389 constructors). | |
10390 (Array<T>::Array (void)): Ditto. | |
10391 (Array<T>::Array (int)): Ditto. | |
10392 (Array<T>::T& elem (int)): Ditto. | |
10393 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
10394 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
10395 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
10396 (Array<T>::resize (int)): Ditto. | |
10397 (Array<T>::resize (int, const T&)) :Ditto. | |
10398 (Array<T>::fortran_vec (void)): Ditto. | |
10399 (Array2<T>::resize (int, int)): Ditto. | |
10400 (Array2<T>::resize (int, int, const T&)): Ditto. | |
10401 (DiagArray<T>::resize (int, int)): Ditto. | |
10402 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
10403 | |
10404 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10405 | |
10406 * Array-ch.cc: Rename from Array-c.cc. | |
10407 * MArray-ch.cc: Rename from MArray-c.cc. | |
10408 * chMatrix.cc: Rename from cMatrix.cc. | |
10409 * chMatrix.h: Rename from cMatrix.h. | |
10410 * Makefile.in (TI_SRC): Use new names here. | |
10411 * mx-base.h: Likewise. | |
10412 | |
10413 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10414 | |
10415 * Makefile.in: Handle shared libraries. | |
10416 | |
10417 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10418 | |
10419 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
10420 Correctly compute length of return value. Correct rows and | |
10421 columns in zgemv call. | |
10422 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
10423 | |
10424 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10425 | |
10426 * Makefile.in (stamp-picdir): New target. | |
10427 (all): Depend on it. | |
10428 | |
10429 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10430 | |
10431 * Makefile.in (INCLUDES): Remove QLD.h. | |
10432 (SOURCES): Remove QLD.cc. | |
10433 | |
10434 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10435 | |
10436 * dMatrix.cc (Matrix::inverse): New arg, force. | |
10437 If force is nonzero, invert even if matrix is singular. | |
10438 (ComplexMatrix::inverse): Likewise. | |
10439 | |
10440 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
10441 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
10442 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
10443 Include "oct-cmplx.h" instead of <Complex.h>. | |
10444 | |
10445 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
10446 for class Complex. | |
10447 | |
10448 * oct-cmplx.h: New file. | |
10449 * Makefile.in (INCLUDES): Add it to the list. | |
10450 | |
10451 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
10452 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
10453 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
10454 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
10455 Avoid g++ bugs. | |
10456 | |
10457 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10458 | |
10459 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
10460 | |
10461 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
10462 | |
10463 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10464 | |
10465 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
10466 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
10467 | |
10468 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10469 | |
10470 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
10471 index vector object with Array, not ArrayRep. | |
10472 | |
10473 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10474 | |
10475 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
10476 if index is a colon and resizing is maybe needed. | |
10477 | |
10478 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10479 | |
10480 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
10481 if we have a vector of 1's. | |
10482 | |
10483 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
10484 current orientation, require index and rhs to conform unless | |
10485 do_fortran_indexing flag is set. | |
10486 | |
10487 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10488 | |
10489 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
10490 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
10491 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
10492 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
10493 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
10494 Massive changes to support additional data types. Only charMatrix | |
10495 is currently used in Octave. | |
10496 | |
10497 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10498 | |
10499 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
10500 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
10501 Simply call Array2<Complex> version. | |
10502 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
10503 call Array2<double> version. | |
10504 | |
10505 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
10506 | |
10507 * Array.h, Array.cc: Massive overhaul to support new way of | |
10508 handling indexing. | |
10509 * idx-vector.h, idx-vector.cc: Likewise. | |
10510 * Array-ext.cc, Array-idx.h: New files. | |
10511 * Makefile.in: Add them to the appropriate lists. | |
10512 | |
10513 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10514 | |
10515 * Range.cc (nelem_internal): Use tfloor here, not round. | |
10516 | |
10517 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10518 | |
10519 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
10520 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
10521 | |
10522 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10523 | |
10524 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
10525 | |
10526 * Array.h: Move simple member functions here. | |
10527 * Array.cc: From here. | |
10528 | |
10529 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10530 | |
10531 * Range.cc (tfloor, tceil, round): New static functions. | |
10532 (Range::nelem_internal): Rewrite to use better method. | |
10533 | |
10534 * dbleSVD.h (SVD::type): New item, sigma_only. | |
10535 (type_computed): New var. | |
10536 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
10537 Handle possible error condition. | |
10538 (init): Allow for SVD::sigma_only, save type computed. | |
10539 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
10540 Handle possible error condition. | |
10541 (init): Allow for SVD::sigma_only, save type computed. | |
10542 | |
10543 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10544 | |
10545 * Nearly all non-matrix .h and .cc files: | |
10546 Move short function bodies into class declarations for inlining. | |
10547 Generally clean up. | |
10548 | |
10549 * base-min.h: New file. | |
10550 * LP.h (class LP): Derive from base_minimizer. | |
10551 * QLP.h (class QLP): Derive from base_minimizer. | |
10552 * NLP.h (class NLP): Derive from base_minimizer. | |
10553 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
10554 | |
10555 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
10556 NLFunc.cc, Objective.cc and QP.cc from list. | |
10557 | |
10558 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10559 | |
10560 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
10561 (SCHUR::SCHUR): Delete unused parameter ord. | |
10562 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
10563 | |
10564 * CRowVector.cc | |
10565 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
10566 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
10567 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
10568 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
10569 Actually do something. | |
10570 | |
10571 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
10572 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
10573 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
10574 | |
10575 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
10576 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
10577 tolerances. | |
10578 | |
10579 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
10580 * LPsolve.cc (LPsolve::minimize): Likewise. | |
10581 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
10582 * ODE.cc (lsode_f, lsode_j): Likewise. | |
10583 * QPSOL.cc (qphess): Likewise. | |
10584 | |
10585 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10586 | |
10587 * dMatrix.cc: Include <cstring>. | |
10588 | |
10589 * Array.cc: Try harder to avoid warnings from gcc in functions | |
10590 that return bogus values after calling the error handler. | |
10591 | |
10592 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10593 | |
10594 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
10595 | |
10596 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
10597 | |
10598 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10599 | |
10600 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
10601 (dassl_j): Likewise. | |
10602 | |
10603 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
10604 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
10605 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
10606 Update for change in for loop variable scope for gcc 2.7.0. | |
10607 | |
10608 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10609 | |
10610 * Makefile.in: Only include dependency files if $(omit_deps) is | |
10611 not set. | |
10612 | |
10613 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
10614 | |
10615 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
10616 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
10617 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
10618 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
10619 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
10620 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
10621 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
10622 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
10623 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
10624 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
10625 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
10626 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
10627 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
10628 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
10629 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
10630 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
10631 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
10632 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
10633 NLP.h: Use pragma interface/implementation. Don't surround | |
10634 contents in extern "C++". | |
10635 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
10636 | |
10637 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10638 | |
10639 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
10640 identifiers. | |
10641 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10642 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10643 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10644 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10645 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10646 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10647 Quad.cc: Change usage of F77_FCN to match new definition | |
10648 | |
10649 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10650 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10651 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10652 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10653 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10654 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10655 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
10656 args by reference instead of pointer. Change all callers. | |
10657 | |
10658 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10659 | |
10660 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
10661 functions. Make += and -= operators friend functions. | |
10662 | |
10663 * Array.h (Array2::~Array2, Array3::~Array3, | |
10664 DiagArray::~DiagArray): New functions. | |
10665 | |
10666 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10667 | |
10668 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
10669 (MATRIX_INC): Don't distribute mx-kludge.h. | |
10670 | |
10671 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10672 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10673 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10674 dRowVector.h dRowVector.cc: | |
10675 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
10676 Array2, and DiagArray2. | |
10677 Don't use functions defined in mx-kludge.cc for arithmetic | |
10678 like-type operations on arrays. | |
10679 | |
10680 * MArray.cc: Use the classes defined here like-type mathematical | |
10681 operations on Array objects. Abuse CPP more. | |
10682 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
10683 (EXTRAS): Delete it from this list. | |
10684 | |
10685 * MArray-C.cc, MArray-d.cc: New files. | |
10686 * Makefile.in (TI_SRC): Add them to the list. | |
10687 | |
10688 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10689 | |
10690 * mx-kludge.cc: Abuse CPP even more. | |
10691 | |
10692 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10693 | |
10694 * Objective.h (objective_function): Add missing const. | |
10695 (gradient_function): Likewise. | |
10696 | |
10697 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10698 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10699 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10700 dRowVector.h dRowVector.cc: | |
10701 Reorganize to declare and define friends where they should be, | |
10702 based on the use of private constructors. | |
10703 | |
10704 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10705 | |
10706 * CRowVector.h (linspace): Add declaration. | |
10707 * dRowVector.h (linspace): Likewise. | |
10708 | |
10709 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
10710 Force result of rcond + 1.0 to be stored. | |
10711 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
10712 ComplexMatrix::solve): Likewise. | |
10713 | |
10714 See ChangeLog.1 in the top level directory for earlier changes. |