Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 8751:9f7ce4bf7650
optimize min/max functions
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 16 Feb 2009 08:52:00 +0100 |
parents | 8af4ba6b4216 |
children | 06b9903a029b |
rev | line source |
---|---|
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
1 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
2 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
3 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
4 * 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
|
5 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
6 (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
|
7 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
8 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
9 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
10 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
11 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
12 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
13 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
14 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
|
15 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
16 * 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
|
17 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
18 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
19 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
|
20 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
21 * 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
|
22 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
|
23 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
24 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
|
25 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
26 * 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
|
27 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
|
28 (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
|
29 (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
|
30 (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
|
31 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
32 * 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
|
33 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
34 * 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
|
35 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
36 * 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
|
37 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
|
38 * 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
|
39 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
|
40 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
41 * 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
|
42 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
43 * 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
|
44 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
45 * 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
|
46 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
|
47 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
48 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
|
49 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
50 * 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
|
51 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
52 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
53 * 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
|
54 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
55 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
56 * 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
|
57 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
58 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
59 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
|
60 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
61 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
62 (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
|
63 * 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
|
64 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
65 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
66 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
67 * 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
|
68 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
|
69 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
70 (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
|
71 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
|
72 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
73 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
74 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
|
75 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
76 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
77 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
78 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
79 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
80 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
81 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
82 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
83 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
84 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
85 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
86 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
87 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
88 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
89 (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
|
90 |
8725 | 91 2009-02-12 John W. Eaton <jwe@octave.org> |
92 | |
93 * lo-traits.h: New file. | |
94 * Makefile.in (INCLUDES): Add it to the list. | |
95 | |
96 * Array.h (compare_fcn_type): New typedef. | |
97 * oct-sort.h (compare_fcn_type): Ditto. | |
98 | |
99 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
100 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
101 Use typedef to simplify decl. | |
102 (octave_sort<T>::ascending_compare, | |
103 octave_sort<T>::descending_compare): | |
104 Use ref_param<T>::type for parameter decl. | |
105 | |
106 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
107 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
108 | |
109 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
110 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
111 all uses. Use typedef for return value to simplify decl. | |
112 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
113 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
114 of sortrows_comparator. | |
115 | |
116 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
117 descending_compare, nan_ascending_compare, | |
118 nan_descending_compare): | |
119 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
120 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
121 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
122 * 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
|
123 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
124 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
125 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
126 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
127 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
128 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
129 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
130 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
131 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
132 * 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
|
133 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
134 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
135 * 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
|
136 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
137 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
138 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
139 |
8700 | 140 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
141 | |
142 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
143 inlined comparison functor and by-the-way indexed sorting. | |
144 * oct-sort.h (octave_sort<T>): Update interface. | |
145 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
146 mechanism. | |
147 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
148 Array-i.cc: Reflect changes. | |
149 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
150 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
|
151 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
152 * 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
|
153 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
|
154 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
155 * 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
|
156 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
|
157 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
|
158 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
|
159 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
|
160 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
161 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
162 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
163 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
164 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
|
165 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
166 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
167 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
168 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
|
169 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
170 * 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
|
171 * 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
|
172 * 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
|
173 * 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
|
174 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
175 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
176 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
177 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
178 * 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
|
179 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
180 * 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
|
181 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
182 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
183 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
184 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
|
185 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
186 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
187 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
188 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
189 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
190 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
191 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
192 * 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
|
193 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
194 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
195 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
|
196 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
197 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
198 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
199 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
200 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
201 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
202 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
203 (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
|
204 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
|
205 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
206 * 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
|
207 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
208 (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
|
209 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
|
210 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
211 * 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
|
212 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
213 (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
|
214 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
|
215 |
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
|
216 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
|
217 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
218 * 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
|
219 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
220 * 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
|
221 * 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
|
222 * 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
|
223 * 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
|
224 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
225 * 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
|
226 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
227 * 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
|
228 * 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
|
229 * 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
|
230 * 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
|
231 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
232 * 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
|
233 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
234 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
|
235 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
236 * 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
|
237 * 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
|
238 * 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
|
239 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
240 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
|
241 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
242 * 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
|
243 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
244 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
|
245 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
246 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
|
247 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
248 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 249 (Matrix::Matrix (const ColumnVector&)): Ditto. |
250 (Matrix::row): Ditto. | |
251 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
252 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
253 * 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
|
254 shallow copy. |
8628 | 255 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
256 (FloatMatrix::row): Ditto. | |
257 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
258 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
259 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
260 Use shallow copy. |
8628 | 261 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
262 (ComplexMatrix::row): Ditto. | |
263 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
264 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
265 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
266 Use shallow copy. |
8628 | 267 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
268 (FloatComplexMatrix::row): Ditto. | |
269 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
270 |
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
|
271 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
|
272 |
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
|
273 * 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
|
274 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
|
275 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
276 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
277 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
278 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
279 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
280 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
281 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
282 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
283 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
284 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
285 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
286 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
287 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
288 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
289 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
290 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
291 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
292 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
293 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
294 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
295 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
296 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
297 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
298 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
299 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
300 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
301 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
302 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
303 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
304 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
305 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
306 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
307 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
308 * 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
|
309 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
310 (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
|
311 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
312 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
313 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
314 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
315 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 316 * 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
|
317 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
318 |
8565 | 319 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
320 | |
321 * Range.cc (sort_internal): Add missing test. | |
322 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
323 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
324 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
325 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
326 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
327 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
328 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
|
329 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
330 * 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
|
331 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
332 * (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
|
333 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
334 * (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
|
335 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
336 * (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
|
337 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
338 * (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
|
339 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
340 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
341 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
342 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
343 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
344 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
345 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
346 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
347 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
348 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
349 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
350 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
351 |
8549 | 352 2009-01-20 John W. Eaton <jwe@octave.org> |
353 | |
354 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
355 (class file_stat): Derive from base_file_stat. | |
356 (class file_fstat): New class, derived from base_file_stat. | |
357 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
358 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
359 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
360 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
361 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
362 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
363 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
364 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
365 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
366 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
367 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
368 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
369 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
370 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
|
371 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
372 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
373 (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
|
374 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
375 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
376 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
377 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
378 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
379 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
380 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
381 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
382 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
383 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
384 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
385 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
386 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
387 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
388 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
389 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
390 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
391 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
392 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
393 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
394 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
395 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
396 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
397 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
398 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
399 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
400 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
401 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
402 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
403 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
404 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
405 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
406 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
407 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
408 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
409 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
410 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
411 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
412 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
413 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
414 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
415 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
416 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
417 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
418 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
419 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
420 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
421 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
422 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
423 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
424 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
425 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
426 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
427 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
428 * 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
|
429 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
430 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
431 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
432 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
433 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
434 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
435 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
436 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
437 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
438 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
439 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
440 * 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
|
441 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 442 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
443 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
444 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
445 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
446 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
447 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
448 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
449 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
450 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
451 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
452 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
453 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
454 * 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
|
455 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
456 (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
|
457 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
458 (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
|
459 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
460 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
461 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
462 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
463 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
464 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
465 |
8521 | 466 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
467 | |
468 * oct-md5.cc: Include <cstdio>. | |
469 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
470 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
471 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
472 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
473 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
474 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
475 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
476 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
477 (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
|
478 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
479 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
480 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
481 * 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
|
482 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
483 |
8410 | 484 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
485 | |
486 * Array.cc (rec_permute_helper): New class. | |
487 (Array<T>::permute): Rewrite using the recursive algorithm. | |
488 | |
8403 | 489 2008-12-12 David Bateman <dbateman@free.fr> |
490 | |
491 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
492 factorization. | |
493 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
494 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
|
495 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
496 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
497 * 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
|
498 (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
|
499 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
500 |
8397 | 501 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
502 | |
503 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
504 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
505 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
506 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
507 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
508 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
509 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
510 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
511 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
512 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
513 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
514 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
515 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
516 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
517 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
518 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
519 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
520 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
521 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
522 * 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
|
523 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
524 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
525 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
526 * 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
|
527 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
528 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
529 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
|
530 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
531 * 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
|
532 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
533 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
|
534 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
535 * 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
|
536 * 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
|
537 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 538 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
539 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
540 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
541 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
542 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
543 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
544 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
545 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
546 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
547 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
548 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
549 * 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
|
550 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
551 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
552 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
553 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
|
554 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
|
555 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
|
556 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
|
557 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
558 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
|
559 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
560 * 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
|
561 (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
|
562 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
|
563 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
564 * 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
|
565 * 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
|
566 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
567 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
568 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
569 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
570 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
571 * 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
|
572 (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
|
573 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
|
574 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
575 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
576 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
|
577 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
578 * 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
|
579 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
580 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
581 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
582 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
583 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
584 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
585 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
586 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
587 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
588 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
589 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
590 |
8369 | 591 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
592 | |
593 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
594 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
595 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
|
596 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
597 * 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
|
598 * 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
|
599 * 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
|
600 * 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
|
601 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
602 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
603 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
604 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
605 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
606 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
607 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
608 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
609 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
610 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
611 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
612 * 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
|
613 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
614 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
615 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
616 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
617 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
618 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
619 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
620 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
621 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
622 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
623 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
624 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
625 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
626 * 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
|
627 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
628 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
629 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
630 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
631 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
632 * 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
|
633 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
634 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
635 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
636 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
637 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
638 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
639 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
640 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
641 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
642 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
643 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
644 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
645 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
646 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
647 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
648 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
649 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
650 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
651 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
652 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
653 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
654 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
655 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
656 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
657 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
658 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
659 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
660 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
661 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
662 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
663 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
664 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
665 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
666 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
667 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
668 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
669 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
670 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
671 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
672 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
673 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
674 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
675 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
676 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
677 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
678 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
679 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
680 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
681 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
682 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
683 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
684 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
685 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
686 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
687 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
688 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
689 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
690 * 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
|
691 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
692 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
693 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
694 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
695 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
696 (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
|
697 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
698 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
699 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
700 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
701 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
702 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
703 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
704 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
705 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
706 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
707 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
708 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
709 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
710 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
711 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
712 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
713 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
714 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
715 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
716 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
717 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
718 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
719 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
720 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
721 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
722 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
723 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
724 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
725 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
726 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
727 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
728 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
729 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
730 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
731 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
732 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
733 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
734 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
735 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
736 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
|
737 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
738 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
|
739 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
740 * 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
|
741 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
742 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
743 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
744 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
745 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
746 * 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
|
747 |
8335 | 748 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
749 | |
750 * DET.h: New source. | |
751 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
752 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
753 * Makefile.in: Reflect changes. | |
754 * mx-defs.h: Remove DET decls. | |
755 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
756 dSparse.h, CSparse.h: Include only DET.h. | |
757 * dMatrix.cc (Matrix::determinant), | |
758 fMatrix.cc (FloatMatrix::determinant), | |
759 CMatrix.cc (ComplexMatrix::determinant), | |
760 fCMatrix.cc (FloatComplexMatrix::determinant), | |
761 dSparse.cc (SparseMatrix::determinant), | |
762 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
763 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
764 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
765 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
766 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
767 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
|
768 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
769 |
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
|
770 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
|
771 |
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
|
772 * 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
|
773 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
|
774 |
8324 | 775 2008-11-14 David Bateman <dbateman@free.fr> |
776 | |
777 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
778 resize_fill_value. | |
779 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
780 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
781 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
782 * 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
|
783 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
784 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
785 * 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
|
786 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
|
787 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
|
788 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
789 * 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
|
790 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
|
791 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
792 * 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
|
793 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
794 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
795 * 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
|
796 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
797 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
798 |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
799 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
800 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
801 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
802 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
803 |
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
|
804 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
|
805 |
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
|
806 * 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
|
807 (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
|
808 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
|
809 Array<T>::resize. |
8628 | 810 (row_norms (const MArray2<T>&, ...)): Ditto. |
811 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
812 (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
|
813 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
814 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
815 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
816 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
817 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
818 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
819 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
820 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
821 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
822 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
823 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
824 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
825 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
826 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
827 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
|
828 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
829 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
830 |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
831 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
|
832 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
833 * 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
|
834 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
835 * 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
|
836 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
837 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
838 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
839 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
840 * 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
|
841 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
842 * 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
|
843 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
844 |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
845 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
|
846 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
847 * 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
|
848 (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
|
849 std::abs. |
8628 | 850 * 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
|
851 |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
852 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
853 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
854 * 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
|
855 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
856 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
857 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
858 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
859 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
860 * 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
|
861 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
862 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
863 * 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
|
864 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
865 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
866 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
867 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
868 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
869 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
870 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
871 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
872 * 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
|
873 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
874 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
875 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
876 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
877 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
|
878 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
879 * 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
|
880 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
|
881 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
882 |
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
|
883 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
|
884 |
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
|
885 * 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
|
886 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
|
887 (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
|
888 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
|
889 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
890 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
|
891 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
892 * 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
|
893 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
894 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
895 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
|
896 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
897 * 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
|
898 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
|
899 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
900 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
|
901 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
902 * 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
|
903 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
904 |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
905 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
|
906 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
907 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
908 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
909 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
910 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
911 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
912 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
913 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
914 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
915 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
916 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
917 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
918 |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
919 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
920 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
921 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
922 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
|
923 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
924 (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
|
925 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
926 |
8198 | 927 2008-10-08 John W. Eaton <jwe@octave.org> |
928 | |
929 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
930 sparse arguments rather than rely on extern function. | |
931 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
932 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
|
933 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
934 * 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
|
935 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
|
936 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
937 (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
|
938 |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
939 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
940 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
941 * 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
|
942 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
943 |
8187 | 944 2008-10-06 David Bateman <dbateman@free.fr> |
945 | |
946 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
947 sparse arguments rather than rely on extern function. | |
948 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
949 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
|
950 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
951 * 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
|
952 |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
953 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
954 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
955 * 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
|
956 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
957 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
958 * 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
|
959 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
960 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
961 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
962 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
963 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
964 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
965 * 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
|
966 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
967 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
|
968 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
969 * 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
|
970 * 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
|
971 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
|
972 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
|
973 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
974 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
975 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
976 * 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
|
977 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
978 * 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
|
979 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
980 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
981 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
|
982 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
983 * 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
|
984 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
985 |
8182 | 986 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
987 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
988 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
989 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
990 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
991 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
|
992 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
993 * 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
|
994 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
995 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
996 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
997 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
998 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
999 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1000 (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
|
1001 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1002 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1003 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1004 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1005 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
|
1006 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1007 * 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
|
1008 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
|
1009 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1010 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
|
1011 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1012 * 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
|
1013 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1014 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
|
1015 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1016 * 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
|
1017 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
|
1018 (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
|
1019 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1020 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1021 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1022 * 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
|
1023 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1024 (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
|
1025 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
|
1026 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1027 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
|
1028 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1029 * 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
|
1030 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1031 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1032 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1033 * 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
|
1034 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1035 |
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
|
1036 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
|
1037 |
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
|
1038 * 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
|
1039 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
|
1040 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
|
1041 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
|
1042 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
|
1043 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
|
1044 (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
|
1045 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
|
1046 (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
|
1047 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
|
1048 (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
|
1049 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
|
1050 (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
|
1051 (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
|
1052 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
|
1053 (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
|
1054 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
|
1055 (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
|
1056 (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
|
1057 (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
|
1058 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
|
1059 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
|
1060 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
|
1061 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
|
1062 (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
|
1063 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
|
1064 (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
|
1065 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
|
1066 octave_int<T>&, float)): New functions. |
8040 | 1067 |
1068 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
|
1069 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1070 * 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
|
1071 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1072 |
8040 | 1073 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
|
1074 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1075 * 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
|
1076 (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
|
1077 |
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
|
1078 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
|
1079 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1080 * 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
|
1081 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1082 * 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
|
1083 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
|
1084 |
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
|
1085 * 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
|
1086 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
|
1087 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1088 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
|
1089 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1090 * 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
|
1091 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
|
1092 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1093 * 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
|
1094 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
|
1095 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1096 * 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
|
1097 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1098 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1099 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
|
1100 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1101 * 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
|
1102 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
|
1103 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1104 (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
|
1105 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
|
1106 (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
|
1107 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1108 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1109 * 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
|
1110 (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
|
1111 * 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
|
1112 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1113 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1114 (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
|
1115 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
1116 (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
|
1117 (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
|
1118 (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
|
1119 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
|
1120 (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
|
1121 (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
|
1122 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
1123 * 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
|
1124 |
7999 | 1125 2008-07-30 John W. Eaton <jwe@octave.org> |
1126 | |
1127 * oct-inttypes.h: Style fixes. | |
1128 | |
8040 | 1129 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1130 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1131 * 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
|
1132 (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
|
1133 member functions. |
7999 | 1134 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
1135 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1136 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1137 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
1138 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1139 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
|
1140 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1141 * 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
|
1142 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
|
1143 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1144 (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
|
1145 (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
|
1146 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1147 (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
|
1148 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
|
1149 * 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
|
1150 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
1151 (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
|
1152 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
|
1153 * 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
|
1154 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
|
1155 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
|
1156 |
8040 | 1157 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 1158 |
1159 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
1160 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1161 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
|
1162 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1163 * 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
|
1164 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
|
1165 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
1166 * 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
|
1167 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
|
1168 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1169 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
|
1170 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
1171 * 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
|
1172 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1173 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1174 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1175 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1176 (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
|
1177 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1178 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1179 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1180 (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
|
1181 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1182 (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
|
1183 * 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
|
1184 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
1185 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1186 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1187 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1188 * 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
|
1189 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1190 * 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
|
1191 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
1192 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1193 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1194 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1195 * 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
|
1196 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
1197 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1198 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
|
1199 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1200 * 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
|
1201 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1202 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1203 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1204 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1205 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
|
1206 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1207 * 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
|
1208 (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
|
1209 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1210 (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
|
1211 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
1212 |
7934 | 1213 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
1214 | |
1215 * oct-mutex.h, oct-mutex.cc: New files. | |
1216 * Makefile.in: Add them to appropriate lists. | |
1217 | |
7929 | 1218 2008-07-15 John W. Eaton <jwe@octave.org> |
1219 | |
1220 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
1221 descending arg as bool&. | |
1222 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
1223 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1224 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
|
1225 |
7924 | 1226 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
1227 number of rows or columns is 0. | |
1228 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
1229 | |
1230 * Array-util.cc (is_vector): Avoid GCC warning. | |
1231 * Array-f.cc (Array<float>::sort): Likewise. | |
1232 * Array-d.cc (Array<double>::sort): Likewise. | |
1233 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
1234 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
1235 ComplexMatrix&)): Likewise. | |
1236 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
1237 FloatMatrix&)): Likewise. | |
1238 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
1239 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
1240 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
1241 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
1242 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
1243 FloatIndefQuad::do_integrate): Likewise. | |
1244 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1245 * 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
|
1246 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
|
1247 * 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
|
1248 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1249 * 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
|
1250 * 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
|
1251 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1252 * 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
|
1253 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
|
1254 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
|
1255 * 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
|
1256 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
|
1257 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
1258 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1259 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
|
1260 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1261 * 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
|
1262 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1263 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
1264 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1265 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
|
1266 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1267 * 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
|
1268 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
1269 |
8040 | 1270 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
|
1271 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1272 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
1273 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1274 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
|
1275 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1276 * 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
|
1277 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
1278 |
7885 | 1279 2008-06-11 John W. Eaton <jwe@octave.org> |
1280 | |
1281 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
1282 * Makefile.in: Remove them from the lists. | |
1283 | |
7872 | 1284 2008-06-05 John W. Eaton <jwe@octave.org> |
1285 | |
1286 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
1287 counter if iterator is valid. | |
1288 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1289 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
|
1290 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
1291 * 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
|
1292 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
|
1293 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
|
1294 * 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
|
1295 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
|
1296 * 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
|
1297 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
|
1298 (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
|
1299 (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
|
1300 (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
|
1301 * 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
|
1302 * 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
|
1303 (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
|
1304 (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
|
1305 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1306 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1307 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1308 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1309 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1310 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
1311 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1312 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1313 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1314 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
1315 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1316 * 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
|
1317 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
1318 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1319 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1320 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1321 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1322 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1323 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1324 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1325 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1326 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1327 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1328 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1329 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1330 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
1331 |
8040 | 1332 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 1333 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1334 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1335 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1336 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1337 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1338 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1339 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1340 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1341 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1342 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1343 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1344 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
1345 |
7803 | 1346 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
1347 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1348 * 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
|
1349 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1350 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1351 (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
|
1352 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1353 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1354 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1355 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
1356 * 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
|
1357 * 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
|
1358 |
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
|
1359 * 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
|
1360 * 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
|
1361 (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
|
1362 (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
|
1363 * 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
|
1364 * 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
|
1365 (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
|
1366 (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
|
1367 |
7799 | 1368 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
1369 New template functions. | |
1370 (MatrixType::MatrixType (const Matrix&), | |
1371 MatrixType::MatrixType (const FloatMatrix&)): | |
1372 just call matrix_real_probe. | |
1373 (MatrixType::MatrixType (const ComplexMatrix&), | |
1374 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
1375 just call matrix_complex_probe. | |
1376 | |
1377 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
1378 add missing test for Unknown. | |
1379 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1380 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
|
1381 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1382 * 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
|
1383 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1384 (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
|
1385 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1386 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1387 * 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
|
1388 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1389 (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
|
1390 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1391 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1392 * 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
|
1393 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1394 (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
|
1395 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1396 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1397 * 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
|
1398 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1399 (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
|
1400 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1401 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
1402 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1403 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
1404 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1405 * 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
|
1406 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
|
1407 (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
|
1408 * 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
|
1409 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
|
1410 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1411 * 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
|
1412 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1413 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1414 * 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
|
1415 (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
|
1416 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1417 * 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
|
1418 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1419 * 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
|
1420 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1421 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1422 * 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
|
1423 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
|
1424 * 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
|
1425 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1426 * 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
|
1427 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1428 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1429 * 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
|
1430 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
|
1431 * 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
|
1432 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1433 * 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
|
1434 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1435 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1436 * 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
|
1437 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
|
1438 * 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
|
1439 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1440 * 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
|
1441 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1442 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1443 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1444 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
1445 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
|
1446 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
|
1447 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1448 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1449 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1450 * 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
|
1451 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1452 (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
|
1453 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1454 * 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
|
1455 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1456 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1457 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1458 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1459 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1460 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1461 * 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
|
1462 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1463 * 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
|
1464 * 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
|
1465 * 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
|
1466 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1467 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1468 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1469 * 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
|
1470 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1471 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1472 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1473 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1474 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1475 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1476 * 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
|
1477 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1478 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1479 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1480 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1481 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1482 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1483 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1484 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1485 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1486 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1487 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1488 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1489 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1490 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1491 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1492 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1493 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1494 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1495 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1496 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1497 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1498 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1499 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1500 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1501 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1502 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1503 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1504 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1505 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1506 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1507 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1508 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1509 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1510 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1511 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1512 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1513 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1514 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1515 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1516 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1517 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1518 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1519 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1520 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1521 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1522 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1523 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1524 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1525 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1526 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1527 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1528 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1529 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1530 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1531 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1532 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1533 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1534 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1535 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1536 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1537 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1538 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1539 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1540 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1541 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1542 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1543 * 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
|
1544 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1545 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1546 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1547 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1548 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1549 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1550 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
|
1551 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1552 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
|
1553 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1554 * 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
|
1555 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1556 * 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
|
1557 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
|
1558 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1559 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
|
1560 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
|
1561 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
|
1562 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
|
1563 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
|
1564 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
|
1565 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
1566 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1567 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
|
1568 |
7788 | 1569 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
1570 to avoid shadowed variable warning | |
1571 (double ComplexMatrix::rcond (void) const): New method for | |
1572 reciprocal condition number calculation. | |
1573 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1574 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
1575 to avoid shadowed variable warning | |
1576 (double ComplexMatrix::rcond (void) const): New method for | |
1577 reciprocal condition number calculation. | |
1578 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
1579 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
1580 to avoid shadowed variable warning | |
1581 (double Matrix::rcond (void) const): New method for | |
1582 reciprocal condition number calculation. | |
1583 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1584 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
1585 to avoid shadowed variable warning | |
1586 (double Matrix::rcond (void) const): New method for | |
1587 reciprocal condition number calculation. | |
1588 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
1589 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1590 * 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
|
1591 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1592 * 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
|
1593 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
1594 |
7776 | 1595 2008-05-19 David Bateman <dbateman@free.fr> |
1596 | |
1597 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
1598 incorrectly used. | |
1599 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1600 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1601 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1602 * 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
|
1603 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
|
1604 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
1605 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1606 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
|
1607 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
1608 * 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
|
1609 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
|
1610 * 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
|
1611 (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
|
1612 * 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
|
1613 * 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
|
1614 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1615 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
|
1616 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
1617 * 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
|
1618 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1619 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
|
1620 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1621 * 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
|
1622 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
|
1623 * 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
|
1624 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1625 (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
|
1626 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
1627 (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
|
1628 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
|
1629 (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
|
1630 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
|
1631 |
8040 | 1632 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 1633 |
1634 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
1635 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
1636 New functions. | |
1637 * lo-mappers.h: Provide decls. | |
1638 | |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1639 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
|
1640 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
1641 * 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
|
1642 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
|
1643 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1644 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
|
1645 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
1646 * 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
|
1647 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1648 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
|
1649 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1650 * 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
|
1651 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
1652 |
8040 | 1653 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
|
1654 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
1655 * 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
|
1656 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1657 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
|
1658 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1659 * 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
|
1660 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1661 * 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
|
1662 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1663 * 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
|
1664 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1665 * 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
|
1666 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
1667 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1668 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1669 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1670 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
1671 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
|
1672 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1673 * 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
|
1674 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
|
1675 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
1676 |
8040 | 1677 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1678 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1679 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1680 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1681 * 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
|
1682 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1683 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1684 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
1685 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1686 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
|
1687 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
1688 * 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
|
1689 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1690 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1691 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1692 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
1693 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1694 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1695 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1696 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
1697 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1698 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
|
1699 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1700 * 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
|
1701 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1702 * 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
|
1703 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
1704 * 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
|
1705 |
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
|
1706 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
|
1707 |
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
|
1708 * 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
|
1709 (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
|
1710 * 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
|
1711 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
|
1712 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
|
1713 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1714 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
|
1715 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1716 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1717 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1718 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1719 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
|
1720 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1721 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1722 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
1723 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1724 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1725 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
1726 |
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
|
1727 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
|
1728 |
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
|
1729 * 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
|
1730 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
|
1731 |
7619 | 1732 2008-03-21 David Bateman <dbateman@free.fr> |
1733 | |
1734 * oct-sparse.h: Add headers for amd.h. | |
1735 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1736 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
|
1737 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1738 * 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
|
1739 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1740 * 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
|
1741 * 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
|
1742 * 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
|
1743 * 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
|
1744 * 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
|
1745 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1746 * 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
|
1747 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1748 * 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
|
1749 * 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
|
1750 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1751 * 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
|
1752 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1753 * 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
|
1754 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1755 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1756 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1757 * 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
|
1758 * 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
|
1759 * 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
|
1760 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1761 * 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
|
1762 * 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
|
1763 * 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
|
1764 * 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
|
1765 * 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
|
1766 * 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
|
1767 * 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
|
1768 * 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
|
1769 * 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
|
1770 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1771 * 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
|
1772 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
|
1773 * 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
|
1774 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1775 * 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
|
1776 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1777 * 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
|
1778 * 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
|
1779 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
|
1780 * 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
|
1781 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1782 * 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
|
1783 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
|
1784 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1785 * 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
|
1786 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
|
1787 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1788 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1789 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1790 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1791 * 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
|
1792 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1793 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1794 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1795 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1796 * 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
|
1797 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1798 * 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
|
1799 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1800 * 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
|
1801 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1802 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1803 * 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
|
1804 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1805 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
1806 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1807 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
|
1808 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1809 * 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
|
1810 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
1811 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1812 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
|
1813 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
1814 * 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
|
1815 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
|
1816 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1817 * 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
|
1818 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1819 * 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
|
1820 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
1821 * 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
|
1822 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
|
1823 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
|
1824 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
|
1825 * 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
|
1826 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
|
1827 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
|
1828 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1829 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1830 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
1831 * 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
|
1832 * 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
|
1833 * 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
|
1834 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1835 * 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
|
1836 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
1837 * 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
|
1838 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
1839 * 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
|
1840 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
|
1841 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1842 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
|
1843 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
1844 * 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
|
1845 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
1846 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1847 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
|
1848 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1849 * 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
|
1850 * 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
|
1851 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
|
1852 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
1853 (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
|
1854 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
|
1855 (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
|
1856 (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
|
1857 (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
|
1858 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1859 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1860 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1861 * 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
|
1862 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
1863 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
|
1864 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
|
1865 (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
|
1866 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
1867 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
|
1868 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
1869 * 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
|
1870 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
|
1871 * 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
|
1872 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
|
1873 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1874 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1875 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
1876 * 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
|
1877 * 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
|
1878 * 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
|
1879 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1880 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1881 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1882 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1883 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1884 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1885 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1886 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1887 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
1888 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1889 * 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
|
1890 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1891 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1892 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1893 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1894 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1895 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1896 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1897 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1898 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
1899 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1900 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
|
1901 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1902 * 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
|
1903 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
1904 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1905 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
|
1906 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
1907 * 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
|
1908 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
|
1909 |
7545 | 1910 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1911 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1912 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1913 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1914 calculation of nlvl. |
7545 | 1915 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
1916 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1917 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
|
1918 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
1919 * 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
|
1920 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1921 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
|
1922 |
7536 | 1923 * oct-rand.cc (get_dist_id): Fix typo. |
1924 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
1925 fill_rand): Improve error messages. | |
1926 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
1927 * 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
|
1928 (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
|
1929 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
|
1930 (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
|
1931 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1932 * 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
|
1933 (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
|
1934 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
|
1935 (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
|
1936 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
|
1937 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
|
1938 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
|
1939 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
|
1940 (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
|
1941 (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
|
1942 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1943 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1944 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1945 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
1946 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
|
1947 (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
|
1948 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
|
1949 (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
|
1950 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1951 * 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
|
1952 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
1953 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1954 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
|
1955 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1956 * 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
|
1957 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1958 (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
|
1959 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
|
1960 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1961 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1962 * 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
|
1963 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
|
1964 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
1965 |
7520 | 1966 2008-02-22 John W. Eaton <jwe@octave.org> |
1967 | |
1968 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
1969 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
1970 sparse-dmsolve.cc: Use 0 instead of NULL. | |
1971 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1972 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
|
1973 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1974 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1975 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1976 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1977 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1978 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1979 * 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
|
1980 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1981 * 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
|
1982 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
|
1983 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
|
1984 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1985 * 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
|
1986 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
|
1987 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
|
1988 (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
|
1989 * 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
|
1990 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1991 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1992 * 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
|
1993 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
|
1994 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1995 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1996 * 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
|
1997 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
1998 * 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
|
1999 * 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
|
2000 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2001 (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
|
2002 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2003 * 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
|
2004 (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
|
2005 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2006 * 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
|
2007 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2008 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
|
2009 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2010 * 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
|
2011 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
|
2012 (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
|
2013 * 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
|
2014 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
|
2015 (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
|
2016 * 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
|
2017 * 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
|
2018 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2019 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
|
2020 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2021 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2022 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2023 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2024 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2025 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2026 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2027 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2028 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2029 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2030 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2031 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2032 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2033 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2034 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2035 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2036 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2037 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2038 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2039 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2040 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2041 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2042 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2043 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2044 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2045 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2046 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2047 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2048 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2049 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2050 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2051 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2052 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2053 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2054 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2055 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2056 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2057 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2058 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2059 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2060 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2061 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2062 (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
|
2063 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2064 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2065 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2066 (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
|
2067 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2068 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2069 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2070 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2071 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2072 * 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
|
2073 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2074 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2075 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2076 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2077 * 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
|
2078 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
|
2079 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2080 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2081 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
|
2082 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2083 * 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
|
2084 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
|
2085 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
|
2086 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
|
2087 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
|
2088 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
|
2089 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2090 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2091 |
7477 | 2092 2008-02-12 John W. Eaton <jwe@octave.org> |
2093 | |
2094 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
2095 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
2096 | |
7476 | 2097 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
2098 | |
7480 | 2099 * Array.cc (ascending_compare, descending_compare): Remove |
2100 non-standard extern in the instantiations. | |
2101 | |
2102 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
2103 | |
7476 | 2104 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
2105 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
2106 workaround for DGELSD's broken lwork query. The formula is from | |
2107 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
2108 efficient algorithm in the short-and-fat case (n > m). | |
2109 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
2110 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
2111 ugly workaround for DGELSD's broken lwork query, as with double. | |
2112 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2113 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2114 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2115 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2116 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2117 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2118 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2119 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2120 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
2121 * 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
|
2122 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
2123 * 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
|
2124 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2125 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
|
2126 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2127 * 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
|
2128 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2129 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2130 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2131 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2132 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2133 |
7457 | 2134 2008-02-07 John W. Eaton <jwe@octave.org> |
2135 | |
7458 | 2136 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
2137 ASCENDING, with default value of true. | |
2138 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
2139 (Range::sort (octave_idx_type, sortmode) const): New function. | |
2140 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
2141 const): New function. | |
2142 * Range.h: Fix/provide decls. | |
2143 | |
7457 | 2144 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
2145 | |
7449 | 2146 2008-02-06 John W. Eaton <jwe@octave.org> |
2147 | |
2148 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
2149 (stamp-prereq): Eliminate. | |
2150 (clean): Don't remove stamp-prereq. | |
2151 (libraries): Don't depend on stamp-prereq. | |
2152 (PREREQ): New macro. | |
2153 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
2154 (distclean): Simplify with $(PREREQ). | |
2155 (OPT_BASE): New macro. | |
2156 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
2157 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
2158 | |
7448 | 2159 2008-02-05 John W. Eaton <jwe@octave.org> |
2160 | |
2161 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
2162 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
2163 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2164 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 2165 |
2166 * Array.cc (ascending_compare, descending_compare, | |
2167 Array<T>::sort): Declare explicit specialization for T=double to | |
2168 avoid symbol duplication error at link time. | |
2169 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
2170 define as nonmember functions, not member functions of Array<T>. | |
2171 | |
7442 | 2172 2008-02-03 John W. Eaton <jwe@octave.org> |
2173 | |
2174 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
2175 | |
2176 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
2177 | |
2178 * Array.cc: Don't include Range.h. | |
2179 | |
7433 | 2180 2008-01-31 David Bateman <dbateman@free.fr> |
2181 | |
2182 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
2183 for 64-bit builds. | |
2184 (IFLT): Allow IFLT macro to be overridden. | |
2185 * oct-sort.h: conversion of int to octave_idx_type where needed | |
2186 for 64-bit builds. | |
2187 (enum sortmode): Type of sort to perform. | |
2188 (vec_index): Simple class to aid in indexed sorts. | |
2189 | |
2190 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
2191 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2192 sortmode) const): Array sorting methods. | |
2193 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
2194 instantiate the array sorting methods. | |
2195 * Array.cc (ascending_compare, descending_compare): New template | |
2196 functions for generic sort comparison. | |
2197 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
2198 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
2199 sortmode) const): Array sorting functions based of octave_sort | |
2200 class. | |
2201 * Array-C.cc: Instantiate the complex array sort methods. | |
2202 (IFLT): New macro to override the one in the | |
2203 octave_sort class to avoid need for Complex < and > operators. | |
2204 (static double xabs (const Complex&)): Complex abs function | |
2205 avoiding std::abs(Inf) returning NaN with some compilers. | |
2206 (ascending_compare, descending compare): override template | |
2207 functions for complex comparison. | |
2208 * Array-d.cc: Instantiate the double array sort methods. | |
2209 (Array<double> Array<double>::sort (octave_idx_type, | |
2210 sortmode) const, Array<double> Array<double>::sort | |
2211 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
2212 Array sorting functions based of octave_sort using uint64 sorting | |
2213 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
2214 (ascending_compare, descending compare): override template | |
2215 functions for double and uint64 comparison. | |
2216 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
2217 Instantiate the array sort methods. | |
2218 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
2219 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
2220 versions of the sort methods based on Array<T>::sort. | |
2221 | |
2222 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
2223 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
2224 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
2225 sortmode) const): Sparse sorting methods. | |
2226 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
2227 methods. | |
2228 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
2229 of new sort method. | |
2230 (sparse_ascending_compare, sparse_descending_compare): New template | |
2231 functions for generic sort comparison. | |
2232 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
2233 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
2234 sortmode) const): Sparse sorting functions based of octave_sort | |
2235 class. | |
2236 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
2237 (IFLT): New macro to override the one in the | |
2238 octave_sort class to avoid need for Complex < and > operators. | |
2239 (static double xabs (const Complex&)): Complex abs function | |
2240 avoiding std::abs(Inf) returning NaN with some compilers. | |
2241 (sparse_ascending_compare, sparse_descending compare): override | |
2242 template functions for complex comparison. | |
2243 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
2244 (sparse_ascending_compare, sparse_descending compare): override | |
2245 template functions for double comparison. | |
2246 * Array-b.cc: Instantiate the sparse sort methods. | |
2247 | |
7422 | 2248 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
2249 | |
2250 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
2251 idx_vector::idx_vector_rep::range_step, | |
2252 idx_vector::idx_vector_rep::range_step): New data members. | |
2253 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
2254 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
2255 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
2256 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
2257 | |
7416 | 2258 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
2259 | |
2260 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
2261 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
2262 | |
7408 | 2263 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 2264 |
2265 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
2266 this fixes the "localtime(-1)" crash under Windows. | |
2267 | |
7400 | 2268 2008-01-18 John W. Eaton <jwe@octave.org> |
2269 | |
2270 * dMatrix.cc (solve_singularity_warning): New function. | |
2271 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
2272 Matrix::solve method. Exit early if Matrix::solve fails. | |
2273 Limit sqpow value to avoid overflowing scale factor. | |
2274 * CMatrix.cc (solve_singularity_warning): New function. | |
2275 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
2276 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
2277 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 2278 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 2279 |
7356 | 2280 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
2281 | |
2282 * Sparse.cc: New tests for slicing of sparse matrices. | |
2283 | |
7350 | 2284 2008-01-07 David Bateman <dbateman@free.fr> |
2285 | |
2286 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
2287 loop if this test succeeds. | |
2288 | |
7342 | 2289 2008-01-03 David Bateman <dbateman@free.fr> |
2290 | |
2291 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
2292 need unary operator on remaining argument | |
2293 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
2294 | |
7334 | 2295 2007-12-21 John W. Eaton <jwe@octave.org> |
2296 | |
2297 Version 3.0.0 released. | |
2298 | |
7322 | 2299 2007-12-18 David Bateman <dbateman@free.fr> |
2300 | |
2301 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
2302 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
2303 stored as a sparse matrix. | |
2304 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
2305 idx_vector&, int) const): For the non permutated indexing case, | |
2306 fix link list calculation and use. | |
2307 | |
7321 | 2308 2007-12-17 John W. Eaton <jwe@octave.org> |
2309 | |
2310 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
2311 N-d array. | |
2312 | |
7318 | 2313 2007-12-17 David Bateman <dbateman@free.fr> |
2314 | |
2315 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
2316 index. | |
2317 | |
7299 | 2318 2007-12-11 John W. Eaton <jwe@octave.org> |
2319 | |
2320 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
2321 If indexing scalar with empty matrix, return empty array with same | |
2322 size as index. | |
2323 | |
7272 | 2324 2007-12-10 John W. Eaton <jwe@octave.org> |
2325 | |
7279 | 2326 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
2327 and assignment operator. | |
2328 (NLEqn::function_value): New function. | |
2329 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
2330 function value. | |
2331 | |
7272 | 2332 * file-ops.cc (file_ops::concat): New function. |
2333 * file-ops.h: Provide decl. | |
2334 | |
7270 | 2335 2007-12-07 John W. Eaton <jwe@octave.org> |
2336 | |
2337 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
2338 is not 0. | |
2339 | |
7269 | 2340 2007-12-07 David Bateman <dbateman@free.fr> |
2341 | |
2342 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
2343 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
2344 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
2345 indexing where possible rather than the elem method. | |
2346 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
2347 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
2348 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
2349 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
2350 = 0 directly. | |
2351 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
2352 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
2353 SPARSE_BASE_REDUCTION_OP. | |
2354 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
2355 Specialize the initial value, and only treat dim = 0 directly. | |
2356 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
2357 ditto. | |
2358 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
2359 | |
7265 | 2360 2007-12-06 John W. Eaton <jwe@octave.org> |
2361 | |
2362 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
2363 data for npp and dpp after assignments. | |
2364 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
2365 | |
7253 | 2366 2007-12-04 John W. Eaton <jwe@octave.org> |
2367 | |
2368 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2369 Do nothing if one index is empty. | |
2370 | |
7246 | 2371 2007-12-04 David Bateman <dbateman@free.fr> |
2372 | |
2373 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
2374 Resize matrix as well if one dimension of lhs is zero and the rhs | |
2375 index exceeds the lhs index. | |
2376 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
2377 Don't resize to a smaller matrix for empty matrices with a max rhs | |
2378 index smaller than the non zero lhs index. | |
2379 | |
2380 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
2381 | |
2382 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
2383 | |
7241 | 2384 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
2385 | |
2386 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
2387 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
2388 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
2389 | |
7238 | 2390 2007-12-03 David Bateman <dbateman@free.fr> |
2391 | |
2392 * Sparse.cc (template <class LT, class RT> int assign | |
2393 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
2394 rhs values if both no. rows and columns are zero. | |
2395 | |
7231 | 2396 2007-11-30 John W. Eaton <jwe@octave.org> |
2397 | |
7234 | 2398 * oct-sort.cc, oct-sort.h: Style fixes. |
2399 | |
7231 | 2400 * lo-math.h: New file. |
2401 * Makefile.in (INCLUDES): Add it to the list. | |
2402 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
2403 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
2404 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
2405 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
2406 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
2407 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
2408 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
2409 liboctave/oct-time.h, liboctave/randgamma.c, | |
2410 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
2411 instead of cmath or math.h. | |
2412 * lo-mappers.h: Don't include sunmath.h here. | |
2413 | |
7198 | 2414 2007-11-26 John W. Eaton <jwe@octave.org> |
2415 | |
2416 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
2417 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
2418 | |
2419 * oct-inttypes.h (operator bool, operator char): Delete. | |
2420 (bool_value, char_value, double_value, float_value): New functions. | |
2421 | |
7189 | 2422 2007-11-26 David Bateman <dbateman@free.fr> |
2423 | |
2424 * intNDArray.cc (template <class T> intNDArray<T> | |
2425 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
2426 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
2427 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
2428 template <class T> intNDArray<T> intNDArray<T>::min | |
2429 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
2430 classes. | |
2431 * intNDArray.h (class intNDArray): Add min/max methods | |
2432 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
2433 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
2434 min/max functions. | |
2435 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2436 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2437 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
2438 types. | |
2439 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2440 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2441 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
2442 types. | |
2443 | |
2444 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
2445 const T& rfv) const): If ndims != 2 call ND version of index. | |
2446 | |
7176 | 2447 2007-11-14 John W. Eaton <jwe@octave.org> |
2448 | |
7178 | 2449 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
2450 | |
7176 | 2451 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
2452 correction to half-integer values. From Eric Chassande-Mottin | |
2453 <echassandemottin@gmail.com>. | |
2454 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2455 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 2456 |
2457 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
2458 ambiguities related to math functions (in C++ mode). | |
2459 | |
7102 | 2460 2007-11-06 David Bateman <dbateman@free.fr> |
2461 | |
7113 | 2462 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
2463 New method. | |
2464 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
2465 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
2466 New method. | |
2467 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 2468 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
2469 norm to avoid issues of over- and underflow. From Rolf Fabian | |
2470 <Rolf.Fabian@gmx.de>. | |
2471 | |
7081 | 2472 2007-10-30 David Bateman <dbateman@free.fr> |
2473 | |
2474 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
2475 | |
7079 | 2476 2007-10-30 John W. Eaton <jwe@octave.org> |
2477 | |
2478 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
2479 * dMatrix.cc (lssolve): Compute size of iwork array. | |
2480 | |
7076 | 2481 2007-10-29 David Bateman <dbateman@free.fr> |
2482 | |
2483 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2484 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2485 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2486 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2487 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2488 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2489 declarations. | |
2490 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2491 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2492 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2493 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2494 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2495 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2496 methods. | |
2497 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2498 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2499 octave_idx_type&, double&) const): Also return rcond from the | |
2500 singular values returned by XGELSD. | |
2501 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
2502 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2503 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2504 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2505 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2506 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2507 declarations. | |
2508 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
2509 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
2510 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
2511 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
2512 double& rcond) const, lssolve (const ComplexColumnVector&, | |
2513 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
2514 methods. | |
2515 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
2516 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
2517 octave_idx_type&, double&) const): Also return rcond from the | |
2518 singular values returned by XGELSD. | |
2519 | |
7072 | 2520 2007-10-26 David Bateman <dbateman@free.fr> |
2521 | |
2522 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
2523 matrices to avoid reliability issues with xGELSY. | |
2524 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 2525 |
7065 | 2526 2007-10-25 John W. Eaton <jwe@octave.org> |
2527 | |
2528 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
2529 Call unix_time on arg instead of relying on conversion operator. | |
2530 | |
2531 * oct-time.h (octave_time::double_value): New function. | |
2532 (octave_time::operator double () const): Delete. | |
2533 (octave_time::operator time_t () const): Delete. | |
2534 | |
7058 | 2535 2007-10-24 John W. Eaton <jwe@octave.org> |
2536 | |
2537 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
2538 | |
7052 | 2539 2007-10-23 John W. Eaton <jwe@octave.org> |
2540 | |
2541 * CRowVector.cc (operator * const ComplexRowVector&, const | |
2542 ComplexColumnVector&)): Delete spurious code left from patch. | |
2543 | |
7048 | 2544 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
2545 | |
2546 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
2547 sparse-sort.cc: Include <cstring>. | |
2548 | |
7036 | 2549 2007-10-17 John W. Eaton <jwe@octave.org> |
2550 | |
2551 * oct-sparse.h: Don't include metis.h. | |
2552 | |
2553 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
2554 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
2555 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
2556 p_type>::sparse_base_chol_rep::init): Likewise. | |
2557 | |
7033 | 2558 2007-10-16 John W. Eaton <jwe@octave.org> |
2559 | |
2560 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
2561 matrix is hermitian or calc_cond is true. | |
2562 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2563 | |
7016 | 2564 2007-10-12 John W. Eaton <jwe@octave.org> |
2565 | |
2566 * Change copyright notices in all files that are part of Octave to | |
2567 GPLv3 or any later version. | |
2568 | |
7007 | 2569 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
2570 | |
2571 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
2572 | |
7001 | 2573 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
2574 | |
2575 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
2576 | |
7000 | 2577 2007-10-10 John W. Eaton <jwe@octave.org> |
2578 | |
2579 * LPsolve.h, LPsolve.cc: Delete. | |
2580 * Makefile.in: Remove them from the INCLUDES and | |
2581 LIBOCTAVE_CXX_SOURCES lists. | |
2582 | |
6989 | 2583 2007-10-09 John W. Eaton <jwe@octave.org> |
2584 | |
6996 | 2585 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
2586 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
2587 values to zero after call if they remain unchanged. | |
2588 | |
6989 | 2589 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
2590 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
2591 | |
6988 | 2592 2007-10-09 David Bateman <dbateman@free.fr> |
2593 | |
6995 | 2594 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
2595 valud and mon and year are also filled in. | |
2596 | |
6990 | 2597 * Array2.h (Array2<T>::Array2(const dim_vector&), |
2598 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
2599 dim_vector is 2 dimensional. | |
2600 | |
6988 | 2601 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
2602 int)): Remove a for loop in the random indexing case at the | |
2603 expense of maintaining a set of linked lists of indices that point | |
2604 to the same column in the original matrix. | |
2605 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
2606 and use it on the RHS of expressions to avoid unnecessary calls to | |
2607 make_unique. | |
2608 | |
6979 | 2609 2007-10-08 David Bateman <dbateman@free.fr> |
2610 | |
2611 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
2612 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
2613 for readline compatible functions. | |
2614 (octave_rl_redisplay): Redisplay the current line of text. | |
2615 (octave_rl_newline): Change interface to the same | |
2616 as used by the equivalent readline function itself. | |
2617 (octave_rl_filename_quoting_desired, | |
2618 octave_rl_set_filename_quote_characters, | |
2619 octave_rl_set_completer_quote_characters, | |
2620 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2621 octave_rl_set_char_is_quoted_function): New functions to control | |
2622 readline filename quoting and line acceptace. | |
2623 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
2624 as used by the equivalent readline function itself. | |
2625 (octave_rl_redisplay): Redisplay the current line of text. | |
2626 (octave_rl_filename_quoting_desired, | |
2627 octave_rl_set_filename_quote_characters, | |
2628 octave_rl_set_completer_quote_characters, | |
2629 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
2630 octave_rl_set_char_is_quoted_function): New functions to control | |
2631 readline filename quoting and line acceptace. | |
2632 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
2633 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
2634 to map C++ function to readline compatible functions. | |
2635 (set_filename_quote_characters): New function to set the | |
2636 characters to if they appear in a filename that force the filename | |
2637 to be quoted. | |
2638 (set_completer_quote_characters): The characters that the readline | |
2639 completion function considers as quotation characters. | |
2640 (set_quoting_function, set_dequoting_function, | |
2641 set_char_is_quoted_function, set_user_accept_line_function): | |
2642 Functions to set the Octave functions to perform quoting and the | |
2643 acceptance of a line of text by readline. | |
2644 (get_quoting_function, get_dequoting_function, | |
2645 get_char_is_quoted_function, get_user_accept_line_function): | |
2646 Functions to get the above functions. | |
2647 (accept_line): New method for the command_editor to accept a line | |
2648 of text. | |
2649 (file_quoting_desired): Function to set whether readline should | |
2650 attempt to quote filenames. | |
2651 (do_set_filename_quoting_characters, | |
2652 do_set_completer_quote_characters, do_set_quoting_function, | |
2653 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2654 do_set_user_accept_line_function, do_get_quoting_function, | |
2655 do_get_dequoting_function, do_get_char_is_quoted_function, | |
2656 do_get_user_accept_line_function, do_filename_quoting_desired): | |
2657 Virtual functions to control the behavior of readline quoting and | |
2658 acceptance of lines. | |
2659 (do_accept_line): Virtual function for the accept line function. | |
2660 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
2661 do_completer_quote_characters, do_set_quoting_function, | |
2662 do_set_dequoting_function, do_set_char_is_quoted_function, | |
2663 do_set_user_accept_line_function, do_get_quoting_function, | |
2664 do_get_dequoting_function, do_get_user_accept_line_function, | |
2665 do_accept_line, do_filename_quoting_desired, command_quoter, | |
2666 command_dequoter, command_char_is_quoted, command_accept_line): | |
2667 New functions in gnu_readline class to control filename quoting | |
2668 and line acceptance. | |
2669 (quoting_function, dequoting_function, char_is_quoted_function, | |
2670 user_accept_line_function): private variable to store functions | |
2671 supplied for readline quoting and line acceptance. | |
2672 (gnu_readline::gnu_readline): Also set the new function pointers | |
2673 to zero. | |
2674 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
2675 interface. | |
2676 (gnu_readeline::operate_and_get_next): Use new accept_line | |
2677 function rather than newline. | |
2678 (default_ommand_editor::do_accept_line): New method. | |
2679 (class command_editor set_filename_quote_characters, | |
2680 set_completer_quote_characters, set_quoting_function, | |
2681 set_dequoting_function, set_char_is_quoted_function, | |
2682 set_user_accept_line_function, get_quoting_function, | |
2683 get_dequoting_function, get_user_accept_line_function, | |
2684 accept_line, filename_quoting_desired): New functions checking | |
2685 instance before calling virtual function. | |
2686 | |
2687 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
2688 Array2.h: Add dim_vector constructors. | |
2689 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
2690 const to dim_vector constructors. | |
2691 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
2692 (octave_idx_type)): New methods to constructor diagonal matrices. | |
2693 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
2694 (octave_idx_type)): Declare them. | |
2695 | |
2696 | |
6969 | 2697 2007-10-06 John W. Eaton <jwe@octave.org> |
2698 | |
2699 * lo-specfun.cc: (zlgamma): Delete. | |
2700 (xgamma): Use C library gamma function if available. | |
2701 (xlgamma): Use C library lgamma function if available. | |
2702 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
2703 other than NaN or Inf. | |
2704 | |
6961 | 2705 2007-10-05 John W. Eaton <jwe@octave.org> |
2706 | |
2707 * lo-specfun.cc (zlgamma): New function. | |
2708 | |
6959 | 2709 2007-10-04 John W. Eaton <jwe@octave.org> |
2710 | |
2711 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
2712 qualifiers on local variables. | |
2713 | |
6958 | 2714 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
2715 | |
2716 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
2717 than log(realmax) to avoid issues with NaN. | |
2718 | |
6940 | 2719 2007-10-01 John W. Eaton <jwe@octave.org> |
2720 | |
6941 | 2721 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
2722 initialize wday and yday. | |
2723 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
2724 | |
6940 | 2725 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
2726 insert extra '\001' when decoding \[ and \]. | |
2727 | |
6926 | 2728 2007-09-26 David Bateman <dbateman@free.fr> |
2729 | |
2730 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
2731 is much faster and no less accurate. | |
2732 * CMatrix.cc (lssolve): ditto. | |
2733 | |
6924 | 2734 2007-09-25 David Bateman <dbateman@free.fr> |
2735 | |
2736 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
2737 zero dimensioned matrices. | |
2738 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
2739 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2740 ditto. | |
2741 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
2742 ditto. | |
2743 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
2744 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
2745 qrsolve): ditto. | |
2746 * sparse-dmsolve.cc (dmsolve): ditto. | |
2747 | |
6922 | 2748 2007-09-21 John W. Eaton <jwe@octave.org> |
2749 | |
2750 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
2751 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
2752 | |
6916 | 2753 2007-09-19 John W. Eaton <jwe@octave.org> |
2754 | |
2755 * cmd-edit.cc (command_editor::remove_startup_hook): | |
2756 Fix cut-and-paste error. | |
6917 | 2757 (gnu_readline::set_startup_hook): Only set hook function if new |
2758 function is different from the current one. | |
6916 | 2759 |
6913 | 2760 2007-09-18 John W. Eaton <jwe@octave.org> |
2761 | |
2762 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
2763 command_editor::event_hook_set): New static data. | |
2764 (default_command_editor::set_startup_hook, | |
2765 gnu_readline::set_startup_hook, | |
2766 default_command_editor::restore_startup_hook, | |
2767 gnu_readline_restore_event_hook): | |
2768 Rename from do_set_startup_hook and do_set_event_hook. | |
2769 (gnu_readline::operate_and_get_next): Call | |
2770 command_editor::add_startup_hook, not | |
2771 command_editor::set_startup_hook. | |
2772 (command_editor::startup_handler, command_editor::event_handler): | |
2773 New functions. | |
2774 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
2775 command_editor::remove_startup_hook, | |
2776 command_editor::remove_event_hook): Rename from set_startup_hook | |
2777 and restore_startup_hook. Handle hook sets here. | |
2778 * cmd-edit.cc (gnu_history::do_goto_mark): | |
2779 Call remove_startup_hook instead of restore_startup_hook. | |
2780 | |
6907 | 2781 2007-09-17 John W. Eaton <jwe@octave.org> |
2782 | |
2783 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
2784 leading whitespace. | |
2785 | |
6897 | 2786 2007-09-13 John W. Eaton <jwe@octave.org> |
2787 | |
2788 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
2789 octave_read_complex): Use istream::get instead of >> to read | |
2790 individual characters. | |
2791 | |
6884 | 2792 2007-09-10 John W. Eaton <jwe@octave.org> |
2793 | |
2794 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
2795 | |
2796 2007-09-10 David Bateman <dbateman@free.fr> | |
2797 | |
2798 * Array.h (Array<T>::make_unique): Make public so that the | |
2799 ::assign functions can access it directly. | |
2800 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
2801 Array<T>::maybe_delete_elements_1(idx_vector&), | |
2802 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
2803 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
2804 Use xelem for non const RHS to avoid call to make_unique. | |
2805 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
2806 xelem for LHS and call lhs.make_unique() only once. Special case | |
2807 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
2808 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
2809 bring the additional multiplication out of the inner loop. | |
2810 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2811 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
2812 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
2813 (const Range& r)): Don't use init_state() method but special case | |
2814 as with a Range can avoid exhaustive search. | |
2815 | |
6881 | 2816 2007-09-07 John W. Eaton <jwe@octave.org> |
2817 | |
2818 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
2819 manipulating rep directly. | |
2820 | |
2821 * Array.h (idx, idx_count): Declare mutable. | |
2822 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
2823 Now const. | |
2824 | |
6867 | 2825 2007-09-06 David Bateman <dbateman@free.fr> |
2826 | |
6868 | 2827 * Array-util.cc (increment_index): dimensions can have singleton |
2828 trailing dimensions. | |
6867 | 2829 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
2830 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
2831 where necessary. | |
2832 * Array.cc (range_error): ditto. | |
2833 * MArrayN.h (permute, ipermute): ditto. | |
2834 * ArrayN.h (permute, ipermute): ditto. | |
2835 * so-array.cc (streamoff_array::compute_index): ditto. | |
2836 * so-array.h (compute_index): ditto. | |
2837 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
2838 | |
6840 | 2839 2007-08-29 David Bateman <dbateman@free.fr> |
2840 | |
2841 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
2842 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
2843 matrices marked as singular. | |
2844 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
2845 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
2846 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
2847 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
2848 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
2849 octave_idx_type&, double&, int, int)): ditto. | |
2850 | |
6838 | 2851 2007-08-27 John W. Eaton <jwe@octave.org> |
2852 | |
2853 * oct-env.cc (octave_env::rooted_relative_pathname, | |
2854 octave_env::do_rooted_relative_pathname): New functions. | |
2855 * oct-env.h: Provide decls. | |
2856 | |
6823 | 2857 2007-08-24 David Bateman <dbateman@free.fr> |
2858 | |
2859 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
2860 const Array<octave_idx_type>&)): New method. | |
2861 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
2862 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
2863 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2864 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2865 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
2866 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
2867 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2868 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2869 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
2870 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
2871 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2872 SparseMatrix&, const Array<octave_idx_type>&), | |
2873 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2874 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2875 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
2876 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2877 SparseMatrix&, const Array<octave_idx_type>&), | |
2878 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
2879 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
2880 | |
6817 | 2881 2007-08-19 David Bateman <dbateman@free.fr> |
2882 | |
2883 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
2884 | |
6813 | 2885 2007-08-14 John W. Eaton <jwe@octave.org> |
2886 | |
2887 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
2888 Simplify. | |
6814 | 2889 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 2890 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2891 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 2892 |
2893 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
2894 Remove trailing dir separator when stat'ing directory except for | |
2895 root directory. | |
2896 | |
6796 | 2897 2007-07-25 David Bateman <dbateman@free.fr> |
2898 | |
2899 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
2900 to work. | |
2901 | |
6764 | 2902 2007-06-04 David Bateman <dbateman@free.fr> |
2903 | |
2904 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
2905 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
2906 perform a twos complement arithmetic shift for both signed and | |
2907 unsigned integers regardless of compiler implementations. | |
2908 | |
6708 | 2909 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
2910 | |
6719 | 2911 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
2912 use cs_complex_t(0,0) for the complex zero. | |
2913 | |
6708 | 2914 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
2915 Sprinkle class instantiations with OCTAVE_API as needed. | |
2916 | |
2917 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
2918 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
2919 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
2920 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
2921 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
2922 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
2923 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
2924 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
2925 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
2926 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
2927 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
2928 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
2929 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
2930 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
2931 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
2932 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
2933 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
2934 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
2935 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
2936 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
2937 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
2938 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
2939 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
2940 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
2941 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
2942 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
2943 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
2944 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2945 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
2946 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
2947 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
2948 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
2949 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
2950 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
2951 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
2952 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
2953 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
2954 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
2955 SPARSE_SMM_OP_DECLS): Ditto. | |
2956 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
2957 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
2958 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
2959 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
2960 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
2961 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
2962 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
2963 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
2964 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
2965 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
2966 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
2967 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
2968 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
2969 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
2970 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
2971 | |
6699 | 2972 2007-06-12 John W. Eaton <jwe@octave.org> |
2973 | |
2974 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
2975 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 2976 |
6693 | 2977 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
2978 | |
6709 | 2979 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
2980 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
2981 with file_ops::dir_sep_char. | |
6694 | 2982 |
6693 | 2983 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
2984 | |
6689 | 2985 2007-06-04 David Bateman <dbateman@free.fr> |
2986 | |
6699 | 2987 * file-ops.cc: Typo. |
2988 | |
6689 | 2989 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
2990 dimensions is greater than 2, collapse to 2-D. | |
2991 | |
6685 | 2992 2007-06-02 David Bateman <dbateman@free.fr> |
2993 | |
2994 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
2995 | |
6680 | 2996 2007-05-31 John W. Eaton <jwe@octave.org> |
2997 | |
2998 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
2999 the computed size is too large for the size of Octave's index type. | |
3000 | |
6662 | 3001 2007-05-23 John W. Eaton <jwe@octave.org> |
3002 | |
3003 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
3004 | |
6629 | 3005 2007-05-16 David Bateman <dbateman@free.fr> |
3006 | |
3007 * dRowVector.cc (linspace): Return second argument if fewer than | |
3008 two values are requested. | |
3009 * CRowVector.cc (linspace): Likewise. | |
3010 | |
6596 | 3011 2007-04-27 John W. Eaton <jwe@octave.org> |
3012 | |
3013 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
3014 | |
6583 | 3015 2007-04-25 John W. Eaton <jwe@octave.org> |
3016 | |
3017 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
3018 | |
6553 | 3019 2007-04-20 John W. Eaton <jwe@octave.org> |
3020 | |
3021 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
3022 not rhs_len == 1. | |
3023 | |
6536 | 3024 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
3025 | |
3026 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
3027 | |
6525 | 3028 2007-04-13 John W. Eaton <jwe@octave.org> |
3029 | |
3030 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
3031 for empty matrix. Only check for colon index equivalence if not empty. | |
3032 | |
6513 | 3033 2007-04-10 John W. Eaton <jwe@octave.org> |
3034 | |
3035 * SparseCmplxQR.cc | |
3036 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
3037 Move GCC_ATTR_UNUSED before the parameter decl. | |
3038 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
3039 | |
6508 | 3040 2007-04-06 John W. Eaton <jwe@octave.org> |
3041 | |
3042 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
3043 * MArray.h (MArray<T>::norm): New function. | |
3044 * MArray.cc: Provide decl. | |
3045 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
3046 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
3047 | |
6490 | 3048 2007-04-04 John W. Eaton <jwe@octave.org> |
3049 | |
3050 * Range.cc (Range::nelem_internal): Likewise. | |
3051 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
3052 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
3053 From Scott Pakin <pakin@lanl.gov>. | |
3054 | |
6486 | 3055 2007-04-04 David Bateman <dbateman@free.fr> |
3056 | |
3057 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
3058 the condition number for positive definite matrices. | |
3059 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
3060 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
3061 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
3062 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
3063 (CHOL(const CHOL&)): Copy xrcond. | |
3064 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
3065 (xrcond): New private data member. | |
3066 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
3067 calc_cond. | |
3068 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
3069 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
3070 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
3071 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
3072 (xrcond): New private data member. | |
3073 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
3074 true, calculate the condition number with dpocon. | |
3075 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
3076 calc_cond is true, calculate the condition number with zpocon. | |
3077 | |
6481 | 3078 2007-04-03 John W. Eaton <jwe@octave.org> |
3079 | |
6482 | 3080 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
3081 | |
3082 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
3083 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
3084 "maybe clobbered by vfork" warning. | |
3085 | |
6483 | 3086 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 3087 if/else. |
3088 | |
3089 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
3090 and destructor. | |
3091 | |
6481 | 3092 * Array.cc (assignN): Don't resize dimension if corresponding |
3093 index is empty. | |
3094 | |
6479 | 3095 2007-04-02 John W. Eaton <jwe@octave.org> |
3096 | |
3097 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
3098 MatrixType argument. | |
3099 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
3100 | |
6467 | 3101 2007-03-27 John W. Eaton <jwe@octave.org> |
3102 | |
3103 * Makefile.in (DISTDIRS): Delete variable. | |
3104 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
3105 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3106 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 3107 |
3108 * MatrixType.cc: Replace all uses of the method | |
3109 octave_sparse_params::get_key ("bandden") with | |
3110 octave_sparse_params::get_bandden (void). | |
3111 (MatrixType::MatrixType (void)): Undo previous change but use | |
3112 octave_sparse_params::get_bandden (void). | |
3113 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
3114 methods. | |
3115 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
3116 Declare them. | |
3117 | |
6458 | 3118 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
3119 David Bateman <dbateman@free.fr> | |
3120 | |
3121 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
3122 Check that all elements are ints before doing anything. Simplify | |
3123 calculation of index values. | |
3124 | |
6457 | 3125 2007-03-26 David Bateman <dbateman@free.fr> |
3126 | |
3127 * Range.cc (Range::all_elements_are_ints): Improve check. | |
3128 | |
6456 | 3129 2007-03-26 John W. Eaton <jwe@octave.org> |
3130 | |
3131 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
3132 * chNDArray.h, chMatrix.h: Provide decls. | |
3133 | |
3134 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
3135 | |
3136 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
3137 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 3138 |
6435 | 3139 2007-03-23 David Bateman <dbateman@free.fr> |
3140 | |
3141 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
3142 little endian. | |
3143 | |
6414 | 3144 2007-03-15 John W. Eaton <jwe@octave.org> |
3145 | |
3146 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
3147 From Alexander Barth <abarth@marine.usf.edu>. | |
3148 | |
6402 | 3149 2007-03-12 John W. Eaton <jwe@octave.org> |
3150 | |
3151 * oct-inttypes.h (octave_int::octave_int (double)): | |
3152 New Specialization. Round arg. | |
3153 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
3154 Round result before converting type. | |
3155 | |
6388 | 3156 2007-03-07 John W. Eaton <jwe@octave.org> |
3157 | |
6392 | 3158 * Array.cc (assign1): Avoid resizing if there is an error. |
3159 | |
6390 | 3160 * dMatrix.cc, CMatrix.cc (operator *): Only check |
3161 f77_exception_encountered immediately after calls that use F77_XFCN. | |
3162 | |
6389 | 3163 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
3164 Only allow resizing empty LHS if it is 0x0. | |
3165 | |
6388 | 3166 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
3167 const T&)): Handle case of more indices than dimensions. | |
3168 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
3169 cases to be handled by assignN. | |
3170 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
3171 Special cases for 2-d array assignments for speed. | |
3172 Improve handling of scalar RHS and empty indices. | |
6384 | 3173 |
6383 | 3174 2007-03-05 David Bateman <dbateman@free.fr> |
3175 | |
3176 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
3177 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
3178 | |
6379 | 3179 2007-03-02 John W. Eaton <jwe@octave.org> |
3180 | |
3181 * str-vec.h (string_vector::empty): Return bool, not int. | |
3182 | |
6375 | 3183 2007-03-01 David Bateman <dbateman@free.fr> |
3184 | |
3185 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
3186 an independent implementation of RFC1321. | |
3187 * oct-md5.h, oct-md5: New files for treating std::string class | |
3188 with MD5. | |
3189 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
3190 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
3191 (LIBOCTAVE_C_SOURCES): Add md5.c | |
3192 | |
6366 | 3193 2007-02-27 John W. Eaton <jwe@octave.org> |
3194 | |
3195 * Makefile.in (uninstall): Delete files listed in | |
3196 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
3197 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
3198 | |
6536 | 3199 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 3200 |
3201 * file-ops.cc (file_ops::recursive_rmdir): | |
3202 Close dir_entry object before calling rmdir. | |
3203 | |
6536 | 3204 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 3205 |
3206 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
3207 | |
6359 | 3208 * sparse-util.h (SparseCholPrint, SparseCholError): |
3209 Tag with OCTAVE_API. | |
3210 | |
6326 | 3211 2007-02-18 David Bateman <dbateman@free.fr> |
3212 | |
3213 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
3214 calling setall and reset to the current generator after. | |
3215 | |
6323 | 3216 2007-02-16 John W. Eaton <jwe@octave.org> |
3217 | |
3218 * oct-shlib.h (octave_shlib::relative): New data member. | |
3219 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
3220 New functions. | |
3221 | |
6321 | 3222 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
3223 | |
3224 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
3225 windows platform. | |
3226 * lo-sysdep.h (octave_popen2): Declare it. | |
3227 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
3228 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
3229 | |
6306 | 3230 2007-02-14 John W. Eaton <jwe@octave.org> |
3231 | |
3232 * kpse.cc (expand_elt): Omit special treatment for //. | |
3233 | |
6273 | 3234 2007-02-06 John W. Eaton <jwe@octave.org> |
3235 | |
3236 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
3237 Don't delete value returned from realpath. | |
3238 | |
6271 | 3239 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
3240 | |
3241 * file-ops.cc (file_ops::canonicalize_file_name): | |
3242 Provide implementation if realpath function is available. | |
3243 | |
6256 | 3244 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
3245 | |
3246 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
3247 | |
6244 | 3248 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
3249 | |
3250 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
3251 Windows systems. | |
3252 | |
6242 | 3253 2007-01-16 John W. Eaton <jwe@octave.org> |
3254 | |
3255 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
3256 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
3257 | |
3258 * oct-fftw.h (fftw_planner): Provide decl. | |
3259 | |
6241 | 3260 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
3261 | |
3262 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
3263 | |
6236 | 3264 2007-01-10 John W. Eaton <jwe@octave.org> |
3265 | |
3266 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
3267 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
3268 | |
6231 | 3269 2007-01-08 David Bateman <dbateman@free.fr> |
3270 | |
3271 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
3272 SPARSESUITE with SUITESPARSE to match upstream name. | |
3273 | |
6228 | 3274 2007-01-05 David Bateman <dbateman@free.fr> |
3275 | |
3276 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
3277 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
3278 set the FFTW wisdom method used. | |
3279 (octave_fftw_planner::create_plan) Modify to allow different | |
3280 methods to be used. | |
3281 (octave_fftw_planner): Move class definition from here. | |
3282 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
3283 and FftwMethod enum. | |
3284 | |
6221 | 3285 2007-01-03 David Bateman <dbateman@free.fr> |
3286 | |
3287 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
3288 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
3289 sparse matrices are special cased. | |
3290 | |
3291 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
3292 matrix, sparse matrix operations. | |
3293 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
3294 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
3295 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
3296 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
3297 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
3298 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
3299 sparse matrices are special cased. | |
3300 | |
6217 | 3301 2006-12-22 David Bateman <dbateman@free.fr> |
3302 | |
3303 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
3304 | |
6216 | 3305 2006-12-22 John W. Eaton <jwe@octave.org> |
3306 | |
3307 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
3308 least 2 dimensions. | |
3309 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
3310 | |
6208 | 3311 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
3312 | |
3313 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
3314 | |
3315 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 3316 implementation for Windows. |
6208 | 3317 |
6207 | 3318 2006-12-06 David Bateman <dbateman@free.fr> |
3319 | |
6208 | 3320 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
3321 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 3322 |
3323 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
3324 (tinverse): New method for triangular matrices. | |
3325 (inverse): New function with matrix type probing. | |
3326 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
3327 declarations. | |
6208 | 3328 * CMatrix.cc: Ditto. |
3329 * CMatrix.h: Ditto. | |
6207 | 3330 |
6205 | 3331 2006-12-06 John W. Eaton <jwe@octave.org> |
3332 | |
3333 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
3334 | |
6202 | 3335 2006-12-05 John W. Eaton <jwe@octave.org> |
3336 | |
3337 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
3338 followed by 'I' or 'i', try reading number after putting | |
3339 characters back on input stream. | |
3340 | |
6198 | 3341 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
3342 | |
3343 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
3344 loop is n, not L. | |
3345 | |
6194 | 3346 2006-11-30 John W. Eaton <jwe@octave.org> |
3347 | |
3348 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
3349 Also recognize [+-][Ii]nf. | |
3350 | |
6187 | 3351 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 3352 |
3353 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
3354 sub-directory. | |
3355 | |
6204 | 3356 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
3357 well when calling tinverse for lower triangular matrices. | |
3358 * CSparse.cc (SparseComplexMatrix::inverse): | |
3359 Ditto. | |
6185 | 3360 |
6183 | 3361 2006-11-21 John W. Eaton <jwe@octave.org> |
3362 | |
3363 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
3364 | |
6182 | 3365 2006-11-20 John W. Eaton <jwe@octave.org> |
3366 | |
3367 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
3368 for ".", and names beginning with "./" or "../". | |
3369 | |
6162 | 3370 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
3371 | |
3372 * CMatrix.cc, dMatrix.cc: New tests. | |
3373 | |
6153 | 3374 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
3375 | |
3376 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
3377 | |
6152 | 3378 2006-11-11 John W. Eaton <jwe@octave.org> |
3379 | |
3380 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
3381 Use $(simple-move-if-change-rule) here. | |
3382 | |
6148 | 3383 2006-11-09 David Bateman <dbateman@free.fr> |
3384 | |
3385 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
3386 octave_idx_type, not int. | |
3387 | |
6145 | 3388 2006-11-08 John W. Eaton <jwe@octave.org> |
3389 | |
3390 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
3391 | |
6141 | 3392 2006-11-06 John W. Eaton <jwe@octave.org> |
3393 | |
3394 * Array.cc (assignN): Exit early if invalid indices are found. | |
3395 | |
6140 | 3396 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
3397 | |
3398 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
3399 | |
6137 | 3400 2006-11-03 John W. Eaton <jwe@octave.org> |
3401 | |
3402 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
3403 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
3404 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
3405 | |
6123 | 3406 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
3407 | |
3408 * oct-shlib.cc: Undefine min and max after including windows.h. | |
3409 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
3410 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
3411 lo-sysdep.cc. | |
3412 | |
6113 | 3413 2006-10-27 John W. Eaton <jwe@octave.org> |
3414 | |
6119 | 3415 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
3416 | |
3417 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
3418 | |
3419 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
3420 NDS_CMP_OPS2): New macros. | |
6113 | 3421 |
6111 | 3422 2006-10-26 John W. Eaton <jwe@octave.org> |
3423 | |
6119 | 3424 * mx-ops (core-type): New field for integer types. |
3425 * mk-ops.awk: Handle core-type for integer comparison ops. | |
3426 | |
6111 | 3427 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
3428 Move here from src/cutils.c. | |
3429 * lo-utils.h: Provide decls. | |
3430 * strcasecmp.c: Move here from src/strcasecmp.c. | |
3431 * strncase.c: Move here from src/strncase.c. | |
3432 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
3433 | |
6106 | 3434 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
3435 | |
3436 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
3437 | |
6708 | 3438 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
3439 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
3440 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
3441 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
3442 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
3443 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
3444 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
3445 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
3446 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
3447 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
3448 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
3449 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
3450 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
3451 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
3452 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
3453 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
3454 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
3455 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
3456 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
3457 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
3458 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
3459 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
3460 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 3461 |
6105 | 3462 2006-10-26 John W. Eaton <jwe@octave.org> |
3463 | |
3464 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
3465 type qualification for OP. | |
3466 | |
6101 | 3467 2006-10-26 David Bateman <dbateman@free.fr> |
3468 | |
3469 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
3470 octave_idx_type)): Be more careful with the size of the input | |
3471 matrix, and therefore don't create or read non existent data. | |
3472 | |
6092 | 3473 2006-10-25 John W. Eaton <jwe@octave.org> |
3474 | |
3475 * Sparse.cc (assign): Clear lhs index after error. | |
3476 | |
6093 | 3477 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 3478 |
3479 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3480 Fix previous patch so it works. | |
3481 | |
6087 | 3482 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
3483 | |
6095 | 3484 * glob-match.h (glob_match::glob_match (const std::string&, |
3485 unsigned int)): Delete initializer for first arg. | |
3486 | |
6093 | 3487 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
3488 New functions. | |
3489 | |
6087 | 3490 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
3491 | |
6096 | 3492 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
3493 same code as __MINGW32__. | |
3494 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
3495 the same as for __MINGW32__. | |
3496 | |
3497 * randpoisson.c: Undefine INFINITE before redefining. | |
3498 | |
6079 | 3499 2006-10-24 David Bateman <dbateman@free.fr> |
3500 | |
3501 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
3502 lhs at the point we know the assignment can succeed if the lhs is | |
3503 empty. | |
3504 | |
6072 | 3505 2006-10-23 John W. Eaton <jwe@octave.org> |
3506 | |
3507 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
3508 | |
6061 | 3509 2006-10-17 John W. Eaton <jwe@octave.org> |
3510 | |
3511 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
3512 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
3513 and _copysign. | |
3514 | |
6059 | 3515 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 3516 |
6061 | 3517 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
3518 | |
6708 | 3519 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
3520 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 3521 |
6058 | 3522 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
3523 | |
6059 | 3524 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
3525 | |
6051 | 3526 * Makefile.in: Adapt rules to use $(LIBPRE). |
3527 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3528 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 3529 |
3530 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
3531 or p == 0. | |
3532 | |
6018 | 3533 2006-10-02 John W. Eaton <jwe@octave.org> |
3534 | |
3535 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
3536 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
3537 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3538 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 3539 |
3540 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 3541 Remove spurious warning. |
5996 | 3542 |
5992 | 3543 2006-09-15 John W. Eaton <jwe@octave.org> |
3544 | |
3545 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
3546 Handle resizing. | |
3547 | |
3548 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
3549 | |
5983 | 3550 2006-09-11 John W. Eaton <jwe@octave.org> |
3551 | |
3552 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
3553 Handle M*v and rv*cv special cases. | |
3554 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
3555 ComplexMatrix&))): Likewise. | |
3556 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
3557 | |
3558 * dRowVector.cc (operator * (const RowVector&, const | |
3559 ColumnVector&)): Call xddot here instead of using a Fortran | |
3560 function directly. | |
3561 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
3562 ComplexColumnVector&)): Call xzdotu here. | |
3563 | |
3564 2006-09-05 John W. Eaton <jwe@octave.org> | |
3565 | |
3566 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
3567 elements to '\0', not ' '. | |
3568 | |
5972 | 3569 2006-08-25 John W. Eaton <jwe@octave.org> |
3570 | |
3571 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
3572 | |
5958 | 3573 2006-08-23 John W. Eaton <jwe@octave.org> |
3574 | |
3575 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
3576 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
3577 | |
5955 | 3578 2006-08-22 John W. Eaton <jwe@octave.org> |
3579 | |
5956 | 3580 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
3581 * dMatrix.cc (Matrix::save_ascii): New function. | |
3582 | |
5955 | 3583 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
3584 If array is empty, return value is same size as array. | |
3585 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
3586 If array is empty, produce correctly sized return value. | |
3587 | |
5940 | 3588 2006-08-18 John W. Eaton <jwe@octave.org> |
3589 | |
5943 | 3590 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
3591 * dMatrix.h: Provide decl. | |
3592 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
3593 * dNDArray.h: Provide decl. | |
3594 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
3595 New function. | |
3596 * intNDArray.h: Provide decl. | |
3597 | |
5940 | 3598 * Array.cc (Array<T>::permute): Only rearrange values if array is |
3599 not empty. | |
3600 | |
5904 | 3601 2006-07-26 John W. Eaton <jwe@octave.org> |
3602 | |
3603 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
3604 DET::value_will_overflow): Use xlog2 instead of log2. | |
3605 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
3606 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
3607 * CmplxDET.cc (ComplexDET::initialize10, | |
3608 ComplexDET::value_will_underflow, | |
3609 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
3610 (ComplexDET::initialize2, ComplexDET::initialize10): | |
3611 Use xround instead of round. | |
3612 (ComplexDET::initialize2, ComplexDET::value): | |
3613 Use xexp2 instead of exp2. | |
3614 | |
3615 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
3616 (xlog2, xexp2): New functions. | |
3617 * lo-mappers.h: Provide decls. | |
3618 | |
5900 | 3619 2006-07-22 John W. Eaton <jwe@octave.org> |
3620 | |
3621 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
3622 Sparse<T>::mex_get_jc): New functions. | |
3623 | |
3624 2006-07-21 John W. Eaton <jwe@octave.org> | |
3625 | |
3626 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
3627 * Array.h (Array<T>::mex_get_data): New function. | |
3628 | |
5898 | 3629 2006-07-19 John W. Eaton <jwe@octave.org> |
3630 | |
3631 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
3632 | |
5893 | 3633 2006-07-16 John W. Eaton <jwe@octave.org> |
3634 | |
3635 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
3636 Rename from SparseParams. Use same implementation method as other | |
3637 singleton classes in Octave. Change all uses of | |
3638 Voctave_sparse_controls to use static functions from | |
3639 octave_sparse_params class instead. | |
3640 | |
3641 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
3642 SparseParams::get_key): Pass std::string arg by const reference, | |
3643 not const value. | |
3644 | |
5892 | 3645 2006-07-15 John W. Eaton <jwe@octave.org> |
3646 | |
3647 * data-conv.cc: Instantiante swap_bytes templates here. | |
3648 | |
3649 * MatrixType.cc (MatrixType::MatrixType): | |
3650 Use complete initializer lists in constructors. | |
3651 | |
5880 | 3652 2006-07-06 John W. Eaton <jwe@octave.org> |
3653 | |
3654 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
3655 New constructor. | |
3656 * str-vec.h: Provide decl. | |
3657 | |
5876 | 3658 2006-07-01 David Bateman <dbateman@free.fr> |
3659 | |
3660 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
3661 elements on the diagonal. Allow both Upper and Lower triangular | |
3662 matrices to be treated. | |
3663 * CSparse.cc (tinverse): ditto. | |
3664 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
3665 constant assignment. | |
3666 | |
5870 | 3667 2006-06-30 John W. Eaton <jwe@octave.org> |
3668 | |
5872 | 3669 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
3670 * cmd-edit.cc (editor::read_init_file): Ditto. | |
3671 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 3672 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 3673 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 3674 |
5870 | 3675 * data-conv.cc (data_conv::string_to_data_type): |
3676 Correctly handle leading "*". | |
3677 | |
5869 | 3678 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
3679 | |
3680 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
3681 array access. | |
3682 | |
5866 | 3683 2006-06-27 John W. Eaton <jwe@octave.org> |
3684 | |
3685 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
3686 | |
5864 | 3687 2006-06-21 John W. Eaton <jwe@octave.org> |
3688 | |
3689 * oct-shlib.cc (octave_dlopen_shlib::close, | |
3690 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
3691 Skip do_close_hook if cl_hook is 0. | |
3692 | |
5863 | 3693 2006-06-16 John W. Eaton <jwe@octave.org> |
3694 | |
3695 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
3696 * randmtzig.h: Don't inlcude config.h. | |
3697 | |
5837 | 3698 2006-05-31 David Bateman <dbateman@free.fr> |
3699 | |
3700 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
3701 | |
5828 | 3702 2006-05-23 John W. Eaton <jwe@octave.org> |
3703 | |
3704 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
3705 typedefs, or define them if those files are not available. | |
3706 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
3707 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
3708 octave_uint64_t): Delete typedefs. Replace all uses of these | |
3709 types with int8_t, int16_t, etc. | |
3710 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
3711 Delete definitions. Replace all uses of these macros with int8_t, | |
3712 int16_t, etc. | |
3713 * randmtzig.h: Delete integer typedefs. | |
3714 | |
5822 | 3715 2006-05-18 John W. Eaton <jwe@octave.org> |
3716 | |
3717 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
3718 From Keith Goodman <kwgoodman@gmail.com>. | |
3719 | |
5813 | 3720 2006-05-08 David Bateman <dbateman@free.fr> |
3721 | |
3722 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
3723 modification. | |
3724 | |
5797 | 3725 2006-05-09 David Bateman <dbateman@free.fr> |
3726 | |
3727 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
3728 ov-cx-sparse. and error_state. | |
3729 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
3730 | |
5795 | 3731 2006-05-08 David Bateman <dbateman@free.fr> |
3732 | |
3733 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
3734 first pass and use to determine which algorithm to use on a | |
3735 column-by-column basis. | |
3736 | |
5792 | 3737 2006-05-04 David Bateman <dbateman@free.fr> |
3738 | |
3739 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
3740 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
3741 CXSparse or later | |
3742 | |
5785 | 3743 2006-05-03 David Bateman <dbateman@free.fr> |
3744 | |
3745 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
3746 External declaration of lapack triangular and Cholesky codes. | |
3747 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
3748 ComplexMatrix::fsolve): New private solver codes for | |
3749 upper, lower and LU/Cholesky solvers. | |
3750 (ComplexMatrix::solve): New versions for cached matrix | |
3751 type. Adapt old versions to call new versions | |
3752 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3753 new solvers. | |
3754 (solve): New versions for cached matrix type. | |
3755 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
3756 External declaration of lapack triangular and Cholesky codes. | |
3757 (Matrix::utsolve, Matrix::ltsolve, | |
3758 Matrix::fsolve): New private solver codes for | |
3759 upper, lower and LU/Cholesky solvers. | |
3760 (Matrix::solve): New versions for cached matrix | |
3761 type. Adapt old versions to call new versions | |
3762 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
3763 new solvers. | |
3764 (solve): New versions for cached matrix type. | |
3765 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
3766 * CSparse.h: ditto. | |
3767 * dSparse.cc: ditto. | |
3768 * dSparse.h: ditto. | |
3769 * SparseCmplxCHOL.cc: ditto. | |
3770 * SparsedbleCHOL.cc: ditto. | |
3771 * sparse-dmsolve.cc: ditto. | |
3772 * SparseType.cc, SparseType.h: delete. | |
3773 * MatrixType.cc: New file for class to cache matrix type, based on | |
3774 old SparseType class but caching matrix and sparse types. | |
3775 * MatrixType.h: ditto. | |
3776 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
3777 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
3778 respectively. | |
3779 * mx-base.h: Include MatrixTye.h as header file. | |
3780 | |
5781 | 3781 2006-05-01 John W. Eaton <jwe@octave.org> |
3782 | |
3783 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
3784 Delete WARN_FUTURE arg. Change all uses. | |
3785 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
3786 Change all uses. Use current_liboctave_warning_with_id_handler. | |
3787 (octave_base_shlib::open): Delete arg. Change all derived classes | |
3788 and uses. | |
3789 | |
3790 2006-04-29 John W. Eaton <jwe@octave.org> | |
3791 | |
3792 * Array-flags.cc, Array-flags.h: Delete. | |
3793 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
3794 (MATRIX_INC): Remove Array-flags.h from the list. | |
3795 | |
3796 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
3797 Use current_liboctave_warning_with_id_handler | |
3798 with warning ID Octave:resize-on-range-error. | |
3799 * idx-vector.h: Fix decl. | |
3800 * Array.cc, Sparse.cc: Change all callers. | |
3801 | |
3802 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
3803 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
3804 with warning ID Octave:fortran-indexing instead of | |
3805 liboctave_wfi_flag. | |
3806 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
3807 | |
5777 | 3808 2006-04-26 John W. Eaton <jwe@octave.org> |
3809 | |
3810 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
3811 New static data. | |
3812 * pathsearch.h: Provide decls. | |
3813 (dir_path::is_path_sep): New function. | |
3814 | |
5766 | 3815 2006-04-18 John W. Eaton <jwe@octave.org> |
3816 | |
3817 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
3818 Omit inline from decl. | |
3819 | |
3820 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
3821 local array with variable dimension. | |
3822 | |
5764 | 3823 2006-04-16 John W. Eaton <jwe@octave.org> |
3824 | |
5765 | 3825 * lo-sstream.h: Delete. |
3826 * Makefile.in (INCLUDES): Remove it from the list. | |
3827 | |
3828 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
3829 * Sparse.cc (Sparse::range_error): Likewise. | |
3830 * DASSL.cc (DASSL::error_message): Likewise. | |
3831 * LSODE.cc (LSODE::error_message): Likewise. | |
3832 * DASRT.cc (DASRT::error_message): Likewise. | |
3833 * DASPK.cc (DASPK::error_message): Likewise. | |
3834 * Array.cc (Array::range_error): Likewise. | |
3835 | |
5764 | 3836 * kpse.cc (kpse_hash): Rename from hash. |
3837 (hash_lookup): Call kpse_hash instead of hash. | |
3838 | |
3839 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
3840 to avoid local array with variable dimension. | |
3841 | |
5760 | 3842 2006-04-13 David Bateman <dbateman@free.fr> |
3843 | |
3844 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3845 Optimize assignment. | |
3846 | |
3847 2006-04-13 John W. Eaton <jwe@octave.org> | |
3848 | |
3849 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3850 Eliminate unnecessary casts. | |
3851 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
3852 | |
3853 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
3854 (log_search, dir_links): Use static_cast instead of C-style cast. | |
3855 | |
3856 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
3857 * oct-alloc.cc (allocator::grow): Likewise. | |
3858 * CSparse.cc (SparseComplexMatrix::determinant, | |
3859 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
3860 Likewise. | |
3861 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
3862 | |
3863 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
3864 Use static_cast instead of C-style cast. | |
3865 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3866 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
3867 | |
3868 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
3869 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
3870 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
3871 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
3872 Use reinterpret_cast instead of X_CAST. | |
3873 | |
3874 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
3875 return value here. | |
3876 | |
5752 | 3877 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
3878 | |
3879 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
3880 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
3881 | |
5730 | 3882 2006-04-03 David Bateman <dbateman@free.fr> |
3883 | |
5731 | 3884 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
3885 to avoid copy of original matrix. | |
3886 | |
5730 | 3887 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
3888 randmtzig.h to the list. | |
3889 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
3890 randmtzig.c to the list. | |
3891 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
3892 (use_old_generators): New variable. | |
3893 (old_initialized): Rename from initialized. | |
3894 (new_initialized): New variable. | |
3895 (oct_init_by_entropy): New function. | |
3896 (maybe_initialize): Initialize new or old generator depending on | |
3897 value of use_old_generators. | |
3898 (octave_rand::state): New functions. | |
3899 (octave_rand::distribution): Add gamma, exponential and poisson | |
3900 distributions. | |
3901 (octave_rand::exponential_distribution, | |
3902 octave_rand::poisson_distribution, | |
3903 octave_rand::gamma_distribution): New methods to select | |
3904 exponential, poisson or gamma distribution. | |
3905 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3906 octave_rand::vector): Add new distributions. | |
3907 * oct-rand.h: Provide decls for new functions. | |
3908 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
3909 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
3910 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
3911 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
3912 randmtzig.h: New files. | |
3913 | |
5717 | 3914 2006-03-24 John W. Eaton <jwe@octave.org> |
3915 | |
3916 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
3917 Array<octave_idx_type>, so fortran_vec returns pointer to | |
3918 octave_idx_type, not pointer to int. | |
3919 | |
3920 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
3921 ComplexMatrix::column (char*)): Delete. | |
3922 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
3923 Matrix::column (char*)): Delete. | |
3924 | |
5713 | 3925 2006-03-21 David Bateman <dbateman@free.fr> |
3926 | |
3927 * SparseQR.h: Publish externally used friends. | |
3928 * SparseCmplxQR.h: ditto. | |
3929 | |
5700 | 3930 2006-03-21 John W. Eaton <jwe@octave.org> |
3931 | |
3932 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
3933 call to xdbetai. | |
3934 | |
5697 | 3935 2006-03-21 David Bateman <dbateman@free.fr> |
3936 | |
5701 | 3937 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
3938 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 3939 |
3940 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
3941 fallback to QR solvers to be optional. | |
3942 * CSparse.cc (solve): Ditto. | |
3943 * dSparse.h (solve): update declaration for new argument. | |
3944 * CSparse.h (solve): Ditto. | |
3945 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
3946 to bypass QR solvers when solving the well determined part of | |
3947 the problem. | |
5697 | 3948 |
5690 | 3949 2006-03-17 John W. Eaton <jwe@octave.org> |
3950 | |
3951 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
3952 | |
5681 | 3953 2006-03-16 David Bateman <dbateman@free.fr> |
3954 | |
3955 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
3956 reduction of matrix size, except for a couple of cases where nzmax | |
3957 is needed. | |
3958 (zpbcon): Correct declaration of lapack zpbcon function. | |
3959 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
3960 an argument to allow the calculation of condition number to be | |
3961 optional. | |
3962 (bsolve): Add code for the calculation of the condition number | |
3963 using zpbcon and zgbcon. | |
3964 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
3965 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
3966 singular if singularity is detected. | |
3967 (solve): Use optional argument to disable calculation of | |
3968 condition number for all but fsolve, for speed. Add code to | |
3969 allow rectnagular matrices or matrices identified as singular | |
3970 to be treated. | |
3971 (lssolve): delete. | |
3972 (operator *): Don't recast real matrices as complex, but | |
3973 rather use the macro directly on the real data. | |
3974 * dSparse.cc: ditto. | |
3975 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
3976 fsolve, factorize): Update declaration for new argument to | |
3977 calculate the condition number. | |
3978 (lssolve): delete. | |
3979 * dSparse.h: ditto. | |
3980 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
3981 reduction of matrix size, except for a couple of cases where | |
3982 nzmax is needed. | |
3983 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
3984 reduction of matrix size, except for a couple of cases where | |
3985 nzmax is needed. | |
3986 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
3987 Special case strict permutations for speed. | |
3988 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
3989 reduction of matrix size, except for a couple of cases where | |
3990 nzmax is needed. | |
3991 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
3992 macros to allow mixed complex/real arguments. | |
3993 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
3994 value. | |
3995 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
3996 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
3997 of permutated triangular matrices to avoid seg-faults. Disable | |
3998 detection of underdetermined lower and over-determined upper | |
3999 matrix due to problems with non minimum norm solutions. | |
4000 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
4001 * Makefile.in: add sparse-dmsolve.cc to targets. | |
4002 | |
5675 | 4003 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
4004 | |
4005 * oct-time.cc (octave_strptime::init): Return useful character count. | |
4006 | |
5648 | 4007 2006-03-08 David Bateman <dbateman@free.fr> |
4008 | |
4009 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
4010 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
4011 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
4012 * SparseQR.cc: ditto. | |
4013 * SparseQR.h: ditto. | |
4014 * oct-sparse.h: ditto. | |
4015 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
4016 Declare info variable as volatile. | |
4017 | |
4018 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
4019 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
4020 | |
5634 | 4021 2006-03-01 John W. Eaton <jwe@octave.org> |
4022 | |
4023 * CMatrix.cc (ComplexMatrix::determinant): | |
4024 Scale result by factors of 2, not 10. | |
4025 * dMatrix.cc (Matrix::determinant): Likewise. | |
4026 | |
4027 * dbleDET.h (DET::DET): Use initializer list. | |
4028 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
4029 DET::exponent10): New functions. | |
4030 (DET::det): Delete. | |
4031 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
4032 Store value internally with double and int instead of 2-element | |
4033 double vector. | |
4034 (DET::initialize2, DET::initialize10): Provide decls. | |
4035 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
4036 Return bool value, not int. | |
4037 (DET::initialize2, DET::initialize10): New functions. | |
4038 | |
4039 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
4040 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
4041 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
4042 (ComplexDET::det): Delete. | |
4043 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
4044 ComplexDET::base2): New data members. | |
4045 Store value internally with Complex and int instead of 2-element | |
4046 Complex vector. | |
4047 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
4048 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
4049 ComplexDET::value_will_underflow): Return bool value, not int. | |
4050 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
4051 | |
5632 | 4052 2006-02-24 John W. Eaton <jwe@octave.org> |
4053 | |
4054 * Array.cc (assignN): Clear index before reshaping. | |
4055 | |
4056 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
4057 | |
5630 | 4058 2006-02-20 David Bateman <dbateman@free.fr> |
4059 | |
4060 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
4061 matrix must be square in diagonal, permuted diagonal, triangular | |
4062 and permuted triangular back/forward substitution code. Change | |
4063 ambiguous use of no. rows and columns. | |
4064 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
4065 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
4066 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
4067 rectangular diagonal, permuted diagonal, triangular and permuted | |
4068 triangular matrices. | |
4069 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
4070 Treat case where third argument is zero. | |
4071 | |
5621 | 4072 2006-02-15 John W. Eaton <jwe@octave.org> |
4073 | |
5622 | 4074 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
4075 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
4076 | |
5621 | 4077 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
4078 | |
5619 | 4079 2006-02-13 David Bateman <dbateman@free.fr> |
4080 | |
4081 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
4082 ccolamd and cxsparse | |
4083 | |
5617 | 4084 2006-02-13 John W. Eaton <jwe@octave.org> |
4085 | |
5618 | 4086 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
4087 while loop condition. | |
4088 (kpse_path_iterator::operator =): Declare as private function but | |
4089 don't define to prevent attempts to use assignment operator. | |
4090 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 4091 |
5615 | 4092 2006-02-10 John W. Eaton <jwe@octave.org> |
4093 | |
4094 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
4095 product of all dimensions in CP_SZ. | |
4096 | |
5611 | 4097 2006-02-09 John W. Eaton <jwe@octave.org> |
4098 | |
4099 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 4100 product of all dimensions in CP_SZ. |
5611 | 4101 |
5610 | 4102 2006-02-09 David Bateman <dbateman@free.fr> |
4103 | |
4104 * SparseQR.cc: new file for real sparse QR class. | |
4105 * SparseQR.h: declaration. | |
4106 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
4107 * SparseCmplxQR.h: declaration. | |
4108 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4109 (factorize, fsolve): Enable code code lssolve. | |
4110 (lssolve): disable unused args, write based in above sparse QR class. | |
4111 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
4112 (factorize, fsolve): Enable code code lssolve. | |
4113 (lssolve): disable unused args, write based in above sparse QR class. | |
4114 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
4115 Include CXSparse headers. | |
4116 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
4117 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
4118 | |
5607 | 4119 2006-02-08 John W. Eaton <jwe@octave.org> |
4120 | |
4121 * Array-util.h (calc_permutated_idx): Delete. | |
4122 * Array.cc (permute_vector): New data structure. | |
4123 (permute_vector_compare): New function. | |
4124 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
4125 improved performance. | |
4126 | |
5606 | 4127 2006-02-04 David Bateman <dbateman@free.fr> |
4128 | |
4129 * COLAMD: Remove all files, as now unused. | |
4130 | |
5604 | 4131 2006-01-31 John W. Eaton <jwe@octave.org> |
4132 | |
4133 * Sparse.h (Sparse<T>::nzmax): New function. | |
4134 (Sparse<T>::nnz): Rename from nonzero. | |
4135 Change all uses of old nnz function to be nzmax. Change all uses | |
4136 of nonzero to be nnz. | |
4137 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
4138 | |
5603 | 4139 2006-01-21 David Bateman <dbateman@free.fr> |
4140 | |
4141 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
4142 (bool octave_idx_vector_comp): New function. | |
4143 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
4144 indexed idx_vector sorting function. | |
4145 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
4146 (class octave_idx_vector_sort): New class for indexed idx_vector | |
4147 sorting. | |
4148 (bool octave_idx_vector_comp): Declaration. | |
4149 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
4150 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
4151 class. | |
4152 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
4153 | |
5602 | 4154 2006-01-30 John W. Eaton <jwe@octave.org> |
4155 | |
4156 * so-array.h (streamoff_array::nnz): New funtion. | |
4157 * boolNDArray.h (boolNDArray::nnz): New function. | |
4158 * MArrayN.h (MArrayN<T>::nnz): New function. | |
4159 * MArray.h (MArray<T>::nnz): New function. | |
4160 | |
5587 | 4161 2006-01-04 David Bateman <dbateman@free.fr> |
4162 | |
4163 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
4164 elements not being sorted in return matrix. Sort them, and make | |
4165 solver select between two algorithms to further improve the | |
4166 performance. | |
4167 * dSparse.cc: include oct-sort.h. | |
4168 * CSparse.cc: ditto. | |
4169 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
4170 | |
5586 | 4171 2005-12-28 David Bateman <dbateman@free.fr> |
4172 | |
5587 | 4173 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
4174 faster in all cases, and significantly so for low density or small | |
4175 order problems. | |
5586 | 4176 |
5552 | 4177 2005-11-30 John W. Eaton <jwe@octave.org> |
4178 | |
4179 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
4180 before setting any values in either array. | |
4181 | |
5547 | 4182 2005-11-29 John W. Eaton <jwe@octave.org> |
4183 | |
4184 * oct-uname.h, oct-uname.cc: New files. | |
4185 * Makefile.in: Add them to the appropriate lists. | |
4186 | |
5535 | 4187 2005-11-11 John W. Eaton <jwe@octave.org> |
4188 | |
4189 * Array.cc (Array<T>::indexN): Simplify. | |
4190 | |
5533 | 4191 2005-11-09 John W. Eaton <jwe@octave.org> |
4192 | |
4193 * oct-inttypes.h (octave_int::operator char (void) const): | |
4194 New conversion op. | |
4195 | |
5527 | 4196 2005-11-01 John W. Eaton <jwe@octave.org> |
4197 | |
4198 * Makefile.in (distclean): Also remove oct-types.h. | |
4199 From Quentin Spencer <qspencer@ieee.org>. | |
4200 | |
5526 | 4201 2005-10-31 David Bateman <dbateman@free.fr> |
4202 | |
4203 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
4204 preprocessor defined TRUE/FALSE. | |
4205 | |
5523 | 4206 2005-10-30 John W. Eaton <jwe@octave.org> |
4207 | |
4208 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
4209 (MX_ND_CUMULATIVE_OP): Likewise. | |
4210 | |
5519 | 4211 2005-10-29 John W. Eaton <jwe@octave.org> |
4212 | |
5520 | 4213 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
4214 things up. Simplify. | |
4215 | |
5519 | 4216 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
4217 case for "vector_equivalent". | |
4218 | |
4219 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
4220 | |
5518 | 4221 2005-10-28 John W. Eaton <jwe@octave.org> |
4222 | |
4223 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
4224 From Quentin Spencer <qspencer@ieee.org>. | |
4225 | |
4226 * sparse-base-chol.cc: Use C++ true/false instead of | |
4227 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
4228 | |
5516 | 4229 2005-10-27 John W. Eaton <jwe@octave.org> |
4230 | |
4231 * Array.cc (assignN): Reshape to final size instead of resizing. | |
4232 | |
5512 | 4233 2005-10-26 John W. Eaton <jwe@octave.org> |
4234 | |
4235 * oct-sparse.h: New file. | |
4236 * oct-sparse.h.in: Delete. | |
4237 | |
5511 | 4238 2005-10-26 David Bateman <dbateman@free.fr> |
4239 | |
4240 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
4241 * sparse-base-chol.cc: ditto. | |
4242 | |
5508 | 4243 2005-10-26 John W. Eaton <jwe@octave.org> |
4244 | |
4245 Changes for GCC 4.1, tip from Arno J. Klaassen | |
4246 <arno@heho.snv.jussieu.fr>: | |
4247 | |
5509 | 4248 * dSparse.h (real (const SparseComplexMatrix&)): |
4249 Publish externally used friend function. | |
4250 (imag (const SparseComplexMatrix&)): Likewise. | |
4251 | |
5508 | 4252 * dColVector.h (real (const ComplexColumnVector&)): |
4253 Publish externally used friend function. | |
4254 (imag (const ComplexColumnVector&)): Likewise. | |
4255 | |
4256 * dNDArray.h (real (const ComplexNDArray&)): | |
4257 Publish externally used friend function. | |
4258 (imag (const ComplexNDArray&)): Likewise. | |
4259 | |
4260 * dMatrix.h (operator * (const ComplexMatrix&)): | |
4261 Move decl outside class. No need to be friend. | |
4262 (real (const ComplexMatrix&)): Publish externally used friend function. | |
4263 (imag (const ComplexMatrix&)): Likewise. | |
4264 | |
4265 * CMatrix.h: (operator * (const ColumnVector&, const | |
4266 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
4267 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
4268 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
4269 Likewise. | |
4270 | |
5506 | 4271 2005-10-23 David Bateman <dbateman@free.fr> |
4272 | |
4273 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
4274 elements need to be removed. | |
4275 | |
4276 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
4277 versions of cholmod. | |
4278 | |
4279 * CSparse.cc (tinverse): New private function for the inversion of | |
4280 an upper triangular matrix. | |
4281 (dinverse): ditto for diagonal matrices. | |
4282 (inverse): Add SparseType as an argument. Implement matrix inverse | |
4283 using tinverse and dinverse. | |
4284 (fsolve): Use cholmod to implement Cholesky solver. | |
4285 * CSparse.h (tinverse, dinverse): Declarations | |
4286 (inverse): Alter declaration to include SparseType. | |
4287 | |
4288 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
4289 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
4290 | |
4291 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
4292 | |
4293 * sparse-util.cc: New file for sparse utility functions. | |
4294 * sparse-util.h: New file with declarations of sparse utility | |
4295 functions. | |
4296 | |
4297 * sparse-base-chol.cc: New file with sparse cholesky class based | |
4298 on cholmod. | |
4299 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
4300 class based on cholmod. | |
4301 | |
4302 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
4303 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
4304 | |
4305 * SparsedbleCHOL.cc: ditto. | |
4306 * SparsedbleCHOL.h: ditto. | |
4307 | |
4308 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
4309 (INCLUDES): Include sparse-util.h | |
4310 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
4311 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
4312 | |
5489 | 4313 2005-10-12 John W. Eaton <jwe@octave.org> |
4314 | |
4315 * oct-env.cc (octave_env::have_x11_display): New function. | |
4316 * oct-env.h: Provide decl. | |
4317 | |
5476 | 4318 2005-09-29 John W. Eaton <jwe@octave.org> |
4319 | |
4320 * file-stat.h (file_stat::mode): New function. | |
4321 | |
4322 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
4323 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
4324 file_stat::is_reg, file_stat::is_sock): New static functions. | |
4325 * file-stat.h: Provide decls. | |
4326 | |
4327 2005-09-28 John W. Eaton <jwe@octave.org> | |
4328 | |
4329 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
4330 * file-ops.h: Provide decl. | |
4331 | |
5454 | 4332 2005-09-19 David Bateman <dbateman@free.fr> |
4333 | |
4334 * oct-env.cc (octave_env::do_get_home_directory): | |
4335 Also check HOMEDRIVE under mingw. | |
4336 | |
5455 | 4337 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
4338 | |
5453 | 4339 2005-09-16 John W. Eaton <jwe@octave.org> |
4340 | |
4341 * oct-syscalls.cc: Include lo-utils.h here. | |
4342 (octave_syscalls::waitpid): Call octave_waitpid here. | |
4343 | |
4344 * lo-cutils.c (octave_waitpid): New function. | |
4345 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
4346 oct-syscalls.cc | |
4347 | |
4348 | |
4349 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
4350 waitpid in src/sysdep.h. Make this header C-compatible. | |
4351 | |
4352 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
4353 Change all uses. | |
4354 | |
5451 | 4355 2005-09-15 John W. Eaton <jwe@octave.org> |
4356 | |
4357 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
4358 | |
4359 * oct-sparse.h.in: New file. | |
4360 * Makefile.in (DISTFILES): Include it in the list. | |
4361 (INCLUDES): Add oct-sparse.h to the list. | |
4362 | |
4363 2005-09-15 David Bateman <dbateman@free.fr> | |
4364 | |
4365 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
4366 headers. Remove include of umfpack.h. | |
4367 * CSparse.cc : ditto. | |
4368 * SparsedbleLU.cc : ditto. | |
4369 * SparseCmplxLU.cc : ditto. | |
4370 | |
4371 * COLAMD : Remove colamd files from octave. | |
4372 * COLAMD.files : delete. | |
4373 * COLAMD.README : delete. | |
4374 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
4375 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
4376 under mingw. | |
4377 | |
4378 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
4379 in definition. | |
4380 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
4381 change of cast not allowed under g++ 3.x. | |
4382 * lo-utils.h (octave_w32_library_search): Declaration. | |
4383 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
4384 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
4385 | |
5442 | 4386 2005-09-07 John W. Eaton <jwe@octave.org> |
4387 | |
4388 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
4389 based on current code in Bash. Handle a few more escape | |
4390 sequences. Do a better job of decoding \W. | |
4391 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4392 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 4393 |
4394 * COLAMD: Update version of colamd to v2.4. | |
4395 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
4396 colamd.c for long version. | |
4397 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4398 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 4399 |
4400 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
4401 mixed sparse/full multiply. | |
4402 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
4403 mixed sparse/full multiply. | |
4404 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
4405 mixed sparse/full multiply operators. | |
4406 | |
5420 | 4407 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
4408 | |
4409 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
4410 avoid warnings for unsigned types. | |
4411 | |
5404 | 4412 2005-07-07 John W. Eaton <jwe@octave.org> |
4413 | |
4414 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
4415 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
4416 | |
5392 | 4417 2005-06-15 John W. Eaton <jwe@octave.org> |
4418 | |
5394 | 4419 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
4420 Flush stdout here. | |
4421 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
4422 | |
5392 | 4423 * Array.h (Array::resize): Change int args to octave_idx_type. |
4424 | |
5386 | 4425 2005-06-14 John W. Eaton <jwe@octave.org> |
4426 | |
5389 | 4427 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
4428 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
4429 octave_is_NaN_or_NA to xisnan. | |
4430 | |
4431 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
4432 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
4433 | |
4434 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
4435 lo_ieee_isnan. | |
4436 | |
5387 | 4437 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
4438 value is greater than FLT_MAX. | |
4439 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4440 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
4441 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
4442 | |
4443 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
4444 values too. | |
4445 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
4446 | |
4447 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
4448 NA, Inf values. | |
4449 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 4450 |
5385 | 4451 2005-06-14 David Bateman <dbateman@free.fr> |
4452 | |
5387 | 4453 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
4454 NA values. | |
4455 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 4456 |
5379 | 4457 2005-06-02 John W. Eaton <jwe@octave.org> |
4458 | |
4459 * Array.cc (assignN): Try harder to correctly resize previously | |
4460 empty LHS. | |
4461 | |
5351 | 4462 2005-05-16 David Bateman <dbateman@free.fr> |
4463 | |
4464 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
4465 * CSparse.h: ditto. | |
4466 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4467 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 4468 |
4469 * dSparse.cc (determinant): Free numeric factorization after | |
4470 sucessful calculation. | |
4471 * CSparse.cc (determinant): ditto. | |
4472 | |
5340 | 4473 2005-05-06 John W. Eaton <jwe@octave.org> |
4474 | |
4475 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
4476 chol_mat. | |
4477 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
4478 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
4479 Provide decls. | |
4480 | |
4481 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
4482 indexing chol_mat. | |
4483 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
4484 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
4485 Provide decls. | |
4486 | |
5338 | 4487 2005-05-05 John W. Eaton <jwe@octave.org> |
4488 | |
4489 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
4490 retval before return. | |
4491 | |
5336 | 4492 2005-05-04 John W. Eaton <jwe@octave.org> |
4493 | |
4494 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
4495 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
4496 | |
5330 | 4497 2005-05-02 John W. Eaton <jwe@octave.org> |
4498 | |
4499 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
4500 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
4501 | |
5322 | 4502 2005-04-29 David Bateman <dbateman@free.fr> |
4503 | |
5330 | 4504 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
4505 double. Correct indexing for upper diagonal elements for sparse | |
4506 tridiagonal. | |
5322 | 4507 * CSparse.cc (trisolve): ditto. |
4508 | |
5330 | 4509 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
4510 UMFPACK for 64-bit. | |
5322 | 4511 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
4512 UMFPACK_ZNAME(*). | |
4513 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
4514 | |
5330 | 4515 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
4516 UMFPACK for 64-bit. | |
5322 | 4517 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
4518 UMFPACK_DNAME(*). | |
4519 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
4520 | |
5330 | 4521 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
4522 triangular back/forward substitution code. | |
5322 | 4523 * CSparse.cc (ltsolve, utsolve): ditto. |
4524 | |
5330 | 4525 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
4526 from spparms("spumoni",1). | |
5322 | 4527 * CSparse.cc (solve): ditto |
4528 | |
5330 | 4529 * SparseType.cc (SparseType(void)): Print info for |
4530 spparms("spumoni",1). | |
5322 | 4531 (SparseType(const matrix_type), SparseType(const matrix_type, const |
4532 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
4533 const octave_idx_type, const octave_idx_type)): New constructors. | |
4534 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 4535 Detect row permuted lower triangular and column permuted upper |
4536 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 4537 |
4538 * SparseType.h: Simplify the permutation code. | |
4539 (SparseType(const matrix_type), SparseType | |
4540 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
4541 SparseType(const matrix_type, const octave_idx_type, | |
4542 const octave_idx_type)): Declarations. | |
4543 | |
5304 | 4544 2005-04-25 John W. Eaton <jwe@octave.org> |
4545 | |
4546 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
4547 array and its contents. | |
4548 | |
5303 | 4549 2005-04-22 John W. Eaton <jwe@octave.org> |
4550 | |
4551 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
4552 const here now that rl_terminal_name is declared const char*. | |
4553 | |
5294 | 4554 2005-04-21 John W. Eaton <jwe@octave.org> |
4555 | |
4556 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
4557 | |
5285 | 4558 2005-04-19 John W. Eaton <jwe@octave.org> |
4559 | |
4560 * Array.cc (assignN): Don't crash if the index list is empty. | |
4561 | |
5282 | 4562 2005-04-14 David Bateman <dbateman@free.fr> |
4563 | |
4564 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
4565 * SparsedbleLU.cc: Ditto. | |
4566 * SparseCmplxLU.h: Definition. | |
4567 * SparsedbleLU.h: ditto. | |
4568 | |
4569 * SparseType.cc (transpose): New function. | |
4570 * SparseType.h (transpose): Definition. | |
4571 | |
5278 | 4572 2005-04-11 John W. Eaton <jwe@octave.org> |
4573 | |
4574 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
4575 fortran code that could end up calling XSTOPX. | |
4576 | |
5277 | 4577 2005-04-10 David Bateman <dbateman@free.fr> |
4578 | |
4579 * Makefile.in: include oct-types in INCLUDES so that it is | |
4580 installed | |
4581 | |
5275 | 4582 2005-04-08 John W. Eaton <jwe@octave.org> |
4583 | |
5276 | 4584 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
4585 | |
5275 | 4586 * Initial merge of 64-bit changes from Clinton Chee: |
4587 | |
4588 2005-04-07 John W. Eaton <jwe@octave.org> | |
4589 | |
4590 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
4591 | |
4592 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
4593 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
4594 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
4595 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
4596 Use octave_idx_type instead of int where needed. | |
4597 | |
4598 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4599 | |
4600 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
4601 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
4602 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
4603 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
4604 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
4605 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4606 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
4607 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
4608 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
4609 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
4610 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
4611 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
4612 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
4613 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
4614 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
4615 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
4616 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
4617 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
4618 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
4619 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
4620 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
4621 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
4622 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
4623 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
4624 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
4625 str-vec.cc, str-vec.h: | |
4626 Use octave_idx_type instead of int where needed. | |
4627 | |
4628 2005-04-01 John W. Eaton <jwe@octave.org> | |
4629 | |
4630 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
4631 | |
4632 * oct-types.h.in: New file. | |
4633 | |
4634 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
4635 | |
4636 * lo-utils.cc (NINTbig): New function. | |
4637 * lo-utils.h: Provide decl. | |
4638 | |
5269 | 4639 2005-04-06 David Bateman <dbateman@free.fr> |
4640 | |
4641 * Makefile.in: Link to UMFPACK_LIBS. | |
4642 | |
5265 | 4643 2005-04-05 John W. Eaton <jwe@octave.org> |
4644 | |
4645 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
4646 | |
5264 | 4647 2005-04-01 John W. Eaton <jwe@octave.org> |
4648 | |
4649 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
4650 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
4651 when resizing A. When performing the assignment, just check that | |
4652 the number of elements in RHS matches the number of elements | |
4653 indexed by IDX-LIST. | |
4654 | |
5260 | 4655 2005-03-30 John W. Eaton <jwe@octave.org> |
4656 | |
5261 | 4657 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
4658 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
4659 | |
4660 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
4661 dSparse.cc: Use std:: for Complex functions instead of relying on | |
4662 wrappers from oct-cmplx.h. | |
5260 | 4663 |
4664 * oct-cmplx.h: Provide typedef only. | |
4665 | |
4666 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
4667 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
4668 Likewise. | |
4669 | |
5247 | 4670 2005-03-26 John W. Eaton <jwe@octave.org> |
4671 | |
4672 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
4673 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
4674 | |
5209 | 4675 2005-03-15 John W. Eaton <jwe@octave.org> |
4676 | |
4677 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
4678 | |
5203 | 4679 2005-03-14 John W. Eaton <jwe@octave.org> |
4680 | |
4681 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
4682 (DISTDIRS): Don't include UMFPACK. | |
4683 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
4684 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
4685 flags for these files. | |
4686 Don't include include $(srcdir)/UMFPACK.files. | |
4687 Don't include include $(srcdir)/UMFPACK.rules. | |
4688 | |
4689 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
4690 Delete files. | |
4691 * UMFPACK: Delete directory tree. | |
4692 | |
4693 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
4694 * CSparse.cc: Likewise. | |
4695 * SparsedbleLU.cc: Likewise. | |
4696 * SparseCmplxLU.cc: Likewise. | |
4697 | |
4698 2005-03-14 David Bateman <dbateman@free.org> | |
4699 | |
4700 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
4701 Allow compilation to succeed if UMFPACK is not available. | |
4702 | |
5196 | 4703 2005-03-09 John W. Eaton <jwe@octave.org> |
4704 | |
4705 * Makefile.in (bin-dist): Delete target. | |
4706 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
4707 | |
5173 | 4708 2005-03-01 John W. Eaton <jwe@octave.org> |
4709 | |
4710 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
4711 * Makefile.in: Remove them from the lists. | |
4712 | |
5169 | 4713 2005-02-28 John W. Eaton <jwe@octave.org> |
4714 | |
4715 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
4716 | |
5167 | 4717 2005-02-27 David Bateman <dbateman@free.org> |
4718 | |
5169 | 4719 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
4720 in the sparse matrix. | |
5167 | 4721 |
5164 | 4722 2005-02-25 John W. Eaton <jwe@octave.org> |
4723 | |
4724 Sparse merge. | |
4725 | |
4726 2005-02-13 David Bateman <dbateman@free.fr> | |
4727 | |
4728 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
4729 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
4730 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
4731 solver into separate functions for the diagonal, upper, lower | |
4732 triangular, tridiagonal, banded and full cases. | |
4733 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
4734 version that probes the matrix type and another that assumes the type | |
4735 is passed. | |
4736 | |
4737 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
4738 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
4739 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
4740 (SparseMatrix::solve): Likewise | |
4741 | |
4742 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4743 Declaration of new functions | |
4744 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
4745 Likewise | |
4746 | |
4747 * CSparse.cc (operator !): Reverse the sense of the test. | |
4748 * dSpase.cc (operator !): Likewise | |
4749 | |
4750 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4751 triangular_col_perm, sparse_info): Remove matrix type code | |
4752 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4753 triangular_col_perm, sparse_info): Likewise | |
4754 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4755 triangular_col_perm, sparse_info): Likewise | |
4756 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
4757 triangular_col_perm, sparse_info): Likewise | |
4758 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
4759 triangular_col_perm, sparse_info, matrix_type): Likewise | |
4760 | |
4761 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
4762 | |
4763 * SparseType.h: New class for the matrix type used in solvers | |
4764 * SparseType.cc: methods of sparse matrix type class | |
4765 | |
4766 * Makefile.in: Add SparseType.cc | |
4767 | |
4768 2005-02-01 David Bateman <dbateman@free.fr> | |
4769 | |
4770 * UMFPACK: Update to version 4.4 | |
4771 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
4772 keep octave specific test files | |
4773 | |
4774 2005-01-23 David Bateman <dbateman@free.fr> | |
4775 | |
4776 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
4777 tridiagonal and banded cholesky solvers. Remove calculation of | |
4778 condition number for banded solvers. | |
4779 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
4780 | |
4781 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
4782 new functions. | |
4783 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4784 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4785 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
4786 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
4787 ditto | |
4788 | |
4789 * Sparse.cc (int Sparse<T>::type (int) const, | |
4790 bool Sparse<T>::is_dense (void) const): New functions definition | |
4791 | |
4792 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
4793 so it actually is cached, but disable | |
4794 | |
4795 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
4796 for compatiability | |
4797 | |
4798 2005-01-18 David Bateman <dbateman@free.fr> | |
4799 | |
4800 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4801 Modify calculation of number elements to skip between copied blocks. | |
4802 | |
4803 2005-01-07 David Bateman <dbateman@free.fr> | |
4804 | |
4805 * Sparse.h : Reverse definitions of numel and nelem. | |
4806 * Sparse.cc (assign1): Use numel and not nelem | |
4807 * Sparse-op-def.h: Replace all uses of nelem with numel | |
4808 | |
4809 2005-01-07 David Bateman <dbateman@free.fr> | |
4810 | |
4811 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
4812 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
4813 ComplexDET | |
4814 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
4815 by DET | |
4816 * dSparse.h (determinant): ditto | |
4817 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
4818 SparseComplexDET by ComplexDET | |
4819 * CSparse.h (determinant): ditto | |
4820 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
4821 SparseCmplxDET.cc: delete files | |
4822 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
4823 SparseCmplxDET.h andSparseCmplxDET.cc. | |
4824 | |
4825 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
4826 local variable to avoid variable shadowing. | |
4827 * dSparse.cc (SparseMatrix::solve): ditto. | |
4828 | |
4829 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
4830 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
4831 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
4832 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
4833 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
4834 sparse-sort.h: Remove additional licensing clause with authors | |
4835 permission. | |
4836 | |
4837 2004-12-30 John W. Eaton <jwe@octave.org> | |
4838 | |
4839 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
4840 Loop counter is int, not size_t. | |
4841 | |
4842 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
4843 | |
4844 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
4845 | |
4846 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
4847 Delete unused variables. | |
4848 (SparseMatrix::solve): Avoid warnings about uninitialized | |
4849 variables and variables that might be clobbered by longjmp. | |
4850 | |
4851 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
4852 min, max): Delete unused variables. | |
4853 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
4854 variables and variables that might be clobbered by longjmp. | |
4855 | |
4856 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
4857 | |
4858 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
4859 Loop counter is int, not size_t. | |
4860 | |
4861 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
4862 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
4863 | |
4864 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
4865 lists consistently. | |
4866 | |
4867 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
4868 | |
4869 2004-12-29 John W. Eaton <jwe@octave.org> | |
4870 | |
4871 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
4872 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
4873 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
4874 $(UMFPACK_EXTRAS) to the list. | |
4875 (DISTDIRS): New variable. | |
4876 (dist): Handle $(DISTDIRS). | |
4877 | |
4878 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
4879 Andy Adler <adler@site.uottawa.ca>. | |
4880 | |
4881 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
4882 | |
4883 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
4884 without directory prefix. | |
4885 | |
4886 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
4887 $(UMFPACK_OBJ) to the list. | |
4888 | |
4889 * COLAMD: New directory. | |
4890 * COLAMD.files: New file. | |
4891 * Makefile.in: Include COLAMD.files. | |
4892 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
4893 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
4894 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
4895 | |
4896 * UMFPACK: New directory. | |
4897 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
4898 New files. | |
4899 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
4900 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
4901 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
4902 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
4903 | |
4904 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
4905 (INCLUDES): Add it to the list. | |
4906 (SPARSE_MX_OP_SRC): New variable. | |
4907 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
4908 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4909 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
4910 | |
4911 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
4912 * Makefile.in (DISTFILES): Add them to the lists. | |
4913 | |
4914 * oct-spparms.h, sparse-sort.h: New files. | |
4915 * Makefile.in (INCLUDES): Add them to the list. | |
4916 | |
4917 * oct-spparms.cc, sparse-sort.cc: New files. | |
4918 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
4919 | |
4920 * sparse-base-lu.cc: New file. | |
4921 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
4922 | |
4923 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
4924 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
4925 SparsedbleLU.cc: New files. | |
4926 * Makefile.in (MATRIX_SRC): Add them to the list. | |
4927 | |
4928 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
4929 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
4930 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
4931 Sparse-op-defs.h: New files. | |
4932 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
4933 | |
4934 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
4935 Sparse-C.cc: New files. | |
4936 * Makefile.in (TI_SRC): Add them to the list. | |
4937 | |
5149 | 4938 2005-02-18 John W. Eaton <jwe@octave.org> |
4939 | |
4940 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
4941 Pass current directory to octave_env::make_absolute. | |
4942 Save value returned from octave_env::make_absolute in local var. | |
4943 Pass const char*, not std::string as first arg of resolvepath. | |
4944 Provide decl for resolved_len. | |
4945 | |
5148 | 4946 2005-02-18 John W. Eaton <jwe@octave.org> |
4947 | |
4948 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
4949 than number of dimenensions of permuted matrix. | |
4950 | |
4951 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
4952 * Array-util.cc (calc_permutated_idx): Likewise. | |
4953 | |
5139 | 4954 2005-02-10 David Bateman <dbateman@free.fr> |
4955 | |
4956 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
4957 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
4958 | |
5137 | 4959 2005-02-09 John W. Eaton <jwe@octave.org> |
4960 | |
5138 | 4961 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
4962 * file-ops.h: Provide decls. | |
4963 | |
5137 | 4964 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
4965 | |
5136 | 4966 2005-02-08 John W. Eaton <jwe@octave.org> |
4967 | |
4968 * Array-util.cc (freeze): Improve error message. | |
4969 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4970 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 4971 |
5121 | 4972 * Array.cc (Array<T>::insert): Handle generic case, not just |
4973 special case for fast concatenation. | |
5120 | 4974 |
5110 | 4975 2005-01-18 John W. Eaton <jwe@octave.org> |
4976 | |
4977 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
4978 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
4979 | |
4980 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
4981 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
4982 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4983 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 4984 |
4985 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
4986 Modify calculation of number elements to skip between copied blocks. | |
4987 | |
4988 2005-01-18 John W. Eaton <jwe@octave.org> | |
4989 | |
4990 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
4991 error handler, to warn about resizing. | |
4992 | |
5105 | 4993 2004-12-27 Martin Dalecki <martin@dalecki.de> |
4994 | |
4995 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
4996 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
4997 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
4998 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
4999 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
5000 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
5001 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
5002 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
5003 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
5004 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
5005 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
5006 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
5007 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
5008 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
5009 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
5010 Delete #pragma implementation. | |
5011 | |
5012 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
5013 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
5014 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
5015 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
5016 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
5017 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
5018 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
5019 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
5020 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
5021 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5022 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
5023 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
5024 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
5025 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
5026 Delete #pragma interface. | |
5027 | |
5098 | 5028 2004-12-17 John W. Eaton <jwe@octave.org> |
5029 | |
5030 * lo-cieee.c (lo_ieee_signbit): New function. | |
5031 * lo-ieee.h: Provide decl. | |
5032 Don't define lo_ieee_signbit as a macro here. | |
5033 From Orion Poplawski <orion@cora.nwra.com>. | |
5034 | |
5085 | 5035 2004-11-18 John W. Eaton <jwe@octave.org> |
5036 | |
5037 * int32NDArray.cc (pow): Delete instantiation. | |
5038 * int16NDArray.cc (pow): Likewise. | |
5039 * int8NDArray.cc (pow): Likewise. | |
5040 * uint32NDArray.cc (pow): Likewise. | |
5041 * uint16NDArray.cc (pow): Likewise. | |
5042 * uint8NDArray.cc (pow): Likewise. | |
5043 | |
5081 | 5044 2004-11-17 John W. Eaton <jwe@octave.org> |
5045 | |
5085 | 5046 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
5047 Now static. | |
5048 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
5049 DEFAULT_TEXMFDBS): Delete unused macros. | |
5050 | |
5081 | 5051 * Array.cc (Array<T>::index): Call generic N-d indexing function |
5052 if idx_arg is N-d. | |
5053 | |
5073 | 5054 2004-11-09 David Bateman <dbateman@free.fr> |
5055 | |
5056 * dNDArray.cc (concat): Delete. | |
5057 (NDArray::concat): New methods. | |
5058 * dNDArray.h: Provide decls. | |
5059 | |
5060 * CNDArray.cc (concat): Delete. | |
5061 (ComplexNDArray::concat): New methods. | |
5062 * CNDArray.h: Provide decls. | |
5063 | |
5064 * boolNDArray.cc (concat): Delete. | |
5065 (boolNDArray::concat): New methods. | |
5066 * boolNDArray.h: Provide decls. | |
5067 | |
5068 * chNDArray.cc (concat): Delete. | |
5069 (charNDArray::concat): New methods. | |
5070 * chNDArray.h: Provide decls. | |
5071 | |
5072 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
5073 Delete macros. | |
5074 | |
5075 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5076 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5077 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
5078 | |
5079 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
5080 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5081 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
5082 | |
5083 * intNDArray.cc (intNDArray<T>::concat): New method. | |
5084 * intNDArray.h: Provide decl. | |
5085 | |
5072 | 5086 2004-11-08 John W. Eaton <jwe@octave.org> |
5087 | |
5088 * oct-inttypes.cc: New file. | |
5089 * Makefile.in (TI_SRC): Add it to the list. | |
5090 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
5091 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
5092 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
5093 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
5094 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
5095 New macros for comparison operations. Avoid potential | |
5096 problems with default conversions when comparing signed and | |
5097 unsigned values. | |
5098 | |
5061 | 5099 2004-11-03 John W. Eaton <jwe@octave.org> |
5100 | |
5101 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
5102 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
5103 | |
5052 | 5104 2004-10-19 John W. Eaton <jwe@octave.org> |
5105 | |
5106 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
5107 | |
5047 | 5108 2004-10-18 John W. Eaton <jwe@octave.org> |
5109 | |
5110 * Array.cc (assign2): Save result of squeeze operation. | |
5111 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
5112 | |
5095 | 5113 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 5114 |
5115 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
5116 flag whether transform in- or out-of-place. | |
5117 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
5118 (octave_fftw_planner::create_plan): Use it. | |
5119 | |
5039 | 5120 2004-09-24 John W. Eaton <jwe@octave.org> |
5121 | |
5122 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
5123 any empty matrix, not just []. | |
5124 | |
5030 | 5125 2004-09-23 John W. Eaton <jwe@octave.org> |
5126 | |
5127 * mx-ops: Include scalar zero value in type definitions. | |
5128 Delete zero information from ops section. | |
5129 * mk-ops.awk: Use type-specific zero info. | |
5130 | |
5131 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
5132 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
5133 LHS and RHS. | |
5134 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
5135 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
5136 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
5137 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
5138 | |
5139 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
5140 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
5141 tree_to_mat_idx. | |
5142 | |
5143 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
5144 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
5145 Likewise for the "if (b_val & one)" test. | |
5146 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
5147 | |
5029 | 5148 2004-09-23 David Bateman <dbateman@free.fr> |
5149 | |
5150 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
5151 New macros. Use them to define mixed intX-double and double-intX ops. | |
5152 | |
5021 | 5153 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
5154 | |
5155 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
5156 Fix doc string layout to avoid overfull hbox in printed output. | |
5157 | |
5015 | 5158 2004-09-21 John W. Eaton <jwe@octave.org> |
5159 | |
5160 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
5161 * mach-info.cc (octave_mach_info::string_to_float_format): | |
5162 For "native", set actual native format. | |
5163 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
5164 | |
5008 | 5165 2004-09-17 David Bateman <dbateman@free.fr> |
5166 | |
5167 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
5168 calculation of the unitary matrix optional. | |
5169 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
5170 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
5171 | |
4998 | 5172 2004-09-15 David Bateman <dbateman@free.fr> |
5173 | |
5174 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
5175 New function to set the comparison function for the sort. | |
5176 | |
4985 | 5177 2004-09-10 John W. Eaton <jwe@octave.org> |
5178 | |
5179 * lo-mappers.cc (xround): Fix typo. | |
5180 | |
4979 | 5181 2004-09-08 John W. Eaton <jwe@octave.org> |
5182 | |
5183 * Array.h (Array::~Array): Declare virtual. | |
5184 | |
5185 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
5186 initializaion list. Don't set rep->count since the rep | |
5187 constructor does that. | |
5188 | |
4968 | 5189 2004-09-07 John W. Eaton <jwe@octave.org> |
5190 | |
4970 | 5191 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
5192 (oct_data_conv::data_type_as_string): Likewise. | |
5193 | |
5194 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
5195 | |
4968 | 5196 * Range.cc (round): Delete unused function. |
5197 | |
5198 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
5199 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
5200 | |
5201 * oct-inttypes.h: Include <cmath> here. | |
5202 | |
4964 | 5203 2004-09-03 David Bateman <dbateman@free.fr> |
5204 | |
5205 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
5206 New functions for boolean matrix concatenation. | |
5207 * boolNDArray.h: Provide decls. | |
5208 | |
4963 | 5209 2004-09-03 John W. Eaton <jwe@octave.org> |
5210 | |
4964 | 5211 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
5212 to avoid signed/unsigned int comparison problems. | |
5213 | |
5214 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
5215 for mixed integer and double types. | |
5216 | |
5217 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
5218 separately, and only if needed. | |
5219 | |
4963 | 5220 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
5221 static_cast for type conversion. | |
5222 | |
4953 | 5223 2004-09-01 John W. Eaton <jwe@octave.org> |
5224 | |
5225 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
5226 operator /): Handle mixed integer/double ops. If op generates a | |
5227 NaN, set result to 0. | |
5228 (octave_int::operator - (void)): Convert to double, then negate, | |
5229 then fit to range. | |
5230 | |
5231 * mx-ops: Define integer types. Include declarations for mixed | |
5232 integer/double ops. | |
5233 | |
4952 | 5234 2004-08-31 John W. Eaton <jwe@octave.org> |
5235 | |
5236 * oct-inttypes.h (pow): Args now const reference. | |
5237 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
5238 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
5239 New member functions. | |
5240 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
5241 (operator >> (const octave_int<T1>& x, const T2& y)): | |
5242 Define in terms of >>=. | |
5243 (operator << (const octave_int<T1>& x, const T2& y)): | |
5244 Define in terms of <<=. | |
5245 (bitshift): Operate on octave_int<T> objects, not the values, so | |
5246 we get proper saturation properties. | |
5247 | |
5248 2004-08-31 David Bateman <dbateman@free.fr> | |
5249 | |
5250 * oct-inttypes.h (pow (constT, T)): New template. | |
5251 | |
5252 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
5253 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
5254 | |
4949 | 5255 2004-08-31 John W. Eaton <jwe@octave.org> |
5256 | |
5257 * oct-inttypes.h (octave_int::byte_size): New function. | |
5258 | |
4944 | 5259 2004-08-31 John W. Eaton <jwe@octave.org> |
5260 | |
4946 | 5261 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
5262 | |
4944 | 5263 * data-conv.h (oct_data_conv::data_type): Include sized types. |
5264 Explicitly number enum elements. | |
5265 | |
5266 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
5267 std::string&, int&, oct_data_conv::data_type&, | |
5268 oct_data_conv::data_type&)): New function. | |
5269 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
5270 oct_data_conv::data_type&)): New function. | |
5271 (oct_data_conv::data_type_as_string): New function. | |
5272 | |
5273 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
5274 (write_int, do_write, Matrix::write): Delete. | |
5275 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
5276 | |
5277 * byte-swap.h: Use template functions and specialization. | |
5278 Change all uses. | |
5279 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5280 | |
4943 | 5281 2004-08-30 John W. Eaton <jwe@octave.org> |
5282 | |
5283 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
5284 specializations to avoid warnings about signed/unsigned comparisons. | |
5285 | |
5286 2004-08-28 John W. Eaton <jwe@octave.org> | |
5287 | |
5288 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
5289 size_t, int, oct_mach_info::float_format)): New function. | |
5290 (GET_SIZED_INT_TYPE): New macro. | |
5291 (string_to_data_type): Use it to return sized types corresponding | |
5292 to Octave array data types. | |
5293 (strip_spaces): New function. | |
5294 (do_double_format_conversion, do_float_format_conversion): Pass | |
5295 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
5296 float format. | |
5297 (do_double_format_conversion, | |
5298 IEEE_big_double_to_IEEE_little_double, | |
5299 VAX_D_double_to_IEEE_little_double, | |
5300 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
5301 IEEE_little_double_to_IEEE_big_double, | |
5302 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
5303 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
5304 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
5305 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
5306 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
5307 Cray_to_VAX_G_double): | |
5308 Pass data as void*, not double*. | |
5309 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
5310 VAX_D_float_to_IEEE_little_float, | |
5311 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
5312 IEEE_little_float_to_IEEE_big_float, | |
5313 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
5314 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
5315 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
5316 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
5317 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
5318 Cray_to_VAX_G_float): | |
5319 Pass data as void*, not float*. | |
5320 | |
5321 2004-08-27 John W. Eaton <jwe@octave.org> | |
5322 | |
5323 * byte-swap.h (swap_bytes): New template versions, with | |
5324 specializations. | |
5325 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
5326 Change all uses. | |
5327 | |
4940 | 5328 2004-08-24 David Bateman <dbateman@free.fr> |
5329 | |
5330 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
5331 empty instead of checking final matrix. | |
5332 * dNDArray.cc (concat): Likewise. | |
5333 * CNDArray.cc (concat): Likewise. | |
5334 | |
5335 2004-08-23 David Bateman <dbateman@free.fr> | |
5336 | |
5337 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
5338 non-existent dimensions. | |
5339 | |
4938 | 5340 2004-08-09 John W. Eaton <jwe@octave.org> |
5341 | |
5342 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
5343 (const octave_int<U>&)): New member function. | |
5344 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
5345 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
5346 Now member functions instead of static in idx-vector.cc. | |
5347 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
5348 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
5349 New template constructors. | |
5350 | |
4932 | 5351 2004-08-05 John W. Eaton <jwe@octave.org> |
5352 | |
4933 | 5353 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
5354 | |
4932 | 5355 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
5356 intNDArray<T>::any): Sprinkle with this-> as needed. | |
5357 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
5358 | |
4929 | 5359 2004-08-03 John W. Eaton <jwe@octave.org> |
5360 | |
5361 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
5362 arrays with more than two dimensions and only one non-singleton | |
5363 dimension, return a column vector. | |
5364 | |
4921 | 5365 2004-07-28 John W. Eaton <jwe@octave.org> |
5366 | |
5367 * oct-cmplx.h (pow (const Complex&, const double&): | |
5368 Convert second arg to complex to avoid libstdc++ bug. | |
5369 | |
4920 | 5370 2004-07-27 John W. Eaton <jwe@octave.org> |
5371 | |
5372 * oct-inttypes.h (bitshift): New arg, MASK. | |
5373 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
5374 | |
4916 | 5375 2004-07-23 John W. Eaton <jwe@octave.org> |
5376 | |
5377 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
5378 | |
4915 | 5379 2004-07-23 David Bateman <dbateman@free.fr> |
5380 | |
5381 * Array.cc, Array.h (cat_ra): Delete. | |
5382 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
5383 (INSTANTIATE_ARRAY_CAT): Delete. | |
5384 | |
5385 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5386 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
5387 | |
5388 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
5389 | |
5390 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5391 chNDArray.h (concat): New function used for concatenation that does | |
5392 an indexed copy of one array into another. | |
5393 | |
5394 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
5395 | |
5396 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
5397 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
5398 insertion of one NDArray into another. | |
5399 | |
5400 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
5401 macros to define the int/uint concatenation functions. | |
5402 | |
5403 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5404 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
5405 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
5406 | |
5407 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5408 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
5409 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
5410 functions. | |
5411 | |
4911 | 5412 2004-07-22 David Bateman <dbateman@free.fr> |
5413 | |
5414 * oct-sort.h: Don't include oct-obj.h. | |
5415 | |
5416 * lo-specfun.cc (is_integer_value): New function. | |
5417 (zbesj, zbesi, zbesy): Special case negative integer or half | |
5418 integer orders that cause overflow for small arguments. | |
5419 | |
4909 | 5420 2004-07-12 John W. Eaton <jwe@octave.org> |
5421 | |
5422 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
5423 (bitshift (const octave_int<T>&, int)): New function. | |
5424 | |
4902 | 5425 2004-06-14 John W. Eaton <jwe@octave.org> |
5426 | |
5427 * mx-base.h: Include headers for new int types. | |
5428 | |
5429 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
5430 NDArray::NDArray (const charNDArray&)): Delete. | |
5431 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
5432 constructor. | |
5433 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5434 | |
5435 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
5436 return type conversion. | |
5437 | |
5438 * ComplexNDArray.h, ComplexNDArray.cc | |
5439 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
5440 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
5441 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
5442 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
5443 | |
5444 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
5445 | |
5446 * MArrayN.h: | |
5447 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
5448 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
5449 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
5450 New constructors. | |
5451 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5452 ArrayN<T>::squeeze): | |
5453 New forwarding functions for return type conversion. | |
5454 | |
5455 * ArrayN.h: | |
5456 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
5457 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
5458 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
5459 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
5460 const dim_vector&)): New constructors. | |
5461 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
5462 ArrayN<T>::transpose): | |
5463 New forwarding functions for return type conversion. | |
5464 | |
5465 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
5466 New constructor. | |
5467 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
5468 | |
5469 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
5470 | |
5471 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5472 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
5473 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
5474 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
5475 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
5476 * Makefile.in: Add them to the appropriate lists. | |
5477 | |
4899 | 5478 2004-06-04 John W. Eaton <jwe@octave.org> |
5479 | |
5480 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
5481 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
5482 resize op. Change all uses. | |
5483 | |
4898 | 5484 2004-06-03 David Bateman <dbateman@free.fr> |
5485 | |
5486 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
5487 greater than the existing number of dimensions in lvalue. | |
5488 | |
4887 | 5489 2004-04-30 David Bateman <dbateman@free.fr> |
5490 | |
5491 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
5492 New arg, fill_value. | |
5493 (dim_vector::resize): Allow optional fill_value argument. | |
5494 | |
5495 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5496 Don't chop trailing dimensions of Array<idx_vector> if there is | |
5497 more than one element in idx_vector. Resize the return value to | |
5498 the size of Array<idx_vector>. | |
5499 | |
5500 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
5501 idx_vector that is shorter than a dim_vector. | |
5502 | |
4882 | 5503 2004-04-23 John W. Eaton <jwe@octave.org> |
5504 | |
5505 * oct-sort.cc: Don't include oct-obj.h. | |
5506 | |
4876 | 5507 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
5509 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
5510 Don't set invalid dimensions on return value. | |
5511 | |
4871 | 5512 2004-04-21 John W. Eaton <jwe@octave.org> |
5513 | |
5514 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
5515 | |
4850 | 5516 2004-04-06 David Bateman <dbateman@free.fr> |
5517 | |
4870 | 5518 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
5519 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
5520 Make their behavior equivalent except for filling vs. not filling. | |
5521 | |
4850 | 5522 * oct-sort.cc: New template class for arbitrary sorting. |
5523 * oct-sort.h: Declaration of sort class. | |
5524 * Makefile: Add them to the appropriate lists. | |
5525 | |
4845 | 5526 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5527 | |
5528 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
5529 | |
4844 | 5530 2004-04-02 David Bateman <dbateman@free.fr> |
5531 | |
5532 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
5533 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 5534 New N-d array versions. |
4844 | 5535 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
5536 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
5537 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
5538 | |
5539 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
5540 New functions. | |
5541 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
5542 | |
5543 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5544 New functions. | |
5545 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
5546 Provide decls. | |
5547 | |
4842 | 5548 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
5549 | |
5550 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
5551 work vector, not just when using a numerical Jacobian. | |
5552 | |
4834 | 5553 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5554 | |
4835 | 5555 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
5556 Omit empty result args. | |
5557 | |
4834 | 5558 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
5559 Move here from Array.h, check that size of array arg is not | |
5560 smaller than the size defined by the new dimensions. | |
5561 | |
4832 | 5562 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5563 | |
5564 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
5565 a scalar or vector with an N-d array. | |
5566 | |
4826 | 5567 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5568 | |
4828 | 5569 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
5570 matrix, return object that is the same size as the index. | |
5571 | |
4826 | 5572 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
5573 Eliminate MT_RESULT args. Return value is always size of args. | |
5574 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
5575 Eliminate EMPTY_RESULT arg. | |
5576 Return value is always size of matrix or N-d array arg. | |
5577 (TBM, FBM, NBM): Delete unused macros. | |
5578 | |
4821 | 5579 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5580 | |
5581 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
5582 if all LHS dimensions are zero. For one index case, freeze and | |
5583 sort idx_vec before checking length, and do nothing if | |
5584 num_to_delete is zero. | |
4822 | 5585 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 5586 |
4816 | 5587 2004-03-04 David Bateman <dbateman@free.fr> |
5588 | |
5589 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
5590 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
5591 | |
4811 | 5592 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
5593 | |
5594 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
5595 element. | |
5596 | |
5597 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5598 | |
5599 * Range.h (Range::Range): Add cache to member initialization list. | |
5600 (Range::clear_cache): New private function. | |
5601 | |
5602 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
5603 Use clear cache. Don't do anything if range does not change. | |
5604 * Range.cc (Range::sort): Likewise. | |
5605 | |
4810 | 5606 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
5607 | |
5608 * Range.cc (Range::matrix_value): Cache result. | |
5609 (Range::sort): Clear cache. | |
5610 * Range.h (Range::cache): New data member. | |
5611 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
5612 (Range::print_range): Delete. | |
4808 | 5613 |
5614 2004-03-02 David Bateman <dbateman@free.fr> | |
5615 | |
5616 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
5617 changes between them. Faster for small fft's. | |
5618 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
5619 New member variables. | |
5620 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
5621 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
5622 Change all uses. | |
5623 (CHECK_SIMD_ALIGNMENT): New macro. | |
5624 (octave_fftw_planner::create_plan): Use it. | |
5625 | |
4806 | 5626 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
5627 | |
5628 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
5629 | |
5630 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
5631 | |
5632 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
5633 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
5634 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
5635 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
5636 | |
5637 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
5638 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
5639 | |
4800 | 5640 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5641 | |
4802 | 5642 * oct-rl-edit.c (octave_rl_set_startup_hook, |
5643 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
5644 octave_rl_get_event_hook): Omit casts. | |
5645 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
5646 Return value for function pointer typedef is now int. | |
5647 * cmd-edit.h (command_editor::startup_hook_fcn, | |
5648 command_editor::event_hook_fcn): Likewise. | |
5649 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
5650 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
5651 Return type is now int. Return 0. | |
5652 | |
4800 | 5653 * EIG.cc (EIG::init, EIG::symmetric_init): |
5654 Query Lapack for workspace size. | |
5655 | |
4796 | 5656 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5657 | |
5658 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
5659 Fix thinko in extending dimensions. | |
5660 | |
4791 | 5661 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5662 | |
5663 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
5664 Don't compute values beyond the limits of the range. | |
5665 (operator << (std::ostream&, const Range&)): Likewise. | |
5666 | |
4786 | 5667 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5668 | |
4788 | 5669 * oct-fftw.cc (octave_fftw_planner::create_plan): |
5670 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
5671 From Paul Kienzle <pkienzle@users.sf.net>. | |
5672 | |
4786 | 5673 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
5674 Rename from Array<T>::insert. | |
5675 (Array<T>::insert2 (const Array<T>&, int, int)): | |
5676 Reinstate old Array<T>::insert function under this name. | |
5677 (Array<T>::insert (const Array<T>&, int, int)): | |
5678 New function. Dispatch to insert2 or insertN as appropriate. | |
5679 | |
4785 | 5680 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5681 | |
5682 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5683 Sprinkle with OCTAVE_QUIT. | |
5684 | |
5095 | 5685 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 5686 |
5687 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
5688 Add support for FFTW 3.x. Include the ability to | |
5689 use the real to complex transform for fft's of real matrices | |
5690 (octave_fftw_planner::create_plan2d): Delete. | |
5691 (octave_fftw::fft2d): Delete. | |
5692 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
5693 New static functions. | |
5694 * oct-fftw.h: Update decls. | |
5695 | |
5696 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5697 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
5698 transforms. 1D FFT of a matrix done as single call rather than | |
5699 loop. Update for FFTW 3.x | |
5700 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
5701 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
5702 matrix done as single call rather than loop. Update for FFTW 3.x. | |
5703 | |
5704 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
5705 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
5706 functions for Nd arrays. | |
5707 * dNArray.h Provide decls. | |
5708 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
5709 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
5710 fourier transform functions for complex Nd arrays. | |
5711 * CNArray.h: Provide decls. | |
5712 | |
4765 | 5713 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
5714 | |
5715 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
5716 Make it work for N-d arrays. | |
5717 | |
5718 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
5719 New function. | |
5720 | |
5721 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
5722 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
5723 New functions. | |
5724 * CNDArray.h: Provide decls. | |
5725 | |
4759 | 5726 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5727 | |
4760 | 5728 * Makefile.in (LINK_DEPS): Always define. |
5729 | |
4759 | 5730 * Array.cc (Array<T>::squeeze): Always return an array with at |
5731 least two dimensions. | |
5732 | |
4758 | 5733 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5734 | |
5735 * mx-inlines.cc (MX_ND_CAT): New macro. | |
5736 * dNDArray.cc (NDArray::cat): New function. | |
5737 * dNDArray.h: Provide decls. | |
5738 * CNDArray.cc (complexNDArray::cat): New function. | |
5739 * CNDArray.h: Provide decls. | |
5740 * chNDArray.cc (charNDArray::cat): New function. | |
5741 * chNDArray.h: Provide decls. | |
5742 | |
4756 | 5743 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5744 | |
5745 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
5746 (Array<T>assign2): Also call maybe_delete_elements for single | |
5747 index when rows and columns or LHS are both greater than 1. | |
5748 | |
4755 | 5749 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
5750 | |
5751 * Array.cc (Array<T>::maybe_delete_elements): | |
5752 Check for index out of bounds. Handle one index. | |
5753 | |
5754 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
5755 dim_vector (0) to create empty return vector. | |
5756 | |
4749 | 5757 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5758 | |
5759 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
5760 non-empty LHS when the number of lhs dimensions is less than the | |
5761 number of indices. Detect error if attempting to resize non-empty | |
5762 LHS with colon indices. | |
5763 | |
4745 | 5764 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5765 | |
4747 | 5766 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
5767 values unless the length of the new array is greater than 0. | |
5768 (Array<T>::resize_no_fill): Likewise. | |
5769 | |
5770 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
5771 is equal to dimensions(i). | |
5772 | |
5773 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
5774 get_zero_len_size, number_of_elements): | |
5775 Delete unused functions. | |
5776 | |
5777 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
5778 number_of_elements function. | |
5779 * Array.cc (Array<T>::indexN): Likewise. | |
5780 | |
5781 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
5782 of equal_arrays function. | |
5783 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
5784 dim_vector::any_zero instead of any_zero_len function. | |
5785 | |
5786 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
5787 Don't skip reshaping and resizing if RHS is empty. | |
5788 | |
4746 | 5789 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
5790 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 5791 Delete unused variables is_colon and is_colon_equiv. |
4746 | 5792 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
5793 LHS is not yet defined. | |
4745 | 5794 Error for resizing if number of indices is less than number of LHS |
5795 dimensions. | |
5796 | |
4746 | 5797 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
5798 Fortran-style indexing. | |
5799 | |
4743 | 5800 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5801 | |
5802 * Array.cc (Array<T>::assignN): Simplify. | |
5803 Allow assignments to succeed if number if indices is less than the | |
5804 number of RHS dimensions. | |
5805 | |
4738 | 5806 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5807 | |
4741 | 5808 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
5809 when number of indices is less than number of dimensions. | |
5810 | |
5811 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
5812 Remove unsued variable lhs_inc. | |
5813 | |
4740 | 5814 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
5815 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
5816 | |
5817 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
5818 | |
4738 | 5819 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
5820 == n_dims before checking to see if all indices are colon_equiv. | |
5821 | |
4736 | 5822 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5823 | |
5824 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
5825 deleting elements. | |
4737 | 5826 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
5827 at least ndims elements. | |
4736 | 5828 |
4735 | 5829 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
5830 | |
5831 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
5832 oriented differently from the index. | |
5833 | |
5834 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
5835 least two dimensions. | |
5836 | |
4733 | 5837 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5838 | |
4735 | 5839 * dim-vector.h (dim_vector::squeeze): New function. |
5840 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
5841 deciding whether the assignment conforms. | |
5842 | |
4733 | 5843 * Array.cc (Array<T>::assignN): Simplify dimension check by |
5844 comparing rhs_dims and frozen_len sans trailing singletons. | |
5845 | |
4732 | 5846 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5847 | |
5848 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
5849 Call error handler and return conversion_error == true if arg is | |
5850 not integer. | |
5851 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
5852 | |
4730 | 5853 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5854 | |
5855 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
5856 reference arg const. | |
5857 | |
5858 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5859 | |
5860 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
5861 | |
4729 | 5862 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
5863 | |
5864 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
5865 Now bool, to match definition in Array-flags.cc. | |
5866 | |
4725 | 5867 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5868 | |
4726 | 5869 * file-ops.cc: Include <vector> instead of <memory> for new |
5870 definition of OCTAVE_LOCAL_BUFFER. | |
5871 | |
4725 | 5872 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
5873 New arg, calc_eigenvectors. | |
5874 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
5875 Based on patch from David Bateman <dbateman@free.fr>. | |
5876 | |
4716 | 5877 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5878 | |
5879 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
5880 For X(I) = RHS, don't restrict I to fewer elements than X. | |
5881 | |
5882 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
5883 | |
4711 | 5884 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5885 | |
4714 | 5886 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
5887 Simplify calculation of number of elements in retval. | |
5888 | |
4711 | 5889 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
5890 filling when RHS is scalar and dimension lengths agree. | |
5891 | |
4710 | 5892 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5893 | |
4713 | 5894 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
5895 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 5896 |
4707 | 5897 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
5898 | |
4709 | 5899 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
5900 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 5901 |
4702 | 5902 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
5903 | |
4703 | 5904 * Array.h (Array<T>::chop_trailing_singletons): New function. |
5905 * Array.cc (Array<T>::assignN): Use it on LHS. | |
5906 | |
5907 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 5908 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 5909 Check for singleton dimensions where RHS is matrix or higher dimension. |
5910 Make sure index is in bounds. | |
4702 | 5911 |
4698 | 5912 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5913 | |
5914 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
5915 octave_NaN, and octav_NA values are always initialized. Check | |
5916 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
5917 to decide whether to do IEEE initialization. | |
5918 | |
4687 | 5919 2004-01-06 David Bateman <dbateman@free.fr> |
5920 | |
5921 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
5922 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
5923 ComplexNDArray::too_large_for_float): New functions | |
5924 | |
5925 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
5926 * CNDArray.h: Provide decls. | |
5927 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
5928 * dNDArray.h: Provide decls. | |
5929 | |
4673 | 5930 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5931 | |
4674 | 5932 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
5933 they are already defined in boolNDArray.cc. | |
5934 | |
4673 | 5935 * Array-util.cc (get_zero_len_size): Delete. |
5936 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
5937 Handle zero-length result dimensions the same as empty original | |
5938 indices. | |
5939 | |
5940 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5941 | |
5942 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
5943 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
5944 New functions. | |
5945 * Array.cc (ArrayN<T>::indexN): Use it. | |
5946 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
5947 | |
4669 | 5948 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5949 | |
5950 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
5951 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
5952 | |
5953 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5954 | |
5955 * mk-ops.awk: Also emit #include "Array-util.h". | |
5956 | |
5957 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
5958 Add bnda x bnda, b x bnda, and bnda x b ops. | |
5959 | |
5960 * MArray-misc.cc: Delete. | |
5961 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
5962 | |
5963 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
5964 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
5965 | |
4655 | 5966 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5967 | |
4663 | 5968 * dbleQR.cc (QR::init): Use separate pwork pointers. |
5969 * CmplxQR.cc (ComplexQR::init): Likewise. | |
5970 | |
5971 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
5972 two-arg getgrnam version. | |
5973 | |
4657 | 5974 * Array.cc (assignN): Allow single indexing to work. |
4661 | 5975 (Array<T>::range_error (const char*, const Array<int>&)): |
5976 Report index values. | |
5977 | |
5978 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 5979 * ODESSA.cc (odessa_j): Likewise. |
5980 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
5981 * DASPK.cc (ddaspk_psol): Likewise. | |
5982 * lo-mappers.cc (imag): Likewise. | |
4663 | 5983 * Array-util.cc (get_zero_len_size): Likewise. |
5984 * kpse.cc (path_search, path_find_first_of): Likewise. | |
5985 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 5986 |
4655 | 5987 * dim-vector.h (dim_vector::all_ones): New function. |
5988 | |
4646 | 5989 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5990 | |
4653 | 5991 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
5992 zeros, not orig_rows or orig_columns. | |
5993 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
5994 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
5995 | |
5996 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
5997 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
5998 | |
5999 * idx-vector.cc (idx_vector::idx_vector_rep): | |
6000 Use initialization lists for constructors. | |
6001 | |
4651 | 6002 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
6003 Omit special case for ra_idx.capacity () == 1. | |
6004 Always allow single index for matrix args with optional warning. | |
6005 | |
4650 | 6006 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
6007 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
6008 | |
4648 | 6009 * Array-so.cc: New file. Move instantiations here from so-array.h. |
6010 * Makefile.in (TI_SRC): Add it to the list. | |
6011 | |
4646 | 6012 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
6013 type and the names of the left and right operands. Change all uses. | |
6014 | |
6015 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
6016 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
6017 | |
4645 | 6018 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6019 | |
6020 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
6021 just length. | |
6022 | |
6023 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
6024 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
6025 non-dependent member functions and data as needed. | |
6026 | |
6027 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
6028 | |
6029 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
6030 * Array3.h (Array3<T>::operator =): Likewise. | |
6031 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
6032 Include Array.h, not Array2.h. | |
6033 | |
4634 | 6034 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6035 | |
4636 | 6036 * str-vec.cc (list_in_columns): Fix previous change. |
6037 | |
4635 | 6038 * dim-vector.h (dim_vector::num_ones): New function. |
6039 * Array.cc (maybe_delete_elements): Use it instead of | |
6040 num_ones (const Array<int>&). | |
6041 | |
6042 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
6043 | |
4634 | 6044 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
6045 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
6046 New functions. | |
6047 * dNDArray.h: Provide decls. | |
6048 | |
6049 * dMatrix.h (Matrix::any_element_is_negative, | |
6050 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
6051 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
6052 Simplify. | |
6053 | |
6054 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
6055 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
6056 | |
6057 * dNDArray.cc (real, imag): New functions. | |
6058 * dNDArray.h: Provide decls. | |
6059 | |
4630 | 6060 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6061 | |
6062 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
6063 | |
4625 | 6064 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6065 | |
6066 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
6067 * MArray.h (resize): Delete. | |
6068 * MArray2.h (resize): Delete. | |
6069 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
6070 * ODESSA (ODESSA::integrate): Likewise. | |
6071 | |
4616 | 6072 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6073 | |
6074 * Makefile.in (dist): Depend on stamp-prereq. | |
6075 | |
4605 | 6076 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
6077 | |
6078 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
6079 Kluge to make it work. | |
4604 | 6080 |
6081 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
6082 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
6083 | |
6084 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
6085 default_command_editor::do_generate_filename_completions, | |
6086 command_editor::generate_filename_completions): New functions. | |
6087 * cmd-edit.h: Provide decls. | |
6088 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
6089 function. | |
6090 * oct-rl-edit.h: Provide decl. | |
6091 | |
4593 | 6092 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6093 | |
4594 | 6094 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
6095 INSTANTIATE_ARRAY): New macros. | |
6096 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6097 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
6098 | |
4593 | 6099 * Array.h (Array<T>::ipermute): New function. |
6100 | |
6101 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
6102 | |
6103 * Array.cc (Array<T>::permute): New function. | |
6104 * Array.h: Provide decl. | |
6105 | |
6106 * Array-util.cc (calc_permutated_idx): New function. | |
6107 * Array-util.h: Provide decl. | |
6108 | |
4587 | 6109 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6110 | |
4592 | 6111 * Array.cc (Array<T>::index2): Return value has orientation of |
6112 indexed value if indexing a vector with a bool matrix. | |
6113 | |
4589 | 6114 * ArrayN.h (ArrayN<T>::get_size): Delete. |
6115 | |
4588 | 6116 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
6117 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
6118 | |
6119 * ArrayN-inline.h: Delete. | |
6120 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
6121 * Makefile.in: Fix the appropriate lists. | |
6122 | |
4587 | 6123 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
6124 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
6125 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
6126 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
6127 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
6128 Avoid -Wshadow warnings. | |
6129 | |
6130 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 6131 |
6132 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
6133 | |
6134 * mk-ops.awk: Delete elements of bool_headers array individually. | |
6135 | |
6136 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6137 | |
6138 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
6139 | |
4584 | 6140 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
6141 | |
6142 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
6143 | |
6144 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
6145 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
6146 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
6147 Return NDArray. Handle N-d arrays. | |
6148 | |
4575 | 6149 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6150 | |
4583 | 6151 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
6152 that upcase Fortran names by calling dlsode instead of lsode. | |
6153 | |
6154 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
6155 that upcase Fortran names by calling dodessa instead of odessa. | |
6156 | |
4577 | 6157 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
6158 non-const args for symlink system call. | |
6159 (file_ops::readlink): Likewise, for readlink. | |
6160 | |
4575 | 6161 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
6162 | |
4574 | 6163 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6164 | |
6165 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
6166 Change all uses. | |
6167 | |
4569 | 6168 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
6169 | |
6170 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
6171 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
6172 * dNDArray.h: Provide decls. | |
6173 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
6174 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
6175 ComplexNDArray::abs): New functions. | |
6176 * CNDArray.h: Provide decls. | |
6177 | |
6178 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
6179 Generalize to handle other reduction operations. | |
6180 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
6181 MX_ND_ALL_ANY_REDUCTION): New macros. | |
6182 | |
4565 | 6183 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6184 | |
4567 | 6185 * Array.cc (Array<T>::reshape): New function. |
6186 * Array.h: Provide decl. | |
6187 | |
6188 * dim-vector.h (dim_vector::numel): New function. | |
6189 | |
4565 | 6190 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
6191 dim_vector&)): Correctly handle case of n < dv->ndims. | |
6192 | |
4559 | 6193 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6194 | |
6195 * dim-vector.h (dim_vector::any_zero): New function. | |
6196 (dim_vector::str): New default arg, sep. | |
6197 | |
6198 * Array.h (Array<T>::numel): New function. | |
6199 | |
4556 | 6200 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
6201 | |
6202 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
6203 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
6204 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
6205 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6206 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
6207 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
6208 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
6209 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
6210 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
6211 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
6212 | |
4552 | 6213 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
6214 | |
4553 | 6215 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
6216 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
6217 | |
4552 | 6218 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
6219 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6220 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
6221 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
6222 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
6223 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
6224 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
6225 Use new F77 arg macros in declarations of external Fortran | |
6226 subroutines and for calling them. | |
6227 | |
4548 | 6228 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6229 | |
6230 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
6231 Allow number of dimensions to change. | |
6232 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
6233 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
6234 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
6235 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
6236 (Array<T>::transpose): Require ndims to be 2. | |
6237 (Array<T>::index2): Likewise. | |
6238 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
6239 (Array<T>::maybe_delete_elements_2): Likewise. | |
6240 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
6241 (Array<T>::index1): Use resize_and_fill. | |
6242 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
6243 | |
6244 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
6245 | |
6246 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
6247 (MArray2<T>::resize (int, int, const T&)): New function. | |
6248 | |
6249 * MArray.h (MArray<T>::resize (int)): New function. | |
6250 (MArray<T>::resize (int, const T&)): New function. | |
6251 | |
6252 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
6253 | |
6254 * DASPK-opts.in: Use single-arg resize for initial condition | |
6255 heuristics. | |
6256 | |
6257 * dim-vector.h (class dim_vector): Now reference counted. | |
6258 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
6259 | |
4544 | 6260 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6261 | |
4545 | 6262 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
6263 | |
4544 | 6264 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
6265 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
6266 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
6267 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
6268 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
6269 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
6270 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
6271 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
6272 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
6273 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
6274 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
6275 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
6276 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
6277 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
6278 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
6279 files are now automatically generated. | |
6280 | |
6281 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
6282 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
6283 Add rules to generate these files and mx-ops.h. | |
6284 (stamp-prereq): Depend on these files. | |
6285 | |
6286 * mx-ops, vx-ops, mk-ops.awk: New files. | |
6287 * Makefile.in (DISTFILES): Add them to the list. | |
6288 | |
4543 | 6289 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6290 | |
6291 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
6292 NDArray::NDArray (const charNDArray)): New constructors. | |
6293 (NDArray::operator !): New function. | |
6294 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6295 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6296 | |
6297 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6298 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6299 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
6300 New constructors. | |
6301 (ComplexNDArray::operator !): New function. | |
6302 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
6303 NDND_CMP_OPS, NDND_BOOL_OPS. | |
6304 | |
6305 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
6306 | |
6307 * boolNDArray.cc (boolNDArray::operator !): New function. | |
6308 Provide NDND_CMP_OPS. | |
6309 | |
6310 * MArrayN.cc (operator +=, operator -=): New functions. | |
6311 Provide product and quotient functions. | |
6312 | |
6313 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
6314 dim_vector&)): New function. | |
6315 | |
6316 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
6317 operator ==, operator !=): New functions. | |
6318 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
6319 | |
6320 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
6321 No need to save old dimensions. | |
6322 | |
6323 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
6324 (octave_rand::nd_array): New function. | |
6325 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
6326 | |
6327 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
6328 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
6329 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
6330 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
6331 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
6332 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
6333 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
6334 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
6335 NDND_OP_DECLS): New macros. | |
6336 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
6337 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
6338 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
6339 | |
6340 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
6341 boolNDArray, class charNDArray): New forward decls. | |
6342 | |
4534 | 6343 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6344 | |
6345 * Array.cc (assign2): No error (but don't do anything either) for | |
6346 expressions like x([],j) = scalar. | |
6347 | |
4532 | 6348 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6349 | |
4533 | 6350 * Array.cc (assignN): Allow lhs(:) = scalar. |
6351 | |
4532 | 6352 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
6353 * dNDArray.cc (NDArray::increment_index): Likewise. | |
6354 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
6355 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
6356 | |
6357 * dim-vector.h (rows, cols): Delete unused data members. | |
6358 | |
6359 * Array.cc (Array<T>::get_size): Fix thinko. | |
6360 | |
6361 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6362 | |
6363 * Array.cc (Array<T>::squeeze): New function. | |
6364 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
6365 * dNDArray.h (NDArray::squeeze): Likewise. | |
6366 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
6367 * chNDArray.h (charNDArray::squeeze): Likewise. | |
6368 | |
4530 | 6369 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
6370 | |
6371 * Array.cc (ArrayN<T>::indexN): New definition. | |
6372 * Array.h (Array<T>::indexN): Provide decl. | |
6373 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
6374 Call indexN if more than 2 indices. | |
6375 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
6376 Make it (mostly) work. | |
6377 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
6378 New functions. | |
6379 | |
4527 | 6380 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6381 | |
6382 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
6383 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
6384 versions with eof arg. | |
6385 | |
4518 | 6386 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6387 | |
6388 * Array.h (dimensions): Now public. | |
6389 template <class LT, class RT> | |
6390 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
6391 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
6392 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
6393 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
6394 resize_no_fill (int), | |
6395 resize_no_fill (int, int), | |
6396 resize_no_fill (int, int, int), | |
6397 resize_no_fill (const dim_vector&), | |
6398 resize_and_fill (int, const T&), | |
6399 resize_and_fill (int, int, const T&), | |
6400 resize_and_fill (int, int, int, const T&), | |
6401 resize_and_fill (const dim_vector&, const T&)): Now public. | |
6402 | |
6403 * Array.cc: Include <climits>. | |
6404 | |
4513 | 6405 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6406 | |
4517 | 6407 * Array.cc: Merge Array-idx.h. |
6408 * Array-idx.h: Delete. | |
6409 | |
4514 | 6410 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
6411 | |
4513 | 6412 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
6413 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
6414 just special cases of the general purpose N-d Array object). | |
6415 | |
6416 * dim-vector.h: New file. Use dim_vector objects instead of | |
6417 ints or Array<int> objects to represent the size of Array | |
6418 objects. | |
6419 | |
6420 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
6421 | |
6422 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
6423 | |
6424 * mx-base.h: Include NDArray header files. | |
6425 | |
6426 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
6427 | |
6428 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
6429 Array-s.cc: Also instantiate ArrayN objects. | |
6430 Don't instantiate assign funcitons for Array2 objects. | |
6431 | |
6432 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
6433 liboctave_error_handler, not cerr. | |
6434 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
6435 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
6436 * dMatrix.cc (Matrix::diag): Likewise. | |
6437 | |
6438 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
6439 Omit checks for HEAVYWEIGHT_INDEXING. | |
6440 | |
6441 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6442 | |
6443 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
6444 | |
6445 * CNDARray.h, CNDArray.cc: New files. | |
6446 * Makefile.in: Add them to the appropriate lists. | |
6447 | |
6448 * dNDArray.h: Rename from NDArray.h. | |
6449 * dNDArray.cc: Rename from NDArray.cc. | |
6450 * Makefile.in: Rename them here too. | |
6451 | |
4507 | 6452 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
6453 | |
6454 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
6455 | |
6456 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
6457 * Makefile.in: Add them to the appropriate lists. | |
6458 | |
5095 | 6459 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 6460 |
6461 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
6462 biry): Always request scaled results from AMOS functions and | |
6463 perform reverse scaling on results if scaled result not requested | |
6464 by user. | |
6465 | |
6466 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6467 | |
6468 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6469 | |
4505 | 6470 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6471 | |
6472 * Array-d.cc: Instantiate assign functions. | |
6473 | |
4504 | 6474 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
6475 | |
6476 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
6477 (get_elt_idx): Index ra_idx correctly. | |
6478 | |
6479 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
6480 bounds if it is exactly on the bound. | |
6481 | |
6482 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
6483 * ArrayN.h: Provide decl. | |
6484 | |
6485 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
6486 | |
6487 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
6488 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
6489 (idx_vector::orig_dimensions): New function. | |
6490 | |
4497 | 6491 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6492 | |
6493 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
6494 | |
4496 | 6495 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
6496 | |
6497 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
6498 (is_in, how_many_lgt, all_ones): New functions. | |
6499 | |
4493 | 6500 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6501 | |
6502 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
6503 | |
6504 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
6505 | |
6506 * ArrayN-inline.h: New file. | |
6507 (index_in_bounds, increment_index): Move here. | |
6508 * ArrayN.cc: From here. | |
6509 | |
6510 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
6511 * ArrayN-idx.h (assign): New function. | |
6512 | |
4490 | 6513 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6514 | |
6515 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
6516 Also zero imaginary part of result if real part of input value is | |
6517 zero. | |
6518 | |
4478 | 6519 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6520 | |
6521 * mx-base.h: Include ArrayN.h. | |
6522 | |
4476 | 6523 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
6524 | |
6525 * ArrayN.cc (operator <<): Corrected output. | |
6526 | |
4474 | 6527 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6528 | |
6529 * ArrayN.cc (increment_index): New arg, start_dimension. | |
6530 | |
5095 | 6531 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 6532 |
6533 * ArrayN.cc (operator <<): Improve output readability. | |
6534 | |
4493 | 6535 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 6536 |
6537 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
6538 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
6539 Initialize old_len before changing size. | |
6540 | |
4472 | 6541 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6542 | |
6543 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 6544 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 6545 |
4469 | 6546 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6547 | |
6548 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
6549 way. Handle NA in an R-compatible way. | |
6550 | |
6551 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
6552 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
6553 | |
6554 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
6555 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
6556 | |
6557 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
6558 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
6559 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
6560 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
6561 | |
4461 | 6562 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
6564 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
6565 Pass true for resize_ok arg to freeze. | |
6566 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
6567 Likewise. | |
6568 | |
6569 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
6570 resize_ok arg is now bool. | |
6571 * idx-vector.h (idx_vector::freeze): Likewise. | |
6572 | |
6573 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
6574 Rename from liboctave_rre_flag. Now bool. | |
6575 (liboctave_wfi_flag): Now bool. | |
6576 | |
6577 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
6578 | |
5095 | 6579 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 6580 |
6581 * Array.h (resize_fill_value): Now a top-level template function. | |
6582 Accept object as argument. Change all uses. | |
6583 | |
4455 | 6584 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6585 | |
6586 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
6587 | |
6588 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
6589 liboctave_dfi_flag. | |
6590 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
6591 X undefined or empty, always create a row vector. | |
6592 | |
6593 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
6594 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
6595 | |
4437 | 6596 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6597 | |
6598 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6599 Magic colon indexing always produces an object with one column. | |
6600 | |
5095 | 6601 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 6602 |
6603 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
6604 | |
6605 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
6606 | |
4431 | 6607 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6608 | |
6609 * dMatrix.cc (any_element_is_negative): If new optional arg | |
6610 neg_zero is true, also return true for negative zero. | |
6611 | |
4429 | 6612 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6613 | |
6614 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
6615 Handle step limit. | |
6616 * DASSL-opts.in: New option for step limit. | |
6617 | |
5095 | 6618 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 6619 |
6620 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
6621 | |
4428 | 6622 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6623 | |
6624 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
6625 Store step limit in iwork(20), not iwork(18). | |
6626 | |
5095 | 6627 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 6628 |
6629 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
6630 | |
4412 | 6631 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6632 | |
4413 | 6633 * Makefile.in: Handle DESTDIR. |
6634 | |
4412 | 6635 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
6636 (kpse_path_iterator::set_end): Don't miss last element when not | |
6637 followed by a colon. | |
6638 | |
4409 | 6639 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6640 | |
6641 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
6642 | |
6643 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6644 | |
6645 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
6646 (find_first_of): Also do an absolute search on each | |
6647 name before looking in the path. | |
6648 | |
4407 | 6649 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6650 | |
6651 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
6652 directory separator. | |
6653 | |
4399 | 6654 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6655 | |
6656 * pathsearch.cc: Include kpse.cc here. | |
6657 | |
6658 * kpse.cc: All functions are now static. Massive surgery to | |
6659 condense kpathsearch library to a single file of just the | |
6660 essentials for Octave and convert to using C++ strings (no more | |
6661 calls to malloc, very few calls to new, so there should be much | |
6662 less potential for introducing memory leaks now). | |
6663 | |
6664 * Makefile.in (EXTRAS): Move kpse.cc here from | |
6665 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
6666 | |
6667 * kpse.h, kpse-config.h: Delete. | |
6668 * Makefile.in (INCLUDES): Delete them from the list. | |
6669 | |
4392 | 6670 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6671 | |
6672 * str-vec.cc (string_vector::append (const std::string&), | |
6673 string_vector::append (const string_vector&)): New methods. | |
6674 | |
4386 | 6675 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6676 | |
4389 | 6677 * kpse.cc, kpse.h: Replace fn_type with std::string. |
6678 | |
4387 | 6679 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
6680 | |
4386 | 6681 * kpse.cc (xclosedir): Don't define or declare for Windows. |
6682 (READABLE): Now a static function to avoid warnings from MinGW | |
6683 compiler. | |
6684 | |
4384 | 6685 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6686 | |
4385 | 6687 * kpse.cc: Move most functions from kpse-xfns.c here and make |
6688 static. Include most of kpse-xfns.h directly, removing | |
6689 unnecessary bits. | |
6690 | |
4384 | 6691 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
6692 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6693 | |
4378 | 6694 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6695 | |
6696 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
6697 * Makefile.in: Add them to the appropriates lists. | |
6698 | |
6699 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
6700 | |
6701 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
6702 for new locations of kpathsea objects. | |
6703 Delete kpathsea targets. | |
6704 | |
6705 * pathsearch.cc (dir_path::set_program_name): Delete. | |
6706 | |
6707 * kpse.cc: New file. | |
6708 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
6709 | |
6710 * kpse.c: New file. | |
6711 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
6712 | |
6713 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
6714 * Makefile.in (INCLUDES): Add them to the list. | |
6715 | |
6716 * oct-kpse.h: Delete. | |
6717 * Makefile.in (INCLUDES): Delete it from the list. | |
6718 | |
4374 | 6719 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6720 | |
6721 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
6722 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
6723 Likewise. | |
6724 From Quentin H. Spencer <qspencer@ieee.org>. | |
6725 | |
4365 | 6726 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6727 | |
6728 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
6729 | |
4349 | 6730 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6731 | |
4352 | 6732 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
6733 without placement delete. | |
6734 | |
4349 | 6735 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
6736 imaginary parts. | |
6737 | |
6738 * lo-ieee.h (lo_ieee_signbit): New macro. | |
6739 | |
5095 | 6740 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 6741 |
6742 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
6743 Use Lapack instead of Linpack. | |
5315 | 6744 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 6745 ComplexMatrix::solve): Likewise. |
6746 | |
6747 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
6748 calc_cond. If 0, skip condition number calculation. | |
6749 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
6750 Likewise. | |
6751 | |
6752 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
6753 * dbleLU.cc (LU::LU): Likewise. | |
6754 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
6755 | |
6756 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6757 | |
6758 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
6759 | |
4323 | 6760 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6761 | |
6762 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
6763 Additional compatibility fix. | |
6764 | |
6765 2003-02-13 Arno Klaassen <arno@scito.com> | |
6766 | |
6767 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
6768 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
6769 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
6770 | |
4322 | 6771 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6772 | |
6773 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
6774 Compatibility fix. | |
6775 | |
4316 | 6776 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6777 | |
6778 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
6779 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
6780 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
6781 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
6782 * dRowVector.cc (RowVector::extract_n): Likewise. | |
6783 * dMatrix.cc (Matrix::extract_n): Likewise. | |
6784 | |
6785 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
6786 with make_unique and xelem. | |
6787 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
6788 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
6789 ComplexMatrix::extract, ComplexMatrix::row, | |
6790 ComplexMatrix::column): Likewise. | |
6791 * dColVector.cc (ColumnVector::insert): Likewise. | |
6792 * dRowVector.cc (RowVector::insert): Likewise. | |
6793 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
6794 Matrix::row, Matrix::column): Likewise. | |
6795 | |
4313 | 6796 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6797 | |
6798 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
6799 | |
4309 | 6800 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6801 | |
6802 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
6803 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
6804 * CMatrix.h, dMatrix.h: Provide decls. | |
6805 | |
4307 | 6806 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6807 | |
6808 * oct-rand.h, oct-rand.cc: New files. | |
6809 * Makefile.in: Add them to the appropriate lists. | |
6810 | |
4306 | 6811 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6812 | |
6813 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
6814 | |
4299 | 6815 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
6816 | |
6817 * oct-syscalls.cc: Include signal.h. | |
6818 | |
4294 | 6819 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6820 | |
6821 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
6822 * oct-syscalls.h: Provide decl. | |
6823 | |
6824 | |
4293 | 6825 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6826 | |
6827 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
6828 there is nothing to read. | |
6829 | |
4290 | 6830 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6831 | |
6832 * lo-cutils.c: Define _XOPEN_SOURCE. | |
6833 | |
4286 | 6834 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6835 | |
4288 | 6836 * getopt.h: Update to version from kpathsearch, so we will install |
6837 the version that we are using. | |
6838 | |
6839 * getopt.c, getopt1.c: Delete. | |
6840 (INCLUDES): Delete them from the list. We'll get these files from | |
6841 kpathsearch. | |
6842 | |
4286 | 6843 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
6844 ../kpathsea/STATIC/*.o. | |
6845 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
6846 | |
4270 | 6847 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6848 | |
4282 | 6849 * dMatrix.cc (read_int, write_int): Avoid warnings about |
6850 unreachable code. | |
6851 | |
4279 | 6852 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
6853 to correspond to placement new operator. | |
6854 | |
4278 | 6855 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
6856 (DET::value_will_underflow): Likewise. | |
6857 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
6858 (ComplexDET::value_will_underflow): Likewise. | |
6859 | |
4276 | 6860 * Makefile.in (distclean): Also remove stamp-prereq. |
6861 | |
4306 | 6862 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
6863 RHS and index are empty matrices, don't do anything. | |
4270 | 6864 |
4242 | 6865 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6866 | |
6867 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
6868 delete_c_names): New helper functions. | |
6869 (dir_path::find_first_of): New function. | |
6870 (dir_path::find_all_first_of): Likewise. | |
6871 * pathsearch.h: Provide decls. | |
6872 | |
6873 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
6874 (octave_kpse_all_path_find_first_of): Likewise. | |
6875 * oct-kpse.h: Provide decls. | |
6876 | |
4231 | 6877 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6878 | |
6879 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
6880 * ODESSA-opts.in: Likewise. | |
6881 | |
6882 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
6883 * LSODE-opts.in: Likewise. | |
6884 | |
4229 | 6885 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6886 | |
4230 | 6887 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
6888 in all constructors. | |
6889 | |
4229 | 6890 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
6891 (LINK_DEPS): Not here. | |
6892 | |
4219 | 6893 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6894 | |
4220 | 6895 * str-vec.cc (string_vector::compare): New static member function. |
6896 * str-vec.h: Provide decl. | |
6897 (string_vector::sort): Use it. | |
6898 (str_vec_compare): Delete static function. | |
6899 | |
4219 | 6900 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
6901 a placement operator new. | |
6902 | |
4209 | 6903 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6904 | |
4210 | 6905 * Matrix.h: Include mx-ops.h too. |
4209 | 6906 * mx-ops.h: New file. |
6907 | |
4192 | 6908 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6909 | |
6910 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
6911 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
6912 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
6913 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
6914 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
6915 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
6916 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
6917 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
6918 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
6919 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
6920 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
6921 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
6922 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
6923 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
6924 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
6925 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
6926 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
6927 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
6928 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
6929 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
6930 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
6931 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
6932 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
6933 | |
4184 | 6934 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6935 | |
6936 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
6937 From Remy Bruno <remy.bruno@libertysurf.fr> | |
6938 | |
4180 | 6939 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6940 | |
6941 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
6942 fortran code that should run fast enough that it is not worth all | |
6943 the setup costs of F77_XFCN. | |
6944 | |
6945 * Quad.cc (user_function): Surround body of function with | |
6946 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
6947 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
6948 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
6949 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
6950 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
6951 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
6952 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
6953 | |
4164 | 6954 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6955 | |
6956 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
6957 of ! defined (linux). | |
6958 | |
5095 | 6959 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 6960 |
6961 * oct-shlib.cc (octave_dyld_shlib): New class. | |
6962 (make_shlib): Instantiate octave_dyld_shlib. | |
6963 | |
4152 | 6964 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6965 | |
4153 | 6966 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
6967 | |
4152 | 6968 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
6969 | |
6970 * Array.h: Include <cstddef> here. | |
6971 | |
4142 | 6972 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6973 | |
4144 | 6974 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
6975 using them. Accept inequality contraint option of 0. Assign | |
6976 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
6977 abs_tol and rel_tol. | |
6978 | |
4143 | 6979 * cmd-edit.h (command_editor::filename_completion_desired): New |
6980 static function. | |
6981 (command_editor::do_filename_completion_desired): New virtual function. | |
6982 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
6983 * oct-rl-edit.h: Provide decl. | |
6984 | |
4142 | 6985 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
6986 avoid OS X linker bug. | |
6987 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
6988 | |
4139 | 6989 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6990 | |
4141 | 6991 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
6992 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
6993 solvers. | |
6994 * ODESSA.cc: Fix all callers. | |
6995 | |
4139 | 6996 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
6997 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
6998 sum(zeros(1,0)) returns 0, not [](1x0)). | |
6999 | |
4136 | 7000 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7001 | |
7002 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
7003 | |
4132 | 7004 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7005 | |
4133 | 7006 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
7007 (ddasrt_f): Combine loops. | |
7008 | |
4132 | 7009 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
7010 instead of empty vector if user termninates iteration. | |
7011 | |
4130 | 7012 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7013 | |
7014 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7015 octave_read_complex, octave_write_double, octave_write_complex): | |
7016 New functions. | |
7017 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
7018 Use octave_write_complex. | |
7019 (operator >> (std::istream&, const ComplexMatrix&)): | |
7020 Use octave_read_complex. | |
7021 * dMatrix.cc (operator << (std::ostream&, double)): | |
7022 Use octave_write_double. | |
7023 (operator >> (std::istream&, double)): Use octave_read_double. | |
7024 | |
4126 | 7025 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7026 | |
7027 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
7028 * oct-kpse.h: Delete decl. | |
7029 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
7030 ::octave_kpse_clear_dir_cache. | |
7031 | |
4123 | 7032 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7033 | |
4124 | 7034 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
7035 earlier than 3.0. | |
7036 | |
4123 | 7037 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
7038 (liboctave.$(SHLEXT)): Not here. | |
7039 | |
5095 | 7040 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 7041 |
7042 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
7043 | |
4108 | 7044 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7045 | |
7046 * Makefile.in (install-lib): Don't bother with versions for | |
7047 $(SHLBIN) files. | |
7048 | |
5095 | 7049 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 7050 |
7051 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
7052 | |
4102 | 7053 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7054 | |
7055 * lo-cieee.c: Move everything but lo_ieee_init here. | |
7056 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
7057 New functions. | |
7058 | |
7059 * Makefile.in (install): No need to use cd to create links. | |
7060 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
7061 | |
5095 | 7062 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 7063 |
7064 * Makefile.in: Merge liboctave with liboct-readline and | |
7065 liboct-pathsearch. | |
7066 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
7067 (libraries): Depend on versioned library. | |
7068 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
7069 build unversioned library, symbolic link adds version info. | |
7070 (install, uninstall): Handle link and load forms of the library | |
7071 separately. | |
7072 | |
4101 | 7073 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7074 | |
7075 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
7076 __CYGWIN__. | |
7077 | |
7078 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
7079 file_ops::dir_sep_chars): New static functions to replace | |
7080 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
7081 | |
7082 * oct-env.cc (octave_env::do_set_program_name): | |
7083 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
7084 (octave_env::do_base_pathname): Likewise. | |
7085 (octave_env::do_make_absolute): Likewise. | |
7086 | |
7087 * oct-env.cc (octave_env::do_make_absolute): | |
7088 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
7089 (octave_env::do_get_home_directory): Likewise. | |
7090 | |
7091 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
7092 that information here too. | |
7093 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
7094 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
7095 | |
7096 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
7097 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
7098 | |
4097 | 7099 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7100 | |
7101 * oct-env.h (octave_env::current_directory): Now mutable. | |
7102 (octave_env:do_getcwd): Now const. | |
7103 | |
7104 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
7105 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
7106 OCTAVE_CURRENT_DIR_STR): New macros. | |
7107 * oct-env.cc (is_dir_sep): Delete. | |
7108 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
7109 (octave_env::do_set_program_name): Likewise. | |
7110 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
7111 instead of checking for '/'. | |
7112 (octave_env::pathname_backup): Likewise. | |
7113 (octave_env::do_absolute_pathname): Likewise. | |
7114 (octave_env::do_make_absolute): Likewise. | |
7115 If dot_path is empty, use getcwd to set current_dir. | |
7116 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
7117 instead of "/". | |
7118 | |
5095 | 7119 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7120 |
7121 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
7122 | |
5095 | 7123 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 7124 |
7125 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
7126 absolute path names under MinGW as well. | |
7127 | |
7128 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7129 | |
7130 * oct-env.cc: Include <cctype> too. | |
7131 | |
4087 | 7132 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7133 | |
7134 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
7135 filenames. | |
7136 (octave_env::do_make_absolute): Check for absolute name with | |
7137 do_absolute_path. | |
4088 | 7138 (octave_env::do_chdir): Likewise. |
7139 (is_dir_sep): New function. | |
4087 | 7140 |
5095 | 7141 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 7142 |
4086 | 7143 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
7144 systems. | |
4085 | 7145 |
4083 | 7146 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7147 | |
7148 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
7149 | |
4080 | 7150 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7151 | |
4081 | 7152 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
7153 | |
4080 | 7154 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
7155 | |
5095 | 7156 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 7157 |
7158 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
7159 gr_gid too. | |
7160 | |
4072 | 7161 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7162 | |
4074 | 7163 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
7164 lo_ieee_* functions. | |
4072 | 7165 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 7166 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
7167 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 7168 * lo-cieee.c: New file. |
4074 | 7169 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 7170 * lo-ieee.h: Now all extern "C". |
4074 | 7171 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
7172 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
7173 | |
4072 | 7174 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
7175 Now extern. | |
7176 | |
4066 | 7177 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7178 | |
7179 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7180 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7181 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7182 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7183 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7184 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7185 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7186 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7187 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7188 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7189 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7190 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7191 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7192 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7193 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7194 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7195 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7196 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7197 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7198 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7199 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7200 oct-alloc.cc: | |
7201 If __GNUG__, use pragma interface/implementation. Allow this to | |
7202 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
7203 | |
5095 | 7204 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 7205 |
4066 | 7206 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
7207 system readlink function is not available. | |
7208 | |
4065 | 7209 * lo-mappers.cc (xerf, xerfc): Delete. |
7210 * lo-mappers.h (xerf, xerfc): Delete decls. | |
7211 | |
4064 | 7212 * lo-mappers.cc: Remove unused #define M_PI. |
7213 * lo-specfun.cc: Add #define M_PI if needed. | |
7214 | |
4062 | 7215 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7216 | |
7217 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
7218 that geteuid doesn't exist. | |
7219 | |
7220 * LP.h: Rename LP class to octave_LP. | |
7221 LPsolve.h: Change all uses. | |
7222 | |
7223 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
7224 incorrect token-pasting op. | |
7225 | |
7226 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
7227 define lstat. | |
7228 | |
4061 | 7229 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7230 | |
7231 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7232 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
7233 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
7234 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
7235 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7236 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7237 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
7238 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
7239 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
7240 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
7241 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
7242 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
7243 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
7244 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
7245 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
7246 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
7247 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
7248 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
7249 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
7250 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
7251 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
7252 oct-alloc.cc: | |
7253 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
7254 to decide whether to use the interface/implementation pragmas. | |
7255 | |
4058 | 7256 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7257 | |
7258 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
7259 | |
4055 | 7260 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
7261 | |
7262 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
7263 qualified names. | |
7264 | |
4051 | 7265 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7266 | |
4054 | 7267 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
7268 ArrayN.cc: Add typename where needed. | |
4053 | 7269 |
4051 | 7270 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
7271 strstream classes directly. | |
7272 * DASRT.cc: Likewise. | |
7273 * DASSL.cc: Likewise. | |
7274 * LSODE.cc: Likewise. | |
7275 * ODESSA.cc: Likewise. | |
7276 | |
7277 * cmd-hist.cc: Don't include <strstream>. | |
7278 * oct-shlib.cc: Likewise. | |
7279 | |
7280 * lo-sstream.h: New file. | |
7281 | |
4049 | 7282 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7283 | |
7284 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
7285 New data members. | |
7286 (LSODE::sanity_checked): Delete unused data member. | |
7287 | |
7288 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
7289 prel_tol, pinfo, piwork, prwork): New data members. | |
7290 * DASSL.h (DASSL): Likewise. | |
7291 | |
7292 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
7293 | |
7294 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
7295 initialization, changes in options, etc. | |
7296 * DASPK.cc (DASPK::do_integrate): Likewise. | |
7297 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7298 * LSODE.cc (LSODE::do_integrate): Likewise. | |
7299 | |
4047 | 7300 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7301 | |
4049 | 7302 * DAEFunc.h (DAEFunc::reset): New data member. |
7303 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
7304 | |
7305 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
7306 (base_diff_eqn::clear_stop_time): Likewise. | |
7307 | |
4047 | 7308 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
7309 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
7310 | |
5095 | 7311 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 7312 |
7313 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
7314 * DASRT-opts.in, DASRT.h: Likewise. | |
7315 * DASSL-opts.in, DASSL.h: Likewise. | |
7316 * LSODE-opts.in, LSODE.h: Likewise. | |
7317 * NLEqn-opts.in, NLEqn.h: Likewise. | |
7318 * ODESSA-opts.in, ODESSA.h: Likewise. | |
7319 | |
4038 | 7320 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7321 | |
4042 | 7322 * LSODE.cc (LSODE::error_message): Also return current T on |
7323 failures when that makes sense. | |
4043 | 7324 * DASSL.cc (DASSL::error_message): Likewise. |
7325 * DASRT.cc (DASRT::error_message): Likewise. | |
7326 * DASPK.cc (DASPK::error_message): Likewise. | |
7327 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 7328 |
4038 | 7329 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
7330 $(LIBKPATHSEA) here. | |
7331 | |
4025 | 7332 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7333 | |
7334 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
7335 (lo_ieee_is_NaN_or_NA): New function. | |
7336 (octave_NA): New global value. | |
7337 (octave_ieee_init): Initialize it. | |
7338 * lo-mappers.cc (octave_is_NA): New function. | |
7339 (octave_is_NaN_or_NA): New function. | |
7340 (xisnan): Return false if NaN looks like a missing value. | |
7341 (xisnan (const Complex&)): Use xisnan here. | |
7342 | |
4015 | 7343 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7344 | |
4017 | 7345 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
7346 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
7347 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
7348 Default value for dim is -1, not 0. | |
7349 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
7350 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
7351 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
7352 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
7353 | |
4015 | 7354 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
7355 New macros. | |
7356 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
7357 MX_BASE_REDUCTION_OP. | |
7358 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
7359 | |
4014 | 7360 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7361 | |
4015 | 7362 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
7363 Return boolMatrix, not Matrix. | |
7364 | |
7365 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
7366 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
7367 (Matrix::all): Replace guts with MX_ALL_OP. | |
7368 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
7369 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
7370 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
7371 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
7372 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
7373 (charMatrix::all): Replace guts with MX_ALL_OP. | |
7374 | |
7375 * dMatrix.h (Matrix::any): New arg, dim. | |
7376 (Matrix::all): Likewise. | |
7377 * CMatrix.h (ComplexMatrix::any): Likewise. | |
7378 (ComplexMatrix::all): Likewise. | |
7379 * boolMatrix.h (boolMatrix::any): Likewise. | |
7380 (boolMatrix::all): Likewise. | |
7381 * chMatrix.h (charMatrix::any): Likewise. | |
7382 (charMatrix::all): Likewise. | |
7383 | |
4014 | 7384 * Makefile.in: Use $@-t instead of $@.t. |
7385 | |
4004 | 7386 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7387 | |
7388 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
7389 Use it in matrix versions to avoid spewing multiple errors. | |
7390 Call xgammainc instead of dgamit. | |
7391 | |
3998 | 7392 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7393 | |
7394 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
7395 Get rows and columns right in loop. | |
7396 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
7397 | |
7398 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7399 | |
7400 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
7401 * DASRT.cc (DASRT::integrate): Likewise. | |
7402 * DASSL.cc (DASSL::do_integrate): Likewise. | |
7403 | |
7404 * Quad.cc: Don't pass tolerances in constructors. | |
7405 | |
7406 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
7407 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
7408 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
7409 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
7410 from corresponding .in files. | |
7411 * LSODE.h, Quad.h: Replace options class definitions with included | |
7412 file. | |
7413 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
7414 create OPTS_INC files from OPTS_INC_SRC files. | |
7415 (stamp-prereq): New target. | |
7416 (libraries): Depend on stamp-prereq. | |
7417 Include stamp-prereq along with $(MAKEDEPS). | |
7418 | |
3997 | 7419 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7420 | |
7421 * base-de.h (base_diff_eqn::istate): New data member. | |
7422 (base_diff_eqn::integration_state): New member function. | |
7423 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
7424 data members and functions. | |
7425 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
7426 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
7427 | |
3990 | 7428 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7429 | |
3995 | 7430 * base-de.h (base_diff_eqn::stop_time, |
7431 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
7432 base_diff_eqn::integration_error): New data members. | |
7433 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
7434 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
7435 base_diff_eqn::error_message): New member functions. | |
7436 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
7437 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
7438 members and functions. | |
7439 | |
3992 | 7440 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
7441 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 7442 (DASRT::integrate): Don't forget to set nn. |
3992 | 7443 |
3991 | 7444 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
7445 * DASSL.cc (ddassl_j): Make it work. | |
7446 * DASPK.cc (ddaspk_j): Likewise. | |
7447 | |
3990 | 7448 * DAE.cc: Delete. |
7449 | |
7450 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
7451 solving with root finding. | |
7452 * Makefile.in: Add them to the appropriate lists. | |
7453 | |
7454 * base-dae.h: New file. | |
7455 * Makefile.in (INCLUDES): Add it to the list. | |
7456 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
7457 | |
3984 | 7458 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7459 | |
7460 * ODE.h: Move integrate and do_integrate method declarations and | |
7461 definitions here. | |
7462 * base-de.h: From here. | |
7463 | |
7464 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
7465 * Makefile.in: Add them to the appropriate lists. | |
7466 (LIBOCTAVE_CXX_SOURCES): | |
7467 | |
3971 | 7468 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7469 | |
7470 * NLEqn.cc (NLEqn::error_message): New function. | |
7471 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
7472 | |
3970 | 7473 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7474 | |
7475 * lo-utils.cc (octave_fgetl): New function. | |
7476 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
7477 | |
3959 | 7478 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7479 | |
7480 * LSODE.cc (LSODE::error_message): New function. | |
7481 * LSODE.h: Provide decl. | |
7482 (LSODE::integration_state): New function. | |
7483 (LSODE::integration_ok): New function. | |
7484 | |
3952 | 7485 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7486 | |
3955 | 7487 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
7488 (LSODE_options::set_integration_method, | |
7489 LSODE_options::integration_method): New functions. | |
3954 | 7490 |
3952 | 7491 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
7492 Change all uses. | |
7493 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
7494 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
7495 New function. | |
7496 | |
7497 * Array.h (Array::fortran_vec): New const version. | |
7498 | |
3951 | 7499 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7500 | |
7501 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
7502 (gnu_readline::history_search_forward): Likewise. | |
7503 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
7504 to extern "C" functions to octave_rl_ad_defun. | |
7505 | |
5095 | 7506 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 7507 |
7508 * DASPK.cc (ddaspk_psol): Return value. | |
7509 * oct-rl-edit.c: Use /* ... */ to comment. | |
7510 | |
3945 | 7511 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7512 | |
7513 * DASSL.h (DASSL_options::init): Undo previous change. | |
7514 (DASSL_options::set_absolute_tolerance): Likewise. | |
7515 * LSODE.h (LSODE_options::init): Likewise. | |
7516 (LSODE_options::set_absolute_tolerance): Likewise. | |
7517 | |
7518 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
7519 sqrt(eps), not eps^2. | |
7520 DASPK_options::set_absolute_tolerance): Likewise. | |
7521 | |
5095 | 7522 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 7523 |
7524 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
7525 object. | |
7526 | |
3933 | 7527 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7528 | |
7529 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
7530 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
7531 (octave_rl_set_basic_word_break_characters, | |
7532 octave_rl_set_completer_word_break_characters): New functions. | |
7533 * oct-rl-edit.h: Provide decls. | |
7534 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
7535 gnu_readline::do_set_completer_word_break_characters): New functions. | |
7536 (command_editor::set_basic_quote_characters, | |
7537 command_editor::set_completion_append_character): New static functions. | |
7538 * cmd-edit.h: Provide decls. | |
7539 (command_editor::do_set_basic_word_break_characters, | |
7540 command_editor::do_set_completer_word_break_characters): | |
7541 New virtual functions. | |
7542 | |
7543 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
7544 (resize_fill_value): New static function. | |
7545 | |
7546 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
7547 resize_fill_value. | |
7548 * Array2-idx.h (Array2<T>::index): Likewise. | |
7549 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
7550 | |
7551 * Array2.cc (Array<T>::print_info): New function. | |
7552 * Array2.h: Provide decl. | |
7553 | |
7554 * Array.cc (Array<T>::print_info): New function. | |
7555 * Array.h: Provide decl. | |
7556 | |
3928 | 7557 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7558 | |
7559 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
7560 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
7561 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
7562 | |
7563 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
7564 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
7565 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
7566 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
7567 | |
5095 | 7568 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 7569 |
7570 * Array3.h (Array3<T>::checkelem): Improve error message. | |
7571 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
7572 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
7573 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
7574 | |
3919 | 7575 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7576 | |
7577 * DASSL.h (DASSL_options::init): Undo previous change. | |
7578 (DASSL_options::set_absolute_tolerance): Likewise. | |
7579 | |
3912 | 7580 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7581 | |
7582 * DASPK.h, DASPK.cc: New files. | |
7583 * Makefile.in: Add them to the appropriate lists. | |
7584 | |
3904 | 7585 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7586 | |
7587 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
7588 Simplify indexing when one or both of the indices are empty. | |
7589 | |
3896 | 7590 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7591 | |
7592 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
7593 (DASSL_options::set_absolute_tolerance): Likewise. | |
7594 * LSODE.h (LSODE_options::init): Likewise. | |
7595 (LSODE_options::set_absolute_tolerance): Likewise. | |
7596 | |
5095 | 7597 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 7598 |
7599 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
7600 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
7601 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
7602 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
7603 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
7604 * file-stat.h: Likewise. | |
7605 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
7606 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
7607 instead of HAVE_STRUCT_TM_TM_ZONE. | |
7608 * strftime.c: Likewise. | |
7609 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
7610 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
7611 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
7612 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
7613 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7614 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7615 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
7616 | |
5095 | 7617 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 7618 |
7619 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
7620 internally when the user requests it. | |
7621 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
7622 * dbleQR.cc (QR::init): Ditto. | |
7623 * dbleQRP.cc (QRP::init): Ditto. | |
7624 | |
3874 | 7625 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
7626 | |
7627 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
7628 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
7629 (octave_fftw::ifft2d): Likewise. | |
7630 | |
5095 | 7631 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 7632 |
7633 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
7634 | |
3867 | 7635 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7636 | |
7637 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
7638 (LS_DO_WRITE): Likewise. | |
7639 | |
3864 | 7640 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7641 | |
7642 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
7643 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
7644 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
7645 | |
7646 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
7647 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
7648 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
7649 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
7650 | |
7651 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
7652 DIM == -1 now means no orientation for vector sums. | |
7653 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
7654 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
7655 | |
3858 | 7656 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7657 | |
7658 * Range.cc (Range::nelem_internal): Special case ranges that must | |
7659 have zero elements. | |
7660 | |
3854 | 7661 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7662 | |
3857 | 7663 * Makefile.in: Split out readline and pathsearch functionality |
7664 into separate liboct-readline and liboct-pathsearch libraries. | |
7665 | |
3854 | 7666 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 7667 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
7668 to do nothing for this call to rl_clear_screen. | |
3854 | 7669 |
3849 | 7670 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7671 | |
7672 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
7673 function. | |
7674 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
7675 | |
3838 | 7676 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7677 | |
7678 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
7679 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
7680 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
7681 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
7682 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
7683 | |
3836 | 7684 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7685 | |
7686 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
7687 | |
7688 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
7689 Array-b.cc: Instantiate three arg assign functions. | |
7690 | |
7691 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
7692 New arg, resize_fill_value. | |
7693 * ArrayN.h: Provide declaration. | |
7694 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
7695 three arg version. | |
7696 | |
7697 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
7698 New arg, resize_fill_value. | |
7699 * Array3.h: Provide declaration. | |
7700 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
7701 three arg version. | |
7702 | |
7703 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7704 New arg, resize_fill_value. | |
7705 * Array2.h: Provide declaration. | |
7706 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
7707 three arg version. | |
7708 | |
7709 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7710 New arg, resize_fill_value. | |
7711 * Array.h: Provide declaration. | |
7712 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
7713 three arg version. | |
7714 | |
3833 | 7715 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7716 | |
7717 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
7718 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
7719 to the empty string. | |
7720 | |
3832 | 7721 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7722 | |
7723 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
7724 Don't check for rep != a.rep. | |
7725 | |
3827 | 7726 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
7727 | |
7728 * oct-fftw.h, oct-fftw.cc: New files. | |
7729 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
7730 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
7731 ifourier2d}): Use fftw if available. | |
7732 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
7733 Likewise. | |
7734 | |
3821 | 7735 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7736 | |
7737 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
7738 (install-inc): Don't use mk-includedir-link. | |
7739 | |
3803 | 7740 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7741 | |
7742 * lo-cutils.c (octave_gethostname): New function. | |
7743 * lo-utils.h: Provide declaration. | |
7744 * oct-env.cc (octave_env::do_get_host_name): | |
7745 Call octave_gethostname, instead of gethostname. | |
7746 | |
7747 * lo-cutils.c (gethostname): Define here. | |
7748 * lo-sysdep.cc: Not here. | |
7749 | |
3786 | 7750 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7751 | |
7752 * lo-cutils.c: Don't declare strptime. | |
7753 (oct_strptime): Cast return type of strptime to char*. | |
7754 | |
3777 | 7755 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7756 | |
3779 | 7757 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
7758 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
7759 (octave_rl_read_init_file): Ditto. | |
7760 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
7761 free_undo_list. | |
7762 (octave_rl_completion_matches): Call rl_completion_matches, not | |
7763 completion_matches. | |
7764 (octave_rl_enable_paren_matching): New function. | |
7765 (octave_rl_set_blink_matching_paren_flag): Delete. | |
7766 (octave_rl_get_blink_matching_paren_flag): Delete. | |
7767 | |
3777 | 7768 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
7769 tanh (const Complex&)): Declare and define if not | |
7770 CXX_ISO_COMPLIANT_LIBRARY. | |
7771 | |
3776 | 7772 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7773 | |
7774 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
7775 CXX_ISO_COMPLIANT_LIBRARY. | |
7776 | |
3775 | 7777 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
7778 | |
3776 | 7779 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
7780 CXX_ISO_COMPLIANT_LIBRARY. | |
7781 | |
3775 | 7782 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
7783 archive libraries containing templates. | |
7784 | |
7785 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
7786 get_zero_len_size, all_colon_equiv): Inline. | |
7787 (ArrayN<T>::index): Rename idx to arr_idx. | |
7788 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
7789 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
7790 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
7791 | |
7792 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7793 | |
7794 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
7795 log10 (const Complex&)): Delete. | |
7796 | |
7797 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
7798 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
7799 sinh, sqrt, tan, and tanh. | |
7800 | |
3769 | 7801 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7802 | |
7803 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
7804 Add std:: namespace qualifier as needed. | |
7805 | |
7806 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
7807 Change all uses to match. | |
7808 | |
3767 | 7809 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7810 | |
7811 * lo-cutils.c: Don't delcare strptime. | |
7812 | |
3760 | 7813 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7814 | |
7815 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
7816 Return correct size result for empty matrix case. | |
7817 | |
3757 | 7818 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7819 | |
7820 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
7821 If args are equal in magnitude, return first arg instead of | |
7822 second. | |
7823 | |
3752 | 7824 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7825 | |
3755 | 7826 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
7827 then try harder to compute correct number of elements. | |
3753 | 7828 |
3752 | 7829 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
7830 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
7831 | |
3750 | 7832 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7833 | |
3751 | 7834 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
7835 Rename n_intervals to be n_elt. | |
7836 | |
3750 | 7837 * strptime.c: Surround everything after including config.h in |
7838 #ifndef HAVE_STRPTIME ... #endif. | |
7839 | |
3742 | 7840 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7841 | |
7842 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
7843 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
7844 | |
3741 | 7845 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7846 | |
7847 * MArray-defs.h: Protect against multiple inclusion. | |
7848 | |
3739 | 7849 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7850 | |
7851 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
7852 end of the list, to be compatible with previous versions of Octave. | |
7853 | |
3736 | 7854 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7855 | |
7856 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
7857 since mktime is supposed to `normalize' the results for us. | |
7858 | |
3731 | 7859 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7860 | |
7861 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 7862 and vectors. Use xelem for faster access to elements when copying. |
3731 | 7863 |
3726 | 7864 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7865 | |
7866 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
7867 Correct indexing for operation across rows. | |
7868 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
7869 | |
3725 | 7870 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
7871 | |
7872 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
7873 elements if arg is a colon. | |
7874 | |
5095 | 7875 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 7876 |
3795 | 7877 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 7878 (Matrix::cumsum (int) const): Likewise. |
7879 (Matrix::prod (int) const): Likewise. | |
7880 (Matrix::sum (int) const): Likewise. | |
7881 (Matrix::sumsq (int) const): Likewise. | |
7882 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
7883 (ComplexMatrix::cumsum (int) const): Likewise. | |
7884 (ComplexMatrix::prod (int) const): Likewise. | |
7885 (ComplexMatrix::sum (int) const): Likewise. | |
7886 (ComplexMatrix::sumsq (int) const): Likewise. | |
7887 | |
3722 | 7888 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7889 | |
7890 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
7891 size if Array<T>::index returns an empty array. | |
7892 | |
3710 | 7893 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7894 | |
7895 * file-ops.cc (file_ops::link, file_ops::symlink, | |
7896 file_ops::readlink): New functions. | |
7897 | |
3709 | 7898 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7899 | |
7900 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
7901 indexed, always return an object the same size as the index arg. | |
7902 | |
7903 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
7904 empty format. | |
7905 | |
3706 | 7906 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7907 | |
7908 * lo-cutils.c (oct_strptime): New function. | |
7909 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
7910 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
7911 | |
3702 | 7912 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7913 | |
3703 | 7914 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
7915 | |
3702 | 7916 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
7917 | |
3689 | 7918 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7919 | |
7920 * dMatrix.h (read_int): Provide declaration. | |
7921 | |
3688 | 7922 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
7923 | |
7924 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
7925 (write_doubles): Ditto. | |
7926 * data-conv.h: Ditto. | |
7927 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
7928 | |
3685 | 7929 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7930 | |
7931 * boolMatrix.h: Declare MM_CMP_OPS here. | |
7932 * boolMatrix.cc: Define them here. | |
7933 | |
3680 | 7934 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7935 | |
7936 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
7937 previously undefined and set size of x to size of bool index. | |
7938 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
7939 Allow z_len to be zero. | |
7940 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
7941 If frozen, don't assert that frozen_at_z_len == z_len. | |
7942 | |
3670 | 7943 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7944 | |
7945 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
7946 instead of rl_clear_screen. | |
7947 | |
3665 | 7948 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7949 | |
7950 * Array-d.cc: Instantiate ArrayN<double> here too. | |
7951 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
7952 * Makefile.in: Add them to the appropriate lists. | |
7953 | |
3657 | 7954 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7955 | |
7956 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
7957 | |
3635 | 7958 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7959 | |
7960 * lo-sysdep.h: octave_chdir returns int, not bool. | |
7961 | |
3615 | 7962 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7963 | |
7964 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
7965 before rebuilding. | |
7966 | |
5095 | 7967 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 7968 |
5261 | 7969 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 7970 (libraries): Depend only on library targets, not archive members. |
7971 | |
3613 | 7972 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7973 | |
7974 * Makefile.in: (objects): New target. | |
7975 | |
7976 * lo-cutils.c: New file. | |
7977 * Makefile.in (SOURCES): Add it to the list. | |
7978 * lo-utils.h: Declare octave_qsort here. | |
7979 * Array.h (Array::qsort): Use it here. | |
7980 | |
3607 | 7981 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
7982 | |
7983 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
7984 | |
3598 | 7985 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7986 | |
7987 * oct-rl-hist.c (octave_history_list): Do something when not | |
7988 printing line numbers. Fix reallocation of retval. | |
7989 | |
3597 | 7990 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7991 | |
7992 * Makefile.in (install-inc): Install files in | |
7993 $(octincludedir)/octave. | |
7994 (uninstall): Remove them from the correct directory too. | |
7995 | |
7996 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
7997 they are not already defined. | |
7998 | |
3588 | 7999 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8000 | |
8001 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
8002 Delete declarations and definitions of mixed-type vector-vector ops. | |
8003 | |
3585 | 8004 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8005 | |
8006 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
8007 matrix and vector objects. | |
8008 | |
8009 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
8010 return type from second arg type. | |
8011 (MDM_BIN_OP): Likewise, for first arg type. | |
8012 | |
8013 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8014 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
8015 | |
8016 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
8017 request ColumnVector to ComplexColumnVector, and Matrix to | |
8018 ComplexMatrix conversions. | |
8019 | |
8020 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
8021 initial value using ComplexMatrix constructor. | |
8022 | |
8023 * CColVector.cc (product, quotient, | |
8024 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
8025 Fix type of returned value. | |
8026 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
8027 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
8028 | |
8029 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
8030 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
8031 dRowVector.h: Declare some constructors explicit, to disallow | |
8032 potentially problematic automatic type conversions. | |
8033 | |
3580 | 8034 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8035 | |
3582 | 8036 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
8037 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
8038 More new files. | |
8039 * Makefile.in: Add them to the appropriate lists. | |
8040 | |
8041 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
8042 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
8043 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
8044 vx-s-crv.cc:, New files. | |
8045 * Makefile.in: Add them to the appropriate lists. | |
8046 | |
8047 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
8048 Delete scalar by vector and vector by scalar binary ops. | |
8049 | |
3580 | 8050 * MArray-defs.h: More new macros to handle MDiagArray operators. |
8051 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
8052 | |
3573 | 8053 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8054 | |
3578 | 8055 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
8056 rl_event_hook before casting to void **. | |
8057 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
8058 | |
3574 | 8059 * MArray-defs.h: Many new macros to make declaration and |
8060 definition of operators more consistent. | |
8061 | |
8062 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
8063 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 8064 |
3569 | 8065 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8066 | |
3572 | 8067 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
8068 (Matrix::ifourier2d): Likewise. | |
8069 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
8070 (ComplexMatrix::ifourier2d): Likewise. | |
8071 | |
3569 | 8072 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
8073 | |
3504 | 8074 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8075 | |
3519 | 8076 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
8077 readline library. | |
8078 * Makefile.in: Add them to the appropriate lists. | |
8079 | |
8080 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
8081 readline history library. | |
8082 * Makefile.in: Add them to the appropriate lists. | |
8083 | |
3517 | 8084 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
8085 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 8086 (write_doubles): Likewise. |
8087 (read_doubles): Likewise. | |
3517 | 8088 |
3516 | 8089 * oct-env.cc (octave_env::do_polite_directory_format): |
8090 Use operator== and substr method to do limited-length string | |
8091 comparison. | |
8092 | |
3513 | 8093 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 8094 |
3511 | 8095 * Quad.h: Use do_integrate as name of pure virtual function. |
8096 | |
3508 | 8097 * base-de.h: Use tt instead of t as arg names. |
3511 | 8098 Add method with tcrit arg. |
8099 | |
3509 | 8100 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 8101 |
3507 | 8102 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
8103 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
8104 * Quad.cc (quad_fcn_ptr): Ditto. | |
8105 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
8106 | |
3505 | 8107 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 8108 * Makefile.in: Add them to the appropriate lists. |
3505 | 8109 |
8110 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 8111 * Makefile.in: Add them to the appropriate lists. |
3505 | 8112 |
3504 | 8113 * dMatrix.cc (write_int, read_int): No longer declared static. |
8114 | |
8115 * CDiagMatrix.h: Delete decls for friend operators that are | |
8116 handled by MDiagArray2 class. Move others outside class decl and | |
8117 strip friend status. | |
8118 * dDiagMatrix.h: Likewise. | |
8119 | |
8120 * MArray.h: Delete decls for friend operators inside class decl. | |
8121 * MArray2.h: Ditto. | |
8122 * MDiagArray2.h: Ditto. | |
8123 | |
8124 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
8125 necessary parameters. Don't allocate memory in the macro. Change | |
8126 all uses. | |
8127 | |
8128 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
8129 * CMatrix.h (class ComplexMatrix): Ditto. | |
8130 | |
8131 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
8132 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
8133 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
8134 avoid type conflicts. Change all uses. | |
8135 | |
8136 * strptime.c (__mon_yday): Fix size of array decl. | |
8137 | |
8138 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
8139 | |
8140 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
8141 default value for second arg. | |
8142 | |
8143 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
8144 references to ArrayRep. | |
8145 | |
3503 | 8146 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8147 | |
3504 | 8148 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 8149 |
8150 * All source files: Include iostream, fstream, strstream, | |
8151 etc. as needed instead of using forward declarations for these | |
3504 | 8152 classes. Add std:: qualifier as needed. |
3503 | 8153 |
3498 | 8154 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8155 | |
8156 * oct-time.cc: Declare strptime extern "C". | |
8157 | |
3496 | 8158 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8159 | |
8160 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
8161 | |
3488 | 8162 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8163 | |
3492 | 8164 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
8165 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
8166 to get total size to be allocated. | |
8167 | |
3488 | 8168 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
8169 as bool, not int. | |
8170 | |
3482 | 8171 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8172 | |
8173 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8174 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
8175 as A, even when do_fortran_indexing is not enabled. | |
8176 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
8177 | |
3473 | 8178 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8179 | |
3480 | 8180 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
8181 function pointer as final arg. Passed function (if any) will be | |
8182 called for singularity errors. | |
8183 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
8184 | |
8185 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
8186 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
8187 | |
3475 | 8188 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
8189 No longer bother with infinity or quiet_nan. | |
8190 | |
3473 | 8191 * Array2.cc (Array2<T>::get_size): New function. |
8192 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
8193 | |
3472 | 8194 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8195 | |
8196 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
8197 New function. | |
8198 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8199 Use it when indexing with one arg instead of faking a second one. | |
8200 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
8201 Return empty matrices with the correct dimensions for A(:,:) = [] | |
8202 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
8203 rows or columns. | |
8204 | |
8205 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
8206 vector that is all true values with a length equal to n as colon | |
8207 equivalent. | |
8208 | |
3470 | 8209 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8210 | |
8211 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
8212 | |
5095 | 8213 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 8214 |
8215 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
8216 operations directly in step 2 and reverse step 2. | |
8217 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
8218 operations directly in step 2 and reverse step 2. | |
8219 | |
3465 | 8220 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8221 | |
8222 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
8223 | |
8224 * strptime.c: New file, from glibc 2.1.2. | |
8225 * Makefile.in (SOURCES): Add strptime.c to the list. | |
8226 | |
3419 | 8227 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8228 | |
8229 * MArray.h (MArray <const Array<T>&)): New constructor. | |
8230 | |
3415 | 8231 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8232 | |
8233 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
8234 NULL directory list returned from kpse_element_dirs | |
8235 | |
3375 | 8236 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8237 | |
8238 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
8239 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
8240 directly, instead of calling ZGESV. | |
8241 | |
3358 | 8242 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8243 | |
8244 * data-conv.cc (init_sized_type_lookup_table): New function. | |
8245 (string_to_data_type): Use it to improve lookup of data types. | |
8246 | |
3354 | 8247 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8248 | |
8249 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
8250 * Array2.h (is_symmetric): Delete declaration. | |
8251 | |
3347 | 8252 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8253 | |
8254 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
8255 | |
3344 | 8256 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8257 | |
8258 * oct-time.cc (Fstrftime): Undo previous change. | |
8259 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8260 | |
3334 | 8261 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8262 | |
3336 | 8263 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
8264 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
8265 | |
3334 | 8266 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
8267 Don't forget to pass length of third string argument to dgeesx. | |
8268 | |
8269 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
8270 of third string argument to zgeesx. | |
8271 | |
3333 | 8272 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8273 | |
8274 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
8275 On errors, simply return `T ()'. | |
8276 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
8277 | |
5095 | 8278 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 8279 |
8280 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
8281 AEPBALANCE class. | |
8282 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
8283 | |
3325 | 8284 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8285 | |
8286 * oct-shlib.cc, oct-shlib.h: New files. | |
8287 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8288 | |
3322 | 8289 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8290 | |
8291 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
8292 * dRowVector.cc (linspace): Ditto. | |
8293 | |
8294 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
8295 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
8296 | |
3312 | 8297 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8298 | |
8299 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
8300 to evaluate the Jacobian, set info(4), not iwork(4). | |
8301 Set rwork(1) to the maximum step size, not rwork(2). | |
8302 | |
3290 | 8303 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8304 | |
8305 * oct-time.cc: Include <climits>. | |
8306 | |
3281 | 8307 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8308 | |
8309 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
8310 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
8311 (gnu_readline::do_resize_terminal): New function. | |
8312 | |
3268 | 8313 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8314 | |
8315 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
8316 * lo-ieee.c: Likewise. | |
8317 Delete extern "C" declarations for infinity and quiet_nan. | |
8318 | |
3262 | 8319 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8320 | |
3263 | 8321 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
8322 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
8323 `inline', not `static inline'. | |
8324 | |
3262 | 8325 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
8326 then cast to const int * to compare. | |
8327 | |
3257 | 8328 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8329 | |
8330 * DAEFunc.h: Remove useless preprocessor conditional. | |
8331 | |
3255 | 8332 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8333 | |
3257 | 8334 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
8335 Use octave_time object instead of time_t. | |
8336 | |
8337 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
8338 file_stat::fs_ctime): Now octave_time objects. | |
8339 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
8340 Return octave_time objects. | |
8341 (file_stat::is_newer): Args are now octave_time objects instead of | |
8342 time_t. | |
8343 | |
3255 | 8344 * oct-time.h (octave_time::as_double): Delete. |
8345 (octave_time::operator double ()): New function. | |
8346 (octave_time::operator time_t ()): New function. | |
8347 (octave_time::ctime): New function. | |
8348 (octave_base_tm::strftime): Renamed from format_as_string. | |
8349 (octave_base_tm::asctime): New function. | |
8350 (operator == (const octave_time&, const octave_time&), | |
8351 operator != (const octave_time&, const octave_time&), | |
8352 operator < (const octave_time&, const octave_time&), | |
8353 operator <= (const octave_time&, const octave_time&), | |
8354 operator > (const octave_time&, const octave_time&), | |
8355 operator >= (const octave_time&, const octave_time&)): | |
8356 New comparison functions. | |
8357 | |
8358 * strftime.c: Move here from src directory. | |
8359 * Makefile.in (SOURCES): Add it to the list. | |
8360 | |
8361 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
8362 | |
3253 | 8363 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8364 | |
8365 * oct-time.h, oct-time.cc: New files. | |
8366 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
8367 | |
8368 * systime.h: Move here from src directory. | |
8369 * Makefile.in (INCLUDES): Add it to the list. | |
8370 | |
3248 | 8371 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8372 | |
8373 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
8374 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
8375 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
8376 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
8377 | |
8378 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
8379 | |
3243 | 8380 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8381 | |
8382 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
8383 | |
8384 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8385 | |
8386 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
8387 column vector for A(:), for compatibility with Matlab. | |
8388 | |
8389 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8390 | |
8391 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
8392 iopt when there are optional inputs in rwork or iwork. | |
8393 | |
3238 | 8394 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8395 | |
8396 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
8397 creating static libs. | |
8398 | |
5095 | 8399 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 8400 |
8401 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
8402 and uint32 data types. | |
8403 | |
8404 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8405 | |
8406 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
8407 for Linux. Remove old Linux-specific code. | |
8408 | |
3233 | 8409 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
8410 | |
8411 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
8412 Don't require lengths to be equal. | |
8413 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
8414 ComplexRowVector& a)): Likewise | |
8415 | |
5095 | 8416 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 8417 |
8418 * statdefs.h: Only define mode_t if not already defined. | |
8419 | |
5095 | 8420 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 8421 |
8422 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
8423 when appropriate. | |
8424 | |
8425 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8426 | |
8427 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
8428 before calling rl_initialize. | |
8429 | |
3220 | 8430 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8431 | |
8432 * lo-specfun.cc (besselh, airy, biry): New functions. | |
8433 Update Bessel function support to use library by D. E. Amos. | |
8434 | |
3219 | 8435 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8436 | |
8437 * cmd-edit.h (command_editor::readline): Add new variation that | |
8438 allows EOF information to be passed back to caller. | |
8439 | |
8440 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
8441 amount of data to read is unspecified. | |
8442 | |
3215 | 8443 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8444 | |
3219 | 8445 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
8446 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
8447 | |
3215 | 8448 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
8449 Add volatile qualifier to void* arg. | |
8450 Cast volatile void* arg to volatile char*. | |
8451 | |
8452 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8453 | |
8454 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
8455 (command_editor::do_restore_event_hook): Ditto. | |
8456 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
8457 (command_editor::restore_event_hook): Ditto. | |
8458 (gnu_readline::do_set_event_hook): Ditto. | |
8459 (gnu_readline::do_restore_event_hook): Ditto. | |
8460 (gnu_readline::previous_event_hook): New data member. | |
8461 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
8462 | |
3206 | 8463 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8464 | |
8465 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
8466 | |
8467 * Makefile.in (stmp-pic): New target. | |
8468 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
8469 (clean): Remove stmp-pic | |
8470 | |
8471 * Makefile.in: Undo previous change to avoid optmization when | |
8472 compiling lo-ieee.cc. | |
8473 | |
8474 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8475 | |
8476 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
8477 imaginary parts. | |
8478 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
8479 | |
3203 | 8480 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8481 | |
8482 * boolMatrix.cc (boolMatrix::operator !): New function. | |
8483 | |
3196 | 8484 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8485 | |
8486 * pathsearch.h (dir_path::default_path): New data member. | |
8487 * pathsearch.cc (dir_path::init): Use it. | |
8488 | |
8489 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
8490 | |
3189 | 8491 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8492 | |
8493 * chMatrix.cc (charMatrix::extract): New function. | |
8494 (charMatrix::charMatrix (char c)): New constructor. | |
8495 | |
8496 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8497 | |
8498 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
8499 * cmd-edit.cc (command_editor::read_init_file): New function. | |
8500 (gnu_readline::do_read_init_file): Likewise. | |
8501 | |
3185 | 8502 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8503 | |
8504 * oct-env.cc (octave_env::do_get_home_directory): | |
8505 If HOME can't be found, set it to "/". | |
8506 (octave_env::do_get_user_name) | |
8507 If user name can't be found, set it to "unknown". | |
8508 (octave_env::do_get_host_name) | |
8509 If host name can't be found, set it to "unknown". | |
8510 | |
8511 * pathsearch.h (dir_path::rehash): New function. | |
8512 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
8513 diretcory cache before doing initialization. | |
8514 | |
3180 | 8515 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8516 | |
3185 | 8517 * dMatrix.cc (Qzval): Delete. |
8518 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
8519 * dMatrix.h (Qzval): Delete declaration. | |
8520 | |
8521 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
8522 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
8523 * mx-ext.h: Don't include dbleGEPBAL. | |
8524 | |
3180 | 8525 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
8526 static_cast. | |
8527 | |
8528 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8529 | |
8530 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
8531 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
8532 | |
8533 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8534 | |
8535 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
8536 HUGE_VAL and NAN. | |
8537 | |
8538 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8539 | |
8540 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
8541 Handle x(i) = scalar for do_fortran_indexing == 1. | |
8542 | |
8543 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8544 | |
8545 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
8546 Alloctate space before attempting to use it. | |
8547 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
8548 | |
5095 | 8549 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 8550 |
8551 * EIG.cc (EIG::init): Move invariant code outside loop. | |
8552 | |
8553 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8554 | |
8555 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
8556 have the same size as the operands. | |
8557 | |
8558 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8559 | |
8560 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
8561 call to ddassl, set integration_error to 1 before calling the | |
8562 error handler and returning. | |
8563 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8564 | |
3177 | 8565 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8566 | |
8567 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
8568 do_fortran_indexing is set, A([]) = scalar. | |
8569 * Array-idx.h (assign): Allow A([]) = scalar. | |
8570 | |
3176 | 8571 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8572 | |
8573 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
8574 if dm_nc == 0. | |
8575 | |
3174 | 8576 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8577 | |
8578 * pathsearch.h (dir_path::p_orig): New field. | |
8579 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
8580 expansion on the original path here. | |
8581 (dir_path::find_all): Don't do anything if not initialized. | |
8582 | |
3164 | 8583 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8584 | |
8585 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
8586 is not set. | |
8587 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
8588 | |
8589 * lo-specfun.cc (gammainc): Use dgamit to compute | |
8590 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
8591 \int_0^x exp(-t) t^(a-1) dt. | |
8592 | |
8593 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8594 | |
8595 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
8596 Array-s.cc: Change return types of all `assign' explicit | |
8597 instantiations to be int, not void, to match the template decl in | |
8598 Array.h. | |
8599 | |
3162 | 8600 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8601 | |
8602 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
8603 | |
3156 | 8604 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8605 | |
8606 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
8607 * lo-mappers.cc: Not here. | |
8608 | |
8609 * lo-specfun.h: Declare xgamma and xlgamma here. | |
8610 * lo-mappers.h: Not here. | |
8611 | |
8612 * lo-specfun.h: Never declare gamma or lgamma. | |
8613 | |
3154 | 8614 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8615 | |
8616 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
8617 empty matrix of any dimension. | |
8618 | |
3145 | 8619 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8620 | |
3147 | 8621 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
8622 | |
3146 | 8623 * lo-specfun.cc: Don't include dbleBessel.h. |
8624 | |
8625 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
8626 | |
3145 | 8627 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
8628 * file-stat.h (file_stat::operator bool ()): Likewise. | |
8629 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
8630 * oct-group.h (octave_group::operator bool ()): Likewise. | |
8631 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
8632 | |
8633 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
8634 Don't cast arg in call to swap_8_bytes. | |
8635 (IEEE_big_double_to_IEEE_little_double): Ditto | |
8636 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
8637 swap_4_bytes. | |
8638 (IEEE_little_float_to_IEEE_big_float): Ditto | |
8639 | |
8640 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
8641 * prog-args.cc (prog_args::getopt): Likewise. | |
8642 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
8643 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
8644 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
8645 Likewise. | |
8646 | |
8647 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
8648 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
8649 | |
3141 | 8650 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8651 | |
8652 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
8653 Use $(mk-libdir-link). | |
8654 | |
8655 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
8656 not SAFE_STAT and SAFE_LSTAT. | |
8657 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
8658 * safe-xstat.hin, safe-xstat.cin: Delete. | |
8659 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
8660 safe-lstat.h, and safe-lstat.cc. | |
8661 | |
3136 | 8662 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8663 | |
8664 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
8665 | |
3130 | 8666 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
8667 | |
8668 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
8669 trace is negative. | |
8670 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
8671 the real part of the trace is negative. | |
8672 | |
8673 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8674 | |
8675 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
8676 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
8677 | |
8678 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
8679 to succeed. | |
8680 | |
3125 | 8681 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8682 | |
8683 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
8684 (make_uniq): Likewise. | |
8685 | |
8686 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8687 | |
8688 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
8689 | |
3119 | 8690 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8691 | |
3121 | 8692 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
8693 | |
8694 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 8695 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
8696 | |
3121 | 8697 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
8698 oct-math.h: Delete. | |
8699 * Makefile.in (SOURCES): Delete them from the list. | |
8700 | |
3112 | 8701 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8702 | |
8703 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
8704 | |
5095 | 8705 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 8706 |
8707 Changes to make support egcs snapshots that implement explicit | |
8708 specification of template functions according to CD2. | |
8709 | |
8710 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
8711 template function specs for template friends. | |
8712 * MArray2.h: Likewise. | |
8713 * MDiagArray2.h: Likewise. | |
8714 | |
3095 | 8715 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8716 | |
8717 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
8718 | |
3092 | 8719 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
8720 | |
8721 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
8722 to complex<double>(int) instead of complex<double>(double). | |
8723 | |
8724 * lo-mappers.cc (atanh): Ditto. | |
8725 | |
3079 | 8726 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8727 | |
8728 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
8729 * idx-vector.h (idx_vector::sort): Ditto. | |
8730 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
8731 trying to delete elements specified by the index vectors. | |
8732 | |
3075 | 8733 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8734 | |
8735 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
8736 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
8737 | |
3074 | 8738 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8739 | |
8740 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
8741 | |
3069 | 8742 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8743 | |
8744 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
8745 Call error handler if we can't find the current directory. | |
8746 | |
3068 | 8747 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8748 | |
3069 | 8749 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
8750 (xfinite (double)): Ditto. | |
8751 | |
3068 | 8752 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
8753 * CmplxQR.cc (ComplexQR::init): Ditto. | |
8754 | |
3056 | 8755 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8756 | |
8757 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
8758 compatible with Matlab. | |
8759 | |
3050 | 8760 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8761 | |
8762 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
8763 single colon. | |
8764 | |
3040 | 8765 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8766 | |
3049 | 8767 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
8768 (xgamma): Likewise, for calling xdgamma. | |
8769 | |
3042 | 8770 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
8771 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
8772 | |
3040 | 8773 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
8774 to do better job expanding tildes. | |
8775 | |
8776 * str-vec.cc (string_vector::string_vector (const char * const *): | |
8777 Use temporary variable to compute length. | |
8778 | |
3029 | 8779 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8780 | |
3034 | 8781 * Makefile.in: Make building of static library optional. |
3036 | 8782 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 8783 |
3029 | 8784 * Makefile.in (stamp-picdir): Delete. |
8785 (pic): New target. Don't worry so much about creating pic | |
8786 directory only when it is really needed. | |
8787 (stamp-interp): Delete. | |
8788 (libraries): New target. Depend on shared library directly. | |
8789 | |
3024 | 8790 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8791 | |
8792 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
8793 New static function. | |
8794 | |
3012 | 8795 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8796 | |
8797 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
8798 | |
3004 | 8799 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8800 | |
8801 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
8802 set_basic_quote_characters, to match new version of readline. | |
8803 | |
8804 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
8805 for restoring terminal state through rl_deprep_term_function, now | |
8806 declared in readline.h | |
8807 (rl_deprep_terminal): Delete declaration. | |
8808 | |
2993 | 8809 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8810 | |
8811 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
8812 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
8813 | |
2968 | 8814 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8815 | |
8816 * cmd-edit.cc (command_editor::increment_current_command_number): | |
8817 New static function. | |
8818 | |
2964 | 8819 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8820 | |
2966 | 8821 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
8822 the vector is not sorted. | |
8823 | |
2964 | 8824 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
8825 * dMatrix.cc (Matrix::operator !): Likewise | |
8826 | |
2941 | 8827 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8828 | |
8829 * oct-syscalls.h, oct-syscalls.cc: New files. | |
8830 | |
8831 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
8832 | |
8833 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
8834 | |
2938 | 8835 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8836 | |
2941 | 8837 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
8838 (install-inc): Use it. | |
8839 | |
2938 | 8840 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
8841 Handle errors and missing functions consistently. | |
8842 | |
8843 * oct-group.h, oct-group.cc: New files. | |
8844 | |
8845 * oct-passwd.cc: Handle errors and missing functions consistently. | |
8846 | |
8847 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
8848 | |
2934 | 8849 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8850 | |
8851 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
8852 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
8853 | |
8854 * oct-passwd.h, oct-passwd.cc: New files. | |
8855 | |
2926 | 8856 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8857 | |
8858 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
8859 | |
8860 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
8861 (instance_ok ()): New function. | |
8862 | |
8863 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
8864 | |
8865 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
8866 | |
8867 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
8868 src/utils.h and src/utils.cc. | |
8869 (octave_fgets): New function, extracted from src/input.cc. | |
8870 | |
8871 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
8872 GNU readline, and allow Octave to work without GNU readline. | |
8873 | |
8874 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
8875 system-dependent functions. | |
8876 | |
8877 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
8878 | |
8879 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
8880 from file-ops.h and file-ops.cc and move here. | |
8881 | |
8882 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
8883 tilde_expand functions here from src/dirfns.cc. | |
8884 | |
8885 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8886 | |
8887 * pathlen.h: New file, from ../src. | |
8888 | |
2917 | 8889 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8890 | |
8891 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
8892 out-of-bounds indexing of the index array. | |
8893 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
8894 | |
2850 | 8895 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8896 | |
8897 * LSODE.h (x_step_limit): New field. | |
8898 (LSODE_options::init): Initialize it. | |
8899 (LSODE_options::copy): Copy it. | |
8900 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
8901 New functions. | |
8902 (LSODE::working_too_hard): Delete. | |
8903 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
8904 | |
2844 | 8905 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8906 | |
8907 * MArray-b.cc: Delete. | |
8908 * Makefile.in: Delete it from the lists. | |
8909 | |
8910 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
8911 MArray2, since most of the numeric ops don't really make sense. | |
8912 | |
2829 | 8913 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8914 | |
2832 | 8915 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
8916 | |
8917 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
8918 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
8919 | |
2830 | 8920 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
8921 idx_vector::freeze): Delete prefer_zero_one arg. | |
8922 * Array-idx.h, Array2-idx.h: Change all callers. | |
8923 | |
8924 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
8925 | |
2829 | 8926 * mx-op-defs.h: New file for operator definitions. |
8927 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
8928 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
8929 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
8930 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
8931 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
8932 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
8933 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
8934 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
8935 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
8936 mx-s-cm.cc, mx-s-dm.cc: | |
8937 New files for mixed-type operations. | |
8938 * Makefiles.in: Add them to the appropriate lists. | |
8939 | |
8940 * mx-inlines.cc: Add bool by bool EQ ops. | |
8941 | |
8942 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
8943 boolMatrix types. | |
8944 (idx_vector::maybe_convert_one_zero_to_idx, | |
8945 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
8946 Delete second arg, prefer_zero_one. Change all callers. | |
8947 | |
8948 * boolMatrix.h, boolMatrix.cc: New files. | |
8949 * mx-base.h: Include boolMatrix.h here. | |
8950 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
8951 | |
8952 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
8953 | |
8954 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
8955 operator-, operator*, product, and quotient functions. | |
8956 Add constructor for boolMatrix type. | |
8957 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
8958 product, and quotient functions. | |
8959 | |
8960 * CDiagMatrix.h: Delete friend declarations for operator+, | |
8961 operator-, and product functions. | |
8962 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
8963 | |
8964 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
8965 | |
2815 | 8966 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8967 | |
8968 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
8969 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
8970 (EIG::symmetric_init (const Matrix&)): New function. | |
8971 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
8972 | |
8973 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
8974 | |
8975 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8976 | |
8977 * Array2.cc (is_symmetric): New function. | |
8978 * Array2.h (is_square): New function. | |
8979 | |
2811 | 8980 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8981 | |
8982 * Makefile.in (install-strip): New target. | |
8983 | |
2804 | 8984 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8985 | |
8986 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
8987 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
8988 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
8989 dbleSVD.cc: Don't include mx-inlines.cc. | |
8990 | |
8991 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
8992 duplicate code. | |
8993 | |
2800 | 8994 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
8995 | |
2804 | 8996 * dbleQR.h (QR): Delete extra comma at end of list. |
8997 | |
8998 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
8999 | |
9000 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
9001 | |
9002 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
9003 idx_vecotr_rep:: qualifiers. | |
9004 | |
9005 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
9006 | |
9007 * data-conv.h (save_type): Delete extra comma at end of list. | |
9008 | |
2800 | 9009 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
9010 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
9011 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
9012 old C-style `(T) val' casts. | |
9013 | |
2795 | 9014 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9015 | |
9016 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
9017 just breaking out of the innermost loop. | |
9018 * CMatrix.cc (operator >>): Likewise. | |
9019 | |
2779 | 9020 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 9021 |
9022 * Version 2.0.5 released. | |
9023 | |
2767 | 9024 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9025 | |
9026 * CmplxQR.cc (ComplexQR::init): New function. | |
9027 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
9028 * CmplxQRP.cc (ComplexQRP::init): New function. | |
9029 Get sizes right in all cases. | |
9030 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
9031 | |
9032 * dbleQR.cc (QR::init): New function. | |
9033 (QR::QR): Use it. Use initializer list too. | |
9034 * dbleQRP.cc (QRP::init): New function. | |
9035 Get sizes right in all cases. | |
9036 (QR::QRP): Use it. Use initializer list too. | |
9037 | |
2759 | 9038 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9039 | |
9040 * mach-info.cc (oct_mach_info::string_to_float_format): | |
9041 Recognize "vaxg", not "vax_g". | |
9042 | |
2713 | 9043 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9044 | |
2714 | 9045 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
9046 dimension in check for colon equivalent index. | |
9047 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
9048 index whose value is 0 is also colon eqivalent for n == 1. | |
9049 | |
2713 | 9050 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
9051 system-specific tests first. | |
9052 | |
2709 | 9053 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 9054 |
9055 * Version 2.0.4 released. | |
9056 | |
9057 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9058 | |
9059 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
9060 | |
2693 | 9061 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 9062 |
9063 * Version 2.0.3 released. | |
9064 | |
2686 | 9065 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9066 | |
9067 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
9068 | |
2673 | 9069 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9070 | |
2676 | 9071 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
9072 (all): Don't depend on stamp-prereq or stamp-picdir. | |
9073 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
9074 (stamp-picdir): Silence noise about making pic. | |
9075 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
9076 | |
2673 | 9077 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9078 Fix typo in last change. | |
9079 | |
9080 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
9081 Convert from friend (moved from dColVector.cc). | |
9082 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
9083 Likewise (moved from dMatrix.cc). | |
9084 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
9085 Likewise (moved from dRowVector.cc). | |
9086 | |
9087 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
9088 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
9089 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
9090 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
9091 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
9092 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
9093 | |
9094 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
9095 * dMatrix.cc (Matrix::apply): Likewise. | |
9096 * dRowVector.cc (RowVector::apply): Likewise. | |
9097 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
9098 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
9099 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
9100 | |
2668 | 9101 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9102 | |
9103 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
9104 | |
9105 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9106 | |
9107 * file-ops.cc (oct_unlink (const string&, string&)): | |
9108 New two-arg version. | |
9109 (oct_rmdir (const string&, string&)): New two-arg version. | |
9110 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
9111 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
9112 (oct_rename (const string&, const string&, string&)): | |
9113 New three-arg version. | |
9114 | |
2663 | 9115 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9116 | |
9117 * idx-vector.h (idx_vector::orig_empty): New function. | |
9118 | |
9119 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
9120 Don't always resize to [](0x0) if one of the indices is empty or | |
9121 zero. | |
9122 | |
2658 | 9123 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9124 | |
9125 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
9126 Set line_in_file here too. | |
9127 (command_history::read_range): New arg, must_exist. | |
9128 | |
2651 | 9129 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9130 | |
9131 * f2c-main.c: Change C++-style comments to C-style comments. | |
9132 | |
2638 | 9133 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9134 | |
9135 * Makefile.in (install-inc): Create a relative symbolic link. | |
9136 | |
2634 | 9137 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9138 | |
9139 * Version 2.0.2 released. | |
9140 | |
2624 | 9141 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9142 | |
9143 * Makefile.in (bin-dist): New target. | |
9144 | |
2621 | 9145 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9146 | |
9147 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
9148 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
9149 | |
2613 | 9150 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9151 | |
9152 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9153 If the number of columns is zero, also set the number of rows to zero. | |
9154 (charMatrix::charMatrix (const char *)): Likewise. | |
9155 | |
2602 | 9156 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9157 | |
9158 * Version 2.0.1 released. | |
9159 | |
2601 | 9160 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9161 | |
9162 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
9163 columns for resizing when the number of rows is specified but the | |
9164 number of columns is not. | |
9165 | |
2598 | 9166 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9167 | |
2599 | 9168 * Range.cc (operator -): New function. |
9169 | |
2598 | 9170 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
9171 | |
2589 | 9172 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9173 | |
9174 * Array2-idx.h (assign): Delay resizing left hand side until we | |
9175 know if the assignment conforms. | |
9176 | |
2583 | 9177 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9178 | |
9179 * Version 2.0 released. | |
9180 | |
2570 | 9181 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9182 | |
2575 | 9183 * Array2-idx.h (assign): If index is a colon, set number of |
9184 elements to the lhs dimension if the lhs dimension is greater than | |
9185 zero. Otherwise, set it to the rhs dimension. | |
9186 | |
9187 * Version 1.94. | |
9188 | |
2570 | 9189 * Array2-idx.h (assign): Test for rhs scalar case first. |
9190 If index is colon, set number of elements to lhs dimension, not | |
9191 rhs dimension. | |
9192 | |
2563 | 9193 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9194 | |
2566 | 9195 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
9196 * sun-utils.cc: Delete. | |
9197 * f2c-main.c: New file | |
9198 | |
9199 * Makefile.in: Fix file name lists. | |
9200 | |
2563 | 9201 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
9202 | |
2561 | 9203 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9204 | |
9205 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
9206 Create result using Complex constructor, not multiplication. | |
9207 Order elements as they are returned from Eispack. | |
9208 | |
2559 | 9209 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9210 | |
2560 | 9211 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
9212 Only include nan.h if SCO is defined. Define _IEEE before | |
9213 including it and undefine it afterward. | |
9214 [SCO] (isnan): Don't mistake Inf as NaN. | |
9215 | |
2559 | 9216 * Array-idx.h (assign): Only resize if assignment conforms. |
9217 | |
2551 | 9218 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9219 | |
9220 * Makefile.in (INCLUDES): Delete lo-error.h. | |
9221 * lo-error.h: Delete (moved to libcruft/misc). | |
9222 | |
9223 * Version 1.93. | |
9224 | |
2546 | 9225 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9226 | |
2549 | 9227 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
9228 be the same as they are in fnmatch.h. | |
9229 | |
2546 | 9230 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
9231 | |
9232 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
9233 (SOURCES): Delete f77-fcn.c. | |
9234 | |
2522 | 9235 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9236 | |
9237 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
9238 | |
2512 | 9239 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9240 | |
9241 * Version 1.92. | |
9242 | |
2508 | 9243 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9244 | |
2512 | 9245 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
9246 lines that have only carriage return or newline. | |
9247 | |
2508 | 9248 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
9249 | |
2500 | 9250 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9251 | |
9252 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
9253 (IDX_VEC_REP::idx_vector_rep): Use it. | |
9254 | |
2493 | 9255 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9256 | |
9257 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
9258 from vectors of C strings. | |
9259 | |
9260 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
9261 vector. | |
9262 (glob_match::match): Allow match string to be a string vector. | |
9263 (glob_match::glob): New function. | |
9264 | |
9265 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
9266 | |
9267 * Array-b.cc: New file. | |
9268 * Makefile.in (TI_SRC): Add it to the list. | |
9269 | |
2492 | 9270 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9271 | |
9272 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
9273 and safe-stat.h, to avoid getting them from $srcdir when we really | |
9274 want the version from the build directory. (Maybe this should be | |
9275 done for all the include files, not just those that are | |
9276 auto-generated? Hmm.) | |
9277 | |
2481 | 9278 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9279 | |
2482 | 9280 * Version 1.91. |
9281 | |
2481 | 9282 * Array3.cc (Array3<T>::resize): Make it work. |
9283 | |
9284 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9285 | |
9286 * oct-alloc.h, oct-alloc.cc: New files. | |
9287 * Makefile.in: Add them to the lists. | |
9288 | |
9289 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9290 | |
9291 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
9292 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
9293 | |
2466 | 9294 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9295 | |
9296 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
9297 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
9298 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
9299 underlying macro is not defined. | |
9300 | |
9301 * oct-math.h (lgamma, gamma): Delete declarations. | |
9302 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
9303 Protect declarations with #ifdef HAVE_*. | |
9304 | |
2440 | 9305 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9306 | |
2452 | 9307 * Version 1.90. |
9308 | |
9309 * Makefile.in (DISTFILES): Add ChangeLog. | |
9310 | |
2444 | 9311 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
9312 | |
9313 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
9314 | |
2443 | 9315 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 9316 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
9317 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 9318 |
2440 | 9319 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
9320 since that is now accepatble syntax, even for built-in types. | |
9321 * Array2.h (T Array2<T>::checkelem): Likewise | |
9322 | |
2433 | 9323 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9324 | |
9325 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
9326 message and return -1. | |
9327 | |
2428 | 9328 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9329 | |
2431 | 9330 * str-vec.h (str_vec_compare): Declare args as const void *, then |
9331 cast them to const string * in the body of the function. | |
9332 | |
9333 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
9334 string from buf. | |
9335 | |
2428 | 9336 * Array3.h (Array3::checkelem): Tag bogus return value with |
9337 GCC_ATTRIBUTE_UNUSED. | |
9338 * Array2.h (Array2::checkelem): Likewise. | |
9339 | |
2424 | 9340 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9341 | |
9342 * Quad.h (Quad): Define virtual destructor. | |
9343 | |
2408 | 9344 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9345 | |
9346 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
9347 | |
2401 | 9348 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9349 | |
9350 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
9351 and MAIN__ extern "C". | |
9352 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
9353 | |
2391 | 9354 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9355 | |
9356 * MArray-misc.cc: New file. | |
9357 * Makefile.in (MATRIX_SRC): Add it to the list. | |
9358 | |
9359 * mx-inlines.cc (equal): Return bool, not int. | |
9360 | |
9361 * idx-vector.h (idx_vector (double)): New constructor. | |
9362 | |
9363 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
9364 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
9365 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
9366 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
9367 CRowVector.cc: Logical operators return bool, not int. | |
9368 | |
9369 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
9370 New function. | |
9371 | |
9372 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
9373 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
9374 Matrix::all_elements_are_inf_or_nan): New functions. | |
9375 | |
9376 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
9377 | |
9378 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
9379 for errors. Simplify macros by converting FCN to string for error | |
9380 messages. | |
9381 | |
9382 * Array-idx.h (Array<T>::index): New function. Don't call | |
9383 clear_index() here. | |
9384 (Array<T>::value): Call it, do call clear_index() here. | |
9385 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
9386 one and two arg index functions. | |
9387 | |
9388 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9389 | |
9390 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
9391 separate implementation file. | |
9392 | |
2354 | 9393 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9394 | |
2358 | 9395 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
9396 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
9397 | |
2356 | 9398 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
9399 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
9400 them uniq. | |
9401 | |
2354 | 9402 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
9403 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
9404 Rewrite. Also return index as a reference arg. | |
9405 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
9406 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
9407 Delete. | |
9408 | |
9409 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
9410 Matrix::column_max, Matrix::column_min): | |
9411 Rewrite. Also return index as a reference arg. | |
9412 (Matrix::row_max_loc, Matrix::row_min_loc, | |
9413 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
9414 | |
9415 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9416 | |
9417 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
9418 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
9419 Matrix::column_min_loc, Matrix::column_max, | |
9420 Matrix::column_max_loc): Ignore leading NaNs. | |
9421 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
9422 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
9423 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
9424 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
9425 leading NaNs. | |
9426 | |
2352 | 9427 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9428 | |
9429 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
9430 starting at n, not 0. | |
9431 | |
2349 | 9432 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9433 | |
9434 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
9435 Matrix::Matrix (const ColumnVector&)): New constructors. | |
9436 | |
9437 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
9438 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
9439 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
9440 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
9441 New constructors. | |
9442 | |
9443 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
9444 New constructor. | |
9445 | |
2343 | 9446 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9447 | |
9448 * LSODE.cc (do_integrate): Check to make sure that the state and | |
9449 derivative vectors are the same size. | |
2344 | 9450 * DASSL.cc (do_integrate): Likewise. |
2343 | 9451 |
2330 | 9452 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
9453 | |
9454 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
9455 iostreams and handler data format conversions. Delete old methods | |
9456 that used stdio. | |
9457 | |
9458 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
9459 | |
9460 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9461 | |
9462 * mach-info.h: Rename from float-fmt.h. | |
9463 * mach-info.cc: Rename from float-fmt.cc. | |
9464 Handle machine information using a singlton class. | |
9465 * Makefile.in: Update appropriate lists. | |
9466 | |
9467 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9468 | |
9469 * Array-flags.cc: Provide definitions for the flags even if | |
9470 OCTAVE_SOURCE is not defined. | |
9471 | |
9472 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
9473 operator(), not elem(). | |
9474 * Array3.h: Move indexing methods here from Array3.cc. | |
9475 | |
9476 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9477 | |
9478 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
9479 | |
9480 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
9481 INSTALL_DATA for shared libs. | |
9482 | |
9483 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9484 | |
9485 * Quad.cc: Include lo-error.h here too. | |
9486 | |
9487 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9488 | |
9489 * file-ops.h: Include sys/types.h here. | |
9490 | |
9491 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9492 | |
9493 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
9494 | |
9495 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
9496 elements in result. | |
9497 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
9498 rows and columns in result. | |
9499 | |
9500 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9501 | |
9502 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
9503 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
9504 | |
9505 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9506 | |
9507 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
9508 | |
9509 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9510 | |
9511 * Makefile.in (uninstall): Also delete shared library. | |
9512 Split install into install-libs and install-includes. | |
9513 (install-inc): If linkdir is a directory, leave it alone. | |
9514 | |
9515 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
9516 | |
9517 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9518 | |
9519 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
9520 * Array2-idx.h (assign): Likewise. | |
9521 | |
9522 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9523 | |
9524 * Array2.cc (Array2<T>::range_error): New functions. | |
9525 | |
9526 * Array.h (class Array<T>): elem() and operator() are now | |
9527 equivalent, and do bounds checking by default. | |
9528 * Array2.cc (class Array2<T>): Likewise. | |
9529 | |
9530 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9531 | |
9532 * Makefile.in (maintainer-clean, distclean): Also delete | |
9533 stamp-picdir, stamp-shared, and pic directory. | |
9534 (stamp-prereq): New target. | |
9535 | |
9536 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9537 | |
9538 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
9539 New function. | |
9540 | |
9541 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
9542 * Array.h (Array<T>::checkelem): Use them. | |
9543 | |
9544 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
9545 elements too. | |
9546 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
9547 | |
9548 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
9549 | |
9550 * Makefile.in (distclean): Delete so_locations, which is created | |
9551 on DEC Alpha systems. | |
9552 | |
9553 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9554 | |
9555 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
9556 already defined. | |
9557 | |
9558 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9559 | |
9560 * pathsearch.cc: Include config.h. | |
9561 | |
9562 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9563 | |
9564 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
9565 allow M(I, J) = scalar if I or J is empty. | |
9566 | |
9567 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
9568 and Array3-idx.h). | |
9569 | |
9570 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9571 | |
9572 * lo-error.h: Make comments C friendly. | |
9573 | |
9574 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9575 | |
9576 * Array2.h (make_unique): Move all indexing functions here. | |
9577 * Array2.cc: From here. | |
9578 | |
9579 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
9580 whether operator() calls elem or checkelem. | |
9581 | |
9582 * Array.h (make_unique): New private function. | |
9583 Move all indexing functions here. | |
9584 * Array.cc: From here. | |
9585 | |
9586 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
9587 it too. | |
9588 | |
9589 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
9590 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
9591 MArray-C.cc: Include config.h. | |
9592 | |
9593 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
9594 Don't define HEAVYWEIGHT_INDEXING here. | |
9595 | |
9596 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9597 | |
9598 * base-lu.h, base-lu.cc: New files. | |
9599 * Makefile.in: Add them to the appropriate lists. | |
9600 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
9601 | |
9602 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9603 | |
9604 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
9605 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
9606 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
9607 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
9608 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
9609 | |
9610 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
9611 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
9612 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
9613 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
9614 Simplify using new macros. | |
9615 | |
9616 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9617 | |
9618 * Makefile.in (install): If $(includedir) ends in version string, | |
9619 make link to name that does not include version info. | |
9620 | |
9621 * lo-ieee.cc: Include <cmath> here. | |
9622 | |
9623 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9624 | |
9625 * lo-ieee.cc, lo-ieee.h: New files. | |
9626 * lo-mappers.cc, lo-mappers.h: New files. | |
9627 * lo-utils.cc, lo-utils.h: New files. | |
9628 * Makefile.in: Add them to the appropriate lists. | |
9629 | |
9630 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9631 | |
9632 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
9633 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
9634 | |
9635 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
9636 float-fmt.cc: New files. | |
9637 * Makefile.in: Include them in the appropriate lists. | |
9638 | |
9639 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9640 | |
9641 * dMatrix.cc (Qzval): New function. | |
9642 | |
9643 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9644 | |
9645 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
9646 char*. | |
9647 | |
9648 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
9649 Use F77_XFCN to call Fortran subroutine. | |
9650 * dColVector.cc, CColVector.cc: Likewise. | |
9651 * dRowVector.cc, CRowVector.cc: Likewise. | |
9652 * NPSOL.h, NPSOL.cc: Likewise. | |
9653 * CmplxCHOL.cc: Likewise. | |
9654 * dbleCHOL.cc: Likewise. | |
9655 * CMatrix.cc: Likewise. | |
9656 * dMatrix.cc: Likewise. | |
9657 * QPSOL.cc: Likewise. | |
9658 * LSODE.cc: Likewise. | |
9659 | |
9660 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9661 | |
9662 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
9663 | |
9664 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
9665 workspace. Use F77_XFCN to call Fortran subroutine. | |
9666 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
9667 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
9668 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
9669 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
9670 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
9671 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
9672 * dbleHESS.h, dbleHESS.cc: Likewise. | |
9673 * dbleSVD.h, dbleSVD.cc: Likewise. | |
9674 * EIG.h, EIG.cc; Likewise. | |
9675 * CollocWt.cc: Likewise. | |
9676 * NLEqn.cc: Likewise. | |
9677 * Quad.cc: Likewise. | |
9678 | |
9679 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9680 | |
9681 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
9682 Use F77_XFCN to call Fortran subroutine. | |
9683 * CmplxLU.h, CmplxLU.cc: Ditto. | |
9684 * dbleQR.h, dbleQR.cc: Ditto. | |
9685 * CmplxQR.h, CmplxQR.cc: Ditto. | |
9686 * dbleQRP.h, dbleQRP.cc: Ditto. | |
9687 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
9688 | |
9689 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
9690 (struct DIR): delete forward declaration. | |
9691 (dir_entry::operator = (const dir_entry$)): Protect against | |
9692 copying same object. | |
9693 * dir-ops.cc: Cast dir appropriately. | |
9694 | |
9695 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9696 | |
9697 * lo-error.cc: Moved to libcruft/misc. | |
9698 * Makefile.in: Delete it from the list. | |
9699 | |
9700 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
9701 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
9702 | |
9703 * Array-flags.h: New file. | |
9704 * Array-idx.h: Include it here. | |
9705 * Makefile.in (MATRIX_INC): Add it to the list. | |
9706 | |
9707 * Array-flags.cc: Renamed from Array-ext.cc. | |
9708 (liboctave_dfi_flag): Renamed from dfi_flag. | |
9709 (liboctave_pcv_flag): Renamed from pcv_flag. | |
9710 (liboctave_pzo_flag): Renamed from pzo_flag. | |
9711 (liboctave_rre_flag): Renamed from rre_flag. | |
9712 * Array-idx.h: Change all uses of dfi_flag, etc. | |
9713 * Makefile.in (MATRIX_SRC): Change file name here too. | |
9714 | |
9715 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
9716 (stamp-shared): Use them here. | |
9717 | |
9718 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9719 | |
9720 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
9721 argument value. | |
9722 | |
9723 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9724 | |
9725 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
9726 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
9727 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
9728 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
9729 Clean up constructors, assigment operator. | |
9730 | |
9731 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9732 | |
9733 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
9734 Check f77_exception_encountered on return. | |
9735 | |
9736 * f77-fcn.c (f77_exception_encountered): New variable. | |
9737 (F77_XFCN): Set it. | |
9738 * f77-fcn.h: Provide declaration. | |
9739 | |
9740 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
9741 | |
9742 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
9743 | |
9744 * NLEqn.h (NLEqn_options::set_options): New function. | |
9745 * Quad.h (Quad_options::set_options): Likewise. | |
9746 | |
9747 * LP.h (class LP): Add accessors for LP data. | |
9748 | |
9749 * NLEqn.h (NLEqn::n): Delete. | |
9750 | |
9751 * NLEqn.h (class NLEqn::n): Likewise. | |
9752 | |
9753 * NLP.h (class NLP): Add accessors for NLP data. | |
9754 | |
9755 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
9756 access functions here. | |
9757 * NPSOL.cc.cc: From here. | |
9758 | |
9759 * QLD.h (class QLD): Add destructor definition. | |
9760 * Objective.h (class Objective): Likewise. | |
9761 * ODEFunc.h (class ODEFunc): Likewise. | |
9762 * NLFunc.h (class NLFunc): Likewise. | |
9763 * NLEqn.h (class NLEqn): Likewise. | |
9764 * NLConst.h (class NLConst): Likewise. | |
9765 * LinConst.h (class LinConst): Likewise. | |
9766 * LSODE.h (class LSODE_options): Likewise. | |
9767 * CollocWt.h (class CollocWt): Likewise. | |
9768 * Bounds.h (class Bounds): Likewise. | |
9769 | |
9770 * QLD.cc (QLD::set_default_options): Delete. | |
9771 | |
9772 * QP.h (QP): Add accessors for QP data. | |
9773 Add copy constructor, operator =, and destructor definitions. | |
9774 | |
9775 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
9776 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
9777 DAEFunc.h, CollocWt.h, Bounds.h: | |
9778 Clean up constructors, assigment operator. | |
9779 | |
9780 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
9781 counting to avoid duplicating the data immediately. | |
9782 * dColVector.cc (ColumnVector::transpose): Likewise. | |
9783 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
9784 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
9785 | |
9786 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9787 | |
9788 * prog-args.h (prog_args::option_argument): New enum. | |
9789 | |
9790 * f77-fcn.h: Rename from f77-uscore.h. | |
9791 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
9792 * f77-fcn.c: New file. | |
9793 * Makefile.in (SOURCES): Add it to the list. | |
9794 | |
9795 * ODEFunc.h: Clean up. | |
9796 | |
9797 * DASSL.cc, DASSL.h: New files. | |
9798 * Makefile.in: Add them to the appropriate lists. | |
9799 | |
9800 * LSODE.cc, LSODE.h: New files. | |
9801 * Makefile.in: Add them to the appropriate lists. | |
9802 | |
9803 * ODE.cc: Delete. | |
9804 * Makefile.in (SOURCES): Remove from list. | |
9805 | |
9806 * base-de.h, DAE.cc: New files. | |
9807 * Makefile.in: Add them to the appropriate lists. | |
9808 * ODE.h: Only define interface for ODE classes. | |
9809 * DAE.h: Only define interface for ODE classes. | |
9810 | |
9811 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
9812 (LPsolve::set_default_options)): Delete | |
9813 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
9814 destructor. | |
9815 | |
9816 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
9817 | |
9818 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
9819 (QPSOL::operator =): Call base class operator = instead of assuming | |
9820 we know what to copy. | |
9821 | |
9822 * base-min.h (size): New function. | |
9823 | |
9824 * NLP.h (NLP::size): Delete. | |
9825 (NLP::NLP (const NLP&)): New constructor. | |
9826 (NLP::operator =): Call base class operator = instead of assuming | |
9827 we know what to copy. | |
9828 | |
9829 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
9830 (class NPSOL): Add operator = and destructor. | |
9831 | |
9832 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
9833 | |
9834 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9835 | |
9836 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
9837 | |
9838 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9839 | |
9840 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
9841 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
9842 | |
9843 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9844 | |
9845 * prog-args.h, prog-args.cc: New files. | |
9846 * Makefile.in: Add them to lists. | |
9847 | |
9848 * getopt.h, getopt.c, getopt1.c: New files. | |
9849 * Makefile.in: Add them to the lists. | |
9850 | |
9851 * oct-term.h, oct-term.cc: New files. | |
9852 * Makefile.in: Add them to the lists. | |
9853 | |
9854 * str-vec.cc: New file. | |
9855 * Makefile.in (SOURCES): Add it to the list. | |
9856 | |
9857 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
9858 | |
9859 * tempname.c, tempnam.c: Move here from src directory. | |
9860 * Makefile.in: Add to lists. | |
9861 | |
9862 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9863 | |
9864 * cmd-hist.h, cmd-hist.cc: New files. | |
9865 * Makefile.in: Add them to lists. | |
9866 | |
9867 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9868 | |
9869 * oct-glob.h, oct-glob.cc: New files. | |
9870 * Makefile.in: Add them to lists. | |
9871 | |
9872 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9873 | |
9874 * pathsearch.h, pathsearch.cc: New files. | |
9875 * Makefile.in: Add them to lists. | |
9876 | |
9877 * dir-ops.h, dir-ops.cc: New files. | |
9878 * sysdir.h: Move here from src directory. | |
9879 * Makefile.in: Add them to lists. | |
9880 | |
9881 * Array.h (Array::qsort): Return *this, not void. | |
9882 * str-vec.h (string_vector::qsort): Likewise. | |
9883 | |
9884 * chMatrix.cc (row_as_string): Resize result to eliminate | |
9885 unnecessary NULs. | |
9886 | |
9887 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9888 | |
9889 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
9890 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
9891 Files moved here from src directory. | |
9892 * Makefile.in: Add them to lists. Include appropriate rules. | |
9893 | |
9894 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9895 Use pointers, not references (this is C code!). | |
9896 | |
9897 * oct-math.h: New file. | |
9898 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
9899 Files moved here from src directory. | |
9900 * Makefile.in: Add them to lists. | |
9901 | |
9902 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9903 | |
9904 * idx-vector.cc (make_uniq): Fix major brain-o. | |
9905 | |
9906 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
9907 Convert to use string class instead of char*. | |
9908 | |
9909 * str-vec.h, Array-str.cc: New files. | |
9910 | |
9911 * Array.h (Array::qsort): New function. | |
9912 | |
9913 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9914 | |
9915 * Array.h: Nest ArrayRep class inside Array class. | |
9916 Refer to ArrayRep, not ArrayRep<T>. | |
9917 Move all ArrayRep functions inline. | |
9918 Don't declare other Array classes as friends of ArrayRep. | |
9919 * Array.cc: Delete ArrayRep functions. | |
9920 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
9921 | |
9922 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
9923 Don't instantiate ArrayRep objects. | |
9924 | |
9925 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9926 | |
9927 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
9928 New constructor. | |
9929 | |
9930 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9931 | |
9932 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
9933 for balance_job arg. | |
9934 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
9935 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
9936 | |
9937 * chMatrix.cc (row_as_string): Return string, not const char*. | |
9938 | |
9939 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9940 | |
9941 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
9942 | |
9943 * chMatrix.cc (row_as_string): Undo previous change. | |
9944 | |
9945 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9946 | |
9947 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
9948 is expected to save string if necessary. | |
9949 | |
9950 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9951 | |
9952 * Array.h (class DiagArray): Enable nested Proxy class for all | |
9953 platforms. | |
9954 | |
9955 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
9956 a.rep, don't mess with count. | |
9957 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
9958 don't do anything if reps are the same. | |
9959 (Array3<T>& operator = (const Array3<T>&) | |
9960 | |
9961 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
9962 Declare private with no definition to prevent misuse. | |
9963 | |
9964 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
9965 Get range check right. | |
9966 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
9967 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
9968 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9969 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
9970 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
9971 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
9972 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
9973 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
9974 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
9975 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
9976 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
9977 * dColVector.cc | |
9978 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9979 * CRowVector.cc | |
9980 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
9981 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
9982 * CColVector.cc | |
9983 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
9984 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
9985 | |
9986 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
9987 Also fill in zeros, not just the diagonal. | |
9988 | |
9989 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
9990 Use END parameter properly. | |
9991 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
9992 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
9993 | |
9994 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
9995 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
9996 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
9997 Don't copy count. Set it to 1. | |
9998 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
9999 | |
10000 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
10001 don't set rep->count to 1 here (now handled by ArrayRep | |
10002 constructors). | |
10003 (Array<T>::Array (void)): Ditto. | |
10004 (Array<T>::Array (int)): Ditto. | |
10005 (Array<T>::T& elem (int)): Ditto. | |
10006 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
10007 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
10008 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
10009 (Array<T>::resize (int)): Ditto. | |
10010 (Array<T>::resize (int, const T&)) :Ditto. | |
10011 (Array<T>::fortran_vec (void)): Ditto. | |
10012 (Array2<T>::resize (int, int)): Ditto. | |
10013 (Array2<T>::resize (int, int, const T&)): Ditto. | |
10014 (DiagArray<T>::resize (int, int)): Ditto. | |
10015 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
10016 | |
10017 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10018 | |
10019 * Array-ch.cc: Rename from Array-c.cc. | |
10020 * MArray-ch.cc: Rename from MArray-c.cc. | |
10021 * chMatrix.cc: Rename from cMatrix.cc. | |
10022 * chMatrix.h: Rename from cMatrix.h. | |
10023 * Makefile.in (TI_SRC): Use new names here. | |
10024 * mx-base.h: Likewise. | |
10025 | |
10026 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10027 | |
10028 * Makefile.in: Handle shared libraries. | |
10029 | |
10030 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10031 | |
10032 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
10033 Correctly compute length of return value. Correct rows and | |
10034 columns in zgemv call. | |
10035 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
10036 | |
10037 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10038 | |
10039 * Makefile.in (stamp-picdir): New target. | |
10040 (all): Depend on it. | |
10041 | |
10042 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10043 | |
10044 * Makefile.in (INCLUDES): Remove QLD.h. | |
10045 (SOURCES): Remove QLD.cc. | |
10046 | |
10047 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10048 | |
10049 * dMatrix.cc (Matrix::inverse): New arg, force. | |
10050 If force is nonzero, invert even if matrix is singular. | |
10051 (ComplexMatrix::inverse): Likewise. | |
10052 | |
10053 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
10054 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
10055 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
10056 Include "oct-cmplx.h" instead of <Complex.h>. | |
10057 | |
10058 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
10059 for class Complex. | |
10060 | |
10061 * oct-cmplx.h: New file. | |
10062 * Makefile.in (INCLUDES): Add it to the list. | |
10063 | |
10064 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
10065 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
10066 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
10067 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
10068 Avoid g++ bugs. | |
10069 | |
10070 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10071 | |
10072 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
10073 | |
10074 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
10075 | |
10076 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10077 | |
10078 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
10079 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
10080 | |
10081 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10082 | |
10083 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
10084 index vector object with Array, not ArrayRep. | |
10085 | |
10086 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10087 | |
10088 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
10089 if index is a colon and resizing is maybe needed. | |
10090 | |
10091 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10092 | |
10093 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
10094 if we have a vector of 1's. | |
10095 | |
10096 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
10097 current orientation, require index and rhs to conform unless | |
10098 do_fortran_indexing flag is set. | |
10099 | |
10100 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10101 | |
10102 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
10103 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
10104 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
10105 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
10106 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
10107 Massive changes to support additional data types. Only charMatrix | |
10108 is currently used in Octave. | |
10109 | |
10110 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10111 | |
10112 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
10113 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
10114 Simply call Array2<Complex> version. | |
10115 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
10116 call Array2<double> version. | |
10117 | |
10118 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
10119 | |
10120 * Array.h, Array.cc: Massive overhaul to support new way of | |
10121 handling indexing. | |
10122 * idx-vector.h, idx-vector.cc: Likewise. | |
10123 * Array-ext.cc, Array-idx.h: New files. | |
10124 * Makefile.in: Add them to the appropriate lists. | |
10125 | |
10126 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10127 | |
10128 * Range.cc (nelem_internal): Use tfloor here, not round. | |
10129 | |
10130 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10131 | |
10132 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
10133 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
10134 | |
10135 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10136 | |
10137 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
10138 | |
10139 * Array.h: Move simple member functions here. | |
10140 * Array.cc: From here. | |
10141 | |
10142 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10143 | |
10144 * Range.cc (tfloor, tceil, round): New static functions. | |
10145 (Range::nelem_internal): Rewrite to use better method. | |
10146 | |
10147 * dbleSVD.h (SVD::type): New item, sigma_only. | |
10148 (type_computed): New var. | |
10149 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
10150 Handle possible error condition. | |
10151 (init): Allow for SVD::sigma_only, save type computed. | |
10152 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
10153 Handle possible error condition. | |
10154 (init): Allow for SVD::sigma_only, save type computed. | |
10155 | |
10156 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10157 | |
10158 * Nearly all non-matrix .h and .cc files: | |
10159 Move short function bodies into class declarations for inlining. | |
10160 Generally clean up. | |
10161 | |
10162 * base-min.h: New file. | |
10163 * LP.h (class LP): Derive from base_minimizer. | |
10164 * QLP.h (class QLP): Derive from base_minimizer. | |
10165 * NLP.h (class NLP): Derive from base_minimizer. | |
10166 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
10167 | |
10168 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
10169 NLFunc.cc, Objective.cc and QP.cc from list. | |
10170 | |
10171 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10172 | |
10173 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
10174 (SCHUR::SCHUR): Delete unused parameter ord. | |
10175 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
10176 | |
10177 * CRowVector.cc | |
10178 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
10179 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
10180 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
10181 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
10182 Actually do something. | |
10183 | |
10184 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
10185 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
10186 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
10187 | |
10188 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
10189 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
10190 tolerances. | |
10191 | |
10192 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
10193 * LPsolve.cc (LPsolve::minimize): Likewise. | |
10194 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
10195 * ODE.cc (lsode_f, lsode_j): Likewise. | |
10196 * QPSOL.cc (qphess): Likewise. | |
10197 | |
10198 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10199 | |
10200 * dMatrix.cc: Include <cstring>. | |
10201 | |
10202 * Array.cc: Try harder to avoid warnings from gcc in functions | |
10203 that return bogus values after calling the error handler. | |
10204 | |
10205 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10206 | |
10207 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
10208 | |
10209 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
10210 | |
10211 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10212 | |
10213 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
10214 (dassl_j): Likewise. | |
10215 | |
10216 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
10217 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
10218 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
10219 Update for change in for loop variable scope for gcc 2.7.0. | |
10220 | |
10221 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10222 | |
10223 * Makefile.in: Only include dependency files if $(omit_deps) is | |
10224 not set. | |
10225 | |
10226 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
10227 | |
10228 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
10229 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
10230 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
10231 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
10232 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
10233 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
10234 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
10235 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
10236 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
10237 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
10238 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
10239 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
10240 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
10241 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
10242 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
10243 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
10244 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
10245 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
10246 NLP.h: Use pragma interface/implementation. Don't surround | |
10247 contents in extern "C++". | |
10248 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
10249 | |
10250 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10251 | |
10252 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
10253 identifiers. | |
10254 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10255 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10256 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10257 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10258 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10259 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10260 Quad.cc: Change usage of F77_FCN to match new definition | |
10261 | |
10262 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
10263 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
10264 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
10265 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
10266 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
10267 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
10268 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
10269 args by reference instead of pointer. Change all callers. | |
10270 | |
10271 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10272 | |
10273 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
10274 functions. Make += and -= operators friend functions. | |
10275 | |
10276 * Array.h (Array2::~Array2, Array3::~Array3, | |
10277 DiagArray::~DiagArray): New functions. | |
10278 | |
10279 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10280 | |
10281 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
10282 (MATRIX_INC): Don't distribute mx-kludge.h. | |
10283 | |
10284 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10285 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10286 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10287 dRowVector.h dRowVector.cc: | |
10288 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
10289 Array2, and DiagArray2. | |
10290 Don't use functions defined in mx-kludge.cc for arithmetic | |
10291 like-type operations on arrays. | |
10292 | |
10293 * MArray.cc: Use the classes defined here like-type mathematical | |
10294 operations on Array objects. Abuse CPP more. | |
10295 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
10296 (EXTRAS): Delete it from this list. | |
10297 | |
10298 * MArray-C.cc, MArray-d.cc: New files. | |
10299 * Makefile.in (TI_SRC): Add them to the list. | |
10300 | |
10301 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10302 | |
10303 * mx-kludge.cc: Abuse CPP even more. | |
10304 | |
10305 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10306 | |
10307 * Objective.h (objective_function): Add missing const. | |
10308 (gradient_function): Likewise. | |
10309 | |
10310 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
10311 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
10312 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
10313 dRowVector.h dRowVector.cc: | |
10314 Reorganize to declare and define friends where they should be, | |
10315 based on the use of private constructors. | |
10316 | |
10317 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
10318 | |
10319 * CRowVector.h (linspace): Add declaration. | |
10320 * dRowVector.h (linspace): Likewise. | |
10321 | |
10322 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
10323 Force result of rcond + 1.0 to be stored. | |
10324 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
10325 ComplexMatrix::solve): Likewise. | |
10326 | |
10327 See ChangeLog.1 in the top level directory for earlier changes. |