Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7503:8c32f95c2639
convert mapper functions to new format
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 20 Feb 2008 04:22:50 -0500 |
parents | 6a6d2abe51ff |
children | f5005d9510f4 |
rev | line source |
---|---|
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
1 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
|
2 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
3 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
4 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
5 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
6 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
7 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
8 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
9 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
10 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
11 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
12 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
13 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
14 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
15 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
16 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
17 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
18 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
19 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
20 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
21 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
22 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
23 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
24 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
25 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
26 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
27 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
28 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
29 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
30 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
31 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
32 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
33 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
34 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
35 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
36 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
37 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
38 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
39 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
40 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
41 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
42 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
43 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
44 (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
|
45 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
46 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
47 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
48 (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
|
49 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
50 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
51 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
52 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
53 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
54 * 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
|
55 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
56 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
57 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
58 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
59 * 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
|
60 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
|
61 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
62 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
63 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
|
64 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
65 * 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
|
66 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
|
67 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
|
68 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
|
69 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
|
70 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
|
71 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
72 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
73 |
7477 | 74 2008-02-12 John W. Eaton <jwe@octave.org> |
75 | |
76 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
77 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
78 | |
7476 | 79 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
80 | |
7480 | 81 * Array.cc (ascending_compare, descending_compare): Remove |
82 non-standard extern in the instantiations. | |
83 | |
84 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
85 | |
7476 | 86 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
87 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
88 workaround for DGELSD's broken lwork query. The formula is from | |
89 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
90 efficient algorithm in the short-and-fat case (n > m). | |
91 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
92 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
93 ugly workaround for DGELSD's broken lwork query, as with double. | |
94 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
95 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
96 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
97 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
98 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
99 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
100 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
101 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
102 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
103 * 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
|
104 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
105 * 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
|
106 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
107 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
|
108 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
109 * 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
|
110 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
111 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
112 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
113 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
114 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
115 |
7457 | 116 2008-02-07 John W. Eaton <jwe@octave.org> |
117 | |
7458 | 118 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
119 ASCENDING, with default value of true. | |
120 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
121 (Range::sort (octave_idx_type, sortmode) const): New function. | |
122 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
123 const): New function. | |
124 * Range.h: Fix/provide decls. | |
125 | |
7457 | 126 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
127 | |
7449 | 128 2008-02-06 John W. Eaton <jwe@octave.org> |
129 | |
130 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
131 (stamp-prereq): Eliminate. | |
132 (clean): Don't remove stamp-prereq. | |
133 (libraries): Don't depend on stamp-prereq. | |
134 (PREREQ): New macro. | |
135 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
136 (distclean): Simplify with $(PREREQ). | |
137 (OPT_BASE): New macro. | |
138 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
139 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
140 | |
7448 | 141 2008-02-05 John W. Eaton <jwe@octave.org> |
142 | |
143 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
144 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
145 | |
7443 | 146 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
147 | |
148 * Array.cc (ascending_compare, descending_compare, | |
149 Array<T>::sort): Declare explicit specialization for T=double to | |
150 avoid symbol duplication error at link time. | |
151 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
152 define as nonmember functions, not member functions of Array<T>. | |
153 | |
7442 | 154 2008-02-03 John W. Eaton <jwe@octave.org> |
155 | |
156 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
157 | |
158 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
159 | |
160 * Array.cc: Don't include Range.h. | |
161 | |
7433 | 162 2008-01-31 David Bateman <dbateman@free.fr> |
163 | |
164 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
165 for 64-bit builds. | |
166 (IFLT): Allow IFLT macro to be overridden. | |
167 * oct-sort.h: conversion of int to octave_idx_type where needed | |
168 for 64-bit builds. | |
169 (enum sortmode): Type of sort to perform. | |
170 (vec_index): Simple class to aid in indexed sorts. | |
171 | |
172 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
173 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
174 sortmode) const): Array sorting methods. | |
175 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
176 instantiate the array sorting methods. | |
177 * Array.cc (ascending_compare, descending_compare): New template | |
178 functions for generic sort comparison. | |
179 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
180 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
181 sortmode) const): Array sorting functions based of octave_sort | |
182 class. | |
183 * Array-C.cc: Instantiate the complex array sort methods. | |
184 (IFLT): New macro to override the one in the | |
185 octave_sort class to avoid need for Complex < and > operators. | |
186 (static double xabs (const Complex&)): Complex abs function | |
187 avoiding std::abs(Inf) returning NaN with some compilers. | |
188 (ascending_compare, descending compare): override template | |
189 functions for complex comparison. | |
190 * Array-d.cc: Instantiate the double array sort methods. | |
191 (Array<double> Array<double>::sort (octave_idx_type, | |
192 sortmode) const, Array<double> Array<double>::sort | |
193 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
194 Array sorting functions based of octave_sort using uint64 sorting | |
195 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
196 (ascending_compare, descending compare): override template | |
197 functions for double and uint64 comparison. | |
198 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
199 Instantiate the array sort methods. | |
200 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
201 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
202 versions of the sort methods based on Array<T>::sort. | |
203 | |
204 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
205 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
206 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
207 sortmode) const): Sparse sorting methods. | |
208 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
209 methods. | |
210 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
211 of new sort method. | |
212 (sparse_ascending_compare, sparse_descending_compare): New template | |
213 functions for generic sort comparison. | |
214 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
215 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
216 sortmode) const): Sparse sorting functions based of octave_sort | |
217 class. | |
218 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
219 (IFLT): New macro to override the one in the | |
220 octave_sort class to avoid need for Complex < and > operators. | |
221 (static double xabs (const Complex&)): Complex abs function | |
222 avoiding std::abs(Inf) returning NaN with some compilers. | |
223 (sparse_ascending_compare, sparse_descending compare): override | |
224 template functions for complex comparison. | |
225 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
226 (sparse_ascending_compare, sparse_descending compare): override | |
227 template functions for double comparison. | |
228 * Array-b.cc: Instantiate the sparse sort methods. | |
229 | |
7422 | 230 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
231 | |
232 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
233 idx_vector::idx_vector_rep::range_step, | |
234 idx_vector::idx_vector_rep::range_step): New data members. | |
235 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
236 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
237 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
238 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
239 | |
7416 | 240 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
241 | |
242 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
243 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
244 | |
7408 | 245 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 246 |
247 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
248 this fixes the "localtime(-1)" crash under Windows. | |
249 | |
7400 | 250 2008-01-18 John W. Eaton <jwe@octave.org> |
251 | |
252 * dMatrix.cc (solve_singularity_warning): New function. | |
253 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
254 Matrix::solve method. Exit early if Matrix::solve fails. | |
255 Limit sqpow value to avoid overflowing scale factor. | |
256 * CMatrix.cc (solve_singularity_warning): New function. | |
257 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
258 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
259 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 260 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 261 |
7356 | 262 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
263 | |
264 * Sparse.cc: New tests for slicing of sparse matrices. | |
265 | |
7350 | 266 2008-01-07 David Bateman <dbateman@free.fr> |
267 | |
268 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
269 loop if this test succeeds. | |
270 | |
7342 | 271 2008-01-03 David Bateman <dbateman@free.fr> |
272 | |
273 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
274 need unary operator on remaining argument | |
275 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
276 | |
7334 | 277 2007-12-21 John W. Eaton <jwe@octave.org> |
278 | |
279 Version 3.0.0 released. | |
280 | |
7322 | 281 2007-12-18 David Bateman <dbateman@free.fr> |
282 | |
283 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
284 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
285 stored as a sparse matrix. | |
286 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
287 idx_vector&, int) const): For the non permutated indexing case, | |
288 fix link list calculation and use. | |
289 | |
7321 | 290 2007-12-17 John W. Eaton <jwe@octave.org> |
291 | |
292 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
293 N-d array. | |
294 | |
7318 | 295 2007-12-17 David Bateman <dbateman@free.fr> |
296 | |
297 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
298 index. | |
299 | |
7299 | 300 2007-12-11 John W. Eaton <jwe@octave.org> |
301 | |
302 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
303 If indexing scalar with empty matrix, return empty array with same | |
304 size as index. | |
305 | |
7272 | 306 2007-12-10 John W. Eaton <jwe@octave.org> |
307 | |
7279 | 308 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
309 and assignment operator. | |
310 (NLEqn::function_value): New function. | |
311 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
312 function value. | |
313 | |
7272 | 314 * file-ops.cc (file_ops::concat): New function. |
315 * file-ops.h: Provide decl. | |
316 | |
7270 | 317 2007-12-07 John W. Eaton <jwe@octave.org> |
318 | |
319 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
320 is not 0. | |
321 | |
7269 | 322 2007-12-07 David Bateman <dbateman@free.fr> |
323 | |
324 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
325 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
326 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
327 indexing where possible rather than the elem method. | |
328 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
329 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
330 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
331 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
332 = 0 directly. | |
333 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
334 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
335 SPARSE_BASE_REDUCTION_OP. | |
336 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
337 Specialize the initial value, and only treat dim = 0 directly. | |
338 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
339 ditto. | |
340 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
341 | |
7265 | 342 2007-12-06 John W. Eaton <jwe@octave.org> |
343 | |
344 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
345 data for npp and dpp after assignments. | |
346 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
347 | |
7253 | 348 2007-12-04 John W. Eaton <jwe@octave.org> |
349 | |
350 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
351 Do nothing if one index is empty. | |
352 | |
7246 | 353 2007-12-04 David Bateman <dbateman@free.fr> |
354 | |
355 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
356 Resize matrix as well if one dimension of lhs is zero and the rhs | |
357 index exceeds the lhs index. | |
358 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
359 Don't resize to a smaller matrix for empty matrices with a max rhs | |
360 index smaller than the non zero lhs index. | |
361 | |
362 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
363 | |
364 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
365 | |
7241 | 366 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
367 | |
368 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
369 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
370 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
371 | |
7238 | 372 2007-12-03 David Bateman <dbateman@free.fr> |
373 | |
374 * Sparse.cc (template <class LT, class RT> int assign | |
375 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
376 rhs values if both no. rows and columns are zero. | |
377 | |
7231 | 378 2007-11-30 John W. Eaton <jwe@octave.org> |
379 | |
7234 | 380 * oct-sort.cc, oct-sort.h: Style fixes. |
381 | |
7231 | 382 * lo-math.h: New file. |
383 * Makefile.in (INCLUDES): Add it to the list. | |
384 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
385 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
386 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
387 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
388 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
389 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
390 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
391 liboctave/oct-time.h, liboctave/randgamma.c, | |
392 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
393 instead of cmath or math.h. | |
394 * lo-mappers.h: Don't include sunmath.h here. | |
395 | |
7198 | 396 2007-11-26 John W. Eaton <jwe@octave.org> |
397 | |
398 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
399 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
400 | |
401 * oct-inttypes.h (operator bool, operator char): Delete. | |
402 (bool_value, char_value, double_value, float_value): New functions. | |
403 | |
7189 | 404 2007-11-26 David Bateman <dbateman@free.fr> |
405 | |
406 * intNDArray.cc (template <class T> intNDArray<T> | |
407 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
408 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
409 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
410 template <class T> intNDArray<T> intNDArray<T>::min | |
411 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
412 classes. | |
413 * intNDArray.h (class intNDArray): Add min/max methods | |
414 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
415 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
416 min/max functions. | |
417 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
418 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
419 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
420 types. | |
421 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
422 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
423 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
424 types. | |
425 | |
426 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
427 const T& rfv) const): If ndims != 2 call ND version of index. | |
428 | |
7176 | 429 2007-11-14 John W. Eaton <jwe@octave.org> |
430 | |
7178 | 431 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
432 | |
7176 | 433 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
434 correction to half-integer values. From Eric Chassande-Mottin | |
435 <echassandemottin@gmail.com>. | |
436 | |
7124 | 437 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
438 | |
439 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
440 ambiguities related to math functions (in C++ mode). | |
441 | |
7102 | 442 2007-11-06 David Bateman <dbateman@free.fr> |
443 | |
7113 | 444 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
445 New method. | |
446 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
447 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
448 New method. | |
449 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 450 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
451 norm to avoid issues of over- and underflow. From Rolf Fabian | |
452 <Rolf.Fabian@gmx.de>. | |
453 | |
7081 | 454 2007-10-30 David Bateman <dbateman@free.fr> |
455 | |
456 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
457 | |
7079 | 458 2007-10-30 John W. Eaton <jwe@octave.org> |
459 | |
460 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
461 * dMatrix.cc (lssolve): Compute size of iwork array. | |
462 | |
7076 | 463 2007-10-29 David Bateman <dbateman@free.fr> |
464 | |
465 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
466 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
467 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
468 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
469 double& rcond) const, lssolve (const ComplexColumnVector&, | |
470 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
471 declarations. | |
472 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
473 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
474 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
475 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
476 double& rcond) const, lssolve (const ComplexColumnVector&, | |
477 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
478 methods. | |
479 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
480 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
481 octave_idx_type&, double&) const): Also return rcond from the | |
482 singular values returned by XGELSD. | |
483 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
484 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
485 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
486 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
487 double& rcond) const, lssolve (const ComplexColumnVector&, | |
488 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
489 declarations. | |
490 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
491 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
492 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
493 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
494 double& rcond) const, lssolve (const ComplexColumnVector&, | |
495 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
496 methods. | |
497 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
498 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
499 octave_idx_type&, double&) const): Also return rcond from the | |
500 singular values returned by XGELSD. | |
501 | |
7072 | 502 2007-10-26 David Bateman <dbateman@free.fr> |
503 | |
504 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
505 matrices to avoid reliability issues with xGELSY. | |
506 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 507 |
7065 | 508 2007-10-25 John W. Eaton <jwe@octave.org> |
509 | |
510 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
511 Call unix_time on arg instead of relying on conversion operator. | |
512 | |
513 * oct-time.h (octave_time::double_value): New function. | |
514 (octave_time::operator double () const): Delete. | |
515 (octave_time::operator time_t () const): Delete. | |
516 | |
7058 | 517 2007-10-24 John W. Eaton <jwe@octave.org> |
518 | |
519 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
520 | |
7052 | 521 2007-10-23 John W. Eaton <jwe@octave.org> |
522 | |
523 * CRowVector.cc (operator * const ComplexRowVector&, const | |
524 ComplexColumnVector&)): Delete spurious code left from patch. | |
525 | |
7048 | 526 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
527 | |
528 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
529 sparse-sort.cc: Include <cstring>. | |
530 | |
7036 | 531 2007-10-17 John W. Eaton <jwe@octave.org> |
532 | |
533 * oct-sparse.h: Don't include metis.h. | |
534 | |
535 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
536 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
537 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
538 p_type>::sparse_base_chol_rep::init): Likewise. | |
539 | |
7033 | 540 2007-10-16 John W. Eaton <jwe@octave.org> |
541 | |
542 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
543 matrix is hermitian or calc_cond is true. | |
544 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
545 | |
7016 | 546 2007-10-12 John W. Eaton <jwe@octave.org> |
547 | |
548 * Change copyright notices in all files that are part of Octave to | |
549 GPLv3 or any later version. | |
550 | |
7007 | 551 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
552 | |
553 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
554 | |
7001 | 555 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
556 | |
557 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
558 | |
7000 | 559 2007-10-10 John W. Eaton <jwe@octave.org> |
560 | |
561 * LPsolve.h, LPsolve.cc: Delete. | |
562 * Makefile.in: Remove them from the INCLUDES and | |
563 LIBOCTAVE_CXX_SOURCES lists. | |
564 | |
6989 | 565 2007-10-09 John W. Eaton <jwe@octave.org> |
566 | |
6996 | 567 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
568 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
569 values to zero after call if they remain unchanged. | |
570 | |
6989 | 571 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
572 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
573 | |
6988 | 574 2007-10-09 David Bateman <dbateman@free.fr> |
575 | |
6995 | 576 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
577 valud and mon and year are also filled in. | |
578 | |
6990 | 579 * Array2.h (Array2<T>::Array2(const dim_vector&), |
580 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
581 dim_vector is 2 dimensional. | |
582 | |
6988 | 583 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
584 int)): Remove a for loop in the random indexing case at the | |
585 expense of maintaining a set of linked lists of indices that point | |
586 to the same column in the original matrix. | |
587 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
588 and use it on the RHS of expressions to avoid unnecessary calls to | |
589 make_unique. | |
590 | |
6979 | 591 2007-10-08 David Bateman <dbateman@free.fr> |
592 | |
593 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
594 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
595 for readline compatible functions. | |
596 (octave_rl_redisplay): Redisplay the current line of text. | |
597 (octave_rl_newline): Change interface to the same | |
598 as used by the equivalent readline function itself. | |
599 (octave_rl_filename_quoting_desired, | |
600 octave_rl_set_filename_quote_characters, | |
601 octave_rl_set_completer_quote_characters, | |
602 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
603 octave_rl_set_char_is_quoted_function): New functions to control | |
604 readline filename quoting and line acceptace. | |
605 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
606 as used by the equivalent readline function itself. | |
607 (octave_rl_redisplay): Redisplay the current line of text. | |
608 (octave_rl_filename_quoting_desired, | |
609 octave_rl_set_filename_quote_characters, | |
610 octave_rl_set_completer_quote_characters, | |
611 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
612 octave_rl_set_char_is_quoted_function): New functions to control | |
613 readline filename quoting and line acceptace. | |
614 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
615 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
616 to map C++ function to readline compatible functions. | |
617 (set_filename_quote_characters): New function to set the | |
618 characters to if they appear in a filename that force the filename | |
619 to be quoted. | |
620 (set_completer_quote_characters): The characters that the readline | |
621 completion function considers as quotation characters. | |
622 (set_quoting_function, set_dequoting_function, | |
623 set_char_is_quoted_function, set_user_accept_line_function): | |
624 Functions to set the Octave functions to perform quoting and the | |
625 acceptance of a line of text by readline. | |
626 (get_quoting_function, get_dequoting_function, | |
627 get_char_is_quoted_function, get_user_accept_line_function): | |
628 Functions to get the above functions. | |
629 (accept_line): New method for the command_editor to accept a line | |
630 of text. | |
631 (file_quoting_desired): Function to set whether readline should | |
632 attempt to quote filenames. | |
633 (do_set_filename_quoting_characters, | |
634 do_set_completer_quote_characters, do_set_quoting_function, | |
635 do_set_dequoting_function, do_set_char_is_quoted_function, | |
636 do_set_user_accept_line_function, do_get_quoting_function, | |
637 do_get_dequoting_function, do_get_char_is_quoted_function, | |
638 do_get_user_accept_line_function, do_filename_quoting_desired): | |
639 Virtual functions to control the behavior of readline quoting and | |
640 acceptance of lines. | |
641 (do_accept_line): Virtual function for the accept line function. | |
642 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
643 do_completer_quote_characters, do_set_quoting_function, | |
644 do_set_dequoting_function, do_set_char_is_quoted_function, | |
645 do_set_user_accept_line_function, do_get_quoting_function, | |
646 do_get_dequoting_function, do_get_user_accept_line_function, | |
647 do_accept_line, do_filename_quoting_desired, command_quoter, | |
648 command_dequoter, command_char_is_quoted, command_accept_line): | |
649 New functions in gnu_readline class to control filename quoting | |
650 and line acceptance. | |
651 (quoting_function, dequoting_function, char_is_quoted_function, | |
652 user_accept_line_function): private variable to store functions | |
653 supplied for readline quoting and line acceptance. | |
654 (gnu_readline::gnu_readline): Also set the new function pointers | |
655 to zero. | |
656 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
657 interface. | |
658 (gnu_readeline::operate_and_get_next): Use new accept_line | |
659 function rather than newline. | |
660 (default_ommand_editor::do_accept_line): New method. | |
661 (class command_editor set_filename_quote_characters, | |
662 set_completer_quote_characters, set_quoting_function, | |
663 set_dequoting_function, set_char_is_quoted_function, | |
664 set_user_accept_line_function, get_quoting_function, | |
665 get_dequoting_function, get_user_accept_line_function, | |
666 accept_line, filename_quoting_desired): New functions checking | |
667 instance before calling virtual function. | |
668 | |
669 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
670 Array2.h: Add dim_vector constructors. | |
671 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
672 const to dim_vector constructors. | |
673 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
674 (octave_idx_type)): New methods to constructor diagonal matrices. | |
675 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
676 (octave_idx_type)): Declare them. | |
677 | |
678 | |
6969 | 679 2007-10-06 John W. Eaton <jwe@octave.org> |
680 | |
681 * lo-specfun.cc: (zlgamma): Delete. | |
682 (xgamma): Use C library gamma function if available. | |
683 (xlgamma): Use C library lgamma function if available. | |
684 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
685 other than NaN or Inf. | |
686 | |
6961 | 687 2007-10-05 John W. Eaton <jwe@octave.org> |
688 | |
689 * lo-specfun.cc (zlgamma): New function. | |
690 | |
6959 | 691 2007-10-04 John W. Eaton <jwe@octave.org> |
692 | |
693 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
694 qualifiers on local variables. | |
695 | |
6958 | 696 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
697 | |
698 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
699 than log(realmax) to avoid issues with NaN. | |
700 | |
6940 | 701 2007-10-01 John W. Eaton <jwe@octave.org> |
702 | |
6941 | 703 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
704 initialize wday and yday. | |
705 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
706 | |
6940 | 707 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
708 insert extra '\001' when decoding \[ and \]. | |
709 | |
6926 | 710 2007-09-26 David Bateman <dbateman@free.fr> |
711 | |
712 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
713 is much faster and no less accurate. | |
714 * CMatrix.cc (lssolve): ditto. | |
715 | |
6924 | 716 2007-09-25 David Bateman <dbateman@free.fr> |
717 | |
718 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
719 zero dimensioned matrices. | |
720 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
721 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
722 ditto. | |
723 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
724 ditto. | |
725 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
726 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
727 qrsolve): ditto. | |
728 * sparse-dmsolve.cc (dmsolve): ditto. | |
729 | |
6922 | 730 2007-09-21 John W. Eaton <jwe@octave.org> |
731 | |
732 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
733 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
734 | |
6916 | 735 2007-09-19 John W. Eaton <jwe@octave.org> |
736 | |
737 * cmd-edit.cc (command_editor::remove_startup_hook): | |
738 Fix cut-and-paste error. | |
6917 | 739 (gnu_readline::set_startup_hook): Only set hook function if new |
740 function is different from the current one. | |
6916 | 741 |
6913 | 742 2007-09-18 John W. Eaton <jwe@octave.org> |
743 | |
744 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
745 command_editor::event_hook_set): New static data. | |
746 (default_command_editor::set_startup_hook, | |
747 gnu_readline::set_startup_hook, | |
748 default_command_editor::restore_startup_hook, | |
749 gnu_readline_restore_event_hook): | |
750 Rename from do_set_startup_hook and do_set_event_hook. | |
751 (gnu_readline::operate_and_get_next): Call | |
752 command_editor::add_startup_hook, not | |
753 command_editor::set_startup_hook. | |
754 (command_editor::startup_handler, command_editor::event_handler): | |
755 New functions. | |
756 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
757 command_editor::remove_startup_hook, | |
758 command_editor::remove_event_hook): Rename from set_startup_hook | |
759 and restore_startup_hook. Handle hook sets here. | |
760 * cmd-edit.cc (gnu_history::do_goto_mark): | |
761 Call remove_startup_hook instead of restore_startup_hook. | |
762 | |
6907 | 763 2007-09-17 John W. Eaton <jwe@octave.org> |
764 | |
765 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
766 leading whitespace. | |
767 | |
6897 | 768 2007-09-13 John W. Eaton <jwe@octave.org> |
769 | |
770 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
771 octave_read_complex): Use istream::get instead of >> to read | |
772 individual characters. | |
773 | |
6884 | 774 2007-09-10 John W. Eaton <jwe@octave.org> |
775 | |
776 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
777 | |
778 2007-09-10 David Bateman <dbateman@free.fr> | |
779 | |
780 * Array.h (Array<T>::make_unique): Make public so that the | |
781 ::assign functions can access it directly. | |
782 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
783 Array<T>::maybe_delete_elements_1(idx_vector&), | |
784 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
785 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
786 Use xelem for non const RHS to avoid call to make_unique. | |
787 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
788 xelem for LHS and call lhs.make_unique() only once. Special case | |
789 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
790 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
791 bring the additional multiplication out of the inner loop. | |
792 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
793 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
794 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
795 (const Range& r)): Don't use init_state() method but special case | |
796 as with a Range can avoid exhaustive search. | |
797 | |
6881 | 798 2007-09-07 John W. Eaton <jwe@octave.org> |
799 | |
800 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
801 manipulating rep directly. | |
802 | |
803 * Array.h (idx, idx_count): Declare mutable. | |
804 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
805 Now const. | |
806 | |
6867 | 807 2007-09-06 David Bateman <dbateman@free.fr> |
808 | |
6868 | 809 * Array-util.cc (increment_index): dimensions can have singleton |
810 trailing dimensions. | |
6867 | 811 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
812 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
813 where necessary. | |
814 * Array.cc (range_error): ditto. | |
815 * MArrayN.h (permute, ipermute): ditto. | |
816 * ArrayN.h (permute, ipermute): ditto. | |
817 * so-array.cc (streamoff_array::compute_index): ditto. | |
818 * so-array.h (compute_index): ditto. | |
819 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
820 | |
6840 | 821 2007-08-29 David Bateman <dbateman@free.fr> |
822 | |
823 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
824 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
825 matrices marked as singular. | |
826 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
827 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
828 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
829 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
830 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
831 octave_idx_type&, double&, int, int)): ditto. | |
832 | |
6838 | 833 2007-08-27 John W. Eaton <jwe@octave.org> |
834 | |
835 * oct-env.cc (octave_env::rooted_relative_pathname, | |
836 octave_env::do_rooted_relative_pathname): New functions. | |
837 * oct-env.h: Provide decls. | |
838 | |
6823 | 839 2007-08-24 David Bateman <dbateman@free.fr> |
840 | |
841 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
842 const Array<octave_idx_type>&)): New method. | |
843 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
844 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
845 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
846 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
847 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
848 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
849 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
850 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
851 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
852 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
853 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
854 SparseMatrix&, const Array<octave_idx_type>&), | |
855 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
856 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
857 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
858 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
859 SparseMatrix&, const Array<octave_idx_type>&), | |
860 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
861 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
862 | |
6817 | 863 2007-08-19 David Bateman <dbateman@free.fr> |
864 | |
865 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
866 | |
6813 | 867 2007-08-14 John W. Eaton <jwe@octave.org> |
868 | |
869 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
870 Simplify. | |
6814 | 871 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 872 |
6810 | 873 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
874 | |
875 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
876 Remove trailing dir separator when stat'ing directory except for | |
877 root directory. | |
878 | |
6796 | 879 2007-07-25 David Bateman <dbateman@free.fr> |
880 | |
881 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
882 to work. | |
883 | |
6764 | 884 2007-06-04 David Bateman <dbateman@free.fr> |
885 | |
886 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
887 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
888 perform a twos complement arithmetic shift for both signed and | |
889 unsigned integers regardless of compiler implementations. | |
890 | |
6708 | 891 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
892 | |
6719 | 893 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
894 use cs_complex_t(0,0) for the complex zero. | |
895 | |
6708 | 896 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
897 Sprinkle class instantiations with OCTAVE_API as needed. | |
898 | |
899 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
900 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
901 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
902 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
903 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
904 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
905 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
906 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
907 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
908 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
909 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
910 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
911 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
912 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
913 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
914 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
915 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
916 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
917 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
918 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
919 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
920 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
921 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
922 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
923 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
924 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
925 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
926 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
927 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
928 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
929 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
930 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
931 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
932 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
933 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
934 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
935 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
936 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
937 SPARSE_SMM_OP_DECLS): Ditto. | |
938 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
939 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
940 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
941 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
942 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
943 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
944 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
945 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
946 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
947 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
948 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
949 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
950 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
951 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
952 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
953 | |
6699 | 954 2007-06-12 John W. Eaton <jwe@octave.org> |
955 | |
956 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
957 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 958 |
6693 | 959 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
960 | |
6709 | 961 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
962 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
963 with file_ops::dir_sep_char. | |
6694 | 964 |
6693 | 965 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
966 | |
6689 | 967 2007-06-04 David Bateman <dbateman@free.fr> |
968 | |
6699 | 969 * file-ops.cc: Typo. |
970 | |
6689 | 971 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
972 dimensions is greater than 2, collapse to 2-D. | |
973 | |
6685 | 974 2007-06-02 David Bateman <dbateman@free.fr> |
975 | |
976 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
977 | |
6680 | 978 2007-05-31 John W. Eaton <jwe@octave.org> |
979 | |
980 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
981 the computed size is too large for the size of Octave's index type. | |
982 | |
6662 | 983 2007-05-23 John W. Eaton <jwe@octave.org> |
984 | |
985 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
986 | |
6629 | 987 2007-05-16 David Bateman <dbateman@free.fr> |
988 | |
989 * dRowVector.cc (linspace): Return second argument if fewer than | |
990 two values are requested. | |
991 * CRowVector.cc (linspace): Likewise. | |
992 | |
6596 | 993 2007-04-27 John W. Eaton <jwe@octave.org> |
994 | |
995 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
996 | |
6583 | 997 2007-04-25 John W. Eaton <jwe@octave.org> |
998 | |
999 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
1000 | |
6553 | 1001 2007-04-20 John W. Eaton <jwe@octave.org> |
1002 | |
1003 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
1004 not rhs_len == 1. | |
1005 | |
6536 | 1006 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
1007 | |
1008 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
1009 | |
6525 | 1010 2007-04-13 John W. Eaton <jwe@octave.org> |
1011 | |
1012 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
1013 for empty matrix. Only check for colon index equivalence if not empty. | |
1014 | |
6513 | 1015 2007-04-10 John W. Eaton <jwe@octave.org> |
1016 | |
1017 * SparseCmplxQR.cc | |
1018 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
1019 Move GCC_ATTR_UNUSED before the parameter decl. | |
1020 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
1021 | |
6508 | 1022 2007-04-06 John W. Eaton <jwe@octave.org> |
1023 | |
1024 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
1025 * MArray.h (MArray<T>::norm): New function. | |
1026 * MArray.cc: Provide decl. | |
1027 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
1028 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
1029 | |
6490 | 1030 2007-04-04 John W. Eaton <jwe@octave.org> |
1031 | |
1032 * Range.cc (Range::nelem_internal): Likewise. | |
1033 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
1034 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
1035 From Scott Pakin <pakin@lanl.gov>. | |
1036 | |
6486 | 1037 2007-04-04 David Bateman <dbateman@free.fr> |
1038 | |
1039 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
1040 the condition number for positive definite matrices. | |
1041 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
1042 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
1043 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
1044 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
1045 (CHOL(const CHOL&)): Copy xrcond. | |
1046 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
1047 (xrcond): New private data member. | |
1048 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
1049 calc_cond. | |
1050 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
1051 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
1052 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
1053 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
1054 (xrcond): New private data member. | |
1055 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
1056 true, calculate the condition number with dpocon. | |
1057 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
1058 calc_cond is true, calculate the condition number with zpocon. | |
1059 | |
6481 | 1060 2007-04-03 John W. Eaton <jwe@octave.org> |
1061 | |
6482 | 1062 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
1063 | |
1064 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
1065 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
1066 "maybe clobbered by vfork" warning. | |
1067 | |
6483 | 1068 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 1069 if/else. |
1070 | |
1071 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
1072 and destructor. | |
1073 | |
6481 | 1074 * Array.cc (assignN): Don't resize dimension if corresponding |
1075 index is empty. | |
1076 | |
6479 | 1077 2007-04-02 John W. Eaton <jwe@octave.org> |
1078 | |
1079 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1080 MatrixType argument. | |
1081 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1082 | |
6467 | 1083 2007-03-27 John W. Eaton <jwe@octave.org> |
1084 | |
1085 * Makefile.in (DISTDIRS): Delete variable. | |
1086 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1087 | |
6460 | 1088 2007-03-26 David Bateman <dbateman@free.fr> |
1089 | |
1090 * MatrixType.cc: Replace all uses of the method | |
1091 octave_sparse_params::get_key ("bandden") with | |
1092 octave_sparse_params::get_bandden (void). | |
1093 (MatrixType::MatrixType (void)): Undo previous change but use | |
1094 octave_sparse_params::get_bandden (void). | |
1095 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1096 methods. | |
1097 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1098 Declare them. | |
1099 | |
6458 | 1100 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1101 David Bateman <dbateman@free.fr> | |
1102 | |
1103 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1104 Check that all elements are ints before doing anything. Simplify | |
1105 calculation of index values. | |
1106 | |
6457 | 1107 2007-03-26 David Bateman <dbateman@free.fr> |
1108 | |
1109 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1110 | |
6456 | 1111 2007-03-26 John W. Eaton <jwe@octave.org> |
1112 | |
1113 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1114 * chNDArray.h, chMatrix.h: Provide decls. | |
1115 | |
1116 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1117 | |
1118 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1119 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1120 |
6435 | 1121 2007-03-23 David Bateman <dbateman@free.fr> |
1122 | |
1123 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1124 little endian. | |
1125 | |
6414 | 1126 2007-03-15 John W. Eaton <jwe@octave.org> |
1127 | |
1128 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1129 From Alexander Barth <abarth@marine.usf.edu>. | |
1130 | |
6402 | 1131 2007-03-12 John W. Eaton <jwe@octave.org> |
1132 | |
1133 * oct-inttypes.h (octave_int::octave_int (double)): | |
1134 New Specialization. Round arg. | |
1135 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1136 Round result before converting type. | |
1137 | |
6388 | 1138 2007-03-07 John W. Eaton <jwe@octave.org> |
1139 | |
6392 | 1140 * Array.cc (assign1): Avoid resizing if there is an error. |
1141 | |
6390 | 1142 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1143 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1144 | |
6389 | 1145 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1146 Only allow resizing empty LHS if it is 0x0. | |
1147 | |
6388 | 1148 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1149 const T&)): Handle case of more indices than dimensions. | |
1150 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1151 cases to be handled by assignN. | |
1152 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1153 Special cases for 2-d array assignments for speed. | |
1154 Improve handling of scalar RHS and empty indices. | |
6384 | 1155 |
6383 | 1156 2007-03-05 David Bateman <dbateman@free.fr> |
1157 | |
1158 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1159 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1160 | |
6379 | 1161 2007-03-02 John W. Eaton <jwe@octave.org> |
1162 | |
1163 * str-vec.h (string_vector::empty): Return bool, not int. | |
1164 | |
6375 | 1165 2007-03-01 David Bateman <dbateman@free.fr> |
1166 | |
1167 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1168 an independent implementation of RFC1321. | |
1169 * oct-md5.h, oct-md5: New files for treating std::string class | |
1170 with MD5. | |
1171 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1172 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1173 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1174 | |
6366 | 1175 2007-02-27 John W. Eaton <jwe@octave.org> |
1176 | |
1177 * Makefile.in (uninstall): Delete files listed in | |
1178 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1179 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1180 | |
6536 | 1181 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1182 |
1183 * file-ops.cc (file_ops::recursive_rmdir): | |
1184 Close dir_entry object before calling rmdir. | |
1185 | |
6536 | 1186 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1187 |
1188 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1189 | |
6359 | 1190 * sparse-util.h (SparseCholPrint, SparseCholError): |
1191 Tag with OCTAVE_API. | |
1192 | |
6326 | 1193 2007-02-18 David Bateman <dbateman@free.fr> |
1194 | |
1195 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1196 calling setall and reset to the current generator after. | |
1197 | |
6323 | 1198 2007-02-16 John W. Eaton <jwe@octave.org> |
1199 | |
1200 * oct-shlib.h (octave_shlib::relative): New data member. | |
1201 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1202 New functions. | |
1203 | |
6321 | 1204 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1205 | |
1206 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1207 windows platform. | |
1208 * lo-sysdep.h (octave_popen2): Declare it. | |
1209 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1210 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1211 | |
6306 | 1212 2007-02-14 John W. Eaton <jwe@octave.org> |
1213 | |
1214 * kpse.cc (expand_elt): Omit special treatment for //. | |
1215 | |
6273 | 1216 2007-02-06 John W. Eaton <jwe@octave.org> |
1217 | |
1218 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1219 Don't delete value returned from realpath. | |
1220 | |
6271 | 1221 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1222 | |
1223 * file-ops.cc (file_ops::canonicalize_file_name): | |
1224 Provide implementation if realpath function is available. | |
1225 | |
6256 | 1226 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1227 | |
1228 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1229 | |
6244 | 1230 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1231 | |
1232 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1233 Windows systems. | |
1234 | |
6242 | 1235 2007-01-16 John W. Eaton <jwe@octave.org> |
1236 | |
1237 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1238 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1239 | |
1240 * oct-fftw.h (fftw_planner): Provide decl. | |
1241 | |
6241 | 1242 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1243 | |
1244 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1245 | |
6236 | 1246 2007-01-10 John W. Eaton <jwe@octave.org> |
1247 | |
1248 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1249 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1250 | |
6231 | 1251 2007-01-08 David Bateman <dbateman@free.fr> |
1252 | |
1253 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1254 SPARSESUITE with SUITESPARSE to match upstream name. | |
1255 | |
6228 | 1256 2007-01-05 David Bateman <dbateman@free.fr> |
1257 | |
1258 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1259 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1260 set the FFTW wisdom method used. | |
1261 (octave_fftw_planner::create_plan) Modify to allow different | |
1262 methods to be used. | |
1263 (octave_fftw_planner): Move class definition from here. | |
1264 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1265 and FftwMethod enum. | |
1266 | |
6221 | 1267 2007-01-03 David Bateman <dbateman@free.fr> |
1268 | |
1269 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1270 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1271 sparse matrices are special cased. | |
1272 | |
1273 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1274 matrix, sparse matrix operations. | |
1275 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1276 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1277 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1278 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1279 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1280 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1281 sparse matrices are special cased. | |
1282 | |
6217 | 1283 2006-12-22 David Bateman <dbateman@free.fr> |
1284 | |
1285 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1286 | |
6216 | 1287 2006-12-22 John W. Eaton <jwe@octave.org> |
1288 | |
1289 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1290 least 2 dimensions. | |
1291 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1292 | |
6208 | 1293 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1294 | |
1295 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1296 | |
1297 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1298 implementation for Windows. |
6208 | 1299 |
6207 | 1300 2006-12-06 David Bateman <dbateman@free.fr> |
1301 | |
6208 | 1302 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1303 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1304 |
1305 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1306 (tinverse): New method for triangular matrices. | |
1307 (inverse): New function with matrix type probing. | |
1308 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1309 declarations. | |
6208 | 1310 * CMatrix.cc: Ditto. |
1311 * CMatrix.h: Ditto. | |
6207 | 1312 |
6205 | 1313 2006-12-06 John W. Eaton <jwe@octave.org> |
1314 | |
1315 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1316 | |
6202 | 1317 2006-12-05 John W. Eaton <jwe@octave.org> |
1318 | |
1319 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1320 followed by 'I' or 'i', try reading number after putting | |
1321 characters back on input stream. | |
1322 | |
6198 | 1323 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1324 | |
1325 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1326 loop is n, not L. | |
1327 | |
6194 | 1328 2006-11-30 John W. Eaton <jwe@octave.org> |
1329 | |
1330 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1331 Also recognize [+-][Ii]nf. | |
1332 | |
6187 | 1333 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1334 |
1335 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1336 sub-directory. | |
1337 | |
6204 | 1338 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1339 well when calling tinverse for lower triangular matrices. | |
1340 * CSparse.cc (SparseComplexMatrix::inverse): | |
1341 Ditto. | |
6185 | 1342 |
6183 | 1343 2006-11-21 John W. Eaton <jwe@octave.org> |
1344 | |
1345 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1346 | |
6182 | 1347 2006-11-20 John W. Eaton <jwe@octave.org> |
1348 | |
1349 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1350 for ".", and names beginning with "./" or "../". | |
1351 | |
6162 | 1352 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1353 | |
1354 * CMatrix.cc, dMatrix.cc: New tests. | |
1355 | |
6153 | 1356 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1357 | |
1358 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1359 | |
6152 | 1360 2006-11-11 John W. Eaton <jwe@octave.org> |
1361 | |
1362 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1363 Use $(simple-move-if-change-rule) here. | |
1364 | |
6148 | 1365 2006-11-09 David Bateman <dbateman@free.fr> |
1366 | |
1367 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1368 octave_idx_type, not int. | |
1369 | |
6145 | 1370 2006-11-08 John W. Eaton <jwe@octave.org> |
1371 | |
1372 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1373 | |
6141 | 1374 2006-11-06 John W. Eaton <jwe@octave.org> |
1375 | |
1376 * Array.cc (assignN): Exit early if invalid indices are found. | |
1377 | |
6140 | 1378 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1379 | |
1380 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1381 | |
6137 | 1382 2006-11-03 John W. Eaton <jwe@octave.org> |
1383 | |
1384 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1385 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1386 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1387 | |
6123 | 1388 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1389 | |
1390 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1391 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1392 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1393 lo-sysdep.cc. | |
1394 | |
6113 | 1395 2006-10-27 John W. Eaton <jwe@octave.org> |
1396 | |
6119 | 1397 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1398 | |
1399 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1400 | |
1401 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1402 NDS_CMP_OPS2): New macros. | |
6113 | 1403 |
6111 | 1404 2006-10-26 John W. Eaton <jwe@octave.org> |
1405 | |
6119 | 1406 * mx-ops (core-type): New field for integer types. |
1407 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1408 | |
6111 | 1409 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1410 Move here from src/cutils.c. | |
1411 * lo-utils.h: Provide decls. | |
1412 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1413 * strncase.c: Move here from src/strncase.c. | |
1414 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1415 | |
6106 | 1416 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1417 | |
1418 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1419 | |
6708 | 1420 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1421 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1422 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1423 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1424 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1425 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1426 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1427 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1428 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1429 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1430 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1431 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1432 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1433 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1434 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1435 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1436 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1437 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1438 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1439 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1440 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1441 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1442 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1443 |
6105 | 1444 2006-10-26 John W. Eaton <jwe@octave.org> |
1445 | |
1446 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1447 type qualification for OP. | |
1448 | |
6101 | 1449 2006-10-26 David Bateman <dbateman@free.fr> |
1450 | |
1451 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1452 octave_idx_type)): Be more careful with the size of the input | |
1453 matrix, and therefore don't create or read non existent data. | |
1454 | |
6092 | 1455 2006-10-25 John W. Eaton <jwe@octave.org> |
1456 | |
1457 * Sparse.cc (assign): Clear lhs index after error. | |
1458 | |
6093 | 1459 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1460 |
1461 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1462 Fix previous patch so it works. | |
1463 | |
6087 | 1464 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1465 | |
6095 | 1466 * glob-match.h (glob_match::glob_match (const std::string&, |
1467 unsigned int)): Delete initializer for first arg. | |
1468 | |
6093 | 1469 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1470 New functions. | |
1471 | |
6087 | 1472 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1473 | |
6096 | 1474 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1475 same code as __MINGW32__. | |
1476 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1477 the same as for __MINGW32__. | |
1478 | |
1479 * randpoisson.c: Undefine INFINITE before redefining. | |
1480 | |
6079 | 1481 2006-10-24 David Bateman <dbateman@free.fr> |
1482 | |
1483 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1484 lhs at the point we know the assignment can succeed if the lhs is | |
1485 empty. | |
1486 | |
6072 | 1487 2006-10-23 John W. Eaton <jwe@octave.org> |
1488 | |
1489 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1490 | |
6061 | 1491 2006-10-17 John W. Eaton <jwe@octave.org> |
1492 | |
1493 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1494 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1495 and _copysign. | |
1496 | |
6059 | 1497 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1498 |
6061 | 1499 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1500 | |
6708 | 1501 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1502 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1503 |
6058 | 1504 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1505 | |
6059 | 1506 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1507 | |
6051 | 1508 * Makefile.in: Adapt rules to use $(LIBPRE). |
1509 | |
6027 | 1510 2006-10-03 David Bateman <dbateman@free.fr> |
1511 | |
1512 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1513 or p == 0. | |
1514 | |
6018 | 1515 2006-10-02 John W. Eaton <jwe@octave.org> |
1516 | |
1517 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1518 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1519 | |
5996 | 1520 2006-09-22 David Bateman <dbateman@free.fr> |
1521 | |
1522 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1523 Remove spurious warning. |
5996 | 1524 |
5992 | 1525 2006-09-15 John W. Eaton <jwe@octave.org> |
1526 | |
1527 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1528 Handle resizing. | |
1529 | |
1530 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1531 | |
5983 | 1532 2006-09-11 John W. Eaton <jwe@octave.org> |
1533 | |
1534 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1535 Handle M*v and rv*cv special cases. | |
1536 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1537 ComplexMatrix&))): Likewise. | |
1538 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1539 | |
1540 * dRowVector.cc (operator * (const RowVector&, const | |
1541 ColumnVector&)): Call xddot here instead of using a Fortran | |
1542 function directly. | |
1543 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1544 ComplexColumnVector&)): Call xzdotu here. | |
1545 | |
1546 2006-09-05 John W. Eaton <jwe@octave.org> | |
1547 | |
1548 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1549 elements to '\0', not ' '. | |
1550 | |
5972 | 1551 2006-08-25 John W. Eaton <jwe@octave.org> |
1552 | |
1553 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1554 | |
5958 | 1555 2006-08-23 John W. Eaton <jwe@octave.org> |
1556 | |
1557 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1558 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1559 | |
5955 | 1560 2006-08-22 John W. Eaton <jwe@octave.org> |
1561 | |
5956 | 1562 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1563 * dMatrix.cc (Matrix::save_ascii): New function. | |
1564 | |
5955 | 1565 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1566 If array is empty, return value is same size as array. | |
1567 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1568 If array is empty, produce correctly sized return value. | |
1569 | |
5940 | 1570 2006-08-18 John W. Eaton <jwe@octave.org> |
1571 | |
5943 | 1572 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1573 * dMatrix.h: Provide decl. | |
1574 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1575 * dNDArray.h: Provide decl. | |
1576 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1577 New function. | |
1578 * intNDArray.h: Provide decl. | |
1579 | |
5940 | 1580 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1581 not empty. | |
1582 | |
5904 | 1583 2006-07-26 John W. Eaton <jwe@octave.org> |
1584 | |
1585 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1586 DET::value_will_overflow): Use xlog2 instead of log2. | |
1587 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1588 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1589 * CmplxDET.cc (ComplexDET::initialize10, | |
1590 ComplexDET::value_will_underflow, | |
1591 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1592 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1593 Use xround instead of round. | |
1594 (ComplexDET::initialize2, ComplexDET::value): | |
1595 Use xexp2 instead of exp2. | |
1596 | |
1597 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1598 (xlog2, xexp2): New functions. | |
1599 * lo-mappers.h: Provide decls. | |
1600 | |
5900 | 1601 2006-07-22 John W. Eaton <jwe@octave.org> |
1602 | |
1603 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1604 Sparse<T>::mex_get_jc): New functions. | |
1605 | |
1606 2006-07-21 John W. Eaton <jwe@octave.org> | |
1607 | |
1608 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1609 * Array.h (Array<T>::mex_get_data): New function. | |
1610 | |
5898 | 1611 2006-07-19 John W. Eaton <jwe@octave.org> |
1612 | |
1613 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1614 | |
5893 | 1615 2006-07-16 John W. Eaton <jwe@octave.org> |
1616 | |
1617 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1618 Rename from SparseParams. Use same implementation method as other | |
1619 singleton classes in Octave. Change all uses of | |
1620 Voctave_sparse_controls to use static functions from | |
1621 octave_sparse_params class instead. | |
1622 | |
1623 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1624 SparseParams::get_key): Pass std::string arg by const reference, | |
1625 not const value. | |
1626 | |
5892 | 1627 2006-07-15 John W. Eaton <jwe@octave.org> |
1628 | |
1629 * data-conv.cc: Instantiante swap_bytes templates here. | |
1630 | |
1631 * MatrixType.cc (MatrixType::MatrixType): | |
1632 Use complete initializer lists in constructors. | |
1633 | |
5880 | 1634 2006-07-06 John W. Eaton <jwe@octave.org> |
1635 | |
1636 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1637 New constructor. | |
1638 * str-vec.h: Provide decl. | |
1639 | |
5876 | 1640 2006-07-01 David Bateman <dbateman@free.fr> |
1641 | |
1642 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1643 elements on the diagonal. Allow both Upper and Lower triangular | |
1644 matrices to be treated. | |
1645 * CSparse.cc (tinverse): ditto. | |
1646 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1647 constant assignment. | |
1648 | |
5870 | 1649 2006-06-30 John W. Eaton <jwe@octave.org> |
1650 | |
5872 | 1651 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1652 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1653 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1654 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1655 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1656 |
5870 | 1657 * data-conv.cc (data_conv::string_to_data_type): |
1658 Correctly handle leading "*". | |
1659 | |
5869 | 1660 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1661 | |
1662 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1663 array access. | |
1664 | |
5866 | 1665 2006-06-27 John W. Eaton <jwe@octave.org> |
1666 | |
1667 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1668 | |
5864 | 1669 2006-06-21 John W. Eaton <jwe@octave.org> |
1670 | |
1671 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1672 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1673 Skip do_close_hook if cl_hook is 0. | |
1674 | |
5863 | 1675 2006-06-16 John W. Eaton <jwe@octave.org> |
1676 | |
1677 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1678 * randmtzig.h: Don't inlcude config.h. | |
1679 | |
5837 | 1680 2006-05-31 David Bateman <dbateman@free.fr> |
1681 | |
1682 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1683 | |
5828 | 1684 2006-05-23 John W. Eaton <jwe@octave.org> |
1685 | |
1686 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1687 typedefs, or define them if those files are not available. | |
1688 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1689 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1690 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1691 types with int8_t, int16_t, etc. | |
1692 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1693 Delete definitions. Replace all uses of these macros with int8_t, | |
1694 int16_t, etc. | |
1695 * randmtzig.h: Delete integer typedefs. | |
1696 | |
5822 | 1697 2006-05-18 John W. Eaton <jwe@octave.org> |
1698 | |
1699 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1700 From Keith Goodman <kwgoodman@gmail.com>. | |
1701 | |
5813 | 1702 2006-05-08 David Bateman <dbateman@free.fr> |
1703 | |
1704 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1705 modification. | |
1706 | |
5797 | 1707 2006-05-09 David Bateman <dbateman@free.fr> |
1708 | |
1709 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1710 ov-cx-sparse. and error_state. | |
1711 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1712 | |
5795 | 1713 2006-05-08 David Bateman <dbateman@free.fr> |
1714 | |
1715 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1716 first pass and use to determine which algorithm to use on a | |
1717 column-by-column basis. | |
1718 | |
5792 | 1719 2006-05-04 David Bateman <dbateman@free.fr> |
1720 | |
1721 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1722 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1723 CXSparse or later | |
1724 | |
5785 | 1725 2006-05-03 David Bateman <dbateman@free.fr> |
1726 | |
1727 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1728 External declaration of lapack triangular and Cholesky codes. | |
1729 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1730 ComplexMatrix::fsolve): New private solver codes for | |
1731 upper, lower and LU/Cholesky solvers. | |
1732 (ComplexMatrix::solve): New versions for cached matrix | |
1733 type. Adapt old versions to call new versions | |
1734 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1735 new solvers. | |
1736 (solve): New versions for cached matrix type. | |
1737 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1738 External declaration of lapack triangular and Cholesky codes. | |
1739 (Matrix::utsolve, Matrix::ltsolve, | |
1740 Matrix::fsolve): New private solver codes for | |
1741 upper, lower and LU/Cholesky solvers. | |
1742 (Matrix::solve): New versions for cached matrix | |
1743 type. Adapt old versions to call new versions | |
1744 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1745 new solvers. | |
1746 (solve): New versions for cached matrix type. | |
1747 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1748 * CSparse.h: ditto. | |
1749 * dSparse.cc: ditto. | |
1750 * dSparse.h: ditto. | |
1751 * SparseCmplxCHOL.cc: ditto. | |
1752 * SparsedbleCHOL.cc: ditto. | |
1753 * sparse-dmsolve.cc: ditto. | |
1754 * SparseType.cc, SparseType.h: delete. | |
1755 * MatrixType.cc: New file for class to cache matrix type, based on | |
1756 old SparseType class but caching matrix and sparse types. | |
1757 * MatrixType.h: ditto. | |
1758 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1759 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1760 respectively. | |
1761 * mx-base.h: Include MatrixTye.h as header file. | |
1762 | |
5781 | 1763 2006-05-01 John W. Eaton <jwe@octave.org> |
1764 | |
1765 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1766 Delete WARN_FUTURE arg. Change all uses. | |
1767 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1768 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1769 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1770 and uses. | |
1771 | |
1772 2006-04-29 John W. Eaton <jwe@octave.org> | |
1773 | |
1774 * Array-flags.cc, Array-flags.h: Delete. | |
1775 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1776 (MATRIX_INC): Remove Array-flags.h from the list. | |
1777 | |
1778 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1779 Use current_liboctave_warning_with_id_handler | |
1780 with warning ID Octave:resize-on-range-error. | |
1781 * idx-vector.h: Fix decl. | |
1782 * Array.cc, Sparse.cc: Change all callers. | |
1783 | |
1784 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1785 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1786 with warning ID Octave:fortran-indexing instead of | |
1787 liboctave_wfi_flag. | |
1788 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1789 | |
5777 | 1790 2006-04-26 John W. Eaton <jwe@octave.org> |
1791 | |
1792 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1793 New static data. | |
1794 * pathsearch.h: Provide decls. | |
1795 (dir_path::is_path_sep): New function. | |
1796 | |
5766 | 1797 2006-04-18 John W. Eaton <jwe@octave.org> |
1798 | |
1799 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1800 Omit inline from decl. | |
1801 | |
1802 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1803 local array with variable dimension. | |
1804 | |
5764 | 1805 2006-04-16 John W. Eaton <jwe@octave.org> |
1806 | |
5765 | 1807 * lo-sstream.h: Delete. |
1808 * Makefile.in (INCLUDES): Remove it from the list. | |
1809 | |
1810 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1811 * Sparse.cc (Sparse::range_error): Likewise. | |
1812 * DASSL.cc (DASSL::error_message): Likewise. | |
1813 * LSODE.cc (LSODE::error_message): Likewise. | |
1814 * DASRT.cc (DASRT::error_message): Likewise. | |
1815 * DASPK.cc (DASPK::error_message): Likewise. | |
1816 * Array.cc (Array::range_error): Likewise. | |
1817 | |
5764 | 1818 * kpse.cc (kpse_hash): Rename from hash. |
1819 (hash_lookup): Call kpse_hash instead of hash. | |
1820 | |
1821 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1822 to avoid local array with variable dimension. | |
1823 | |
5760 | 1824 2006-04-13 David Bateman <dbateman@free.fr> |
1825 | |
1826 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1827 Optimize assignment. | |
1828 | |
1829 2006-04-13 John W. Eaton <jwe@octave.org> | |
1830 | |
1831 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1832 Eliminate unnecessary casts. | |
1833 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1834 | |
1835 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1836 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1837 | |
1838 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1839 * oct-alloc.cc (allocator::grow): Likewise. | |
1840 * CSparse.cc (SparseComplexMatrix::determinant, | |
1841 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
1842 Likewise. | |
1843 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
1844 | |
1845 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
1846 Use static_cast instead of C-style cast. | |
1847 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1848 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
1849 | |
1850 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
1851 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
1852 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
1853 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
1854 Use reinterpret_cast instead of X_CAST. | |
1855 | |
1856 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
1857 return value here. | |
1858 | |
5752 | 1859 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
1860 | |
1861 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
1862 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
1863 | |
5730 | 1864 2006-04-03 David Bateman <dbateman@free.fr> |
1865 | |
5731 | 1866 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
1867 to avoid copy of original matrix. | |
1868 | |
5730 | 1869 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
1870 randmtzig.h to the list. | |
1871 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
1872 randmtzig.c to the list. | |
1873 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
1874 (use_old_generators): New variable. | |
1875 (old_initialized): Rename from initialized. | |
1876 (new_initialized): New variable. | |
1877 (oct_init_by_entropy): New function. | |
1878 (maybe_initialize): Initialize new or old generator depending on | |
1879 value of use_old_generators. | |
1880 (octave_rand::state): New functions. | |
1881 (octave_rand::distribution): Add gamma, exponential and poisson | |
1882 distributions. | |
1883 (octave_rand::exponential_distribution, | |
1884 octave_rand::poisson_distribution, | |
1885 octave_rand::gamma_distribution): New methods to select | |
1886 exponential, poisson or gamma distribution. | |
1887 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1888 octave_rand::vector): Add new distributions. | |
1889 * oct-rand.h: Provide decls for new functions. | |
1890 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
1891 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1892 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
1893 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
1894 randmtzig.h: New files. | |
1895 | |
5717 | 1896 2006-03-24 John W. Eaton <jwe@octave.org> |
1897 | |
1898 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
1899 Array<octave_idx_type>, so fortran_vec returns pointer to | |
1900 octave_idx_type, not pointer to int. | |
1901 | |
1902 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
1903 ComplexMatrix::column (char*)): Delete. | |
1904 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
1905 Matrix::column (char*)): Delete. | |
1906 | |
5713 | 1907 2006-03-21 David Bateman <dbateman@free.fr> |
1908 | |
1909 * SparseQR.h: Publish externally used friends. | |
1910 * SparseCmplxQR.h: ditto. | |
1911 | |
5700 | 1912 2006-03-21 John W. Eaton <jwe@octave.org> |
1913 | |
1914 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
1915 call to xdbetai. | |
1916 | |
5697 | 1917 2006-03-21 David Bateman <dbateman@free.fr> |
1918 | |
5701 | 1919 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
1920 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 1921 |
1922 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
1923 fallback to QR solvers to be optional. | |
1924 * CSparse.cc (solve): Ditto. | |
1925 * dSparse.h (solve): update declaration for new argument. | |
1926 * CSparse.h (solve): Ditto. | |
1927 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
1928 to bypass QR solvers when solving the well determined part of | |
1929 the problem. | |
5697 | 1930 |
5690 | 1931 2006-03-17 John W. Eaton <jwe@octave.org> |
1932 | |
1933 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
1934 | |
5681 | 1935 2006-03-16 David Bateman <dbateman@free.fr> |
1936 | |
1937 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
1938 reduction of matrix size, except for a couple of cases where nzmax | |
1939 is needed. | |
1940 (zpbcon): Correct declaration of lapack zpbcon function. | |
1941 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
1942 an argument to allow the calculation of condition number to be | |
1943 optional. | |
1944 (bsolve): Add code for the calculation of the condition number | |
1945 using zpbcon and zgbcon. | |
1946 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
1947 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
1948 singular if singularity is detected. | |
1949 (solve): Use optional argument to disable calculation of | |
1950 condition number for all but fsolve, for speed. Add code to | |
1951 allow rectnagular matrices or matrices identified as singular | |
1952 to be treated. | |
1953 (lssolve): delete. | |
1954 (operator *): Don't recast real matrices as complex, but | |
1955 rather use the macro directly on the real data. | |
1956 * dSparse.cc: ditto. | |
1957 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
1958 fsolve, factorize): Update declaration for new argument to | |
1959 calculate the condition number. | |
1960 (lssolve): delete. | |
1961 * dSparse.h: ditto. | |
1962 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
1963 reduction of matrix size, except for a couple of cases where | |
1964 nzmax is needed. | |
1965 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
1966 reduction of matrix size, except for a couple of cases where | |
1967 nzmax is needed. | |
1968 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
1969 Special case strict permutations for speed. | |
1970 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
1971 reduction of matrix size, except for a couple of cases where | |
1972 nzmax is needed. | |
1973 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
1974 macros to allow mixed complex/real arguments. | |
1975 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
1976 value. | |
1977 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
1978 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
1979 of permutated triangular matrices to avoid seg-faults. Disable | |
1980 detection of underdetermined lower and over-determined upper | |
1981 matrix due to problems with non minimum norm solutions. | |
1982 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
1983 * Makefile.in: add sparse-dmsolve.cc to targets. | |
1984 | |
5675 | 1985 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
1986 | |
1987 * oct-time.cc (octave_strptime::init): Return useful character count. | |
1988 | |
5648 | 1989 2006-03-08 David Bateman <dbateman@free.fr> |
1990 | |
1991 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
1992 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
1993 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
1994 * SparseQR.cc: ditto. | |
1995 * SparseQR.h: ditto. | |
1996 * oct-sparse.h: ditto. | |
1997 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
1998 Declare info variable as volatile. | |
1999 | |
2000 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
2001 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
2002 | |
5634 | 2003 2006-03-01 John W. Eaton <jwe@octave.org> |
2004 | |
2005 * CMatrix.cc (ComplexMatrix::determinant): | |
2006 Scale result by factors of 2, not 10. | |
2007 * dMatrix.cc (Matrix::determinant): Likewise. | |
2008 | |
2009 * dbleDET.h (DET::DET): Use initializer list. | |
2010 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
2011 DET::exponent10): New functions. | |
2012 (DET::det): Delete. | |
2013 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
2014 Store value internally with double and int instead of 2-element | |
2015 double vector. | |
2016 (DET::initialize2, DET::initialize10): Provide decls. | |
2017 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
2018 Return bool value, not int. | |
2019 (DET::initialize2, DET::initialize10): New functions. | |
2020 | |
2021 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
2022 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
2023 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
2024 (ComplexDET::det): Delete. | |
2025 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
2026 ComplexDET::base2): New data members. | |
2027 Store value internally with Complex and int instead of 2-element | |
2028 Complex vector. | |
2029 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
2030 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
2031 ComplexDET::value_will_underflow): Return bool value, not int. | |
2032 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
2033 | |
5632 | 2034 2006-02-24 John W. Eaton <jwe@octave.org> |
2035 | |
2036 * Array.cc (assignN): Clear index before reshaping. | |
2037 | |
2038 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
2039 | |
5630 | 2040 2006-02-20 David Bateman <dbateman@free.fr> |
2041 | |
2042 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
2043 matrix must be square in diagonal, permuted diagonal, triangular | |
2044 and permuted triangular back/forward substitution code. Change | |
2045 ambiguous use of no. rows and columns. | |
2046 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
2047 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
2048 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
2049 rectangular diagonal, permuted diagonal, triangular and permuted | |
2050 triangular matrices. | |
2051 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
2052 Treat case where third argument is zero. | |
2053 | |
5621 | 2054 2006-02-15 John W. Eaton <jwe@octave.org> |
2055 | |
5622 | 2056 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
2057 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
2058 | |
5621 | 2059 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
2060 | |
5619 | 2061 2006-02-13 David Bateman <dbateman@free.fr> |
2062 | |
2063 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
2064 ccolamd and cxsparse | |
2065 | |
5617 | 2066 2006-02-13 John W. Eaton <jwe@octave.org> |
2067 | |
5618 | 2068 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
2069 while loop condition. | |
2070 (kpse_path_iterator::operator =): Declare as private function but | |
2071 don't define to prevent attempts to use assignment operator. | |
2072 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 2073 |
5615 | 2074 2006-02-10 John W. Eaton <jwe@octave.org> |
2075 | |
2076 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
2077 product of all dimensions in CP_SZ. | |
2078 | |
5611 | 2079 2006-02-09 John W. Eaton <jwe@octave.org> |
2080 | |
2081 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2082 product of all dimensions in CP_SZ. |
5611 | 2083 |
5610 | 2084 2006-02-09 David Bateman <dbateman@free.fr> |
2085 | |
2086 * SparseQR.cc: new file for real sparse QR class. | |
2087 * SparseQR.h: declaration. | |
2088 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2089 * SparseCmplxQR.h: declaration. | |
2090 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2091 (factorize, fsolve): Enable code code lssolve. | |
2092 (lssolve): disable unused args, write based in above sparse QR class. | |
2093 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2094 (factorize, fsolve): Enable code code lssolve. | |
2095 (lssolve): disable unused args, write based in above sparse QR class. | |
2096 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2097 Include CXSparse headers. | |
2098 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2099 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2100 | |
5607 | 2101 2006-02-08 John W. Eaton <jwe@octave.org> |
2102 | |
2103 * Array-util.h (calc_permutated_idx): Delete. | |
2104 * Array.cc (permute_vector): New data structure. | |
2105 (permute_vector_compare): New function. | |
2106 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2107 improved performance. | |
2108 | |
5606 | 2109 2006-02-04 David Bateman <dbateman@free.fr> |
2110 | |
2111 * COLAMD: Remove all files, as now unused. | |
2112 | |
5604 | 2113 2006-01-31 John W. Eaton <jwe@octave.org> |
2114 | |
2115 * Sparse.h (Sparse<T>::nzmax): New function. | |
2116 (Sparse<T>::nnz): Rename from nonzero. | |
2117 Change all uses of old nnz function to be nzmax. Change all uses | |
2118 of nonzero to be nnz. | |
2119 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2120 | |
5603 | 2121 2006-01-21 David Bateman <dbateman@free.fr> |
2122 | |
2123 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2124 (bool octave_idx_vector_comp): New function. | |
2125 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2126 indexed idx_vector sorting function. | |
2127 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2128 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2129 sorting. | |
2130 (bool octave_idx_vector_comp): Declaration. | |
2131 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2132 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2133 class. | |
2134 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2135 | |
5602 | 2136 2006-01-30 John W. Eaton <jwe@octave.org> |
2137 | |
2138 * so-array.h (streamoff_array::nnz): New funtion. | |
2139 * boolNDArray.h (boolNDArray::nnz): New function. | |
2140 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2141 * MArray.h (MArray<T>::nnz): New function. | |
2142 | |
5587 | 2143 2006-01-04 David Bateman <dbateman@free.fr> |
2144 | |
2145 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2146 elements not being sorted in return matrix. Sort them, and make | |
2147 solver select between two algorithms to further improve the | |
2148 performance. | |
2149 * dSparse.cc: include oct-sort.h. | |
2150 * CSparse.cc: ditto. | |
2151 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2152 | |
5586 | 2153 2005-12-28 David Bateman <dbateman@free.fr> |
2154 | |
5587 | 2155 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2156 faster in all cases, and significantly so for low density or small | |
2157 order problems. | |
5586 | 2158 |
5552 | 2159 2005-11-30 John W. Eaton <jwe@octave.org> |
2160 | |
2161 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2162 before setting any values in either array. | |
2163 | |
5547 | 2164 2005-11-29 John W. Eaton <jwe@octave.org> |
2165 | |
2166 * oct-uname.h, oct-uname.cc: New files. | |
2167 * Makefile.in: Add them to the appropriate lists. | |
2168 | |
5535 | 2169 2005-11-11 John W. Eaton <jwe@octave.org> |
2170 | |
2171 * Array.cc (Array<T>::indexN): Simplify. | |
2172 | |
5533 | 2173 2005-11-09 John W. Eaton <jwe@octave.org> |
2174 | |
2175 * oct-inttypes.h (octave_int::operator char (void) const): | |
2176 New conversion op. | |
2177 | |
5527 | 2178 2005-11-01 John W. Eaton <jwe@octave.org> |
2179 | |
2180 * Makefile.in (distclean): Also remove oct-types.h. | |
2181 From Quentin Spencer <qspencer@ieee.org>. | |
2182 | |
5526 | 2183 2005-10-31 David Bateman <dbateman@free.fr> |
2184 | |
2185 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2186 preprocessor defined TRUE/FALSE. | |
2187 | |
5523 | 2188 2005-10-30 John W. Eaton <jwe@octave.org> |
2189 | |
2190 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2191 (MX_ND_CUMULATIVE_OP): Likewise. | |
2192 | |
5519 | 2193 2005-10-29 John W. Eaton <jwe@octave.org> |
2194 | |
5520 | 2195 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2196 things up. Simplify. | |
2197 | |
5519 | 2198 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2199 case for "vector_equivalent". | |
2200 | |
2201 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2202 | |
5518 | 2203 2005-10-28 John W. Eaton <jwe@octave.org> |
2204 | |
2205 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2206 From Quentin Spencer <qspencer@ieee.org>. | |
2207 | |
2208 * sparse-base-chol.cc: Use C++ true/false instead of | |
2209 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2210 | |
5516 | 2211 2005-10-27 John W. Eaton <jwe@octave.org> |
2212 | |
2213 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2214 | |
5512 | 2215 2005-10-26 John W. Eaton <jwe@octave.org> |
2216 | |
2217 * oct-sparse.h: New file. | |
2218 * oct-sparse.h.in: Delete. | |
2219 | |
5511 | 2220 2005-10-26 David Bateman <dbateman@free.fr> |
2221 | |
2222 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2223 * sparse-base-chol.cc: ditto. | |
2224 | |
5508 | 2225 2005-10-26 John W. Eaton <jwe@octave.org> |
2226 | |
2227 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2228 <arno@heho.snv.jussieu.fr>: | |
2229 | |
5509 | 2230 * dSparse.h (real (const SparseComplexMatrix&)): |
2231 Publish externally used friend function. | |
2232 (imag (const SparseComplexMatrix&)): Likewise. | |
2233 | |
5508 | 2234 * dColVector.h (real (const ComplexColumnVector&)): |
2235 Publish externally used friend function. | |
2236 (imag (const ComplexColumnVector&)): Likewise. | |
2237 | |
2238 * dNDArray.h (real (const ComplexNDArray&)): | |
2239 Publish externally used friend function. | |
2240 (imag (const ComplexNDArray&)): Likewise. | |
2241 | |
2242 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2243 Move decl outside class. No need to be friend. | |
2244 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2245 (imag (const ComplexMatrix&)): Likewise. | |
2246 | |
2247 * CMatrix.h: (operator * (const ColumnVector&, const | |
2248 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2249 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2250 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2251 Likewise. | |
2252 | |
5506 | 2253 2005-10-23 David Bateman <dbateman@free.fr> |
2254 | |
2255 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2256 elements need to be removed. | |
2257 | |
2258 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2259 versions of cholmod. | |
2260 | |
2261 * CSparse.cc (tinverse): New private function for the inversion of | |
2262 an upper triangular matrix. | |
2263 (dinverse): ditto for diagonal matrices. | |
2264 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2265 using tinverse and dinverse. | |
2266 (fsolve): Use cholmod to implement Cholesky solver. | |
2267 * CSparse.h (tinverse, dinverse): Declarations | |
2268 (inverse): Alter declaration to include SparseType. | |
2269 | |
2270 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2271 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2272 | |
2273 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2274 | |
2275 * sparse-util.cc: New file for sparse utility functions. | |
2276 * sparse-util.h: New file with declarations of sparse utility | |
2277 functions. | |
2278 | |
2279 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2280 on cholmod. | |
2281 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2282 class based on cholmod. | |
2283 | |
2284 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2285 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2286 | |
2287 * SparsedbleCHOL.cc: ditto. | |
2288 * SparsedbleCHOL.h: ditto. | |
2289 | |
2290 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2291 (INCLUDES): Include sparse-util.h | |
2292 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2293 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2294 | |
5489 | 2295 2005-10-12 John W. Eaton <jwe@octave.org> |
2296 | |
2297 * oct-env.cc (octave_env::have_x11_display): New function. | |
2298 * oct-env.h: Provide decl. | |
2299 | |
5476 | 2300 2005-09-29 John W. Eaton <jwe@octave.org> |
2301 | |
2302 * file-stat.h (file_stat::mode): New function. | |
2303 | |
2304 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2305 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2306 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2307 * file-stat.h: Provide decls. | |
2308 | |
2309 2005-09-28 John W. Eaton <jwe@octave.org> | |
2310 | |
2311 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2312 * file-ops.h: Provide decl. | |
2313 | |
5454 | 2314 2005-09-19 David Bateman <dbateman@free.fr> |
2315 | |
2316 * oct-env.cc (octave_env::do_get_home_directory): | |
2317 Also check HOMEDRIVE under mingw. | |
2318 | |
5455 | 2319 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2320 | |
5453 | 2321 2005-09-16 John W. Eaton <jwe@octave.org> |
2322 | |
2323 * oct-syscalls.cc: Include lo-utils.h here. | |
2324 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2325 | |
2326 * lo-cutils.c (octave_waitpid): New function. | |
2327 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2328 oct-syscalls.cc | |
2329 | |
2330 | |
2331 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2332 waitpid in src/sysdep.h. Make this header C-compatible. | |
2333 | |
2334 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2335 Change all uses. | |
2336 | |
5451 | 2337 2005-09-15 John W. Eaton <jwe@octave.org> |
2338 | |
2339 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2340 | |
2341 * oct-sparse.h.in: New file. | |
2342 * Makefile.in (DISTFILES): Include it in the list. | |
2343 (INCLUDES): Add oct-sparse.h to the list. | |
2344 | |
2345 2005-09-15 David Bateman <dbateman@free.fr> | |
2346 | |
2347 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2348 headers. Remove include of umfpack.h. | |
2349 * CSparse.cc : ditto. | |
2350 * SparsedbleLU.cc : ditto. | |
2351 * SparseCmplxLU.cc : ditto. | |
2352 | |
2353 * COLAMD : Remove colamd files from octave. | |
2354 * COLAMD.files : delete. | |
2355 * COLAMD.README : delete. | |
2356 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2357 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2358 under mingw. | |
2359 | |
2360 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2361 in definition. | |
2362 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2363 change of cast not allowed under g++ 3.x. | |
2364 * lo-utils.h (octave_w32_library_search): Declaration. | |
2365 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2366 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2367 | |
5442 | 2368 2005-09-07 John W. Eaton <jwe@octave.org> |
2369 | |
2370 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2371 based on current code in Bash. Handle a few more escape | |
2372 sequences. Do a better job of decoding \W. | |
2373 | |
5438 | 2374 2005-09-04 David Bateman <dbateman@free.fr> |
2375 | |
2376 * COLAMD: Update version of colamd to v2.4. | |
2377 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2378 colamd.c for long version. | |
2379 | |
5429 | 2380 2005-08-25 David Bateman <dbateman@free.fr> |
2381 | |
2382 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2383 mixed sparse/full multiply. | |
2384 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2385 mixed sparse/full multiply. | |
2386 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2387 mixed sparse/full multiply operators. | |
2388 | |
5420 | 2389 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2390 | |
2391 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2392 avoid warnings for unsigned types. | |
2393 | |
5404 | 2394 2005-07-07 John W. Eaton <jwe@octave.org> |
2395 | |
2396 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2397 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2398 | |
5392 | 2399 2005-06-15 John W. Eaton <jwe@octave.org> |
2400 | |
5394 | 2401 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2402 Flush stdout here. | |
2403 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2404 | |
5392 | 2405 * Array.h (Array::resize): Change int args to octave_idx_type. |
2406 | |
5386 | 2407 2005-06-14 John W. Eaton <jwe@octave.org> |
2408 | |
5389 | 2409 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2410 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2411 octave_is_NaN_or_NA to xisnan. | |
2412 | |
2413 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2414 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2415 | |
2416 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2417 lo_ieee_isnan. | |
2418 | |
5387 | 2419 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2420 value is greater than FLT_MAX. | |
2421 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2422 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2423 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2424 | |
2425 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2426 values too. | |
2427 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2428 | |
2429 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2430 NA, Inf values. | |
2431 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2432 |
5385 | 2433 2005-06-14 David Bateman <dbateman@free.fr> |
2434 | |
5387 | 2435 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2436 NA values. | |
2437 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2438 |
5379 | 2439 2005-06-02 John W. Eaton <jwe@octave.org> |
2440 | |
2441 * Array.cc (assignN): Try harder to correctly resize previously | |
2442 empty LHS. | |
2443 | |
5351 | 2444 2005-05-16 David Bateman <dbateman@free.fr> |
2445 | |
2446 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2447 * CSparse.h: ditto. | |
2448 | |
5346 | 2449 2005-05-10 David Bateman <dbateman@free.fr> |
2450 | |
2451 * dSparse.cc (determinant): Free numeric factorization after | |
2452 sucessful calculation. | |
2453 * CSparse.cc (determinant): ditto. | |
2454 | |
5340 | 2455 2005-05-06 John W. Eaton <jwe@octave.org> |
2456 | |
2457 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2458 chol_mat. | |
2459 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2460 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2461 Provide decls. | |
2462 | |
2463 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2464 indexing chol_mat. | |
2465 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2466 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2467 Provide decls. | |
2468 | |
5338 | 2469 2005-05-05 John W. Eaton <jwe@octave.org> |
2470 | |
2471 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2472 retval before return. | |
2473 | |
5336 | 2474 2005-05-04 John W. Eaton <jwe@octave.org> |
2475 | |
2476 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2477 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2478 | |
5330 | 2479 2005-05-02 John W. Eaton <jwe@octave.org> |
2480 | |
2481 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2482 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2483 | |
5322 | 2484 2005-04-29 David Bateman <dbateman@free.fr> |
2485 | |
5330 | 2486 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2487 double. Correct indexing for upper diagonal elements for sparse | |
2488 tridiagonal. | |
5322 | 2489 * CSparse.cc (trisolve): ditto. |
2490 | |
5330 | 2491 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2492 UMFPACK for 64-bit. | |
5322 | 2493 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2494 UMFPACK_ZNAME(*). | |
2495 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2496 | |
5330 | 2497 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2498 UMFPACK for 64-bit. | |
5322 | 2499 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2500 UMFPACK_DNAME(*). | |
2501 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2502 | |
5330 | 2503 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2504 triangular back/forward substitution code. | |
5322 | 2505 * CSparse.cc (ltsolve, utsolve): ditto. |
2506 | |
5330 | 2507 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2508 from spparms("spumoni",1). | |
5322 | 2509 * CSparse.cc (solve): ditto |
2510 | |
5330 | 2511 * SparseType.cc (SparseType(void)): Print info for |
2512 spparms("spumoni",1). | |
5322 | 2513 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2514 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2515 const octave_idx_type, const octave_idx_type)): New constructors. | |
2516 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2517 Detect row permuted lower triangular and column permuted upper |
2518 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2519 |
2520 * SparseType.h: Simplify the permutation code. | |
2521 (SparseType(const matrix_type), SparseType | |
2522 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2523 SparseType(const matrix_type, const octave_idx_type, | |
2524 const octave_idx_type)): Declarations. | |
2525 | |
5304 | 2526 2005-04-25 John W. Eaton <jwe@octave.org> |
2527 | |
2528 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2529 array and its contents. | |
2530 | |
5303 | 2531 2005-04-22 John W. Eaton <jwe@octave.org> |
2532 | |
2533 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2534 const here now that rl_terminal_name is declared const char*. | |
2535 | |
5294 | 2536 2005-04-21 John W. Eaton <jwe@octave.org> |
2537 | |
2538 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2539 | |
5285 | 2540 2005-04-19 John W. Eaton <jwe@octave.org> |
2541 | |
2542 * Array.cc (assignN): Don't crash if the index list is empty. | |
2543 | |
5282 | 2544 2005-04-14 David Bateman <dbateman@free.fr> |
2545 | |
2546 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2547 * SparsedbleLU.cc: Ditto. | |
2548 * SparseCmplxLU.h: Definition. | |
2549 * SparsedbleLU.h: ditto. | |
2550 | |
2551 * SparseType.cc (transpose): New function. | |
2552 * SparseType.h (transpose): Definition. | |
2553 | |
5278 | 2554 2005-04-11 John W. Eaton <jwe@octave.org> |
2555 | |
2556 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2557 fortran code that could end up calling XSTOPX. | |
2558 | |
5277 | 2559 2005-04-10 David Bateman <dbateman@free.fr> |
2560 | |
2561 * Makefile.in: include oct-types in INCLUDES so that it is | |
2562 installed | |
2563 | |
5275 | 2564 2005-04-08 John W. Eaton <jwe@octave.org> |
2565 | |
5276 | 2566 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2567 | |
5275 | 2568 * Initial merge of 64-bit changes from Clinton Chee: |
2569 | |
2570 2005-04-07 John W. Eaton <jwe@octave.org> | |
2571 | |
2572 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2573 | |
2574 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2575 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2576 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2577 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2578 Use octave_idx_type instead of int where needed. | |
2579 | |
2580 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2581 | |
2582 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2583 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2584 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2585 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2586 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2587 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2588 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2589 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2590 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2591 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2592 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2593 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2594 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2595 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2596 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2597 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2598 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2599 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2600 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2601 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2602 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2603 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2604 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2605 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2606 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2607 str-vec.cc, str-vec.h: | |
2608 Use octave_idx_type instead of int where needed. | |
2609 | |
2610 2005-04-01 John W. Eaton <jwe@octave.org> | |
2611 | |
2612 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2613 | |
2614 * oct-types.h.in: New file. | |
2615 | |
2616 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2617 | |
2618 * lo-utils.cc (NINTbig): New function. | |
2619 * lo-utils.h: Provide decl. | |
2620 | |
5269 | 2621 2005-04-06 David Bateman <dbateman@free.fr> |
2622 | |
2623 * Makefile.in: Link to UMFPACK_LIBS. | |
2624 | |
5265 | 2625 2005-04-05 John W. Eaton <jwe@octave.org> |
2626 | |
2627 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2628 | |
5264 | 2629 2005-04-01 John W. Eaton <jwe@octave.org> |
2630 | |
2631 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2632 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2633 when resizing A. When performing the assignment, just check that | |
2634 the number of elements in RHS matches the number of elements | |
2635 indexed by IDX-LIST. | |
2636 | |
5260 | 2637 2005-03-30 John W. Eaton <jwe@octave.org> |
2638 | |
5261 | 2639 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2640 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2641 | |
2642 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2643 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2644 wrappers from oct-cmplx.h. | |
5260 | 2645 |
2646 * oct-cmplx.h: Provide typedef only. | |
2647 | |
2648 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2649 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2650 Likewise. | |
2651 | |
5247 | 2652 2005-03-26 John W. Eaton <jwe@octave.org> |
2653 | |
2654 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2655 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2656 | |
5209 | 2657 2005-03-15 John W. Eaton <jwe@octave.org> |
2658 | |
2659 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2660 | |
5203 | 2661 2005-03-14 John W. Eaton <jwe@octave.org> |
2662 | |
2663 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2664 (DISTDIRS): Don't include UMFPACK. | |
2665 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2666 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2667 flags for these files. | |
2668 Don't include include $(srcdir)/UMFPACK.files. | |
2669 Don't include include $(srcdir)/UMFPACK.rules. | |
2670 | |
2671 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2672 Delete files. | |
2673 * UMFPACK: Delete directory tree. | |
2674 | |
2675 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2676 * CSparse.cc: Likewise. | |
2677 * SparsedbleLU.cc: Likewise. | |
2678 * SparseCmplxLU.cc: Likewise. | |
2679 | |
2680 2005-03-14 David Bateman <dbateman@free.org> | |
2681 | |
2682 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2683 Allow compilation to succeed if UMFPACK is not available. | |
2684 | |
5196 | 2685 2005-03-09 John W. Eaton <jwe@octave.org> |
2686 | |
2687 * Makefile.in (bin-dist): Delete target. | |
2688 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2689 | |
5173 | 2690 2005-03-01 John W. Eaton <jwe@octave.org> |
2691 | |
2692 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2693 * Makefile.in: Remove them from the lists. | |
2694 | |
5169 | 2695 2005-02-28 John W. Eaton <jwe@octave.org> |
2696 | |
2697 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2698 | |
5167 | 2699 2005-02-27 David Bateman <dbateman@free.org> |
2700 | |
5169 | 2701 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2702 in the sparse matrix. | |
5167 | 2703 |
5164 | 2704 2005-02-25 John W. Eaton <jwe@octave.org> |
2705 | |
2706 Sparse merge. | |
2707 | |
2708 2005-02-13 David Bateman <dbateman@free.fr> | |
2709 | |
2710 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2711 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2712 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2713 solver into separate functions for the diagonal, upper, lower | |
2714 triangular, tridiagonal, banded and full cases. | |
2715 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2716 version that probes the matrix type and another that assumes the type | |
2717 is passed. | |
2718 | |
2719 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2720 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2721 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2722 (SparseMatrix::solve): Likewise | |
2723 | |
2724 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2725 Declaration of new functions | |
2726 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2727 Likewise | |
2728 | |
2729 * CSparse.cc (operator !): Reverse the sense of the test. | |
2730 * dSpase.cc (operator !): Likewise | |
2731 | |
2732 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2733 triangular_col_perm, sparse_info): Remove matrix type code | |
2734 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2735 triangular_col_perm, sparse_info): Likewise | |
2736 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2737 triangular_col_perm, sparse_info): Likewise | |
2738 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2739 triangular_col_perm, sparse_info): Likewise | |
2740 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2741 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2742 | |
2743 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2744 | |
2745 * SparseType.h: New class for the matrix type used in solvers | |
2746 * SparseType.cc: methods of sparse matrix type class | |
2747 | |
2748 * Makefile.in: Add SparseType.cc | |
2749 | |
2750 2005-02-01 David Bateman <dbateman@free.fr> | |
2751 | |
2752 * UMFPACK: Update to version 4.4 | |
2753 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2754 keep octave specific test files | |
2755 | |
2756 2005-01-23 David Bateman <dbateman@free.fr> | |
2757 | |
2758 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2759 tridiagonal and banded cholesky solvers. Remove calculation of | |
2760 condition number for banded solvers. | |
2761 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2762 | |
2763 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2764 new functions. | |
2765 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2766 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2767 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2768 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2769 ditto | |
2770 | |
2771 * Sparse.cc (int Sparse<T>::type (int) const, | |
2772 bool Sparse<T>::is_dense (void) const): New functions definition | |
2773 | |
2774 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2775 so it actually is cached, but disable | |
2776 | |
2777 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2778 for compatiability | |
2779 | |
2780 2005-01-18 David Bateman <dbateman@free.fr> | |
2781 | |
2782 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2783 Modify calculation of number elements to skip between copied blocks. | |
2784 | |
2785 2005-01-07 David Bateman <dbateman@free.fr> | |
2786 | |
2787 * Sparse.h : Reverse definitions of numel and nelem. | |
2788 * Sparse.cc (assign1): Use numel and not nelem | |
2789 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2790 | |
2791 2005-01-07 David Bateman <dbateman@free.fr> | |
2792 | |
2793 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2794 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2795 ComplexDET | |
2796 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2797 by DET | |
2798 * dSparse.h (determinant): ditto | |
2799 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2800 SparseComplexDET by ComplexDET | |
2801 * CSparse.h (determinant): ditto | |
2802 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2803 SparseCmplxDET.cc: delete files | |
2804 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2805 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2806 | |
2807 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2808 local variable to avoid variable shadowing. | |
2809 * dSparse.cc (SparseMatrix::solve): ditto. | |
2810 | |
2811 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2812 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2813 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2814 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2815 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2816 sparse-sort.h: Remove additional licensing clause with authors | |
2817 permission. | |
2818 | |
2819 2004-12-30 John W. Eaton <jwe@octave.org> | |
2820 | |
2821 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2822 Loop counter is int, not size_t. | |
2823 | |
2824 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2825 | |
2826 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2827 | |
2828 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2829 Delete unused variables. | |
2830 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2831 variables and variables that might be clobbered by longjmp. | |
2832 | |
2833 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2834 min, max): Delete unused variables. | |
2835 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2836 variables and variables that might be clobbered by longjmp. | |
2837 | |
2838 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2839 | |
2840 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
2841 Loop counter is int, not size_t. | |
2842 | |
2843 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
2844 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
2845 | |
2846 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
2847 lists consistently. | |
2848 | |
2849 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
2850 | |
2851 2004-12-29 John W. Eaton <jwe@octave.org> | |
2852 | |
2853 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
2854 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
2855 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
2856 $(UMFPACK_EXTRAS) to the list. | |
2857 (DISTDIRS): New variable. | |
2858 (dist): Handle $(DISTDIRS). | |
2859 | |
2860 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
2861 Andy Adler <adler@site.uottawa.ca>. | |
2862 | |
2863 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
2864 | |
2865 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
2866 without directory prefix. | |
2867 | |
2868 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
2869 $(UMFPACK_OBJ) to the list. | |
2870 | |
2871 * COLAMD: New directory. | |
2872 * COLAMD.files: New file. | |
2873 * Makefile.in: Include COLAMD.files. | |
2874 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
2875 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
2876 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
2877 | |
2878 * UMFPACK: New directory. | |
2879 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
2880 New files. | |
2881 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
2882 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
2883 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
2884 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
2885 | |
2886 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
2887 (INCLUDES): Add it to the list. | |
2888 (SPARSE_MX_OP_SRC): New variable. | |
2889 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
2890 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2891 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2892 | |
2893 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
2894 * Makefile.in (DISTFILES): Add them to the lists. | |
2895 | |
2896 * oct-spparms.h, sparse-sort.h: New files. | |
2897 * Makefile.in (INCLUDES): Add them to the list. | |
2898 | |
2899 * oct-spparms.cc, sparse-sort.cc: New files. | |
2900 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
2901 | |
2902 * sparse-base-lu.cc: New file. | |
2903 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
2904 | |
2905 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
2906 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
2907 SparsedbleLU.cc: New files. | |
2908 * Makefile.in (MATRIX_SRC): Add them to the list. | |
2909 | |
2910 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
2911 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
2912 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
2913 Sparse-op-defs.h: New files. | |
2914 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
2915 | |
2916 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
2917 Sparse-C.cc: New files. | |
2918 * Makefile.in (TI_SRC): Add them to the list. | |
2919 | |
5149 | 2920 2005-02-18 John W. Eaton <jwe@octave.org> |
2921 | |
2922 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
2923 Pass current directory to octave_env::make_absolute. | |
2924 Save value returned from octave_env::make_absolute in local var. | |
2925 Pass const char*, not std::string as first arg of resolvepath. | |
2926 Provide decl for resolved_len. | |
2927 | |
5148 | 2928 2005-02-18 John W. Eaton <jwe@octave.org> |
2929 | |
2930 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
2931 than number of dimenensions of permuted matrix. | |
2932 | |
2933 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
2934 * Array-util.cc (calc_permutated_idx): Likewise. | |
2935 | |
5139 | 2936 2005-02-10 David Bateman <dbateman@free.fr> |
2937 | |
2938 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
2939 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
2940 | |
5137 | 2941 2005-02-09 John W. Eaton <jwe@octave.org> |
2942 | |
5138 | 2943 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
2944 * file-ops.h: Provide decls. | |
2945 | |
5137 | 2946 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
2947 | |
5136 | 2948 2005-02-08 John W. Eaton <jwe@octave.org> |
2949 | |
2950 * Array-util.cc (freeze): Improve error message. | |
2951 | |
5120 | 2952 2005-01-26 David Bateman <dbateman@free.fr> |
2953 | |
5121 | 2954 * Array.cc (Array<T>::insert): Handle generic case, not just |
2955 special case for fast concatenation. | |
5120 | 2956 |
5110 | 2957 2005-01-18 John W. Eaton <jwe@octave.org> |
2958 | |
2959 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
2960 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
2961 | |
2962 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
2963 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
2964 | |
5108 | 2965 2005-01-18 David Bateman <dbateman@free.fr> |
2966 | |
2967 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2968 Modify calculation of number elements to skip between copied blocks. | |
2969 | |
2970 2005-01-18 John W. Eaton <jwe@octave.org> | |
2971 | |
2972 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
2973 error handler, to warn about resizing. | |
2974 | |
5105 | 2975 2004-12-27 Martin Dalecki <martin@dalecki.de> |
2976 | |
2977 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
2978 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
2979 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
2980 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2981 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
2982 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
2983 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
2984 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
2985 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
2986 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
2987 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
2988 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
2989 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
2990 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
2991 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
2992 Delete #pragma implementation. | |
2993 | |
2994 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
2995 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
2996 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
2997 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
2998 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
2999 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
3000 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
3001 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
3002 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
3003 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3004 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
3005 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
3006 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
3007 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
3008 Delete #pragma interface. | |
3009 | |
5098 | 3010 2004-12-17 John W. Eaton <jwe@octave.org> |
3011 | |
3012 * lo-cieee.c (lo_ieee_signbit): New function. | |
3013 * lo-ieee.h: Provide decl. | |
3014 Don't define lo_ieee_signbit as a macro here. | |
3015 From Orion Poplawski <orion@cora.nwra.com>. | |
3016 | |
5085 | 3017 2004-11-18 John W. Eaton <jwe@octave.org> |
3018 | |
3019 * int32NDArray.cc (pow): Delete instantiation. | |
3020 * int16NDArray.cc (pow): Likewise. | |
3021 * int8NDArray.cc (pow): Likewise. | |
3022 * uint32NDArray.cc (pow): Likewise. | |
3023 * uint16NDArray.cc (pow): Likewise. | |
3024 * uint8NDArray.cc (pow): Likewise. | |
3025 | |
5081 | 3026 2004-11-17 John W. Eaton <jwe@octave.org> |
3027 | |
5085 | 3028 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
3029 Now static. | |
3030 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
3031 DEFAULT_TEXMFDBS): Delete unused macros. | |
3032 | |
5081 | 3033 * Array.cc (Array<T>::index): Call generic N-d indexing function |
3034 if idx_arg is N-d. | |
3035 | |
5073 | 3036 2004-11-09 David Bateman <dbateman@free.fr> |
3037 | |
3038 * dNDArray.cc (concat): Delete. | |
3039 (NDArray::concat): New methods. | |
3040 * dNDArray.h: Provide decls. | |
3041 | |
3042 * CNDArray.cc (concat): Delete. | |
3043 (ComplexNDArray::concat): New methods. | |
3044 * CNDArray.h: Provide decls. | |
3045 | |
3046 * boolNDArray.cc (concat): Delete. | |
3047 (boolNDArray::concat): New methods. | |
3048 * boolNDArray.h: Provide decls. | |
3049 | |
3050 * chNDArray.cc (concat): Delete. | |
3051 (charNDArray::concat): New methods. | |
3052 * chNDArray.h: Provide decls. | |
3053 | |
3054 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
3055 Delete macros. | |
3056 | |
3057 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3058 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3059 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
3060 | |
3061 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3062 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3063 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
3064 | |
3065 * intNDArray.cc (intNDArray<T>::concat): New method. | |
3066 * intNDArray.h: Provide decl. | |
3067 | |
5072 | 3068 2004-11-08 John W. Eaton <jwe@octave.org> |
3069 | |
3070 * oct-inttypes.cc: New file. | |
3071 * Makefile.in (TI_SRC): Add it to the list. | |
3072 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
3073 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
3074 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
3075 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
3076 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
3077 New macros for comparison operations. Avoid potential | |
3078 problems with default conversions when comparing signed and | |
3079 unsigned values. | |
3080 | |
5061 | 3081 2004-11-03 John W. Eaton <jwe@octave.org> |
3082 | |
3083 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3084 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3085 | |
5052 | 3086 2004-10-19 John W. Eaton <jwe@octave.org> |
3087 | |
3088 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3089 | |
5047 | 3090 2004-10-18 John W. Eaton <jwe@octave.org> |
3091 | |
3092 * Array.cc (assign2): Save result of squeeze operation. | |
3093 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3094 | |
5095 | 3095 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3096 |
3097 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3098 flag whether transform in- or out-of-place. | |
3099 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3100 (octave_fftw_planner::create_plan): Use it. | |
3101 | |
5039 | 3102 2004-09-24 John W. Eaton <jwe@octave.org> |
3103 | |
3104 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3105 any empty matrix, not just []. | |
3106 | |
5030 | 3107 2004-09-23 John W. Eaton <jwe@octave.org> |
3108 | |
3109 * mx-ops: Include scalar zero value in type definitions. | |
3110 Delete zero information from ops section. | |
3111 * mk-ops.awk: Use type-specific zero info. | |
3112 | |
3113 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3114 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3115 LHS and RHS. | |
3116 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3117 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3118 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3119 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3120 | |
3121 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3122 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3123 tree_to_mat_idx. | |
3124 | |
3125 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3126 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3127 Likewise for the "if (b_val & one)" test. | |
3128 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3129 | |
5029 | 3130 2004-09-23 David Bateman <dbateman@free.fr> |
3131 | |
3132 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3133 New macros. Use them to define mixed intX-double and double-intX ops. | |
3134 | |
5021 | 3135 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3136 | |
3137 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3138 Fix doc string layout to avoid overfull hbox in printed output. | |
3139 | |
5015 | 3140 2004-09-21 John W. Eaton <jwe@octave.org> |
3141 | |
3142 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3143 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3144 For "native", set actual native format. | |
3145 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3146 | |
5008 | 3147 2004-09-17 David Bateman <dbateman@free.fr> |
3148 | |
3149 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3150 calculation of the unitary matrix optional. | |
3151 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3152 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3153 | |
4998 | 3154 2004-09-15 David Bateman <dbateman@free.fr> |
3155 | |
3156 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3157 New function to set the comparison function for the sort. | |
3158 | |
4985 | 3159 2004-09-10 John W. Eaton <jwe@octave.org> |
3160 | |
3161 * lo-mappers.cc (xround): Fix typo. | |
3162 | |
4979 | 3163 2004-09-08 John W. Eaton <jwe@octave.org> |
3164 | |
3165 * Array.h (Array::~Array): Declare virtual. | |
3166 | |
3167 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3168 initializaion list. Don't set rep->count since the rep | |
3169 constructor does that. | |
3170 | |
4968 | 3171 2004-09-07 John W. Eaton <jwe@octave.org> |
3172 | |
4970 | 3173 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3174 (oct_data_conv::data_type_as_string): Likewise. | |
3175 | |
3176 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3177 | |
4968 | 3178 * Range.cc (round): Delete unused function. |
3179 | |
3180 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3181 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3182 | |
3183 * oct-inttypes.h: Include <cmath> here. | |
3184 | |
4964 | 3185 2004-09-03 David Bateman <dbateman@free.fr> |
3186 | |
3187 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3188 New functions for boolean matrix concatenation. | |
3189 * boolNDArray.h: Provide decls. | |
3190 | |
4963 | 3191 2004-09-03 John W. Eaton <jwe@octave.org> |
3192 | |
4964 | 3193 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3194 to avoid signed/unsigned int comparison problems. | |
3195 | |
3196 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3197 for mixed integer and double types. | |
3198 | |
3199 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3200 separately, and only if needed. | |
3201 | |
4963 | 3202 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3203 static_cast for type conversion. | |
3204 | |
4953 | 3205 2004-09-01 John W. Eaton <jwe@octave.org> |
3206 | |
3207 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3208 operator /): Handle mixed integer/double ops. If op generates a | |
3209 NaN, set result to 0. | |
3210 (octave_int::operator - (void)): Convert to double, then negate, | |
3211 then fit to range. | |
3212 | |
3213 * mx-ops: Define integer types. Include declarations for mixed | |
3214 integer/double ops. | |
3215 | |
4952 | 3216 2004-08-31 John W. Eaton <jwe@octave.org> |
3217 | |
3218 * oct-inttypes.h (pow): Args now const reference. | |
3219 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3220 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3221 New member functions. | |
3222 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3223 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3224 Define in terms of >>=. | |
3225 (operator << (const octave_int<T1>& x, const T2& y)): | |
3226 Define in terms of <<=. | |
3227 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3228 we get proper saturation properties. | |
3229 | |
3230 2004-08-31 David Bateman <dbateman@free.fr> | |
3231 | |
3232 * oct-inttypes.h (pow (constT, T)): New template. | |
3233 | |
3234 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3235 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3236 | |
4949 | 3237 2004-08-31 John W. Eaton <jwe@octave.org> |
3238 | |
3239 * oct-inttypes.h (octave_int::byte_size): New function. | |
3240 | |
4944 | 3241 2004-08-31 John W. Eaton <jwe@octave.org> |
3242 | |
4946 | 3243 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3244 | |
4944 | 3245 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3246 Explicitly number enum elements. | |
3247 | |
3248 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3249 std::string&, int&, oct_data_conv::data_type&, | |
3250 oct_data_conv::data_type&)): New function. | |
3251 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3252 oct_data_conv::data_type&)): New function. | |
3253 (oct_data_conv::data_type_as_string): New function. | |
3254 | |
3255 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3256 (write_int, do_write, Matrix::write): Delete. | |
3257 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3258 | |
3259 * byte-swap.h: Use template functions and specialization. | |
3260 Change all uses. | |
3261 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3262 | |
4943 | 3263 2004-08-30 John W. Eaton <jwe@octave.org> |
3264 | |
3265 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3266 specializations to avoid warnings about signed/unsigned comparisons. | |
3267 | |
3268 2004-08-28 John W. Eaton <jwe@octave.org> | |
3269 | |
3270 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3271 size_t, int, oct_mach_info::float_format)): New function. | |
3272 (GET_SIZED_INT_TYPE): New macro. | |
3273 (string_to_data_type): Use it to return sized types corresponding | |
3274 to Octave array data types. | |
3275 (strip_spaces): New function. | |
3276 (do_double_format_conversion, do_float_format_conversion): Pass | |
3277 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3278 float format. | |
3279 (do_double_format_conversion, | |
3280 IEEE_big_double_to_IEEE_little_double, | |
3281 VAX_D_double_to_IEEE_little_double, | |
3282 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3283 IEEE_little_double_to_IEEE_big_double, | |
3284 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3285 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3286 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3287 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3288 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3289 Cray_to_VAX_G_double): | |
3290 Pass data as void*, not double*. | |
3291 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3292 VAX_D_float_to_IEEE_little_float, | |
3293 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3294 IEEE_little_float_to_IEEE_big_float, | |
3295 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3296 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3297 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3298 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3299 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3300 Cray_to_VAX_G_float): | |
3301 Pass data as void*, not float*. | |
3302 | |
3303 2004-08-27 John W. Eaton <jwe@octave.org> | |
3304 | |
3305 * byte-swap.h (swap_bytes): New template versions, with | |
3306 specializations. | |
3307 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3308 Change all uses. | |
3309 | |
4940 | 3310 2004-08-24 David Bateman <dbateman@free.fr> |
3311 | |
3312 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3313 empty instead of checking final matrix. | |
3314 * dNDArray.cc (concat): Likewise. | |
3315 * CNDArray.cc (concat): Likewise. | |
3316 | |
3317 2004-08-23 David Bateman <dbateman@free.fr> | |
3318 | |
3319 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3320 non-existent dimensions. | |
3321 | |
4938 | 3322 2004-08-09 John W. Eaton <jwe@octave.org> |
3323 | |
3324 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3325 (const octave_int<U>&)): New member function. | |
3326 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3327 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3328 Now member functions instead of static in idx-vector.cc. | |
3329 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3330 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3331 New template constructors. | |
3332 | |
4932 | 3333 2004-08-05 John W. Eaton <jwe@octave.org> |
3334 | |
4933 | 3335 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3336 | |
4932 | 3337 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3338 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3339 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3340 | |
4929 | 3341 2004-08-03 John W. Eaton <jwe@octave.org> |
3342 | |
3343 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3344 arrays with more than two dimensions and only one non-singleton | |
3345 dimension, return a column vector. | |
3346 | |
4921 | 3347 2004-07-28 John W. Eaton <jwe@octave.org> |
3348 | |
3349 * oct-cmplx.h (pow (const Complex&, const double&): | |
3350 Convert second arg to complex to avoid libstdc++ bug. | |
3351 | |
4920 | 3352 2004-07-27 John W. Eaton <jwe@octave.org> |
3353 | |
3354 * oct-inttypes.h (bitshift): New arg, MASK. | |
3355 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3356 | |
4916 | 3357 2004-07-23 John W. Eaton <jwe@octave.org> |
3358 | |
3359 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3360 | |
4915 | 3361 2004-07-23 David Bateman <dbateman@free.fr> |
3362 | |
3363 * Array.cc, Array.h (cat_ra): Delete. | |
3364 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3365 (INSTANTIATE_ARRAY_CAT): Delete. | |
3366 | |
3367 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3368 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3369 | |
3370 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3371 | |
3372 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3373 chNDArray.h (concat): New function used for concatenation that does | |
3374 an indexed copy of one array into another. | |
3375 | |
3376 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3377 | |
3378 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3379 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3380 insertion of one NDArray into another. | |
3381 | |
3382 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3383 macros to define the int/uint concatenation functions. | |
3384 | |
3385 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3386 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3387 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3388 | |
3389 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3390 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3391 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3392 functions. | |
3393 | |
4911 | 3394 2004-07-22 David Bateman <dbateman@free.fr> |
3395 | |
3396 * oct-sort.h: Don't include oct-obj.h. | |
3397 | |
3398 * lo-specfun.cc (is_integer_value): New function. | |
3399 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3400 integer orders that cause overflow for small arguments. | |
3401 | |
4909 | 3402 2004-07-12 John W. Eaton <jwe@octave.org> |
3403 | |
3404 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3405 (bitshift (const octave_int<T>&, int)): New function. | |
3406 | |
4902 | 3407 2004-06-14 John W. Eaton <jwe@octave.org> |
3408 | |
3409 * mx-base.h: Include headers for new int types. | |
3410 | |
3411 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3412 NDArray::NDArray (const charNDArray&)): Delete. | |
3413 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3414 constructor. | |
3415 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3416 | |
3417 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3418 return type conversion. | |
3419 | |
3420 * ComplexNDArray.h, ComplexNDArray.cc | |
3421 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3422 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3423 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3424 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3425 | |
3426 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3427 | |
3428 * MArrayN.h: | |
3429 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3430 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3431 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3432 New constructors. | |
3433 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3434 ArrayN<T>::squeeze): | |
3435 New forwarding functions for return type conversion. | |
3436 | |
3437 * ArrayN.h: | |
3438 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3439 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3440 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3441 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3442 const dim_vector&)): New constructors. | |
3443 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3444 ArrayN<T>::transpose): | |
3445 New forwarding functions for return type conversion. | |
3446 | |
3447 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3448 New constructor. | |
3449 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3450 | |
3451 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3452 | |
3453 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3454 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3455 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3456 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3457 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3458 * Makefile.in: Add them to the appropriate lists. | |
3459 | |
4899 | 3460 2004-06-04 John W. Eaton <jwe@octave.org> |
3461 | |
3462 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3463 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3464 resize op. Change all uses. | |
3465 | |
4898 | 3466 2004-06-03 David Bateman <dbateman@free.fr> |
3467 | |
3468 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3469 greater than the existing number of dimensions in lvalue. | |
3470 | |
4887 | 3471 2004-04-30 David Bateman <dbateman@free.fr> |
3472 | |
3473 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3474 New arg, fill_value. | |
3475 (dim_vector::resize): Allow optional fill_value argument. | |
3476 | |
3477 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3478 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3479 more than one element in idx_vector. Resize the return value to | |
3480 the size of Array<idx_vector>. | |
3481 | |
3482 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3483 idx_vector that is shorter than a dim_vector. | |
3484 | |
4882 | 3485 2004-04-23 John W. Eaton <jwe@octave.org> |
3486 | |
3487 * oct-sort.cc: Don't include oct-obj.h. | |
3488 | |
4876 | 3489 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3490 | |
3491 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3492 Don't set invalid dimensions on return value. | |
3493 | |
4871 | 3494 2004-04-21 John W. Eaton <jwe@octave.org> |
3495 | |
3496 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3497 | |
4850 | 3498 2004-04-06 David Bateman <dbateman@free.fr> |
3499 | |
4870 | 3500 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3501 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3502 Make their behavior equivalent except for filling vs. not filling. | |
3503 | |
4850 | 3504 * oct-sort.cc: New template class for arbitrary sorting. |
3505 * oct-sort.h: Declaration of sort class. | |
3506 * Makefile: Add them to the appropriate lists. | |
3507 | |
4845 | 3508 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3509 | |
3510 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3511 | |
4844 | 3512 2004-04-02 David Bateman <dbateman@free.fr> |
3513 | |
3514 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3515 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3516 New N-d array versions. |
4844 | 3517 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3518 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3519 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3520 | |
3521 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3522 New functions. | |
3523 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3524 | |
3525 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3526 New functions. | |
3527 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3528 Provide decls. | |
3529 | |
4842 | 3530 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3531 | |
3532 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3533 work vector, not just when using a numerical Jacobian. | |
3534 | |
4834 | 3535 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3536 | |
4835 | 3537 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3538 Omit empty result args. | |
3539 | |
4834 | 3540 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3541 Move here from Array.h, check that size of array arg is not | |
3542 smaller than the size defined by the new dimensions. | |
3543 | |
4832 | 3544 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3545 | |
3546 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3547 a scalar or vector with an N-d array. | |
3548 | |
4826 | 3549 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3550 | |
4828 | 3551 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3552 matrix, return object that is the same size as the index. | |
3553 | |
4826 | 3554 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3555 Eliminate MT_RESULT args. Return value is always size of args. | |
3556 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3557 Eliminate EMPTY_RESULT arg. | |
3558 Return value is always size of matrix or N-d array arg. | |
3559 (TBM, FBM, NBM): Delete unused macros. | |
3560 | |
4821 | 3561 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3562 | |
3563 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3564 if all LHS dimensions are zero. For one index case, freeze and | |
3565 sort idx_vec before checking length, and do nothing if | |
3566 num_to_delete is zero. | |
4822 | 3567 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3568 |
4816 | 3569 2004-03-04 David Bateman <dbateman@free.fr> |
3570 | |
3571 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3572 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3573 | |
4811 | 3574 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3575 | |
3576 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3577 element. | |
3578 | |
3579 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3580 | |
3581 * Range.h (Range::Range): Add cache to member initialization list. | |
3582 (Range::clear_cache): New private function. | |
3583 | |
3584 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3585 Use clear cache. Don't do anything if range does not change. | |
3586 * Range.cc (Range::sort): Likewise. | |
3587 | |
4810 | 3588 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3589 | |
3590 * Range.cc (Range::matrix_value): Cache result. | |
3591 (Range::sort): Clear cache. | |
3592 * Range.h (Range::cache): New data member. | |
3593 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3594 (Range::print_range): Delete. | |
4808 | 3595 |
3596 2004-03-02 David Bateman <dbateman@free.fr> | |
3597 | |
3598 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3599 changes between them. Faster for small fft's. | |
3600 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3601 New member variables. | |
3602 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3603 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3604 Change all uses. | |
3605 (CHECK_SIMD_ALIGNMENT): New macro. | |
3606 (octave_fftw_planner::create_plan): Use it. | |
3607 | |
4806 | 3608 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3609 | |
3610 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3611 | |
3612 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3613 | |
3614 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3615 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3616 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3617 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3618 | |
3619 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3620 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3621 | |
4800 | 3622 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3623 | |
4802 | 3624 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3625 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3626 octave_rl_get_event_hook): Omit casts. | |
3627 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3628 Return value for function pointer typedef is now int. | |
3629 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3630 command_editor::event_hook_fcn): Likewise. | |
3631 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3632 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3633 Return type is now int. Return 0. | |
3634 | |
4800 | 3635 * EIG.cc (EIG::init, EIG::symmetric_init): |
3636 Query Lapack for workspace size. | |
3637 | |
4796 | 3638 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3639 | |
3640 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3641 Fix thinko in extending dimensions. | |
3642 | |
4791 | 3643 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3644 | |
3645 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3646 Don't compute values beyond the limits of the range. | |
3647 (operator << (std::ostream&, const Range&)): Likewise. | |
3648 | |
4786 | 3649 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3650 | |
4788 | 3651 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3652 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3653 From Paul Kienzle <pkienzle@users.sf.net>. | |
3654 | |
4786 | 3655 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3656 Rename from Array<T>::insert. | |
3657 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3658 Reinstate old Array<T>::insert function under this name. | |
3659 (Array<T>::insert (const Array<T>&, int, int)): | |
3660 New function. Dispatch to insert2 or insertN as appropriate. | |
3661 | |
4785 | 3662 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3663 | |
3664 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3665 Sprinkle with OCTAVE_QUIT. | |
3666 | |
5095 | 3667 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3668 |
3669 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3670 Add support for FFTW 3.x. Include the ability to | |
3671 use the real to complex transform for fft's of real matrices | |
3672 (octave_fftw_planner::create_plan2d): Delete. | |
3673 (octave_fftw::fft2d): Delete. | |
3674 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3675 New static functions. | |
3676 * oct-fftw.h: Update decls. | |
3677 | |
3678 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3679 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3680 transforms. 1D FFT of a matrix done as single call rather than | |
3681 loop. Update for FFTW 3.x | |
3682 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3683 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3684 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3685 | |
3686 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3687 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3688 functions for Nd arrays. | |
3689 * dNArray.h Provide decls. | |
3690 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3691 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3692 fourier transform functions for complex Nd arrays. | |
3693 * CNArray.h: Provide decls. | |
3694 | |
4765 | 3695 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3696 | |
3697 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3698 Make it work for N-d arrays. | |
3699 | |
3700 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3701 New function. | |
3702 | |
3703 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3704 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3705 New functions. | |
3706 * CNDArray.h: Provide decls. | |
3707 | |
4759 | 3708 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3709 | |
4760 | 3710 * Makefile.in (LINK_DEPS): Always define. |
3711 | |
4759 | 3712 * Array.cc (Array<T>::squeeze): Always return an array with at |
3713 least two dimensions. | |
3714 | |
4758 | 3715 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3716 | |
3717 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3718 * dNDArray.cc (NDArray::cat): New function. | |
3719 * dNDArray.h: Provide decls. | |
3720 * CNDArray.cc (complexNDArray::cat): New function. | |
3721 * CNDArray.h: Provide decls. | |
3722 * chNDArray.cc (charNDArray::cat): New function. | |
3723 * chNDArray.h: Provide decls. | |
3724 | |
4756 | 3725 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3726 | |
3727 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3728 (Array<T>assign2): Also call maybe_delete_elements for single | |
3729 index when rows and columns or LHS are both greater than 1. | |
3730 | |
4755 | 3731 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3732 | |
3733 * Array.cc (Array<T>::maybe_delete_elements): | |
3734 Check for index out of bounds. Handle one index. | |
3735 | |
3736 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3737 dim_vector (0) to create empty return vector. | |
3738 | |
4749 | 3739 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3740 | |
3741 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3742 non-empty LHS when the number of lhs dimensions is less than the | |
3743 number of indices. Detect error if attempting to resize non-empty | |
3744 LHS with colon indices. | |
3745 | |
4745 | 3746 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3747 | |
4747 | 3748 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3749 values unless the length of the new array is greater than 0. | |
3750 (Array<T>::resize_no_fill): Likewise. | |
3751 | |
3752 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3753 is equal to dimensions(i). | |
3754 | |
3755 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3756 get_zero_len_size, number_of_elements): | |
3757 Delete unused functions. | |
3758 | |
3759 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3760 number_of_elements function. | |
3761 * Array.cc (Array<T>::indexN): Likewise. | |
3762 | |
3763 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3764 of equal_arrays function. | |
3765 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3766 dim_vector::any_zero instead of any_zero_len function. | |
3767 | |
3768 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3769 Don't skip reshaping and resizing if RHS is empty. | |
3770 | |
4746 | 3771 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3772 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3773 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3774 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3775 LHS is not yet defined. | |
4745 | 3776 Error for resizing if number of indices is less than number of LHS |
3777 dimensions. | |
3778 | |
4746 | 3779 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3780 Fortran-style indexing. | |
3781 | |
4743 | 3782 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3783 | |
3784 * Array.cc (Array<T>::assignN): Simplify. | |
3785 Allow assignments to succeed if number if indices is less than the | |
3786 number of RHS dimensions. | |
3787 | |
4738 | 3788 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3789 | |
4741 | 3790 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3791 when number of indices is less than number of dimensions. | |
3792 | |
3793 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3794 Remove unsued variable lhs_inc. | |
3795 | |
4740 | 3796 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3797 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3798 | |
3799 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3800 | |
4738 | 3801 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3802 == n_dims before checking to see if all indices are colon_equiv. | |
3803 | |
4736 | 3804 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3805 | |
3806 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3807 deleting elements. | |
4737 | 3808 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3809 at least ndims elements. | |
4736 | 3810 |
4735 | 3811 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3812 | |
3813 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3814 oriented differently from the index. | |
3815 | |
3816 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3817 least two dimensions. | |
3818 | |
4733 | 3819 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3820 | |
4735 | 3821 * dim-vector.h (dim_vector::squeeze): New function. |
3822 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3823 deciding whether the assignment conforms. | |
3824 | |
4733 | 3825 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3826 comparing rhs_dims and frozen_len sans trailing singletons. | |
3827 | |
4732 | 3828 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3829 | |
3830 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3831 Call error handler and return conversion_error == true if arg is | |
3832 not integer. | |
3833 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3834 | |
4730 | 3835 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3836 | |
3837 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3838 reference arg const. | |
3839 | |
3840 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3841 | |
3842 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
3843 | |
4729 | 3844 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
3845 | |
3846 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
3847 Now bool, to match definition in Array-flags.cc. | |
3848 | |
4725 | 3849 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3850 | |
4726 | 3851 * file-ops.cc: Include <vector> instead of <memory> for new |
3852 definition of OCTAVE_LOCAL_BUFFER. | |
3853 | |
4725 | 3854 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
3855 New arg, calc_eigenvectors. | |
3856 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
3857 Based on patch from David Bateman <dbateman@free.fr>. | |
3858 | |
4716 | 3859 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3860 | |
3861 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
3862 For X(I) = RHS, don't restrict I to fewer elements than X. | |
3863 | |
3864 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
3865 | |
4711 | 3866 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3867 | |
4714 | 3868 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
3869 Simplify calculation of number of elements in retval. | |
3870 | |
4711 | 3871 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
3872 filling when RHS is scalar and dimension lengths agree. | |
3873 | |
4710 | 3874 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3875 | |
4713 | 3876 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
3877 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 3878 |
4707 | 3879 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3880 | |
4709 | 3881 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
3882 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 3883 |
4702 | 3884 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
3885 | |
4703 | 3886 * Array.h (Array<T>::chop_trailing_singletons): New function. |
3887 * Array.cc (Array<T>::assignN): Use it on LHS. | |
3888 | |
3889 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 3890 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 3891 Check for singleton dimensions where RHS is matrix or higher dimension. |
3892 Make sure index is in bounds. | |
4702 | 3893 |
4698 | 3894 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3895 | |
3896 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
3897 octave_NaN, and octav_NA values are always initialized. Check | |
3898 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
3899 to decide whether to do IEEE initialization. | |
3900 | |
4687 | 3901 2004-01-06 David Bateman <dbateman@free.fr> |
3902 | |
3903 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
3904 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
3905 ComplexNDArray::too_large_for_float): New functions | |
3906 | |
3907 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
3908 * CNDArray.h: Provide decls. | |
3909 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
3910 * dNDArray.h: Provide decls. | |
3911 | |
4673 | 3912 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3913 | |
4674 | 3914 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
3915 they are already defined in boolNDArray.cc. | |
3916 | |
4673 | 3917 * Array-util.cc (get_zero_len_size): Delete. |
3918 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3919 Handle zero-length result dimensions the same as empty original | |
3920 indices. | |
3921 | |
3922 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3923 | |
3924 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
3925 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
3926 New functions. | |
3927 * Array.cc (ArrayN<T>::indexN): Use it. | |
3928 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
3929 | |
4669 | 3930 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
3931 | |
3932 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
3933 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
3934 | |
3935 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3936 | |
3937 * mk-ops.awk: Also emit #include "Array-util.h". | |
3938 | |
3939 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
3940 Add bnda x bnda, b x bnda, and bnda x b ops. | |
3941 | |
3942 * MArray-misc.cc: Delete. | |
3943 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
3944 | |
3945 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
3946 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
3947 | |
4655 | 3948 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3949 | |
4663 | 3950 * dbleQR.cc (QR::init): Use separate pwork pointers. |
3951 * CmplxQR.cc (ComplexQR::init): Likewise. | |
3952 | |
3953 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
3954 two-arg getgrnam version. | |
3955 | |
4657 | 3956 * Array.cc (assignN): Allow single indexing to work. |
4661 | 3957 (Array<T>::range_error (const char*, const Array<int>&)): |
3958 Report index values. | |
3959 | |
3960 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 3961 * ODESSA.cc (odessa_j): Likewise. |
3962 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
3963 * DASPK.cc (ddaspk_psol): Likewise. | |
3964 * lo-mappers.cc (imag): Likewise. | |
4663 | 3965 * Array-util.cc (get_zero_len_size): Likewise. |
3966 * kpse.cc (path_search, path_find_first_of): Likewise. | |
3967 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 3968 |
4655 | 3969 * dim-vector.h (dim_vector::all_ones): New function. |
3970 | |
4646 | 3971 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3972 | |
4653 | 3973 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
3974 zeros, not orig_rows or orig_columns. | |
3975 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
3976 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
3977 | |
3978 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
3979 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
3980 | |
3981 * idx-vector.cc (idx_vector::idx_vector_rep): | |
3982 Use initialization lists for constructors. | |
3983 | |
4651 | 3984 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
3985 Omit special case for ra_idx.capacity () == 1. | |
3986 Always allow single index for matrix args with optional warning. | |
3987 | |
4650 | 3988 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
3989 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
3990 | |
4648 | 3991 * Array-so.cc: New file. Move instantiations here from so-array.h. |
3992 * Makefile.in (TI_SRC): Add it to the list. | |
3993 | |
4646 | 3994 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
3995 type and the names of the left and right operands. Change all uses. | |
3996 | |
3997 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
3998 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
3999 | |
4645 | 4000 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4001 | |
4002 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
4003 just length. | |
4004 | |
4005 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
4006 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
4007 non-dependent member functions and data as needed. | |
4008 | |
4009 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
4010 | |
4011 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
4012 * Array3.h (Array3<T>::operator =): Likewise. | |
4013 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
4014 Include Array.h, not Array2.h. | |
4015 | |
4634 | 4016 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4017 | |
4636 | 4018 * str-vec.cc (list_in_columns): Fix previous change. |
4019 | |
4635 | 4020 * dim-vector.h (dim_vector::num_ones): New function. |
4021 * Array.cc (maybe_delete_elements): Use it instead of | |
4022 num_ones (const Array<int>&). | |
4023 | |
4024 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
4025 | |
4634 | 4026 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
4027 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
4028 New functions. | |
4029 * dNDArray.h: Provide decls. | |
4030 | |
4031 * dMatrix.h (Matrix::any_element_is_negative, | |
4032 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
4033 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
4034 Simplify. | |
4035 | |
4036 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
4037 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
4038 | |
4039 * dNDArray.cc (real, imag): New functions. | |
4040 * dNDArray.h: Provide decls. | |
4041 | |
4630 | 4042 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4043 | |
4044 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
4045 | |
4625 | 4046 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4047 | |
4048 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
4049 * MArray.h (resize): Delete. | |
4050 * MArray2.h (resize): Delete. | |
4051 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
4052 * ODESSA (ODESSA::integrate): Likewise. | |
4053 | |
4616 | 4054 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4055 | |
4056 * Makefile.in (dist): Depend on stamp-prereq. | |
4057 | |
4605 | 4058 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
4059 | |
4060 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
4061 Kluge to make it work. | |
4604 | 4062 |
4063 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
4064 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
4065 | |
4066 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
4067 default_command_editor::do_generate_filename_completions, | |
4068 command_editor::generate_filename_completions): New functions. | |
4069 * cmd-edit.h: Provide decls. | |
4070 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
4071 function. | |
4072 * oct-rl-edit.h: Provide decl. | |
4073 | |
4593 | 4074 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4075 | |
4594 | 4076 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
4077 INSTANTIATE_ARRAY): New macros. | |
4078 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4079 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4080 | |
4593 | 4081 * Array.h (Array<T>::ipermute): New function. |
4082 | |
4083 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4084 | |
4085 * Array.cc (Array<T>::permute): New function. | |
4086 * Array.h: Provide decl. | |
4087 | |
4088 * Array-util.cc (calc_permutated_idx): New function. | |
4089 * Array-util.h: Provide decl. | |
4090 | |
4587 | 4091 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4092 | |
4592 | 4093 * Array.cc (Array<T>::index2): Return value has orientation of |
4094 indexed value if indexing a vector with a bool matrix. | |
4095 | |
4589 | 4096 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4097 | |
4588 | 4098 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4099 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4100 | |
4101 * ArrayN-inline.h: Delete. | |
4102 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4103 * Makefile.in: Fix the appropriate lists. | |
4104 | |
4587 | 4105 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4106 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4107 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4108 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4109 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4110 Avoid -Wshadow warnings. | |
4111 | |
4112 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4113 |
4114 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4115 | |
4116 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4117 | |
4118 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4119 | |
4120 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4121 | |
4584 | 4122 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4123 | |
4124 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4125 | |
4126 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4127 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4128 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4129 Return NDArray. Handle N-d arrays. | |
4130 | |
4575 | 4131 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4132 | |
4583 | 4133 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4134 that upcase Fortran names by calling dlsode instead of lsode. | |
4135 | |
4136 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4137 that upcase Fortran names by calling dodessa instead of odessa. | |
4138 | |
4577 | 4139 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4140 non-const args for symlink system call. | |
4141 (file_ops::readlink): Likewise, for readlink. | |
4142 | |
4575 | 4143 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4144 | |
4574 | 4145 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4146 | |
4147 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4148 Change all uses. | |
4149 | |
4569 | 4150 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4151 | |
4152 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4153 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4154 * dNDArray.h: Provide decls. | |
4155 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4156 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4157 ComplexNDArray::abs): New functions. | |
4158 * CNDArray.h: Provide decls. | |
4159 | |
4160 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4161 Generalize to handle other reduction operations. | |
4162 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4163 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4164 | |
4565 | 4165 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4166 | |
4567 | 4167 * Array.cc (Array<T>::reshape): New function. |
4168 * Array.h: Provide decl. | |
4169 | |
4170 * dim-vector.h (dim_vector::numel): New function. | |
4171 | |
4565 | 4172 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4173 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4174 | |
4559 | 4175 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4176 | |
4177 * dim-vector.h (dim_vector::any_zero): New function. | |
4178 (dim_vector::str): New default arg, sep. | |
4179 | |
4180 * Array.h (Array<T>::numel): New function. | |
4181 | |
4556 | 4182 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4183 | |
4184 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4185 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4186 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4187 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4188 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4189 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4190 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4191 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4192 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4193 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4194 | |
4552 | 4195 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4196 | |
4553 | 4197 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4198 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4199 | |
4552 | 4200 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4201 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4202 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4203 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4204 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4205 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4206 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4207 Use new F77 arg macros in declarations of external Fortran | |
4208 subroutines and for calling them. | |
4209 | |
4548 | 4210 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4211 | |
4212 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4213 Allow number of dimensions to change. | |
4214 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4215 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4216 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4217 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4218 (Array<T>::transpose): Require ndims to be 2. | |
4219 (Array<T>::index2): Likewise. | |
4220 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4221 (Array<T>::maybe_delete_elements_2): Likewise. | |
4222 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4223 (Array<T>::index1): Use resize_and_fill. | |
4224 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4225 | |
4226 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4227 | |
4228 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4229 (MArray2<T>::resize (int, int, const T&)): New function. | |
4230 | |
4231 * MArray.h (MArray<T>::resize (int)): New function. | |
4232 (MArray<T>::resize (int, const T&)): New function. | |
4233 | |
4234 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4235 | |
4236 * DASPK-opts.in: Use single-arg resize for initial condition | |
4237 heuristics. | |
4238 | |
4239 * dim-vector.h (class dim_vector): Now reference counted. | |
4240 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4241 | |
4544 | 4242 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4243 | |
4545 | 4244 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4245 | |
4544 | 4246 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4247 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4248 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4249 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4250 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4251 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4252 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4253 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4254 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4255 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4256 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4257 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4258 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4259 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4260 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4261 files are now automatically generated. | |
4262 | |
4263 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4264 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4265 Add rules to generate these files and mx-ops.h. | |
4266 (stamp-prereq): Depend on these files. | |
4267 | |
4268 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4269 * Makefile.in (DISTFILES): Add them to the list. | |
4270 | |
4543 | 4271 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4272 | |
4273 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4274 NDArray::NDArray (const charNDArray)): New constructors. | |
4275 (NDArray::operator !): New function. | |
4276 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4277 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4278 | |
4279 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4280 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4281 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4282 New constructors. | |
4283 (ComplexNDArray::operator !): New function. | |
4284 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4285 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4286 | |
4287 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4288 | |
4289 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4290 Provide NDND_CMP_OPS. | |
4291 | |
4292 * MArrayN.cc (operator +=, operator -=): New functions. | |
4293 Provide product and quotient functions. | |
4294 | |
4295 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4296 dim_vector&)): New function. | |
4297 | |
4298 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4299 operator ==, operator !=): New functions. | |
4300 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4301 | |
4302 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4303 No need to save old dimensions. | |
4304 | |
4305 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4306 (octave_rand::nd_array): New function. | |
4307 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4308 | |
4309 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4310 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4311 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4312 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4313 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4314 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4315 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4316 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4317 NDND_OP_DECLS): New macros. | |
4318 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4319 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4320 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4321 | |
4322 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4323 boolNDArray, class charNDArray): New forward decls. | |
4324 | |
4534 | 4325 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4326 | |
4327 * Array.cc (assign2): No error (but don't do anything either) for | |
4328 expressions like x([],j) = scalar. | |
4329 | |
4532 | 4330 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4331 | |
4533 | 4332 * Array.cc (assignN): Allow lhs(:) = scalar. |
4333 | |
4532 | 4334 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4335 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4336 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4337 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4338 | |
4339 * dim-vector.h (rows, cols): Delete unused data members. | |
4340 | |
4341 * Array.cc (Array<T>::get_size): Fix thinko. | |
4342 | |
4343 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4344 | |
4345 * Array.cc (Array<T>::squeeze): New function. | |
4346 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4347 * dNDArray.h (NDArray::squeeze): Likewise. | |
4348 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4349 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4350 | |
4530 | 4351 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4352 | |
4353 * Array.cc (ArrayN<T>::indexN): New definition. | |
4354 * Array.h (Array<T>::indexN): Provide decl. | |
4355 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4356 Call indexN if more than 2 indices. | |
4357 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4358 Make it (mostly) work. | |
4359 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4360 New functions. | |
4361 | |
4527 | 4362 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4363 | |
4364 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4365 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4366 versions with eof arg. | |
4367 | |
4518 | 4368 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4369 | |
4370 * Array.h (dimensions): Now public. | |
4371 template <class LT, class RT> | |
4372 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4373 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4374 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4375 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4376 resize_no_fill (int), | |
4377 resize_no_fill (int, int), | |
4378 resize_no_fill (int, int, int), | |
4379 resize_no_fill (const dim_vector&), | |
4380 resize_and_fill (int, const T&), | |
4381 resize_and_fill (int, int, const T&), | |
4382 resize_and_fill (int, int, int, const T&), | |
4383 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4384 | |
4385 * Array.cc: Include <climits>. | |
4386 | |
4513 | 4387 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4388 | |
4517 | 4389 * Array.cc: Merge Array-idx.h. |
4390 * Array-idx.h: Delete. | |
4391 | |
4514 | 4392 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4393 | |
4513 | 4394 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4395 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4396 just special cases of the general purpose N-d Array object). | |
4397 | |
4398 * dim-vector.h: New file. Use dim_vector objects instead of | |
4399 ints or Array<int> objects to represent the size of Array | |
4400 objects. | |
4401 | |
4402 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4403 | |
4404 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4405 | |
4406 * mx-base.h: Include NDArray header files. | |
4407 | |
4408 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4409 | |
4410 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4411 Array-s.cc: Also instantiate ArrayN objects. | |
4412 Don't instantiate assign funcitons for Array2 objects. | |
4413 | |
4414 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4415 liboctave_error_handler, not cerr. | |
4416 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4417 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4418 * dMatrix.cc (Matrix::diag): Likewise. | |
4419 | |
4420 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4421 Omit checks for HEAVYWEIGHT_INDEXING. | |
4422 | |
4423 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4424 | |
4425 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4426 | |
4427 * CNDARray.h, CNDArray.cc: New files. | |
4428 * Makefile.in: Add them to the appropriate lists. | |
4429 | |
4430 * dNDArray.h: Rename from NDArray.h. | |
4431 * dNDArray.cc: Rename from NDArray.cc. | |
4432 * Makefile.in: Rename them here too. | |
4433 | |
4507 | 4434 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4435 | |
4436 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4437 | |
4438 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4439 * Makefile.in: Add them to the appropriate lists. | |
4440 | |
5095 | 4441 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4442 |
4443 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4444 biry): Always request scaled results from AMOS functions and | |
4445 perform reverse scaling on results if scaled result not requested | |
4446 by user. | |
4447 | |
4448 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4449 | |
4450 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4451 | |
4505 | 4452 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4453 | |
4454 * Array-d.cc: Instantiate assign functions. | |
4455 | |
4504 | 4456 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4457 | |
4458 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4459 (get_elt_idx): Index ra_idx correctly. | |
4460 | |
4461 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4462 bounds if it is exactly on the bound. | |
4463 | |
4464 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4465 * ArrayN.h: Provide decl. | |
4466 | |
4467 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4468 | |
4469 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4470 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4471 (idx_vector::orig_dimensions): New function. | |
4472 | |
4497 | 4473 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4474 | |
4475 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4476 | |
4496 | 4477 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4478 | |
4479 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4480 (is_in, how_many_lgt, all_ones): New functions. | |
4481 | |
4493 | 4482 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4483 | |
4484 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4485 | |
4486 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4487 | |
4488 * ArrayN-inline.h: New file. | |
4489 (index_in_bounds, increment_index): Move here. | |
4490 * ArrayN.cc: From here. | |
4491 | |
4492 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4493 * ArrayN-idx.h (assign): New function. | |
4494 | |
4490 | 4495 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4496 | |
4497 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4498 Also zero imaginary part of result if real part of input value is | |
4499 zero. | |
4500 | |
4478 | 4501 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4502 | |
4503 * mx-base.h: Include ArrayN.h. | |
4504 | |
4476 | 4505 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4506 | |
4507 * ArrayN.cc (operator <<): Corrected output. | |
4508 | |
4474 | 4509 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4510 | |
4511 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4512 | |
5095 | 4513 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4514 |
4515 * ArrayN.cc (operator <<): Improve output readability. | |
4516 | |
4493 | 4517 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4518 |
4519 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4520 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4521 Initialize old_len before changing size. | |
4522 | |
4472 | 4523 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4524 | |
4525 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4526 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4527 |
4469 | 4528 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4529 | |
4530 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4531 way. Handle NA in an R-compatible way. | |
4532 | |
4533 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4534 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4535 | |
4536 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4537 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4538 | |
4539 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4540 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4541 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4542 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4543 | |
4461 | 4544 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4545 | |
4546 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4547 Pass true for resize_ok arg to freeze. | |
4548 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4549 Likewise. | |
4550 | |
4551 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4552 resize_ok arg is now bool. | |
4553 * idx-vector.h (idx_vector::freeze): Likewise. | |
4554 | |
4555 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4556 Rename from liboctave_rre_flag. Now bool. | |
4557 (liboctave_wfi_flag): Now bool. | |
4558 | |
4559 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4560 | |
5095 | 4561 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4562 |
4563 * Array.h (resize_fill_value): Now a top-level template function. | |
4564 Accept object as argument. Change all uses. | |
4565 | |
4455 | 4566 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4567 | |
4568 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4569 | |
4570 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4571 liboctave_dfi_flag. | |
4572 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4573 X undefined or empty, always create a row vector. | |
4574 | |
4575 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4576 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4577 | |
4437 | 4578 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4579 | |
4580 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4581 Magic colon indexing always produces an object with one column. | |
4582 | |
5095 | 4583 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4584 |
4585 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4586 | |
4587 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4588 | |
4431 | 4589 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4590 | |
4591 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4592 neg_zero is true, also return true for negative zero. | |
4593 | |
4429 | 4594 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4595 | |
4596 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4597 Handle step limit. | |
4598 * DASSL-opts.in: New option for step limit. | |
4599 | |
5095 | 4600 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4601 |
4602 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4603 | |
4428 | 4604 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4605 | |
4606 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4607 Store step limit in iwork(20), not iwork(18). | |
4608 | |
5095 | 4609 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4610 |
4611 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4612 | |
4412 | 4613 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4614 | |
4413 | 4615 * Makefile.in: Handle DESTDIR. |
4616 | |
4412 | 4617 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4618 (kpse_path_iterator::set_end): Don't miss last element when not | |
4619 followed by a colon. | |
4620 | |
4409 | 4621 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4622 | |
4623 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4624 | |
4625 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4626 | |
4627 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4628 (find_first_of): Also do an absolute search on each | |
4629 name before looking in the path. | |
4630 | |
4407 | 4631 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4632 | |
4633 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4634 directory separator. | |
4635 | |
4399 | 4636 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4637 | |
4638 * pathsearch.cc: Include kpse.cc here. | |
4639 | |
4640 * kpse.cc: All functions are now static. Massive surgery to | |
4641 condense kpathsearch library to a single file of just the | |
4642 essentials for Octave and convert to using C++ strings (no more | |
4643 calls to malloc, very few calls to new, so there should be much | |
4644 less potential for introducing memory leaks now). | |
4645 | |
4646 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4647 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4648 | |
4649 * kpse.h, kpse-config.h: Delete. | |
4650 * Makefile.in (INCLUDES): Delete them from the list. | |
4651 | |
4392 | 4652 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4653 | |
4654 * str-vec.cc (string_vector::append (const std::string&), | |
4655 string_vector::append (const string_vector&)): New methods. | |
4656 | |
4386 | 4657 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4658 | |
4389 | 4659 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4660 | |
4387 | 4661 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4662 | |
4386 | 4663 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4664 (READABLE): Now a static function to avoid warnings from MinGW | |
4665 compiler. | |
4666 | |
4384 | 4667 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4668 | |
4385 | 4669 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4670 static. Include most of kpse-xfns.h directly, removing | |
4671 unnecessary bits. | |
4672 | |
4384 | 4673 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4674 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4675 | |
4378 | 4676 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4677 | |
4678 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4679 * Makefile.in: Add them to the appropriates lists. | |
4680 | |
4681 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4682 | |
4683 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4684 for new locations of kpathsea objects. | |
4685 Delete kpathsea targets. | |
4686 | |
4687 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4688 | |
4689 * kpse.cc: New file. | |
4690 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4691 | |
4692 * kpse.c: New file. | |
4693 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4694 | |
4695 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4696 * Makefile.in (INCLUDES): Add them to the list. | |
4697 | |
4698 * oct-kpse.h: Delete. | |
4699 * Makefile.in (INCLUDES): Delete it from the list. | |
4700 | |
4374 | 4701 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4702 | |
4703 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4704 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4705 Likewise. | |
4706 From Quentin H. Spencer <qspencer@ieee.org>. | |
4707 | |
4365 | 4708 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4709 | |
4710 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4711 | |
4349 | 4712 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4713 | |
4352 | 4714 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4715 without placement delete. | |
4716 | |
4349 | 4717 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4718 imaginary parts. | |
4719 | |
4720 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4721 | |
5095 | 4722 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4723 |
4724 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4725 Use Lapack instead of Linpack. | |
5315 | 4726 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4727 ComplexMatrix::solve): Likewise. |
4728 | |
4729 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4730 calc_cond. If 0, skip condition number calculation. | |
4731 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4732 Likewise. | |
4733 | |
4734 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4735 * dbleLU.cc (LU::LU): Likewise. | |
4736 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4737 | |
4738 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4739 | |
4740 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4741 | |
4323 | 4742 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4743 | |
4744 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4745 Additional compatibility fix. | |
4746 | |
4747 2003-02-13 Arno Klaassen <arno@scito.com> | |
4748 | |
4749 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4750 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4751 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4752 | |
4322 | 4753 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4754 | |
4755 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4756 Compatibility fix. | |
4757 | |
4316 | 4758 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4759 | |
4760 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4761 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4762 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4763 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4764 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4765 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4766 | |
4767 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4768 with make_unique and xelem. | |
4769 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4770 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4771 ComplexMatrix::extract, ComplexMatrix::row, | |
4772 ComplexMatrix::column): Likewise. | |
4773 * dColVector.cc (ColumnVector::insert): Likewise. | |
4774 * dRowVector.cc (RowVector::insert): Likewise. | |
4775 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4776 Matrix::row, Matrix::column): Likewise. | |
4777 | |
4313 | 4778 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4779 | |
4780 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4781 | |
4309 | 4782 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4783 | |
4784 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4785 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4786 * CMatrix.h, dMatrix.h: Provide decls. | |
4787 | |
4307 | 4788 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4789 | |
4790 * oct-rand.h, oct-rand.cc: New files. | |
4791 * Makefile.in: Add them to the appropriate lists. | |
4792 | |
4306 | 4793 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4794 | |
4795 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4796 | |
4299 | 4797 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4798 | |
4799 * oct-syscalls.cc: Include signal.h. | |
4800 | |
4294 | 4801 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4802 | |
4803 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4804 * oct-syscalls.h: Provide decl. | |
4805 | |
4806 | |
4293 | 4807 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4808 | |
4809 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4810 there is nothing to read. | |
4811 | |
4290 | 4812 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4813 | |
4814 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4815 | |
4286 | 4816 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4817 | |
4288 | 4818 * getopt.h: Update to version from kpathsearch, so we will install |
4819 the version that we are using. | |
4820 | |
4821 * getopt.c, getopt1.c: Delete. | |
4822 (INCLUDES): Delete them from the list. We'll get these files from | |
4823 kpathsearch. | |
4824 | |
4286 | 4825 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4826 ../kpathsea/STATIC/*.o. | |
4827 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4828 | |
4270 | 4829 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4830 | |
4282 | 4831 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4832 unreachable code. | |
4833 | |
4279 | 4834 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4835 to correspond to placement new operator. | |
4836 | |
4278 | 4837 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4838 (DET::value_will_underflow): Likewise. | |
4839 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
4840 (ComplexDET::value_will_underflow): Likewise. | |
4841 | |
4276 | 4842 * Makefile.in (distclean): Also remove stamp-prereq. |
4843 | |
4306 | 4844 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
4845 RHS and index are empty matrices, don't do anything. | |
4270 | 4846 |
4242 | 4847 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4848 | |
4849 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
4850 delete_c_names): New helper functions. | |
4851 (dir_path::find_first_of): New function. | |
4852 (dir_path::find_all_first_of): Likewise. | |
4853 * pathsearch.h: Provide decls. | |
4854 | |
4855 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
4856 (octave_kpse_all_path_find_first_of): Likewise. | |
4857 * oct-kpse.h: Provide decls. | |
4858 | |
4231 | 4859 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4860 | |
4861 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
4862 * ODESSA-opts.in: Likewise. | |
4863 | |
4864 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
4865 * LSODE-opts.in: Likewise. | |
4866 | |
4229 | 4867 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4868 | |
4230 | 4869 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
4870 in all constructors. | |
4871 | |
4229 | 4872 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
4873 (LINK_DEPS): Not here. | |
4874 | |
4219 | 4875 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4876 | |
4220 | 4877 * str-vec.cc (string_vector::compare): New static member function. |
4878 * str-vec.h: Provide decl. | |
4879 (string_vector::sort): Use it. | |
4880 (str_vec_compare): Delete static function. | |
4881 | |
4219 | 4882 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
4883 a placement operator new. | |
4884 | |
4209 | 4885 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4886 | |
4210 | 4887 * Matrix.h: Include mx-ops.h too. |
4209 | 4888 * mx-ops.h: New file. |
4889 | |
4192 | 4890 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4891 | |
4892 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
4893 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
4894 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
4895 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
4896 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
4897 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
4898 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
4899 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
4900 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
4901 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
4902 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
4903 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
4904 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
4905 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
4906 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
4907 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
4908 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
4909 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
4910 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
4911 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
4912 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
4913 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
4914 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
4915 | |
4184 | 4916 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4917 | |
4918 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
4919 From Remy Bruno <remy.bruno@libertysurf.fr> | |
4920 | |
4180 | 4921 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4922 | |
4923 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
4924 fortran code that should run fast enough that it is not worth all | |
4925 the setup costs of F77_XFCN. | |
4926 | |
4927 * Quad.cc (user_function): Surround body of function with | |
4928 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
4929 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
4930 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
4931 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
4932 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
4933 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
4934 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
4935 | |
4164 | 4936 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4937 | |
4938 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
4939 of ! defined (linux). | |
4940 | |
5095 | 4941 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 4942 |
4943 * oct-shlib.cc (octave_dyld_shlib): New class. | |
4944 (make_shlib): Instantiate octave_dyld_shlib. | |
4945 | |
4152 | 4946 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4947 | |
4153 | 4948 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
4949 | |
4152 | 4950 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
4951 | |
4952 * Array.h: Include <cstddef> here. | |
4953 | |
4142 | 4954 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
4955 | |
4144 | 4956 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
4957 using them. Accept inequality contraint option of 0. Assign | |
4958 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
4959 abs_tol and rel_tol. | |
4960 | |
4143 | 4961 * cmd-edit.h (command_editor::filename_completion_desired): New |
4962 static function. | |
4963 (command_editor::do_filename_completion_desired): New virtual function. | |
4964 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
4965 * oct-rl-edit.h: Provide decl. | |
4966 | |
4142 | 4967 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
4968 avoid OS X linker bug. | |
4969 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
4970 | |
4139 | 4971 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4972 | |
4141 | 4973 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
4974 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
4975 solvers. | |
4976 * ODESSA.cc: Fix all callers. | |
4977 | |
4139 | 4978 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
4979 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
4980 sum(zeros(1,0)) returns 0, not [](1x0)). | |
4981 | |
4136 | 4982 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4983 | |
4984 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
4985 | |
4132 | 4986 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4987 | |
4133 | 4988 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
4989 (ddasrt_f): Combine loops. | |
4990 | |
4132 | 4991 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
4992 instead of empty vector if user termninates iteration. | |
4993 | |
4130 | 4994 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4995 | |
4996 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4997 octave_read_complex, octave_write_double, octave_write_complex): | |
4998 New functions. | |
4999 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
5000 Use octave_write_complex. | |
5001 (operator >> (std::istream&, const ComplexMatrix&)): | |
5002 Use octave_read_complex. | |
5003 * dMatrix.cc (operator << (std::ostream&, double)): | |
5004 Use octave_write_double. | |
5005 (operator >> (std::istream&, double)): Use octave_read_double. | |
5006 | |
4126 | 5007 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5008 | |
5009 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
5010 * oct-kpse.h: Delete decl. | |
5011 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
5012 ::octave_kpse_clear_dir_cache. | |
5013 | |
4123 | 5014 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5015 | |
4124 | 5016 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
5017 earlier than 3.0. | |
5018 | |
4123 | 5019 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
5020 (liboctave.$(SHLEXT)): Not here. | |
5021 | |
5095 | 5022 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 5023 |
5024 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
5025 | |
4108 | 5026 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5027 | |
5028 * Makefile.in (install-lib): Don't bother with versions for | |
5029 $(SHLBIN) files. | |
5030 | |
5095 | 5031 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 5032 |
5033 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
5034 | |
4102 | 5035 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5036 | |
5037 * lo-cieee.c: Move everything but lo_ieee_init here. | |
5038 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
5039 New functions. | |
5040 | |
5041 * Makefile.in (install): No need to use cd to create links. | |
5042 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
5043 | |
5095 | 5044 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 5045 |
5046 * Makefile.in: Merge liboctave with liboct-readline and | |
5047 liboct-pathsearch. | |
5048 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
5049 (libraries): Depend on versioned library. | |
5050 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
5051 build unversioned library, symbolic link adds version info. | |
5052 (install, uninstall): Handle link and load forms of the library | |
5053 separately. | |
5054 | |
4101 | 5055 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5056 | |
5057 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
5058 __CYGWIN__. | |
5059 | |
5060 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
5061 file_ops::dir_sep_chars): New static functions to replace | |
5062 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
5063 | |
5064 * oct-env.cc (octave_env::do_set_program_name): | |
5065 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
5066 (octave_env::do_base_pathname): Likewise. | |
5067 (octave_env::do_make_absolute): Likewise. | |
5068 | |
5069 * oct-env.cc (octave_env::do_make_absolute): | |
5070 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
5071 (octave_env::do_get_home_directory): Likewise. | |
5072 | |
5073 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
5074 that information here too. | |
5075 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
5076 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
5077 | |
5078 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5079 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5080 | |
4097 | 5081 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5082 | |
5083 * oct-env.h (octave_env::current_directory): Now mutable. | |
5084 (octave_env:do_getcwd): Now const. | |
5085 | |
5086 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5087 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5088 OCTAVE_CURRENT_DIR_STR): New macros. | |
5089 * oct-env.cc (is_dir_sep): Delete. | |
5090 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5091 (octave_env::do_set_program_name): Likewise. | |
5092 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5093 instead of checking for '/'. | |
5094 (octave_env::pathname_backup): Likewise. | |
5095 (octave_env::do_absolute_pathname): Likewise. | |
5096 (octave_env::do_make_absolute): Likewise. | |
5097 If dot_path is empty, use getcwd to set current_dir. | |
5098 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5099 instead of "/". | |
5100 | |
5095 | 5101 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5102 |
5103 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5104 | |
5095 | 5105 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5106 |
5107 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5108 absolute path names under MinGW as well. | |
5109 | |
5110 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5111 | |
5112 * oct-env.cc: Include <cctype> too. | |
5113 | |
4087 | 5114 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5115 | |
5116 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5117 filenames. | |
5118 (octave_env::do_make_absolute): Check for absolute name with | |
5119 do_absolute_path. | |
4088 | 5120 (octave_env::do_chdir): Likewise. |
5121 (is_dir_sep): New function. | |
4087 | 5122 |
5095 | 5123 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5124 |
4086 | 5125 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5126 systems. | |
4085 | 5127 |
4083 | 5128 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5129 | |
5130 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5131 | |
4080 | 5132 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5133 | |
4081 | 5134 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5135 | |
4080 | 5136 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5137 | |
5095 | 5138 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5139 |
5140 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5141 gr_gid too. | |
5142 | |
4072 | 5143 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5144 | |
4074 | 5145 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5146 lo_ieee_* functions. | |
4072 | 5147 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5148 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5149 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5150 * lo-cieee.c: New file. |
4074 | 5151 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5152 * lo-ieee.h: Now all extern "C". |
4074 | 5153 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5154 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5155 | |
4072 | 5156 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5157 Now extern. | |
5158 | |
4066 | 5159 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5160 | |
5161 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5162 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5163 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5164 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5165 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5166 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5167 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5168 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5169 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5170 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5171 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5172 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5173 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5174 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5175 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5176 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5177 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5178 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5179 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5180 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5181 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5182 oct-alloc.cc: | |
5183 If __GNUG__, use pragma interface/implementation. Allow this to | |
5184 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5185 | |
5095 | 5186 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5187 |
4066 | 5188 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5189 system readlink function is not available. | |
5190 | |
4065 | 5191 * lo-mappers.cc (xerf, xerfc): Delete. |
5192 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5193 | |
4064 | 5194 * lo-mappers.cc: Remove unused #define M_PI. |
5195 * lo-specfun.cc: Add #define M_PI if needed. | |
5196 | |
4062 | 5197 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5198 | |
5199 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5200 that geteuid doesn't exist. | |
5201 | |
5202 * LP.h: Rename LP class to octave_LP. | |
5203 LPsolve.h: Change all uses. | |
5204 | |
5205 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5206 incorrect token-pasting op. | |
5207 | |
5208 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5209 define lstat. | |
5210 | |
4061 | 5211 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5212 | |
5213 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5214 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5215 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5216 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5217 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5218 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5219 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5220 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5221 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5222 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5223 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5224 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5225 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5226 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5227 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5228 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5229 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5230 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5231 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5232 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5233 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5234 oct-alloc.cc: | |
5235 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5236 to decide whether to use the interface/implementation pragmas. | |
5237 | |
4058 | 5238 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5239 | |
5240 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5241 | |
4055 | 5242 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5243 | |
5244 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5245 qualified names. | |
5246 | |
4051 | 5247 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5248 | |
4054 | 5249 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5250 ArrayN.cc: Add typename where needed. | |
4053 | 5251 |
4051 | 5252 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5253 strstream classes directly. | |
5254 * DASRT.cc: Likewise. | |
5255 * DASSL.cc: Likewise. | |
5256 * LSODE.cc: Likewise. | |
5257 * ODESSA.cc: Likewise. | |
5258 | |
5259 * cmd-hist.cc: Don't include <strstream>. | |
5260 * oct-shlib.cc: Likewise. | |
5261 | |
5262 * lo-sstream.h: New file. | |
5263 | |
4049 | 5264 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5265 | |
5266 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5267 New data members. | |
5268 (LSODE::sanity_checked): Delete unused data member. | |
5269 | |
5270 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5271 prel_tol, pinfo, piwork, prwork): New data members. | |
5272 * DASSL.h (DASSL): Likewise. | |
5273 | |
5274 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5275 | |
5276 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5277 initialization, changes in options, etc. | |
5278 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5279 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5280 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5281 | |
4047 | 5282 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5283 | |
4049 | 5284 * DAEFunc.h (DAEFunc::reset): New data member. |
5285 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5286 | |
5287 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5288 (base_diff_eqn::clear_stop_time): Likewise. | |
5289 | |
4047 | 5290 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5291 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5292 | |
5095 | 5293 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5294 |
5295 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5296 * DASRT-opts.in, DASRT.h: Likewise. | |
5297 * DASSL-opts.in, DASSL.h: Likewise. | |
5298 * LSODE-opts.in, LSODE.h: Likewise. | |
5299 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5300 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5301 | |
4038 | 5302 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5303 | |
4042 | 5304 * LSODE.cc (LSODE::error_message): Also return current T on |
5305 failures when that makes sense. | |
4043 | 5306 * DASSL.cc (DASSL::error_message): Likewise. |
5307 * DASRT.cc (DASRT::error_message): Likewise. | |
5308 * DASPK.cc (DASPK::error_message): Likewise. | |
5309 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5310 |
4038 | 5311 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5312 $(LIBKPATHSEA) here. | |
5313 | |
4025 | 5314 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5315 | |
5316 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5317 (lo_ieee_is_NaN_or_NA): New function. | |
5318 (octave_NA): New global value. | |
5319 (octave_ieee_init): Initialize it. | |
5320 * lo-mappers.cc (octave_is_NA): New function. | |
5321 (octave_is_NaN_or_NA): New function. | |
5322 (xisnan): Return false if NaN looks like a missing value. | |
5323 (xisnan (const Complex&)): Use xisnan here. | |
5324 | |
4015 | 5325 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5326 | |
4017 | 5327 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5328 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5329 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5330 Default value for dim is -1, not 0. | |
5331 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5332 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5333 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5334 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5335 | |
4015 | 5336 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5337 New macros. | |
5338 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5339 MX_BASE_REDUCTION_OP. | |
5340 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5341 | |
4014 | 5342 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5343 | |
4015 | 5344 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5345 Return boolMatrix, not Matrix. | |
5346 | |
5347 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5348 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5349 (Matrix::all): Replace guts with MX_ALL_OP. | |
5350 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5351 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5352 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5353 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5354 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5355 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5356 | |
5357 * dMatrix.h (Matrix::any): New arg, dim. | |
5358 (Matrix::all): Likewise. | |
5359 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5360 (ComplexMatrix::all): Likewise. | |
5361 * boolMatrix.h (boolMatrix::any): Likewise. | |
5362 (boolMatrix::all): Likewise. | |
5363 * chMatrix.h (charMatrix::any): Likewise. | |
5364 (charMatrix::all): Likewise. | |
5365 | |
4014 | 5366 * Makefile.in: Use $@-t instead of $@.t. |
5367 | |
4004 | 5368 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5369 | |
5370 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5371 Use it in matrix versions to avoid spewing multiple errors. | |
5372 Call xgammainc instead of dgamit. | |
5373 | |
3998 | 5374 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5375 | |
5376 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5377 Get rows and columns right in loop. | |
5378 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5379 | |
5380 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5381 | |
5382 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5383 * DASRT.cc (DASRT::integrate): Likewise. | |
5384 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5385 | |
5386 * Quad.cc: Don't pass tolerances in constructors. | |
5387 | |
5388 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5389 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5390 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5391 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5392 from corresponding .in files. | |
5393 * LSODE.h, Quad.h: Replace options class definitions with included | |
5394 file. | |
5395 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5396 create OPTS_INC files from OPTS_INC_SRC files. | |
5397 (stamp-prereq): New target. | |
5398 (libraries): Depend on stamp-prereq. | |
5399 Include stamp-prereq along with $(MAKEDEPS). | |
5400 | |
3997 | 5401 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5402 | |
5403 * base-de.h (base_diff_eqn::istate): New data member. | |
5404 (base_diff_eqn::integration_state): New member function. | |
5405 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5406 data members and functions. | |
5407 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5408 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5409 | |
3990 | 5410 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5411 | |
3995 | 5412 * base-de.h (base_diff_eqn::stop_time, |
5413 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5414 base_diff_eqn::integration_error): New data members. | |
5415 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5416 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5417 base_diff_eqn::error_message): New member functions. | |
5418 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5419 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5420 members and functions. | |
5421 | |
3992 | 5422 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5423 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5424 (DASRT::integrate): Don't forget to set nn. |
3992 | 5425 |
3991 | 5426 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5427 * DASSL.cc (ddassl_j): Make it work. | |
5428 * DASPK.cc (ddaspk_j): Likewise. | |
5429 | |
3990 | 5430 * DAE.cc: Delete. |
5431 | |
5432 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5433 solving with root finding. | |
5434 * Makefile.in: Add them to the appropriate lists. | |
5435 | |
5436 * base-dae.h: New file. | |
5437 * Makefile.in (INCLUDES): Add it to the list. | |
5438 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5439 | |
3984 | 5440 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5441 | |
5442 * ODE.h: Move integrate and do_integrate method declarations and | |
5443 definitions here. | |
5444 * base-de.h: From here. | |
5445 | |
5446 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5447 * Makefile.in: Add them to the appropriate lists. | |
5448 (LIBOCTAVE_CXX_SOURCES): | |
5449 | |
3971 | 5450 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5451 | |
5452 * NLEqn.cc (NLEqn::error_message): New function. | |
5453 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5454 | |
3970 | 5455 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5456 | |
5457 * lo-utils.cc (octave_fgetl): New function. | |
5458 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5459 | |
3959 | 5460 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5461 | |
5462 * LSODE.cc (LSODE::error_message): New function. | |
5463 * LSODE.h: Provide decl. | |
5464 (LSODE::integration_state): New function. | |
5465 (LSODE::integration_ok): New function. | |
5466 | |
3952 | 5467 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5468 | |
3955 | 5469 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5470 (LSODE_options::set_integration_method, | |
5471 LSODE_options::integration_method): New functions. | |
3954 | 5472 |
3952 | 5473 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5474 Change all uses. | |
5475 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5476 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5477 New function. | |
5478 | |
5479 * Array.h (Array::fortran_vec): New const version. | |
5480 | |
3951 | 5481 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5482 | |
5483 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5484 (gnu_readline::history_search_forward): Likewise. | |
5485 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5486 to extern "C" functions to octave_rl_ad_defun. | |
5487 | |
5095 | 5488 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5489 |
5490 * DASPK.cc (ddaspk_psol): Return value. | |
5491 * oct-rl-edit.c: Use /* ... */ to comment. | |
5492 | |
3945 | 5493 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5494 | |
5495 * DASSL.h (DASSL_options::init): Undo previous change. | |
5496 (DASSL_options::set_absolute_tolerance): Likewise. | |
5497 * LSODE.h (LSODE_options::init): Likewise. | |
5498 (LSODE_options::set_absolute_tolerance): Likewise. | |
5499 | |
5500 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5501 sqrt(eps), not eps^2. | |
5502 DASPK_options::set_absolute_tolerance): Likewise. | |
5503 | |
5095 | 5504 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5505 |
5506 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5507 object. | |
5508 | |
3933 | 5509 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5510 | |
5511 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5512 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5513 (octave_rl_set_basic_word_break_characters, | |
5514 octave_rl_set_completer_word_break_characters): New functions. | |
5515 * oct-rl-edit.h: Provide decls. | |
5516 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5517 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5518 (command_editor::set_basic_quote_characters, | |
5519 command_editor::set_completion_append_character): New static functions. | |
5520 * cmd-edit.h: Provide decls. | |
5521 (command_editor::do_set_basic_word_break_characters, | |
5522 command_editor::do_set_completer_word_break_characters): | |
5523 New virtual functions. | |
5524 | |
5525 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5526 (resize_fill_value): New static function. | |
5527 | |
5528 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5529 resize_fill_value. | |
5530 * Array2-idx.h (Array2<T>::index): Likewise. | |
5531 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5532 | |
5533 * Array2.cc (Array<T>::print_info): New function. | |
5534 * Array2.h: Provide decl. | |
5535 | |
5536 * Array.cc (Array<T>::print_info): New function. | |
5537 * Array.h: Provide decl. | |
5538 | |
3928 | 5539 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5540 | |
5541 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5542 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5543 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5544 | |
5545 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5546 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5547 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5548 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5549 | |
5095 | 5550 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5551 |
5552 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5553 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5554 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5555 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5556 | |
3919 | 5557 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5558 | |
5559 * DASSL.h (DASSL_options::init): Undo previous change. | |
5560 (DASSL_options::set_absolute_tolerance): Likewise. | |
5561 | |
3912 | 5562 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5563 | |
5564 * DASPK.h, DASPK.cc: New files. | |
5565 * Makefile.in: Add them to the appropriate lists. | |
5566 | |
3904 | 5567 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5568 | |
5569 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5570 Simplify indexing when one or both of the indices are empty. | |
5571 | |
3896 | 5572 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5573 | |
5574 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5575 (DASSL_options::set_absolute_tolerance): Likewise. | |
5576 * LSODE.h (LSODE_options::init): Likewise. | |
5577 (LSODE_options::set_absolute_tolerance): Likewise. | |
5578 | |
5095 | 5579 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5580 |
5581 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5582 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5583 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5584 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5585 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5586 * file-stat.h: Likewise. | |
5587 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5588 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5589 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5590 * strftime.c: Likewise. | |
5591 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5592 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5593 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5594 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5595 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5596 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5597 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5598 | |
5095 | 5599 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5600 |
5601 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5602 internally when the user requests it. | |
5603 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5604 * dbleQR.cc (QR::init): Ditto. | |
5605 * dbleQRP.cc (QRP::init): Ditto. | |
5606 | |
3874 | 5607 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5608 | |
5609 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5610 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5611 (octave_fftw::ifft2d): Likewise. | |
5612 | |
5095 | 5613 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5614 |
5615 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5616 | |
3867 | 5617 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5618 | |
5619 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5620 (LS_DO_WRITE): Likewise. | |
5621 | |
3864 | 5622 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5623 | |
5624 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5625 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5626 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5627 | |
5628 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5629 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5630 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5631 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5632 | |
5633 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5634 DIM == -1 now means no orientation for vector sums. | |
5635 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5636 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5637 | |
3858 | 5638 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5639 | |
5640 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5641 have zero elements. | |
5642 | |
3854 | 5643 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5644 | |
3857 | 5645 * Makefile.in: Split out readline and pathsearch functionality |
5646 into separate liboct-readline and liboct-pathsearch libraries. | |
5647 | |
3854 | 5648 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5649 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5650 to do nothing for this call to rl_clear_screen. | |
3854 | 5651 |
3849 | 5652 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5653 | |
5654 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5655 function. | |
5656 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5657 | |
3838 | 5658 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5659 | |
5660 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5661 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5662 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5663 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5664 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5665 | |
3836 | 5666 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5667 | |
5668 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5669 | |
5670 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5671 Array-b.cc: Instantiate three arg assign functions. | |
5672 | |
5673 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5674 New arg, resize_fill_value. | |
5675 * ArrayN.h: Provide declaration. | |
5676 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5677 three arg version. | |
5678 | |
5679 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5680 New arg, resize_fill_value. | |
5681 * Array3.h: Provide declaration. | |
5682 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5683 three arg version. | |
5684 | |
5685 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5686 New arg, resize_fill_value. | |
5687 * Array2.h: Provide declaration. | |
5688 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5689 three arg version. | |
5690 | |
5691 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5692 New arg, resize_fill_value. | |
5693 * Array.h: Provide declaration. | |
5694 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5695 three arg version. | |
5696 | |
3833 | 5697 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5698 | |
5699 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5700 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5701 to the empty string. | |
5702 | |
3832 | 5703 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5704 | |
5705 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5706 Don't check for rep != a.rep. | |
5707 | |
3827 | 5708 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5709 | |
5710 * oct-fftw.h, oct-fftw.cc: New files. | |
5711 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5712 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5713 ifourier2d}): Use fftw if available. | |
5714 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5715 Likewise. | |
5716 | |
3821 | 5717 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5720 (install-inc): Don't use mk-includedir-link. | |
5721 | |
3803 | 5722 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5723 | |
5724 * lo-cutils.c (octave_gethostname): New function. | |
5725 * lo-utils.h: Provide declaration. | |
5726 * oct-env.cc (octave_env::do_get_host_name): | |
5727 Call octave_gethostname, instead of gethostname. | |
5728 | |
5729 * lo-cutils.c (gethostname): Define here. | |
5730 * lo-sysdep.cc: Not here. | |
5731 | |
3786 | 5732 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5733 | |
5734 * lo-cutils.c: Don't declare strptime. | |
5735 (oct_strptime): Cast return type of strptime to char*. | |
5736 | |
3777 | 5737 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5738 | |
3779 | 5739 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5740 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5741 (octave_rl_read_init_file): Ditto. | |
5742 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5743 free_undo_list. | |
5744 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5745 completion_matches. | |
5746 (octave_rl_enable_paren_matching): New function. | |
5747 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5748 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5749 | |
3777 | 5750 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5751 tanh (const Complex&)): Declare and define if not | |
5752 CXX_ISO_COMPLIANT_LIBRARY. | |
5753 | |
3776 | 5754 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5755 | |
5756 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5757 CXX_ISO_COMPLIANT_LIBRARY. | |
5758 | |
3775 | 5759 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5760 | |
3776 | 5761 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5762 CXX_ISO_COMPLIANT_LIBRARY. | |
5763 | |
3775 | 5764 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5765 archive libraries containing templates. | |
5766 | |
5767 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5768 get_zero_len_size, all_colon_equiv): Inline. | |
5769 (ArrayN<T>::index): Rename idx to arr_idx. | |
5770 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5771 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5772 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5773 | |
5774 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5775 | |
5776 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5777 log10 (const Complex&)): Delete. | |
5778 | |
5779 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5780 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5781 sinh, sqrt, tan, and tanh. | |
5782 | |
3769 | 5783 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5784 | |
5785 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5786 Add std:: namespace qualifier as needed. | |
5787 | |
5788 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5789 Change all uses to match. | |
5790 | |
3767 | 5791 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5792 | |
5793 * lo-cutils.c: Don't delcare strptime. | |
5794 | |
3760 | 5795 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5796 | |
5797 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5798 Return correct size result for empty matrix case. | |
5799 | |
3757 | 5800 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5801 | |
5802 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5803 If args are equal in magnitude, return first arg instead of | |
5804 second. | |
5805 | |
3752 | 5806 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5807 | |
3755 | 5808 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5809 then try harder to compute correct number of elements. | |
3753 | 5810 |
3752 | 5811 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5812 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5813 | |
3750 | 5814 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5815 | |
3751 | 5816 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5817 Rename n_intervals to be n_elt. | |
5818 | |
3750 | 5819 * strptime.c: Surround everything after including config.h in |
5820 #ifndef HAVE_STRPTIME ... #endif. | |
5821 | |
3742 | 5822 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5823 | |
5824 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5825 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5826 | |
3741 | 5827 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5828 | |
5829 * MArray-defs.h: Protect against multiple inclusion. | |
5830 | |
3739 | 5831 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5832 | |
5833 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5834 end of the list, to be compatible with previous versions of Octave. | |
5835 | |
3736 | 5836 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5837 | |
5838 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5839 since mktime is supposed to `normalize' the results for us. | |
5840 | |
3731 | 5841 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5842 | |
5843 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 5844 and vectors. Use xelem for faster access to elements when copying. |
3731 | 5845 |
3726 | 5846 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5847 | |
5848 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
5849 Correct indexing for operation across rows. | |
5850 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
5851 | |
3725 | 5852 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5853 | |
5854 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
5855 elements if arg is a colon. | |
5856 | |
5095 | 5857 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 5858 |
3795 | 5859 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 5860 (Matrix::cumsum (int) const): Likewise. |
5861 (Matrix::prod (int) const): Likewise. | |
5862 (Matrix::sum (int) const): Likewise. | |
5863 (Matrix::sumsq (int) const): Likewise. | |
5864 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
5865 (ComplexMatrix::cumsum (int) const): Likewise. | |
5866 (ComplexMatrix::prod (int) const): Likewise. | |
5867 (ComplexMatrix::sum (int) const): Likewise. | |
5868 (ComplexMatrix::sumsq (int) const): Likewise. | |
5869 | |
3722 | 5870 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5871 | |
5872 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
5873 size if Array<T>::index returns an empty array. | |
5874 | |
3710 | 5875 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5876 | |
5877 * file-ops.cc (file_ops::link, file_ops::symlink, | |
5878 file_ops::readlink): New functions. | |
5879 | |
3709 | 5880 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5881 | |
5882 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
5883 indexed, always return an object the same size as the index arg. | |
5884 | |
5885 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
5886 empty format. | |
5887 | |
3706 | 5888 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5889 | |
5890 * lo-cutils.c (oct_strptime): New function. | |
5891 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
5892 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
5893 | |
3702 | 5894 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
3703 | 5896 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
5897 | |
3702 | 5898 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
5899 | |
3689 | 5900 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5901 | |
5902 * dMatrix.h (read_int): Provide declaration. | |
5903 | |
3688 | 5904 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
5905 | |
5906 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
5907 (write_doubles): Ditto. | |
5908 * data-conv.h: Ditto. | |
5909 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
5910 | |
3685 | 5911 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5912 | |
5913 * boolMatrix.h: Declare MM_CMP_OPS here. | |
5914 * boolMatrix.cc: Define them here. | |
5915 | |
3680 | 5916 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5917 | |
5918 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
5919 previously undefined and set size of x to size of bool index. | |
5920 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
5921 Allow z_len to be zero. | |
5922 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
5923 If frozen, don't assert that frozen_at_z_len == z_len. | |
5924 | |
3670 | 5925 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5926 | |
5927 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
5928 instead of rl_clear_screen. | |
5929 | |
3665 | 5930 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5931 | |
5932 * Array-d.cc: Instantiate ArrayN<double> here too. | |
5933 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
5934 * Makefile.in: Add them to the appropriate lists. | |
5935 | |
3657 | 5936 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5937 | |
5938 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
5939 | |
3635 | 5940 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5941 | |
5942 * lo-sysdep.h: octave_chdir returns int, not bool. | |
5943 | |
3615 | 5944 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5945 | |
5946 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
5947 before rebuilding. | |
5948 | |
5095 | 5949 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 5950 |
5261 | 5951 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 5952 (libraries): Depend only on library targets, not archive members. |
5953 | |
3613 | 5954 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5955 | |
5956 * Makefile.in: (objects): New target. | |
5957 | |
5958 * lo-cutils.c: New file. | |
5959 * Makefile.in (SOURCES): Add it to the list. | |
5960 * lo-utils.h: Declare octave_qsort here. | |
5961 * Array.h (Array::qsort): Use it here. | |
5962 | |
3607 | 5963 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5964 | |
5965 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
5966 | |
3598 | 5967 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5968 | |
5969 * oct-rl-hist.c (octave_history_list): Do something when not | |
5970 printing line numbers. Fix reallocation of retval. | |
5971 | |
3597 | 5972 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5973 | |
5974 * Makefile.in (install-inc): Install files in | |
5975 $(octincludedir)/octave. | |
5976 (uninstall): Remove them from the correct directory too. | |
5977 | |
5978 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
5979 they are not already defined. | |
5980 | |
3588 | 5981 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5982 | |
5983 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
5984 Delete declarations and definitions of mixed-type vector-vector ops. | |
5985 | |
3585 | 5986 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5987 | |
5988 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
5989 matrix and vector objects. | |
5990 | |
5991 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
5992 return type from second arg type. | |
5993 (MDM_BIN_OP): Likewise, for first arg type. | |
5994 | |
5995 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5996 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
5997 | |
5998 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
5999 request ColumnVector to ComplexColumnVector, and Matrix to | |
6000 ComplexMatrix conversions. | |
6001 | |
6002 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
6003 initial value using ComplexMatrix constructor. | |
6004 | |
6005 * CColVector.cc (product, quotient, | |
6006 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
6007 Fix type of returned value. | |
6008 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
6009 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
6010 | |
6011 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
6012 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
6013 dRowVector.h: Declare some constructors explicit, to disallow | |
6014 potentially problematic automatic type conversions. | |
6015 | |
3580 | 6016 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6017 | |
3582 | 6018 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
6019 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
6020 More new files. | |
6021 * Makefile.in: Add them to the appropriate lists. | |
6022 | |
6023 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
6024 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
6025 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
6026 vx-s-crv.cc:, New files. | |
6027 * Makefile.in: Add them to the appropriate lists. | |
6028 | |
6029 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
6030 Delete scalar by vector and vector by scalar binary ops. | |
6031 | |
3580 | 6032 * MArray-defs.h: More new macros to handle MDiagArray operators. |
6033 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
6034 | |
3573 | 6035 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6036 | |
3578 | 6037 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
6038 rl_event_hook before casting to void **. | |
6039 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
6040 | |
3574 | 6041 * MArray-defs.h: Many new macros to make declaration and |
6042 definition of operators more consistent. | |
6043 | |
6044 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
6045 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 6046 |
3569 | 6047 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6048 | |
3572 | 6049 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
6050 (Matrix::ifourier2d): Likewise. | |
6051 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
6052 (ComplexMatrix::ifourier2d): Likewise. | |
6053 | |
3569 | 6054 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
6055 | |
3504 | 6056 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
6057 | |
3519 | 6058 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
6059 readline library. | |
6060 * Makefile.in: Add them to the appropriate lists. | |
6061 | |
6062 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
6063 readline history library. | |
6064 * Makefile.in: Add them to the appropriate lists. | |
6065 | |
3517 | 6066 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
6067 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 6068 (write_doubles): Likewise. |
6069 (read_doubles): Likewise. | |
3517 | 6070 |
3516 | 6071 * oct-env.cc (octave_env::do_polite_directory_format): |
6072 Use operator== and substr method to do limited-length string | |
6073 comparison. | |
6074 | |
3513 | 6075 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 6076 |
3511 | 6077 * Quad.h: Use do_integrate as name of pure virtual function. |
6078 | |
3508 | 6079 * base-de.h: Use tt instead of t as arg names. |
3511 | 6080 Add method with tcrit arg. |
6081 | |
3509 | 6082 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6083 |
3507 | 6084 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6085 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6086 * Quad.cc (quad_fcn_ptr): Ditto. | |
6087 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6088 | |
3505 | 6089 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6090 * Makefile.in: Add them to the appropriate lists. |
3505 | 6091 |
6092 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6093 * Makefile.in: Add them to the appropriate lists. |
3505 | 6094 |
3504 | 6095 * dMatrix.cc (write_int, read_int): No longer declared static. |
6096 | |
6097 * CDiagMatrix.h: Delete decls for friend operators that are | |
6098 handled by MDiagArray2 class. Move others outside class decl and | |
6099 strip friend status. | |
6100 * dDiagMatrix.h: Likewise. | |
6101 | |
6102 * MArray.h: Delete decls for friend operators inside class decl. | |
6103 * MArray2.h: Ditto. | |
6104 * MDiagArray2.h: Ditto. | |
6105 | |
6106 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6107 necessary parameters. Don't allocate memory in the macro. Change | |
6108 all uses. | |
6109 | |
6110 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6111 * CMatrix.h (class ComplexMatrix): Ditto. | |
6112 | |
6113 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6114 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6115 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6116 avoid type conflicts. Change all uses. | |
6117 | |
6118 * strptime.c (__mon_yday): Fix size of array decl. | |
6119 | |
6120 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6121 | |
6122 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6123 default value for second arg. | |
6124 | |
6125 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6126 references to ArrayRep. | |
6127 | |
3503 | 6128 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6129 | |
3504 | 6130 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6131 |
6132 * All source files: Include iostream, fstream, strstream, | |
6133 etc. as needed instead of using forward declarations for these | |
3504 | 6134 classes. Add std:: qualifier as needed. |
3503 | 6135 |
3498 | 6136 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6137 | |
6138 * oct-time.cc: Declare strptime extern "C". | |
6139 | |
3496 | 6140 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6141 | |
6142 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6143 | |
3488 | 6144 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6145 | |
3492 | 6146 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6147 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6148 to get total size to be allocated. | |
6149 | |
3488 | 6150 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6151 as bool, not int. | |
6152 | |
3482 | 6153 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6154 | |
6155 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6156 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6157 as A, even when do_fortran_indexing is not enabled. | |
6158 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6159 | |
3473 | 6160 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6161 | |
3480 | 6162 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6163 function pointer as final arg. Passed function (if any) will be | |
6164 called for singularity errors. | |
6165 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6166 | |
6167 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6168 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6169 | |
3475 | 6170 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6171 No longer bother with infinity or quiet_nan. | |
6172 | |
3473 | 6173 * Array2.cc (Array2<T>::get_size): New function. |
6174 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6175 | |
3472 | 6176 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6177 | |
6178 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6179 New function. | |
6180 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6181 Use it when indexing with one arg instead of faking a second one. | |
6182 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6183 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6184 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6185 rows or columns. | |
6186 | |
6187 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6188 vector that is all true values with a length equal to n as colon | |
6189 equivalent. | |
6190 | |
3470 | 6191 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6192 | |
6193 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6194 | |
5095 | 6195 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6196 |
6197 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6198 operations directly in step 2 and reverse step 2. | |
6199 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6200 operations directly in step 2 and reverse step 2. | |
6201 | |
3465 | 6202 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6203 | |
6204 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6205 | |
6206 * strptime.c: New file, from glibc 2.1.2. | |
6207 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6208 | |
3419 | 6209 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6210 | |
6211 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6212 | |
3415 | 6213 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6214 | |
6215 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6216 NULL directory list returned from kpse_element_dirs | |
6217 | |
3375 | 6218 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6219 | |
6220 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6221 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6222 directly, instead of calling ZGESV. | |
6223 | |
3358 | 6224 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6225 | |
6226 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6227 (string_to_data_type): Use it to improve lookup of data types. | |
6228 | |
3354 | 6229 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6230 | |
6231 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6232 * Array2.h (is_symmetric): Delete declaration. | |
6233 | |
3347 | 6234 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6235 | |
6236 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6237 | |
3344 | 6238 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6239 | |
6240 * oct-time.cc (Fstrftime): Undo previous change. | |
6241 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6242 | |
3334 | 6243 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6244 | |
3336 | 6245 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6246 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6247 | |
3334 | 6248 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6249 Don't forget to pass length of third string argument to dgeesx. | |
6250 | |
6251 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6252 of third string argument to zgeesx. | |
6253 | |
3333 | 6254 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6255 | |
6256 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6257 On errors, simply return `T ()'. | |
6258 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6259 | |
5095 | 6260 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6261 |
6262 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6263 AEPBALANCE class. | |
6264 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6265 | |
3325 | 6266 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6267 | |
6268 * oct-shlib.cc, oct-shlib.h: New files. | |
6269 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6270 | |
3322 | 6271 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6272 | |
6273 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6274 * dRowVector.cc (linspace): Ditto. | |
6275 | |
6276 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6277 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6278 | |
3312 | 6279 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6280 | |
6281 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6282 to evaluate the Jacobian, set info(4), not iwork(4). | |
6283 Set rwork(1) to the maximum step size, not rwork(2). | |
6284 | |
3290 | 6285 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6286 | |
6287 * oct-time.cc: Include <climits>. | |
6288 | |
3281 | 6289 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6290 | |
6291 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6292 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6293 (gnu_readline::do_resize_terminal): New function. | |
6294 | |
3268 | 6295 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6296 | |
6297 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6298 * lo-ieee.c: Likewise. | |
6299 Delete extern "C" declarations for infinity and quiet_nan. | |
6300 | |
3262 | 6301 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6302 | |
3263 | 6303 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6304 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6305 `inline', not `static inline'. | |
6306 | |
3262 | 6307 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6308 then cast to const int * to compare. | |
6309 | |
3257 | 6310 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6311 | |
6312 * DAEFunc.h: Remove useless preprocessor conditional. | |
6313 | |
3255 | 6314 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6315 | |
3257 | 6316 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6317 Use octave_time object instead of time_t. | |
6318 | |
6319 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6320 file_stat::fs_ctime): Now octave_time objects. | |
6321 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6322 Return octave_time objects. | |
6323 (file_stat::is_newer): Args are now octave_time objects instead of | |
6324 time_t. | |
6325 | |
3255 | 6326 * oct-time.h (octave_time::as_double): Delete. |
6327 (octave_time::operator double ()): New function. | |
6328 (octave_time::operator time_t ()): New function. | |
6329 (octave_time::ctime): New function. | |
6330 (octave_base_tm::strftime): Renamed from format_as_string. | |
6331 (octave_base_tm::asctime): New function. | |
6332 (operator == (const octave_time&, const octave_time&), | |
6333 operator != (const octave_time&, const octave_time&), | |
6334 operator < (const octave_time&, const octave_time&), | |
6335 operator <= (const octave_time&, const octave_time&), | |
6336 operator > (const octave_time&, const octave_time&), | |
6337 operator >= (const octave_time&, const octave_time&)): | |
6338 New comparison functions. | |
6339 | |
6340 * strftime.c: Move here from src directory. | |
6341 * Makefile.in (SOURCES): Add it to the list. | |
6342 | |
6343 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6344 | |
3253 | 6345 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6346 | |
6347 * oct-time.h, oct-time.cc: New files. | |
6348 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6349 | |
6350 * systime.h: Move here from src directory. | |
6351 * Makefile.in (INCLUDES): Add it to the list. | |
6352 | |
3248 | 6353 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6354 | |
6355 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6356 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6357 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6358 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6359 | |
6360 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6361 | |
3243 | 6362 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6363 | |
6364 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6365 | |
6366 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6367 | |
6368 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6369 column vector for A(:), for compatibility with Matlab. | |
6370 | |
6371 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6372 | |
6373 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6374 iopt when there are optional inputs in rwork or iwork. | |
6375 | |
3238 | 6376 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6377 | |
6378 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6379 creating static libs. | |
6380 | |
5095 | 6381 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6382 |
6383 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6384 and uint32 data types. | |
6385 | |
6386 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6387 | |
6388 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6389 for Linux. Remove old Linux-specific code. | |
6390 | |
3233 | 6391 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6392 | |
6393 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6394 Don't require lengths to be equal. | |
6395 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6396 ComplexRowVector& a)): Likewise | |
6397 | |
5095 | 6398 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6399 |
6400 * statdefs.h: Only define mode_t if not already defined. | |
6401 | |
5095 | 6402 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6403 |
6404 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6405 when appropriate. | |
6406 | |
6407 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6408 | |
6409 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6410 before calling rl_initialize. | |
6411 | |
3220 | 6412 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6413 | |
6414 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6415 Update Bessel function support to use library by D. E. Amos. | |
6416 | |
3219 | 6417 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6418 | |
6419 * cmd-edit.h (command_editor::readline): Add new variation that | |
6420 allows EOF information to be passed back to caller. | |
6421 | |
6422 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6423 amount of data to read is unspecified. | |
6424 | |
3215 | 6425 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6426 | |
3219 | 6427 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6428 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6429 | |
3215 | 6430 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6431 Add volatile qualifier to void* arg. | |
6432 Cast volatile void* arg to volatile char*. | |
6433 | |
6434 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6435 | |
6436 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6437 (command_editor::do_restore_event_hook): Ditto. | |
6438 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6439 (command_editor::restore_event_hook): Ditto. | |
6440 (gnu_readline::do_set_event_hook): Ditto. | |
6441 (gnu_readline::do_restore_event_hook): Ditto. | |
6442 (gnu_readline::previous_event_hook): New data member. | |
6443 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6444 | |
3206 | 6445 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6446 | |
6447 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6448 | |
6449 * Makefile.in (stmp-pic): New target. | |
6450 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6451 (clean): Remove stmp-pic | |
6452 | |
6453 * Makefile.in: Undo previous change to avoid optmization when | |
6454 compiling lo-ieee.cc. | |
6455 | |
6456 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6457 | |
6458 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6459 imaginary parts. | |
6460 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6461 | |
3203 | 6462 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6463 | |
6464 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6465 | |
3196 | 6466 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6467 | |
6468 * pathsearch.h (dir_path::default_path): New data member. | |
6469 * pathsearch.cc (dir_path::init): Use it. | |
6470 | |
6471 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6472 | |
3189 | 6473 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6474 | |
6475 * chMatrix.cc (charMatrix::extract): New function. | |
6476 (charMatrix::charMatrix (char c)): New constructor. | |
6477 | |
6478 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6479 | |
6480 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6481 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6482 (gnu_readline::do_read_init_file): Likewise. | |
6483 | |
3185 | 6484 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6485 | |
6486 * oct-env.cc (octave_env::do_get_home_directory): | |
6487 If HOME can't be found, set it to "/". | |
6488 (octave_env::do_get_user_name) | |
6489 If user name can't be found, set it to "unknown". | |
6490 (octave_env::do_get_host_name) | |
6491 If host name can't be found, set it to "unknown". | |
6492 | |
6493 * pathsearch.h (dir_path::rehash): New function. | |
6494 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6495 diretcory cache before doing initialization. | |
6496 | |
3180 | 6497 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6498 | |
3185 | 6499 * dMatrix.cc (Qzval): Delete. |
6500 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6501 * dMatrix.h (Qzval): Delete declaration. | |
6502 | |
6503 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6504 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6505 * mx-ext.h: Don't include dbleGEPBAL. | |
6506 | |
3180 | 6507 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6508 static_cast. | |
6509 | |
6510 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6511 | |
6512 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6513 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6514 | |
6515 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6516 | |
6517 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6518 HUGE_VAL and NAN. | |
6519 | |
6520 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6521 | |
6522 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6523 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6524 | |
6525 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6526 | |
6527 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6528 Alloctate space before attempting to use it. | |
6529 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6530 | |
5095 | 6531 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6532 |
6533 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6534 | |
6535 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6536 | |
6537 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6538 have the same size as the operands. | |
6539 | |
6540 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6541 | |
6542 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6543 call to ddassl, set integration_error to 1 before calling the | |
6544 error handler and returning. | |
6545 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6546 | |
3177 | 6547 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6548 | |
6549 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6550 do_fortran_indexing is set, A([]) = scalar. | |
6551 * Array-idx.h (assign): Allow A([]) = scalar. | |
6552 | |
3176 | 6553 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6554 | |
6555 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6556 if dm_nc == 0. | |
6557 | |
3174 | 6558 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6559 | |
6560 * pathsearch.h (dir_path::p_orig): New field. | |
6561 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6562 expansion on the original path here. | |
6563 (dir_path::find_all): Don't do anything if not initialized. | |
6564 | |
3164 | 6565 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6566 | |
6567 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6568 is not set. | |
6569 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6570 | |
6571 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6572 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6573 \int_0^x exp(-t) t^(a-1) dt. | |
6574 | |
6575 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6576 | |
6577 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6578 Array-s.cc: Change return types of all `assign' explicit | |
6579 instantiations to be int, not void, to match the template decl in | |
6580 Array.h. | |
6581 | |
3162 | 6582 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6583 | |
6584 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6585 | |
3156 | 6586 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6587 | |
6588 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6589 * lo-mappers.cc: Not here. | |
6590 | |
6591 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6592 * lo-mappers.h: Not here. | |
6593 | |
6594 * lo-specfun.h: Never declare gamma or lgamma. | |
6595 | |
3154 | 6596 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6597 | |
6598 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6599 empty matrix of any dimension. | |
6600 | |
3145 | 6601 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6602 | |
3147 | 6603 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6604 | |
3146 | 6605 * lo-specfun.cc: Don't include dbleBessel.h. |
6606 | |
6607 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6608 | |
3145 | 6609 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6610 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6611 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6612 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6613 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6614 | |
6615 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6616 Don't cast arg in call to swap_8_bytes. | |
6617 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6618 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6619 swap_4_bytes. | |
6620 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6621 | |
6622 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6623 * prog-args.cc (prog_args::getopt): Likewise. | |
6624 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6625 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6626 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6627 Likewise. | |
6628 | |
6629 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6630 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6631 | |
3141 | 6632 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6633 | |
6634 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6635 Use $(mk-libdir-link). | |
6636 | |
6637 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6638 not SAFE_STAT and SAFE_LSTAT. | |
6639 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6640 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6641 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6642 safe-lstat.h, and safe-lstat.cc. | |
6643 | |
3136 | 6644 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6645 | |
6646 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6647 | |
3130 | 6648 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6649 | |
6650 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6651 trace is negative. | |
6652 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6653 the real part of the trace is negative. | |
6654 | |
6655 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6656 | |
6657 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6658 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6659 | |
6660 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6661 to succeed. | |
6662 | |
3125 | 6663 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6664 | |
6665 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6666 (make_uniq): Likewise. | |
6667 | |
6668 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6669 | |
6670 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6671 | |
3119 | 6672 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6673 | |
3121 | 6674 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6675 | |
6676 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6677 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6678 | |
3121 | 6679 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6680 oct-math.h: Delete. | |
6681 * Makefile.in (SOURCES): Delete them from the list. | |
6682 | |
3112 | 6683 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6684 | |
6685 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6686 | |
5095 | 6687 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6688 |
6689 Changes to make support egcs snapshots that implement explicit | |
6690 specification of template functions according to CD2. | |
6691 | |
6692 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6693 template function specs for template friends. | |
6694 * MArray2.h: Likewise. | |
6695 * MDiagArray2.h: Likewise. | |
6696 | |
3095 | 6697 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6698 | |
6699 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6700 | |
3092 | 6701 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6702 | |
6703 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6704 to complex<double>(int) instead of complex<double>(double). | |
6705 | |
6706 * lo-mappers.cc (atanh): Ditto. | |
6707 | |
3079 | 6708 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6709 | |
6710 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6711 * idx-vector.h (idx_vector::sort): Ditto. | |
6712 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6713 trying to delete elements specified by the index vectors. | |
6714 | |
3075 | 6715 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6716 | |
6717 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6718 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6719 | |
3074 | 6720 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6721 | |
6722 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6723 | |
3069 | 6724 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6725 | |
6726 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6727 Call error handler if we can't find the current directory. | |
6728 | |
3068 | 6729 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6730 | |
3069 | 6731 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6732 (xfinite (double)): Ditto. | |
6733 | |
3068 | 6734 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6735 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6736 | |
3056 | 6737 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6738 | |
6739 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6740 compatible with Matlab. | |
6741 | |
3050 | 6742 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6743 | |
6744 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6745 single colon. | |
6746 | |
3040 | 6747 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6748 | |
3049 | 6749 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6750 (xgamma): Likewise, for calling xdgamma. | |
6751 | |
3042 | 6752 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6753 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6754 | |
3040 | 6755 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6756 to do better job expanding tildes. | |
6757 | |
6758 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6759 Use temporary variable to compute length. | |
6760 | |
3029 | 6761 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6762 | |
3034 | 6763 * Makefile.in: Make building of static library optional. |
3036 | 6764 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6765 |
3029 | 6766 * Makefile.in (stamp-picdir): Delete. |
6767 (pic): New target. Don't worry so much about creating pic | |
6768 directory only when it is really needed. | |
6769 (stamp-interp): Delete. | |
6770 (libraries): New target. Depend on shared library directly. | |
6771 | |
3024 | 6772 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6773 | |
6774 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6775 New static function. | |
6776 | |
3012 | 6777 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6778 | |
6779 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6780 | |
3004 | 6781 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6782 | |
6783 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6784 set_basic_quote_characters, to match new version of readline. | |
6785 | |
6786 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6787 for restoring terminal state through rl_deprep_term_function, now | |
6788 declared in readline.h | |
6789 (rl_deprep_terminal): Delete declaration. | |
6790 | |
2993 | 6791 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6792 | |
6793 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6794 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6795 | |
2968 | 6796 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6797 | |
6798 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6799 New static function. | |
6800 | |
2964 | 6801 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6802 | |
2966 | 6803 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6804 the vector is not sorted. | |
6805 | |
2964 | 6806 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6807 * dMatrix.cc (Matrix::operator !): Likewise | |
6808 | |
2941 | 6809 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
6811 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6812 | |
6813 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6814 | |
6815 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6816 | |
2938 | 6817 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6818 | |
2941 | 6819 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6820 (install-inc): Use it. | |
6821 | |
2938 | 6822 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6823 Handle errors and missing functions consistently. | |
6824 | |
6825 * oct-group.h, oct-group.cc: New files. | |
6826 | |
6827 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6828 | |
6829 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6830 | |
2934 | 6831 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6832 | |
6833 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6834 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6835 | |
6836 * oct-passwd.h, oct-passwd.cc: New files. | |
6837 | |
2926 | 6838 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6839 | |
6840 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
6841 | |
6842 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
6843 (instance_ok ()): New function. | |
6844 | |
6845 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
6846 | |
6847 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
6848 | |
6849 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
6850 src/utils.h and src/utils.cc. | |
6851 (octave_fgets): New function, extracted from src/input.cc. | |
6852 | |
6853 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
6854 GNU readline, and allow Octave to work without GNU readline. | |
6855 | |
6856 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
6857 system-dependent functions. | |
6858 | |
6859 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
6860 | |
6861 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
6862 from file-ops.h and file-ops.cc and move here. | |
6863 | |
6864 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
6865 tilde_expand functions here from src/dirfns.cc. | |
6866 | |
6867 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6868 | |
6869 * pathlen.h: New file, from ../src. | |
6870 | |
2917 | 6871 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6872 | |
6873 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
6874 out-of-bounds indexing of the index array. | |
6875 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
6876 | |
2850 | 6877 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6878 | |
6879 * LSODE.h (x_step_limit): New field. | |
6880 (LSODE_options::init): Initialize it. | |
6881 (LSODE_options::copy): Copy it. | |
6882 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
6883 New functions. | |
6884 (LSODE::working_too_hard): Delete. | |
6885 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
6886 | |
2844 | 6887 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6888 | |
6889 * MArray-b.cc: Delete. | |
6890 * Makefile.in: Delete it from the lists. | |
6891 | |
6892 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
6893 MArray2, since most of the numeric ops don't really make sense. | |
6894 | |
2829 | 6895 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6896 | |
2832 | 6897 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
6898 | |
6899 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
6900 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
6901 | |
2830 | 6902 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
6903 idx_vector::freeze): Delete prefer_zero_one arg. | |
6904 * Array-idx.h, Array2-idx.h: Change all callers. | |
6905 | |
6906 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
6907 | |
2829 | 6908 * mx-op-defs.h: New file for operator definitions. |
6909 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
6910 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
6911 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
6912 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
6913 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
6914 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
6915 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
6916 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
6917 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
6918 mx-s-cm.cc, mx-s-dm.cc: | |
6919 New files for mixed-type operations. | |
6920 * Makefiles.in: Add them to the appropriate lists. | |
6921 | |
6922 * mx-inlines.cc: Add bool by bool EQ ops. | |
6923 | |
6924 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
6925 boolMatrix types. | |
6926 (idx_vector::maybe_convert_one_zero_to_idx, | |
6927 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
6928 Delete second arg, prefer_zero_one. Change all callers. | |
6929 | |
6930 * boolMatrix.h, boolMatrix.cc: New files. | |
6931 * mx-base.h: Include boolMatrix.h here. | |
6932 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
6933 | |
6934 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
6935 | |
6936 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
6937 operator-, operator*, product, and quotient functions. | |
6938 Add constructor for boolMatrix type. | |
6939 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
6940 product, and quotient functions. | |
6941 | |
6942 * CDiagMatrix.h: Delete friend declarations for operator+, | |
6943 operator-, and product functions. | |
6944 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
6945 | |
6946 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
6947 | |
2815 | 6948 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6949 | |
6950 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
6951 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
6952 (EIG::symmetric_init (const Matrix&)): New function. | |
6953 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
6954 | |
6955 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
6956 | |
6957 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6958 | |
6959 * Array2.cc (is_symmetric): New function. | |
6960 * Array2.h (is_square): New function. | |
6961 | |
2811 | 6962 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6963 | |
6964 * Makefile.in (install-strip): New target. | |
6965 | |
2804 | 6966 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6967 | |
6968 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6969 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
6970 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6971 dbleSVD.cc: Don't include mx-inlines.cc. | |
6972 | |
6973 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
6974 duplicate code. | |
6975 | |
2800 | 6976 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6977 | |
2804 | 6978 * dbleQR.h (QR): Delete extra comma at end of list. |
6979 | |
6980 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
6981 | |
6982 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
6983 | |
6984 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
6985 idx_vecotr_rep:: qualifiers. | |
6986 | |
6987 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
6988 | |
6989 * data-conv.h (save_type): Delete extra comma at end of list. | |
6990 | |
2800 | 6991 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
6992 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
6993 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
6994 old C-style `(T) val' casts. | |
6995 | |
2795 | 6996 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6997 | |
6998 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
6999 just breaking out of the innermost loop. | |
7000 * CMatrix.cc (operator >>): Likewise. | |
7001 | |
2779 | 7002 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 7003 |
7004 * Version 2.0.5 released. | |
7005 | |
2767 | 7006 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7007 | |
7008 * CmplxQR.cc (ComplexQR::init): New function. | |
7009 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
7010 * CmplxQRP.cc (ComplexQRP::init): New function. | |
7011 Get sizes right in all cases. | |
7012 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
7013 | |
7014 * dbleQR.cc (QR::init): New function. | |
7015 (QR::QR): Use it. Use initializer list too. | |
7016 * dbleQRP.cc (QRP::init): New function. | |
7017 Get sizes right in all cases. | |
7018 (QR::QRP): Use it. Use initializer list too. | |
7019 | |
2759 | 7020 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7021 | |
7022 * mach-info.cc (oct_mach_info::string_to_float_format): | |
7023 Recognize "vaxg", not "vax_g". | |
7024 | |
2713 | 7025 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7026 | |
2714 | 7027 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
7028 dimension in check for colon equivalent index. | |
7029 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
7030 index whose value is 0 is also colon eqivalent for n == 1. | |
7031 | |
2713 | 7032 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
7033 system-specific tests first. | |
7034 | |
2709 | 7035 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 7036 |
7037 * Version 2.0.4 released. | |
7038 | |
7039 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7040 | |
7041 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
7042 | |
2693 | 7043 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 7044 |
7045 * Version 2.0.3 released. | |
7046 | |
2686 | 7047 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7048 | |
7049 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
7050 | |
2673 | 7051 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7052 | |
2676 | 7053 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
7054 (all): Don't depend on stamp-prereq or stamp-picdir. | |
7055 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
7056 (stamp-picdir): Silence noise about making pic. | |
7057 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
7058 | |
2673 | 7059 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
7060 Fix typo in last change. | |
7061 | |
7062 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
7063 Convert from friend (moved from dColVector.cc). | |
7064 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
7065 Likewise (moved from dMatrix.cc). | |
7066 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
7067 Likewise (moved from dRowVector.cc). | |
7068 | |
7069 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
7070 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
7071 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
7072 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
7073 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
7074 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
7075 | |
7076 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
7077 * dMatrix.cc (Matrix::apply): Likewise. | |
7078 * dRowVector.cc (RowVector::apply): Likewise. | |
7079 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7080 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7081 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7082 | |
2668 | 7083 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7084 | |
7085 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7086 | |
7087 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7088 | |
7089 * file-ops.cc (oct_unlink (const string&, string&)): | |
7090 New two-arg version. | |
7091 (oct_rmdir (const string&, string&)): New two-arg version. | |
7092 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7093 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7094 (oct_rename (const string&, const string&, string&)): | |
7095 New three-arg version. | |
7096 | |
2663 | 7097 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7098 | |
7099 * idx-vector.h (idx_vector::orig_empty): New function. | |
7100 | |
7101 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7102 Don't always resize to [](0x0) if one of the indices is empty or | |
7103 zero. | |
7104 | |
2658 | 7105 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7106 | |
7107 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7108 Set line_in_file here too. | |
7109 (command_history::read_range): New arg, must_exist. | |
7110 | |
2651 | 7111 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
7113 * f2c-main.c: Change C++-style comments to C-style comments. | |
7114 | |
2638 | 7115 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7116 | |
7117 * Makefile.in (install-inc): Create a relative symbolic link. | |
7118 | |
2634 | 7119 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7120 | |
7121 * Version 2.0.2 released. | |
7122 | |
2624 | 7123 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7124 | |
7125 * Makefile.in (bin-dist): New target. | |
7126 | |
2621 | 7127 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7128 | |
7129 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7130 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7131 | |
2613 | 7132 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7133 | |
7134 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7135 If the number of columns is zero, also set the number of rows to zero. | |
7136 (charMatrix::charMatrix (const char *)): Likewise. | |
7137 | |
2602 | 7138 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7139 | |
7140 * Version 2.0.1 released. | |
7141 | |
2601 | 7142 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7143 | |
7144 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7145 columns for resizing when the number of rows is specified but the | |
7146 number of columns is not. | |
7147 | |
2598 | 7148 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7149 | |
2599 | 7150 * Range.cc (operator -): New function. |
7151 | |
2598 | 7152 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7153 | |
2589 | 7154 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7155 | |
7156 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7157 know if the assignment conforms. | |
7158 | |
2583 | 7159 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7160 | |
7161 * Version 2.0 released. | |
7162 | |
2570 | 7163 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7164 | |
2575 | 7165 * Array2-idx.h (assign): If index is a colon, set number of |
7166 elements to the lhs dimension if the lhs dimension is greater than | |
7167 zero. Otherwise, set it to the rhs dimension. | |
7168 | |
7169 * Version 1.94. | |
7170 | |
2570 | 7171 * Array2-idx.h (assign): Test for rhs scalar case first. |
7172 If index is colon, set number of elements to lhs dimension, not | |
7173 rhs dimension. | |
7174 | |
2563 | 7175 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7176 | |
2566 | 7177 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7178 * sun-utils.cc: Delete. | |
7179 * f2c-main.c: New file | |
7180 | |
7181 * Makefile.in: Fix file name lists. | |
7182 | |
2563 | 7183 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7184 | |
2561 | 7185 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7186 | |
7187 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7188 Create result using Complex constructor, not multiplication. | |
7189 Order elements as they are returned from Eispack. | |
7190 | |
2559 | 7191 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7192 | |
2560 | 7193 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7194 Only include nan.h if SCO is defined. Define _IEEE before | |
7195 including it and undefine it afterward. | |
7196 [SCO] (isnan): Don't mistake Inf as NaN. | |
7197 | |
2559 | 7198 * Array-idx.h (assign): Only resize if assignment conforms. |
7199 | |
2551 | 7200 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7201 | |
7202 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7203 * lo-error.h: Delete (moved to libcruft/misc). | |
7204 | |
7205 * Version 1.93. | |
7206 | |
2546 | 7207 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7208 | |
2549 | 7209 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7210 be the same as they are in fnmatch.h. | |
7211 | |
2546 | 7212 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7213 | |
7214 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7215 (SOURCES): Delete f77-fcn.c. | |
7216 | |
2522 | 7217 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7218 | |
7219 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7220 | |
2512 | 7221 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7222 | |
7223 * Version 1.92. | |
7224 | |
2508 | 7225 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7226 | |
2512 | 7227 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7228 lines that have only carriage return or newline. | |
7229 | |
2508 | 7230 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7231 | |
2500 | 7232 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7233 | |
7234 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7235 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7236 | |
2493 | 7237 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7238 | |
7239 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7240 from vectors of C strings. | |
7241 | |
7242 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7243 vector. | |
7244 (glob_match::match): Allow match string to be a string vector. | |
7245 (glob_match::glob): New function. | |
7246 | |
7247 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7248 | |
7249 * Array-b.cc: New file. | |
7250 * Makefile.in (TI_SRC): Add it to the list. | |
7251 | |
2492 | 7252 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7253 | |
7254 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7255 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7256 want the version from the build directory. (Maybe this should be | |
7257 done for all the include files, not just those that are | |
7258 auto-generated? Hmm.) | |
7259 | |
2481 | 7260 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7261 | |
2482 | 7262 * Version 1.91. |
7263 | |
2481 | 7264 * Array3.cc (Array3<T>::resize): Make it work. |
7265 | |
7266 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7267 | |
7268 * oct-alloc.h, oct-alloc.cc: New files. | |
7269 * Makefile.in: Add them to the lists. | |
7270 | |
7271 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7272 | |
7273 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7274 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7275 | |
2466 | 7276 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7277 | |
7278 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7279 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7280 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7281 underlying macro is not defined. | |
7282 | |
7283 * oct-math.h (lgamma, gamma): Delete declarations. | |
7284 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7285 Protect declarations with #ifdef HAVE_*. | |
7286 | |
2440 | 7287 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7288 | |
2452 | 7289 * Version 1.90. |
7290 | |
7291 * Makefile.in (DISTFILES): Add ChangeLog. | |
7292 | |
2444 | 7293 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7294 | |
7295 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7296 | |
2443 | 7297 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7298 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7299 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7300 |
2440 | 7301 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7302 since that is now accepatble syntax, even for built-in types. | |
7303 * Array2.h (T Array2<T>::checkelem): Likewise | |
7304 | |
2433 | 7305 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7306 | |
7307 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7308 message and return -1. | |
7309 | |
2428 | 7310 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7311 | |
2431 | 7312 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7313 cast them to const string * in the body of the function. | |
7314 | |
7315 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7316 string from buf. | |
7317 | |
2428 | 7318 * Array3.h (Array3::checkelem): Tag bogus return value with |
7319 GCC_ATTRIBUTE_UNUSED. | |
7320 * Array2.h (Array2::checkelem): Likewise. | |
7321 | |
2424 | 7322 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7323 | |
7324 * Quad.h (Quad): Define virtual destructor. | |
7325 | |
2408 | 7326 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7327 | |
7328 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7329 | |
2401 | 7330 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7331 | |
7332 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7333 and MAIN__ extern "C". | |
7334 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7335 | |
2391 | 7336 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
7338 * MArray-misc.cc: New file. | |
7339 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7340 | |
7341 * mx-inlines.cc (equal): Return bool, not int. | |
7342 | |
7343 * idx-vector.h (idx_vector (double)): New constructor. | |
7344 | |
7345 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7346 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7347 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7348 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7349 CRowVector.cc: Logical operators return bool, not int. | |
7350 | |
7351 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7352 New function. | |
7353 | |
7354 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7355 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7356 Matrix::all_elements_are_inf_or_nan): New functions. | |
7357 | |
7358 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7359 | |
7360 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7361 for errors. Simplify macros by converting FCN to string for error | |
7362 messages. | |
7363 | |
7364 * Array-idx.h (Array<T>::index): New function. Don't call | |
7365 clear_index() here. | |
7366 (Array<T>::value): Call it, do call clear_index() here. | |
7367 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7368 one and two arg index functions. | |
7369 | |
7370 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7371 | |
7372 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7373 separate implementation file. | |
7374 | |
2354 | 7375 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7376 | |
2358 | 7377 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7378 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7379 | |
2356 | 7380 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7381 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7382 them uniq. | |
7383 | |
2354 | 7384 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7385 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7386 Rewrite. Also return index as a reference arg. | |
7387 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7388 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7389 Delete. | |
7390 | |
7391 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7392 Matrix::column_max, Matrix::column_min): | |
7393 Rewrite. Also return index as a reference arg. | |
7394 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7395 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7396 | |
7397 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7398 | |
7399 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7400 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7401 Matrix::column_min_loc, Matrix::column_max, | |
7402 Matrix::column_max_loc): Ignore leading NaNs. | |
7403 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7404 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7405 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7406 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7407 leading NaNs. | |
7408 | |
2352 | 7409 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7410 | |
7411 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7412 starting at n, not 0. | |
7413 | |
2349 | 7414 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7415 | |
7416 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7417 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7418 | |
7419 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7420 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7421 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7422 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7423 New constructors. | |
7424 | |
7425 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7426 New constructor. | |
7427 | |
2343 | 7428 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7429 | |
7430 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7431 derivative vectors are the same size. | |
2344 | 7432 * DASSL.cc (do_integrate): Likewise. |
2343 | 7433 |
2330 | 7434 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7435 | |
7436 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7437 iostreams and handler data format conversions. Delete old methods | |
7438 that used stdio. | |
7439 | |
7440 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7441 | |
7442 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7443 | |
7444 * mach-info.h: Rename from float-fmt.h. | |
7445 * mach-info.cc: Rename from float-fmt.cc. | |
7446 Handle machine information using a singlton class. | |
7447 * Makefile.in: Update appropriate lists. | |
7448 | |
7449 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7450 | |
7451 * Array-flags.cc: Provide definitions for the flags even if | |
7452 OCTAVE_SOURCE is not defined. | |
7453 | |
7454 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7455 operator(), not elem(). | |
7456 * Array3.h: Move indexing methods here from Array3.cc. | |
7457 | |
7458 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7459 | |
7460 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7461 | |
7462 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7463 INSTALL_DATA for shared libs. | |
7464 | |
7465 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7466 | |
7467 * Quad.cc: Include lo-error.h here too. | |
7468 | |
7469 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7470 | |
7471 * file-ops.h: Include sys/types.h here. | |
7472 | |
7473 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7474 | |
7475 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7476 | |
7477 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7478 elements in result. | |
7479 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7480 rows and columns in result. | |
7481 | |
7482 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7483 | |
7484 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7485 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7486 | |
7487 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7488 | |
7489 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7490 | |
7491 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7492 | |
7493 * Makefile.in (uninstall): Also delete shared library. | |
7494 Split install into install-libs and install-includes. | |
7495 (install-inc): If linkdir is a directory, leave it alone. | |
7496 | |
7497 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7498 | |
7499 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7500 | |
7501 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7502 * Array2-idx.h (assign): Likewise. | |
7503 | |
7504 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7505 | |
7506 * Array2.cc (Array2<T>::range_error): New functions. | |
7507 | |
7508 * Array.h (class Array<T>): elem() and operator() are now | |
7509 equivalent, and do bounds checking by default. | |
7510 * Array2.cc (class Array2<T>): Likewise. | |
7511 | |
7512 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7513 | |
7514 * Makefile.in (maintainer-clean, distclean): Also delete | |
7515 stamp-picdir, stamp-shared, and pic directory. | |
7516 (stamp-prereq): New target. | |
7517 | |
7518 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7519 | |
7520 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7521 New function. | |
7522 | |
7523 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7524 * Array.h (Array<T>::checkelem): Use them. | |
7525 | |
7526 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7527 elements too. | |
7528 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7529 | |
7530 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7531 | |
7532 * Makefile.in (distclean): Delete so_locations, which is created | |
7533 on DEC Alpha systems. | |
7534 | |
7535 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7536 | |
7537 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7538 already defined. | |
7539 | |
7540 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7541 | |
7542 * pathsearch.cc: Include config.h. | |
7543 | |
7544 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7545 | |
7546 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7547 allow M(I, J) = scalar if I or J is empty. | |
7548 | |
7549 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7550 and Array3-idx.h). | |
7551 | |
7552 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7553 | |
7554 * lo-error.h: Make comments C friendly. | |
7555 | |
7556 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7557 | |
7558 * Array2.h (make_unique): Move all indexing functions here. | |
7559 * Array2.cc: From here. | |
7560 | |
7561 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7562 whether operator() calls elem or checkelem. | |
7563 | |
7564 * Array.h (make_unique): New private function. | |
7565 Move all indexing functions here. | |
7566 * Array.cc: From here. | |
7567 | |
7568 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7569 it too. | |
7570 | |
7571 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7572 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7573 MArray-C.cc: Include config.h. | |
7574 | |
7575 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7576 Don't define HEAVYWEIGHT_INDEXING here. | |
7577 | |
7578 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7579 | |
7580 * base-lu.h, base-lu.cc: New files. | |
7581 * Makefile.in: Add them to the appropriate lists. | |
7582 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7583 | |
7584 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7585 | |
7586 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7587 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7588 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7589 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7590 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7591 | |
7592 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7593 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7594 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7595 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7596 Simplify using new macros. | |
7597 | |
7598 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7599 | |
7600 * Makefile.in (install): If $(includedir) ends in version string, | |
7601 make link to name that does not include version info. | |
7602 | |
7603 * lo-ieee.cc: Include <cmath> here. | |
7604 | |
7605 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7606 | |
7607 * lo-ieee.cc, lo-ieee.h: New files. | |
7608 * lo-mappers.cc, lo-mappers.h: New files. | |
7609 * lo-utils.cc, lo-utils.h: New files. | |
7610 * Makefile.in: Add them to the appropriate lists. | |
7611 | |
7612 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7613 | |
7614 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7615 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7616 | |
7617 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7618 float-fmt.cc: New files. | |
7619 * Makefile.in: Include them in the appropriate lists. | |
7620 | |
7621 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7622 | |
7623 * dMatrix.cc (Qzval): New function. | |
7624 | |
7625 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7626 | |
7627 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7628 char*. | |
7629 | |
7630 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7631 Use F77_XFCN to call Fortran subroutine. | |
7632 * dColVector.cc, CColVector.cc: Likewise. | |
7633 * dRowVector.cc, CRowVector.cc: Likewise. | |
7634 * NPSOL.h, NPSOL.cc: Likewise. | |
7635 * CmplxCHOL.cc: Likewise. | |
7636 * dbleCHOL.cc: Likewise. | |
7637 * CMatrix.cc: Likewise. | |
7638 * dMatrix.cc: Likewise. | |
7639 * QPSOL.cc: Likewise. | |
7640 * LSODE.cc: Likewise. | |
7641 | |
7642 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7643 | |
7644 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7645 | |
7646 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7647 workspace. Use F77_XFCN to call Fortran subroutine. | |
7648 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7649 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7650 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7651 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7652 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7653 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7654 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7655 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7656 * EIG.h, EIG.cc; Likewise. | |
7657 * CollocWt.cc: Likewise. | |
7658 * NLEqn.cc: Likewise. | |
7659 * Quad.cc: Likewise. | |
7660 | |
7661 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7662 | |
7663 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7664 Use F77_XFCN to call Fortran subroutine. | |
7665 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7666 * dbleQR.h, dbleQR.cc: Ditto. | |
7667 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7668 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7669 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7670 | |
7671 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7672 (struct DIR): delete forward declaration. | |
7673 (dir_entry::operator = (const dir_entry$)): Protect against | |
7674 copying same object. | |
7675 * dir-ops.cc: Cast dir appropriately. | |
7676 | |
7677 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7678 | |
7679 * lo-error.cc: Moved to libcruft/misc. | |
7680 * Makefile.in: Delete it from the list. | |
7681 | |
7682 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7683 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7684 | |
7685 * Array-flags.h: New file. | |
7686 * Array-idx.h: Include it here. | |
7687 * Makefile.in (MATRIX_INC): Add it to the list. | |
7688 | |
7689 * Array-flags.cc: Renamed from Array-ext.cc. | |
7690 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7691 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7692 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7693 (liboctave_rre_flag): Renamed from rre_flag. | |
7694 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7695 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7696 | |
7697 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7698 (stamp-shared): Use them here. | |
7699 | |
7700 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7701 | |
7702 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7703 argument value. | |
7704 | |
7705 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7706 | |
7707 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7708 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7709 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7710 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7711 Clean up constructors, assigment operator. | |
7712 | |
7713 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7714 | |
7715 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7716 Check f77_exception_encountered on return. | |
7717 | |
7718 * f77-fcn.c (f77_exception_encountered): New variable. | |
7719 (F77_XFCN): Set it. | |
7720 * f77-fcn.h: Provide declaration. | |
7721 | |
7722 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7723 | |
7724 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7725 | |
7726 * NLEqn.h (NLEqn_options::set_options): New function. | |
7727 * Quad.h (Quad_options::set_options): Likewise. | |
7728 | |
7729 * LP.h (class LP): Add accessors for LP data. | |
7730 | |
7731 * NLEqn.h (NLEqn::n): Delete. | |
7732 | |
7733 * NLEqn.h (class NLEqn::n): Likewise. | |
7734 | |
7735 * NLP.h (class NLP): Add accessors for NLP data. | |
7736 | |
7737 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7738 access functions here. | |
7739 * NPSOL.cc.cc: From here. | |
7740 | |
7741 * QLD.h (class QLD): Add destructor definition. | |
7742 * Objective.h (class Objective): Likewise. | |
7743 * ODEFunc.h (class ODEFunc): Likewise. | |
7744 * NLFunc.h (class NLFunc): Likewise. | |
7745 * NLEqn.h (class NLEqn): Likewise. | |
7746 * NLConst.h (class NLConst): Likewise. | |
7747 * LinConst.h (class LinConst): Likewise. | |
7748 * LSODE.h (class LSODE_options): Likewise. | |
7749 * CollocWt.h (class CollocWt): Likewise. | |
7750 * Bounds.h (class Bounds): Likewise. | |
7751 | |
7752 * QLD.cc (QLD::set_default_options): Delete. | |
7753 | |
7754 * QP.h (QP): Add accessors for QP data. | |
7755 Add copy constructor, operator =, and destructor definitions. | |
7756 | |
7757 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7758 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7759 DAEFunc.h, CollocWt.h, Bounds.h: | |
7760 Clean up constructors, assigment operator. | |
7761 | |
7762 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7763 counting to avoid duplicating the data immediately. | |
7764 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7765 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7766 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7767 | |
7768 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7769 | |
7770 * prog-args.h (prog_args::option_argument): New enum. | |
7771 | |
7772 * f77-fcn.h: Rename from f77-uscore.h. | |
7773 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7774 * f77-fcn.c: New file. | |
7775 * Makefile.in (SOURCES): Add it to the list. | |
7776 | |
7777 * ODEFunc.h: Clean up. | |
7778 | |
7779 * DASSL.cc, DASSL.h: New files. | |
7780 * Makefile.in: Add them to the appropriate lists. | |
7781 | |
7782 * LSODE.cc, LSODE.h: New files. | |
7783 * Makefile.in: Add them to the appropriate lists. | |
7784 | |
7785 * ODE.cc: Delete. | |
7786 * Makefile.in (SOURCES): Remove from list. | |
7787 | |
7788 * base-de.h, DAE.cc: New files. | |
7789 * Makefile.in: Add them to the appropriate lists. | |
7790 * ODE.h: Only define interface for ODE classes. | |
7791 * DAE.h: Only define interface for ODE classes. | |
7792 | |
7793 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7794 (LPsolve::set_default_options)): Delete | |
7795 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7796 destructor. | |
7797 | |
7798 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7799 | |
7800 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7801 (QPSOL::operator =): Call base class operator = instead of assuming | |
7802 we know what to copy. | |
7803 | |
7804 * base-min.h (size): New function. | |
7805 | |
7806 * NLP.h (NLP::size): Delete. | |
7807 (NLP::NLP (const NLP&)): New constructor. | |
7808 (NLP::operator =): Call base class operator = instead of assuming | |
7809 we know what to copy. | |
7810 | |
7811 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7812 (class NPSOL): Add operator = and destructor. | |
7813 | |
7814 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7815 | |
7816 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7817 | |
7818 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7819 | |
7820 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7821 | |
7822 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7823 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7824 | |
7825 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7826 | |
7827 * prog-args.h, prog-args.cc: New files. | |
7828 * Makefile.in: Add them to lists. | |
7829 | |
7830 * getopt.h, getopt.c, getopt1.c: New files. | |
7831 * Makefile.in: Add them to the lists. | |
7832 | |
7833 * oct-term.h, oct-term.cc: New files. | |
7834 * Makefile.in: Add them to the lists. | |
7835 | |
7836 * str-vec.cc: New file. | |
7837 * Makefile.in (SOURCES): Add it to the list. | |
7838 | |
7839 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
7840 | |
7841 * tempname.c, tempnam.c: Move here from src directory. | |
7842 * Makefile.in: Add to lists. | |
7843 | |
7844 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7845 | |
7846 * cmd-hist.h, cmd-hist.cc: New files. | |
7847 * Makefile.in: Add them to lists. | |
7848 | |
7849 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7850 | |
7851 * oct-glob.h, oct-glob.cc: New files. | |
7852 * Makefile.in: Add them to lists. | |
7853 | |
7854 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7855 | |
7856 * pathsearch.h, pathsearch.cc: New files. | |
7857 * Makefile.in: Add them to lists. | |
7858 | |
7859 * dir-ops.h, dir-ops.cc: New files. | |
7860 * sysdir.h: Move here from src directory. | |
7861 * Makefile.in: Add them to lists. | |
7862 | |
7863 * Array.h (Array::qsort): Return *this, not void. | |
7864 * str-vec.h (string_vector::qsort): Likewise. | |
7865 | |
7866 * chMatrix.cc (row_as_string): Resize result to eliminate | |
7867 unnecessary NULs. | |
7868 | |
7869 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7870 | |
7871 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
7872 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
7873 Files moved here from src directory. | |
7874 * Makefile.in: Add them to lists. Include appropriate rules. | |
7875 | |
7876 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7877 Use pointers, not references (this is C code!). | |
7878 | |
7879 * oct-math.h: New file. | |
7880 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7881 Files moved here from src directory. | |
7882 * Makefile.in: Add them to lists. | |
7883 | |
7884 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7885 | |
7886 * idx-vector.cc (make_uniq): Fix major brain-o. | |
7887 | |
7888 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
7889 Convert to use string class instead of char*. | |
7890 | |
7891 * str-vec.h, Array-str.cc: New files. | |
7892 | |
7893 * Array.h (Array::qsort): New function. | |
7894 | |
7895 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7896 | |
7897 * Array.h: Nest ArrayRep class inside Array class. | |
7898 Refer to ArrayRep, not ArrayRep<T>. | |
7899 Move all ArrayRep functions inline. | |
7900 Don't declare other Array classes as friends of ArrayRep. | |
7901 * Array.cc: Delete ArrayRep functions. | |
7902 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
7903 | |
7904 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
7905 Don't instantiate ArrayRep objects. | |
7906 | |
7907 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7908 | |
7909 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7910 New constructor. | |
7911 | |
7912 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7913 | |
7914 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
7915 for balance_job arg. | |
7916 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
7917 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
7918 | |
7919 * chMatrix.cc (row_as_string): Return string, not const char*. | |
7920 | |
7921 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7922 | |
7923 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
7924 | |
7925 * chMatrix.cc (row_as_string): Undo previous change. | |
7926 | |
7927 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7928 | |
7929 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
7930 is expected to save string if necessary. | |
7931 | |
7932 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7933 | |
7934 * Array.h (class DiagArray): Enable nested Proxy class for all | |
7935 platforms. | |
7936 | |
7937 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
7938 a.rep, don't mess with count. | |
7939 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
7940 don't do anything if reps are the same. | |
7941 (Array3<T>& operator = (const Array3<T>&) | |
7942 | |
7943 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
7944 Declare private with no definition to prevent misuse. | |
7945 | |
7946 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
7947 Get range check right. | |
7948 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
7949 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
7950 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7951 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
7952 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
7953 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
7954 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7955 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
7956 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
7957 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
7958 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
7959 * dColVector.cc | |
7960 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7961 * CRowVector.cc | |
7962 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
7963 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
7964 * CColVector.cc | |
7965 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7966 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
7967 | |
7968 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
7969 Also fill in zeros, not just the diagonal. | |
7970 | |
7971 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
7972 Use END parameter properly. | |
7973 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
7974 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
7975 | |
7976 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
7977 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
7978 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
7979 Don't copy count. Set it to 1. | |
7980 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
7981 | |
7982 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
7983 don't set rep->count to 1 here (now handled by ArrayRep | |
7984 constructors). | |
7985 (Array<T>::Array (void)): Ditto. | |
7986 (Array<T>::Array (int)): Ditto. | |
7987 (Array<T>::T& elem (int)): Ditto. | |
7988 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
7989 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
7990 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
7991 (Array<T>::resize (int)): Ditto. | |
7992 (Array<T>::resize (int, const T&)) :Ditto. | |
7993 (Array<T>::fortran_vec (void)): Ditto. | |
7994 (Array2<T>::resize (int, int)): Ditto. | |
7995 (Array2<T>::resize (int, int, const T&)): Ditto. | |
7996 (DiagArray<T>::resize (int, int)): Ditto. | |
7997 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
7998 | |
7999 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8000 | |
8001 * Array-ch.cc: Rename from Array-c.cc. | |
8002 * MArray-ch.cc: Rename from MArray-c.cc. | |
8003 * chMatrix.cc: Rename from cMatrix.cc. | |
8004 * chMatrix.h: Rename from cMatrix.h. | |
8005 * Makefile.in (TI_SRC): Use new names here. | |
8006 * mx-base.h: Likewise. | |
8007 | |
8008 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8009 | |
8010 * Makefile.in: Handle shared libraries. | |
8011 | |
8012 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8013 | |
8014 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
8015 Correctly compute length of return value. Correct rows and | |
8016 columns in zgemv call. | |
8017 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
8018 | |
8019 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8020 | |
8021 * Makefile.in (stamp-picdir): New target. | |
8022 (all): Depend on it. | |
8023 | |
8024 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8025 | |
8026 * Makefile.in (INCLUDES): Remove QLD.h. | |
8027 (SOURCES): Remove QLD.cc. | |
8028 | |
8029 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8030 | |
8031 * dMatrix.cc (Matrix::inverse): New arg, force. | |
8032 If force is nonzero, invert even if matrix is singular. | |
8033 (ComplexMatrix::inverse): Likewise. | |
8034 | |
8035 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
8036 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
8037 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
8038 Include "oct-cmplx.h" instead of <Complex.h>. | |
8039 | |
8040 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
8041 for class Complex. | |
8042 | |
8043 * oct-cmplx.h: New file. | |
8044 * Makefile.in (INCLUDES): Add it to the list. | |
8045 | |
8046 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
8047 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
8048 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
8049 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
8050 Avoid g++ bugs. | |
8051 | |
8052 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8053 | |
8054 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
8055 | |
8056 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
8057 | |
8058 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8059 | |
8060 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
8061 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
8062 | |
8063 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8064 | |
8065 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
8066 index vector object with Array, not ArrayRep. | |
8067 | |
8068 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8069 | |
8070 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
8071 if index is a colon and resizing is maybe needed. | |
8072 | |
8073 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8074 | |
8075 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
8076 if we have a vector of 1's. | |
8077 | |
8078 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8079 current orientation, require index and rhs to conform unless | |
8080 do_fortran_indexing flag is set. | |
8081 | |
8082 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8083 | |
8084 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8085 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8086 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8087 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8088 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8089 Massive changes to support additional data types. Only charMatrix | |
8090 is currently used in Octave. | |
8091 | |
8092 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8093 | |
8094 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8095 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8096 Simply call Array2<Complex> version. | |
8097 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8098 call Array2<double> version. | |
8099 | |
8100 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8101 | |
8102 * Array.h, Array.cc: Massive overhaul to support new way of | |
8103 handling indexing. | |
8104 * idx-vector.h, idx-vector.cc: Likewise. | |
8105 * Array-ext.cc, Array-idx.h: New files. | |
8106 * Makefile.in: Add them to the appropriate lists. | |
8107 | |
8108 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8109 | |
8110 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8111 | |
8112 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8113 | |
8114 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8115 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8116 | |
8117 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8118 | |
8119 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8120 | |
8121 * Array.h: Move simple member functions here. | |
8122 * Array.cc: From here. | |
8123 | |
8124 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8125 | |
8126 * Range.cc (tfloor, tceil, round): New static functions. | |
8127 (Range::nelem_internal): Rewrite to use better method. | |
8128 | |
8129 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8130 (type_computed): New var. | |
8131 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8132 Handle possible error condition. | |
8133 (init): Allow for SVD::sigma_only, save type computed. | |
8134 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8135 Handle possible error condition. | |
8136 (init): Allow for SVD::sigma_only, save type computed. | |
8137 | |
8138 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8139 | |
8140 * Nearly all non-matrix .h and .cc files: | |
8141 Move short function bodies into class declarations for inlining. | |
8142 Generally clean up. | |
8143 | |
8144 * base-min.h: New file. | |
8145 * LP.h (class LP): Derive from base_minimizer. | |
8146 * QLP.h (class QLP): Derive from base_minimizer. | |
8147 * NLP.h (class NLP): Derive from base_minimizer. | |
8148 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8149 | |
8150 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8151 NLFunc.cc, Objective.cc and QP.cc from list. | |
8152 | |
8153 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8154 | |
8155 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8156 (SCHUR::SCHUR): Delete unused parameter ord. | |
8157 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8158 | |
8159 * CRowVector.cc | |
8160 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8161 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8162 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8163 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8164 Actually do something. | |
8165 | |
8166 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8167 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8168 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8169 | |
8170 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8171 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8172 tolerances. | |
8173 | |
8174 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8175 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8176 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8177 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8178 * QPSOL.cc (qphess): Likewise. | |
8179 | |
8180 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8181 | |
8182 * dMatrix.cc: Include <cstring>. | |
8183 | |
8184 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8185 that return bogus values after calling the error handler. | |
8186 | |
8187 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8188 | |
8189 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8190 | |
8191 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8192 | |
8193 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8194 | |
8195 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8196 (dassl_j): Likewise. | |
8197 | |
8198 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8199 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8200 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8201 Update for change in for loop variable scope for gcc 2.7.0. | |
8202 | |
8203 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8204 | |
8205 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8206 not set. | |
8207 | |
8208 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8209 | |
8210 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8211 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8212 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8213 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8214 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8215 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8216 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8217 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8218 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8219 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8220 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8221 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8222 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8223 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8224 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8225 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8226 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8227 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8228 NLP.h: Use pragma interface/implementation. Don't surround | |
8229 contents in extern "C++". | |
8230 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8231 | |
8232 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8233 | |
8234 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8235 identifiers. | |
8236 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8237 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8238 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8239 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8240 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8241 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8242 Quad.cc: Change usage of F77_FCN to match new definition | |
8243 | |
8244 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8245 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8246 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8247 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8248 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8249 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8250 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8251 args by reference instead of pointer. Change all callers. | |
8252 | |
8253 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8254 | |
8255 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8256 functions. Make += and -= operators friend functions. | |
8257 | |
8258 * Array.h (Array2::~Array2, Array3::~Array3, | |
8259 DiagArray::~DiagArray): New functions. | |
8260 | |
8261 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8262 | |
8263 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8264 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8265 | |
8266 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8267 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8268 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8269 dRowVector.h dRowVector.cc: | |
8270 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8271 Array2, and DiagArray2. | |
8272 Don't use functions defined in mx-kludge.cc for arithmetic | |
8273 like-type operations on arrays. | |
8274 | |
8275 * MArray.cc: Use the classes defined here like-type mathematical | |
8276 operations on Array objects. Abuse CPP more. | |
8277 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8278 (EXTRAS): Delete it from this list. | |
8279 | |
8280 * MArray-C.cc, MArray-d.cc: New files. | |
8281 * Makefile.in (TI_SRC): Add them to the list. | |
8282 | |
8283 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8284 | |
8285 * mx-kludge.cc: Abuse CPP even more. | |
8286 | |
8287 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8288 | |
8289 * Objective.h (objective_function): Add missing const. | |
8290 (gradient_function): Likewise. | |
8291 | |
8292 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8293 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8294 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8295 dRowVector.h dRowVector.cc: | |
8296 Reorganize to declare and define friends where they should be, | |
8297 based on the use of private constructors. | |
8298 | |
8299 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8300 | |
8301 * CRowVector.h (linspace): Add declaration. | |
8302 * dRowVector.h (linspace): Likewise. | |
8303 | |
8304 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8305 Force result of rcond + 1.0 to be stored. | |
8306 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8307 ComplexMatrix::solve): Likewise. | |
8308 | |
8309 See ChangeLog.1 in the top level directory for earlier changes. |