Mercurial > hg > octave-lyh
annotate liboctave/ChangeLog @ 7463:2467639bd8c0
eliminate UNDEFINED sort mode
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Feb 2008 16:00:16 -0500 |
parents | 1032e24f199f |
children | 49d462292af4 |
rev | line source |
---|---|
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
1 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
2 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
4 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5 |
7457 | 6 2008-02-07 John W. Eaton <jwe@octave.org> |
7 | |
7458 | 8 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
9 ASCENDING, with default value of true. | |
10 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
11 (Range::sort (octave_idx_type, sortmode) const): New function. | |
12 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
13 const): New function. | |
14 * Range.h: Fix/provide decls. | |
15 | |
7457 | 16 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
17 | |
7449 | 18 2008-02-06 John W. Eaton <jwe@octave.org> |
19 | |
20 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
21 (stamp-prereq): Eliminate. | |
22 (clean): Don't remove stamp-prereq. | |
23 (libraries): Don't depend on stamp-prereq. | |
24 (PREREQ): New macro. | |
25 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
26 (distclean): Simplify with $(PREREQ). | |
27 (OPT_BASE): New macro. | |
28 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
29 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
30 | |
7448 | 31 2008-02-05 John W. Eaton <jwe@octave.org> |
32 | |
33 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
34 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
35 | |
7443 | 36 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
37 | |
38 * Array.cc (ascending_compare, descending_compare, | |
39 Array<T>::sort): Declare explicit specialization for T=double to | |
40 avoid symbol duplication error at link time. | |
41 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
42 define as nonmember functions, not member functions of Array<T>. | |
43 | |
7442 | 44 2008-02-03 John W. Eaton <jwe@octave.org> |
45 | |
46 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
47 | |
48 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
49 | |
50 * Array.cc: Don't include Range.h. | |
51 | |
7433 | 52 2008-01-31 David Bateman <dbateman@free.fr> |
53 | |
54 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
55 for 64-bit builds. | |
56 (IFLT): Allow IFLT macro to be overridden. | |
57 * oct-sort.h: conversion of int to octave_idx_type where needed | |
58 for 64-bit builds. | |
59 (enum sortmode): Type of sort to perform. | |
60 (vec_index): Simple class to aid in indexed sorts. | |
61 | |
62 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
63 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
64 sortmode) const): Array sorting methods. | |
65 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
66 instantiate the array sorting methods. | |
67 * Array.cc (ascending_compare, descending_compare): New template | |
68 functions for generic sort comparison. | |
69 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
70 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
71 sortmode) const): Array sorting functions based of octave_sort | |
72 class. | |
73 * Array-C.cc: Instantiate the complex array sort methods. | |
74 (IFLT): New macro to override the one in the | |
75 octave_sort class to avoid need for Complex < and > operators. | |
76 (static double xabs (const Complex&)): Complex abs function | |
77 avoiding std::abs(Inf) returning NaN with some compilers. | |
78 (ascending_compare, descending compare): override template | |
79 functions for complex comparison. | |
80 * Array-d.cc: Instantiate the double array sort methods. | |
81 (Array<double> Array<double>::sort (octave_idx_type, | |
82 sortmode) const, Array<double> Array<double>::sort | |
83 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
84 Array sorting functions based of octave_sort using uint64 sorting | |
85 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
86 (ascending_compare, descending compare): override template | |
87 functions for double and uint64 comparison. | |
88 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
89 Instantiate the array sort methods. | |
90 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
91 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
92 versions of the sort methods based on Array<T>::sort. | |
93 | |
94 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
95 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
96 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
97 sortmode) const): Sparse sorting methods. | |
98 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
99 methods. | |
100 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
101 of new sort method. | |
102 (sparse_ascending_compare, sparse_descending_compare): New template | |
103 functions for generic sort comparison. | |
104 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
105 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
106 sortmode) const): Sparse sorting functions based of octave_sort | |
107 class. | |
108 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
109 (IFLT): New macro to override the one in the | |
110 octave_sort class to avoid need for Complex < and > operators. | |
111 (static double xabs (const Complex&)): Complex abs function | |
112 avoiding std::abs(Inf) returning NaN with some compilers. | |
113 (sparse_ascending_compare, sparse_descending compare): override | |
114 template functions for complex comparison. | |
115 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
116 (sparse_ascending_compare, sparse_descending compare): override | |
117 template functions for double comparison. | |
118 * Array-b.cc: Instantiate the sparse sort methods. | |
119 | |
7422 | 120 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
121 | |
122 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
123 idx_vector::idx_vector_rep::range_step, | |
124 idx_vector::idx_vector_rep::range_step): New data members. | |
125 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
126 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
127 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
128 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
129 | |
7416 | 130 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
131 | |
132 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
133 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
134 | |
7408 | 135 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 136 |
137 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
138 this fixes the "localtime(-1)" crash under Windows. | |
139 | |
7400 | 140 2008-01-18 John W. Eaton <jwe@octave.org> |
141 | |
142 * dMatrix.cc (solve_singularity_warning): New function. | |
143 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
144 Matrix::solve method. Exit early if Matrix::solve fails. | |
145 Limit sqpow value to avoid overflowing scale factor. | |
146 * CMatrix.cc (solve_singularity_warning): New function. | |
147 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
148 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
149 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 150 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 151 |
7356 | 152 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
153 | |
154 * Sparse.cc: New tests for slicing of sparse matrices. | |
155 | |
7350 | 156 2008-01-07 David Bateman <dbateman@free.fr> |
157 | |
158 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
159 loop if this test succeeds. | |
160 | |
7342 | 161 2008-01-03 David Bateman <dbateman@free.fr> |
162 | |
163 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
164 need unary operator on remaining argument | |
165 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
166 | |
7334 | 167 2007-12-21 John W. Eaton <jwe@octave.org> |
168 | |
169 Version 3.0.0 released. | |
170 | |
7322 | 171 2007-12-18 David Bateman <dbateman@free.fr> |
172 | |
173 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
174 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
175 stored as a sparse matrix. | |
176 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
177 idx_vector&, int) const): For the non permutated indexing case, | |
178 fix link list calculation and use. | |
179 | |
7321 | 180 2007-12-17 John W. Eaton <jwe@octave.org> |
181 | |
182 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
183 N-d array. | |
184 | |
7318 | 185 2007-12-17 David Bateman <dbateman@free.fr> |
186 | |
187 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
188 index. | |
189 | |
7299 | 190 2007-12-11 John W. Eaton <jwe@octave.org> |
191 | |
192 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
193 If indexing scalar with empty matrix, return empty array with same | |
194 size as index. | |
195 | |
7272 | 196 2007-12-10 John W. Eaton <jwe@octave.org> |
197 | |
7279 | 198 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
199 and assignment operator. | |
200 (NLEqn::function_value): New function. | |
201 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
202 function value. | |
203 | |
7272 | 204 * file-ops.cc (file_ops::concat): New function. |
205 * file-ops.h: Provide decl. | |
206 | |
7270 | 207 2007-12-07 John W. Eaton <jwe@octave.org> |
208 | |
209 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
210 is not 0. | |
211 | |
7269 | 212 2007-12-07 David Bateman <dbateman@free.fr> |
213 | |
214 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
215 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
216 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
217 indexing where possible rather than the elem method. | |
218 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
219 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
220 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
221 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
222 = 0 directly. | |
223 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
224 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
225 SPARSE_BASE_REDUCTION_OP. | |
226 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
227 Specialize the initial value, and only treat dim = 0 directly. | |
228 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
229 ditto. | |
230 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
231 | |
7265 | 232 2007-12-06 John W. Eaton <jwe@octave.org> |
233 | |
234 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
235 data for npp and dpp after assignments. | |
236 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
237 | |
7253 | 238 2007-12-04 John W. Eaton <jwe@octave.org> |
239 | |
240 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
241 Do nothing if one index is empty. | |
242 | |
7246 | 243 2007-12-04 David Bateman <dbateman@free.fr> |
244 | |
245 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
246 Resize matrix as well if one dimension of lhs is zero and the rhs | |
247 index exceeds the lhs index. | |
248 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
249 Don't resize to a smaller matrix for empty matrices with a max rhs | |
250 index smaller than the non zero lhs index. | |
251 | |
252 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
253 | |
254 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
255 | |
7241 | 256 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
257 | |
258 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
259 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
260 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
261 | |
7238 | 262 2007-12-03 David Bateman <dbateman@free.fr> |
263 | |
264 * Sparse.cc (template <class LT, class RT> int assign | |
265 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
266 rhs values if both no. rows and columns are zero. | |
267 | |
7231 | 268 2007-11-30 John W. Eaton <jwe@octave.org> |
269 | |
7234 | 270 * oct-sort.cc, oct-sort.h: Style fixes. |
271 | |
7231 | 272 * lo-math.h: New file. |
273 * Makefile.in (INCLUDES): Add it to the list. | |
274 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
275 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
276 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
277 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
278 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
279 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
280 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
281 liboctave/oct-time.h, liboctave/randgamma.c, | |
282 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
283 instead of cmath or math.h. | |
284 * lo-mappers.h: Don't include sunmath.h here. | |
285 | |
7198 | 286 2007-11-26 John W. Eaton <jwe@octave.org> |
287 | |
288 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
289 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
290 | |
291 * oct-inttypes.h (operator bool, operator char): Delete. | |
292 (bool_value, char_value, double_value, float_value): New functions. | |
293 | |
7189 | 294 2007-11-26 David Bateman <dbateman@free.fr> |
295 | |
296 * intNDArray.cc (template <class T> intNDArray<T> | |
297 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
298 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
299 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
300 template <class T> intNDArray<T> intNDArray<T>::min | |
301 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
302 classes. | |
303 * intNDArray.h (class intNDArray): Add min/max methods | |
304 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
305 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
306 min/max functions. | |
307 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
308 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
309 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
310 types. | |
311 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
312 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
313 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
314 types. | |
315 | |
316 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
317 const T& rfv) const): If ndims != 2 call ND version of index. | |
318 | |
7176 | 319 2007-11-14 John W. Eaton <jwe@octave.org> |
320 | |
7178 | 321 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
322 | |
7176 | 323 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
324 correction to half-integer values. From Eric Chassande-Mottin | |
325 <echassandemottin@gmail.com>. | |
326 | |
7124 | 327 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
328 | |
329 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
330 ambiguities related to math functions (in C++ mode). | |
331 | |
7102 | 332 2007-11-06 David Bateman <dbateman@free.fr> |
333 | |
7113 | 334 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
335 New method. | |
336 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
337 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
338 New method. | |
339 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 340 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
341 norm to avoid issues of over- and underflow. From Rolf Fabian | |
342 <Rolf.Fabian@gmx.de>. | |
343 | |
7081 | 344 2007-10-30 David Bateman <dbateman@free.fr> |
345 | |
346 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
347 | |
7079 | 348 2007-10-30 John W. Eaton <jwe@octave.org> |
349 | |
350 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
351 * dMatrix.cc (lssolve): Compute size of iwork array. | |
352 | |
7076 | 353 2007-10-29 David Bateman <dbateman@free.fr> |
354 | |
355 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
356 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
357 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
358 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
359 double& rcond) const, lssolve (const ComplexColumnVector&, | |
360 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
361 declarations. | |
362 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
363 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
364 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
365 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
366 double& rcond) const, lssolve (const ComplexColumnVector&, | |
367 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
368 methods. | |
369 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
370 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
371 octave_idx_type&, double&) const): Also return rcond from the | |
372 singular values returned by XGELSD. | |
373 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
374 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
375 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
376 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
377 double& rcond) const, lssolve (const ComplexColumnVector&, | |
378 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
379 declarations. | |
380 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
381 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
382 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
383 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
384 double& rcond) const, lssolve (const ComplexColumnVector&, | |
385 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
386 methods. | |
387 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
388 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
389 octave_idx_type&, double&) const): Also return rcond from the | |
390 singular values returned by XGELSD. | |
391 | |
7072 | 392 2007-10-26 David Bateman <dbateman@free.fr> |
393 | |
394 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
395 matrices to avoid reliability issues with xGELSY. | |
396 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 397 |
7065 | 398 2007-10-25 John W. Eaton <jwe@octave.org> |
399 | |
400 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
401 Call unix_time on arg instead of relying on conversion operator. | |
402 | |
403 * oct-time.h (octave_time::double_value): New function. | |
404 (octave_time::operator double () const): Delete. | |
405 (octave_time::operator time_t () const): Delete. | |
406 | |
7058 | 407 2007-10-24 John W. Eaton <jwe@octave.org> |
408 | |
409 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
410 | |
7052 | 411 2007-10-23 John W. Eaton <jwe@octave.org> |
412 | |
413 * CRowVector.cc (operator * const ComplexRowVector&, const | |
414 ComplexColumnVector&)): Delete spurious code left from patch. | |
415 | |
7048 | 416 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
417 | |
418 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
419 sparse-sort.cc: Include <cstring>. | |
420 | |
7036 | 421 2007-10-17 John W. Eaton <jwe@octave.org> |
422 | |
423 * oct-sparse.h: Don't include metis.h. | |
424 | |
425 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
426 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
427 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
428 p_type>::sparse_base_chol_rep::init): Likewise. | |
429 | |
7033 | 430 2007-10-16 John W. Eaton <jwe@octave.org> |
431 | |
432 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
433 matrix is hermitian or calc_cond is true. | |
434 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
435 | |
7016 | 436 2007-10-12 John W. Eaton <jwe@octave.org> |
437 | |
438 * Change copyright notices in all files that are part of Octave to | |
439 GPLv3 or any later version. | |
440 | |
7007 | 441 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
442 | |
443 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
444 | |
7001 | 445 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
446 | |
447 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
448 | |
7000 | 449 2007-10-10 John W. Eaton <jwe@octave.org> |
450 | |
451 * LPsolve.h, LPsolve.cc: Delete. | |
452 * Makefile.in: Remove them from the INCLUDES and | |
453 LIBOCTAVE_CXX_SOURCES lists. | |
454 | |
6989 | 455 2007-10-09 John W. Eaton <jwe@octave.org> |
456 | |
6996 | 457 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
458 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
459 values to zero after call if they remain unchanged. | |
460 | |
6989 | 461 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
462 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
463 | |
6988 | 464 2007-10-09 David Bateman <dbateman@free.fr> |
465 | |
6995 | 466 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
467 valud and mon and year are also filled in. | |
468 | |
6990 | 469 * Array2.h (Array2<T>::Array2(const dim_vector&), |
470 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
471 dim_vector is 2 dimensional. | |
472 | |
6988 | 473 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
474 int)): Remove a for loop in the random indexing case at the | |
475 expense of maintaining a set of linked lists of indices that point | |
476 to the same column in the original matrix. | |
477 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
478 and use it on the RHS of expressions to avoid unnecessary calls to | |
479 make_unique. | |
480 | |
6979 | 481 2007-10-08 David Bateman <dbateman@free.fr> |
482 | |
483 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
484 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
485 for readline compatible functions. | |
486 (octave_rl_redisplay): Redisplay the current line of text. | |
487 (octave_rl_newline): Change interface to the same | |
488 as used by the equivalent readline function itself. | |
489 (octave_rl_filename_quoting_desired, | |
490 octave_rl_set_filename_quote_characters, | |
491 octave_rl_set_completer_quote_characters, | |
492 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
493 octave_rl_set_char_is_quoted_function): New functions to control | |
494 readline filename quoting and line acceptace. | |
495 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
496 as used by the equivalent readline function itself. | |
497 (octave_rl_redisplay): Redisplay the current line of text. | |
498 (octave_rl_filename_quoting_desired, | |
499 octave_rl_set_filename_quote_characters, | |
500 octave_rl_set_completer_quote_characters, | |
501 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
502 octave_rl_set_char_is_quoted_function): New functions to control | |
503 readline filename quoting and line acceptace. | |
504 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
505 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
506 to map C++ function to readline compatible functions. | |
507 (set_filename_quote_characters): New function to set the | |
508 characters to if they appear in a filename that force the filename | |
509 to be quoted. | |
510 (set_completer_quote_characters): The characters that the readline | |
511 completion function considers as quotation characters. | |
512 (set_quoting_function, set_dequoting_function, | |
513 set_char_is_quoted_function, set_user_accept_line_function): | |
514 Functions to set the Octave functions to perform quoting and the | |
515 acceptance of a line of text by readline. | |
516 (get_quoting_function, get_dequoting_function, | |
517 get_char_is_quoted_function, get_user_accept_line_function): | |
518 Functions to get the above functions. | |
519 (accept_line): New method for the command_editor to accept a line | |
520 of text. | |
521 (file_quoting_desired): Function to set whether readline should | |
522 attempt to quote filenames. | |
523 (do_set_filename_quoting_characters, | |
524 do_set_completer_quote_characters, do_set_quoting_function, | |
525 do_set_dequoting_function, do_set_char_is_quoted_function, | |
526 do_set_user_accept_line_function, do_get_quoting_function, | |
527 do_get_dequoting_function, do_get_char_is_quoted_function, | |
528 do_get_user_accept_line_function, do_filename_quoting_desired): | |
529 Virtual functions to control the behavior of readline quoting and | |
530 acceptance of lines. | |
531 (do_accept_line): Virtual function for the accept line function. | |
532 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
533 do_completer_quote_characters, do_set_quoting_function, | |
534 do_set_dequoting_function, do_set_char_is_quoted_function, | |
535 do_set_user_accept_line_function, do_get_quoting_function, | |
536 do_get_dequoting_function, do_get_user_accept_line_function, | |
537 do_accept_line, do_filename_quoting_desired, command_quoter, | |
538 command_dequoter, command_char_is_quoted, command_accept_line): | |
539 New functions in gnu_readline class to control filename quoting | |
540 and line acceptance. | |
541 (quoting_function, dequoting_function, char_is_quoted_function, | |
542 user_accept_line_function): private variable to store functions | |
543 supplied for readline quoting and line acceptance. | |
544 (gnu_readline::gnu_readline): Also set the new function pointers | |
545 to zero. | |
546 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
547 interface. | |
548 (gnu_readeline::operate_and_get_next): Use new accept_line | |
549 function rather than newline. | |
550 (default_ommand_editor::do_accept_line): New method. | |
551 (class command_editor set_filename_quote_characters, | |
552 set_completer_quote_characters, set_quoting_function, | |
553 set_dequoting_function, set_char_is_quoted_function, | |
554 set_user_accept_line_function, get_quoting_function, | |
555 get_dequoting_function, get_user_accept_line_function, | |
556 accept_line, filename_quoting_desired): New functions checking | |
557 instance before calling virtual function. | |
558 | |
559 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
560 Array2.h: Add dim_vector constructors. | |
561 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
562 const to dim_vector constructors. | |
563 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
564 (octave_idx_type)): New methods to constructor diagonal matrices. | |
565 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
566 (octave_idx_type)): Declare them. | |
567 | |
568 | |
6969 | 569 2007-10-06 John W. Eaton <jwe@octave.org> |
570 | |
571 * lo-specfun.cc: (zlgamma): Delete. | |
572 (xgamma): Use C library gamma function if available. | |
573 (xlgamma): Use C library lgamma function if available. | |
574 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
575 other than NaN or Inf. | |
576 | |
6961 | 577 2007-10-05 John W. Eaton <jwe@octave.org> |
578 | |
579 * lo-specfun.cc (zlgamma): New function. | |
580 | |
6959 | 581 2007-10-04 John W. Eaton <jwe@octave.org> |
582 | |
583 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
584 qualifiers on local variables. | |
585 | |
6958 | 586 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
587 | |
588 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
589 than log(realmax) to avoid issues with NaN. | |
590 | |
6940 | 591 2007-10-01 John W. Eaton <jwe@octave.org> |
592 | |
6941 | 593 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
594 initialize wday and yday. | |
595 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
596 | |
6940 | 597 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
598 insert extra '\001' when decoding \[ and \]. | |
599 | |
6926 | 600 2007-09-26 David Bateman <dbateman@free.fr> |
601 | |
602 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
603 is much faster and no less accurate. | |
604 * CMatrix.cc (lssolve): ditto. | |
605 | |
6924 | 606 2007-09-25 David Bateman <dbateman@free.fr> |
607 | |
608 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
609 zero dimensioned matrices. | |
610 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
611 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
612 ditto. | |
613 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
614 ditto. | |
615 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
616 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
617 qrsolve): ditto. | |
618 * sparse-dmsolve.cc (dmsolve): ditto. | |
619 | |
6922 | 620 2007-09-21 John W. Eaton <jwe@octave.org> |
621 | |
622 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
623 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
624 | |
6916 | 625 2007-09-19 John W. Eaton <jwe@octave.org> |
626 | |
627 * cmd-edit.cc (command_editor::remove_startup_hook): | |
628 Fix cut-and-paste error. | |
6917 | 629 (gnu_readline::set_startup_hook): Only set hook function if new |
630 function is different from the current one. | |
6916 | 631 |
6913 | 632 2007-09-18 John W. Eaton <jwe@octave.org> |
633 | |
634 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
635 command_editor::event_hook_set): New static data. | |
636 (default_command_editor::set_startup_hook, | |
637 gnu_readline::set_startup_hook, | |
638 default_command_editor::restore_startup_hook, | |
639 gnu_readline_restore_event_hook): | |
640 Rename from do_set_startup_hook and do_set_event_hook. | |
641 (gnu_readline::operate_and_get_next): Call | |
642 command_editor::add_startup_hook, not | |
643 command_editor::set_startup_hook. | |
644 (command_editor::startup_handler, command_editor::event_handler): | |
645 New functions. | |
646 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
647 command_editor::remove_startup_hook, | |
648 command_editor::remove_event_hook): Rename from set_startup_hook | |
649 and restore_startup_hook. Handle hook sets here. | |
650 * cmd-edit.cc (gnu_history::do_goto_mark): | |
651 Call remove_startup_hook instead of restore_startup_hook. | |
652 | |
6907 | 653 2007-09-17 John W. Eaton <jwe@octave.org> |
654 | |
655 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
656 leading whitespace. | |
657 | |
6897 | 658 2007-09-13 John W. Eaton <jwe@octave.org> |
659 | |
660 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
661 octave_read_complex): Use istream::get instead of >> to read | |
662 individual characters. | |
663 | |
6884 | 664 2007-09-10 John W. Eaton <jwe@octave.org> |
665 | |
666 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
667 | |
668 2007-09-10 David Bateman <dbateman@free.fr> | |
669 | |
670 * Array.h (Array<T>::make_unique): Make public so that the | |
671 ::assign functions can access it directly. | |
672 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
673 Array<T>::maybe_delete_elements_1(idx_vector&), | |
674 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
675 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
676 Use xelem for non const RHS to avoid call to make_unique. | |
677 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
678 xelem for LHS and call lhs.make_unique() only once. Special case | |
679 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
680 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
681 bring the additional multiplication out of the inner loop. | |
682 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
683 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
684 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
685 (const Range& r)): Don't use init_state() method but special case | |
686 as with a Range can avoid exhaustive search. | |
687 | |
6881 | 688 2007-09-07 John W. Eaton <jwe@octave.org> |
689 | |
690 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
691 manipulating rep directly. | |
692 | |
693 * Array.h (idx, idx_count): Declare mutable. | |
694 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
695 Now const. | |
696 | |
6867 | 697 2007-09-06 David Bateman <dbateman@free.fr> |
698 | |
6868 | 699 * Array-util.cc (increment_index): dimensions can have singleton |
700 trailing dimensions. | |
6867 | 701 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
702 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
703 where necessary. | |
704 * Array.cc (range_error): ditto. | |
705 * MArrayN.h (permute, ipermute): ditto. | |
706 * ArrayN.h (permute, ipermute): ditto. | |
707 * so-array.cc (streamoff_array::compute_index): ditto. | |
708 * so-array.h (compute_index): ditto. | |
709 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
710 | |
6840 | 711 2007-08-29 David Bateman <dbateman@free.fr> |
712 | |
713 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
714 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
715 matrices marked as singular. | |
716 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
717 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
718 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
719 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
720 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
721 octave_idx_type&, double&, int, int)): ditto. | |
722 | |
6838 | 723 2007-08-27 John W. Eaton <jwe@octave.org> |
724 | |
725 * oct-env.cc (octave_env::rooted_relative_pathname, | |
726 octave_env::do_rooted_relative_pathname): New functions. | |
727 * oct-env.h: Provide decls. | |
728 | |
6823 | 729 2007-08-24 David Bateman <dbateman@free.fr> |
730 | |
731 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
732 const Array<octave_idx_type>&)): New method. | |
733 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
734 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
735 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
736 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
737 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
738 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
739 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
740 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
741 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
742 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
743 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
744 SparseMatrix&, const Array<octave_idx_type>&), | |
745 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
746 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
747 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
748 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
749 SparseMatrix&, const Array<octave_idx_type>&), | |
750 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
751 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
752 | |
6817 | 753 2007-08-19 David Bateman <dbateman@free.fr> |
754 | |
755 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
756 | |
6813 | 757 2007-08-14 John W. Eaton <jwe@octave.org> |
758 | |
759 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
760 Simplify. | |
6814 | 761 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 762 |
6810 | 763 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
764 | |
765 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
766 Remove trailing dir separator when stat'ing directory except for | |
767 root directory. | |
768 | |
6796 | 769 2007-07-25 David Bateman <dbateman@free.fr> |
770 | |
771 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
772 to work. | |
773 | |
6764 | 774 2007-06-04 David Bateman <dbateman@free.fr> |
775 | |
776 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
777 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
778 perform a twos complement arithmetic shift for both signed and | |
779 unsigned integers regardless of compiler implementations. | |
780 | |
6708 | 781 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
782 | |
6719 | 783 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
784 use cs_complex_t(0,0) for the complex zero. | |
785 | |
6708 | 786 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
787 Sprinkle class instantiations with OCTAVE_API as needed. | |
788 | |
789 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
790 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
791 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
792 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
793 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
794 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
795 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
796 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
797 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
798 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
799 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
800 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
801 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
802 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
803 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
804 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
805 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
806 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
807 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
808 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
809 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
810 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
811 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
812 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
813 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
814 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
815 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
816 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
817 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
818 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
819 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
820 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
821 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
822 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
823 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
824 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
825 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
826 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
827 SPARSE_SMM_OP_DECLS): Ditto. | |
828 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
829 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
830 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
831 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
832 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
833 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
834 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
835 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
836 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
837 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
838 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
839 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
840 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
841 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
842 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
843 | |
6699 | 844 2007-06-12 John W. Eaton <jwe@octave.org> |
845 | |
846 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
847 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 848 |
6693 | 849 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
850 | |
6709 | 851 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
852 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
853 with file_ops::dir_sep_char. | |
6694 | 854 |
6693 | 855 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
856 | |
6689 | 857 2007-06-04 David Bateman <dbateman@free.fr> |
858 | |
6699 | 859 * file-ops.cc: Typo. |
860 | |
6689 | 861 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
862 dimensions is greater than 2, collapse to 2-D. | |
863 | |
6685 | 864 2007-06-02 David Bateman <dbateman@free.fr> |
865 | |
866 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
867 | |
6680 | 868 2007-05-31 John W. Eaton <jwe@octave.org> |
869 | |
870 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
871 the computed size is too large for the size of Octave's index type. | |
872 | |
6662 | 873 2007-05-23 John W. Eaton <jwe@octave.org> |
874 | |
875 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
876 | |
6629 | 877 2007-05-16 David Bateman <dbateman@free.fr> |
878 | |
879 * dRowVector.cc (linspace): Return second argument if fewer than | |
880 two values are requested. | |
881 * CRowVector.cc (linspace): Likewise. | |
882 | |
6596 | 883 2007-04-27 John W. Eaton <jwe@octave.org> |
884 | |
885 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
886 | |
6583 | 887 2007-04-25 John W. Eaton <jwe@octave.org> |
888 | |
889 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
890 | |
6553 | 891 2007-04-20 John W. Eaton <jwe@octave.org> |
892 | |
893 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
894 not rhs_len == 1. | |
895 | |
6536 | 896 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
897 | |
898 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
899 | |
6525 | 900 2007-04-13 John W. Eaton <jwe@octave.org> |
901 | |
902 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
903 for empty matrix. Only check for colon index equivalence if not empty. | |
904 | |
6513 | 905 2007-04-10 John W. Eaton <jwe@octave.org> |
906 | |
907 * SparseCmplxQR.cc | |
908 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
909 Move GCC_ATTR_UNUSED before the parameter decl. | |
910 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
911 | |
6508 | 912 2007-04-06 John W. Eaton <jwe@octave.org> |
913 | |
914 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
915 * MArray.h (MArray<T>::norm): New function. | |
916 * MArray.cc: Provide decl. | |
917 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
918 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
919 | |
6490 | 920 2007-04-04 John W. Eaton <jwe@octave.org> |
921 | |
922 * Range.cc (Range::nelem_internal): Likewise. | |
923 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
924 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
925 From Scott Pakin <pakin@lanl.gov>. | |
926 | |
6486 | 927 2007-04-04 David Bateman <dbateman@free.fr> |
928 | |
929 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
930 the condition number for positive definite matrices. | |
931 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
932 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
933 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
934 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
935 (CHOL(const CHOL&)): Copy xrcond. | |
936 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
937 (xrcond): New private data member. | |
938 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
939 calc_cond. | |
940 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
941 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
942 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
943 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
944 (xrcond): New private data member. | |
945 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
946 true, calculate the condition number with dpocon. | |
947 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
948 calc_cond is true, calculate the condition number with zpocon. | |
949 | |
6481 | 950 2007-04-03 John W. Eaton <jwe@octave.org> |
951 | |
6482 | 952 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
953 | |
954 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
955 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
956 "maybe clobbered by vfork" warning. | |
957 | |
6483 | 958 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 959 if/else. |
960 | |
961 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
962 and destructor. | |
963 | |
6481 | 964 * Array.cc (assignN): Don't resize dimension if corresponding |
965 index is empty. | |
966 | |
6479 | 967 2007-04-02 John W. Eaton <jwe@octave.org> |
968 | |
969 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
970 MatrixType argument. | |
971 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
972 | |
6467 | 973 2007-03-27 John W. Eaton <jwe@octave.org> |
974 | |
975 * Makefile.in (DISTDIRS): Delete variable. | |
976 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
977 | |
6460 | 978 2007-03-26 David Bateman <dbateman@free.fr> |
979 | |
980 * MatrixType.cc: Replace all uses of the method | |
981 octave_sparse_params::get_key ("bandden") with | |
982 octave_sparse_params::get_bandden (void). | |
983 (MatrixType::MatrixType (void)): Undo previous change but use | |
984 octave_sparse_params::get_bandden (void). | |
985 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
986 methods. | |
987 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
988 Declare them. | |
989 | |
6458 | 990 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
991 David Bateman <dbateman@free.fr> | |
992 | |
993 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
994 Check that all elements are ints before doing anything. Simplify | |
995 calculation of index values. | |
996 | |
6457 | 997 2007-03-26 David Bateman <dbateman@free.fr> |
998 | |
999 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1000 | |
6456 | 1001 2007-03-26 John W. Eaton <jwe@octave.org> |
1002 | |
1003 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1004 * chNDArray.h, chMatrix.h: Provide decls. | |
1005 | |
1006 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1007 | |
1008 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1009 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1010 |
6435 | 1011 2007-03-23 David Bateman <dbateman@free.fr> |
1012 | |
1013 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1014 little endian. | |
1015 | |
6414 | 1016 2007-03-15 John W. Eaton <jwe@octave.org> |
1017 | |
1018 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1019 From Alexander Barth <abarth@marine.usf.edu>. | |
1020 | |
6402 | 1021 2007-03-12 John W. Eaton <jwe@octave.org> |
1022 | |
1023 * oct-inttypes.h (octave_int::octave_int (double)): | |
1024 New Specialization. Round arg. | |
1025 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1026 Round result before converting type. | |
1027 | |
6388 | 1028 2007-03-07 John W. Eaton <jwe@octave.org> |
1029 | |
6392 | 1030 * Array.cc (assign1): Avoid resizing if there is an error. |
1031 | |
6390 | 1032 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1033 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1034 | |
6389 | 1035 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1036 Only allow resizing empty LHS if it is 0x0. | |
1037 | |
6388 | 1038 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1039 const T&)): Handle case of more indices than dimensions. | |
1040 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1041 cases to be handled by assignN. | |
1042 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1043 Special cases for 2-d array assignments for speed. | |
1044 Improve handling of scalar RHS and empty indices. | |
6384 | 1045 |
6383 | 1046 2007-03-05 David Bateman <dbateman@free.fr> |
1047 | |
1048 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1049 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1050 | |
6379 | 1051 2007-03-02 John W. Eaton <jwe@octave.org> |
1052 | |
1053 * str-vec.h (string_vector::empty): Return bool, not int. | |
1054 | |
6375 | 1055 2007-03-01 David Bateman <dbateman@free.fr> |
1056 | |
1057 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1058 an independent implementation of RFC1321. | |
1059 * oct-md5.h, oct-md5: New files for treating std::string class | |
1060 with MD5. | |
1061 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1062 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1063 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1064 | |
6366 | 1065 2007-02-27 John W. Eaton <jwe@octave.org> |
1066 | |
1067 * Makefile.in (uninstall): Delete files listed in | |
1068 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1069 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1070 | |
6536 | 1071 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1072 |
1073 * file-ops.cc (file_ops::recursive_rmdir): | |
1074 Close dir_entry object before calling rmdir. | |
1075 | |
6536 | 1076 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1077 |
1078 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1079 | |
6359 | 1080 * sparse-util.h (SparseCholPrint, SparseCholError): |
1081 Tag with OCTAVE_API. | |
1082 | |
6326 | 1083 2007-02-18 David Bateman <dbateman@free.fr> |
1084 | |
1085 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1086 calling setall and reset to the current generator after. | |
1087 | |
6323 | 1088 2007-02-16 John W. Eaton <jwe@octave.org> |
1089 | |
1090 * oct-shlib.h (octave_shlib::relative): New data member. | |
1091 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1092 New functions. | |
1093 | |
6321 | 1094 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1095 | |
1096 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1097 windows platform. | |
1098 * lo-sysdep.h (octave_popen2): Declare it. | |
1099 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1100 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1101 | |
6306 | 1102 2007-02-14 John W. Eaton <jwe@octave.org> |
1103 | |
1104 * kpse.cc (expand_elt): Omit special treatment for //. | |
1105 | |
6273 | 1106 2007-02-06 John W. Eaton <jwe@octave.org> |
1107 | |
1108 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1109 Don't delete value returned from realpath. | |
1110 | |
6271 | 1111 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1112 | |
1113 * file-ops.cc (file_ops::canonicalize_file_name): | |
1114 Provide implementation if realpath function is available. | |
1115 | |
6256 | 1116 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1117 | |
1118 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1119 | |
6244 | 1120 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1121 | |
1122 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1123 Windows systems. | |
1124 | |
6242 | 1125 2007-01-16 John W. Eaton <jwe@octave.org> |
1126 | |
1127 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1128 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1129 | |
1130 * oct-fftw.h (fftw_planner): Provide decl. | |
1131 | |
6241 | 1132 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1133 | |
1134 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1135 | |
6236 | 1136 2007-01-10 John W. Eaton <jwe@octave.org> |
1137 | |
1138 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1139 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1140 | |
6231 | 1141 2007-01-08 David Bateman <dbateman@free.fr> |
1142 | |
1143 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1144 SPARSESUITE with SUITESPARSE to match upstream name. | |
1145 | |
6228 | 1146 2007-01-05 David Bateman <dbateman@free.fr> |
1147 | |
1148 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1149 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1150 set the FFTW wisdom method used. | |
1151 (octave_fftw_planner::create_plan) Modify to allow different | |
1152 methods to be used. | |
1153 (octave_fftw_planner): Move class definition from here. | |
1154 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1155 and FftwMethod enum. | |
1156 | |
6221 | 1157 2007-01-03 David Bateman <dbateman@free.fr> |
1158 | |
1159 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1160 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1161 sparse matrices are special cased. | |
1162 | |
1163 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1164 matrix, sparse matrix operations. | |
1165 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1166 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1167 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1168 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1169 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1170 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1171 sparse matrices are special cased. | |
1172 | |
6217 | 1173 2006-12-22 David Bateman <dbateman@free.fr> |
1174 | |
1175 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1176 | |
6216 | 1177 2006-12-22 John W. Eaton <jwe@octave.org> |
1178 | |
1179 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1180 least 2 dimensions. | |
1181 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1182 | |
6208 | 1183 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1184 | |
1185 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1186 | |
1187 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1188 implementation for Windows. |
6208 | 1189 |
6207 | 1190 2006-12-06 David Bateman <dbateman@free.fr> |
1191 | |
6208 | 1192 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1193 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1194 |
1195 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1196 (tinverse): New method for triangular matrices. | |
1197 (inverse): New function with matrix type probing. | |
1198 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1199 declarations. | |
6208 | 1200 * CMatrix.cc: Ditto. |
1201 * CMatrix.h: Ditto. | |
6207 | 1202 |
6205 | 1203 2006-12-06 John W. Eaton <jwe@octave.org> |
1204 | |
1205 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1206 | |
6202 | 1207 2006-12-05 John W. Eaton <jwe@octave.org> |
1208 | |
1209 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1210 followed by 'I' or 'i', try reading number after putting | |
1211 characters back on input stream. | |
1212 | |
6198 | 1213 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1214 | |
1215 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1216 loop is n, not L. | |
1217 | |
6194 | 1218 2006-11-30 John W. Eaton <jwe@octave.org> |
1219 | |
1220 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1221 Also recognize [+-][Ii]nf. | |
1222 | |
6187 | 1223 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1224 |
1225 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1226 sub-directory. | |
1227 | |
6204 | 1228 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1229 well when calling tinverse for lower triangular matrices. | |
1230 * CSparse.cc (SparseComplexMatrix::inverse): | |
1231 Ditto. | |
6185 | 1232 |
6183 | 1233 2006-11-21 John W. Eaton <jwe@octave.org> |
1234 | |
1235 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1236 | |
6182 | 1237 2006-11-20 John W. Eaton <jwe@octave.org> |
1238 | |
1239 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1240 for ".", and names beginning with "./" or "../". | |
1241 | |
6162 | 1242 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1243 | |
1244 * CMatrix.cc, dMatrix.cc: New tests. | |
1245 | |
6153 | 1246 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1247 | |
1248 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1249 | |
6152 | 1250 2006-11-11 John W. Eaton <jwe@octave.org> |
1251 | |
1252 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1253 Use $(simple-move-if-change-rule) here. | |
1254 | |
6148 | 1255 2006-11-09 David Bateman <dbateman@free.fr> |
1256 | |
1257 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1258 octave_idx_type, not int. | |
1259 | |
6145 | 1260 2006-11-08 John W. Eaton <jwe@octave.org> |
1261 | |
1262 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1263 | |
6141 | 1264 2006-11-06 John W. Eaton <jwe@octave.org> |
1265 | |
1266 * Array.cc (assignN): Exit early if invalid indices are found. | |
1267 | |
6140 | 1268 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1269 | |
1270 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1271 | |
6137 | 1272 2006-11-03 John W. Eaton <jwe@octave.org> |
1273 | |
1274 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1275 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1276 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1277 | |
6123 | 1278 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1279 | |
1280 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1281 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1282 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1283 lo-sysdep.cc. | |
1284 | |
6113 | 1285 2006-10-27 John W. Eaton <jwe@octave.org> |
1286 | |
6119 | 1287 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1288 | |
1289 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1290 | |
1291 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1292 NDS_CMP_OPS2): New macros. | |
6113 | 1293 |
6111 | 1294 2006-10-26 John W. Eaton <jwe@octave.org> |
1295 | |
6119 | 1296 * mx-ops (core-type): New field for integer types. |
1297 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1298 | |
6111 | 1299 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1300 Move here from src/cutils.c. | |
1301 * lo-utils.h: Provide decls. | |
1302 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1303 * strncase.c: Move here from src/strncase.c. | |
1304 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1305 | |
6106 | 1306 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1307 | |
1308 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1309 | |
6708 | 1310 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1311 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1312 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1313 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1314 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1315 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1316 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1317 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1318 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1319 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1320 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1321 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1322 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1323 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1324 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1325 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1326 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1327 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1328 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1329 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1330 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1331 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1332 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1333 |
6105 | 1334 2006-10-26 John W. Eaton <jwe@octave.org> |
1335 | |
1336 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1337 type qualification for OP. | |
1338 | |
6101 | 1339 2006-10-26 David Bateman <dbateman@free.fr> |
1340 | |
1341 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1342 octave_idx_type)): Be more careful with the size of the input | |
1343 matrix, and therefore don't create or read non existent data. | |
1344 | |
6092 | 1345 2006-10-25 John W. Eaton <jwe@octave.org> |
1346 | |
1347 * Sparse.cc (assign): Clear lhs index after error. | |
1348 | |
6093 | 1349 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1350 |
1351 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1352 Fix previous patch so it works. | |
1353 | |
6087 | 1354 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1355 | |
6095 | 1356 * glob-match.h (glob_match::glob_match (const std::string&, |
1357 unsigned int)): Delete initializer for first arg. | |
1358 | |
6093 | 1359 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1360 New functions. | |
1361 | |
6087 | 1362 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1363 | |
6096 | 1364 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1365 same code as __MINGW32__. | |
1366 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1367 the same as for __MINGW32__. | |
1368 | |
1369 * randpoisson.c: Undefine INFINITE before redefining. | |
1370 | |
6079 | 1371 2006-10-24 David Bateman <dbateman@free.fr> |
1372 | |
1373 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1374 lhs at the point we know the assignment can succeed if the lhs is | |
1375 empty. | |
1376 | |
6072 | 1377 2006-10-23 John W. Eaton <jwe@octave.org> |
1378 | |
1379 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1380 | |
6061 | 1381 2006-10-17 John W. Eaton <jwe@octave.org> |
1382 | |
1383 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1384 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1385 and _copysign. | |
1386 | |
6059 | 1387 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1388 |
6061 | 1389 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1390 | |
6708 | 1391 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1392 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1393 |
6058 | 1394 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1395 | |
6059 | 1396 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1397 | |
6051 | 1398 * Makefile.in: Adapt rules to use $(LIBPRE). |
1399 | |
6027 | 1400 2006-10-03 David Bateman <dbateman@free.fr> |
1401 | |
1402 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1403 or p == 0. | |
1404 | |
6018 | 1405 2006-10-02 John W. Eaton <jwe@octave.org> |
1406 | |
1407 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1408 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1409 | |
5996 | 1410 2006-09-22 David Bateman <dbateman@free.fr> |
1411 | |
1412 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1413 Remove spurious warning. |
5996 | 1414 |
5992 | 1415 2006-09-15 John W. Eaton <jwe@octave.org> |
1416 | |
1417 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1418 Handle resizing. | |
1419 | |
1420 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1421 | |
5983 | 1422 2006-09-11 John W. Eaton <jwe@octave.org> |
1423 | |
1424 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1425 Handle M*v and rv*cv special cases. | |
1426 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1427 ComplexMatrix&))): Likewise. | |
1428 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1429 | |
1430 * dRowVector.cc (operator * (const RowVector&, const | |
1431 ColumnVector&)): Call xddot here instead of using a Fortran | |
1432 function directly. | |
1433 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1434 ComplexColumnVector&)): Call xzdotu here. | |
1435 | |
1436 2006-09-05 John W. Eaton <jwe@octave.org> | |
1437 | |
1438 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1439 elements to '\0', not ' '. | |
1440 | |
5972 | 1441 2006-08-25 John W. Eaton <jwe@octave.org> |
1442 | |
1443 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1444 | |
5958 | 1445 2006-08-23 John W. Eaton <jwe@octave.org> |
1446 | |
1447 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1448 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1449 | |
5955 | 1450 2006-08-22 John W. Eaton <jwe@octave.org> |
1451 | |
5956 | 1452 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1453 * dMatrix.cc (Matrix::save_ascii): New function. | |
1454 | |
5955 | 1455 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1456 If array is empty, return value is same size as array. | |
1457 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1458 If array is empty, produce correctly sized return value. | |
1459 | |
5940 | 1460 2006-08-18 John W. Eaton <jwe@octave.org> |
1461 | |
5943 | 1462 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1463 * dMatrix.h: Provide decl. | |
1464 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1465 * dNDArray.h: Provide decl. | |
1466 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1467 New function. | |
1468 * intNDArray.h: Provide decl. | |
1469 | |
5940 | 1470 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1471 not empty. | |
1472 | |
5904 | 1473 2006-07-26 John W. Eaton <jwe@octave.org> |
1474 | |
1475 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1476 DET::value_will_overflow): Use xlog2 instead of log2. | |
1477 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1478 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1479 * CmplxDET.cc (ComplexDET::initialize10, | |
1480 ComplexDET::value_will_underflow, | |
1481 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1482 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1483 Use xround instead of round. | |
1484 (ComplexDET::initialize2, ComplexDET::value): | |
1485 Use xexp2 instead of exp2. | |
1486 | |
1487 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1488 (xlog2, xexp2): New functions. | |
1489 * lo-mappers.h: Provide decls. | |
1490 | |
5900 | 1491 2006-07-22 John W. Eaton <jwe@octave.org> |
1492 | |
1493 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1494 Sparse<T>::mex_get_jc): New functions. | |
1495 | |
1496 2006-07-21 John W. Eaton <jwe@octave.org> | |
1497 | |
1498 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1499 * Array.h (Array<T>::mex_get_data): New function. | |
1500 | |
5898 | 1501 2006-07-19 John W. Eaton <jwe@octave.org> |
1502 | |
1503 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1504 | |
5893 | 1505 2006-07-16 John W. Eaton <jwe@octave.org> |
1506 | |
1507 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1508 Rename from SparseParams. Use same implementation method as other | |
1509 singleton classes in Octave. Change all uses of | |
1510 Voctave_sparse_controls to use static functions from | |
1511 octave_sparse_params class instead. | |
1512 | |
1513 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1514 SparseParams::get_key): Pass std::string arg by const reference, | |
1515 not const value. | |
1516 | |
5892 | 1517 2006-07-15 John W. Eaton <jwe@octave.org> |
1518 | |
1519 * data-conv.cc: Instantiante swap_bytes templates here. | |
1520 | |
1521 * MatrixType.cc (MatrixType::MatrixType): | |
1522 Use complete initializer lists in constructors. | |
1523 | |
5880 | 1524 2006-07-06 John W. Eaton <jwe@octave.org> |
1525 | |
1526 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1527 New constructor. | |
1528 * str-vec.h: Provide decl. | |
1529 | |
5876 | 1530 2006-07-01 David Bateman <dbateman@free.fr> |
1531 | |
1532 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1533 elements on the diagonal. Allow both Upper and Lower triangular | |
1534 matrices to be treated. | |
1535 * CSparse.cc (tinverse): ditto. | |
1536 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1537 constant assignment. | |
1538 | |
5870 | 1539 2006-06-30 John W. Eaton <jwe@octave.org> |
1540 | |
5872 | 1541 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1542 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1543 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1544 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1545 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1546 |
5870 | 1547 * data-conv.cc (data_conv::string_to_data_type): |
1548 Correctly handle leading "*". | |
1549 | |
5869 | 1550 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1551 | |
1552 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1553 array access. | |
1554 | |
5866 | 1555 2006-06-27 John W. Eaton <jwe@octave.org> |
1556 | |
1557 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1558 | |
5864 | 1559 2006-06-21 John W. Eaton <jwe@octave.org> |
1560 | |
1561 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1562 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1563 Skip do_close_hook if cl_hook is 0. | |
1564 | |
5863 | 1565 2006-06-16 John W. Eaton <jwe@octave.org> |
1566 | |
1567 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1568 * randmtzig.h: Don't inlcude config.h. | |
1569 | |
5837 | 1570 2006-05-31 David Bateman <dbateman@free.fr> |
1571 | |
1572 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1573 | |
5828 | 1574 2006-05-23 John W. Eaton <jwe@octave.org> |
1575 | |
1576 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1577 typedefs, or define them if those files are not available. | |
1578 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1579 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1580 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1581 types with int8_t, int16_t, etc. | |
1582 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1583 Delete definitions. Replace all uses of these macros with int8_t, | |
1584 int16_t, etc. | |
1585 * randmtzig.h: Delete integer typedefs. | |
1586 | |
5822 | 1587 2006-05-18 John W. Eaton <jwe@octave.org> |
1588 | |
1589 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1590 From Keith Goodman <kwgoodman@gmail.com>. | |
1591 | |
5813 | 1592 2006-05-08 David Bateman <dbateman@free.fr> |
1593 | |
1594 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1595 modification. | |
1596 | |
5797 | 1597 2006-05-09 David Bateman <dbateman@free.fr> |
1598 | |
1599 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1600 ov-cx-sparse. and error_state. | |
1601 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1602 | |
5795 | 1603 2006-05-08 David Bateman <dbateman@free.fr> |
1604 | |
1605 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1606 first pass and use to determine which algorithm to use on a | |
1607 column-by-column basis. | |
1608 | |
5792 | 1609 2006-05-04 David Bateman <dbateman@free.fr> |
1610 | |
1611 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1612 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1613 CXSparse or later | |
1614 | |
5785 | 1615 2006-05-03 David Bateman <dbateman@free.fr> |
1616 | |
1617 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1618 External declaration of lapack triangular and Cholesky codes. | |
1619 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1620 ComplexMatrix::fsolve): New private solver codes for | |
1621 upper, lower and LU/Cholesky solvers. | |
1622 (ComplexMatrix::solve): New versions for cached matrix | |
1623 type. Adapt old versions to call new versions | |
1624 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1625 new solvers. | |
1626 (solve): New versions for cached matrix type. | |
1627 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1628 External declaration of lapack triangular and Cholesky codes. | |
1629 (Matrix::utsolve, Matrix::ltsolve, | |
1630 Matrix::fsolve): New private solver codes for | |
1631 upper, lower and LU/Cholesky solvers. | |
1632 (Matrix::solve): New versions for cached matrix | |
1633 type. Adapt old versions to call new versions | |
1634 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1635 new solvers. | |
1636 (solve): New versions for cached matrix type. | |
1637 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1638 * CSparse.h: ditto. | |
1639 * dSparse.cc: ditto. | |
1640 * dSparse.h: ditto. | |
1641 * SparseCmplxCHOL.cc: ditto. | |
1642 * SparsedbleCHOL.cc: ditto. | |
1643 * sparse-dmsolve.cc: ditto. | |
1644 * SparseType.cc, SparseType.h: delete. | |
1645 * MatrixType.cc: New file for class to cache matrix type, based on | |
1646 old SparseType class but caching matrix and sparse types. | |
1647 * MatrixType.h: ditto. | |
1648 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1649 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1650 respectively. | |
1651 * mx-base.h: Include MatrixTye.h as header file. | |
1652 | |
5781 | 1653 2006-05-01 John W. Eaton <jwe@octave.org> |
1654 | |
1655 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1656 Delete WARN_FUTURE arg. Change all uses. | |
1657 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1658 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1659 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1660 and uses. | |
1661 | |
1662 2006-04-29 John W. Eaton <jwe@octave.org> | |
1663 | |
1664 * Array-flags.cc, Array-flags.h: Delete. | |
1665 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1666 (MATRIX_INC): Remove Array-flags.h from the list. | |
1667 | |
1668 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1669 Use current_liboctave_warning_with_id_handler | |
1670 with warning ID Octave:resize-on-range-error. | |
1671 * idx-vector.h: Fix decl. | |
1672 * Array.cc, Sparse.cc: Change all callers. | |
1673 | |
1674 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1675 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1676 with warning ID Octave:fortran-indexing instead of | |
1677 liboctave_wfi_flag. | |
1678 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1679 | |
5777 | 1680 2006-04-26 John W. Eaton <jwe@octave.org> |
1681 | |
1682 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1683 New static data. | |
1684 * pathsearch.h: Provide decls. | |
1685 (dir_path::is_path_sep): New function. | |
1686 | |
5766 | 1687 2006-04-18 John W. Eaton <jwe@octave.org> |
1688 | |
1689 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1690 Omit inline from decl. | |
1691 | |
1692 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1693 local array with variable dimension. | |
1694 | |
5764 | 1695 2006-04-16 John W. Eaton <jwe@octave.org> |
1696 | |
5765 | 1697 * lo-sstream.h: Delete. |
1698 * Makefile.in (INCLUDES): Remove it from the list. | |
1699 | |
1700 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1701 * Sparse.cc (Sparse::range_error): Likewise. | |
1702 * DASSL.cc (DASSL::error_message): Likewise. | |
1703 * LSODE.cc (LSODE::error_message): Likewise. | |
1704 * DASRT.cc (DASRT::error_message): Likewise. | |
1705 * DASPK.cc (DASPK::error_message): Likewise. | |
1706 * Array.cc (Array::range_error): Likewise. | |
1707 | |
5764 | 1708 * kpse.cc (kpse_hash): Rename from hash. |
1709 (hash_lookup): Call kpse_hash instead of hash. | |
1710 | |
1711 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1712 to avoid local array with variable dimension. | |
1713 | |
5760 | 1714 2006-04-13 David Bateman <dbateman@free.fr> |
1715 | |
1716 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1717 Optimize assignment. | |
1718 | |
1719 2006-04-13 John W. Eaton <jwe@octave.org> | |
1720 | |
1721 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1722 Eliminate unnecessary casts. | |
1723 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1724 | |
1725 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1726 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1727 | |
1728 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1729 * oct-alloc.cc (allocator::grow): Likewise. | |
1730 * CSparse.cc (SparseComplexMatrix::determinant, | |
1731 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
1732 Likewise. | |
1733 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
1734 | |
1735 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
1736 Use static_cast instead of C-style cast. | |
1737 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1738 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
1739 | |
1740 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
1741 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
1742 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
1743 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
1744 Use reinterpret_cast instead of X_CAST. | |
1745 | |
1746 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
1747 return value here. | |
1748 | |
5752 | 1749 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
1750 | |
1751 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
1752 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
1753 | |
5730 | 1754 2006-04-03 David Bateman <dbateman@free.fr> |
1755 | |
5731 | 1756 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
1757 to avoid copy of original matrix. | |
1758 | |
5730 | 1759 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
1760 randmtzig.h to the list. | |
1761 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
1762 randmtzig.c to the list. | |
1763 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
1764 (use_old_generators): New variable. | |
1765 (old_initialized): Rename from initialized. | |
1766 (new_initialized): New variable. | |
1767 (oct_init_by_entropy): New function. | |
1768 (maybe_initialize): Initialize new or old generator depending on | |
1769 value of use_old_generators. | |
1770 (octave_rand::state): New functions. | |
1771 (octave_rand::distribution): Add gamma, exponential and poisson | |
1772 distributions. | |
1773 (octave_rand::exponential_distribution, | |
1774 octave_rand::poisson_distribution, | |
1775 octave_rand::gamma_distribution): New methods to select | |
1776 exponential, poisson or gamma distribution. | |
1777 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1778 octave_rand::vector): Add new distributions. | |
1779 * oct-rand.h: Provide decls for new functions. | |
1780 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
1781 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1782 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
1783 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
1784 randmtzig.h: New files. | |
1785 | |
5717 | 1786 2006-03-24 John W. Eaton <jwe@octave.org> |
1787 | |
1788 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
1789 Array<octave_idx_type>, so fortran_vec returns pointer to | |
1790 octave_idx_type, not pointer to int. | |
1791 | |
1792 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
1793 ComplexMatrix::column (char*)): Delete. | |
1794 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
1795 Matrix::column (char*)): Delete. | |
1796 | |
5713 | 1797 2006-03-21 David Bateman <dbateman@free.fr> |
1798 | |
1799 * SparseQR.h: Publish externally used friends. | |
1800 * SparseCmplxQR.h: ditto. | |
1801 | |
5700 | 1802 2006-03-21 John W. Eaton <jwe@octave.org> |
1803 | |
1804 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
1805 call to xdbetai. | |
1806 | |
5697 | 1807 2006-03-21 David Bateman <dbateman@free.fr> |
1808 | |
5701 | 1809 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
1810 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 1811 |
1812 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
1813 fallback to QR solvers to be optional. | |
1814 * CSparse.cc (solve): Ditto. | |
1815 * dSparse.h (solve): update declaration for new argument. | |
1816 * CSparse.h (solve): Ditto. | |
1817 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
1818 to bypass QR solvers when solving the well determined part of | |
1819 the problem. | |
5697 | 1820 |
5690 | 1821 2006-03-17 John W. Eaton <jwe@octave.org> |
1822 | |
1823 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
1824 | |
5681 | 1825 2006-03-16 David Bateman <dbateman@free.fr> |
1826 | |
1827 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
1828 reduction of matrix size, except for a couple of cases where nzmax | |
1829 is needed. | |
1830 (zpbcon): Correct declaration of lapack zpbcon function. | |
1831 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
1832 an argument to allow the calculation of condition number to be | |
1833 optional. | |
1834 (bsolve): Add code for the calculation of the condition number | |
1835 using zpbcon and zgbcon. | |
1836 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
1837 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
1838 singular if singularity is detected. | |
1839 (solve): Use optional argument to disable calculation of | |
1840 condition number for all but fsolve, for speed. Add code to | |
1841 allow rectnagular matrices or matrices identified as singular | |
1842 to be treated. | |
1843 (lssolve): delete. | |
1844 (operator *): Don't recast real matrices as complex, but | |
1845 rather use the macro directly on the real data. | |
1846 * dSparse.cc: ditto. | |
1847 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
1848 fsolve, factorize): Update declaration for new argument to | |
1849 calculate the condition number. | |
1850 (lssolve): delete. | |
1851 * dSparse.h: ditto. | |
1852 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
1853 reduction of matrix size, except for a couple of cases where | |
1854 nzmax is needed. | |
1855 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
1856 reduction of matrix size, except for a couple of cases where | |
1857 nzmax is needed. | |
1858 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
1859 Special case strict permutations for speed. | |
1860 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
1861 reduction of matrix size, except for a couple of cases where | |
1862 nzmax is needed. | |
1863 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
1864 macros to allow mixed complex/real arguments. | |
1865 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
1866 value. | |
1867 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
1868 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
1869 of permutated triangular matrices to avoid seg-faults. Disable | |
1870 detection of underdetermined lower and over-determined upper | |
1871 matrix due to problems with non minimum norm solutions. | |
1872 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
1873 * Makefile.in: add sparse-dmsolve.cc to targets. | |
1874 | |
5675 | 1875 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
1876 | |
1877 * oct-time.cc (octave_strptime::init): Return useful character count. | |
1878 | |
5648 | 1879 2006-03-08 David Bateman <dbateman@free.fr> |
1880 | |
1881 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
1882 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
1883 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
1884 * SparseQR.cc: ditto. | |
1885 * SparseQR.h: ditto. | |
1886 * oct-sparse.h: ditto. | |
1887 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
1888 Declare info variable as volatile. | |
1889 | |
1890 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
1891 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
1892 | |
5634 | 1893 2006-03-01 John W. Eaton <jwe@octave.org> |
1894 | |
1895 * CMatrix.cc (ComplexMatrix::determinant): | |
1896 Scale result by factors of 2, not 10. | |
1897 * dMatrix.cc (Matrix::determinant): Likewise. | |
1898 | |
1899 * dbleDET.h (DET::DET): Use initializer list. | |
1900 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
1901 DET::exponent10): New functions. | |
1902 (DET::det): Delete. | |
1903 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
1904 Store value internally with double and int instead of 2-element | |
1905 double vector. | |
1906 (DET::initialize2, DET::initialize10): Provide decls. | |
1907 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
1908 Return bool value, not int. | |
1909 (DET::initialize2, DET::initialize10): New functions. | |
1910 | |
1911 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
1912 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
1913 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
1914 (ComplexDET::det): Delete. | |
1915 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
1916 ComplexDET::base2): New data members. | |
1917 Store value internally with Complex and int instead of 2-element | |
1918 Complex vector. | |
1919 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
1920 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
1921 ComplexDET::value_will_underflow): Return bool value, not int. | |
1922 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
1923 | |
5632 | 1924 2006-02-24 John W. Eaton <jwe@octave.org> |
1925 | |
1926 * Array.cc (assignN): Clear index before reshaping. | |
1927 | |
1928 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
1929 | |
5630 | 1930 2006-02-20 David Bateman <dbateman@free.fr> |
1931 | |
1932 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
1933 matrix must be square in diagonal, permuted diagonal, triangular | |
1934 and permuted triangular back/forward substitution code. Change | |
1935 ambiguous use of no. rows and columns. | |
1936 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
1937 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
1938 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
1939 rectangular diagonal, permuted diagonal, triangular and permuted | |
1940 triangular matrices. | |
1941 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
1942 Treat case where third argument is zero. | |
1943 | |
5621 | 1944 2006-02-15 John W. Eaton <jwe@octave.org> |
1945 | |
5622 | 1946 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
1947 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
1948 | |
5621 | 1949 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1950 | |
5619 | 1951 2006-02-13 David Bateman <dbateman@free.fr> |
1952 | |
1953 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
1954 ccolamd and cxsparse | |
1955 | |
5617 | 1956 2006-02-13 John W. Eaton <jwe@octave.org> |
1957 | |
5618 | 1958 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
1959 while loop condition. | |
1960 (kpse_path_iterator::operator =): Declare as private function but | |
1961 don't define to prevent attempts to use assignment operator. | |
1962 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 1963 |
5615 | 1964 2006-02-10 John W. Eaton <jwe@octave.org> |
1965 | |
1966 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
1967 product of all dimensions in CP_SZ. | |
1968 | |
5611 | 1969 2006-02-09 John W. Eaton <jwe@octave.org> |
1970 | |
1971 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 1972 product of all dimensions in CP_SZ. |
5611 | 1973 |
5610 | 1974 2006-02-09 David Bateman <dbateman@free.fr> |
1975 | |
1976 * SparseQR.cc: new file for real sparse QR class. | |
1977 * SparseQR.h: declaration. | |
1978 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
1979 * SparseCmplxQR.h: declaration. | |
1980 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
1981 (factorize, fsolve): Enable code code lssolve. | |
1982 (lssolve): disable unused args, write based in above sparse QR class. | |
1983 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
1984 (factorize, fsolve): Enable code code lssolve. | |
1985 (lssolve): disable unused args, write based in above sparse QR class. | |
1986 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
1987 Include CXSparse headers. | |
1988 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
1989 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
1990 | |
5607 | 1991 2006-02-08 John W. Eaton <jwe@octave.org> |
1992 | |
1993 * Array-util.h (calc_permutated_idx): Delete. | |
1994 * Array.cc (permute_vector): New data structure. | |
1995 (permute_vector_compare): New function. | |
1996 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
1997 improved performance. | |
1998 | |
5606 | 1999 2006-02-04 David Bateman <dbateman@free.fr> |
2000 | |
2001 * COLAMD: Remove all files, as now unused. | |
2002 | |
5604 | 2003 2006-01-31 John W. Eaton <jwe@octave.org> |
2004 | |
2005 * Sparse.h (Sparse<T>::nzmax): New function. | |
2006 (Sparse<T>::nnz): Rename from nonzero. | |
2007 Change all uses of old nnz function to be nzmax. Change all uses | |
2008 of nonzero to be nnz. | |
2009 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2010 | |
5603 | 2011 2006-01-21 David Bateman <dbateman@free.fr> |
2012 | |
2013 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2014 (bool octave_idx_vector_comp): New function. | |
2015 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2016 indexed idx_vector sorting function. | |
2017 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2018 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2019 sorting. | |
2020 (bool octave_idx_vector_comp): Declaration. | |
2021 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2022 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2023 class. | |
2024 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2025 | |
5602 | 2026 2006-01-30 John W. Eaton <jwe@octave.org> |
2027 | |
2028 * so-array.h (streamoff_array::nnz): New funtion. | |
2029 * boolNDArray.h (boolNDArray::nnz): New function. | |
2030 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2031 * MArray.h (MArray<T>::nnz): New function. | |
2032 | |
5587 | 2033 2006-01-04 David Bateman <dbateman@free.fr> |
2034 | |
2035 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2036 elements not being sorted in return matrix. Sort them, and make | |
2037 solver select between two algorithms to further improve the | |
2038 performance. | |
2039 * dSparse.cc: include oct-sort.h. | |
2040 * CSparse.cc: ditto. | |
2041 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2042 | |
5586 | 2043 2005-12-28 David Bateman <dbateman@free.fr> |
2044 | |
5587 | 2045 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2046 faster in all cases, and significantly so for low density or small | |
2047 order problems. | |
5586 | 2048 |
5552 | 2049 2005-11-30 John W. Eaton <jwe@octave.org> |
2050 | |
2051 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2052 before setting any values in either array. | |
2053 | |
5547 | 2054 2005-11-29 John W. Eaton <jwe@octave.org> |
2055 | |
2056 * oct-uname.h, oct-uname.cc: New files. | |
2057 * Makefile.in: Add them to the appropriate lists. | |
2058 | |
5535 | 2059 2005-11-11 John W. Eaton <jwe@octave.org> |
2060 | |
2061 * Array.cc (Array<T>::indexN): Simplify. | |
2062 | |
5533 | 2063 2005-11-09 John W. Eaton <jwe@octave.org> |
2064 | |
2065 * oct-inttypes.h (octave_int::operator char (void) const): | |
2066 New conversion op. | |
2067 | |
5527 | 2068 2005-11-01 John W. Eaton <jwe@octave.org> |
2069 | |
2070 * Makefile.in (distclean): Also remove oct-types.h. | |
2071 From Quentin Spencer <qspencer@ieee.org>. | |
2072 | |
5526 | 2073 2005-10-31 David Bateman <dbateman@free.fr> |
2074 | |
2075 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2076 preprocessor defined TRUE/FALSE. | |
2077 | |
5523 | 2078 2005-10-30 John W. Eaton <jwe@octave.org> |
2079 | |
2080 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2081 (MX_ND_CUMULATIVE_OP): Likewise. | |
2082 | |
5519 | 2083 2005-10-29 John W. Eaton <jwe@octave.org> |
2084 | |
5520 | 2085 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2086 things up. Simplify. | |
2087 | |
5519 | 2088 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2089 case for "vector_equivalent". | |
2090 | |
2091 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2092 | |
5518 | 2093 2005-10-28 John W. Eaton <jwe@octave.org> |
2094 | |
2095 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2096 From Quentin Spencer <qspencer@ieee.org>. | |
2097 | |
2098 * sparse-base-chol.cc: Use C++ true/false instead of | |
2099 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2100 | |
5516 | 2101 2005-10-27 John W. Eaton <jwe@octave.org> |
2102 | |
2103 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2104 | |
5512 | 2105 2005-10-26 John W. Eaton <jwe@octave.org> |
2106 | |
2107 * oct-sparse.h: New file. | |
2108 * oct-sparse.h.in: Delete. | |
2109 | |
5511 | 2110 2005-10-26 David Bateman <dbateman@free.fr> |
2111 | |
2112 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2113 * sparse-base-chol.cc: ditto. | |
2114 | |
5508 | 2115 2005-10-26 John W. Eaton <jwe@octave.org> |
2116 | |
2117 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2118 <arno@heho.snv.jussieu.fr>: | |
2119 | |
5509 | 2120 * dSparse.h (real (const SparseComplexMatrix&)): |
2121 Publish externally used friend function. | |
2122 (imag (const SparseComplexMatrix&)): Likewise. | |
2123 | |
5508 | 2124 * dColVector.h (real (const ComplexColumnVector&)): |
2125 Publish externally used friend function. | |
2126 (imag (const ComplexColumnVector&)): Likewise. | |
2127 | |
2128 * dNDArray.h (real (const ComplexNDArray&)): | |
2129 Publish externally used friend function. | |
2130 (imag (const ComplexNDArray&)): Likewise. | |
2131 | |
2132 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2133 Move decl outside class. No need to be friend. | |
2134 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2135 (imag (const ComplexMatrix&)): Likewise. | |
2136 | |
2137 * CMatrix.h: (operator * (const ColumnVector&, const | |
2138 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2139 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2140 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2141 Likewise. | |
2142 | |
5506 | 2143 2005-10-23 David Bateman <dbateman@free.fr> |
2144 | |
2145 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2146 elements need to be removed. | |
2147 | |
2148 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2149 versions of cholmod. | |
2150 | |
2151 * CSparse.cc (tinverse): New private function for the inversion of | |
2152 an upper triangular matrix. | |
2153 (dinverse): ditto for diagonal matrices. | |
2154 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2155 using tinverse and dinverse. | |
2156 (fsolve): Use cholmod to implement Cholesky solver. | |
2157 * CSparse.h (tinverse, dinverse): Declarations | |
2158 (inverse): Alter declaration to include SparseType. | |
2159 | |
2160 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2161 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2162 | |
2163 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2164 | |
2165 * sparse-util.cc: New file for sparse utility functions. | |
2166 * sparse-util.h: New file with declarations of sparse utility | |
2167 functions. | |
2168 | |
2169 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2170 on cholmod. | |
2171 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2172 class based on cholmod. | |
2173 | |
2174 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2175 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2176 | |
2177 * SparsedbleCHOL.cc: ditto. | |
2178 * SparsedbleCHOL.h: ditto. | |
2179 | |
2180 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2181 (INCLUDES): Include sparse-util.h | |
2182 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2183 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2184 | |
5489 | 2185 2005-10-12 John W. Eaton <jwe@octave.org> |
2186 | |
2187 * oct-env.cc (octave_env::have_x11_display): New function. | |
2188 * oct-env.h: Provide decl. | |
2189 | |
5476 | 2190 2005-09-29 John W. Eaton <jwe@octave.org> |
2191 | |
2192 * file-stat.h (file_stat::mode): New function. | |
2193 | |
2194 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2195 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2196 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2197 * file-stat.h: Provide decls. | |
2198 | |
2199 2005-09-28 John W. Eaton <jwe@octave.org> | |
2200 | |
2201 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2202 * file-ops.h: Provide decl. | |
2203 | |
5454 | 2204 2005-09-19 David Bateman <dbateman@free.fr> |
2205 | |
2206 * oct-env.cc (octave_env::do_get_home_directory): | |
2207 Also check HOMEDRIVE under mingw. | |
2208 | |
5455 | 2209 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2210 | |
5453 | 2211 2005-09-16 John W. Eaton <jwe@octave.org> |
2212 | |
2213 * oct-syscalls.cc: Include lo-utils.h here. | |
2214 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2215 | |
2216 * lo-cutils.c (octave_waitpid): New function. | |
2217 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2218 oct-syscalls.cc | |
2219 | |
2220 | |
2221 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2222 waitpid in src/sysdep.h. Make this header C-compatible. | |
2223 | |
2224 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2225 Change all uses. | |
2226 | |
5451 | 2227 2005-09-15 John W. Eaton <jwe@octave.org> |
2228 | |
2229 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2230 | |
2231 * oct-sparse.h.in: New file. | |
2232 * Makefile.in (DISTFILES): Include it in the list. | |
2233 (INCLUDES): Add oct-sparse.h to the list. | |
2234 | |
2235 2005-09-15 David Bateman <dbateman@free.fr> | |
2236 | |
2237 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2238 headers. Remove include of umfpack.h. | |
2239 * CSparse.cc : ditto. | |
2240 * SparsedbleLU.cc : ditto. | |
2241 * SparseCmplxLU.cc : ditto. | |
2242 | |
2243 * COLAMD : Remove colamd files from octave. | |
2244 * COLAMD.files : delete. | |
2245 * COLAMD.README : delete. | |
2246 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2247 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2248 under mingw. | |
2249 | |
2250 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2251 in definition. | |
2252 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2253 change of cast not allowed under g++ 3.x. | |
2254 * lo-utils.h (octave_w32_library_search): Declaration. | |
2255 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2256 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2257 | |
5442 | 2258 2005-09-07 John W. Eaton <jwe@octave.org> |
2259 | |
2260 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2261 based on current code in Bash. Handle a few more escape | |
2262 sequences. Do a better job of decoding \W. | |
2263 | |
5438 | 2264 2005-09-04 David Bateman <dbateman@free.fr> |
2265 | |
2266 * COLAMD: Update version of colamd to v2.4. | |
2267 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2268 colamd.c for long version. | |
2269 | |
5429 | 2270 2005-08-25 David Bateman <dbateman@free.fr> |
2271 | |
2272 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2273 mixed sparse/full multiply. | |
2274 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2275 mixed sparse/full multiply. | |
2276 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2277 mixed sparse/full multiply operators. | |
2278 | |
5420 | 2279 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2280 | |
2281 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2282 avoid warnings for unsigned types. | |
2283 | |
5404 | 2284 2005-07-07 John W. Eaton <jwe@octave.org> |
2285 | |
2286 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2287 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2288 | |
5392 | 2289 2005-06-15 John W. Eaton <jwe@octave.org> |
2290 | |
5394 | 2291 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2292 Flush stdout here. | |
2293 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2294 | |
5392 | 2295 * Array.h (Array::resize): Change int args to octave_idx_type. |
2296 | |
5386 | 2297 2005-06-14 John W. Eaton <jwe@octave.org> |
2298 | |
5389 | 2299 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2300 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2301 octave_is_NaN_or_NA to xisnan. | |
2302 | |
2303 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2304 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2305 | |
2306 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2307 lo_ieee_isnan. | |
2308 | |
5387 | 2309 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2310 value is greater than FLT_MAX. | |
2311 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2312 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2313 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2314 | |
2315 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2316 values too. | |
2317 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2318 | |
2319 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2320 NA, Inf values. | |
2321 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2322 |
5385 | 2323 2005-06-14 David Bateman <dbateman@free.fr> |
2324 | |
5387 | 2325 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2326 NA values. | |
2327 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2328 |
5379 | 2329 2005-06-02 John W. Eaton <jwe@octave.org> |
2330 | |
2331 * Array.cc (assignN): Try harder to correctly resize previously | |
2332 empty LHS. | |
2333 | |
5351 | 2334 2005-05-16 David Bateman <dbateman@free.fr> |
2335 | |
2336 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2337 * CSparse.h: ditto. | |
2338 | |
5346 | 2339 2005-05-10 David Bateman <dbateman@free.fr> |
2340 | |
2341 * dSparse.cc (determinant): Free numeric factorization after | |
2342 sucessful calculation. | |
2343 * CSparse.cc (determinant): ditto. | |
2344 | |
5340 | 2345 2005-05-06 John W. Eaton <jwe@octave.org> |
2346 | |
2347 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2348 chol_mat. | |
2349 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2350 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2351 Provide decls. | |
2352 | |
2353 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2354 indexing chol_mat. | |
2355 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2356 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2357 Provide decls. | |
2358 | |
5338 | 2359 2005-05-05 John W. Eaton <jwe@octave.org> |
2360 | |
2361 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2362 retval before return. | |
2363 | |
5336 | 2364 2005-05-04 John W. Eaton <jwe@octave.org> |
2365 | |
2366 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2367 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2368 | |
5330 | 2369 2005-05-02 John W. Eaton <jwe@octave.org> |
2370 | |
2371 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2372 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2373 | |
5322 | 2374 2005-04-29 David Bateman <dbateman@free.fr> |
2375 | |
5330 | 2376 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2377 double. Correct indexing for upper diagonal elements for sparse | |
2378 tridiagonal. | |
5322 | 2379 * CSparse.cc (trisolve): ditto. |
2380 | |
5330 | 2381 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2382 UMFPACK for 64-bit. | |
5322 | 2383 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2384 UMFPACK_ZNAME(*). | |
2385 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2386 | |
5330 | 2387 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2388 UMFPACK for 64-bit. | |
5322 | 2389 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2390 UMFPACK_DNAME(*). | |
2391 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2392 | |
5330 | 2393 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2394 triangular back/forward substitution code. | |
5322 | 2395 * CSparse.cc (ltsolve, utsolve): ditto. |
2396 | |
5330 | 2397 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2398 from spparms("spumoni",1). | |
5322 | 2399 * CSparse.cc (solve): ditto |
2400 | |
5330 | 2401 * SparseType.cc (SparseType(void)): Print info for |
2402 spparms("spumoni",1). | |
5322 | 2403 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2404 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2405 const octave_idx_type, const octave_idx_type)): New constructors. | |
2406 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2407 Detect row permuted lower triangular and column permuted upper |
2408 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2409 |
2410 * SparseType.h: Simplify the permutation code. | |
2411 (SparseType(const matrix_type), SparseType | |
2412 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2413 SparseType(const matrix_type, const octave_idx_type, | |
2414 const octave_idx_type)): Declarations. | |
2415 | |
5304 | 2416 2005-04-25 John W. Eaton <jwe@octave.org> |
2417 | |
2418 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2419 array and its contents. | |
2420 | |
5303 | 2421 2005-04-22 John W. Eaton <jwe@octave.org> |
2422 | |
2423 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2424 const here now that rl_terminal_name is declared const char*. | |
2425 | |
5294 | 2426 2005-04-21 John W. Eaton <jwe@octave.org> |
2427 | |
2428 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2429 | |
5285 | 2430 2005-04-19 John W. Eaton <jwe@octave.org> |
2431 | |
2432 * Array.cc (assignN): Don't crash if the index list is empty. | |
2433 | |
5282 | 2434 2005-04-14 David Bateman <dbateman@free.fr> |
2435 | |
2436 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2437 * SparsedbleLU.cc: Ditto. | |
2438 * SparseCmplxLU.h: Definition. | |
2439 * SparsedbleLU.h: ditto. | |
2440 | |
2441 * SparseType.cc (transpose): New function. | |
2442 * SparseType.h (transpose): Definition. | |
2443 | |
5278 | 2444 2005-04-11 John W. Eaton <jwe@octave.org> |
2445 | |
2446 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2447 fortran code that could end up calling XSTOPX. | |
2448 | |
5277 | 2449 2005-04-10 David Bateman <dbateman@free.fr> |
2450 | |
2451 * Makefile.in: include oct-types in INCLUDES so that it is | |
2452 installed | |
2453 | |
5275 | 2454 2005-04-08 John W. Eaton <jwe@octave.org> |
2455 | |
5276 | 2456 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2457 | |
5275 | 2458 * Initial merge of 64-bit changes from Clinton Chee: |
2459 | |
2460 2005-04-07 John W. Eaton <jwe@octave.org> | |
2461 | |
2462 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2463 | |
2464 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2465 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2466 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2467 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2468 Use octave_idx_type instead of int where needed. | |
2469 | |
2470 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2471 | |
2472 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2473 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2474 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2475 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2476 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2477 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2478 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2479 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2480 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2481 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2482 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2483 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2484 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2485 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2486 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2487 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2488 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2489 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2490 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2491 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2492 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2493 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2494 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2495 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2496 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2497 str-vec.cc, str-vec.h: | |
2498 Use octave_idx_type instead of int where needed. | |
2499 | |
2500 2005-04-01 John W. Eaton <jwe@octave.org> | |
2501 | |
2502 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2503 | |
2504 * oct-types.h.in: New file. | |
2505 | |
2506 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2507 | |
2508 * lo-utils.cc (NINTbig): New function. | |
2509 * lo-utils.h: Provide decl. | |
2510 | |
5269 | 2511 2005-04-06 David Bateman <dbateman@free.fr> |
2512 | |
2513 * Makefile.in: Link to UMFPACK_LIBS. | |
2514 | |
5265 | 2515 2005-04-05 John W. Eaton <jwe@octave.org> |
2516 | |
2517 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2518 | |
5264 | 2519 2005-04-01 John W. Eaton <jwe@octave.org> |
2520 | |
2521 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2522 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2523 when resizing A. When performing the assignment, just check that | |
2524 the number of elements in RHS matches the number of elements | |
2525 indexed by IDX-LIST. | |
2526 | |
5260 | 2527 2005-03-30 John W. Eaton <jwe@octave.org> |
2528 | |
5261 | 2529 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2530 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2531 | |
2532 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2533 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2534 wrappers from oct-cmplx.h. | |
5260 | 2535 |
2536 * oct-cmplx.h: Provide typedef only. | |
2537 | |
2538 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2539 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2540 Likewise. | |
2541 | |
5247 | 2542 2005-03-26 John W. Eaton <jwe@octave.org> |
2543 | |
2544 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2545 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2546 | |
5209 | 2547 2005-03-15 John W. Eaton <jwe@octave.org> |
2548 | |
2549 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2550 | |
5203 | 2551 2005-03-14 John W. Eaton <jwe@octave.org> |
2552 | |
2553 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2554 (DISTDIRS): Don't include UMFPACK. | |
2555 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2556 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2557 flags for these files. | |
2558 Don't include include $(srcdir)/UMFPACK.files. | |
2559 Don't include include $(srcdir)/UMFPACK.rules. | |
2560 | |
2561 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2562 Delete files. | |
2563 * UMFPACK: Delete directory tree. | |
2564 | |
2565 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2566 * CSparse.cc: Likewise. | |
2567 * SparsedbleLU.cc: Likewise. | |
2568 * SparseCmplxLU.cc: Likewise. | |
2569 | |
2570 2005-03-14 David Bateman <dbateman@free.org> | |
2571 | |
2572 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2573 Allow compilation to succeed if UMFPACK is not available. | |
2574 | |
5196 | 2575 2005-03-09 John W. Eaton <jwe@octave.org> |
2576 | |
2577 * Makefile.in (bin-dist): Delete target. | |
2578 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2579 | |
5173 | 2580 2005-03-01 John W. Eaton <jwe@octave.org> |
2581 | |
2582 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2583 * Makefile.in: Remove them from the lists. | |
2584 | |
5169 | 2585 2005-02-28 John W. Eaton <jwe@octave.org> |
2586 | |
2587 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2588 | |
5167 | 2589 2005-02-27 David Bateman <dbateman@free.org> |
2590 | |
5169 | 2591 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2592 in the sparse matrix. | |
5167 | 2593 |
5164 | 2594 2005-02-25 John W. Eaton <jwe@octave.org> |
2595 | |
2596 Sparse merge. | |
2597 | |
2598 2005-02-13 David Bateman <dbateman@free.fr> | |
2599 | |
2600 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2601 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2602 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2603 solver into separate functions for the diagonal, upper, lower | |
2604 triangular, tridiagonal, banded and full cases. | |
2605 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2606 version that probes the matrix type and another that assumes the type | |
2607 is passed. | |
2608 | |
2609 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2610 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2611 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2612 (SparseMatrix::solve): Likewise | |
2613 | |
2614 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2615 Declaration of new functions | |
2616 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2617 Likewise | |
2618 | |
2619 * CSparse.cc (operator !): Reverse the sense of the test. | |
2620 * dSpase.cc (operator !): Likewise | |
2621 | |
2622 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2623 triangular_col_perm, sparse_info): Remove matrix type code | |
2624 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2625 triangular_col_perm, sparse_info): Likewise | |
2626 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2627 triangular_col_perm, sparse_info): Likewise | |
2628 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2629 triangular_col_perm, sparse_info): Likewise | |
2630 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2631 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2632 | |
2633 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2634 | |
2635 * SparseType.h: New class for the matrix type used in solvers | |
2636 * SparseType.cc: methods of sparse matrix type class | |
2637 | |
2638 * Makefile.in: Add SparseType.cc | |
2639 | |
2640 2005-02-01 David Bateman <dbateman@free.fr> | |
2641 | |
2642 * UMFPACK: Update to version 4.4 | |
2643 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2644 keep octave specific test files | |
2645 | |
2646 2005-01-23 David Bateman <dbateman@free.fr> | |
2647 | |
2648 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2649 tridiagonal and banded cholesky solvers. Remove calculation of | |
2650 condition number for banded solvers. | |
2651 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2652 | |
2653 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2654 new functions. | |
2655 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2656 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2657 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2658 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2659 ditto | |
2660 | |
2661 * Sparse.cc (int Sparse<T>::type (int) const, | |
2662 bool Sparse<T>::is_dense (void) const): New functions definition | |
2663 | |
2664 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2665 so it actually is cached, but disable | |
2666 | |
2667 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2668 for compatiability | |
2669 | |
2670 2005-01-18 David Bateman <dbateman@free.fr> | |
2671 | |
2672 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2673 Modify calculation of number elements to skip between copied blocks. | |
2674 | |
2675 2005-01-07 David Bateman <dbateman@free.fr> | |
2676 | |
2677 * Sparse.h : Reverse definitions of numel and nelem. | |
2678 * Sparse.cc (assign1): Use numel and not nelem | |
2679 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2680 | |
2681 2005-01-07 David Bateman <dbateman@free.fr> | |
2682 | |
2683 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2684 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2685 ComplexDET | |
2686 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2687 by DET | |
2688 * dSparse.h (determinant): ditto | |
2689 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2690 SparseComplexDET by ComplexDET | |
2691 * CSparse.h (determinant): ditto | |
2692 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2693 SparseCmplxDET.cc: delete files | |
2694 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2695 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2696 | |
2697 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2698 local variable to avoid variable shadowing. | |
2699 * dSparse.cc (SparseMatrix::solve): ditto. | |
2700 | |
2701 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2702 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2703 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2704 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2705 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2706 sparse-sort.h: Remove additional licensing clause with authors | |
2707 permission. | |
2708 | |
2709 2004-12-30 John W. Eaton <jwe@octave.org> | |
2710 | |
2711 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2712 Loop counter is int, not size_t. | |
2713 | |
2714 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2715 | |
2716 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2717 | |
2718 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2719 Delete unused variables. | |
2720 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2721 variables and variables that might be clobbered by longjmp. | |
2722 | |
2723 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2724 min, max): Delete unused variables. | |
2725 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2726 variables and variables that might be clobbered by longjmp. | |
2727 | |
2728 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2729 | |
2730 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
2731 Loop counter is int, not size_t. | |
2732 | |
2733 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
2734 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
2735 | |
2736 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
2737 lists consistently. | |
2738 | |
2739 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
2740 | |
2741 2004-12-29 John W. Eaton <jwe@octave.org> | |
2742 | |
2743 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
2744 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
2745 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
2746 $(UMFPACK_EXTRAS) to the list. | |
2747 (DISTDIRS): New variable. | |
2748 (dist): Handle $(DISTDIRS). | |
2749 | |
2750 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
2751 Andy Adler <adler@site.uottawa.ca>. | |
2752 | |
2753 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
2754 | |
2755 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
2756 without directory prefix. | |
2757 | |
2758 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
2759 $(UMFPACK_OBJ) to the list. | |
2760 | |
2761 * COLAMD: New directory. | |
2762 * COLAMD.files: New file. | |
2763 * Makefile.in: Include COLAMD.files. | |
2764 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
2765 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
2766 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
2767 | |
2768 * UMFPACK: New directory. | |
2769 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
2770 New files. | |
2771 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
2772 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
2773 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
2774 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
2775 | |
2776 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
2777 (INCLUDES): Add it to the list. | |
2778 (SPARSE_MX_OP_SRC): New variable. | |
2779 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
2780 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2781 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2782 | |
2783 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
2784 * Makefile.in (DISTFILES): Add them to the lists. | |
2785 | |
2786 * oct-spparms.h, sparse-sort.h: New files. | |
2787 * Makefile.in (INCLUDES): Add them to the list. | |
2788 | |
2789 * oct-spparms.cc, sparse-sort.cc: New files. | |
2790 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
2791 | |
2792 * sparse-base-lu.cc: New file. | |
2793 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
2794 | |
2795 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
2796 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
2797 SparsedbleLU.cc: New files. | |
2798 * Makefile.in (MATRIX_SRC): Add them to the list. | |
2799 | |
2800 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
2801 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
2802 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
2803 Sparse-op-defs.h: New files. | |
2804 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
2805 | |
2806 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
2807 Sparse-C.cc: New files. | |
2808 * Makefile.in (TI_SRC): Add them to the list. | |
2809 | |
5149 | 2810 2005-02-18 John W. Eaton <jwe@octave.org> |
2811 | |
2812 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
2813 Pass current directory to octave_env::make_absolute. | |
2814 Save value returned from octave_env::make_absolute in local var. | |
2815 Pass const char*, not std::string as first arg of resolvepath. | |
2816 Provide decl for resolved_len. | |
2817 | |
5148 | 2818 2005-02-18 John W. Eaton <jwe@octave.org> |
2819 | |
2820 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
2821 than number of dimenensions of permuted matrix. | |
2822 | |
2823 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
2824 * Array-util.cc (calc_permutated_idx): Likewise. | |
2825 | |
5139 | 2826 2005-02-10 David Bateman <dbateman@free.fr> |
2827 | |
2828 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
2829 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
2830 | |
5137 | 2831 2005-02-09 John W. Eaton <jwe@octave.org> |
2832 | |
5138 | 2833 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
2834 * file-ops.h: Provide decls. | |
2835 | |
5137 | 2836 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
2837 | |
5136 | 2838 2005-02-08 John W. Eaton <jwe@octave.org> |
2839 | |
2840 * Array-util.cc (freeze): Improve error message. | |
2841 | |
5120 | 2842 2005-01-26 David Bateman <dbateman@free.fr> |
2843 | |
5121 | 2844 * Array.cc (Array<T>::insert): Handle generic case, not just |
2845 special case for fast concatenation. | |
5120 | 2846 |
5110 | 2847 2005-01-18 John W. Eaton <jwe@octave.org> |
2848 | |
2849 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
2850 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
2851 | |
2852 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
2853 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
2854 | |
5108 | 2855 2005-01-18 David Bateman <dbateman@free.fr> |
2856 | |
2857 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2858 Modify calculation of number elements to skip between copied blocks. | |
2859 | |
2860 2005-01-18 John W. Eaton <jwe@octave.org> | |
2861 | |
2862 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
2863 error handler, to warn about resizing. | |
2864 | |
5105 | 2865 2004-12-27 Martin Dalecki <martin@dalecki.de> |
2866 | |
2867 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
2868 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
2869 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
2870 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2871 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
2872 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
2873 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
2874 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
2875 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
2876 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
2877 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
2878 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
2879 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
2880 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
2881 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
2882 Delete #pragma implementation. | |
2883 | |
2884 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
2885 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
2886 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
2887 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
2888 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
2889 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
2890 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
2891 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
2892 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
2893 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2894 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
2895 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
2896 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
2897 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
2898 Delete #pragma interface. | |
2899 | |
5098 | 2900 2004-12-17 John W. Eaton <jwe@octave.org> |
2901 | |
2902 * lo-cieee.c (lo_ieee_signbit): New function. | |
2903 * lo-ieee.h: Provide decl. | |
2904 Don't define lo_ieee_signbit as a macro here. | |
2905 From Orion Poplawski <orion@cora.nwra.com>. | |
2906 | |
5085 | 2907 2004-11-18 John W. Eaton <jwe@octave.org> |
2908 | |
2909 * int32NDArray.cc (pow): Delete instantiation. | |
2910 * int16NDArray.cc (pow): Likewise. | |
2911 * int8NDArray.cc (pow): Likewise. | |
2912 * uint32NDArray.cc (pow): Likewise. | |
2913 * uint16NDArray.cc (pow): Likewise. | |
2914 * uint8NDArray.cc (pow): Likewise. | |
2915 | |
5081 | 2916 2004-11-17 John W. Eaton <jwe@octave.org> |
2917 | |
5085 | 2918 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
2919 Now static. | |
2920 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
2921 DEFAULT_TEXMFDBS): Delete unused macros. | |
2922 | |
5081 | 2923 * Array.cc (Array<T>::index): Call generic N-d indexing function |
2924 if idx_arg is N-d. | |
2925 | |
5073 | 2926 2004-11-09 David Bateman <dbateman@free.fr> |
2927 | |
2928 * dNDArray.cc (concat): Delete. | |
2929 (NDArray::concat): New methods. | |
2930 * dNDArray.h: Provide decls. | |
2931 | |
2932 * CNDArray.cc (concat): Delete. | |
2933 (ComplexNDArray::concat): New methods. | |
2934 * CNDArray.h: Provide decls. | |
2935 | |
2936 * boolNDArray.cc (concat): Delete. | |
2937 (boolNDArray::concat): New methods. | |
2938 * boolNDArray.h: Provide decls. | |
2939 | |
2940 * chNDArray.cc (concat): Delete. | |
2941 (charNDArray::concat): New methods. | |
2942 * chNDArray.h: Provide decls. | |
2943 | |
2944 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
2945 Delete macros. | |
2946 | |
2947 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2948 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2949 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
2950 | |
2951 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2952 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2953 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
2954 | |
2955 * intNDArray.cc (intNDArray<T>::concat): New method. | |
2956 * intNDArray.h: Provide decl. | |
2957 | |
5072 | 2958 2004-11-08 John W. Eaton <jwe@octave.org> |
2959 | |
2960 * oct-inttypes.cc: New file. | |
2961 * Makefile.in (TI_SRC): Add it to the list. | |
2962 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
2963 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
2964 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
2965 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
2966 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
2967 New macros for comparison operations. Avoid potential | |
2968 problems with default conversions when comparing signed and | |
2969 unsigned values. | |
2970 | |
5061 | 2971 2004-11-03 John W. Eaton <jwe@octave.org> |
2972 | |
2973 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
2974 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2975 | |
5052 | 2976 2004-10-19 John W. Eaton <jwe@octave.org> |
2977 | |
2978 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
2979 | |
5047 | 2980 2004-10-18 John W. Eaton <jwe@octave.org> |
2981 | |
2982 * Array.cc (assign2): Save result of squeeze operation. | |
2983 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
2984 | |
5095 | 2985 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 2986 |
2987 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
2988 flag whether transform in- or out-of-place. | |
2989 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
2990 (octave_fftw_planner::create_plan): Use it. | |
2991 | |
5039 | 2992 2004-09-24 John W. Eaton <jwe@octave.org> |
2993 | |
2994 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
2995 any empty matrix, not just []. | |
2996 | |
5030 | 2997 2004-09-23 John W. Eaton <jwe@octave.org> |
2998 | |
2999 * mx-ops: Include scalar zero value in type definitions. | |
3000 Delete zero information from ops section. | |
3001 * mk-ops.awk: Use type-specific zero info. | |
3002 | |
3003 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3004 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3005 LHS and RHS. | |
3006 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3007 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3008 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3009 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3010 | |
3011 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3012 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3013 tree_to_mat_idx. | |
3014 | |
3015 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3016 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3017 Likewise for the "if (b_val & one)" test. | |
3018 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3019 | |
5029 | 3020 2004-09-23 David Bateman <dbateman@free.fr> |
3021 | |
3022 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3023 New macros. Use them to define mixed intX-double and double-intX ops. | |
3024 | |
5021 | 3025 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3026 | |
3027 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3028 Fix doc string layout to avoid overfull hbox in printed output. | |
3029 | |
5015 | 3030 2004-09-21 John W. Eaton <jwe@octave.org> |
3031 | |
3032 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3033 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3034 For "native", set actual native format. | |
3035 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3036 | |
5008 | 3037 2004-09-17 David Bateman <dbateman@free.fr> |
3038 | |
3039 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3040 calculation of the unitary matrix optional. | |
3041 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3042 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3043 | |
4998 | 3044 2004-09-15 David Bateman <dbateman@free.fr> |
3045 | |
3046 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3047 New function to set the comparison function for the sort. | |
3048 | |
4985 | 3049 2004-09-10 John W. Eaton <jwe@octave.org> |
3050 | |
3051 * lo-mappers.cc (xround): Fix typo. | |
3052 | |
4979 | 3053 2004-09-08 John W. Eaton <jwe@octave.org> |
3054 | |
3055 * Array.h (Array::~Array): Declare virtual. | |
3056 | |
3057 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3058 initializaion list. Don't set rep->count since the rep | |
3059 constructor does that. | |
3060 | |
4968 | 3061 2004-09-07 John W. Eaton <jwe@octave.org> |
3062 | |
4970 | 3063 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3064 (oct_data_conv::data_type_as_string): Likewise. | |
3065 | |
3066 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3067 | |
4968 | 3068 * Range.cc (round): Delete unused function. |
3069 | |
3070 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3071 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3072 | |
3073 * oct-inttypes.h: Include <cmath> here. | |
3074 | |
4964 | 3075 2004-09-03 David Bateman <dbateman@free.fr> |
3076 | |
3077 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3078 New functions for boolean matrix concatenation. | |
3079 * boolNDArray.h: Provide decls. | |
3080 | |
4963 | 3081 2004-09-03 John W. Eaton <jwe@octave.org> |
3082 | |
4964 | 3083 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3084 to avoid signed/unsigned int comparison problems. | |
3085 | |
3086 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3087 for mixed integer and double types. | |
3088 | |
3089 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3090 separately, and only if needed. | |
3091 | |
4963 | 3092 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3093 static_cast for type conversion. | |
3094 | |
4953 | 3095 2004-09-01 John W. Eaton <jwe@octave.org> |
3096 | |
3097 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3098 operator /): Handle mixed integer/double ops. If op generates a | |
3099 NaN, set result to 0. | |
3100 (octave_int::operator - (void)): Convert to double, then negate, | |
3101 then fit to range. | |
3102 | |
3103 * mx-ops: Define integer types. Include declarations for mixed | |
3104 integer/double ops. | |
3105 | |
4952 | 3106 2004-08-31 John W. Eaton <jwe@octave.org> |
3107 | |
3108 * oct-inttypes.h (pow): Args now const reference. | |
3109 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3110 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3111 New member functions. | |
3112 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3113 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3114 Define in terms of >>=. | |
3115 (operator << (const octave_int<T1>& x, const T2& y)): | |
3116 Define in terms of <<=. | |
3117 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3118 we get proper saturation properties. | |
3119 | |
3120 2004-08-31 David Bateman <dbateman@free.fr> | |
3121 | |
3122 * oct-inttypes.h (pow (constT, T)): New template. | |
3123 | |
3124 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3125 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3126 | |
4949 | 3127 2004-08-31 John W. Eaton <jwe@octave.org> |
3128 | |
3129 * oct-inttypes.h (octave_int::byte_size): New function. | |
3130 | |
4944 | 3131 2004-08-31 John W. Eaton <jwe@octave.org> |
3132 | |
4946 | 3133 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3134 | |
4944 | 3135 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3136 Explicitly number enum elements. | |
3137 | |
3138 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3139 std::string&, int&, oct_data_conv::data_type&, | |
3140 oct_data_conv::data_type&)): New function. | |
3141 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3142 oct_data_conv::data_type&)): New function. | |
3143 (oct_data_conv::data_type_as_string): New function. | |
3144 | |
3145 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3146 (write_int, do_write, Matrix::write): Delete. | |
3147 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3148 | |
3149 * byte-swap.h: Use template functions and specialization. | |
3150 Change all uses. | |
3151 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3152 | |
4943 | 3153 2004-08-30 John W. Eaton <jwe@octave.org> |
3154 | |
3155 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3156 specializations to avoid warnings about signed/unsigned comparisons. | |
3157 | |
3158 2004-08-28 John W. Eaton <jwe@octave.org> | |
3159 | |
3160 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3161 size_t, int, oct_mach_info::float_format)): New function. | |
3162 (GET_SIZED_INT_TYPE): New macro. | |
3163 (string_to_data_type): Use it to return sized types corresponding | |
3164 to Octave array data types. | |
3165 (strip_spaces): New function. | |
3166 (do_double_format_conversion, do_float_format_conversion): Pass | |
3167 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3168 float format. | |
3169 (do_double_format_conversion, | |
3170 IEEE_big_double_to_IEEE_little_double, | |
3171 VAX_D_double_to_IEEE_little_double, | |
3172 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3173 IEEE_little_double_to_IEEE_big_double, | |
3174 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3175 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3176 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3177 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3178 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3179 Cray_to_VAX_G_double): | |
3180 Pass data as void*, not double*. | |
3181 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3182 VAX_D_float_to_IEEE_little_float, | |
3183 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3184 IEEE_little_float_to_IEEE_big_float, | |
3185 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3186 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3187 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3188 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3189 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3190 Cray_to_VAX_G_float): | |
3191 Pass data as void*, not float*. | |
3192 | |
3193 2004-08-27 John W. Eaton <jwe@octave.org> | |
3194 | |
3195 * byte-swap.h (swap_bytes): New template versions, with | |
3196 specializations. | |
3197 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3198 Change all uses. | |
3199 | |
4940 | 3200 2004-08-24 David Bateman <dbateman@free.fr> |
3201 | |
3202 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3203 empty instead of checking final matrix. | |
3204 * dNDArray.cc (concat): Likewise. | |
3205 * CNDArray.cc (concat): Likewise. | |
3206 | |
3207 2004-08-23 David Bateman <dbateman@free.fr> | |
3208 | |
3209 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3210 non-existent dimensions. | |
3211 | |
4938 | 3212 2004-08-09 John W. Eaton <jwe@octave.org> |
3213 | |
3214 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3215 (const octave_int<U>&)): New member function. | |
3216 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3217 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3218 Now member functions instead of static in idx-vector.cc. | |
3219 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3220 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3221 New template constructors. | |
3222 | |
4932 | 3223 2004-08-05 John W. Eaton <jwe@octave.org> |
3224 | |
4933 | 3225 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3226 | |
4932 | 3227 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3228 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3229 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3230 | |
4929 | 3231 2004-08-03 John W. Eaton <jwe@octave.org> |
3232 | |
3233 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3234 arrays with more than two dimensions and only one non-singleton | |
3235 dimension, return a column vector. | |
3236 | |
4921 | 3237 2004-07-28 John W. Eaton <jwe@octave.org> |
3238 | |
3239 * oct-cmplx.h (pow (const Complex&, const double&): | |
3240 Convert second arg to complex to avoid libstdc++ bug. | |
3241 | |
4920 | 3242 2004-07-27 John W. Eaton <jwe@octave.org> |
3243 | |
3244 * oct-inttypes.h (bitshift): New arg, MASK. | |
3245 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3246 | |
4916 | 3247 2004-07-23 John W. Eaton <jwe@octave.org> |
3248 | |
3249 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3250 | |
4915 | 3251 2004-07-23 David Bateman <dbateman@free.fr> |
3252 | |
3253 * Array.cc, Array.h (cat_ra): Delete. | |
3254 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3255 (INSTANTIATE_ARRAY_CAT): Delete. | |
3256 | |
3257 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3258 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3259 | |
3260 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3261 | |
3262 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3263 chNDArray.h (concat): New function used for concatenation that does | |
3264 an indexed copy of one array into another. | |
3265 | |
3266 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3267 | |
3268 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3269 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3270 insertion of one NDArray into another. | |
3271 | |
3272 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3273 macros to define the int/uint concatenation functions. | |
3274 | |
3275 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3276 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3277 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3278 | |
3279 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3280 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3281 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3282 functions. | |
3283 | |
4911 | 3284 2004-07-22 David Bateman <dbateman@free.fr> |
3285 | |
3286 * oct-sort.h: Don't include oct-obj.h. | |
3287 | |
3288 * lo-specfun.cc (is_integer_value): New function. | |
3289 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3290 integer orders that cause overflow for small arguments. | |
3291 | |
4909 | 3292 2004-07-12 John W. Eaton <jwe@octave.org> |
3293 | |
3294 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3295 (bitshift (const octave_int<T>&, int)): New function. | |
3296 | |
4902 | 3297 2004-06-14 John W. Eaton <jwe@octave.org> |
3298 | |
3299 * mx-base.h: Include headers for new int types. | |
3300 | |
3301 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3302 NDArray::NDArray (const charNDArray&)): Delete. | |
3303 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3304 constructor. | |
3305 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3306 | |
3307 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3308 return type conversion. | |
3309 | |
3310 * ComplexNDArray.h, ComplexNDArray.cc | |
3311 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3312 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3313 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3314 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3315 | |
3316 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3317 | |
3318 * MArrayN.h: | |
3319 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3320 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3321 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3322 New constructors. | |
3323 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3324 ArrayN<T>::squeeze): | |
3325 New forwarding functions for return type conversion. | |
3326 | |
3327 * ArrayN.h: | |
3328 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3329 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3330 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3331 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3332 const dim_vector&)): New constructors. | |
3333 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3334 ArrayN<T>::transpose): | |
3335 New forwarding functions for return type conversion. | |
3336 | |
3337 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3338 New constructor. | |
3339 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3340 | |
3341 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3342 | |
3343 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3344 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3345 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3346 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3347 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3348 * Makefile.in: Add them to the appropriate lists. | |
3349 | |
4899 | 3350 2004-06-04 John W. Eaton <jwe@octave.org> |
3351 | |
3352 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3353 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3354 resize op. Change all uses. | |
3355 | |
4898 | 3356 2004-06-03 David Bateman <dbateman@free.fr> |
3357 | |
3358 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3359 greater than the existing number of dimensions in lvalue. | |
3360 | |
4887 | 3361 2004-04-30 David Bateman <dbateman@free.fr> |
3362 | |
3363 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3364 New arg, fill_value. | |
3365 (dim_vector::resize): Allow optional fill_value argument. | |
3366 | |
3367 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3368 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3369 more than one element in idx_vector. Resize the return value to | |
3370 the size of Array<idx_vector>. | |
3371 | |
3372 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3373 idx_vector that is shorter than a dim_vector. | |
3374 | |
4882 | 3375 2004-04-23 John W. Eaton <jwe@octave.org> |
3376 | |
3377 * oct-sort.cc: Don't include oct-obj.h. | |
3378 | |
4876 | 3379 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3380 | |
3381 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3382 Don't set invalid dimensions on return value. | |
3383 | |
4871 | 3384 2004-04-21 John W. Eaton <jwe@octave.org> |
3385 | |
3386 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3387 | |
4850 | 3388 2004-04-06 David Bateman <dbateman@free.fr> |
3389 | |
4870 | 3390 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3391 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3392 Make their behavior equivalent except for filling vs. not filling. | |
3393 | |
4850 | 3394 * oct-sort.cc: New template class for arbitrary sorting. |
3395 * oct-sort.h: Declaration of sort class. | |
3396 * Makefile: Add them to the appropriate lists. | |
3397 | |
4845 | 3398 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3399 | |
3400 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3401 | |
4844 | 3402 2004-04-02 David Bateman <dbateman@free.fr> |
3403 | |
3404 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3405 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3406 New N-d array versions. |
4844 | 3407 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3408 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3409 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3410 | |
3411 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3412 New functions. | |
3413 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3414 | |
3415 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3416 New functions. | |
3417 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3418 Provide decls. | |
3419 | |
4842 | 3420 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3421 | |
3422 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3423 work vector, not just when using a numerical Jacobian. | |
3424 | |
4834 | 3425 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3426 | |
4835 | 3427 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3428 Omit empty result args. | |
3429 | |
4834 | 3430 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3431 Move here from Array.h, check that size of array arg is not | |
3432 smaller than the size defined by the new dimensions. | |
3433 | |
4832 | 3434 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3435 | |
3436 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3437 a scalar or vector with an N-d array. | |
3438 | |
4826 | 3439 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3440 | |
4828 | 3441 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3442 matrix, return object that is the same size as the index. | |
3443 | |
4826 | 3444 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3445 Eliminate MT_RESULT args. Return value is always size of args. | |
3446 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3447 Eliminate EMPTY_RESULT arg. | |
3448 Return value is always size of matrix or N-d array arg. | |
3449 (TBM, FBM, NBM): Delete unused macros. | |
3450 | |
4821 | 3451 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3452 | |
3453 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3454 if all LHS dimensions are zero. For one index case, freeze and | |
3455 sort idx_vec before checking length, and do nothing if | |
3456 num_to_delete is zero. | |
4822 | 3457 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3458 |
4816 | 3459 2004-03-04 David Bateman <dbateman@free.fr> |
3460 | |
3461 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3462 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3463 | |
4811 | 3464 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3465 | |
3466 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3467 element. | |
3468 | |
3469 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3470 | |
3471 * Range.h (Range::Range): Add cache to member initialization list. | |
3472 (Range::clear_cache): New private function. | |
3473 | |
3474 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3475 Use clear cache. Don't do anything if range does not change. | |
3476 * Range.cc (Range::sort): Likewise. | |
3477 | |
4810 | 3478 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3479 | |
3480 * Range.cc (Range::matrix_value): Cache result. | |
3481 (Range::sort): Clear cache. | |
3482 * Range.h (Range::cache): New data member. | |
3483 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3484 (Range::print_range): Delete. | |
4808 | 3485 |
3486 2004-03-02 David Bateman <dbateman@free.fr> | |
3487 | |
3488 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3489 changes between them. Faster for small fft's. | |
3490 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3491 New member variables. | |
3492 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3493 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3494 Change all uses. | |
3495 (CHECK_SIMD_ALIGNMENT): New macro. | |
3496 (octave_fftw_planner::create_plan): Use it. | |
3497 | |
4806 | 3498 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3499 | |
3500 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3501 | |
3502 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3503 | |
3504 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3505 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3506 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3507 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3508 | |
3509 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3510 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3511 | |
4800 | 3512 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3513 | |
4802 | 3514 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3515 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3516 octave_rl_get_event_hook): Omit casts. | |
3517 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3518 Return value for function pointer typedef is now int. | |
3519 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3520 command_editor::event_hook_fcn): Likewise. | |
3521 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3522 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3523 Return type is now int. Return 0. | |
3524 | |
4800 | 3525 * EIG.cc (EIG::init, EIG::symmetric_init): |
3526 Query Lapack for workspace size. | |
3527 | |
4796 | 3528 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3529 | |
3530 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3531 Fix thinko in extending dimensions. | |
3532 | |
4791 | 3533 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3534 | |
3535 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3536 Don't compute values beyond the limits of the range. | |
3537 (operator << (std::ostream&, const Range&)): Likewise. | |
3538 | |
4786 | 3539 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3540 | |
4788 | 3541 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3542 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3543 From Paul Kienzle <pkienzle@users.sf.net>. | |
3544 | |
4786 | 3545 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3546 Rename from Array<T>::insert. | |
3547 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3548 Reinstate old Array<T>::insert function under this name. | |
3549 (Array<T>::insert (const Array<T>&, int, int)): | |
3550 New function. Dispatch to insert2 or insertN as appropriate. | |
3551 | |
4785 | 3552 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3553 | |
3554 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3555 Sprinkle with OCTAVE_QUIT. | |
3556 | |
5095 | 3557 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3558 |
3559 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3560 Add support for FFTW 3.x. Include the ability to | |
3561 use the real to complex transform for fft's of real matrices | |
3562 (octave_fftw_planner::create_plan2d): Delete. | |
3563 (octave_fftw::fft2d): Delete. | |
3564 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3565 New static functions. | |
3566 * oct-fftw.h: Update decls. | |
3567 | |
3568 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3569 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3570 transforms. 1D FFT of a matrix done as single call rather than | |
3571 loop. Update for FFTW 3.x | |
3572 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3573 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3574 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3575 | |
3576 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3577 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3578 functions for Nd arrays. | |
3579 * dNArray.h Provide decls. | |
3580 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3581 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3582 fourier transform functions for complex Nd arrays. | |
3583 * CNArray.h: Provide decls. | |
3584 | |
4765 | 3585 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3586 | |
3587 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3588 Make it work for N-d arrays. | |
3589 | |
3590 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3591 New function. | |
3592 | |
3593 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3594 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3595 New functions. | |
3596 * CNDArray.h: Provide decls. | |
3597 | |
4759 | 3598 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3599 | |
4760 | 3600 * Makefile.in (LINK_DEPS): Always define. |
3601 | |
4759 | 3602 * Array.cc (Array<T>::squeeze): Always return an array with at |
3603 least two dimensions. | |
3604 | |
4758 | 3605 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3606 | |
3607 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3608 * dNDArray.cc (NDArray::cat): New function. | |
3609 * dNDArray.h: Provide decls. | |
3610 * CNDArray.cc (complexNDArray::cat): New function. | |
3611 * CNDArray.h: Provide decls. | |
3612 * chNDArray.cc (charNDArray::cat): New function. | |
3613 * chNDArray.h: Provide decls. | |
3614 | |
4756 | 3615 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3616 | |
3617 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3618 (Array<T>assign2): Also call maybe_delete_elements for single | |
3619 index when rows and columns or LHS are both greater than 1. | |
3620 | |
4755 | 3621 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3622 | |
3623 * Array.cc (Array<T>::maybe_delete_elements): | |
3624 Check for index out of bounds. Handle one index. | |
3625 | |
3626 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3627 dim_vector (0) to create empty return vector. | |
3628 | |
4749 | 3629 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3630 | |
3631 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3632 non-empty LHS when the number of lhs dimensions is less than the | |
3633 number of indices. Detect error if attempting to resize non-empty | |
3634 LHS with colon indices. | |
3635 | |
4745 | 3636 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3637 | |
4747 | 3638 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3639 values unless the length of the new array is greater than 0. | |
3640 (Array<T>::resize_no_fill): Likewise. | |
3641 | |
3642 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3643 is equal to dimensions(i). | |
3644 | |
3645 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3646 get_zero_len_size, number_of_elements): | |
3647 Delete unused functions. | |
3648 | |
3649 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3650 number_of_elements function. | |
3651 * Array.cc (Array<T>::indexN): Likewise. | |
3652 | |
3653 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3654 of equal_arrays function. | |
3655 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3656 dim_vector::any_zero instead of any_zero_len function. | |
3657 | |
3658 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3659 Don't skip reshaping and resizing if RHS is empty. | |
3660 | |
4746 | 3661 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3662 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3663 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3664 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3665 LHS is not yet defined. | |
4745 | 3666 Error for resizing if number of indices is less than number of LHS |
3667 dimensions. | |
3668 | |
4746 | 3669 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3670 Fortran-style indexing. | |
3671 | |
4743 | 3672 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3673 | |
3674 * Array.cc (Array<T>::assignN): Simplify. | |
3675 Allow assignments to succeed if number if indices is less than the | |
3676 number of RHS dimensions. | |
3677 | |
4738 | 3678 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3679 | |
4741 | 3680 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3681 when number of indices is less than number of dimensions. | |
3682 | |
3683 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3684 Remove unsued variable lhs_inc. | |
3685 | |
4740 | 3686 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3687 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3688 | |
3689 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3690 | |
4738 | 3691 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3692 == n_dims before checking to see if all indices are colon_equiv. | |
3693 | |
4736 | 3694 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3695 | |
3696 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3697 deleting elements. | |
4737 | 3698 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3699 at least ndims elements. | |
4736 | 3700 |
4735 | 3701 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3702 | |
3703 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3704 oriented differently from the index. | |
3705 | |
3706 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3707 least two dimensions. | |
3708 | |
4733 | 3709 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3710 | |
4735 | 3711 * dim-vector.h (dim_vector::squeeze): New function. |
3712 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3713 deciding whether the assignment conforms. | |
3714 | |
4733 | 3715 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3716 comparing rhs_dims and frozen_len sans trailing singletons. | |
3717 | |
4732 | 3718 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3719 | |
3720 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3721 Call error handler and return conversion_error == true if arg is | |
3722 not integer. | |
3723 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3724 | |
4730 | 3725 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3726 | |
3727 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3728 reference arg const. | |
3729 | |
3730 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3731 | |
3732 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
3733 | |
4729 | 3734 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
3735 | |
3736 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
3737 Now bool, to match definition in Array-flags.cc. | |
3738 | |
4725 | 3739 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3740 | |
4726 | 3741 * file-ops.cc: Include <vector> instead of <memory> for new |
3742 definition of OCTAVE_LOCAL_BUFFER. | |
3743 | |
4725 | 3744 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
3745 New arg, calc_eigenvectors. | |
3746 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
3747 Based on patch from David Bateman <dbateman@free.fr>. | |
3748 | |
4716 | 3749 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3750 | |
3751 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
3752 For X(I) = RHS, don't restrict I to fewer elements than X. | |
3753 | |
3754 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
3755 | |
4711 | 3756 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3757 | |
4714 | 3758 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
3759 Simplify calculation of number of elements in retval. | |
3760 | |
4711 | 3761 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
3762 filling when RHS is scalar and dimension lengths agree. | |
3763 | |
4710 | 3764 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3765 | |
4713 | 3766 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
3767 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 3768 |
4707 | 3769 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3770 | |
4709 | 3771 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
3772 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 3773 |
4702 | 3774 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
3775 | |
4703 | 3776 * Array.h (Array<T>::chop_trailing_singletons): New function. |
3777 * Array.cc (Array<T>::assignN): Use it on LHS. | |
3778 | |
3779 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 3780 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 3781 Check for singleton dimensions where RHS is matrix or higher dimension. |
3782 Make sure index is in bounds. | |
4702 | 3783 |
4698 | 3784 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3785 | |
3786 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
3787 octave_NaN, and octav_NA values are always initialized. Check | |
3788 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
3789 to decide whether to do IEEE initialization. | |
3790 | |
4687 | 3791 2004-01-06 David Bateman <dbateman@free.fr> |
3792 | |
3793 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
3794 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
3795 ComplexNDArray::too_large_for_float): New functions | |
3796 | |
3797 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
3798 * CNDArray.h: Provide decls. | |
3799 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
3800 * dNDArray.h: Provide decls. | |
3801 | |
4673 | 3802 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3803 | |
4674 | 3804 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
3805 they are already defined in boolNDArray.cc. | |
3806 | |
4673 | 3807 * Array-util.cc (get_zero_len_size): Delete. |
3808 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3809 Handle zero-length result dimensions the same as empty original | |
3810 indices. | |
3811 | |
3812 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3813 | |
3814 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
3815 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
3816 New functions. | |
3817 * Array.cc (ArrayN<T>::indexN): Use it. | |
3818 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
3819 | |
4669 | 3820 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
3821 | |
3822 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
3823 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
3824 | |
3825 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3826 | |
3827 * mk-ops.awk: Also emit #include "Array-util.h". | |
3828 | |
3829 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
3830 Add bnda x bnda, b x bnda, and bnda x b ops. | |
3831 | |
3832 * MArray-misc.cc: Delete. | |
3833 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
3834 | |
3835 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
3836 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
3837 | |
4655 | 3838 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3839 | |
4663 | 3840 * dbleQR.cc (QR::init): Use separate pwork pointers. |
3841 * CmplxQR.cc (ComplexQR::init): Likewise. | |
3842 | |
3843 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
3844 two-arg getgrnam version. | |
3845 | |
4657 | 3846 * Array.cc (assignN): Allow single indexing to work. |
4661 | 3847 (Array<T>::range_error (const char*, const Array<int>&)): |
3848 Report index values. | |
3849 | |
3850 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 3851 * ODESSA.cc (odessa_j): Likewise. |
3852 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
3853 * DASPK.cc (ddaspk_psol): Likewise. | |
3854 * lo-mappers.cc (imag): Likewise. | |
4663 | 3855 * Array-util.cc (get_zero_len_size): Likewise. |
3856 * kpse.cc (path_search, path_find_first_of): Likewise. | |
3857 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 3858 |
4655 | 3859 * dim-vector.h (dim_vector::all_ones): New function. |
3860 | |
4646 | 3861 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3862 | |
4653 | 3863 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
3864 zeros, not orig_rows or orig_columns. | |
3865 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
3866 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
3867 | |
3868 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
3869 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
3870 | |
3871 * idx-vector.cc (idx_vector::idx_vector_rep): | |
3872 Use initialization lists for constructors. | |
3873 | |
4651 | 3874 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
3875 Omit special case for ra_idx.capacity () == 1. | |
3876 Always allow single index for matrix args with optional warning. | |
3877 | |
4650 | 3878 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
3879 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
3880 | |
4648 | 3881 * Array-so.cc: New file. Move instantiations here from so-array.h. |
3882 * Makefile.in (TI_SRC): Add it to the list. | |
3883 | |
4646 | 3884 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
3885 type and the names of the left and right operands. Change all uses. | |
3886 | |
3887 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
3888 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
3889 | |
4645 | 3890 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3891 | |
3892 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
3893 just length. | |
3894 | |
3895 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
3896 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
3897 non-dependent member functions and data as needed. | |
3898 | |
3899 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
3900 | |
3901 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
3902 * Array3.h (Array3<T>::operator =): Likewise. | |
3903 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
3904 Include Array.h, not Array2.h. | |
3905 | |
4634 | 3906 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3907 | |
4636 | 3908 * str-vec.cc (list_in_columns): Fix previous change. |
3909 | |
4635 | 3910 * dim-vector.h (dim_vector::num_ones): New function. |
3911 * Array.cc (maybe_delete_elements): Use it instead of | |
3912 num_ones (const Array<int>&). | |
3913 | |
3914 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
3915 | |
4634 | 3916 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
3917 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
3918 New functions. | |
3919 * dNDArray.h: Provide decls. | |
3920 | |
3921 * dMatrix.h (Matrix::any_element_is_negative, | |
3922 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
3923 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
3924 Simplify. | |
3925 | |
3926 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
3927 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
3928 | |
3929 * dNDArray.cc (real, imag): New functions. | |
3930 * dNDArray.h: Provide decls. | |
3931 | |
4630 | 3932 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3933 | |
3934 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
3935 | |
4625 | 3936 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
3937 | |
3938 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
3939 * MArray.h (resize): Delete. | |
3940 * MArray2.h (resize): Delete. | |
3941 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
3942 * ODESSA (ODESSA::integrate): Likewise. | |
3943 | |
4616 | 3944 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3945 | |
3946 * Makefile.in (dist): Depend on stamp-prereq. | |
3947 | |
4605 | 3948 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
3949 | |
3950 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
3951 Kluge to make it work. | |
4604 | 3952 |
3953 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
3954 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
3955 | |
3956 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
3957 default_command_editor::do_generate_filename_completions, | |
3958 command_editor::generate_filename_completions): New functions. | |
3959 * cmd-edit.h: Provide decls. | |
3960 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
3961 function. | |
3962 * oct-rl-edit.h: Provide decl. | |
3963 | |
4593 | 3964 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3965 | |
4594 | 3966 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
3967 INSTANTIATE_ARRAY): New macros. | |
3968 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
3969 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
3970 | |
4593 | 3971 * Array.h (Array<T>::ipermute): New function. |
3972 | |
3973 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
3974 | |
3975 * Array.cc (Array<T>::permute): New function. | |
3976 * Array.h: Provide decl. | |
3977 | |
3978 * Array-util.cc (calc_permutated_idx): New function. | |
3979 * Array-util.h: Provide decl. | |
3980 | |
4587 | 3981 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3982 | |
4592 | 3983 * Array.cc (Array<T>::index2): Return value has orientation of |
3984 indexed value if indexing a vector with a bool matrix. | |
3985 | |
4589 | 3986 * ArrayN.h (ArrayN<T>::get_size): Delete. |
3987 | |
4588 | 3988 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
3989 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
3990 | |
3991 * ArrayN-inline.h: Delete. | |
3992 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
3993 * Makefile.in: Fix the appropriate lists. | |
3994 | |
4587 | 3995 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
3996 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
3997 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
3998 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
3999 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4000 Avoid -Wshadow warnings. | |
4001 | |
4002 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4003 |
4004 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4005 | |
4006 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4007 | |
4008 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4009 | |
4010 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4011 | |
4584 | 4012 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4013 | |
4014 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4015 | |
4016 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4017 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4018 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4019 Return NDArray. Handle N-d arrays. | |
4020 | |
4575 | 4021 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4022 | |
4583 | 4023 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4024 that upcase Fortran names by calling dlsode instead of lsode. | |
4025 | |
4026 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4027 that upcase Fortran names by calling dodessa instead of odessa. | |
4028 | |
4577 | 4029 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4030 non-const args for symlink system call. | |
4031 (file_ops::readlink): Likewise, for readlink. | |
4032 | |
4575 | 4033 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4034 | |
4574 | 4035 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4036 | |
4037 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4038 Change all uses. | |
4039 | |
4569 | 4040 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4041 | |
4042 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4043 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4044 * dNDArray.h: Provide decls. | |
4045 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4046 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4047 ComplexNDArray::abs): New functions. | |
4048 * CNDArray.h: Provide decls. | |
4049 | |
4050 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4051 Generalize to handle other reduction operations. | |
4052 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4053 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4054 | |
4565 | 4055 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4056 | |
4567 | 4057 * Array.cc (Array<T>::reshape): New function. |
4058 * Array.h: Provide decl. | |
4059 | |
4060 * dim-vector.h (dim_vector::numel): New function. | |
4061 | |
4565 | 4062 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4063 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4064 | |
4559 | 4065 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4066 | |
4067 * dim-vector.h (dim_vector::any_zero): New function. | |
4068 (dim_vector::str): New default arg, sep. | |
4069 | |
4070 * Array.h (Array<T>::numel): New function. | |
4071 | |
4556 | 4072 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4073 | |
4074 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4075 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4076 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4077 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4078 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4079 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4080 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4081 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4082 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4083 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4084 | |
4552 | 4085 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4086 | |
4553 | 4087 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4088 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4089 | |
4552 | 4090 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4091 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4092 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4093 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4094 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4095 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4096 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4097 Use new F77 arg macros in declarations of external Fortran | |
4098 subroutines and for calling them. | |
4099 | |
4548 | 4100 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4101 | |
4102 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4103 Allow number of dimensions to change. | |
4104 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4105 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4106 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4107 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4108 (Array<T>::transpose): Require ndims to be 2. | |
4109 (Array<T>::index2): Likewise. | |
4110 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4111 (Array<T>::maybe_delete_elements_2): Likewise. | |
4112 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4113 (Array<T>::index1): Use resize_and_fill. | |
4114 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4115 | |
4116 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4117 | |
4118 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4119 (MArray2<T>::resize (int, int, const T&)): New function. | |
4120 | |
4121 * MArray.h (MArray<T>::resize (int)): New function. | |
4122 (MArray<T>::resize (int, const T&)): New function. | |
4123 | |
4124 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4125 | |
4126 * DASPK-opts.in: Use single-arg resize for initial condition | |
4127 heuristics. | |
4128 | |
4129 * dim-vector.h (class dim_vector): Now reference counted. | |
4130 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4131 | |
4544 | 4132 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4133 | |
4545 | 4134 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4135 | |
4544 | 4136 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4137 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4138 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4139 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4140 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4141 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4142 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4143 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4144 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4145 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4146 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4147 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4148 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4149 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4150 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4151 files are now automatically generated. | |
4152 | |
4153 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4154 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4155 Add rules to generate these files and mx-ops.h. | |
4156 (stamp-prereq): Depend on these files. | |
4157 | |
4158 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4159 * Makefile.in (DISTFILES): Add them to the list. | |
4160 | |
4543 | 4161 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4162 | |
4163 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4164 NDArray::NDArray (const charNDArray)): New constructors. | |
4165 (NDArray::operator !): New function. | |
4166 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4167 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4168 | |
4169 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4170 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4171 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4172 New constructors. | |
4173 (ComplexNDArray::operator !): New function. | |
4174 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4175 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4176 | |
4177 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4178 | |
4179 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4180 Provide NDND_CMP_OPS. | |
4181 | |
4182 * MArrayN.cc (operator +=, operator -=): New functions. | |
4183 Provide product and quotient functions. | |
4184 | |
4185 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4186 dim_vector&)): New function. | |
4187 | |
4188 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4189 operator ==, operator !=): New functions. | |
4190 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4191 | |
4192 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4193 No need to save old dimensions. | |
4194 | |
4195 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4196 (octave_rand::nd_array): New function. | |
4197 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4198 | |
4199 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4200 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4201 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4202 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4203 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4204 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4205 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4206 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4207 NDND_OP_DECLS): New macros. | |
4208 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4209 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4210 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4211 | |
4212 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4213 boolNDArray, class charNDArray): New forward decls. | |
4214 | |
4534 | 4215 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4216 | |
4217 * Array.cc (assign2): No error (but don't do anything either) for | |
4218 expressions like x([],j) = scalar. | |
4219 | |
4532 | 4220 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4221 | |
4533 | 4222 * Array.cc (assignN): Allow lhs(:) = scalar. |
4223 | |
4532 | 4224 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4225 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4226 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4227 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4228 | |
4229 * dim-vector.h (rows, cols): Delete unused data members. | |
4230 | |
4231 * Array.cc (Array<T>::get_size): Fix thinko. | |
4232 | |
4233 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4234 | |
4235 * Array.cc (Array<T>::squeeze): New function. | |
4236 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4237 * dNDArray.h (NDArray::squeeze): Likewise. | |
4238 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4239 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4240 | |
4530 | 4241 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4242 | |
4243 * Array.cc (ArrayN<T>::indexN): New definition. | |
4244 * Array.h (Array<T>::indexN): Provide decl. | |
4245 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4246 Call indexN if more than 2 indices. | |
4247 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4248 Make it (mostly) work. | |
4249 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4250 New functions. | |
4251 | |
4527 | 4252 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4253 | |
4254 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4255 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4256 versions with eof arg. | |
4257 | |
4518 | 4258 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4259 | |
4260 * Array.h (dimensions): Now public. | |
4261 template <class LT, class RT> | |
4262 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4263 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4264 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4265 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4266 resize_no_fill (int), | |
4267 resize_no_fill (int, int), | |
4268 resize_no_fill (int, int, int), | |
4269 resize_no_fill (const dim_vector&), | |
4270 resize_and_fill (int, const T&), | |
4271 resize_and_fill (int, int, const T&), | |
4272 resize_and_fill (int, int, int, const T&), | |
4273 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4274 | |
4275 * Array.cc: Include <climits>. | |
4276 | |
4513 | 4277 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4278 | |
4517 | 4279 * Array.cc: Merge Array-idx.h. |
4280 * Array-idx.h: Delete. | |
4281 | |
4514 | 4282 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4283 | |
4513 | 4284 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4285 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4286 just special cases of the general purpose N-d Array object). | |
4287 | |
4288 * dim-vector.h: New file. Use dim_vector objects instead of | |
4289 ints or Array<int> objects to represent the size of Array | |
4290 objects. | |
4291 | |
4292 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4293 | |
4294 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4295 | |
4296 * mx-base.h: Include NDArray header files. | |
4297 | |
4298 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4299 | |
4300 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4301 Array-s.cc: Also instantiate ArrayN objects. | |
4302 Don't instantiate assign funcitons for Array2 objects. | |
4303 | |
4304 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4305 liboctave_error_handler, not cerr. | |
4306 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4307 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4308 * dMatrix.cc (Matrix::diag): Likewise. | |
4309 | |
4310 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4311 Omit checks for HEAVYWEIGHT_INDEXING. | |
4312 | |
4313 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4314 | |
4315 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4316 | |
4317 * CNDARray.h, CNDArray.cc: New files. | |
4318 * Makefile.in: Add them to the appropriate lists. | |
4319 | |
4320 * dNDArray.h: Rename from NDArray.h. | |
4321 * dNDArray.cc: Rename from NDArray.cc. | |
4322 * Makefile.in: Rename them here too. | |
4323 | |
4507 | 4324 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4325 | |
4326 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4327 | |
4328 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4329 * Makefile.in: Add them to the appropriate lists. | |
4330 | |
5095 | 4331 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4332 |
4333 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4334 biry): Always request scaled results from AMOS functions and | |
4335 perform reverse scaling on results if scaled result not requested | |
4336 by user. | |
4337 | |
4338 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4339 | |
4340 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4341 | |
4505 | 4342 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4343 | |
4344 * Array-d.cc: Instantiate assign functions. | |
4345 | |
4504 | 4346 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4347 | |
4348 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4349 (get_elt_idx): Index ra_idx correctly. | |
4350 | |
4351 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4352 bounds if it is exactly on the bound. | |
4353 | |
4354 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4355 * ArrayN.h: Provide decl. | |
4356 | |
4357 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4358 | |
4359 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4360 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4361 (idx_vector::orig_dimensions): New function. | |
4362 | |
4497 | 4363 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4364 | |
4365 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4366 | |
4496 | 4367 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4368 | |
4369 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4370 (is_in, how_many_lgt, all_ones): New functions. | |
4371 | |
4493 | 4372 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4373 | |
4374 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4375 | |
4376 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4377 | |
4378 * ArrayN-inline.h: New file. | |
4379 (index_in_bounds, increment_index): Move here. | |
4380 * ArrayN.cc: From here. | |
4381 | |
4382 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4383 * ArrayN-idx.h (assign): New function. | |
4384 | |
4490 | 4385 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4386 | |
4387 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4388 Also zero imaginary part of result if real part of input value is | |
4389 zero. | |
4390 | |
4478 | 4391 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4392 | |
4393 * mx-base.h: Include ArrayN.h. | |
4394 | |
4476 | 4395 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4396 | |
4397 * ArrayN.cc (operator <<): Corrected output. | |
4398 | |
4474 | 4399 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4400 | |
4401 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4402 | |
5095 | 4403 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4404 |
4405 * ArrayN.cc (operator <<): Improve output readability. | |
4406 | |
4493 | 4407 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4408 |
4409 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4410 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4411 Initialize old_len before changing size. | |
4412 | |
4472 | 4413 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4414 | |
4415 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4416 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4417 |
4469 | 4418 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4419 | |
4420 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4421 way. Handle NA in an R-compatible way. | |
4422 | |
4423 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4424 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4425 | |
4426 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4427 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4428 | |
4429 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4430 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4431 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4432 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4433 | |
4461 | 4434 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4435 | |
4436 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4437 Pass true for resize_ok arg to freeze. | |
4438 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4439 Likewise. | |
4440 | |
4441 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4442 resize_ok arg is now bool. | |
4443 * idx-vector.h (idx_vector::freeze): Likewise. | |
4444 | |
4445 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4446 Rename from liboctave_rre_flag. Now bool. | |
4447 (liboctave_wfi_flag): Now bool. | |
4448 | |
4449 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4450 | |
5095 | 4451 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4452 |
4453 * Array.h (resize_fill_value): Now a top-level template function. | |
4454 Accept object as argument. Change all uses. | |
4455 | |
4455 | 4456 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4457 | |
4458 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4459 | |
4460 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4461 liboctave_dfi_flag. | |
4462 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4463 X undefined or empty, always create a row vector. | |
4464 | |
4465 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4466 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4467 | |
4437 | 4468 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4469 | |
4470 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4471 Magic colon indexing always produces an object with one column. | |
4472 | |
5095 | 4473 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4474 |
4475 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4476 | |
4477 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4478 | |
4431 | 4479 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4480 | |
4481 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4482 neg_zero is true, also return true for negative zero. | |
4483 | |
4429 | 4484 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4485 | |
4486 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4487 Handle step limit. | |
4488 * DASSL-opts.in: New option for step limit. | |
4489 | |
5095 | 4490 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4491 |
4492 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4493 | |
4428 | 4494 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4495 | |
4496 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4497 Store step limit in iwork(20), not iwork(18). | |
4498 | |
5095 | 4499 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4500 |
4501 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4502 | |
4412 | 4503 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4504 | |
4413 | 4505 * Makefile.in: Handle DESTDIR. |
4506 | |
4412 | 4507 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4508 (kpse_path_iterator::set_end): Don't miss last element when not | |
4509 followed by a colon. | |
4510 | |
4409 | 4511 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4512 | |
4513 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4514 | |
4515 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4516 | |
4517 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4518 (find_first_of): Also do an absolute search on each | |
4519 name before looking in the path. | |
4520 | |
4407 | 4521 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4522 | |
4523 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4524 directory separator. | |
4525 | |
4399 | 4526 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4527 | |
4528 * pathsearch.cc: Include kpse.cc here. | |
4529 | |
4530 * kpse.cc: All functions are now static. Massive surgery to | |
4531 condense kpathsearch library to a single file of just the | |
4532 essentials for Octave and convert to using C++ strings (no more | |
4533 calls to malloc, very few calls to new, so there should be much | |
4534 less potential for introducing memory leaks now). | |
4535 | |
4536 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4537 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4538 | |
4539 * kpse.h, kpse-config.h: Delete. | |
4540 * Makefile.in (INCLUDES): Delete them from the list. | |
4541 | |
4392 | 4542 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4543 | |
4544 * str-vec.cc (string_vector::append (const std::string&), | |
4545 string_vector::append (const string_vector&)): New methods. | |
4546 | |
4386 | 4547 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4548 | |
4389 | 4549 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4550 | |
4387 | 4551 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4552 | |
4386 | 4553 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4554 (READABLE): Now a static function to avoid warnings from MinGW | |
4555 compiler. | |
4556 | |
4384 | 4557 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4558 | |
4385 | 4559 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4560 static. Include most of kpse-xfns.h directly, removing | |
4561 unnecessary bits. | |
4562 | |
4384 | 4563 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4564 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4565 | |
4378 | 4566 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4567 | |
4568 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4569 * Makefile.in: Add them to the appropriates lists. | |
4570 | |
4571 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4572 | |
4573 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4574 for new locations of kpathsea objects. | |
4575 Delete kpathsea targets. | |
4576 | |
4577 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4578 | |
4579 * kpse.cc: New file. | |
4580 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4581 | |
4582 * kpse.c: New file. | |
4583 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4584 | |
4585 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4586 * Makefile.in (INCLUDES): Add them to the list. | |
4587 | |
4588 * oct-kpse.h: Delete. | |
4589 * Makefile.in (INCLUDES): Delete it from the list. | |
4590 | |
4374 | 4591 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4592 | |
4593 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4594 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4595 Likewise. | |
4596 From Quentin H. Spencer <qspencer@ieee.org>. | |
4597 | |
4365 | 4598 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4599 | |
4600 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4601 | |
4349 | 4602 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4603 | |
4352 | 4604 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4605 without placement delete. | |
4606 | |
4349 | 4607 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4608 imaginary parts. | |
4609 | |
4610 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4611 | |
5095 | 4612 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4613 |
4614 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4615 Use Lapack instead of Linpack. | |
5315 | 4616 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4617 ComplexMatrix::solve): Likewise. |
4618 | |
4619 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4620 calc_cond. If 0, skip condition number calculation. | |
4621 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4622 Likewise. | |
4623 | |
4624 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4625 * dbleLU.cc (LU::LU): Likewise. | |
4626 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4627 | |
4628 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4629 | |
4630 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4631 | |
4323 | 4632 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4633 | |
4634 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4635 Additional compatibility fix. | |
4636 | |
4637 2003-02-13 Arno Klaassen <arno@scito.com> | |
4638 | |
4639 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4640 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4641 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4642 | |
4322 | 4643 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4644 | |
4645 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4646 Compatibility fix. | |
4647 | |
4316 | 4648 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4649 | |
4650 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4651 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4652 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4653 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4654 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4655 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4656 | |
4657 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4658 with make_unique and xelem. | |
4659 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4660 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4661 ComplexMatrix::extract, ComplexMatrix::row, | |
4662 ComplexMatrix::column): Likewise. | |
4663 * dColVector.cc (ColumnVector::insert): Likewise. | |
4664 * dRowVector.cc (RowVector::insert): Likewise. | |
4665 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4666 Matrix::row, Matrix::column): Likewise. | |
4667 | |
4313 | 4668 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4669 | |
4670 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4671 | |
4309 | 4672 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4673 | |
4674 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4675 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4676 * CMatrix.h, dMatrix.h: Provide decls. | |
4677 | |
4307 | 4678 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4679 | |
4680 * oct-rand.h, oct-rand.cc: New files. | |
4681 * Makefile.in: Add them to the appropriate lists. | |
4682 | |
4306 | 4683 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4684 | |
4685 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4686 | |
4299 | 4687 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4688 | |
4689 * oct-syscalls.cc: Include signal.h. | |
4690 | |
4294 | 4691 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4692 | |
4693 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4694 * oct-syscalls.h: Provide decl. | |
4695 | |
4696 | |
4293 | 4697 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4698 | |
4699 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4700 there is nothing to read. | |
4701 | |
4290 | 4702 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4703 | |
4704 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4705 | |
4286 | 4706 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4707 | |
4288 | 4708 * getopt.h: Update to version from kpathsearch, so we will install |
4709 the version that we are using. | |
4710 | |
4711 * getopt.c, getopt1.c: Delete. | |
4712 (INCLUDES): Delete them from the list. We'll get these files from | |
4713 kpathsearch. | |
4714 | |
4286 | 4715 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4716 ../kpathsea/STATIC/*.o. | |
4717 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4718 | |
4270 | 4719 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4720 | |
4282 | 4721 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4722 unreachable code. | |
4723 | |
4279 | 4724 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4725 to correspond to placement new operator. | |
4726 | |
4278 | 4727 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4728 (DET::value_will_underflow): Likewise. | |
4729 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
4730 (ComplexDET::value_will_underflow): Likewise. | |
4731 | |
4276 | 4732 * Makefile.in (distclean): Also remove stamp-prereq. |
4733 | |
4306 | 4734 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
4735 RHS and index are empty matrices, don't do anything. | |
4270 | 4736 |
4242 | 4737 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4738 | |
4739 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
4740 delete_c_names): New helper functions. | |
4741 (dir_path::find_first_of): New function. | |
4742 (dir_path::find_all_first_of): Likewise. | |
4743 * pathsearch.h: Provide decls. | |
4744 | |
4745 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
4746 (octave_kpse_all_path_find_first_of): Likewise. | |
4747 * oct-kpse.h: Provide decls. | |
4748 | |
4231 | 4749 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4750 | |
4751 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
4752 * ODESSA-opts.in: Likewise. | |
4753 | |
4754 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
4755 * LSODE-opts.in: Likewise. | |
4756 | |
4229 | 4757 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4758 | |
4230 | 4759 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
4760 in all constructors. | |
4761 | |
4229 | 4762 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
4763 (LINK_DEPS): Not here. | |
4764 | |
4219 | 4765 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4766 | |
4220 | 4767 * str-vec.cc (string_vector::compare): New static member function. |
4768 * str-vec.h: Provide decl. | |
4769 (string_vector::sort): Use it. | |
4770 (str_vec_compare): Delete static function. | |
4771 | |
4219 | 4772 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
4773 a placement operator new. | |
4774 | |
4209 | 4775 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4776 | |
4210 | 4777 * Matrix.h: Include mx-ops.h too. |
4209 | 4778 * mx-ops.h: New file. |
4779 | |
4192 | 4780 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4781 | |
4782 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
4783 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
4784 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
4785 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
4786 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
4787 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
4788 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
4789 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
4790 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
4791 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
4792 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
4793 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
4794 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
4795 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
4796 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
4797 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
4798 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
4799 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
4800 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
4801 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
4802 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
4803 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
4804 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
4805 | |
4184 | 4806 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4807 | |
4808 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
4809 From Remy Bruno <remy.bruno@libertysurf.fr> | |
4810 | |
4180 | 4811 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4812 | |
4813 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
4814 fortran code that should run fast enough that it is not worth all | |
4815 the setup costs of F77_XFCN. | |
4816 | |
4817 * Quad.cc (user_function): Surround body of function with | |
4818 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
4819 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
4820 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
4821 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
4822 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
4823 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
4824 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
4825 | |
4164 | 4826 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4827 | |
4828 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
4829 of ! defined (linux). | |
4830 | |
5095 | 4831 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 4832 |
4833 * oct-shlib.cc (octave_dyld_shlib): New class. | |
4834 (make_shlib): Instantiate octave_dyld_shlib. | |
4835 | |
4152 | 4836 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4837 | |
4153 | 4838 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
4839 | |
4152 | 4840 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
4841 | |
4842 * Array.h: Include <cstddef> here. | |
4843 | |
4142 | 4844 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
4845 | |
4144 | 4846 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
4847 using them. Accept inequality contraint option of 0. Assign | |
4848 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
4849 abs_tol and rel_tol. | |
4850 | |
4143 | 4851 * cmd-edit.h (command_editor::filename_completion_desired): New |
4852 static function. | |
4853 (command_editor::do_filename_completion_desired): New virtual function. | |
4854 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
4855 * oct-rl-edit.h: Provide decl. | |
4856 | |
4142 | 4857 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
4858 avoid OS X linker bug. | |
4859 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
4860 | |
4139 | 4861 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4862 | |
4141 | 4863 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
4864 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
4865 solvers. | |
4866 * ODESSA.cc: Fix all callers. | |
4867 | |
4139 | 4868 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
4869 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
4870 sum(zeros(1,0)) returns 0, not [](1x0)). | |
4871 | |
4136 | 4872 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4873 | |
4874 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
4875 | |
4132 | 4876 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4877 | |
4133 | 4878 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
4879 (ddasrt_f): Combine loops. | |
4880 | |
4132 | 4881 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
4882 instead of empty vector if user termninates iteration. | |
4883 | |
4130 | 4884 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4885 | |
4886 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4887 octave_read_complex, octave_write_double, octave_write_complex): | |
4888 New functions. | |
4889 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
4890 Use octave_write_complex. | |
4891 (operator >> (std::istream&, const ComplexMatrix&)): | |
4892 Use octave_read_complex. | |
4893 * dMatrix.cc (operator << (std::ostream&, double)): | |
4894 Use octave_write_double. | |
4895 (operator >> (std::istream&, double)): Use octave_read_double. | |
4896 | |
4126 | 4897 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4898 | |
4899 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
4900 * oct-kpse.h: Delete decl. | |
4901 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
4902 ::octave_kpse_clear_dir_cache. | |
4903 | |
4123 | 4904 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4905 | |
4124 | 4906 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
4907 earlier than 3.0. | |
4908 | |
4123 | 4909 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
4910 (liboctave.$(SHLEXT)): Not here. | |
4911 | |
5095 | 4912 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 4913 |
4914 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
4915 | |
4108 | 4916 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4917 | |
4918 * Makefile.in (install-lib): Don't bother with versions for | |
4919 $(SHLBIN) files. | |
4920 | |
5095 | 4921 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 4922 |
4923 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
4924 | |
4102 | 4925 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4926 | |
4927 * lo-cieee.c: Move everything but lo_ieee_init here. | |
4928 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
4929 New functions. | |
4930 | |
4931 * Makefile.in (install): No need to use cd to create links. | |
4932 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
4933 | |
5095 | 4934 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 4935 |
4936 * Makefile.in: Merge liboctave with liboct-readline and | |
4937 liboct-pathsearch. | |
4938 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
4939 (libraries): Depend on versioned library. | |
4940 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
4941 build unversioned library, symbolic link adds version info. | |
4942 (install, uninstall): Handle link and load forms of the library | |
4943 separately. | |
4944 | |
4101 | 4945 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4946 | |
4947 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
4948 __CYGWIN__. | |
4949 | |
4950 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
4951 file_ops::dir_sep_chars): New static functions to replace | |
4952 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
4953 | |
4954 * oct-env.cc (octave_env::do_set_program_name): | |
4955 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
4956 (octave_env::do_base_pathname): Likewise. | |
4957 (octave_env::do_make_absolute): Likewise. | |
4958 | |
4959 * oct-env.cc (octave_env::do_make_absolute): | |
4960 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
4961 (octave_env::do_get_home_directory): Likewise. | |
4962 | |
4963 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
4964 that information here too. | |
4965 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
4966 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
4967 | |
4968 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
4969 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
4970 | |
4097 | 4971 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4972 | |
4973 * oct-env.h (octave_env::current_directory): Now mutable. | |
4974 (octave_env:do_getcwd): Now const. | |
4975 | |
4976 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
4977 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
4978 OCTAVE_CURRENT_DIR_STR): New macros. | |
4979 * oct-env.cc (is_dir_sep): Delete. | |
4980 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
4981 (octave_env::do_set_program_name): Likewise. | |
4982 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
4983 instead of checking for '/'. | |
4984 (octave_env::pathname_backup): Likewise. | |
4985 (octave_env::do_absolute_pathname): Likewise. | |
4986 (octave_env::do_make_absolute): Likewise. | |
4987 If dot_path is empty, use getcwd to set current_dir. | |
4988 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
4989 instead of "/". | |
4990 | |
5095 | 4991 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 4992 |
4993 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
4994 | |
5095 | 4995 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 4996 |
4997 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
4998 absolute path names under MinGW as well. | |
4999 | |
5000 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5001 | |
5002 * oct-env.cc: Include <cctype> too. | |
5003 | |
4087 | 5004 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5005 | |
5006 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5007 filenames. | |
5008 (octave_env::do_make_absolute): Check for absolute name with | |
5009 do_absolute_path. | |
4088 | 5010 (octave_env::do_chdir): Likewise. |
5011 (is_dir_sep): New function. | |
4087 | 5012 |
5095 | 5013 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5014 |
4086 | 5015 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5016 systems. | |
4085 | 5017 |
4083 | 5018 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5019 | |
5020 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5021 | |
4080 | 5022 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5023 | |
4081 | 5024 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5025 | |
4080 | 5026 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5027 | |
5095 | 5028 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5029 |
5030 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5031 gr_gid too. | |
5032 | |
4072 | 5033 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5034 | |
4074 | 5035 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5036 lo_ieee_* functions. | |
4072 | 5037 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5038 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5039 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5040 * lo-cieee.c: New file. |
4074 | 5041 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5042 * lo-ieee.h: Now all extern "C". |
4074 | 5043 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5044 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5045 | |
4072 | 5046 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5047 Now extern. | |
5048 | |
4066 | 5049 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5050 | |
5051 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5052 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5053 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5054 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5055 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5056 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5057 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5058 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5059 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5060 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5061 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5062 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5063 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5064 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5065 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5066 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5067 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5068 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5069 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5070 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5071 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5072 oct-alloc.cc: | |
5073 If __GNUG__, use pragma interface/implementation. Allow this to | |
5074 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5075 | |
5095 | 5076 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5077 |
4066 | 5078 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5079 system readlink function is not available. | |
5080 | |
4065 | 5081 * lo-mappers.cc (xerf, xerfc): Delete. |
5082 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5083 | |
4064 | 5084 * lo-mappers.cc: Remove unused #define M_PI. |
5085 * lo-specfun.cc: Add #define M_PI if needed. | |
5086 | |
4062 | 5087 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5088 | |
5089 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5090 that geteuid doesn't exist. | |
5091 | |
5092 * LP.h: Rename LP class to octave_LP. | |
5093 LPsolve.h: Change all uses. | |
5094 | |
5095 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5096 incorrect token-pasting op. | |
5097 | |
5098 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5099 define lstat. | |
5100 | |
4061 | 5101 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5102 | |
5103 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5104 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5105 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5106 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5107 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5108 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5109 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5110 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5111 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5112 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5113 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5114 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5115 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5116 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5117 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5118 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5119 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5120 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5121 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5122 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5123 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5124 oct-alloc.cc: | |
5125 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5126 to decide whether to use the interface/implementation pragmas. | |
5127 | |
4058 | 5128 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5129 | |
5130 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5131 | |
4055 | 5132 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5133 | |
5134 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5135 qualified names. | |
5136 | |
4051 | 5137 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5138 | |
4054 | 5139 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5140 ArrayN.cc: Add typename where needed. | |
4053 | 5141 |
4051 | 5142 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5143 strstream classes directly. | |
5144 * DASRT.cc: Likewise. | |
5145 * DASSL.cc: Likewise. | |
5146 * LSODE.cc: Likewise. | |
5147 * ODESSA.cc: Likewise. | |
5148 | |
5149 * cmd-hist.cc: Don't include <strstream>. | |
5150 * oct-shlib.cc: Likewise. | |
5151 | |
5152 * lo-sstream.h: New file. | |
5153 | |
4049 | 5154 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5155 | |
5156 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5157 New data members. | |
5158 (LSODE::sanity_checked): Delete unused data member. | |
5159 | |
5160 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5161 prel_tol, pinfo, piwork, prwork): New data members. | |
5162 * DASSL.h (DASSL): Likewise. | |
5163 | |
5164 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5165 | |
5166 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5167 initialization, changes in options, etc. | |
5168 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5169 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5170 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5171 | |
4047 | 5172 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5173 | |
4049 | 5174 * DAEFunc.h (DAEFunc::reset): New data member. |
5175 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5176 | |
5177 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5178 (base_diff_eqn::clear_stop_time): Likewise. | |
5179 | |
4047 | 5180 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5181 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5182 | |
5095 | 5183 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5184 |
5185 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5186 * DASRT-opts.in, DASRT.h: Likewise. | |
5187 * DASSL-opts.in, DASSL.h: Likewise. | |
5188 * LSODE-opts.in, LSODE.h: Likewise. | |
5189 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5190 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5191 | |
4038 | 5192 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5193 | |
4042 | 5194 * LSODE.cc (LSODE::error_message): Also return current T on |
5195 failures when that makes sense. | |
4043 | 5196 * DASSL.cc (DASSL::error_message): Likewise. |
5197 * DASRT.cc (DASRT::error_message): Likewise. | |
5198 * DASPK.cc (DASPK::error_message): Likewise. | |
5199 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5200 |
4038 | 5201 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5202 $(LIBKPATHSEA) here. | |
5203 | |
4025 | 5204 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5205 | |
5206 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5207 (lo_ieee_is_NaN_or_NA): New function. | |
5208 (octave_NA): New global value. | |
5209 (octave_ieee_init): Initialize it. | |
5210 * lo-mappers.cc (octave_is_NA): New function. | |
5211 (octave_is_NaN_or_NA): New function. | |
5212 (xisnan): Return false if NaN looks like a missing value. | |
5213 (xisnan (const Complex&)): Use xisnan here. | |
5214 | |
4015 | 5215 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5216 | |
4017 | 5217 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5218 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5219 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5220 Default value for dim is -1, not 0. | |
5221 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5222 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5223 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5224 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5225 | |
4015 | 5226 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5227 New macros. | |
5228 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5229 MX_BASE_REDUCTION_OP. | |
5230 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5231 | |
4014 | 5232 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5233 | |
4015 | 5234 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5235 Return boolMatrix, not Matrix. | |
5236 | |
5237 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5238 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5239 (Matrix::all): Replace guts with MX_ALL_OP. | |
5240 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5241 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5242 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5243 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5244 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5245 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5246 | |
5247 * dMatrix.h (Matrix::any): New arg, dim. | |
5248 (Matrix::all): Likewise. | |
5249 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5250 (ComplexMatrix::all): Likewise. | |
5251 * boolMatrix.h (boolMatrix::any): Likewise. | |
5252 (boolMatrix::all): Likewise. | |
5253 * chMatrix.h (charMatrix::any): Likewise. | |
5254 (charMatrix::all): Likewise. | |
5255 | |
4014 | 5256 * Makefile.in: Use $@-t instead of $@.t. |
5257 | |
4004 | 5258 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5259 | |
5260 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5261 Use it in matrix versions to avoid spewing multiple errors. | |
5262 Call xgammainc instead of dgamit. | |
5263 | |
3998 | 5264 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5265 | |
5266 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5267 Get rows and columns right in loop. | |
5268 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5269 | |
5270 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5271 | |
5272 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5273 * DASRT.cc (DASRT::integrate): Likewise. | |
5274 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5275 | |
5276 * Quad.cc: Don't pass tolerances in constructors. | |
5277 | |
5278 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5279 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5280 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5281 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5282 from corresponding .in files. | |
5283 * LSODE.h, Quad.h: Replace options class definitions with included | |
5284 file. | |
5285 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5286 create OPTS_INC files from OPTS_INC_SRC files. | |
5287 (stamp-prereq): New target. | |
5288 (libraries): Depend on stamp-prereq. | |
5289 Include stamp-prereq along with $(MAKEDEPS). | |
5290 | |
3997 | 5291 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5292 | |
5293 * base-de.h (base_diff_eqn::istate): New data member. | |
5294 (base_diff_eqn::integration_state): New member function. | |
5295 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5296 data members and functions. | |
5297 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5298 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5299 | |
3990 | 5300 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5301 | |
3995 | 5302 * base-de.h (base_diff_eqn::stop_time, |
5303 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5304 base_diff_eqn::integration_error): New data members. | |
5305 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5306 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5307 base_diff_eqn::error_message): New member functions. | |
5308 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5309 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5310 members and functions. | |
5311 | |
3992 | 5312 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5313 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5314 (DASRT::integrate): Don't forget to set nn. |
3992 | 5315 |
3991 | 5316 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5317 * DASSL.cc (ddassl_j): Make it work. | |
5318 * DASPK.cc (ddaspk_j): Likewise. | |
5319 | |
3990 | 5320 * DAE.cc: Delete. |
5321 | |
5322 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5323 solving with root finding. | |
5324 * Makefile.in: Add them to the appropriate lists. | |
5325 | |
5326 * base-dae.h: New file. | |
5327 * Makefile.in (INCLUDES): Add it to the list. | |
5328 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5329 | |
3984 | 5330 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5331 | |
5332 * ODE.h: Move integrate and do_integrate method declarations and | |
5333 definitions here. | |
5334 * base-de.h: From here. | |
5335 | |
5336 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5337 * Makefile.in: Add them to the appropriate lists. | |
5338 (LIBOCTAVE_CXX_SOURCES): | |
5339 | |
3971 | 5340 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5341 | |
5342 * NLEqn.cc (NLEqn::error_message): New function. | |
5343 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5344 | |
3970 | 5345 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5346 | |
5347 * lo-utils.cc (octave_fgetl): New function. | |
5348 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5349 | |
3959 | 5350 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5351 | |
5352 * LSODE.cc (LSODE::error_message): New function. | |
5353 * LSODE.h: Provide decl. | |
5354 (LSODE::integration_state): New function. | |
5355 (LSODE::integration_ok): New function. | |
5356 | |
3952 | 5357 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5358 | |
3955 | 5359 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5360 (LSODE_options::set_integration_method, | |
5361 LSODE_options::integration_method): New functions. | |
3954 | 5362 |
3952 | 5363 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5364 Change all uses. | |
5365 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5366 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5367 New function. | |
5368 | |
5369 * Array.h (Array::fortran_vec): New const version. | |
5370 | |
3951 | 5371 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5372 | |
5373 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5374 (gnu_readline::history_search_forward): Likewise. | |
5375 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5376 to extern "C" functions to octave_rl_ad_defun. | |
5377 | |
5095 | 5378 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5379 |
5380 * DASPK.cc (ddaspk_psol): Return value. | |
5381 * oct-rl-edit.c: Use /* ... */ to comment. | |
5382 | |
3945 | 5383 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5384 | |
5385 * DASSL.h (DASSL_options::init): Undo previous change. | |
5386 (DASSL_options::set_absolute_tolerance): Likewise. | |
5387 * LSODE.h (LSODE_options::init): Likewise. | |
5388 (LSODE_options::set_absolute_tolerance): Likewise. | |
5389 | |
5390 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5391 sqrt(eps), not eps^2. | |
5392 DASPK_options::set_absolute_tolerance): Likewise. | |
5393 | |
5095 | 5394 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5395 |
5396 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5397 object. | |
5398 | |
3933 | 5399 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5400 | |
5401 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5402 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5403 (octave_rl_set_basic_word_break_characters, | |
5404 octave_rl_set_completer_word_break_characters): New functions. | |
5405 * oct-rl-edit.h: Provide decls. | |
5406 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5407 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5408 (command_editor::set_basic_quote_characters, | |
5409 command_editor::set_completion_append_character): New static functions. | |
5410 * cmd-edit.h: Provide decls. | |
5411 (command_editor::do_set_basic_word_break_characters, | |
5412 command_editor::do_set_completer_word_break_characters): | |
5413 New virtual functions. | |
5414 | |
5415 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5416 (resize_fill_value): New static function. | |
5417 | |
5418 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5419 resize_fill_value. | |
5420 * Array2-idx.h (Array2<T>::index): Likewise. | |
5421 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5422 | |
5423 * Array2.cc (Array<T>::print_info): New function. | |
5424 * Array2.h: Provide decl. | |
5425 | |
5426 * Array.cc (Array<T>::print_info): New function. | |
5427 * Array.h: Provide decl. | |
5428 | |
3928 | 5429 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5430 | |
5431 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5432 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5433 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5434 | |
5435 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5436 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5437 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5438 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5439 | |
5095 | 5440 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5441 |
5442 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5443 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5444 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5445 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5446 | |
3919 | 5447 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5448 | |
5449 * DASSL.h (DASSL_options::init): Undo previous change. | |
5450 (DASSL_options::set_absolute_tolerance): Likewise. | |
5451 | |
3912 | 5452 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5453 | |
5454 * DASPK.h, DASPK.cc: New files. | |
5455 * Makefile.in: Add them to the appropriate lists. | |
5456 | |
3904 | 5457 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5458 | |
5459 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5460 Simplify indexing when one or both of the indices are empty. | |
5461 | |
3896 | 5462 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5463 | |
5464 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5465 (DASSL_options::set_absolute_tolerance): Likewise. | |
5466 * LSODE.h (LSODE_options::init): Likewise. | |
5467 (LSODE_options::set_absolute_tolerance): Likewise. | |
5468 | |
5095 | 5469 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5470 |
5471 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5472 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5473 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5474 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5475 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5476 * file-stat.h: Likewise. | |
5477 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5478 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5479 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5480 * strftime.c: Likewise. | |
5481 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5482 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5483 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5484 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5485 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5486 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5487 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5488 | |
5095 | 5489 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5490 |
5491 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5492 internally when the user requests it. | |
5493 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5494 * dbleQR.cc (QR::init): Ditto. | |
5495 * dbleQRP.cc (QRP::init): Ditto. | |
5496 | |
3874 | 5497 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5498 | |
5499 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5500 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5501 (octave_fftw::ifft2d): Likewise. | |
5502 | |
5095 | 5503 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5504 |
5505 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5506 | |
3867 | 5507 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5508 | |
5509 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5510 (LS_DO_WRITE): Likewise. | |
5511 | |
3864 | 5512 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5513 | |
5514 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5515 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5516 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5517 | |
5518 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5519 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5520 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5521 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5522 | |
5523 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5524 DIM == -1 now means no orientation for vector sums. | |
5525 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5526 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5527 | |
3858 | 5528 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5529 | |
5530 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5531 have zero elements. | |
5532 | |
3854 | 5533 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5534 | |
3857 | 5535 * Makefile.in: Split out readline and pathsearch functionality |
5536 into separate liboct-readline and liboct-pathsearch libraries. | |
5537 | |
3854 | 5538 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5539 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5540 to do nothing for this call to rl_clear_screen. | |
3854 | 5541 |
3849 | 5542 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5543 | |
5544 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5545 function. | |
5546 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5547 | |
3838 | 5548 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5549 | |
5550 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5551 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5552 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5553 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5554 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5555 | |
3836 | 5556 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5557 | |
5558 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5559 | |
5560 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5561 Array-b.cc: Instantiate three arg assign functions. | |
5562 | |
5563 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5564 New arg, resize_fill_value. | |
5565 * ArrayN.h: Provide declaration. | |
5566 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5567 three arg version. | |
5568 | |
5569 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5570 New arg, resize_fill_value. | |
5571 * Array3.h: Provide declaration. | |
5572 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5573 three arg version. | |
5574 | |
5575 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5576 New arg, resize_fill_value. | |
5577 * Array2.h: Provide declaration. | |
5578 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5579 three arg version. | |
5580 | |
5581 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5582 New arg, resize_fill_value. | |
5583 * Array.h: Provide declaration. | |
5584 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5585 three arg version. | |
5586 | |
3833 | 5587 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5588 | |
5589 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5590 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5591 to the empty string. | |
5592 | |
3832 | 5593 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5594 | |
5595 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5596 Don't check for rep != a.rep. | |
5597 | |
3827 | 5598 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5599 | |
5600 * oct-fftw.h, oct-fftw.cc: New files. | |
5601 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5602 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5603 ifourier2d}): Use fftw if available. | |
5604 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5605 Likewise. | |
5606 | |
3821 | 5607 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5608 | |
5609 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5610 (install-inc): Don't use mk-includedir-link. | |
5611 | |
3803 | 5612 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5613 | |
5614 * lo-cutils.c (octave_gethostname): New function. | |
5615 * lo-utils.h: Provide declaration. | |
5616 * oct-env.cc (octave_env::do_get_host_name): | |
5617 Call octave_gethostname, instead of gethostname. | |
5618 | |
5619 * lo-cutils.c (gethostname): Define here. | |
5620 * lo-sysdep.cc: Not here. | |
5621 | |
3786 | 5622 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5623 | |
5624 * lo-cutils.c: Don't declare strptime. | |
5625 (oct_strptime): Cast return type of strptime to char*. | |
5626 | |
3777 | 5627 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5628 | |
3779 | 5629 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5630 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5631 (octave_rl_read_init_file): Ditto. | |
5632 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5633 free_undo_list. | |
5634 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5635 completion_matches. | |
5636 (octave_rl_enable_paren_matching): New function. | |
5637 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5638 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5639 | |
3777 | 5640 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5641 tanh (const Complex&)): Declare and define if not | |
5642 CXX_ISO_COMPLIANT_LIBRARY. | |
5643 | |
3776 | 5644 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5645 | |
5646 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5647 CXX_ISO_COMPLIANT_LIBRARY. | |
5648 | |
3775 | 5649 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5650 | |
3776 | 5651 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5652 CXX_ISO_COMPLIANT_LIBRARY. | |
5653 | |
3775 | 5654 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5655 archive libraries containing templates. | |
5656 | |
5657 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5658 get_zero_len_size, all_colon_equiv): Inline. | |
5659 (ArrayN<T>::index): Rename idx to arr_idx. | |
5660 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5661 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5662 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5663 | |
5664 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5665 | |
5666 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5667 log10 (const Complex&)): Delete. | |
5668 | |
5669 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5670 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5671 sinh, sqrt, tan, and tanh. | |
5672 | |
3769 | 5673 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5674 | |
5675 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5676 Add std:: namespace qualifier as needed. | |
5677 | |
5678 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5679 Change all uses to match. | |
5680 | |
3767 | 5681 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5682 | |
5683 * lo-cutils.c: Don't delcare strptime. | |
5684 | |
3760 | 5685 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5686 | |
5687 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5688 Return correct size result for empty matrix case. | |
5689 | |
3757 | 5690 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5691 | |
5692 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5693 If args are equal in magnitude, return first arg instead of | |
5694 second. | |
5695 | |
3752 | 5696 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5697 | |
3755 | 5698 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5699 then try harder to compute correct number of elements. | |
3753 | 5700 |
3752 | 5701 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5702 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5703 | |
3750 | 5704 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5705 | |
3751 | 5706 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5707 Rename n_intervals to be n_elt. | |
5708 | |
3750 | 5709 * strptime.c: Surround everything after including config.h in |
5710 #ifndef HAVE_STRPTIME ... #endif. | |
5711 | |
3742 | 5712 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5713 | |
5714 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5715 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5716 | |
3741 | 5717 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * MArray-defs.h: Protect against multiple inclusion. | |
5720 | |
3739 | 5721 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5722 | |
5723 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5724 end of the list, to be compatible with previous versions of Octave. | |
5725 | |
3736 | 5726 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5727 | |
5728 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5729 since mktime is supposed to `normalize' the results for us. | |
5730 | |
3731 | 5731 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5732 | |
5733 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 5734 and vectors. Use xelem for faster access to elements when copying. |
3731 | 5735 |
3726 | 5736 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5737 | |
5738 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
5739 Correct indexing for operation across rows. | |
5740 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
5741 | |
3725 | 5742 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5743 | |
5744 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
5745 elements if arg is a colon. | |
5746 | |
5095 | 5747 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 5748 |
3795 | 5749 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 5750 (Matrix::cumsum (int) const): Likewise. |
5751 (Matrix::prod (int) const): Likewise. | |
5752 (Matrix::sum (int) const): Likewise. | |
5753 (Matrix::sumsq (int) const): Likewise. | |
5754 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
5755 (ComplexMatrix::cumsum (int) const): Likewise. | |
5756 (ComplexMatrix::prod (int) const): Likewise. | |
5757 (ComplexMatrix::sum (int) const): Likewise. | |
5758 (ComplexMatrix::sumsq (int) const): Likewise. | |
5759 | |
3722 | 5760 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5761 | |
5762 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
5763 size if Array<T>::index returns an empty array. | |
5764 | |
3710 | 5765 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5766 | |
5767 * file-ops.cc (file_ops::link, file_ops::symlink, | |
5768 file_ops::readlink): New functions. | |
5769 | |
3709 | 5770 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5771 | |
5772 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
5773 indexed, always return an object the same size as the index arg. | |
5774 | |
5775 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
5776 empty format. | |
5777 | |
3706 | 5778 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5779 | |
5780 * lo-cutils.c (oct_strptime): New function. | |
5781 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
5782 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
5783 | |
3702 | 5784 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5785 | |
3703 | 5786 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
5787 | |
3702 | 5788 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
5789 | |
3689 | 5790 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5791 | |
5792 * dMatrix.h (read_int): Provide declaration. | |
5793 | |
3688 | 5794 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
5795 | |
5796 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
5797 (write_doubles): Ditto. | |
5798 * data-conv.h: Ditto. | |
5799 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
5800 | |
3685 | 5801 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5802 | |
5803 * boolMatrix.h: Declare MM_CMP_OPS here. | |
5804 * boolMatrix.cc: Define them here. | |
5805 | |
3680 | 5806 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5807 | |
5808 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
5809 previously undefined and set size of x to size of bool index. | |
5810 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
5811 Allow z_len to be zero. | |
5812 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
5813 If frozen, don't assert that frozen_at_z_len == z_len. | |
5814 | |
3670 | 5815 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5816 | |
5817 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
5818 instead of rl_clear_screen. | |
5819 | |
3665 | 5820 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5821 | |
5822 * Array-d.cc: Instantiate ArrayN<double> here too. | |
5823 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
5824 * Makefile.in: Add them to the appropriate lists. | |
5825 | |
3657 | 5826 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5827 | |
5828 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
5829 | |
3635 | 5830 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5831 | |
5832 * lo-sysdep.h: octave_chdir returns int, not bool. | |
5833 | |
3615 | 5834 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5835 | |
5836 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
5837 before rebuilding. | |
5838 | |
5095 | 5839 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 5840 |
5261 | 5841 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 5842 (libraries): Depend only on library targets, not archive members. |
5843 | |
3613 | 5844 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5845 | |
5846 * Makefile.in: (objects): New target. | |
5847 | |
5848 * lo-cutils.c: New file. | |
5849 * Makefile.in (SOURCES): Add it to the list. | |
5850 * lo-utils.h: Declare octave_qsort here. | |
5851 * Array.h (Array::qsort): Use it here. | |
5852 | |
3607 | 5853 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5854 | |
5855 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
5856 | |
3598 | 5857 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5858 | |
5859 * oct-rl-hist.c (octave_history_list): Do something when not | |
5860 printing line numbers. Fix reallocation of retval. | |
5861 | |
3597 | 5862 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5863 | |
5864 * Makefile.in (install-inc): Install files in | |
5865 $(octincludedir)/octave. | |
5866 (uninstall): Remove them from the correct directory too. | |
5867 | |
5868 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
5869 they are not already defined. | |
5870 | |
3588 | 5871 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5872 | |
5873 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
5874 Delete declarations and definitions of mixed-type vector-vector ops. | |
5875 | |
3585 | 5876 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5877 | |
5878 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
5879 matrix and vector objects. | |
5880 | |
5881 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
5882 return type from second arg type. | |
5883 (MDM_BIN_OP): Likewise, for first arg type. | |
5884 | |
5885 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5886 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
5887 | |
5888 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
5889 request ColumnVector to ComplexColumnVector, and Matrix to | |
5890 ComplexMatrix conversions. | |
5891 | |
5892 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
5893 initial value using ComplexMatrix constructor. | |
5894 | |
5895 * CColVector.cc (product, quotient, | |
5896 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
5897 Fix type of returned value. | |
5898 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
5899 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
5900 | |
5901 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
5902 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
5903 dRowVector.h: Declare some constructors explicit, to disallow | |
5904 potentially problematic automatic type conversions. | |
5905 | |
3580 | 5906 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5907 | |
3582 | 5908 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
5909 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
5910 More new files. | |
5911 * Makefile.in: Add them to the appropriate lists. | |
5912 | |
5913 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
5914 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
5915 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
5916 vx-s-crv.cc:, New files. | |
5917 * Makefile.in: Add them to the appropriate lists. | |
5918 | |
5919 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
5920 Delete scalar by vector and vector by scalar binary ops. | |
5921 | |
3580 | 5922 * MArray-defs.h: More new macros to handle MDiagArray operators. |
5923 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
5924 | |
3573 | 5925 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5926 | |
3578 | 5927 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
5928 rl_event_hook before casting to void **. | |
5929 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
5930 | |
3574 | 5931 * MArray-defs.h: Many new macros to make declaration and |
5932 definition of operators more consistent. | |
5933 | |
5934 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
5935 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 5936 |
3569 | 5937 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5938 | |
3572 | 5939 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
5940 (Matrix::ifourier2d): Likewise. | |
5941 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
5942 (ComplexMatrix::ifourier2d): Likewise. | |
5943 | |
3569 | 5944 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
5945 | |
3504 | 5946 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5947 | |
3519 | 5948 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
5949 readline library. | |
5950 * Makefile.in: Add them to the appropriate lists. | |
5951 | |
5952 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
5953 readline history library. | |
5954 * Makefile.in: Add them to the appropriate lists. | |
5955 | |
3517 | 5956 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
5957 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 5958 (write_doubles): Likewise. |
5959 (read_doubles): Likewise. | |
3517 | 5960 |
3516 | 5961 * oct-env.cc (octave_env::do_polite_directory_format): |
5962 Use operator== and substr method to do limited-length string | |
5963 comparison. | |
5964 | |
3513 | 5965 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 5966 |
3511 | 5967 * Quad.h: Use do_integrate as name of pure virtual function. |
5968 | |
3508 | 5969 * base-de.h: Use tt instead of t as arg names. |
3511 | 5970 Add method with tcrit arg. |
5971 | |
3509 | 5972 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 5973 |
3507 | 5974 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
5975 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
5976 * Quad.cc (quad_fcn_ptr): Ditto. | |
5977 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
5978 | |
3505 | 5979 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 5980 * Makefile.in: Add them to the appropriate lists. |
3505 | 5981 |
5982 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 5983 * Makefile.in: Add them to the appropriate lists. |
3505 | 5984 |
3504 | 5985 * dMatrix.cc (write_int, read_int): No longer declared static. |
5986 | |
5987 * CDiagMatrix.h: Delete decls for friend operators that are | |
5988 handled by MDiagArray2 class. Move others outside class decl and | |
5989 strip friend status. | |
5990 * dDiagMatrix.h: Likewise. | |
5991 | |
5992 * MArray.h: Delete decls for friend operators inside class decl. | |
5993 * MArray2.h: Ditto. | |
5994 * MDiagArray2.h: Ditto. | |
5995 | |
5996 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
5997 necessary parameters. Don't allocate memory in the macro. Change | |
5998 all uses. | |
5999 | |
6000 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6001 * CMatrix.h (class ComplexMatrix): Ditto. | |
6002 | |
6003 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6004 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6005 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6006 avoid type conflicts. Change all uses. | |
6007 | |
6008 * strptime.c (__mon_yday): Fix size of array decl. | |
6009 | |
6010 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6011 | |
6012 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6013 default value for second arg. | |
6014 | |
6015 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6016 references to ArrayRep. | |
6017 | |
3503 | 6018 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6019 | |
3504 | 6020 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6021 |
6022 * All source files: Include iostream, fstream, strstream, | |
6023 etc. as needed instead of using forward declarations for these | |
3504 | 6024 classes. Add std:: qualifier as needed. |
3503 | 6025 |
3498 | 6026 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6027 | |
6028 * oct-time.cc: Declare strptime extern "C". | |
6029 | |
3496 | 6030 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6031 | |
6032 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6033 | |
3488 | 6034 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6035 | |
3492 | 6036 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6037 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6038 to get total size to be allocated. | |
6039 | |
3488 | 6040 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6041 as bool, not int. | |
6042 | |
3482 | 6043 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6044 | |
6045 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6046 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6047 as A, even when do_fortran_indexing is not enabled. | |
6048 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6049 | |
3473 | 6050 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6051 | |
3480 | 6052 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6053 function pointer as final arg. Passed function (if any) will be | |
6054 called for singularity errors. | |
6055 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6056 | |
6057 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6058 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6059 | |
3475 | 6060 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6061 No longer bother with infinity or quiet_nan. | |
6062 | |
3473 | 6063 * Array2.cc (Array2<T>::get_size): New function. |
6064 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6065 | |
3472 | 6066 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6067 | |
6068 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6069 New function. | |
6070 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6071 Use it when indexing with one arg instead of faking a second one. | |
6072 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6073 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6074 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6075 rows or columns. | |
6076 | |
6077 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6078 vector that is all true values with a length equal to n as colon | |
6079 equivalent. | |
6080 | |
3470 | 6081 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6082 | |
6083 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6084 | |
5095 | 6085 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6086 |
6087 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6088 operations directly in step 2 and reverse step 2. | |
6089 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6090 operations directly in step 2 and reverse step 2. | |
6091 | |
3465 | 6092 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6093 | |
6094 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6095 | |
6096 * strptime.c: New file, from glibc 2.1.2. | |
6097 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6098 | |
3419 | 6099 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6100 | |
6101 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6102 | |
3415 | 6103 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6104 | |
6105 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6106 NULL directory list returned from kpse_element_dirs | |
6107 | |
3375 | 6108 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6109 | |
6110 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6111 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6112 directly, instead of calling ZGESV. | |
6113 | |
3358 | 6114 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6115 | |
6116 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6117 (string_to_data_type): Use it to improve lookup of data types. | |
6118 | |
3354 | 6119 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6120 | |
6121 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6122 * Array2.h (is_symmetric): Delete declaration. | |
6123 | |
3347 | 6124 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6125 | |
6126 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6127 | |
3344 | 6128 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6129 | |
6130 * oct-time.cc (Fstrftime): Undo previous change. | |
6131 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6132 | |
3334 | 6133 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6134 | |
3336 | 6135 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6136 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6137 | |
3334 | 6138 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6139 Don't forget to pass length of third string argument to dgeesx. | |
6140 | |
6141 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6142 of third string argument to zgeesx. | |
6143 | |
3333 | 6144 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6145 | |
6146 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6147 On errors, simply return `T ()'. | |
6148 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6149 | |
5095 | 6150 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6151 |
6152 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6153 AEPBALANCE class. | |
6154 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6155 | |
3325 | 6156 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6157 | |
6158 * oct-shlib.cc, oct-shlib.h: New files. | |
6159 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6160 | |
3322 | 6161 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6162 | |
6163 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6164 * dRowVector.cc (linspace): Ditto. | |
6165 | |
6166 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6167 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6168 | |
3312 | 6169 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6170 | |
6171 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6172 to evaluate the Jacobian, set info(4), not iwork(4). | |
6173 Set rwork(1) to the maximum step size, not rwork(2). | |
6174 | |
3290 | 6175 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6176 | |
6177 * oct-time.cc: Include <climits>. | |
6178 | |
3281 | 6179 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6180 | |
6181 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6182 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6183 (gnu_readline::do_resize_terminal): New function. | |
6184 | |
3268 | 6185 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6186 | |
6187 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6188 * lo-ieee.c: Likewise. | |
6189 Delete extern "C" declarations for infinity and quiet_nan. | |
6190 | |
3262 | 6191 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6192 | |
3263 | 6193 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6194 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6195 `inline', not `static inline'. | |
6196 | |
3262 | 6197 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6198 then cast to const int * to compare. | |
6199 | |
3257 | 6200 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6201 | |
6202 * DAEFunc.h: Remove useless preprocessor conditional. | |
6203 | |
3255 | 6204 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6205 | |
3257 | 6206 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6207 Use octave_time object instead of time_t. | |
6208 | |
6209 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6210 file_stat::fs_ctime): Now octave_time objects. | |
6211 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6212 Return octave_time objects. | |
6213 (file_stat::is_newer): Args are now octave_time objects instead of | |
6214 time_t. | |
6215 | |
3255 | 6216 * oct-time.h (octave_time::as_double): Delete. |
6217 (octave_time::operator double ()): New function. | |
6218 (octave_time::operator time_t ()): New function. | |
6219 (octave_time::ctime): New function. | |
6220 (octave_base_tm::strftime): Renamed from format_as_string. | |
6221 (octave_base_tm::asctime): New function. | |
6222 (operator == (const octave_time&, const octave_time&), | |
6223 operator != (const octave_time&, const octave_time&), | |
6224 operator < (const octave_time&, const octave_time&), | |
6225 operator <= (const octave_time&, const octave_time&), | |
6226 operator > (const octave_time&, const octave_time&), | |
6227 operator >= (const octave_time&, const octave_time&)): | |
6228 New comparison functions. | |
6229 | |
6230 * strftime.c: Move here from src directory. | |
6231 * Makefile.in (SOURCES): Add it to the list. | |
6232 | |
6233 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6234 | |
3253 | 6235 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6236 | |
6237 * oct-time.h, oct-time.cc: New files. | |
6238 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6239 | |
6240 * systime.h: Move here from src directory. | |
6241 * Makefile.in (INCLUDES): Add it to the list. | |
6242 | |
3248 | 6243 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6244 | |
6245 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6246 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6247 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6248 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6249 | |
6250 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6251 | |
3243 | 6252 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6253 | |
6254 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6255 | |
6256 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6257 | |
6258 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6259 column vector for A(:), for compatibility with Matlab. | |
6260 | |
6261 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6262 | |
6263 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6264 iopt when there are optional inputs in rwork or iwork. | |
6265 | |
3238 | 6266 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6267 | |
6268 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6269 creating static libs. | |
6270 | |
5095 | 6271 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6272 |
6273 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6274 and uint32 data types. | |
6275 | |
6276 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6277 | |
6278 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6279 for Linux. Remove old Linux-specific code. | |
6280 | |
3233 | 6281 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6282 | |
6283 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6284 Don't require lengths to be equal. | |
6285 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6286 ComplexRowVector& a)): Likewise | |
6287 | |
5095 | 6288 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6289 |
6290 * statdefs.h: Only define mode_t if not already defined. | |
6291 | |
5095 | 6292 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6293 |
6294 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6295 when appropriate. | |
6296 | |
6297 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6298 | |
6299 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6300 before calling rl_initialize. | |
6301 | |
3220 | 6302 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6303 | |
6304 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6305 Update Bessel function support to use library by D. E. Amos. | |
6306 | |
3219 | 6307 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6308 | |
6309 * cmd-edit.h (command_editor::readline): Add new variation that | |
6310 allows EOF information to be passed back to caller. | |
6311 | |
6312 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6313 amount of data to read is unspecified. | |
6314 | |
3215 | 6315 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6316 | |
3219 | 6317 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6318 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6319 | |
3215 | 6320 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6321 Add volatile qualifier to void* arg. | |
6322 Cast volatile void* arg to volatile char*. | |
6323 | |
6324 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6325 | |
6326 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6327 (command_editor::do_restore_event_hook): Ditto. | |
6328 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6329 (command_editor::restore_event_hook): Ditto. | |
6330 (gnu_readline::do_set_event_hook): Ditto. | |
6331 (gnu_readline::do_restore_event_hook): Ditto. | |
6332 (gnu_readline::previous_event_hook): New data member. | |
6333 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6334 | |
3206 | 6335 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6336 | |
6337 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6338 | |
6339 * Makefile.in (stmp-pic): New target. | |
6340 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6341 (clean): Remove stmp-pic | |
6342 | |
6343 * Makefile.in: Undo previous change to avoid optmization when | |
6344 compiling lo-ieee.cc. | |
6345 | |
6346 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6347 | |
6348 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6349 imaginary parts. | |
6350 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6351 | |
3203 | 6352 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6353 | |
6354 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6355 | |
3196 | 6356 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6357 | |
6358 * pathsearch.h (dir_path::default_path): New data member. | |
6359 * pathsearch.cc (dir_path::init): Use it. | |
6360 | |
6361 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6362 | |
3189 | 6363 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6364 | |
6365 * chMatrix.cc (charMatrix::extract): New function. | |
6366 (charMatrix::charMatrix (char c)): New constructor. | |
6367 | |
6368 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6369 | |
6370 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6371 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6372 (gnu_readline::do_read_init_file): Likewise. | |
6373 | |
3185 | 6374 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6375 | |
6376 * oct-env.cc (octave_env::do_get_home_directory): | |
6377 If HOME can't be found, set it to "/". | |
6378 (octave_env::do_get_user_name) | |
6379 If user name can't be found, set it to "unknown". | |
6380 (octave_env::do_get_host_name) | |
6381 If host name can't be found, set it to "unknown". | |
6382 | |
6383 * pathsearch.h (dir_path::rehash): New function. | |
6384 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6385 diretcory cache before doing initialization. | |
6386 | |
3180 | 6387 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6388 | |
3185 | 6389 * dMatrix.cc (Qzval): Delete. |
6390 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6391 * dMatrix.h (Qzval): Delete declaration. | |
6392 | |
6393 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6394 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6395 * mx-ext.h: Don't include dbleGEPBAL. | |
6396 | |
3180 | 6397 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6398 static_cast. | |
6399 | |
6400 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6401 | |
6402 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6403 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6404 | |
6405 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6406 | |
6407 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6408 HUGE_VAL and NAN. | |
6409 | |
6410 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6411 | |
6412 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6413 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6414 | |
6415 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6416 | |
6417 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6418 Alloctate space before attempting to use it. | |
6419 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6420 | |
5095 | 6421 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6422 |
6423 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6424 | |
6425 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6426 | |
6427 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6428 have the same size as the operands. | |
6429 | |
6430 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6431 | |
6432 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6433 call to ddassl, set integration_error to 1 before calling the | |
6434 error handler and returning. | |
6435 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6436 | |
3177 | 6437 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6438 | |
6439 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6440 do_fortran_indexing is set, A([]) = scalar. | |
6441 * Array-idx.h (assign): Allow A([]) = scalar. | |
6442 | |
3176 | 6443 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6444 | |
6445 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6446 if dm_nc == 0. | |
6447 | |
3174 | 6448 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6449 | |
6450 * pathsearch.h (dir_path::p_orig): New field. | |
6451 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6452 expansion on the original path here. | |
6453 (dir_path::find_all): Don't do anything if not initialized. | |
6454 | |
3164 | 6455 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6456 | |
6457 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6458 is not set. | |
6459 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6460 | |
6461 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6462 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6463 \int_0^x exp(-t) t^(a-1) dt. | |
6464 | |
6465 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6466 | |
6467 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6468 Array-s.cc: Change return types of all `assign' explicit | |
6469 instantiations to be int, not void, to match the template decl in | |
6470 Array.h. | |
6471 | |
3162 | 6472 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6473 | |
6474 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6475 | |
3156 | 6476 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6477 | |
6478 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6479 * lo-mappers.cc: Not here. | |
6480 | |
6481 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6482 * lo-mappers.h: Not here. | |
6483 | |
6484 * lo-specfun.h: Never declare gamma or lgamma. | |
6485 | |
3154 | 6486 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6487 | |
6488 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6489 empty matrix of any dimension. | |
6490 | |
3145 | 6491 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6492 | |
3147 | 6493 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6494 | |
3146 | 6495 * lo-specfun.cc: Don't include dbleBessel.h. |
6496 | |
6497 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6498 | |
3145 | 6499 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6500 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6501 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6502 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6503 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6504 | |
6505 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6506 Don't cast arg in call to swap_8_bytes. | |
6507 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6508 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6509 swap_4_bytes. | |
6510 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6511 | |
6512 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6513 * prog-args.cc (prog_args::getopt): Likewise. | |
6514 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6515 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6516 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6517 Likewise. | |
6518 | |
6519 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6520 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6521 | |
3141 | 6522 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6523 | |
6524 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6525 Use $(mk-libdir-link). | |
6526 | |
6527 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6528 not SAFE_STAT and SAFE_LSTAT. | |
6529 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6530 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6531 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6532 safe-lstat.h, and safe-lstat.cc. | |
6533 | |
3136 | 6534 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6535 | |
6536 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6537 | |
3130 | 6538 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6539 | |
6540 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6541 trace is negative. | |
6542 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6543 the real part of the trace is negative. | |
6544 | |
6545 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6546 | |
6547 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6548 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6549 | |
6550 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6551 to succeed. | |
6552 | |
3125 | 6553 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6554 | |
6555 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6556 (make_uniq): Likewise. | |
6557 | |
6558 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6559 | |
6560 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6561 | |
3119 | 6562 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6563 | |
3121 | 6564 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6565 | |
6566 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6567 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6568 | |
3121 | 6569 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6570 oct-math.h: Delete. | |
6571 * Makefile.in (SOURCES): Delete them from the list. | |
6572 | |
3112 | 6573 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6574 | |
6575 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6576 | |
5095 | 6577 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6578 |
6579 Changes to make support egcs snapshots that implement explicit | |
6580 specification of template functions according to CD2. | |
6581 | |
6582 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6583 template function specs for template friends. | |
6584 * MArray2.h: Likewise. | |
6585 * MDiagArray2.h: Likewise. | |
6586 | |
3095 | 6587 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6588 | |
6589 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6590 | |
3092 | 6591 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6592 | |
6593 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6594 to complex<double>(int) instead of complex<double>(double). | |
6595 | |
6596 * lo-mappers.cc (atanh): Ditto. | |
6597 | |
3079 | 6598 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6599 | |
6600 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6601 * idx-vector.h (idx_vector::sort): Ditto. | |
6602 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6603 trying to delete elements specified by the index vectors. | |
6604 | |
3075 | 6605 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6608 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6609 | |
3074 | 6610 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6611 | |
6612 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6613 | |
3069 | 6614 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6615 | |
6616 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6617 Call error handler if we can't find the current directory. | |
6618 | |
3068 | 6619 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6620 | |
3069 | 6621 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6622 (xfinite (double)): Ditto. | |
6623 | |
3068 | 6624 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6625 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6626 | |
3056 | 6627 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6628 | |
6629 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6630 compatible with Matlab. | |
6631 | |
3050 | 6632 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6633 | |
6634 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6635 single colon. | |
6636 | |
3040 | 6637 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6638 | |
3049 | 6639 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6640 (xgamma): Likewise, for calling xdgamma. | |
6641 | |
3042 | 6642 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6643 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6644 | |
3040 | 6645 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6646 to do better job expanding tildes. | |
6647 | |
6648 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6649 Use temporary variable to compute length. | |
6650 | |
3029 | 6651 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6652 | |
3034 | 6653 * Makefile.in: Make building of static library optional. |
3036 | 6654 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6655 |
3029 | 6656 * Makefile.in (stamp-picdir): Delete. |
6657 (pic): New target. Don't worry so much about creating pic | |
6658 directory only when it is really needed. | |
6659 (stamp-interp): Delete. | |
6660 (libraries): New target. Depend on shared library directly. | |
6661 | |
3024 | 6662 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6663 | |
6664 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6665 New static function. | |
6666 | |
3012 | 6667 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6668 | |
6669 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6670 | |
3004 | 6671 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6672 | |
6673 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6674 set_basic_quote_characters, to match new version of readline. | |
6675 | |
6676 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6677 for restoring terminal state through rl_deprep_term_function, now | |
6678 declared in readline.h | |
6679 (rl_deprep_terminal): Delete declaration. | |
6680 | |
2993 | 6681 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6682 | |
6683 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6684 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6685 | |
2968 | 6686 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6687 | |
6688 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6689 New static function. | |
6690 | |
2964 | 6691 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6692 | |
2966 | 6693 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6694 the vector is not sorted. | |
6695 | |
2964 | 6696 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6697 * dMatrix.cc (Matrix::operator !): Likewise | |
6698 | |
2941 | 6699 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6700 | |
6701 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6702 | |
6703 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6704 | |
6705 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6706 | |
2938 | 6707 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6708 | |
2941 | 6709 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6710 (install-inc): Use it. | |
6711 | |
2938 | 6712 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6713 Handle errors and missing functions consistently. | |
6714 | |
6715 * oct-group.h, oct-group.cc: New files. | |
6716 | |
6717 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6718 | |
6719 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6720 | |
2934 | 6721 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6722 | |
6723 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6724 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6725 | |
6726 * oct-passwd.h, oct-passwd.cc: New files. | |
6727 | |
2926 | 6728 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6729 | |
6730 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
6731 | |
6732 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
6733 (instance_ok ()): New function. | |
6734 | |
6735 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
6736 | |
6737 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
6738 | |
6739 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
6740 src/utils.h and src/utils.cc. | |
6741 (octave_fgets): New function, extracted from src/input.cc. | |
6742 | |
6743 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
6744 GNU readline, and allow Octave to work without GNU readline. | |
6745 | |
6746 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
6747 system-dependent functions. | |
6748 | |
6749 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
6750 | |
6751 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
6752 from file-ops.h and file-ops.cc and move here. | |
6753 | |
6754 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
6755 tilde_expand functions here from src/dirfns.cc. | |
6756 | |
6757 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6758 | |
6759 * pathlen.h: New file, from ../src. | |
6760 | |
2917 | 6761 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6762 | |
6763 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
6764 out-of-bounds indexing of the index array. | |
6765 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
6766 | |
2850 | 6767 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6768 | |
6769 * LSODE.h (x_step_limit): New field. | |
6770 (LSODE_options::init): Initialize it. | |
6771 (LSODE_options::copy): Copy it. | |
6772 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
6773 New functions. | |
6774 (LSODE::working_too_hard): Delete. | |
6775 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
6776 | |
2844 | 6777 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6778 | |
6779 * MArray-b.cc: Delete. | |
6780 * Makefile.in: Delete it from the lists. | |
6781 | |
6782 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
6783 MArray2, since most of the numeric ops don't really make sense. | |
6784 | |
2829 | 6785 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6786 | |
2832 | 6787 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
6788 | |
6789 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
6790 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
6791 | |
2830 | 6792 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
6793 idx_vector::freeze): Delete prefer_zero_one arg. | |
6794 * Array-idx.h, Array2-idx.h: Change all callers. | |
6795 | |
6796 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
6797 | |
2829 | 6798 * mx-op-defs.h: New file for operator definitions. |
6799 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
6800 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
6801 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
6802 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
6803 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
6804 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
6805 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
6806 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
6807 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
6808 mx-s-cm.cc, mx-s-dm.cc: | |
6809 New files for mixed-type operations. | |
6810 * Makefiles.in: Add them to the appropriate lists. | |
6811 | |
6812 * mx-inlines.cc: Add bool by bool EQ ops. | |
6813 | |
6814 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
6815 boolMatrix types. | |
6816 (idx_vector::maybe_convert_one_zero_to_idx, | |
6817 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
6818 Delete second arg, prefer_zero_one. Change all callers. | |
6819 | |
6820 * boolMatrix.h, boolMatrix.cc: New files. | |
6821 * mx-base.h: Include boolMatrix.h here. | |
6822 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
6823 | |
6824 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
6825 | |
6826 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
6827 operator-, operator*, product, and quotient functions. | |
6828 Add constructor for boolMatrix type. | |
6829 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
6830 product, and quotient functions. | |
6831 | |
6832 * CDiagMatrix.h: Delete friend declarations for operator+, | |
6833 operator-, and product functions. | |
6834 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
6835 | |
6836 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
6837 | |
2815 | 6838 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6839 | |
6840 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
6841 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
6842 (EIG::symmetric_init (const Matrix&)): New function. | |
6843 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
6844 | |
6845 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
6846 | |
6847 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6848 | |
6849 * Array2.cc (is_symmetric): New function. | |
6850 * Array2.h (is_square): New function. | |
6851 | |
2811 | 6852 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6853 | |
6854 * Makefile.in (install-strip): New target. | |
6855 | |
2804 | 6856 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6857 | |
6858 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6859 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
6860 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6861 dbleSVD.cc: Don't include mx-inlines.cc. | |
6862 | |
6863 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
6864 duplicate code. | |
6865 | |
2800 | 6866 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6867 | |
2804 | 6868 * dbleQR.h (QR): Delete extra comma at end of list. |
6869 | |
6870 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
6871 | |
6872 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
6873 | |
6874 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
6875 idx_vecotr_rep:: qualifiers. | |
6876 | |
6877 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
6878 | |
6879 * data-conv.h (save_type): Delete extra comma at end of list. | |
6880 | |
2800 | 6881 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
6882 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
6883 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
6884 old C-style `(T) val' casts. | |
6885 | |
2795 | 6886 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6887 | |
6888 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
6889 just breaking out of the innermost loop. | |
6890 * CMatrix.cc (operator >>): Likewise. | |
6891 | |
2779 | 6892 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 6893 |
6894 * Version 2.0.5 released. | |
6895 | |
2767 | 6896 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6897 | |
6898 * CmplxQR.cc (ComplexQR::init): New function. | |
6899 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
6900 * CmplxQRP.cc (ComplexQRP::init): New function. | |
6901 Get sizes right in all cases. | |
6902 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
6903 | |
6904 * dbleQR.cc (QR::init): New function. | |
6905 (QR::QR): Use it. Use initializer list too. | |
6906 * dbleQRP.cc (QRP::init): New function. | |
6907 Get sizes right in all cases. | |
6908 (QR::QRP): Use it. Use initializer list too. | |
6909 | |
2759 | 6910 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6911 | |
6912 * mach-info.cc (oct_mach_info::string_to_float_format): | |
6913 Recognize "vaxg", not "vax_g". | |
6914 | |
2713 | 6915 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6916 | |
2714 | 6917 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
6918 dimension in check for colon equivalent index. | |
6919 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
6920 index whose value is 0 is also colon eqivalent for n == 1. | |
6921 | |
2713 | 6922 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
6923 system-specific tests first. | |
6924 | |
2709 | 6925 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 6926 |
6927 * Version 2.0.4 released. | |
6928 | |
6929 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6930 | |
6931 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
6932 | |
2693 | 6933 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 6934 |
6935 * Version 2.0.3 released. | |
6936 | |
2686 | 6937 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6938 | |
6939 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
6940 | |
2673 | 6941 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
2676 | 6943 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
6944 (all): Don't depend on stamp-prereq or stamp-picdir. | |
6945 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
6946 (stamp-picdir): Silence noise about making pic. | |
6947 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
6948 | |
2673 | 6949 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
6950 Fix typo in last change. | |
6951 | |
6952 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
6953 Convert from friend (moved from dColVector.cc). | |
6954 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
6955 Likewise (moved from dMatrix.cc). | |
6956 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
6957 Likewise (moved from dRowVector.cc). | |
6958 | |
6959 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
6960 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
6961 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
6962 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
6963 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
6964 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
6965 | |
6966 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
6967 * dMatrix.cc (Matrix::apply): Likewise. | |
6968 * dRowVector.cc (RowVector::apply): Likewise. | |
6969 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
6970 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
6971 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
6972 | |
2668 | 6973 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6974 | |
6975 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
6976 | |
6977 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6978 | |
6979 * file-ops.cc (oct_unlink (const string&, string&)): | |
6980 New two-arg version. | |
6981 (oct_rmdir (const string&, string&)): New two-arg version. | |
6982 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
6983 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
6984 (oct_rename (const string&, const string&, string&)): | |
6985 New three-arg version. | |
6986 | |
2663 | 6987 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6988 | |
6989 * idx-vector.h (idx_vector::orig_empty): New function. | |
6990 | |
6991 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
6992 Don't always resize to [](0x0) if one of the indices is empty or | |
6993 zero. | |
6994 | |
2658 | 6995 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
6997 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
6998 Set line_in_file here too. | |
6999 (command_history::read_range): New arg, must_exist. | |
7000 | |
2651 | 7001 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7002 | |
7003 * f2c-main.c: Change C++-style comments to C-style comments. | |
7004 | |
2638 | 7005 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7006 | |
7007 * Makefile.in (install-inc): Create a relative symbolic link. | |
7008 | |
2634 | 7009 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7010 | |
7011 * Version 2.0.2 released. | |
7012 | |
2624 | 7013 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7014 | |
7015 * Makefile.in (bin-dist): New target. | |
7016 | |
2621 | 7017 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7020 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7021 | |
2613 | 7022 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7023 | |
7024 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7025 If the number of columns is zero, also set the number of rows to zero. | |
7026 (charMatrix::charMatrix (const char *)): Likewise. | |
7027 | |
2602 | 7028 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7029 | |
7030 * Version 2.0.1 released. | |
7031 | |
2601 | 7032 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7033 | |
7034 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7035 columns for resizing when the number of rows is specified but the | |
7036 number of columns is not. | |
7037 | |
2598 | 7038 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7039 | |
2599 | 7040 * Range.cc (operator -): New function. |
7041 | |
2598 | 7042 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7043 | |
2589 | 7044 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7045 | |
7046 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7047 know if the assignment conforms. | |
7048 | |
2583 | 7049 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7050 | |
7051 * Version 2.0 released. | |
7052 | |
2570 | 7053 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7054 | |
2575 | 7055 * Array2-idx.h (assign): If index is a colon, set number of |
7056 elements to the lhs dimension if the lhs dimension is greater than | |
7057 zero. Otherwise, set it to the rhs dimension. | |
7058 | |
7059 * Version 1.94. | |
7060 | |
2570 | 7061 * Array2-idx.h (assign): Test for rhs scalar case first. |
7062 If index is colon, set number of elements to lhs dimension, not | |
7063 rhs dimension. | |
7064 | |
2563 | 7065 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7066 | |
2566 | 7067 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7068 * sun-utils.cc: Delete. | |
7069 * f2c-main.c: New file | |
7070 | |
7071 * Makefile.in: Fix file name lists. | |
7072 | |
2563 | 7073 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7074 | |
2561 | 7075 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7076 | |
7077 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7078 Create result using Complex constructor, not multiplication. | |
7079 Order elements as they are returned from Eispack. | |
7080 | |
2559 | 7081 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7082 | |
2560 | 7083 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7084 Only include nan.h if SCO is defined. Define _IEEE before | |
7085 including it and undefine it afterward. | |
7086 [SCO] (isnan): Don't mistake Inf as NaN. | |
7087 | |
2559 | 7088 * Array-idx.h (assign): Only resize if assignment conforms. |
7089 | |
2551 | 7090 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7091 | |
7092 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7093 * lo-error.h: Delete (moved to libcruft/misc). | |
7094 | |
7095 * Version 1.93. | |
7096 | |
2546 | 7097 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7098 | |
2549 | 7099 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7100 be the same as they are in fnmatch.h. | |
7101 | |
2546 | 7102 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7103 | |
7104 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7105 (SOURCES): Delete f77-fcn.c. | |
7106 | |
2522 | 7107 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7108 | |
7109 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7110 | |
2512 | 7111 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
7113 * Version 1.92. | |
7114 | |
2508 | 7115 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7116 | |
2512 | 7117 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7118 lines that have only carriage return or newline. | |
7119 | |
2508 | 7120 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7121 | |
2500 | 7122 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7123 | |
7124 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7125 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7126 | |
2493 | 7127 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7128 | |
7129 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7130 from vectors of C strings. | |
7131 | |
7132 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7133 vector. | |
7134 (glob_match::match): Allow match string to be a string vector. | |
7135 (glob_match::glob): New function. | |
7136 | |
7137 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7138 | |
7139 * Array-b.cc: New file. | |
7140 * Makefile.in (TI_SRC): Add it to the list. | |
7141 | |
2492 | 7142 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7143 | |
7144 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7145 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7146 want the version from the build directory. (Maybe this should be | |
7147 done for all the include files, not just those that are | |
7148 auto-generated? Hmm.) | |
7149 | |
2481 | 7150 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7151 | |
2482 | 7152 * Version 1.91. |
7153 | |
2481 | 7154 * Array3.cc (Array3<T>::resize): Make it work. |
7155 | |
7156 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7157 | |
7158 * oct-alloc.h, oct-alloc.cc: New files. | |
7159 * Makefile.in: Add them to the lists. | |
7160 | |
7161 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7162 | |
7163 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7164 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7165 | |
2466 | 7166 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7167 | |
7168 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7169 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7170 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7171 underlying macro is not defined. | |
7172 | |
7173 * oct-math.h (lgamma, gamma): Delete declarations. | |
7174 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7175 Protect declarations with #ifdef HAVE_*. | |
7176 | |
2440 | 7177 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7178 | |
2452 | 7179 * Version 1.90. |
7180 | |
7181 * Makefile.in (DISTFILES): Add ChangeLog. | |
7182 | |
2444 | 7183 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7184 | |
7185 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7186 | |
2443 | 7187 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7188 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7189 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7190 |
2440 | 7191 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7192 since that is now accepatble syntax, even for built-in types. | |
7193 * Array2.h (T Array2<T>::checkelem): Likewise | |
7194 | |
2433 | 7195 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7196 | |
7197 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7198 message and return -1. | |
7199 | |
2428 | 7200 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7201 | |
2431 | 7202 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7203 cast them to const string * in the body of the function. | |
7204 | |
7205 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7206 string from buf. | |
7207 | |
2428 | 7208 * Array3.h (Array3::checkelem): Tag bogus return value with |
7209 GCC_ATTRIBUTE_UNUSED. | |
7210 * Array2.h (Array2::checkelem): Likewise. | |
7211 | |
2424 | 7212 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7213 | |
7214 * Quad.h (Quad): Define virtual destructor. | |
7215 | |
2408 | 7216 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7217 | |
7218 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7219 | |
2401 | 7220 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7221 | |
7222 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7223 and MAIN__ extern "C". | |
7224 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7225 | |
2391 | 7226 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7227 | |
7228 * MArray-misc.cc: New file. | |
7229 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7230 | |
7231 * mx-inlines.cc (equal): Return bool, not int. | |
7232 | |
7233 * idx-vector.h (idx_vector (double)): New constructor. | |
7234 | |
7235 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7236 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7237 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7238 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7239 CRowVector.cc: Logical operators return bool, not int. | |
7240 | |
7241 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7242 New function. | |
7243 | |
7244 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7245 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7246 Matrix::all_elements_are_inf_or_nan): New functions. | |
7247 | |
7248 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7249 | |
7250 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7251 for errors. Simplify macros by converting FCN to string for error | |
7252 messages. | |
7253 | |
7254 * Array-idx.h (Array<T>::index): New function. Don't call | |
7255 clear_index() here. | |
7256 (Array<T>::value): Call it, do call clear_index() here. | |
7257 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7258 one and two arg index functions. | |
7259 | |
7260 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7261 | |
7262 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7263 separate implementation file. | |
7264 | |
2354 | 7265 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7266 | |
2358 | 7267 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7268 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7269 | |
2356 | 7270 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7271 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7272 them uniq. | |
7273 | |
2354 | 7274 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7275 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7276 Rewrite. Also return index as a reference arg. | |
7277 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7278 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7279 Delete. | |
7280 | |
7281 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7282 Matrix::column_max, Matrix::column_min): | |
7283 Rewrite. Also return index as a reference arg. | |
7284 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7285 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7286 | |
7287 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7288 | |
7289 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7290 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7291 Matrix::column_min_loc, Matrix::column_max, | |
7292 Matrix::column_max_loc): Ignore leading NaNs. | |
7293 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7294 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7295 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7296 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7297 leading NaNs. | |
7298 | |
2352 | 7299 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7300 | |
7301 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7302 starting at n, not 0. | |
7303 | |
2349 | 7304 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7305 | |
7306 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7307 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7308 | |
7309 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7310 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7311 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7312 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7313 New constructors. | |
7314 | |
7315 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7316 New constructor. | |
7317 | |
2343 | 7318 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7319 | |
7320 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7321 derivative vectors are the same size. | |
2344 | 7322 * DASSL.cc (do_integrate): Likewise. |
2343 | 7323 |
2330 | 7324 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7325 | |
7326 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7327 iostreams and handler data format conversions. Delete old methods | |
7328 that used stdio. | |
7329 | |
7330 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7331 | |
7332 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7333 | |
7334 * mach-info.h: Rename from float-fmt.h. | |
7335 * mach-info.cc: Rename from float-fmt.cc. | |
7336 Handle machine information using a singlton class. | |
7337 * Makefile.in: Update appropriate lists. | |
7338 | |
7339 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7340 | |
7341 * Array-flags.cc: Provide definitions for the flags even if | |
7342 OCTAVE_SOURCE is not defined. | |
7343 | |
7344 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7345 operator(), not elem(). | |
7346 * Array3.h: Move indexing methods here from Array3.cc. | |
7347 | |
7348 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7349 | |
7350 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7351 | |
7352 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7353 INSTALL_DATA for shared libs. | |
7354 | |
7355 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7356 | |
7357 * Quad.cc: Include lo-error.h here too. | |
7358 | |
7359 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7360 | |
7361 * file-ops.h: Include sys/types.h here. | |
7362 | |
7363 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7364 | |
7365 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7366 | |
7367 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7368 elements in result. | |
7369 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7370 rows and columns in result. | |
7371 | |
7372 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7373 | |
7374 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7375 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7376 | |
7377 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7378 | |
7379 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7380 | |
7381 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7382 | |
7383 * Makefile.in (uninstall): Also delete shared library. | |
7384 Split install into install-libs and install-includes. | |
7385 (install-inc): If linkdir is a directory, leave it alone. | |
7386 | |
7387 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7388 | |
7389 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7390 | |
7391 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7392 * Array2-idx.h (assign): Likewise. | |
7393 | |
7394 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7395 | |
7396 * Array2.cc (Array2<T>::range_error): New functions. | |
7397 | |
7398 * Array.h (class Array<T>): elem() and operator() are now | |
7399 equivalent, and do bounds checking by default. | |
7400 * Array2.cc (class Array2<T>): Likewise. | |
7401 | |
7402 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7403 | |
7404 * Makefile.in (maintainer-clean, distclean): Also delete | |
7405 stamp-picdir, stamp-shared, and pic directory. | |
7406 (stamp-prereq): New target. | |
7407 | |
7408 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7409 | |
7410 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7411 New function. | |
7412 | |
7413 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7414 * Array.h (Array<T>::checkelem): Use them. | |
7415 | |
7416 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7417 elements too. | |
7418 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7419 | |
7420 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7421 | |
7422 * Makefile.in (distclean): Delete so_locations, which is created | |
7423 on DEC Alpha systems. | |
7424 | |
7425 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7426 | |
7427 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7428 already defined. | |
7429 | |
7430 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7431 | |
7432 * pathsearch.cc: Include config.h. | |
7433 | |
7434 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7435 | |
7436 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7437 allow M(I, J) = scalar if I or J is empty. | |
7438 | |
7439 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7440 and Array3-idx.h). | |
7441 | |
7442 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7443 | |
7444 * lo-error.h: Make comments C friendly. | |
7445 | |
7446 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7447 | |
7448 * Array2.h (make_unique): Move all indexing functions here. | |
7449 * Array2.cc: From here. | |
7450 | |
7451 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7452 whether operator() calls elem or checkelem. | |
7453 | |
7454 * Array.h (make_unique): New private function. | |
7455 Move all indexing functions here. | |
7456 * Array.cc: From here. | |
7457 | |
7458 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7459 it too. | |
7460 | |
7461 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7462 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7463 MArray-C.cc: Include config.h. | |
7464 | |
7465 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7466 Don't define HEAVYWEIGHT_INDEXING here. | |
7467 | |
7468 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7469 | |
7470 * base-lu.h, base-lu.cc: New files. | |
7471 * Makefile.in: Add them to the appropriate lists. | |
7472 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7473 | |
7474 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7475 | |
7476 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7477 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7478 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7479 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7480 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7481 | |
7482 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7483 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7484 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7485 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7486 Simplify using new macros. | |
7487 | |
7488 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7489 | |
7490 * Makefile.in (install): If $(includedir) ends in version string, | |
7491 make link to name that does not include version info. | |
7492 | |
7493 * lo-ieee.cc: Include <cmath> here. | |
7494 | |
7495 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7496 | |
7497 * lo-ieee.cc, lo-ieee.h: New files. | |
7498 * lo-mappers.cc, lo-mappers.h: New files. | |
7499 * lo-utils.cc, lo-utils.h: New files. | |
7500 * Makefile.in: Add them to the appropriate lists. | |
7501 | |
7502 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7503 | |
7504 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7505 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7506 | |
7507 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7508 float-fmt.cc: New files. | |
7509 * Makefile.in: Include them in the appropriate lists. | |
7510 | |
7511 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7512 | |
7513 * dMatrix.cc (Qzval): New function. | |
7514 | |
7515 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7516 | |
7517 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7518 char*. | |
7519 | |
7520 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7521 Use F77_XFCN to call Fortran subroutine. | |
7522 * dColVector.cc, CColVector.cc: Likewise. | |
7523 * dRowVector.cc, CRowVector.cc: Likewise. | |
7524 * NPSOL.h, NPSOL.cc: Likewise. | |
7525 * CmplxCHOL.cc: Likewise. | |
7526 * dbleCHOL.cc: Likewise. | |
7527 * CMatrix.cc: Likewise. | |
7528 * dMatrix.cc: Likewise. | |
7529 * QPSOL.cc: Likewise. | |
7530 * LSODE.cc: Likewise. | |
7531 | |
7532 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7533 | |
7534 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7535 | |
7536 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7537 workspace. Use F77_XFCN to call Fortran subroutine. | |
7538 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7539 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7540 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7541 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7542 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7543 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7544 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7545 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7546 * EIG.h, EIG.cc; Likewise. | |
7547 * CollocWt.cc: Likewise. | |
7548 * NLEqn.cc: Likewise. | |
7549 * Quad.cc: Likewise. | |
7550 | |
7551 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7552 | |
7553 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7554 Use F77_XFCN to call Fortran subroutine. | |
7555 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7556 * dbleQR.h, dbleQR.cc: Ditto. | |
7557 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7558 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7559 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7560 | |
7561 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7562 (struct DIR): delete forward declaration. | |
7563 (dir_entry::operator = (const dir_entry$)): Protect against | |
7564 copying same object. | |
7565 * dir-ops.cc: Cast dir appropriately. | |
7566 | |
7567 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7568 | |
7569 * lo-error.cc: Moved to libcruft/misc. | |
7570 * Makefile.in: Delete it from the list. | |
7571 | |
7572 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7573 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7574 | |
7575 * Array-flags.h: New file. | |
7576 * Array-idx.h: Include it here. | |
7577 * Makefile.in (MATRIX_INC): Add it to the list. | |
7578 | |
7579 * Array-flags.cc: Renamed from Array-ext.cc. | |
7580 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7581 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7582 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7583 (liboctave_rre_flag): Renamed from rre_flag. | |
7584 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7585 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7586 | |
7587 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7588 (stamp-shared): Use them here. | |
7589 | |
7590 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7591 | |
7592 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7593 argument value. | |
7594 | |
7595 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7596 | |
7597 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7598 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7599 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7600 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7601 Clean up constructors, assigment operator. | |
7602 | |
7603 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7604 | |
7605 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7606 Check f77_exception_encountered on return. | |
7607 | |
7608 * f77-fcn.c (f77_exception_encountered): New variable. | |
7609 (F77_XFCN): Set it. | |
7610 * f77-fcn.h: Provide declaration. | |
7611 | |
7612 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7613 | |
7614 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7615 | |
7616 * NLEqn.h (NLEqn_options::set_options): New function. | |
7617 * Quad.h (Quad_options::set_options): Likewise. | |
7618 | |
7619 * LP.h (class LP): Add accessors for LP data. | |
7620 | |
7621 * NLEqn.h (NLEqn::n): Delete. | |
7622 | |
7623 * NLEqn.h (class NLEqn::n): Likewise. | |
7624 | |
7625 * NLP.h (class NLP): Add accessors for NLP data. | |
7626 | |
7627 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7628 access functions here. | |
7629 * NPSOL.cc.cc: From here. | |
7630 | |
7631 * QLD.h (class QLD): Add destructor definition. | |
7632 * Objective.h (class Objective): Likewise. | |
7633 * ODEFunc.h (class ODEFunc): Likewise. | |
7634 * NLFunc.h (class NLFunc): Likewise. | |
7635 * NLEqn.h (class NLEqn): Likewise. | |
7636 * NLConst.h (class NLConst): Likewise. | |
7637 * LinConst.h (class LinConst): Likewise. | |
7638 * LSODE.h (class LSODE_options): Likewise. | |
7639 * CollocWt.h (class CollocWt): Likewise. | |
7640 * Bounds.h (class Bounds): Likewise. | |
7641 | |
7642 * QLD.cc (QLD::set_default_options): Delete. | |
7643 | |
7644 * QP.h (QP): Add accessors for QP data. | |
7645 Add copy constructor, operator =, and destructor definitions. | |
7646 | |
7647 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7648 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7649 DAEFunc.h, CollocWt.h, Bounds.h: | |
7650 Clean up constructors, assigment operator. | |
7651 | |
7652 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7653 counting to avoid duplicating the data immediately. | |
7654 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7655 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7656 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7657 | |
7658 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7659 | |
7660 * prog-args.h (prog_args::option_argument): New enum. | |
7661 | |
7662 * f77-fcn.h: Rename from f77-uscore.h. | |
7663 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7664 * f77-fcn.c: New file. | |
7665 * Makefile.in (SOURCES): Add it to the list. | |
7666 | |
7667 * ODEFunc.h: Clean up. | |
7668 | |
7669 * DASSL.cc, DASSL.h: New files. | |
7670 * Makefile.in: Add them to the appropriate lists. | |
7671 | |
7672 * LSODE.cc, LSODE.h: New files. | |
7673 * Makefile.in: Add them to the appropriate lists. | |
7674 | |
7675 * ODE.cc: Delete. | |
7676 * Makefile.in (SOURCES): Remove from list. | |
7677 | |
7678 * base-de.h, DAE.cc: New files. | |
7679 * Makefile.in: Add them to the appropriate lists. | |
7680 * ODE.h: Only define interface for ODE classes. | |
7681 * DAE.h: Only define interface for ODE classes. | |
7682 | |
7683 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7684 (LPsolve::set_default_options)): Delete | |
7685 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7686 destructor. | |
7687 | |
7688 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7689 | |
7690 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7691 (QPSOL::operator =): Call base class operator = instead of assuming | |
7692 we know what to copy. | |
7693 | |
7694 * base-min.h (size): New function. | |
7695 | |
7696 * NLP.h (NLP::size): Delete. | |
7697 (NLP::NLP (const NLP&)): New constructor. | |
7698 (NLP::operator =): Call base class operator = instead of assuming | |
7699 we know what to copy. | |
7700 | |
7701 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7702 (class NPSOL): Add operator = and destructor. | |
7703 | |
7704 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7705 | |
7706 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7707 | |
7708 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7709 | |
7710 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7711 | |
7712 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7713 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7714 | |
7715 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7716 | |
7717 * prog-args.h, prog-args.cc: New files. | |
7718 * Makefile.in: Add them to lists. | |
7719 | |
7720 * getopt.h, getopt.c, getopt1.c: New files. | |
7721 * Makefile.in: Add them to the lists. | |
7722 | |
7723 * oct-term.h, oct-term.cc: New files. | |
7724 * Makefile.in: Add them to the lists. | |
7725 | |
7726 * str-vec.cc: New file. | |
7727 * Makefile.in (SOURCES): Add it to the list. | |
7728 | |
7729 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
7730 | |
7731 * tempname.c, tempnam.c: Move here from src directory. | |
7732 * Makefile.in: Add to lists. | |
7733 | |
7734 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7735 | |
7736 * cmd-hist.h, cmd-hist.cc: New files. | |
7737 * Makefile.in: Add them to lists. | |
7738 | |
7739 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7740 | |
7741 * oct-glob.h, oct-glob.cc: New files. | |
7742 * Makefile.in: Add them to lists. | |
7743 | |
7744 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7745 | |
7746 * pathsearch.h, pathsearch.cc: New files. | |
7747 * Makefile.in: Add them to lists. | |
7748 | |
7749 * dir-ops.h, dir-ops.cc: New files. | |
7750 * sysdir.h: Move here from src directory. | |
7751 * Makefile.in: Add them to lists. | |
7752 | |
7753 * Array.h (Array::qsort): Return *this, not void. | |
7754 * str-vec.h (string_vector::qsort): Likewise. | |
7755 | |
7756 * chMatrix.cc (row_as_string): Resize result to eliminate | |
7757 unnecessary NULs. | |
7758 | |
7759 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7760 | |
7761 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
7762 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
7763 Files moved here from src directory. | |
7764 * Makefile.in: Add them to lists. Include appropriate rules. | |
7765 | |
7766 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7767 Use pointers, not references (this is C code!). | |
7768 | |
7769 * oct-math.h: New file. | |
7770 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7771 Files moved here from src directory. | |
7772 * Makefile.in: Add them to lists. | |
7773 | |
7774 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7775 | |
7776 * idx-vector.cc (make_uniq): Fix major brain-o. | |
7777 | |
7778 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
7779 Convert to use string class instead of char*. | |
7780 | |
7781 * str-vec.h, Array-str.cc: New files. | |
7782 | |
7783 * Array.h (Array::qsort): New function. | |
7784 | |
7785 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7786 | |
7787 * Array.h: Nest ArrayRep class inside Array class. | |
7788 Refer to ArrayRep, not ArrayRep<T>. | |
7789 Move all ArrayRep functions inline. | |
7790 Don't declare other Array classes as friends of ArrayRep. | |
7791 * Array.cc: Delete ArrayRep functions. | |
7792 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
7793 | |
7794 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
7795 Don't instantiate ArrayRep objects. | |
7796 | |
7797 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7798 | |
7799 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7800 New constructor. | |
7801 | |
7802 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7803 | |
7804 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
7805 for balance_job arg. | |
7806 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
7807 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
7808 | |
7809 * chMatrix.cc (row_as_string): Return string, not const char*. | |
7810 | |
7811 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7812 | |
7813 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
7814 | |
7815 * chMatrix.cc (row_as_string): Undo previous change. | |
7816 | |
7817 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7818 | |
7819 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
7820 is expected to save string if necessary. | |
7821 | |
7822 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7823 | |
7824 * Array.h (class DiagArray): Enable nested Proxy class for all | |
7825 platforms. | |
7826 | |
7827 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
7828 a.rep, don't mess with count. | |
7829 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
7830 don't do anything if reps are the same. | |
7831 (Array3<T>& operator = (const Array3<T>&) | |
7832 | |
7833 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
7834 Declare private with no definition to prevent misuse. | |
7835 | |
7836 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
7837 Get range check right. | |
7838 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
7839 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
7840 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7841 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
7842 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
7843 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
7844 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7845 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
7846 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
7847 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
7848 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
7849 * dColVector.cc | |
7850 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7851 * CRowVector.cc | |
7852 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
7853 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
7854 * CColVector.cc | |
7855 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7856 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
7857 | |
7858 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
7859 Also fill in zeros, not just the diagonal. | |
7860 | |
7861 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
7862 Use END parameter properly. | |
7863 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
7864 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
7865 | |
7866 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
7867 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
7868 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
7869 Don't copy count. Set it to 1. | |
7870 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
7871 | |
7872 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
7873 don't set rep->count to 1 here (now handled by ArrayRep | |
7874 constructors). | |
7875 (Array<T>::Array (void)): Ditto. | |
7876 (Array<T>::Array (int)): Ditto. | |
7877 (Array<T>::T& elem (int)): Ditto. | |
7878 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
7879 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
7880 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
7881 (Array<T>::resize (int)): Ditto. | |
7882 (Array<T>::resize (int, const T&)) :Ditto. | |
7883 (Array<T>::fortran_vec (void)): Ditto. | |
7884 (Array2<T>::resize (int, int)): Ditto. | |
7885 (Array2<T>::resize (int, int, const T&)): Ditto. | |
7886 (DiagArray<T>::resize (int, int)): Ditto. | |
7887 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
7888 | |
7889 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7890 | |
7891 * Array-ch.cc: Rename from Array-c.cc. | |
7892 * MArray-ch.cc: Rename from MArray-c.cc. | |
7893 * chMatrix.cc: Rename from cMatrix.cc. | |
7894 * chMatrix.h: Rename from cMatrix.h. | |
7895 * Makefile.in (TI_SRC): Use new names here. | |
7896 * mx-base.h: Likewise. | |
7897 | |
7898 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7899 | |
7900 * Makefile.in: Handle shared libraries. | |
7901 | |
7902 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7903 | |
7904 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
7905 Correctly compute length of return value. Correct rows and | |
7906 columns in zgemv call. | |
7907 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
7908 | |
7909 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7910 | |
7911 * Makefile.in (stamp-picdir): New target. | |
7912 (all): Depend on it. | |
7913 | |
7914 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7915 | |
7916 * Makefile.in (INCLUDES): Remove QLD.h. | |
7917 (SOURCES): Remove QLD.cc. | |
7918 | |
7919 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7920 | |
7921 * dMatrix.cc (Matrix::inverse): New arg, force. | |
7922 If force is nonzero, invert even if matrix is singular. | |
7923 (ComplexMatrix::inverse): Likewise. | |
7924 | |
7925 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
7926 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
7927 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
7928 Include "oct-cmplx.h" instead of <Complex.h>. | |
7929 | |
7930 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
7931 for class Complex. | |
7932 | |
7933 * oct-cmplx.h: New file. | |
7934 * Makefile.in (INCLUDES): Add it to the list. | |
7935 | |
7936 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
7937 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
7938 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
7939 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
7940 Avoid g++ bugs. | |
7941 | |
7942 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7943 | |
7944 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
7945 | |
7946 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
7947 | |
7948 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7949 | |
7950 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
7951 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
7952 | |
7953 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7954 | |
7955 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
7956 index vector object with Array, not ArrayRep. | |
7957 | |
7958 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7959 | |
7960 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
7961 if index is a colon and resizing is maybe needed. | |
7962 | |
7963 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7964 | |
7965 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
7966 if we have a vector of 1's. | |
7967 | |
7968 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
7969 current orientation, require index and rhs to conform unless | |
7970 do_fortran_indexing flag is set. | |
7971 | |
7972 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7973 | |
7974 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
7975 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
7976 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
7977 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
7978 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
7979 Massive changes to support additional data types. Only charMatrix | |
7980 is currently used in Octave. | |
7981 | |
7982 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7983 | |
7984 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
7985 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
7986 Simply call Array2<Complex> version. | |
7987 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
7988 call Array2<double> version. | |
7989 | |
7990 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
7991 | |
7992 * Array.h, Array.cc: Massive overhaul to support new way of | |
7993 handling indexing. | |
7994 * idx-vector.h, idx-vector.cc: Likewise. | |
7995 * Array-ext.cc, Array-idx.h: New files. | |
7996 * Makefile.in: Add them to the appropriate lists. | |
7997 | |
7998 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7999 | |
8000 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8001 | |
8002 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8003 | |
8004 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8005 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8006 | |
8007 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8008 | |
8009 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8010 | |
8011 * Array.h: Move simple member functions here. | |
8012 * Array.cc: From here. | |
8013 | |
8014 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8015 | |
8016 * Range.cc (tfloor, tceil, round): New static functions. | |
8017 (Range::nelem_internal): Rewrite to use better method. | |
8018 | |
8019 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8020 (type_computed): New var. | |
8021 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8022 Handle possible error condition. | |
8023 (init): Allow for SVD::sigma_only, save type computed. | |
8024 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8025 Handle possible error condition. | |
8026 (init): Allow for SVD::sigma_only, save type computed. | |
8027 | |
8028 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8029 | |
8030 * Nearly all non-matrix .h and .cc files: | |
8031 Move short function bodies into class declarations for inlining. | |
8032 Generally clean up. | |
8033 | |
8034 * base-min.h: New file. | |
8035 * LP.h (class LP): Derive from base_minimizer. | |
8036 * QLP.h (class QLP): Derive from base_minimizer. | |
8037 * NLP.h (class NLP): Derive from base_minimizer. | |
8038 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8039 | |
8040 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8041 NLFunc.cc, Objective.cc and QP.cc from list. | |
8042 | |
8043 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8044 | |
8045 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8046 (SCHUR::SCHUR): Delete unused parameter ord. | |
8047 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8048 | |
8049 * CRowVector.cc | |
8050 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8051 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8052 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8053 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8054 Actually do something. | |
8055 | |
8056 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8057 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8058 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8059 | |
8060 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8061 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8062 tolerances. | |
8063 | |
8064 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8065 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8066 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8067 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8068 * QPSOL.cc (qphess): Likewise. | |
8069 | |
8070 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8071 | |
8072 * dMatrix.cc: Include <cstring>. | |
8073 | |
8074 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8075 that return bogus values after calling the error handler. | |
8076 | |
8077 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8078 | |
8079 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8080 | |
8081 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8082 | |
8083 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8084 | |
8085 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8086 (dassl_j): Likewise. | |
8087 | |
8088 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8089 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8090 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8091 Update for change in for loop variable scope for gcc 2.7.0. | |
8092 | |
8093 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8094 | |
8095 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8096 not set. | |
8097 | |
8098 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8099 | |
8100 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8101 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8102 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8103 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8104 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8105 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8106 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8107 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8108 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8109 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8110 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8111 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8112 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8113 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8114 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8115 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8116 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8117 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8118 NLP.h: Use pragma interface/implementation. Don't surround | |
8119 contents in extern "C++". | |
8120 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8121 | |
8122 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8123 | |
8124 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8125 identifiers. | |
8126 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8127 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8128 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8129 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8130 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8131 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8132 Quad.cc: Change usage of F77_FCN to match new definition | |
8133 | |
8134 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8135 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8136 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8137 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8138 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8139 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8140 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8141 args by reference instead of pointer. Change all callers. | |
8142 | |
8143 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8144 | |
8145 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8146 functions. Make += and -= operators friend functions. | |
8147 | |
8148 * Array.h (Array2::~Array2, Array3::~Array3, | |
8149 DiagArray::~DiagArray): New functions. | |
8150 | |
8151 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8152 | |
8153 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8154 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8155 | |
8156 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8157 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8158 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8159 dRowVector.h dRowVector.cc: | |
8160 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8161 Array2, and DiagArray2. | |
8162 Don't use functions defined in mx-kludge.cc for arithmetic | |
8163 like-type operations on arrays. | |
8164 | |
8165 * MArray.cc: Use the classes defined here like-type mathematical | |
8166 operations on Array objects. Abuse CPP more. | |
8167 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8168 (EXTRAS): Delete it from this list. | |
8169 | |
8170 * MArray-C.cc, MArray-d.cc: New files. | |
8171 * Makefile.in (TI_SRC): Add them to the list. | |
8172 | |
8173 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8174 | |
8175 * mx-kludge.cc: Abuse CPP even more. | |
8176 | |
8177 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8178 | |
8179 * Objective.h (objective_function): Add missing const. | |
8180 (gradient_function): Likewise. | |
8181 | |
8182 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8183 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8184 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8185 dRowVector.h dRowVector.cc: | |
8186 Reorganize to declare and define friends where they should be, | |
8187 based on the use of private constructors. | |
8188 | |
8189 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8190 | |
8191 * CRowVector.h (linspace): Add declaration. | |
8192 * dRowVector.h (linspace): Likewise. | |
8193 | |
8194 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8195 Force result of rcond + 1.0 to be stored. | |
8196 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8197 ComplexMatrix::solve): Likewise. | |
8198 | |
8199 See ChangeLog.1 in the top level directory for earlier changes. |