Mercurial > hg > octave-lyh
annotate liboctave/ChangeLog @ 7466:49d462292af4
omit more dependencies for distclean target
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Feb 2008 18:12:24 -0500 |
parents | 2467639bd8c0 |
children | 85be2610d6e3 |
rev | line source |
---|---|
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
1 2008-02-11 John W. Eaton <jwe@octave.org> |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
2 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3 * Makefile.in ($(MAKEDEPS)): Skip dependencies if omit_deps is defined. |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
4 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
5 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
6 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
7 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
8 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
9 |
7457 | 10 2008-02-07 John W. Eaton <jwe@octave.org> |
11 | |
7458 | 12 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
13 ASCENDING, with default value of true. | |
14 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
15 (Range::sort (octave_idx_type, sortmode) const): New function. | |
16 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
17 const): New function. | |
18 * Range.h: Fix/provide decls. | |
19 | |
7457 | 20 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
21 | |
7449 | 22 2008-02-06 John W. Eaton <jwe@octave.org> |
23 | |
24 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
25 (stamp-prereq): Eliminate. | |
26 (clean): Don't remove stamp-prereq. | |
27 (libraries): Don't depend on stamp-prereq. | |
28 (PREREQ): New macro. | |
29 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
30 (distclean): Simplify with $(PREREQ). | |
31 (OPT_BASE): New macro. | |
32 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
33 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
34 | |
7448 | 35 2008-02-05 John W. Eaton <jwe@octave.org> |
36 | |
37 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
38 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
39 | |
7443 | 40 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
41 | |
42 * Array.cc (ascending_compare, descending_compare, | |
43 Array<T>::sort): Declare explicit specialization for T=double to | |
44 avoid symbol duplication error at link time. | |
45 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
46 define as nonmember functions, not member functions of Array<T>. | |
47 | |
7442 | 48 2008-02-03 John W. Eaton <jwe@octave.org> |
49 | |
50 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
51 | |
52 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
53 | |
54 * Array.cc: Don't include Range.h. | |
55 | |
7433 | 56 2008-01-31 David Bateman <dbateman@free.fr> |
57 | |
58 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
59 for 64-bit builds. | |
60 (IFLT): Allow IFLT macro to be overridden. | |
61 * oct-sort.h: conversion of int to octave_idx_type where needed | |
62 for 64-bit builds. | |
63 (enum sortmode): Type of sort to perform. | |
64 (vec_index): Simple class to aid in indexed sorts. | |
65 | |
66 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
67 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
68 sortmode) const): Array sorting methods. | |
69 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
70 instantiate the array sorting methods. | |
71 * Array.cc (ascending_compare, descending_compare): New template | |
72 functions for generic sort comparison. | |
73 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
74 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
75 sortmode) const): Array sorting functions based of octave_sort | |
76 class. | |
77 * Array-C.cc: Instantiate the complex array sort methods. | |
78 (IFLT): New macro to override the one in the | |
79 octave_sort class to avoid need for Complex < and > operators. | |
80 (static double xabs (const Complex&)): Complex abs function | |
81 avoiding std::abs(Inf) returning NaN with some compilers. | |
82 (ascending_compare, descending compare): override template | |
83 functions for complex comparison. | |
84 * Array-d.cc: Instantiate the double array sort methods. | |
85 (Array<double> Array<double>::sort (octave_idx_type, | |
86 sortmode) const, Array<double> Array<double>::sort | |
87 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
88 Array sorting functions based of octave_sort using uint64 sorting | |
89 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
90 (ascending_compare, descending compare): override template | |
91 functions for double and uint64 comparison. | |
92 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
93 Instantiate the array sort methods. | |
94 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
95 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
96 versions of the sort methods based on Array<T>::sort. | |
97 | |
98 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
99 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
100 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
101 sortmode) const): Sparse sorting methods. | |
102 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
103 methods. | |
104 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
105 of new sort method. | |
106 (sparse_ascending_compare, sparse_descending_compare): New template | |
107 functions for generic sort comparison. | |
108 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
109 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
110 sortmode) const): Sparse sorting functions based of octave_sort | |
111 class. | |
112 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
113 (IFLT): New macro to override the one in the | |
114 octave_sort class to avoid need for Complex < and > operators. | |
115 (static double xabs (const Complex&)): Complex abs function | |
116 avoiding std::abs(Inf) returning NaN with some compilers. | |
117 (sparse_ascending_compare, sparse_descending compare): override | |
118 template functions for complex comparison. | |
119 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
120 (sparse_ascending_compare, sparse_descending compare): override | |
121 template functions for double comparison. | |
122 * Array-b.cc: Instantiate the sparse sort methods. | |
123 | |
7422 | 124 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
125 | |
126 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
127 idx_vector::idx_vector_rep::range_step, | |
128 idx_vector::idx_vector_rep::range_step): New data members. | |
129 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
130 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
131 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
132 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
133 | |
7416 | 134 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
135 | |
136 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
137 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
138 | |
7408 | 139 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 140 |
141 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
142 this fixes the "localtime(-1)" crash under Windows. | |
143 | |
7400 | 144 2008-01-18 John W. Eaton <jwe@octave.org> |
145 | |
146 * dMatrix.cc (solve_singularity_warning): New function. | |
147 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
148 Matrix::solve method. Exit early if Matrix::solve fails. | |
149 Limit sqpow value to avoid overflowing scale factor. | |
150 * CMatrix.cc (solve_singularity_warning): New function. | |
151 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
152 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
153 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 154 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 155 |
7356 | 156 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
157 | |
158 * Sparse.cc: New tests for slicing of sparse matrices. | |
159 | |
7350 | 160 2008-01-07 David Bateman <dbateman@free.fr> |
161 | |
162 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
163 loop if this test succeeds. | |
164 | |
7342 | 165 2008-01-03 David Bateman <dbateman@free.fr> |
166 | |
167 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
168 need unary operator on remaining argument | |
169 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
170 | |
7334 | 171 2007-12-21 John W. Eaton <jwe@octave.org> |
172 | |
173 Version 3.0.0 released. | |
174 | |
7322 | 175 2007-12-18 David Bateman <dbateman@free.fr> |
176 | |
177 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
178 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
179 stored as a sparse matrix. | |
180 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
181 idx_vector&, int) const): For the non permutated indexing case, | |
182 fix link list calculation and use. | |
183 | |
7321 | 184 2007-12-17 John W. Eaton <jwe@octave.org> |
185 | |
186 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
187 N-d array. | |
188 | |
7318 | 189 2007-12-17 David Bateman <dbateman@free.fr> |
190 | |
191 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
192 index. | |
193 | |
7299 | 194 2007-12-11 John W. Eaton <jwe@octave.org> |
195 | |
196 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
197 If indexing scalar with empty matrix, return empty array with same | |
198 size as index. | |
199 | |
7272 | 200 2007-12-10 John W. Eaton <jwe@octave.org> |
201 | |
7279 | 202 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
203 and assignment operator. | |
204 (NLEqn::function_value): New function. | |
205 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
206 function value. | |
207 | |
7272 | 208 * file-ops.cc (file_ops::concat): New function. |
209 * file-ops.h: Provide decl. | |
210 | |
7270 | 211 2007-12-07 John W. Eaton <jwe@octave.org> |
212 | |
213 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
214 is not 0. | |
215 | |
7269 | 216 2007-12-07 David Bateman <dbateman@free.fr> |
217 | |
218 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
219 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
220 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
221 indexing where possible rather than the elem method. | |
222 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
223 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
224 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
225 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
226 = 0 directly. | |
227 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
228 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
229 SPARSE_BASE_REDUCTION_OP. | |
230 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
231 Specialize the initial value, and only treat dim = 0 directly. | |
232 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
233 ditto. | |
234 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
235 | |
7265 | 236 2007-12-06 John W. Eaton <jwe@octave.org> |
237 | |
238 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
239 data for npp and dpp after assignments. | |
240 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
241 | |
7253 | 242 2007-12-04 John W. Eaton <jwe@octave.org> |
243 | |
244 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
245 Do nothing if one index is empty. | |
246 | |
7246 | 247 2007-12-04 David Bateman <dbateman@free.fr> |
248 | |
249 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
250 Resize matrix as well if one dimension of lhs is zero and the rhs | |
251 index exceeds the lhs index. | |
252 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
253 Don't resize to a smaller matrix for empty matrices with a max rhs | |
254 index smaller than the non zero lhs index. | |
255 | |
256 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
257 | |
258 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
259 | |
7241 | 260 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
261 | |
262 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
263 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
264 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
265 | |
7238 | 266 2007-12-03 David Bateman <dbateman@free.fr> |
267 | |
268 * Sparse.cc (template <class LT, class RT> int assign | |
269 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
270 rhs values if both no. rows and columns are zero. | |
271 | |
7231 | 272 2007-11-30 John W. Eaton <jwe@octave.org> |
273 | |
7234 | 274 * oct-sort.cc, oct-sort.h: Style fixes. |
275 | |
7231 | 276 * lo-math.h: New file. |
277 * Makefile.in (INCLUDES): Add it to the list. | |
278 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
279 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
280 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
281 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
282 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
283 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
284 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
285 liboctave/oct-time.h, liboctave/randgamma.c, | |
286 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
287 instead of cmath or math.h. | |
288 * lo-mappers.h: Don't include sunmath.h here. | |
289 | |
7198 | 290 2007-11-26 John W. Eaton <jwe@octave.org> |
291 | |
292 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
293 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
294 | |
295 * oct-inttypes.h (operator bool, operator char): Delete. | |
296 (bool_value, char_value, double_value, float_value): New functions. | |
297 | |
7189 | 298 2007-11-26 David Bateman <dbateman@free.fr> |
299 | |
300 * intNDArray.cc (template <class T> intNDArray<T> | |
301 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
302 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
303 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
304 template <class T> intNDArray<T> intNDArray<T>::min | |
305 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
306 classes. | |
307 * intNDArray.h (class intNDArray): Add min/max methods | |
308 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
309 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
310 min/max functions. | |
311 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
312 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
313 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
314 types. | |
315 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
316 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
317 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
318 types. | |
319 | |
320 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
321 const T& rfv) const): If ndims != 2 call ND version of index. | |
322 | |
7176 | 323 2007-11-14 John W. Eaton <jwe@octave.org> |
324 | |
7178 | 325 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
326 | |
7176 | 327 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
328 correction to half-integer values. From Eric Chassande-Mottin | |
329 <echassandemottin@gmail.com>. | |
330 | |
7124 | 331 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
332 | |
333 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
334 ambiguities related to math functions (in C++ mode). | |
335 | |
7102 | 336 2007-11-06 David Bateman <dbateman@free.fr> |
337 | |
7113 | 338 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
339 New method. | |
340 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
341 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
342 New method. | |
343 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 344 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
345 norm to avoid issues of over- and underflow. From Rolf Fabian | |
346 <Rolf.Fabian@gmx.de>. | |
347 | |
7081 | 348 2007-10-30 David Bateman <dbateman@free.fr> |
349 | |
350 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
351 | |
7079 | 352 2007-10-30 John W. Eaton <jwe@octave.org> |
353 | |
354 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
355 * dMatrix.cc (lssolve): Compute size of iwork array. | |
356 | |
7076 | 357 2007-10-29 David Bateman <dbateman@free.fr> |
358 | |
359 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
360 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
361 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
362 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
363 double& rcond) const, lssolve (const ComplexColumnVector&, | |
364 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
365 declarations. | |
366 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
367 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
368 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
369 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
370 double& rcond) const, lssolve (const ComplexColumnVector&, | |
371 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
372 methods. | |
373 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
374 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
375 octave_idx_type&, double&) const): Also return rcond from the | |
376 singular values returned by XGELSD. | |
377 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
378 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
379 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
380 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
381 double& rcond) const, lssolve (const ComplexColumnVector&, | |
382 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
383 declarations. | |
384 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
385 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
386 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
387 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
388 double& rcond) const, lssolve (const ComplexColumnVector&, | |
389 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
390 methods. | |
391 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
392 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
393 octave_idx_type&, double&) const): Also return rcond from the | |
394 singular values returned by XGELSD. | |
395 | |
7072 | 396 2007-10-26 David Bateman <dbateman@free.fr> |
397 | |
398 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
399 matrices to avoid reliability issues with xGELSY. | |
400 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 401 |
7065 | 402 2007-10-25 John W. Eaton <jwe@octave.org> |
403 | |
404 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
405 Call unix_time on arg instead of relying on conversion operator. | |
406 | |
407 * oct-time.h (octave_time::double_value): New function. | |
408 (octave_time::operator double () const): Delete. | |
409 (octave_time::operator time_t () const): Delete. | |
410 | |
7058 | 411 2007-10-24 John W. Eaton <jwe@octave.org> |
412 | |
413 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
414 | |
7052 | 415 2007-10-23 John W. Eaton <jwe@octave.org> |
416 | |
417 * CRowVector.cc (operator * const ComplexRowVector&, const | |
418 ComplexColumnVector&)): Delete spurious code left from patch. | |
419 | |
7048 | 420 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
421 | |
422 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
423 sparse-sort.cc: Include <cstring>. | |
424 | |
7036 | 425 2007-10-17 John W. Eaton <jwe@octave.org> |
426 | |
427 * oct-sparse.h: Don't include metis.h. | |
428 | |
429 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
430 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
431 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
432 p_type>::sparse_base_chol_rep::init): Likewise. | |
433 | |
7033 | 434 2007-10-16 John W. Eaton <jwe@octave.org> |
435 | |
436 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
437 matrix is hermitian or calc_cond is true. | |
438 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
439 | |
7016 | 440 2007-10-12 John W. Eaton <jwe@octave.org> |
441 | |
442 * Change copyright notices in all files that are part of Octave to | |
443 GPLv3 or any later version. | |
444 | |
7007 | 445 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
446 | |
447 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
448 | |
7001 | 449 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
450 | |
451 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
452 | |
7000 | 453 2007-10-10 John W. Eaton <jwe@octave.org> |
454 | |
455 * LPsolve.h, LPsolve.cc: Delete. | |
456 * Makefile.in: Remove them from the INCLUDES and | |
457 LIBOCTAVE_CXX_SOURCES lists. | |
458 | |
6989 | 459 2007-10-09 John W. Eaton <jwe@octave.org> |
460 | |
6996 | 461 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
462 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
463 values to zero after call if they remain unchanged. | |
464 | |
6989 | 465 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
466 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
467 | |
6988 | 468 2007-10-09 David Bateman <dbateman@free.fr> |
469 | |
6995 | 470 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
471 valud and mon and year are also filled in. | |
472 | |
6990 | 473 * Array2.h (Array2<T>::Array2(const dim_vector&), |
474 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
475 dim_vector is 2 dimensional. | |
476 | |
6988 | 477 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
478 int)): Remove a for loop in the random indexing case at the | |
479 expense of maintaining a set of linked lists of indices that point | |
480 to the same column in the original matrix. | |
481 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
482 and use it on the RHS of expressions to avoid unnecessary calls to | |
483 make_unique. | |
484 | |
6979 | 485 2007-10-08 David Bateman <dbateman@free.fr> |
486 | |
487 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
488 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
489 for readline compatible functions. | |
490 (octave_rl_redisplay): Redisplay the current line of text. | |
491 (octave_rl_newline): Change interface to the same | |
492 as used by the equivalent readline function itself. | |
493 (octave_rl_filename_quoting_desired, | |
494 octave_rl_set_filename_quote_characters, | |
495 octave_rl_set_completer_quote_characters, | |
496 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
497 octave_rl_set_char_is_quoted_function): New functions to control | |
498 readline filename quoting and line acceptace. | |
499 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
500 as used by the equivalent readline function itself. | |
501 (octave_rl_redisplay): Redisplay the current line of text. | |
502 (octave_rl_filename_quoting_desired, | |
503 octave_rl_set_filename_quote_characters, | |
504 octave_rl_set_completer_quote_characters, | |
505 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
506 octave_rl_set_char_is_quoted_function): New functions to control | |
507 readline filename quoting and line acceptace. | |
508 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
509 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
510 to map C++ function to readline compatible functions. | |
511 (set_filename_quote_characters): New function to set the | |
512 characters to if they appear in a filename that force the filename | |
513 to be quoted. | |
514 (set_completer_quote_characters): The characters that the readline | |
515 completion function considers as quotation characters. | |
516 (set_quoting_function, set_dequoting_function, | |
517 set_char_is_quoted_function, set_user_accept_line_function): | |
518 Functions to set the Octave functions to perform quoting and the | |
519 acceptance of a line of text by readline. | |
520 (get_quoting_function, get_dequoting_function, | |
521 get_char_is_quoted_function, get_user_accept_line_function): | |
522 Functions to get the above functions. | |
523 (accept_line): New method for the command_editor to accept a line | |
524 of text. | |
525 (file_quoting_desired): Function to set whether readline should | |
526 attempt to quote filenames. | |
527 (do_set_filename_quoting_characters, | |
528 do_set_completer_quote_characters, do_set_quoting_function, | |
529 do_set_dequoting_function, do_set_char_is_quoted_function, | |
530 do_set_user_accept_line_function, do_get_quoting_function, | |
531 do_get_dequoting_function, do_get_char_is_quoted_function, | |
532 do_get_user_accept_line_function, do_filename_quoting_desired): | |
533 Virtual functions to control the behavior of readline quoting and | |
534 acceptance of lines. | |
535 (do_accept_line): Virtual function for the accept line function. | |
536 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
537 do_completer_quote_characters, do_set_quoting_function, | |
538 do_set_dequoting_function, do_set_char_is_quoted_function, | |
539 do_set_user_accept_line_function, do_get_quoting_function, | |
540 do_get_dequoting_function, do_get_user_accept_line_function, | |
541 do_accept_line, do_filename_quoting_desired, command_quoter, | |
542 command_dequoter, command_char_is_quoted, command_accept_line): | |
543 New functions in gnu_readline class to control filename quoting | |
544 and line acceptance. | |
545 (quoting_function, dequoting_function, char_is_quoted_function, | |
546 user_accept_line_function): private variable to store functions | |
547 supplied for readline quoting and line acceptance. | |
548 (gnu_readline::gnu_readline): Also set the new function pointers | |
549 to zero. | |
550 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
551 interface. | |
552 (gnu_readeline::operate_and_get_next): Use new accept_line | |
553 function rather than newline. | |
554 (default_ommand_editor::do_accept_line): New method. | |
555 (class command_editor set_filename_quote_characters, | |
556 set_completer_quote_characters, set_quoting_function, | |
557 set_dequoting_function, set_char_is_quoted_function, | |
558 set_user_accept_line_function, get_quoting_function, | |
559 get_dequoting_function, get_user_accept_line_function, | |
560 accept_line, filename_quoting_desired): New functions checking | |
561 instance before calling virtual function. | |
562 | |
563 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
564 Array2.h: Add dim_vector constructors. | |
565 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
566 const to dim_vector constructors. | |
567 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
568 (octave_idx_type)): New methods to constructor diagonal matrices. | |
569 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
570 (octave_idx_type)): Declare them. | |
571 | |
572 | |
6969 | 573 2007-10-06 John W. Eaton <jwe@octave.org> |
574 | |
575 * lo-specfun.cc: (zlgamma): Delete. | |
576 (xgamma): Use C library gamma function if available. | |
577 (xlgamma): Use C library lgamma function if available. | |
578 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
579 other than NaN or Inf. | |
580 | |
6961 | 581 2007-10-05 John W. Eaton <jwe@octave.org> |
582 | |
583 * lo-specfun.cc (zlgamma): New function. | |
584 | |
6959 | 585 2007-10-04 John W. Eaton <jwe@octave.org> |
586 | |
587 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
588 qualifiers on local variables. | |
589 | |
6958 | 590 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
591 | |
592 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
593 than log(realmax) to avoid issues with NaN. | |
594 | |
6940 | 595 2007-10-01 John W. Eaton <jwe@octave.org> |
596 | |
6941 | 597 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
598 initialize wday and yday. | |
599 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
600 | |
6940 | 601 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
602 insert extra '\001' when decoding \[ and \]. | |
603 | |
6926 | 604 2007-09-26 David Bateman <dbateman@free.fr> |
605 | |
606 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
607 is much faster and no less accurate. | |
608 * CMatrix.cc (lssolve): ditto. | |
609 | |
6924 | 610 2007-09-25 David Bateman <dbateman@free.fr> |
611 | |
612 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
613 zero dimensioned matrices. | |
614 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
615 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
616 ditto. | |
617 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
618 ditto. | |
619 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
620 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
621 qrsolve): ditto. | |
622 * sparse-dmsolve.cc (dmsolve): ditto. | |
623 | |
6922 | 624 2007-09-21 John W. Eaton <jwe@octave.org> |
625 | |
626 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
627 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
628 | |
6916 | 629 2007-09-19 John W. Eaton <jwe@octave.org> |
630 | |
631 * cmd-edit.cc (command_editor::remove_startup_hook): | |
632 Fix cut-and-paste error. | |
6917 | 633 (gnu_readline::set_startup_hook): Only set hook function if new |
634 function is different from the current one. | |
6916 | 635 |
6913 | 636 2007-09-18 John W. Eaton <jwe@octave.org> |
637 | |
638 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
639 command_editor::event_hook_set): New static data. | |
640 (default_command_editor::set_startup_hook, | |
641 gnu_readline::set_startup_hook, | |
642 default_command_editor::restore_startup_hook, | |
643 gnu_readline_restore_event_hook): | |
644 Rename from do_set_startup_hook and do_set_event_hook. | |
645 (gnu_readline::operate_and_get_next): Call | |
646 command_editor::add_startup_hook, not | |
647 command_editor::set_startup_hook. | |
648 (command_editor::startup_handler, command_editor::event_handler): | |
649 New functions. | |
650 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
651 command_editor::remove_startup_hook, | |
652 command_editor::remove_event_hook): Rename from set_startup_hook | |
653 and restore_startup_hook. Handle hook sets here. | |
654 * cmd-edit.cc (gnu_history::do_goto_mark): | |
655 Call remove_startup_hook instead of restore_startup_hook. | |
656 | |
6907 | 657 2007-09-17 John W. Eaton <jwe@octave.org> |
658 | |
659 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
660 leading whitespace. | |
661 | |
6897 | 662 2007-09-13 John W. Eaton <jwe@octave.org> |
663 | |
664 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
665 octave_read_complex): Use istream::get instead of >> to read | |
666 individual characters. | |
667 | |
6884 | 668 2007-09-10 John W. Eaton <jwe@octave.org> |
669 | |
670 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
671 | |
672 2007-09-10 David Bateman <dbateman@free.fr> | |
673 | |
674 * Array.h (Array<T>::make_unique): Make public so that the | |
675 ::assign functions can access it directly. | |
676 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
677 Array<T>::maybe_delete_elements_1(idx_vector&), | |
678 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
679 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
680 Use xelem for non const RHS to avoid call to make_unique. | |
681 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
682 xelem for LHS and call lhs.make_unique() only once. Special case | |
683 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
684 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
685 bring the additional multiplication out of the inner loop. | |
686 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
687 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
688 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
689 (const Range& r)): Don't use init_state() method but special case | |
690 as with a Range can avoid exhaustive search. | |
691 | |
6881 | 692 2007-09-07 John W. Eaton <jwe@octave.org> |
693 | |
694 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
695 manipulating rep directly. | |
696 | |
697 * Array.h (idx, idx_count): Declare mutable. | |
698 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
699 Now const. | |
700 | |
6867 | 701 2007-09-06 David Bateman <dbateman@free.fr> |
702 | |
6868 | 703 * Array-util.cc (increment_index): dimensions can have singleton |
704 trailing dimensions. | |
6867 | 705 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
706 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
707 where necessary. | |
708 * Array.cc (range_error): ditto. | |
709 * MArrayN.h (permute, ipermute): ditto. | |
710 * ArrayN.h (permute, ipermute): ditto. | |
711 * so-array.cc (streamoff_array::compute_index): ditto. | |
712 * so-array.h (compute_index): ditto. | |
713 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
714 | |
6840 | 715 2007-08-29 David Bateman <dbateman@free.fr> |
716 | |
717 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
718 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
719 matrices marked as singular. | |
720 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
721 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
722 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
723 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
724 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
725 octave_idx_type&, double&, int, int)): ditto. | |
726 | |
6838 | 727 2007-08-27 John W. Eaton <jwe@octave.org> |
728 | |
729 * oct-env.cc (octave_env::rooted_relative_pathname, | |
730 octave_env::do_rooted_relative_pathname): New functions. | |
731 * oct-env.h: Provide decls. | |
732 | |
6823 | 733 2007-08-24 David Bateman <dbateman@free.fr> |
734 | |
735 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
736 const Array<octave_idx_type>&)): New method. | |
737 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
738 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
739 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
740 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
741 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
742 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
743 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
744 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
745 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
746 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
747 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
748 SparseMatrix&, const Array<octave_idx_type>&), | |
749 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
750 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
751 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
752 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
753 SparseMatrix&, const Array<octave_idx_type>&), | |
754 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
755 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
756 | |
6817 | 757 2007-08-19 David Bateman <dbateman@free.fr> |
758 | |
759 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
760 | |
6813 | 761 2007-08-14 John W. Eaton <jwe@octave.org> |
762 | |
763 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
764 Simplify. | |
6814 | 765 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 766 |
6810 | 767 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
768 | |
769 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
770 Remove trailing dir separator when stat'ing directory except for | |
771 root directory. | |
772 | |
6796 | 773 2007-07-25 David Bateman <dbateman@free.fr> |
774 | |
775 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
776 to work. | |
777 | |
6764 | 778 2007-06-04 David Bateman <dbateman@free.fr> |
779 | |
780 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
781 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
782 perform a twos complement arithmetic shift for both signed and | |
783 unsigned integers regardless of compiler implementations. | |
784 | |
6708 | 785 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
786 | |
6719 | 787 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
788 use cs_complex_t(0,0) for the complex zero. | |
789 | |
6708 | 790 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
791 Sprinkle class instantiations with OCTAVE_API as needed. | |
792 | |
793 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
794 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
795 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
796 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
797 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
798 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
799 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
800 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
801 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
802 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
803 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
804 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
805 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
806 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
807 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
808 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
809 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
810 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
811 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
812 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
813 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
814 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
815 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
816 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
817 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
818 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
819 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
820 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
821 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
822 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
823 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
824 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
825 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
826 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
827 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
828 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
829 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
830 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
831 SPARSE_SMM_OP_DECLS): Ditto. | |
832 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
833 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
834 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
835 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
836 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
837 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
838 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
839 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
840 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
841 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
842 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
843 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
844 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
845 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
846 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
847 | |
6699 | 848 2007-06-12 John W. Eaton <jwe@octave.org> |
849 | |
850 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
851 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 852 |
6693 | 853 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
854 | |
6709 | 855 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
856 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
857 with file_ops::dir_sep_char. | |
6694 | 858 |
6693 | 859 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
860 | |
6689 | 861 2007-06-04 David Bateman <dbateman@free.fr> |
862 | |
6699 | 863 * file-ops.cc: Typo. |
864 | |
6689 | 865 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
866 dimensions is greater than 2, collapse to 2-D. | |
867 | |
6685 | 868 2007-06-02 David Bateman <dbateman@free.fr> |
869 | |
870 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
871 | |
6680 | 872 2007-05-31 John W. Eaton <jwe@octave.org> |
873 | |
874 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
875 the computed size is too large for the size of Octave's index type. | |
876 | |
6662 | 877 2007-05-23 John W. Eaton <jwe@octave.org> |
878 | |
879 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
880 | |
6629 | 881 2007-05-16 David Bateman <dbateman@free.fr> |
882 | |
883 * dRowVector.cc (linspace): Return second argument if fewer than | |
884 two values are requested. | |
885 * CRowVector.cc (linspace): Likewise. | |
886 | |
6596 | 887 2007-04-27 John W. Eaton <jwe@octave.org> |
888 | |
889 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
890 | |
6583 | 891 2007-04-25 John W. Eaton <jwe@octave.org> |
892 | |
893 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
894 | |
6553 | 895 2007-04-20 John W. Eaton <jwe@octave.org> |
896 | |
897 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
898 not rhs_len == 1. | |
899 | |
6536 | 900 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
901 | |
902 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
903 | |
6525 | 904 2007-04-13 John W. Eaton <jwe@octave.org> |
905 | |
906 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
907 for empty matrix. Only check for colon index equivalence if not empty. | |
908 | |
6513 | 909 2007-04-10 John W. Eaton <jwe@octave.org> |
910 | |
911 * SparseCmplxQR.cc | |
912 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
913 Move GCC_ATTR_UNUSED before the parameter decl. | |
914 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
915 | |
6508 | 916 2007-04-06 John W. Eaton <jwe@octave.org> |
917 | |
918 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
919 * MArray.h (MArray<T>::norm): New function. | |
920 * MArray.cc: Provide decl. | |
921 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
922 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
923 | |
6490 | 924 2007-04-04 John W. Eaton <jwe@octave.org> |
925 | |
926 * Range.cc (Range::nelem_internal): Likewise. | |
927 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
928 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
929 From Scott Pakin <pakin@lanl.gov>. | |
930 | |
6486 | 931 2007-04-04 David Bateman <dbateman@free.fr> |
932 | |
933 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
934 the condition number for positive definite matrices. | |
935 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
936 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
937 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
938 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
939 (CHOL(const CHOL&)): Copy xrcond. | |
940 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
941 (xrcond): New private data member. | |
942 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
943 calc_cond. | |
944 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
945 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
946 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
947 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
948 (xrcond): New private data member. | |
949 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
950 true, calculate the condition number with dpocon. | |
951 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
952 calc_cond is true, calculate the condition number with zpocon. | |
953 | |
6481 | 954 2007-04-03 John W. Eaton <jwe@octave.org> |
955 | |
6482 | 956 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
957 | |
958 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
959 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
960 "maybe clobbered by vfork" warning. | |
961 | |
6483 | 962 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 963 if/else. |
964 | |
965 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
966 and destructor. | |
967 | |
6481 | 968 * Array.cc (assignN): Don't resize dimension if corresponding |
969 index is empty. | |
970 | |
6479 | 971 2007-04-02 John W. Eaton <jwe@octave.org> |
972 | |
973 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
974 MatrixType argument. | |
975 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
976 | |
6467 | 977 2007-03-27 John W. Eaton <jwe@octave.org> |
978 | |
979 * Makefile.in (DISTDIRS): Delete variable. | |
980 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
981 | |
6460 | 982 2007-03-26 David Bateman <dbateman@free.fr> |
983 | |
984 * MatrixType.cc: Replace all uses of the method | |
985 octave_sparse_params::get_key ("bandden") with | |
986 octave_sparse_params::get_bandden (void). | |
987 (MatrixType::MatrixType (void)): Undo previous change but use | |
988 octave_sparse_params::get_bandden (void). | |
989 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
990 methods. | |
991 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
992 Declare them. | |
993 | |
6458 | 994 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
995 David Bateman <dbateman@free.fr> | |
996 | |
997 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
998 Check that all elements are ints before doing anything. Simplify | |
999 calculation of index values. | |
1000 | |
6457 | 1001 2007-03-26 David Bateman <dbateman@free.fr> |
1002 | |
1003 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1004 | |
6456 | 1005 2007-03-26 John W. Eaton <jwe@octave.org> |
1006 | |
1007 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1008 * chNDArray.h, chMatrix.h: Provide decls. | |
1009 | |
1010 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1011 | |
1012 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1013 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1014 |
6435 | 1015 2007-03-23 David Bateman <dbateman@free.fr> |
1016 | |
1017 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1018 little endian. | |
1019 | |
6414 | 1020 2007-03-15 John W. Eaton <jwe@octave.org> |
1021 | |
1022 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1023 From Alexander Barth <abarth@marine.usf.edu>. | |
1024 | |
6402 | 1025 2007-03-12 John W. Eaton <jwe@octave.org> |
1026 | |
1027 * oct-inttypes.h (octave_int::octave_int (double)): | |
1028 New Specialization. Round arg. | |
1029 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1030 Round result before converting type. | |
1031 | |
6388 | 1032 2007-03-07 John W. Eaton <jwe@octave.org> |
1033 | |
6392 | 1034 * Array.cc (assign1): Avoid resizing if there is an error. |
1035 | |
6390 | 1036 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1037 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1038 | |
6389 | 1039 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1040 Only allow resizing empty LHS if it is 0x0. | |
1041 | |
6388 | 1042 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1043 const T&)): Handle case of more indices than dimensions. | |
1044 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1045 cases to be handled by assignN. | |
1046 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1047 Special cases for 2-d array assignments for speed. | |
1048 Improve handling of scalar RHS and empty indices. | |
6384 | 1049 |
6383 | 1050 2007-03-05 David Bateman <dbateman@free.fr> |
1051 | |
1052 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1053 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1054 | |
6379 | 1055 2007-03-02 John W. Eaton <jwe@octave.org> |
1056 | |
1057 * str-vec.h (string_vector::empty): Return bool, not int. | |
1058 | |
6375 | 1059 2007-03-01 David Bateman <dbateman@free.fr> |
1060 | |
1061 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1062 an independent implementation of RFC1321. | |
1063 * oct-md5.h, oct-md5: New files for treating std::string class | |
1064 with MD5. | |
1065 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1066 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1067 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1068 | |
6366 | 1069 2007-02-27 John W. Eaton <jwe@octave.org> |
1070 | |
1071 * Makefile.in (uninstall): Delete files listed in | |
1072 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1073 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1074 | |
6536 | 1075 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1076 |
1077 * file-ops.cc (file_ops::recursive_rmdir): | |
1078 Close dir_entry object before calling rmdir. | |
1079 | |
6536 | 1080 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1081 |
1082 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1083 | |
6359 | 1084 * sparse-util.h (SparseCholPrint, SparseCholError): |
1085 Tag with OCTAVE_API. | |
1086 | |
6326 | 1087 2007-02-18 David Bateman <dbateman@free.fr> |
1088 | |
1089 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1090 calling setall and reset to the current generator after. | |
1091 | |
6323 | 1092 2007-02-16 John W. Eaton <jwe@octave.org> |
1093 | |
1094 * oct-shlib.h (octave_shlib::relative): New data member. | |
1095 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1096 New functions. | |
1097 | |
6321 | 1098 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1099 | |
1100 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1101 windows platform. | |
1102 * lo-sysdep.h (octave_popen2): Declare it. | |
1103 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1104 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1105 | |
6306 | 1106 2007-02-14 John W. Eaton <jwe@octave.org> |
1107 | |
1108 * kpse.cc (expand_elt): Omit special treatment for //. | |
1109 | |
6273 | 1110 2007-02-06 John W. Eaton <jwe@octave.org> |
1111 | |
1112 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1113 Don't delete value returned from realpath. | |
1114 | |
6271 | 1115 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1116 | |
1117 * file-ops.cc (file_ops::canonicalize_file_name): | |
1118 Provide implementation if realpath function is available. | |
1119 | |
6256 | 1120 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1121 | |
1122 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1123 | |
6244 | 1124 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1125 | |
1126 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1127 Windows systems. | |
1128 | |
6242 | 1129 2007-01-16 John W. Eaton <jwe@octave.org> |
1130 | |
1131 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1132 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1133 | |
1134 * oct-fftw.h (fftw_planner): Provide decl. | |
1135 | |
6241 | 1136 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1137 | |
1138 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1139 | |
6236 | 1140 2007-01-10 John W. Eaton <jwe@octave.org> |
1141 | |
1142 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1143 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1144 | |
6231 | 1145 2007-01-08 David Bateman <dbateman@free.fr> |
1146 | |
1147 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1148 SPARSESUITE with SUITESPARSE to match upstream name. | |
1149 | |
6228 | 1150 2007-01-05 David Bateman <dbateman@free.fr> |
1151 | |
1152 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1153 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1154 set the FFTW wisdom method used. | |
1155 (octave_fftw_planner::create_plan) Modify to allow different | |
1156 methods to be used. | |
1157 (octave_fftw_planner): Move class definition from here. | |
1158 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1159 and FftwMethod enum. | |
1160 | |
6221 | 1161 2007-01-03 David Bateman <dbateman@free.fr> |
1162 | |
1163 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1164 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1165 sparse matrices are special cased. | |
1166 | |
1167 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1168 matrix, sparse matrix operations. | |
1169 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1170 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1171 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1172 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1173 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1174 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1175 sparse matrices are special cased. | |
1176 | |
6217 | 1177 2006-12-22 David Bateman <dbateman@free.fr> |
1178 | |
1179 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1180 | |
6216 | 1181 2006-12-22 John W. Eaton <jwe@octave.org> |
1182 | |
1183 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1184 least 2 dimensions. | |
1185 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1186 | |
6208 | 1187 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1188 | |
1189 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1190 | |
1191 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1192 implementation for Windows. |
6208 | 1193 |
6207 | 1194 2006-12-06 David Bateman <dbateman@free.fr> |
1195 | |
6208 | 1196 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1197 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1198 |
1199 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1200 (tinverse): New method for triangular matrices. | |
1201 (inverse): New function with matrix type probing. | |
1202 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1203 declarations. | |
6208 | 1204 * CMatrix.cc: Ditto. |
1205 * CMatrix.h: Ditto. | |
6207 | 1206 |
6205 | 1207 2006-12-06 John W. Eaton <jwe@octave.org> |
1208 | |
1209 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1210 | |
6202 | 1211 2006-12-05 John W. Eaton <jwe@octave.org> |
1212 | |
1213 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1214 followed by 'I' or 'i', try reading number after putting | |
1215 characters back on input stream. | |
1216 | |
6198 | 1217 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1218 | |
1219 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1220 loop is n, not L. | |
1221 | |
6194 | 1222 2006-11-30 John W. Eaton <jwe@octave.org> |
1223 | |
1224 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1225 Also recognize [+-][Ii]nf. | |
1226 | |
6187 | 1227 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1228 |
1229 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1230 sub-directory. | |
1231 | |
6204 | 1232 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1233 well when calling tinverse for lower triangular matrices. | |
1234 * CSparse.cc (SparseComplexMatrix::inverse): | |
1235 Ditto. | |
6185 | 1236 |
6183 | 1237 2006-11-21 John W. Eaton <jwe@octave.org> |
1238 | |
1239 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1240 | |
6182 | 1241 2006-11-20 John W. Eaton <jwe@octave.org> |
1242 | |
1243 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1244 for ".", and names beginning with "./" or "../". | |
1245 | |
6162 | 1246 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1247 | |
1248 * CMatrix.cc, dMatrix.cc: New tests. | |
1249 | |
6153 | 1250 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1251 | |
1252 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1253 | |
6152 | 1254 2006-11-11 John W. Eaton <jwe@octave.org> |
1255 | |
1256 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1257 Use $(simple-move-if-change-rule) here. | |
1258 | |
6148 | 1259 2006-11-09 David Bateman <dbateman@free.fr> |
1260 | |
1261 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1262 octave_idx_type, not int. | |
1263 | |
6145 | 1264 2006-11-08 John W. Eaton <jwe@octave.org> |
1265 | |
1266 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1267 | |
6141 | 1268 2006-11-06 John W. Eaton <jwe@octave.org> |
1269 | |
1270 * Array.cc (assignN): Exit early if invalid indices are found. | |
1271 | |
6140 | 1272 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1273 | |
1274 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1275 | |
6137 | 1276 2006-11-03 John W. Eaton <jwe@octave.org> |
1277 | |
1278 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1279 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1280 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1281 | |
6123 | 1282 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1283 | |
1284 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1285 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1286 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1287 lo-sysdep.cc. | |
1288 | |
6113 | 1289 2006-10-27 John W. Eaton <jwe@octave.org> |
1290 | |
6119 | 1291 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1292 | |
1293 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1294 | |
1295 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1296 NDS_CMP_OPS2): New macros. | |
6113 | 1297 |
6111 | 1298 2006-10-26 John W. Eaton <jwe@octave.org> |
1299 | |
6119 | 1300 * mx-ops (core-type): New field for integer types. |
1301 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1302 | |
6111 | 1303 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1304 Move here from src/cutils.c. | |
1305 * lo-utils.h: Provide decls. | |
1306 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1307 * strncase.c: Move here from src/strncase.c. | |
1308 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1309 | |
6106 | 1310 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1311 | |
1312 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1313 | |
6708 | 1314 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1315 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1316 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1317 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1318 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1319 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1320 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1321 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1322 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1323 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1324 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1325 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1326 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1327 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1328 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1329 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1330 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1331 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1332 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1333 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1334 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1335 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1336 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1337 |
6105 | 1338 2006-10-26 John W. Eaton <jwe@octave.org> |
1339 | |
1340 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1341 type qualification for OP. | |
1342 | |
6101 | 1343 2006-10-26 David Bateman <dbateman@free.fr> |
1344 | |
1345 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1346 octave_idx_type)): Be more careful with the size of the input | |
1347 matrix, and therefore don't create or read non existent data. | |
1348 | |
6092 | 1349 2006-10-25 John W. Eaton <jwe@octave.org> |
1350 | |
1351 * Sparse.cc (assign): Clear lhs index after error. | |
1352 | |
6093 | 1353 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1354 |
1355 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1356 Fix previous patch so it works. | |
1357 | |
6087 | 1358 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1359 | |
6095 | 1360 * glob-match.h (glob_match::glob_match (const std::string&, |
1361 unsigned int)): Delete initializer for first arg. | |
1362 | |
6093 | 1363 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1364 New functions. | |
1365 | |
6087 | 1366 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1367 | |
6096 | 1368 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1369 same code as __MINGW32__. | |
1370 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1371 the same as for __MINGW32__. | |
1372 | |
1373 * randpoisson.c: Undefine INFINITE before redefining. | |
1374 | |
6079 | 1375 2006-10-24 David Bateman <dbateman@free.fr> |
1376 | |
1377 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1378 lhs at the point we know the assignment can succeed if the lhs is | |
1379 empty. | |
1380 | |
6072 | 1381 2006-10-23 John W. Eaton <jwe@octave.org> |
1382 | |
1383 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1384 | |
6061 | 1385 2006-10-17 John W. Eaton <jwe@octave.org> |
1386 | |
1387 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1388 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1389 and _copysign. | |
1390 | |
6059 | 1391 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1392 |
6061 | 1393 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1394 | |
6708 | 1395 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1396 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1397 |
6058 | 1398 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1399 | |
6059 | 1400 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1401 | |
6051 | 1402 * Makefile.in: Adapt rules to use $(LIBPRE). |
1403 | |
6027 | 1404 2006-10-03 David Bateman <dbateman@free.fr> |
1405 | |
1406 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1407 or p == 0. | |
1408 | |
6018 | 1409 2006-10-02 John W. Eaton <jwe@octave.org> |
1410 | |
1411 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1412 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1413 | |
5996 | 1414 2006-09-22 David Bateman <dbateman@free.fr> |
1415 | |
1416 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1417 Remove spurious warning. |
5996 | 1418 |
5992 | 1419 2006-09-15 John W. Eaton <jwe@octave.org> |
1420 | |
1421 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1422 Handle resizing. | |
1423 | |
1424 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1425 | |
5983 | 1426 2006-09-11 John W. Eaton <jwe@octave.org> |
1427 | |
1428 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1429 Handle M*v and rv*cv special cases. | |
1430 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1431 ComplexMatrix&))): Likewise. | |
1432 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1433 | |
1434 * dRowVector.cc (operator * (const RowVector&, const | |
1435 ColumnVector&)): Call xddot here instead of using a Fortran | |
1436 function directly. | |
1437 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1438 ComplexColumnVector&)): Call xzdotu here. | |
1439 | |
1440 2006-09-05 John W. Eaton <jwe@octave.org> | |
1441 | |
1442 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1443 elements to '\0', not ' '. | |
1444 | |
5972 | 1445 2006-08-25 John W. Eaton <jwe@octave.org> |
1446 | |
1447 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1448 | |
5958 | 1449 2006-08-23 John W. Eaton <jwe@octave.org> |
1450 | |
1451 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1452 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1453 | |
5955 | 1454 2006-08-22 John W. Eaton <jwe@octave.org> |
1455 | |
5956 | 1456 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1457 * dMatrix.cc (Matrix::save_ascii): New function. | |
1458 | |
5955 | 1459 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1460 If array is empty, return value is same size as array. | |
1461 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1462 If array is empty, produce correctly sized return value. | |
1463 | |
5940 | 1464 2006-08-18 John W. Eaton <jwe@octave.org> |
1465 | |
5943 | 1466 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1467 * dMatrix.h: Provide decl. | |
1468 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1469 * dNDArray.h: Provide decl. | |
1470 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1471 New function. | |
1472 * intNDArray.h: Provide decl. | |
1473 | |
5940 | 1474 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1475 not empty. | |
1476 | |
5904 | 1477 2006-07-26 John W. Eaton <jwe@octave.org> |
1478 | |
1479 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1480 DET::value_will_overflow): Use xlog2 instead of log2. | |
1481 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1482 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1483 * CmplxDET.cc (ComplexDET::initialize10, | |
1484 ComplexDET::value_will_underflow, | |
1485 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1486 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1487 Use xround instead of round. | |
1488 (ComplexDET::initialize2, ComplexDET::value): | |
1489 Use xexp2 instead of exp2. | |
1490 | |
1491 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1492 (xlog2, xexp2): New functions. | |
1493 * lo-mappers.h: Provide decls. | |
1494 | |
5900 | 1495 2006-07-22 John W. Eaton <jwe@octave.org> |
1496 | |
1497 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1498 Sparse<T>::mex_get_jc): New functions. | |
1499 | |
1500 2006-07-21 John W. Eaton <jwe@octave.org> | |
1501 | |
1502 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1503 * Array.h (Array<T>::mex_get_data): New function. | |
1504 | |
5898 | 1505 2006-07-19 John W. Eaton <jwe@octave.org> |
1506 | |
1507 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1508 | |
5893 | 1509 2006-07-16 John W. Eaton <jwe@octave.org> |
1510 | |
1511 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1512 Rename from SparseParams. Use same implementation method as other | |
1513 singleton classes in Octave. Change all uses of | |
1514 Voctave_sparse_controls to use static functions from | |
1515 octave_sparse_params class instead. | |
1516 | |
1517 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1518 SparseParams::get_key): Pass std::string arg by const reference, | |
1519 not const value. | |
1520 | |
5892 | 1521 2006-07-15 John W. Eaton <jwe@octave.org> |
1522 | |
1523 * data-conv.cc: Instantiante swap_bytes templates here. | |
1524 | |
1525 * MatrixType.cc (MatrixType::MatrixType): | |
1526 Use complete initializer lists in constructors. | |
1527 | |
5880 | 1528 2006-07-06 John W. Eaton <jwe@octave.org> |
1529 | |
1530 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1531 New constructor. | |
1532 * str-vec.h: Provide decl. | |
1533 | |
5876 | 1534 2006-07-01 David Bateman <dbateman@free.fr> |
1535 | |
1536 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1537 elements on the diagonal. Allow both Upper and Lower triangular | |
1538 matrices to be treated. | |
1539 * CSparse.cc (tinverse): ditto. | |
1540 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1541 constant assignment. | |
1542 | |
5870 | 1543 2006-06-30 John W. Eaton <jwe@octave.org> |
1544 | |
5872 | 1545 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1546 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1547 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1548 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1549 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1550 |
5870 | 1551 * data-conv.cc (data_conv::string_to_data_type): |
1552 Correctly handle leading "*". | |
1553 | |
5869 | 1554 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1555 | |
1556 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1557 array access. | |
1558 | |
5866 | 1559 2006-06-27 John W. Eaton <jwe@octave.org> |
1560 | |
1561 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1562 | |
5864 | 1563 2006-06-21 John W. Eaton <jwe@octave.org> |
1564 | |
1565 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1566 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1567 Skip do_close_hook if cl_hook is 0. | |
1568 | |
5863 | 1569 2006-06-16 John W. Eaton <jwe@octave.org> |
1570 | |
1571 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1572 * randmtzig.h: Don't inlcude config.h. | |
1573 | |
5837 | 1574 2006-05-31 David Bateman <dbateman@free.fr> |
1575 | |
1576 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1577 | |
5828 | 1578 2006-05-23 John W. Eaton <jwe@octave.org> |
1579 | |
1580 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1581 typedefs, or define them if those files are not available. | |
1582 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1583 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1584 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1585 types with int8_t, int16_t, etc. | |
1586 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1587 Delete definitions. Replace all uses of these macros with int8_t, | |
1588 int16_t, etc. | |
1589 * randmtzig.h: Delete integer typedefs. | |
1590 | |
5822 | 1591 2006-05-18 John W. Eaton <jwe@octave.org> |
1592 | |
1593 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1594 From Keith Goodman <kwgoodman@gmail.com>. | |
1595 | |
5813 | 1596 2006-05-08 David Bateman <dbateman@free.fr> |
1597 | |
1598 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1599 modification. | |
1600 | |
5797 | 1601 2006-05-09 David Bateman <dbateman@free.fr> |
1602 | |
1603 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1604 ov-cx-sparse. and error_state. | |
1605 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1606 | |
5795 | 1607 2006-05-08 David Bateman <dbateman@free.fr> |
1608 | |
1609 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1610 first pass and use to determine which algorithm to use on a | |
1611 column-by-column basis. | |
1612 | |
5792 | 1613 2006-05-04 David Bateman <dbateman@free.fr> |
1614 | |
1615 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1616 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1617 CXSparse or later | |
1618 | |
5785 | 1619 2006-05-03 David Bateman <dbateman@free.fr> |
1620 | |
1621 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1622 External declaration of lapack triangular and Cholesky codes. | |
1623 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1624 ComplexMatrix::fsolve): New private solver codes for | |
1625 upper, lower and LU/Cholesky solvers. | |
1626 (ComplexMatrix::solve): New versions for cached matrix | |
1627 type. Adapt old versions to call new versions | |
1628 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1629 new solvers. | |
1630 (solve): New versions for cached matrix type. | |
1631 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1632 External declaration of lapack triangular and Cholesky codes. | |
1633 (Matrix::utsolve, Matrix::ltsolve, | |
1634 Matrix::fsolve): New private solver codes for | |
1635 upper, lower and LU/Cholesky solvers. | |
1636 (Matrix::solve): New versions for cached matrix | |
1637 type. Adapt old versions to call new versions | |
1638 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1639 new solvers. | |
1640 (solve): New versions for cached matrix type. | |
1641 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1642 * CSparse.h: ditto. | |
1643 * dSparse.cc: ditto. | |
1644 * dSparse.h: ditto. | |
1645 * SparseCmplxCHOL.cc: ditto. | |
1646 * SparsedbleCHOL.cc: ditto. | |
1647 * sparse-dmsolve.cc: ditto. | |
1648 * SparseType.cc, SparseType.h: delete. | |
1649 * MatrixType.cc: New file for class to cache matrix type, based on | |
1650 old SparseType class but caching matrix and sparse types. | |
1651 * MatrixType.h: ditto. | |
1652 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1653 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1654 respectively. | |
1655 * mx-base.h: Include MatrixTye.h as header file. | |
1656 | |
5781 | 1657 2006-05-01 John W. Eaton <jwe@octave.org> |
1658 | |
1659 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1660 Delete WARN_FUTURE arg. Change all uses. | |
1661 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1662 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1663 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1664 and uses. | |
1665 | |
1666 2006-04-29 John W. Eaton <jwe@octave.org> | |
1667 | |
1668 * Array-flags.cc, Array-flags.h: Delete. | |
1669 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1670 (MATRIX_INC): Remove Array-flags.h from the list. | |
1671 | |
1672 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1673 Use current_liboctave_warning_with_id_handler | |
1674 with warning ID Octave:resize-on-range-error. | |
1675 * idx-vector.h: Fix decl. | |
1676 * Array.cc, Sparse.cc: Change all callers. | |
1677 | |
1678 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1679 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1680 with warning ID Octave:fortran-indexing instead of | |
1681 liboctave_wfi_flag. | |
1682 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1683 | |
5777 | 1684 2006-04-26 John W. Eaton <jwe@octave.org> |
1685 | |
1686 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1687 New static data. | |
1688 * pathsearch.h: Provide decls. | |
1689 (dir_path::is_path_sep): New function. | |
1690 | |
5766 | 1691 2006-04-18 John W. Eaton <jwe@octave.org> |
1692 | |
1693 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1694 Omit inline from decl. | |
1695 | |
1696 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1697 local array with variable dimension. | |
1698 | |
5764 | 1699 2006-04-16 John W. Eaton <jwe@octave.org> |
1700 | |
5765 | 1701 * lo-sstream.h: Delete. |
1702 * Makefile.in (INCLUDES): Remove it from the list. | |
1703 | |
1704 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1705 * Sparse.cc (Sparse::range_error): Likewise. | |
1706 * DASSL.cc (DASSL::error_message): Likewise. | |
1707 * LSODE.cc (LSODE::error_message): Likewise. | |
1708 * DASRT.cc (DASRT::error_message): Likewise. | |
1709 * DASPK.cc (DASPK::error_message): Likewise. | |
1710 * Array.cc (Array::range_error): Likewise. | |
1711 | |
5764 | 1712 * kpse.cc (kpse_hash): Rename from hash. |
1713 (hash_lookup): Call kpse_hash instead of hash. | |
1714 | |
1715 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1716 to avoid local array with variable dimension. | |
1717 | |
5760 | 1718 2006-04-13 David Bateman <dbateman@free.fr> |
1719 | |
1720 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1721 Optimize assignment. | |
1722 | |
1723 2006-04-13 John W. Eaton <jwe@octave.org> | |
1724 | |
1725 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1726 Eliminate unnecessary casts. | |
1727 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1728 | |
1729 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1730 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1731 | |
1732 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1733 * oct-alloc.cc (allocator::grow): Likewise. | |
1734 * CSparse.cc (SparseComplexMatrix::determinant, | |
1735 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
1736 Likewise. | |
1737 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
1738 | |
1739 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
1740 Use static_cast instead of C-style cast. | |
1741 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1742 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
1743 | |
1744 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
1745 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
1746 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
1747 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
1748 Use reinterpret_cast instead of X_CAST. | |
1749 | |
1750 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
1751 return value here. | |
1752 | |
5752 | 1753 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
1754 | |
1755 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
1756 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
1757 | |
5730 | 1758 2006-04-03 David Bateman <dbateman@free.fr> |
1759 | |
5731 | 1760 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
1761 to avoid copy of original matrix. | |
1762 | |
5730 | 1763 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
1764 randmtzig.h to the list. | |
1765 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
1766 randmtzig.c to the list. | |
1767 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
1768 (use_old_generators): New variable. | |
1769 (old_initialized): Rename from initialized. | |
1770 (new_initialized): New variable. | |
1771 (oct_init_by_entropy): New function. | |
1772 (maybe_initialize): Initialize new or old generator depending on | |
1773 value of use_old_generators. | |
1774 (octave_rand::state): New functions. | |
1775 (octave_rand::distribution): Add gamma, exponential and poisson | |
1776 distributions. | |
1777 (octave_rand::exponential_distribution, | |
1778 octave_rand::poisson_distribution, | |
1779 octave_rand::gamma_distribution): New methods to select | |
1780 exponential, poisson or gamma distribution. | |
1781 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1782 octave_rand::vector): Add new distributions. | |
1783 * oct-rand.h: Provide decls for new functions. | |
1784 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
1785 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1786 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
1787 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
1788 randmtzig.h: New files. | |
1789 | |
5717 | 1790 2006-03-24 John W. Eaton <jwe@octave.org> |
1791 | |
1792 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
1793 Array<octave_idx_type>, so fortran_vec returns pointer to | |
1794 octave_idx_type, not pointer to int. | |
1795 | |
1796 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
1797 ComplexMatrix::column (char*)): Delete. | |
1798 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
1799 Matrix::column (char*)): Delete. | |
1800 | |
5713 | 1801 2006-03-21 David Bateman <dbateman@free.fr> |
1802 | |
1803 * SparseQR.h: Publish externally used friends. | |
1804 * SparseCmplxQR.h: ditto. | |
1805 | |
5700 | 1806 2006-03-21 John W. Eaton <jwe@octave.org> |
1807 | |
1808 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
1809 call to xdbetai. | |
1810 | |
5697 | 1811 2006-03-21 David Bateman <dbateman@free.fr> |
1812 | |
5701 | 1813 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
1814 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 1815 |
1816 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
1817 fallback to QR solvers to be optional. | |
1818 * CSparse.cc (solve): Ditto. | |
1819 * dSparse.h (solve): update declaration for new argument. | |
1820 * CSparse.h (solve): Ditto. | |
1821 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
1822 to bypass QR solvers when solving the well determined part of | |
1823 the problem. | |
5697 | 1824 |
5690 | 1825 2006-03-17 John W. Eaton <jwe@octave.org> |
1826 | |
1827 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
1828 | |
5681 | 1829 2006-03-16 David Bateman <dbateman@free.fr> |
1830 | |
1831 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
1832 reduction of matrix size, except for a couple of cases where nzmax | |
1833 is needed. | |
1834 (zpbcon): Correct declaration of lapack zpbcon function. | |
1835 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
1836 an argument to allow the calculation of condition number to be | |
1837 optional. | |
1838 (bsolve): Add code for the calculation of the condition number | |
1839 using zpbcon and zgbcon. | |
1840 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
1841 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
1842 singular if singularity is detected. | |
1843 (solve): Use optional argument to disable calculation of | |
1844 condition number for all but fsolve, for speed. Add code to | |
1845 allow rectnagular matrices or matrices identified as singular | |
1846 to be treated. | |
1847 (lssolve): delete. | |
1848 (operator *): Don't recast real matrices as complex, but | |
1849 rather use the macro directly on the real data. | |
1850 * dSparse.cc: ditto. | |
1851 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
1852 fsolve, factorize): Update declaration for new argument to | |
1853 calculate the condition number. | |
1854 (lssolve): delete. | |
1855 * dSparse.h: ditto. | |
1856 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
1857 reduction of matrix size, except for a couple of cases where | |
1858 nzmax is needed. | |
1859 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
1860 reduction of matrix size, except for a couple of cases where | |
1861 nzmax is needed. | |
1862 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
1863 Special case strict permutations for speed. | |
1864 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
1865 reduction of matrix size, except for a couple of cases where | |
1866 nzmax is needed. | |
1867 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
1868 macros to allow mixed complex/real arguments. | |
1869 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
1870 value. | |
1871 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
1872 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
1873 of permutated triangular matrices to avoid seg-faults. Disable | |
1874 detection of underdetermined lower and over-determined upper | |
1875 matrix due to problems with non minimum norm solutions. | |
1876 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
1877 * Makefile.in: add sparse-dmsolve.cc to targets. | |
1878 | |
5675 | 1879 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
1880 | |
1881 * oct-time.cc (octave_strptime::init): Return useful character count. | |
1882 | |
5648 | 1883 2006-03-08 David Bateman <dbateman@free.fr> |
1884 | |
1885 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
1886 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
1887 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
1888 * SparseQR.cc: ditto. | |
1889 * SparseQR.h: ditto. | |
1890 * oct-sparse.h: ditto. | |
1891 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
1892 Declare info variable as volatile. | |
1893 | |
1894 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
1895 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
1896 | |
5634 | 1897 2006-03-01 John W. Eaton <jwe@octave.org> |
1898 | |
1899 * CMatrix.cc (ComplexMatrix::determinant): | |
1900 Scale result by factors of 2, not 10. | |
1901 * dMatrix.cc (Matrix::determinant): Likewise. | |
1902 | |
1903 * dbleDET.h (DET::DET): Use initializer list. | |
1904 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
1905 DET::exponent10): New functions. | |
1906 (DET::det): Delete. | |
1907 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
1908 Store value internally with double and int instead of 2-element | |
1909 double vector. | |
1910 (DET::initialize2, DET::initialize10): Provide decls. | |
1911 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
1912 Return bool value, not int. | |
1913 (DET::initialize2, DET::initialize10): New functions. | |
1914 | |
1915 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
1916 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
1917 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
1918 (ComplexDET::det): Delete. | |
1919 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
1920 ComplexDET::base2): New data members. | |
1921 Store value internally with Complex and int instead of 2-element | |
1922 Complex vector. | |
1923 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
1924 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
1925 ComplexDET::value_will_underflow): Return bool value, not int. | |
1926 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
1927 | |
5632 | 1928 2006-02-24 John W. Eaton <jwe@octave.org> |
1929 | |
1930 * Array.cc (assignN): Clear index before reshaping. | |
1931 | |
1932 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
1933 | |
5630 | 1934 2006-02-20 David Bateman <dbateman@free.fr> |
1935 | |
1936 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
1937 matrix must be square in diagonal, permuted diagonal, triangular | |
1938 and permuted triangular back/forward substitution code. Change | |
1939 ambiguous use of no. rows and columns. | |
1940 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
1941 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
1942 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
1943 rectangular diagonal, permuted diagonal, triangular and permuted | |
1944 triangular matrices. | |
1945 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
1946 Treat case where third argument is zero. | |
1947 | |
5621 | 1948 2006-02-15 John W. Eaton <jwe@octave.org> |
1949 | |
5622 | 1950 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
1951 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
1952 | |
5621 | 1953 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1954 | |
5619 | 1955 2006-02-13 David Bateman <dbateman@free.fr> |
1956 | |
1957 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
1958 ccolamd and cxsparse | |
1959 | |
5617 | 1960 2006-02-13 John W. Eaton <jwe@octave.org> |
1961 | |
5618 | 1962 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
1963 while loop condition. | |
1964 (kpse_path_iterator::operator =): Declare as private function but | |
1965 don't define to prevent attempts to use assignment operator. | |
1966 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 1967 |
5615 | 1968 2006-02-10 John W. Eaton <jwe@octave.org> |
1969 | |
1970 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
1971 product of all dimensions in CP_SZ. | |
1972 | |
5611 | 1973 2006-02-09 John W. Eaton <jwe@octave.org> |
1974 | |
1975 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 1976 product of all dimensions in CP_SZ. |
5611 | 1977 |
5610 | 1978 2006-02-09 David Bateman <dbateman@free.fr> |
1979 | |
1980 * SparseQR.cc: new file for real sparse QR class. | |
1981 * SparseQR.h: declaration. | |
1982 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
1983 * SparseCmplxQR.h: declaration. | |
1984 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
1985 (factorize, fsolve): Enable code code lssolve. | |
1986 (lssolve): disable unused args, write based in above sparse QR class. | |
1987 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
1988 (factorize, fsolve): Enable code code lssolve. | |
1989 (lssolve): disable unused args, write based in above sparse QR class. | |
1990 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
1991 Include CXSparse headers. | |
1992 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
1993 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
1994 | |
5607 | 1995 2006-02-08 John W. Eaton <jwe@octave.org> |
1996 | |
1997 * Array-util.h (calc_permutated_idx): Delete. | |
1998 * Array.cc (permute_vector): New data structure. | |
1999 (permute_vector_compare): New function. | |
2000 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2001 improved performance. | |
2002 | |
5606 | 2003 2006-02-04 David Bateman <dbateman@free.fr> |
2004 | |
2005 * COLAMD: Remove all files, as now unused. | |
2006 | |
5604 | 2007 2006-01-31 John W. Eaton <jwe@octave.org> |
2008 | |
2009 * Sparse.h (Sparse<T>::nzmax): New function. | |
2010 (Sparse<T>::nnz): Rename from nonzero. | |
2011 Change all uses of old nnz function to be nzmax. Change all uses | |
2012 of nonzero to be nnz. | |
2013 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2014 | |
5603 | 2015 2006-01-21 David Bateman <dbateman@free.fr> |
2016 | |
2017 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2018 (bool octave_idx_vector_comp): New function. | |
2019 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2020 indexed idx_vector sorting function. | |
2021 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2022 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2023 sorting. | |
2024 (bool octave_idx_vector_comp): Declaration. | |
2025 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2026 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2027 class. | |
2028 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2029 | |
5602 | 2030 2006-01-30 John W. Eaton <jwe@octave.org> |
2031 | |
2032 * so-array.h (streamoff_array::nnz): New funtion. | |
2033 * boolNDArray.h (boolNDArray::nnz): New function. | |
2034 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2035 * MArray.h (MArray<T>::nnz): New function. | |
2036 | |
5587 | 2037 2006-01-04 David Bateman <dbateman@free.fr> |
2038 | |
2039 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2040 elements not being sorted in return matrix. Sort them, and make | |
2041 solver select between two algorithms to further improve the | |
2042 performance. | |
2043 * dSparse.cc: include oct-sort.h. | |
2044 * CSparse.cc: ditto. | |
2045 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2046 | |
5586 | 2047 2005-12-28 David Bateman <dbateman@free.fr> |
2048 | |
5587 | 2049 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2050 faster in all cases, and significantly so for low density or small | |
2051 order problems. | |
5586 | 2052 |
5552 | 2053 2005-11-30 John W. Eaton <jwe@octave.org> |
2054 | |
2055 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2056 before setting any values in either array. | |
2057 | |
5547 | 2058 2005-11-29 John W. Eaton <jwe@octave.org> |
2059 | |
2060 * oct-uname.h, oct-uname.cc: New files. | |
2061 * Makefile.in: Add them to the appropriate lists. | |
2062 | |
5535 | 2063 2005-11-11 John W. Eaton <jwe@octave.org> |
2064 | |
2065 * Array.cc (Array<T>::indexN): Simplify. | |
2066 | |
5533 | 2067 2005-11-09 John W. Eaton <jwe@octave.org> |
2068 | |
2069 * oct-inttypes.h (octave_int::operator char (void) const): | |
2070 New conversion op. | |
2071 | |
5527 | 2072 2005-11-01 John W. Eaton <jwe@octave.org> |
2073 | |
2074 * Makefile.in (distclean): Also remove oct-types.h. | |
2075 From Quentin Spencer <qspencer@ieee.org>. | |
2076 | |
5526 | 2077 2005-10-31 David Bateman <dbateman@free.fr> |
2078 | |
2079 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2080 preprocessor defined TRUE/FALSE. | |
2081 | |
5523 | 2082 2005-10-30 John W. Eaton <jwe@octave.org> |
2083 | |
2084 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2085 (MX_ND_CUMULATIVE_OP): Likewise. | |
2086 | |
5519 | 2087 2005-10-29 John W. Eaton <jwe@octave.org> |
2088 | |
5520 | 2089 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2090 things up. Simplify. | |
2091 | |
5519 | 2092 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2093 case for "vector_equivalent". | |
2094 | |
2095 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2096 | |
5518 | 2097 2005-10-28 John W. Eaton <jwe@octave.org> |
2098 | |
2099 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2100 From Quentin Spencer <qspencer@ieee.org>. | |
2101 | |
2102 * sparse-base-chol.cc: Use C++ true/false instead of | |
2103 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2104 | |
5516 | 2105 2005-10-27 John W. Eaton <jwe@octave.org> |
2106 | |
2107 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2108 | |
5512 | 2109 2005-10-26 John W. Eaton <jwe@octave.org> |
2110 | |
2111 * oct-sparse.h: New file. | |
2112 * oct-sparse.h.in: Delete. | |
2113 | |
5511 | 2114 2005-10-26 David Bateman <dbateman@free.fr> |
2115 | |
2116 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2117 * sparse-base-chol.cc: ditto. | |
2118 | |
5508 | 2119 2005-10-26 John W. Eaton <jwe@octave.org> |
2120 | |
2121 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2122 <arno@heho.snv.jussieu.fr>: | |
2123 | |
5509 | 2124 * dSparse.h (real (const SparseComplexMatrix&)): |
2125 Publish externally used friend function. | |
2126 (imag (const SparseComplexMatrix&)): Likewise. | |
2127 | |
5508 | 2128 * dColVector.h (real (const ComplexColumnVector&)): |
2129 Publish externally used friend function. | |
2130 (imag (const ComplexColumnVector&)): Likewise. | |
2131 | |
2132 * dNDArray.h (real (const ComplexNDArray&)): | |
2133 Publish externally used friend function. | |
2134 (imag (const ComplexNDArray&)): Likewise. | |
2135 | |
2136 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2137 Move decl outside class. No need to be friend. | |
2138 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2139 (imag (const ComplexMatrix&)): Likewise. | |
2140 | |
2141 * CMatrix.h: (operator * (const ColumnVector&, const | |
2142 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2143 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2144 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2145 Likewise. | |
2146 | |
5506 | 2147 2005-10-23 David Bateman <dbateman@free.fr> |
2148 | |
2149 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2150 elements need to be removed. | |
2151 | |
2152 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2153 versions of cholmod. | |
2154 | |
2155 * CSparse.cc (tinverse): New private function for the inversion of | |
2156 an upper triangular matrix. | |
2157 (dinverse): ditto for diagonal matrices. | |
2158 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2159 using tinverse and dinverse. | |
2160 (fsolve): Use cholmod to implement Cholesky solver. | |
2161 * CSparse.h (tinverse, dinverse): Declarations | |
2162 (inverse): Alter declaration to include SparseType. | |
2163 | |
2164 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2165 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2166 | |
2167 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2168 | |
2169 * sparse-util.cc: New file for sparse utility functions. | |
2170 * sparse-util.h: New file with declarations of sparse utility | |
2171 functions. | |
2172 | |
2173 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2174 on cholmod. | |
2175 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2176 class based on cholmod. | |
2177 | |
2178 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2179 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2180 | |
2181 * SparsedbleCHOL.cc: ditto. | |
2182 * SparsedbleCHOL.h: ditto. | |
2183 | |
2184 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2185 (INCLUDES): Include sparse-util.h | |
2186 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2187 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2188 | |
5489 | 2189 2005-10-12 John W. Eaton <jwe@octave.org> |
2190 | |
2191 * oct-env.cc (octave_env::have_x11_display): New function. | |
2192 * oct-env.h: Provide decl. | |
2193 | |
5476 | 2194 2005-09-29 John W. Eaton <jwe@octave.org> |
2195 | |
2196 * file-stat.h (file_stat::mode): New function. | |
2197 | |
2198 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2199 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2200 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2201 * file-stat.h: Provide decls. | |
2202 | |
2203 2005-09-28 John W. Eaton <jwe@octave.org> | |
2204 | |
2205 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2206 * file-ops.h: Provide decl. | |
2207 | |
5454 | 2208 2005-09-19 David Bateman <dbateman@free.fr> |
2209 | |
2210 * oct-env.cc (octave_env::do_get_home_directory): | |
2211 Also check HOMEDRIVE under mingw. | |
2212 | |
5455 | 2213 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2214 | |
5453 | 2215 2005-09-16 John W. Eaton <jwe@octave.org> |
2216 | |
2217 * oct-syscalls.cc: Include lo-utils.h here. | |
2218 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2219 | |
2220 * lo-cutils.c (octave_waitpid): New function. | |
2221 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2222 oct-syscalls.cc | |
2223 | |
2224 | |
2225 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2226 waitpid in src/sysdep.h. Make this header C-compatible. | |
2227 | |
2228 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2229 Change all uses. | |
2230 | |
5451 | 2231 2005-09-15 John W. Eaton <jwe@octave.org> |
2232 | |
2233 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2234 | |
2235 * oct-sparse.h.in: New file. | |
2236 * Makefile.in (DISTFILES): Include it in the list. | |
2237 (INCLUDES): Add oct-sparse.h to the list. | |
2238 | |
2239 2005-09-15 David Bateman <dbateman@free.fr> | |
2240 | |
2241 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2242 headers. Remove include of umfpack.h. | |
2243 * CSparse.cc : ditto. | |
2244 * SparsedbleLU.cc : ditto. | |
2245 * SparseCmplxLU.cc : ditto. | |
2246 | |
2247 * COLAMD : Remove colamd files from octave. | |
2248 * COLAMD.files : delete. | |
2249 * COLAMD.README : delete. | |
2250 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2251 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2252 under mingw. | |
2253 | |
2254 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2255 in definition. | |
2256 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2257 change of cast not allowed under g++ 3.x. | |
2258 * lo-utils.h (octave_w32_library_search): Declaration. | |
2259 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2260 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2261 | |
5442 | 2262 2005-09-07 John W. Eaton <jwe@octave.org> |
2263 | |
2264 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2265 based on current code in Bash. Handle a few more escape | |
2266 sequences. Do a better job of decoding \W. | |
2267 | |
5438 | 2268 2005-09-04 David Bateman <dbateman@free.fr> |
2269 | |
2270 * COLAMD: Update version of colamd to v2.4. | |
2271 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2272 colamd.c for long version. | |
2273 | |
5429 | 2274 2005-08-25 David Bateman <dbateman@free.fr> |
2275 | |
2276 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2277 mixed sparse/full multiply. | |
2278 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2279 mixed sparse/full multiply. | |
2280 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2281 mixed sparse/full multiply operators. | |
2282 | |
5420 | 2283 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2284 | |
2285 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2286 avoid warnings for unsigned types. | |
2287 | |
5404 | 2288 2005-07-07 John W. Eaton <jwe@octave.org> |
2289 | |
2290 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2291 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2292 | |
5392 | 2293 2005-06-15 John W. Eaton <jwe@octave.org> |
2294 | |
5394 | 2295 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2296 Flush stdout here. | |
2297 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2298 | |
5392 | 2299 * Array.h (Array::resize): Change int args to octave_idx_type. |
2300 | |
5386 | 2301 2005-06-14 John W. Eaton <jwe@octave.org> |
2302 | |
5389 | 2303 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2304 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2305 octave_is_NaN_or_NA to xisnan. | |
2306 | |
2307 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2308 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2309 | |
2310 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2311 lo_ieee_isnan. | |
2312 | |
5387 | 2313 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2314 value is greater than FLT_MAX. | |
2315 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2316 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2317 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2318 | |
2319 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2320 values too. | |
2321 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2322 | |
2323 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2324 NA, Inf values. | |
2325 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2326 |
5385 | 2327 2005-06-14 David Bateman <dbateman@free.fr> |
2328 | |
5387 | 2329 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2330 NA values. | |
2331 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2332 |
5379 | 2333 2005-06-02 John W. Eaton <jwe@octave.org> |
2334 | |
2335 * Array.cc (assignN): Try harder to correctly resize previously | |
2336 empty LHS. | |
2337 | |
5351 | 2338 2005-05-16 David Bateman <dbateman@free.fr> |
2339 | |
2340 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2341 * CSparse.h: ditto. | |
2342 | |
5346 | 2343 2005-05-10 David Bateman <dbateman@free.fr> |
2344 | |
2345 * dSparse.cc (determinant): Free numeric factorization after | |
2346 sucessful calculation. | |
2347 * CSparse.cc (determinant): ditto. | |
2348 | |
5340 | 2349 2005-05-06 John W. Eaton <jwe@octave.org> |
2350 | |
2351 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2352 chol_mat. | |
2353 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2354 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2355 Provide decls. | |
2356 | |
2357 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2358 indexing chol_mat. | |
2359 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2360 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2361 Provide decls. | |
2362 | |
5338 | 2363 2005-05-05 John W. Eaton <jwe@octave.org> |
2364 | |
2365 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2366 retval before return. | |
2367 | |
5336 | 2368 2005-05-04 John W. Eaton <jwe@octave.org> |
2369 | |
2370 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2371 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2372 | |
5330 | 2373 2005-05-02 John W. Eaton <jwe@octave.org> |
2374 | |
2375 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2376 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2377 | |
5322 | 2378 2005-04-29 David Bateman <dbateman@free.fr> |
2379 | |
5330 | 2380 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2381 double. Correct indexing for upper diagonal elements for sparse | |
2382 tridiagonal. | |
5322 | 2383 * CSparse.cc (trisolve): ditto. |
2384 | |
5330 | 2385 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2386 UMFPACK for 64-bit. | |
5322 | 2387 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2388 UMFPACK_ZNAME(*). | |
2389 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2390 | |
5330 | 2391 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2392 UMFPACK for 64-bit. | |
5322 | 2393 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2394 UMFPACK_DNAME(*). | |
2395 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2396 | |
5330 | 2397 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2398 triangular back/forward substitution code. | |
5322 | 2399 * CSparse.cc (ltsolve, utsolve): ditto. |
2400 | |
5330 | 2401 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2402 from spparms("spumoni",1). | |
5322 | 2403 * CSparse.cc (solve): ditto |
2404 | |
5330 | 2405 * SparseType.cc (SparseType(void)): Print info for |
2406 spparms("spumoni",1). | |
5322 | 2407 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2408 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2409 const octave_idx_type, const octave_idx_type)): New constructors. | |
2410 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2411 Detect row permuted lower triangular and column permuted upper |
2412 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2413 |
2414 * SparseType.h: Simplify the permutation code. | |
2415 (SparseType(const matrix_type), SparseType | |
2416 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2417 SparseType(const matrix_type, const octave_idx_type, | |
2418 const octave_idx_type)): Declarations. | |
2419 | |
5304 | 2420 2005-04-25 John W. Eaton <jwe@octave.org> |
2421 | |
2422 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2423 array and its contents. | |
2424 | |
5303 | 2425 2005-04-22 John W. Eaton <jwe@octave.org> |
2426 | |
2427 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2428 const here now that rl_terminal_name is declared const char*. | |
2429 | |
5294 | 2430 2005-04-21 John W. Eaton <jwe@octave.org> |
2431 | |
2432 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2433 | |
5285 | 2434 2005-04-19 John W. Eaton <jwe@octave.org> |
2435 | |
2436 * Array.cc (assignN): Don't crash if the index list is empty. | |
2437 | |
5282 | 2438 2005-04-14 David Bateman <dbateman@free.fr> |
2439 | |
2440 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2441 * SparsedbleLU.cc: Ditto. | |
2442 * SparseCmplxLU.h: Definition. | |
2443 * SparsedbleLU.h: ditto. | |
2444 | |
2445 * SparseType.cc (transpose): New function. | |
2446 * SparseType.h (transpose): Definition. | |
2447 | |
5278 | 2448 2005-04-11 John W. Eaton <jwe@octave.org> |
2449 | |
2450 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2451 fortran code that could end up calling XSTOPX. | |
2452 | |
5277 | 2453 2005-04-10 David Bateman <dbateman@free.fr> |
2454 | |
2455 * Makefile.in: include oct-types in INCLUDES so that it is | |
2456 installed | |
2457 | |
5275 | 2458 2005-04-08 John W. Eaton <jwe@octave.org> |
2459 | |
5276 | 2460 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2461 | |
5275 | 2462 * Initial merge of 64-bit changes from Clinton Chee: |
2463 | |
2464 2005-04-07 John W. Eaton <jwe@octave.org> | |
2465 | |
2466 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2467 | |
2468 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2469 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2470 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2471 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2472 Use octave_idx_type instead of int where needed. | |
2473 | |
2474 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2475 | |
2476 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2477 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2478 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2479 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2480 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2481 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2482 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2483 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2484 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2485 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2486 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2487 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2488 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2489 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2490 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2491 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2492 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2493 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2494 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2495 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2496 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2497 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2498 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2499 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2500 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2501 str-vec.cc, str-vec.h: | |
2502 Use octave_idx_type instead of int where needed. | |
2503 | |
2504 2005-04-01 John W. Eaton <jwe@octave.org> | |
2505 | |
2506 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2507 | |
2508 * oct-types.h.in: New file. | |
2509 | |
2510 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2511 | |
2512 * lo-utils.cc (NINTbig): New function. | |
2513 * lo-utils.h: Provide decl. | |
2514 | |
5269 | 2515 2005-04-06 David Bateman <dbateman@free.fr> |
2516 | |
2517 * Makefile.in: Link to UMFPACK_LIBS. | |
2518 | |
5265 | 2519 2005-04-05 John W. Eaton <jwe@octave.org> |
2520 | |
2521 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2522 | |
5264 | 2523 2005-04-01 John W. Eaton <jwe@octave.org> |
2524 | |
2525 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2526 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2527 when resizing A. When performing the assignment, just check that | |
2528 the number of elements in RHS matches the number of elements | |
2529 indexed by IDX-LIST. | |
2530 | |
5260 | 2531 2005-03-30 John W. Eaton <jwe@octave.org> |
2532 | |
5261 | 2533 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2534 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2535 | |
2536 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2537 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2538 wrappers from oct-cmplx.h. | |
5260 | 2539 |
2540 * oct-cmplx.h: Provide typedef only. | |
2541 | |
2542 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2543 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2544 Likewise. | |
2545 | |
5247 | 2546 2005-03-26 John W. Eaton <jwe@octave.org> |
2547 | |
2548 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2549 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2550 | |
5209 | 2551 2005-03-15 John W. Eaton <jwe@octave.org> |
2552 | |
2553 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2554 | |
5203 | 2555 2005-03-14 John W. Eaton <jwe@octave.org> |
2556 | |
2557 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2558 (DISTDIRS): Don't include UMFPACK. | |
2559 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2560 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2561 flags for these files. | |
2562 Don't include include $(srcdir)/UMFPACK.files. | |
2563 Don't include include $(srcdir)/UMFPACK.rules. | |
2564 | |
2565 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2566 Delete files. | |
2567 * UMFPACK: Delete directory tree. | |
2568 | |
2569 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2570 * CSparse.cc: Likewise. | |
2571 * SparsedbleLU.cc: Likewise. | |
2572 * SparseCmplxLU.cc: Likewise. | |
2573 | |
2574 2005-03-14 David Bateman <dbateman@free.org> | |
2575 | |
2576 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2577 Allow compilation to succeed if UMFPACK is not available. | |
2578 | |
5196 | 2579 2005-03-09 John W. Eaton <jwe@octave.org> |
2580 | |
2581 * Makefile.in (bin-dist): Delete target. | |
2582 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2583 | |
5173 | 2584 2005-03-01 John W. Eaton <jwe@octave.org> |
2585 | |
2586 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2587 * Makefile.in: Remove them from the lists. | |
2588 | |
5169 | 2589 2005-02-28 John W. Eaton <jwe@octave.org> |
2590 | |
2591 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2592 | |
5167 | 2593 2005-02-27 David Bateman <dbateman@free.org> |
2594 | |
5169 | 2595 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2596 in the sparse matrix. | |
5167 | 2597 |
5164 | 2598 2005-02-25 John W. Eaton <jwe@octave.org> |
2599 | |
2600 Sparse merge. | |
2601 | |
2602 2005-02-13 David Bateman <dbateman@free.fr> | |
2603 | |
2604 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2605 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2606 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2607 solver into separate functions for the diagonal, upper, lower | |
2608 triangular, tridiagonal, banded and full cases. | |
2609 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2610 version that probes the matrix type and another that assumes the type | |
2611 is passed. | |
2612 | |
2613 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2614 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2615 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2616 (SparseMatrix::solve): Likewise | |
2617 | |
2618 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2619 Declaration of new functions | |
2620 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2621 Likewise | |
2622 | |
2623 * CSparse.cc (operator !): Reverse the sense of the test. | |
2624 * dSpase.cc (operator !): Likewise | |
2625 | |
2626 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2627 triangular_col_perm, sparse_info): Remove matrix type code | |
2628 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2629 triangular_col_perm, sparse_info): Likewise | |
2630 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2631 triangular_col_perm, sparse_info): Likewise | |
2632 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2633 triangular_col_perm, sparse_info): Likewise | |
2634 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2635 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2636 | |
2637 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2638 | |
2639 * SparseType.h: New class for the matrix type used in solvers | |
2640 * SparseType.cc: methods of sparse matrix type class | |
2641 | |
2642 * Makefile.in: Add SparseType.cc | |
2643 | |
2644 2005-02-01 David Bateman <dbateman@free.fr> | |
2645 | |
2646 * UMFPACK: Update to version 4.4 | |
2647 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2648 keep octave specific test files | |
2649 | |
2650 2005-01-23 David Bateman <dbateman@free.fr> | |
2651 | |
2652 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2653 tridiagonal and banded cholesky solvers. Remove calculation of | |
2654 condition number for banded solvers. | |
2655 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2656 | |
2657 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2658 new functions. | |
2659 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2660 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2661 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2662 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2663 ditto | |
2664 | |
2665 * Sparse.cc (int Sparse<T>::type (int) const, | |
2666 bool Sparse<T>::is_dense (void) const): New functions definition | |
2667 | |
2668 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2669 so it actually is cached, but disable | |
2670 | |
2671 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2672 for compatiability | |
2673 | |
2674 2005-01-18 David Bateman <dbateman@free.fr> | |
2675 | |
2676 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2677 Modify calculation of number elements to skip between copied blocks. | |
2678 | |
2679 2005-01-07 David Bateman <dbateman@free.fr> | |
2680 | |
2681 * Sparse.h : Reverse definitions of numel and nelem. | |
2682 * Sparse.cc (assign1): Use numel and not nelem | |
2683 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2684 | |
2685 2005-01-07 David Bateman <dbateman@free.fr> | |
2686 | |
2687 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2688 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2689 ComplexDET | |
2690 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2691 by DET | |
2692 * dSparse.h (determinant): ditto | |
2693 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2694 SparseComplexDET by ComplexDET | |
2695 * CSparse.h (determinant): ditto | |
2696 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2697 SparseCmplxDET.cc: delete files | |
2698 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2699 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2700 | |
2701 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2702 local variable to avoid variable shadowing. | |
2703 * dSparse.cc (SparseMatrix::solve): ditto. | |
2704 | |
2705 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2706 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2707 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2708 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2709 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2710 sparse-sort.h: Remove additional licensing clause with authors | |
2711 permission. | |
2712 | |
2713 2004-12-30 John W. Eaton <jwe@octave.org> | |
2714 | |
2715 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2716 Loop counter is int, not size_t. | |
2717 | |
2718 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2719 | |
2720 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2721 | |
2722 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2723 Delete unused variables. | |
2724 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2725 variables and variables that might be clobbered by longjmp. | |
2726 | |
2727 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2728 min, max): Delete unused variables. | |
2729 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2730 variables and variables that might be clobbered by longjmp. | |
2731 | |
2732 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2733 | |
2734 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
2735 Loop counter is int, not size_t. | |
2736 | |
2737 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
2738 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
2739 | |
2740 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
2741 lists consistently. | |
2742 | |
2743 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
2744 | |
2745 2004-12-29 John W. Eaton <jwe@octave.org> | |
2746 | |
2747 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
2748 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
2749 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
2750 $(UMFPACK_EXTRAS) to the list. | |
2751 (DISTDIRS): New variable. | |
2752 (dist): Handle $(DISTDIRS). | |
2753 | |
2754 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
2755 Andy Adler <adler@site.uottawa.ca>. | |
2756 | |
2757 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
2758 | |
2759 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
2760 without directory prefix. | |
2761 | |
2762 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
2763 $(UMFPACK_OBJ) to the list. | |
2764 | |
2765 * COLAMD: New directory. | |
2766 * COLAMD.files: New file. | |
2767 * Makefile.in: Include COLAMD.files. | |
2768 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
2769 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
2770 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
2771 | |
2772 * UMFPACK: New directory. | |
2773 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
2774 New files. | |
2775 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
2776 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
2777 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
2778 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
2779 | |
2780 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
2781 (INCLUDES): Add it to the list. | |
2782 (SPARSE_MX_OP_SRC): New variable. | |
2783 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
2784 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2785 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2786 | |
2787 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
2788 * Makefile.in (DISTFILES): Add them to the lists. | |
2789 | |
2790 * oct-spparms.h, sparse-sort.h: New files. | |
2791 * Makefile.in (INCLUDES): Add them to the list. | |
2792 | |
2793 * oct-spparms.cc, sparse-sort.cc: New files. | |
2794 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
2795 | |
2796 * sparse-base-lu.cc: New file. | |
2797 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
2798 | |
2799 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
2800 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
2801 SparsedbleLU.cc: New files. | |
2802 * Makefile.in (MATRIX_SRC): Add them to the list. | |
2803 | |
2804 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
2805 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
2806 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
2807 Sparse-op-defs.h: New files. | |
2808 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
2809 | |
2810 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
2811 Sparse-C.cc: New files. | |
2812 * Makefile.in (TI_SRC): Add them to the list. | |
2813 | |
5149 | 2814 2005-02-18 John W. Eaton <jwe@octave.org> |
2815 | |
2816 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
2817 Pass current directory to octave_env::make_absolute. | |
2818 Save value returned from octave_env::make_absolute in local var. | |
2819 Pass const char*, not std::string as first arg of resolvepath. | |
2820 Provide decl for resolved_len. | |
2821 | |
5148 | 2822 2005-02-18 John W. Eaton <jwe@octave.org> |
2823 | |
2824 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
2825 than number of dimenensions of permuted matrix. | |
2826 | |
2827 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
2828 * Array-util.cc (calc_permutated_idx): Likewise. | |
2829 | |
5139 | 2830 2005-02-10 David Bateman <dbateman@free.fr> |
2831 | |
2832 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
2833 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
2834 | |
5137 | 2835 2005-02-09 John W. Eaton <jwe@octave.org> |
2836 | |
5138 | 2837 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
2838 * file-ops.h: Provide decls. | |
2839 | |
5137 | 2840 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
2841 | |
5136 | 2842 2005-02-08 John W. Eaton <jwe@octave.org> |
2843 | |
2844 * Array-util.cc (freeze): Improve error message. | |
2845 | |
5120 | 2846 2005-01-26 David Bateman <dbateman@free.fr> |
2847 | |
5121 | 2848 * Array.cc (Array<T>::insert): Handle generic case, not just |
2849 special case for fast concatenation. | |
5120 | 2850 |
5110 | 2851 2005-01-18 John W. Eaton <jwe@octave.org> |
2852 | |
2853 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
2854 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
2855 | |
2856 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
2857 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
2858 | |
5108 | 2859 2005-01-18 David Bateman <dbateman@free.fr> |
2860 | |
2861 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2862 Modify calculation of number elements to skip between copied blocks. | |
2863 | |
2864 2005-01-18 John W. Eaton <jwe@octave.org> | |
2865 | |
2866 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
2867 error handler, to warn about resizing. | |
2868 | |
5105 | 2869 2004-12-27 Martin Dalecki <martin@dalecki.de> |
2870 | |
2871 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
2872 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
2873 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
2874 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2875 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
2876 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
2877 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
2878 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
2879 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
2880 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
2881 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
2882 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
2883 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
2884 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
2885 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
2886 Delete #pragma implementation. | |
2887 | |
2888 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
2889 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
2890 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
2891 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
2892 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
2893 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
2894 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
2895 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
2896 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
2897 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2898 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
2899 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
2900 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
2901 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
2902 Delete #pragma interface. | |
2903 | |
5098 | 2904 2004-12-17 John W. Eaton <jwe@octave.org> |
2905 | |
2906 * lo-cieee.c (lo_ieee_signbit): New function. | |
2907 * lo-ieee.h: Provide decl. | |
2908 Don't define lo_ieee_signbit as a macro here. | |
2909 From Orion Poplawski <orion@cora.nwra.com>. | |
2910 | |
5085 | 2911 2004-11-18 John W. Eaton <jwe@octave.org> |
2912 | |
2913 * int32NDArray.cc (pow): Delete instantiation. | |
2914 * int16NDArray.cc (pow): Likewise. | |
2915 * int8NDArray.cc (pow): Likewise. | |
2916 * uint32NDArray.cc (pow): Likewise. | |
2917 * uint16NDArray.cc (pow): Likewise. | |
2918 * uint8NDArray.cc (pow): Likewise. | |
2919 | |
5081 | 2920 2004-11-17 John W. Eaton <jwe@octave.org> |
2921 | |
5085 | 2922 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
2923 Now static. | |
2924 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
2925 DEFAULT_TEXMFDBS): Delete unused macros. | |
2926 | |
5081 | 2927 * Array.cc (Array<T>::index): Call generic N-d indexing function |
2928 if idx_arg is N-d. | |
2929 | |
5073 | 2930 2004-11-09 David Bateman <dbateman@free.fr> |
2931 | |
2932 * dNDArray.cc (concat): Delete. | |
2933 (NDArray::concat): New methods. | |
2934 * dNDArray.h: Provide decls. | |
2935 | |
2936 * CNDArray.cc (concat): Delete. | |
2937 (ComplexNDArray::concat): New methods. | |
2938 * CNDArray.h: Provide decls. | |
2939 | |
2940 * boolNDArray.cc (concat): Delete. | |
2941 (boolNDArray::concat): New methods. | |
2942 * boolNDArray.h: Provide decls. | |
2943 | |
2944 * chNDArray.cc (concat): Delete. | |
2945 (charNDArray::concat): New methods. | |
2946 * chNDArray.h: Provide decls. | |
2947 | |
2948 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
2949 Delete macros. | |
2950 | |
2951 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2952 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2953 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
2954 | |
2955 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2956 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2957 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
2958 | |
2959 * intNDArray.cc (intNDArray<T>::concat): New method. | |
2960 * intNDArray.h: Provide decl. | |
2961 | |
5072 | 2962 2004-11-08 John W. Eaton <jwe@octave.org> |
2963 | |
2964 * oct-inttypes.cc: New file. | |
2965 * Makefile.in (TI_SRC): Add it to the list. | |
2966 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
2967 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
2968 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
2969 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
2970 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
2971 New macros for comparison operations. Avoid potential | |
2972 problems with default conversions when comparing signed and | |
2973 unsigned values. | |
2974 | |
5061 | 2975 2004-11-03 John W. Eaton <jwe@octave.org> |
2976 | |
2977 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
2978 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
2979 | |
5052 | 2980 2004-10-19 John W. Eaton <jwe@octave.org> |
2981 | |
2982 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
2983 | |
5047 | 2984 2004-10-18 John W. Eaton <jwe@octave.org> |
2985 | |
2986 * Array.cc (assign2): Save result of squeeze operation. | |
2987 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
2988 | |
5095 | 2989 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 2990 |
2991 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
2992 flag whether transform in- or out-of-place. | |
2993 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
2994 (octave_fftw_planner::create_plan): Use it. | |
2995 | |
5039 | 2996 2004-09-24 John W. Eaton <jwe@octave.org> |
2997 | |
2998 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
2999 any empty matrix, not just []. | |
3000 | |
5030 | 3001 2004-09-23 John W. Eaton <jwe@octave.org> |
3002 | |
3003 * mx-ops: Include scalar zero value in type definitions. | |
3004 Delete zero information from ops section. | |
3005 * mk-ops.awk: Use type-specific zero info. | |
3006 | |
3007 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3008 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3009 LHS and RHS. | |
3010 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3011 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3012 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3013 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3014 | |
3015 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3016 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3017 tree_to_mat_idx. | |
3018 | |
3019 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3020 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3021 Likewise for the "if (b_val & one)" test. | |
3022 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3023 | |
5029 | 3024 2004-09-23 David Bateman <dbateman@free.fr> |
3025 | |
3026 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3027 New macros. Use them to define mixed intX-double and double-intX ops. | |
3028 | |
5021 | 3029 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3030 | |
3031 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3032 Fix doc string layout to avoid overfull hbox in printed output. | |
3033 | |
5015 | 3034 2004-09-21 John W. Eaton <jwe@octave.org> |
3035 | |
3036 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3037 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3038 For "native", set actual native format. | |
3039 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3040 | |
5008 | 3041 2004-09-17 David Bateman <dbateman@free.fr> |
3042 | |
3043 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3044 calculation of the unitary matrix optional. | |
3045 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3046 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3047 | |
4998 | 3048 2004-09-15 David Bateman <dbateman@free.fr> |
3049 | |
3050 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3051 New function to set the comparison function for the sort. | |
3052 | |
4985 | 3053 2004-09-10 John W. Eaton <jwe@octave.org> |
3054 | |
3055 * lo-mappers.cc (xround): Fix typo. | |
3056 | |
4979 | 3057 2004-09-08 John W. Eaton <jwe@octave.org> |
3058 | |
3059 * Array.h (Array::~Array): Declare virtual. | |
3060 | |
3061 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3062 initializaion list. Don't set rep->count since the rep | |
3063 constructor does that. | |
3064 | |
4968 | 3065 2004-09-07 John W. Eaton <jwe@octave.org> |
3066 | |
4970 | 3067 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3068 (oct_data_conv::data_type_as_string): Likewise. | |
3069 | |
3070 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3071 | |
4968 | 3072 * Range.cc (round): Delete unused function. |
3073 | |
3074 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3075 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3076 | |
3077 * oct-inttypes.h: Include <cmath> here. | |
3078 | |
4964 | 3079 2004-09-03 David Bateman <dbateman@free.fr> |
3080 | |
3081 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3082 New functions for boolean matrix concatenation. | |
3083 * boolNDArray.h: Provide decls. | |
3084 | |
4963 | 3085 2004-09-03 John W. Eaton <jwe@octave.org> |
3086 | |
4964 | 3087 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3088 to avoid signed/unsigned int comparison problems. | |
3089 | |
3090 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3091 for mixed integer and double types. | |
3092 | |
3093 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3094 separately, and only if needed. | |
3095 | |
4963 | 3096 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3097 static_cast for type conversion. | |
3098 | |
4953 | 3099 2004-09-01 John W. Eaton <jwe@octave.org> |
3100 | |
3101 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3102 operator /): Handle mixed integer/double ops. If op generates a | |
3103 NaN, set result to 0. | |
3104 (octave_int::operator - (void)): Convert to double, then negate, | |
3105 then fit to range. | |
3106 | |
3107 * mx-ops: Define integer types. Include declarations for mixed | |
3108 integer/double ops. | |
3109 | |
4952 | 3110 2004-08-31 John W. Eaton <jwe@octave.org> |
3111 | |
3112 * oct-inttypes.h (pow): Args now const reference. | |
3113 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3114 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3115 New member functions. | |
3116 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3117 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3118 Define in terms of >>=. | |
3119 (operator << (const octave_int<T1>& x, const T2& y)): | |
3120 Define in terms of <<=. | |
3121 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3122 we get proper saturation properties. | |
3123 | |
3124 2004-08-31 David Bateman <dbateman@free.fr> | |
3125 | |
3126 * oct-inttypes.h (pow (constT, T)): New template. | |
3127 | |
3128 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3129 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3130 | |
4949 | 3131 2004-08-31 John W. Eaton <jwe@octave.org> |
3132 | |
3133 * oct-inttypes.h (octave_int::byte_size): New function. | |
3134 | |
4944 | 3135 2004-08-31 John W. Eaton <jwe@octave.org> |
3136 | |
4946 | 3137 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3138 | |
4944 | 3139 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3140 Explicitly number enum elements. | |
3141 | |
3142 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3143 std::string&, int&, oct_data_conv::data_type&, | |
3144 oct_data_conv::data_type&)): New function. | |
3145 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3146 oct_data_conv::data_type&)): New function. | |
3147 (oct_data_conv::data_type_as_string): New function. | |
3148 | |
3149 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3150 (write_int, do_write, Matrix::write): Delete. | |
3151 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3152 | |
3153 * byte-swap.h: Use template functions and specialization. | |
3154 Change all uses. | |
3155 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3156 | |
4943 | 3157 2004-08-30 John W. Eaton <jwe@octave.org> |
3158 | |
3159 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3160 specializations to avoid warnings about signed/unsigned comparisons. | |
3161 | |
3162 2004-08-28 John W. Eaton <jwe@octave.org> | |
3163 | |
3164 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3165 size_t, int, oct_mach_info::float_format)): New function. | |
3166 (GET_SIZED_INT_TYPE): New macro. | |
3167 (string_to_data_type): Use it to return sized types corresponding | |
3168 to Octave array data types. | |
3169 (strip_spaces): New function. | |
3170 (do_double_format_conversion, do_float_format_conversion): Pass | |
3171 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3172 float format. | |
3173 (do_double_format_conversion, | |
3174 IEEE_big_double_to_IEEE_little_double, | |
3175 VAX_D_double_to_IEEE_little_double, | |
3176 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3177 IEEE_little_double_to_IEEE_big_double, | |
3178 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3179 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3180 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3181 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3182 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3183 Cray_to_VAX_G_double): | |
3184 Pass data as void*, not double*. | |
3185 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3186 VAX_D_float_to_IEEE_little_float, | |
3187 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3188 IEEE_little_float_to_IEEE_big_float, | |
3189 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3190 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3191 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3192 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3193 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3194 Cray_to_VAX_G_float): | |
3195 Pass data as void*, not float*. | |
3196 | |
3197 2004-08-27 John W. Eaton <jwe@octave.org> | |
3198 | |
3199 * byte-swap.h (swap_bytes): New template versions, with | |
3200 specializations. | |
3201 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3202 Change all uses. | |
3203 | |
4940 | 3204 2004-08-24 David Bateman <dbateman@free.fr> |
3205 | |
3206 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3207 empty instead of checking final matrix. | |
3208 * dNDArray.cc (concat): Likewise. | |
3209 * CNDArray.cc (concat): Likewise. | |
3210 | |
3211 2004-08-23 David Bateman <dbateman@free.fr> | |
3212 | |
3213 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3214 non-existent dimensions. | |
3215 | |
4938 | 3216 2004-08-09 John W. Eaton <jwe@octave.org> |
3217 | |
3218 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3219 (const octave_int<U>&)): New member function. | |
3220 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3221 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3222 Now member functions instead of static in idx-vector.cc. | |
3223 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3224 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3225 New template constructors. | |
3226 | |
4932 | 3227 2004-08-05 John W. Eaton <jwe@octave.org> |
3228 | |
4933 | 3229 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3230 | |
4932 | 3231 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3232 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3233 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3234 | |
4929 | 3235 2004-08-03 John W. Eaton <jwe@octave.org> |
3236 | |
3237 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3238 arrays with more than two dimensions and only one non-singleton | |
3239 dimension, return a column vector. | |
3240 | |
4921 | 3241 2004-07-28 John W. Eaton <jwe@octave.org> |
3242 | |
3243 * oct-cmplx.h (pow (const Complex&, const double&): | |
3244 Convert second arg to complex to avoid libstdc++ bug. | |
3245 | |
4920 | 3246 2004-07-27 John W. Eaton <jwe@octave.org> |
3247 | |
3248 * oct-inttypes.h (bitshift): New arg, MASK. | |
3249 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3250 | |
4916 | 3251 2004-07-23 John W. Eaton <jwe@octave.org> |
3252 | |
3253 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3254 | |
4915 | 3255 2004-07-23 David Bateman <dbateman@free.fr> |
3256 | |
3257 * Array.cc, Array.h (cat_ra): Delete. | |
3258 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3259 (INSTANTIATE_ARRAY_CAT): Delete. | |
3260 | |
3261 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3262 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3263 | |
3264 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3265 | |
3266 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3267 chNDArray.h (concat): New function used for concatenation that does | |
3268 an indexed copy of one array into another. | |
3269 | |
3270 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3271 | |
3272 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3273 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3274 insertion of one NDArray into another. | |
3275 | |
3276 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3277 macros to define the int/uint concatenation functions. | |
3278 | |
3279 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3280 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3281 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3282 | |
3283 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3284 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3285 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3286 functions. | |
3287 | |
4911 | 3288 2004-07-22 David Bateman <dbateman@free.fr> |
3289 | |
3290 * oct-sort.h: Don't include oct-obj.h. | |
3291 | |
3292 * lo-specfun.cc (is_integer_value): New function. | |
3293 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3294 integer orders that cause overflow for small arguments. | |
3295 | |
4909 | 3296 2004-07-12 John W. Eaton <jwe@octave.org> |
3297 | |
3298 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3299 (bitshift (const octave_int<T>&, int)): New function. | |
3300 | |
4902 | 3301 2004-06-14 John W. Eaton <jwe@octave.org> |
3302 | |
3303 * mx-base.h: Include headers for new int types. | |
3304 | |
3305 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3306 NDArray::NDArray (const charNDArray&)): Delete. | |
3307 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3308 constructor. | |
3309 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3310 | |
3311 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3312 return type conversion. | |
3313 | |
3314 * ComplexNDArray.h, ComplexNDArray.cc | |
3315 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3316 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3317 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3318 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3319 | |
3320 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3321 | |
3322 * MArrayN.h: | |
3323 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3324 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3325 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3326 New constructors. | |
3327 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3328 ArrayN<T>::squeeze): | |
3329 New forwarding functions for return type conversion. | |
3330 | |
3331 * ArrayN.h: | |
3332 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3333 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3334 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3335 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3336 const dim_vector&)): New constructors. | |
3337 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3338 ArrayN<T>::transpose): | |
3339 New forwarding functions for return type conversion. | |
3340 | |
3341 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3342 New constructor. | |
3343 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3344 | |
3345 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3346 | |
3347 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3348 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3349 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3350 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3351 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3352 * Makefile.in: Add them to the appropriate lists. | |
3353 | |
4899 | 3354 2004-06-04 John W. Eaton <jwe@octave.org> |
3355 | |
3356 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3357 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3358 resize op. Change all uses. | |
3359 | |
4898 | 3360 2004-06-03 David Bateman <dbateman@free.fr> |
3361 | |
3362 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3363 greater than the existing number of dimensions in lvalue. | |
3364 | |
4887 | 3365 2004-04-30 David Bateman <dbateman@free.fr> |
3366 | |
3367 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3368 New arg, fill_value. | |
3369 (dim_vector::resize): Allow optional fill_value argument. | |
3370 | |
3371 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3372 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3373 more than one element in idx_vector. Resize the return value to | |
3374 the size of Array<idx_vector>. | |
3375 | |
3376 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3377 idx_vector that is shorter than a dim_vector. | |
3378 | |
4882 | 3379 2004-04-23 John W. Eaton <jwe@octave.org> |
3380 | |
3381 * oct-sort.cc: Don't include oct-obj.h. | |
3382 | |
4876 | 3383 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3384 | |
3385 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3386 Don't set invalid dimensions on return value. | |
3387 | |
4871 | 3388 2004-04-21 John W. Eaton <jwe@octave.org> |
3389 | |
3390 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3391 | |
4850 | 3392 2004-04-06 David Bateman <dbateman@free.fr> |
3393 | |
4870 | 3394 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3395 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3396 Make their behavior equivalent except for filling vs. not filling. | |
3397 | |
4850 | 3398 * oct-sort.cc: New template class for arbitrary sorting. |
3399 * oct-sort.h: Declaration of sort class. | |
3400 * Makefile: Add them to the appropriate lists. | |
3401 | |
4845 | 3402 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3403 | |
3404 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3405 | |
4844 | 3406 2004-04-02 David Bateman <dbateman@free.fr> |
3407 | |
3408 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3409 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3410 New N-d array versions. |
4844 | 3411 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3412 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3413 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3414 | |
3415 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3416 New functions. | |
3417 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3418 | |
3419 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3420 New functions. | |
3421 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3422 Provide decls. | |
3423 | |
4842 | 3424 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3425 | |
3426 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3427 work vector, not just when using a numerical Jacobian. | |
3428 | |
4834 | 3429 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3430 | |
4835 | 3431 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3432 Omit empty result args. | |
3433 | |
4834 | 3434 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3435 Move here from Array.h, check that size of array arg is not | |
3436 smaller than the size defined by the new dimensions. | |
3437 | |
4832 | 3438 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3439 | |
3440 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3441 a scalar or vector with an N-d array. | |
3442 | |
4826 | 3443 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3444 | |
4828 | 3445 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3446 matrix, return object that is the same size as the index. | |
3447 | |
4826 | 3448 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3449 Eliminate MT_RESULT args. Return value is always size of args. | |
3450 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3451 Eliminate EMPTY_RESULT arg. | |
3452 Return value is always size of matrix or N-d array arg. | |
3453 (TBM, FBM, NBM): Delete unused macros. | |
3454 | |
4821 | 3455 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3456 | |
3457 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3458 if all LHS dimensions are zero. For one index case, freeze and | |
3459 sort idx_vec before checking length, and do nothing if | |
3460 num_to_delete is zero. | |
4822 | 3461 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3462 |
4816 | 3463 2004-03-04 David Bateman <dbateman@free.fr> |
3464 | |
3465 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3466 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3467 | |
4811 | 3468 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3469 | |
3470 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3471 element. | |
3472 | |
3473 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3474 | |
3475 * Range.h (Range::Range): Add cache to member initialization list. | |
3476 (Range::clear_cache): New private function. | |
3477 | |
3478 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3479 Use clear cache. Don't do anything if range does not change. | |
3480 * Range.cc (Range::sort): Likewise. | |
3481 | |
4810 | 3482 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3483 | |
3484 * Range.cc (Range::matrix_value): Cache result. | |
3485 (Range::sort): Clear cache. | |
3486 * Range.h (Range::cache): New data member. | |
3487 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3488 (Range::print_range): Delete. | |
4808 | 3489 |
3490 2004-03-02 David Bateman <dbateman@free.fr> | |
3491 | |
3492 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3493 changes between them. Faster for small fft's. | |
3494 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3495 New member variables. | |
3496 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3497 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3498 Change all uses. | |
3499 (CHECK_SIMD_ALIGNMENT): New macro. | |
3500 (octave_fftw_planner::create_plan): Use it. | |
3501 | |
4806 | 3502 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3503 | |
3504 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3505 | |
3506 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3507 | |
3508 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3509 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3510 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3511 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3512 | |
3513 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3514 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3515 | |
4800 | 3516 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3517 | |
4802 | 3518 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3519 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3520 octave_rl_get_event_hook): Omit casts. | |
3521 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3522 Return value for function pointer typedef is now int. | |
3523 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3524 command_editor::event_hook_fcn): Likewise. | |
3525 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3526 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3527 Return type is now int. Return 0. | |
3528 | |
4800 | 3529 * EIG.cc (EIG::init, EIG::symmetric_init): |
3530 Query Lapack for workspace size. | |
3531 | |
4796 | 3532 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3533 | |
3534 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3535 Fix thinko in extending dimensions. | |
3536 | |
4791 | 3537 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3538 | |
3539 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3540 Don't compute values beyond the limits of the range. | |
3541 (operator << (std::ostream&, const Range&)): Likewise. | |
3542 | |
4786 | 3543 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3544 | |
4788 | 3545 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3546 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3547 From Paul Kienzle <pkienzle@users.sf.net>. | |
3548 | |
4786 | 3549 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3550 Rename from Array<T>::insert. | |
3551 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3552 Reinstate old Array<T>::insert function under this name. | |
3553 (Array<T>::insert (const Array<T>&, int, int)): | |
3554 New function. Dispatch to insert2 or insertN as appropriate. | |
3555 | |
4785 | 3556 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3557 | |
3558 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3559 Sprinkle with OCTAVE_QUIT. | |
3560 | |
5095 | 3561 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3562 |
3563 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3564 Add support for FFTW 3.x. Include the ability to | |
3565 use the real to complex transform for fft's of real matrices | |
3566 (octave_fftw_planner::create_plan2d): Delete. | |
3567 (octave_fftw::fft2d): Delete. | |
3568 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3569 New static functions. | |
3570 * oct-fftw.h: Update decls. | |
3571 | |
3572 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3573 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3574 transforms. 1D FFT of a matrix done as single call rather than | |
3575 loop. Update for FFTW 3.x | |
3576 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3577 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3578 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3579 | |
3580 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3581 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3582 functions for Nd arrays. | |
3583 * dNArray.h Provide decls. | |
3584 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3585 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3586 fourier transform functions for complex Nd arrays. | |
3587 * CNArray.h: Provide decls. | |
3588 | |
4765 | 3589 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3590 | |
3591 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3592 Make it work for N-d arrays. | |
3593 | |
3594 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3595 New function. | |
3596 | |
3597 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3598 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3599 New functions. | |
3600 * CNDArray.h: Provide decls. | |
3601 | |
4759 | 3602 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3603 | |
4760 | 3604 * Makefile.in (LINK_DEPS): Always define. |
3605 | |
4759 | 3606 * Array.cc (Array<T>::squeeze): Always return an array with at |
3607 least two dimensions. | |
3608 | |
4758 | 3609 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3610 | |
3611 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3612 * dNDArray.cc (NDArray::cat): New function. | |
3613 * dNDArray.h: Provide decls. | |
3614 * CNDArray.cc (complexNDArray::cat): New function. | |
3615 * CNDArray.h: Provide decls. | |
3616 * chNDArray.cc (charNDArray::cat): New function. | |
3617 * chNDArray.h: Provide decls. | |
3618 | |
4756 | 3619 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3620 | |
3621 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3622 (Array<T>assign2): Also call maybe_delete_elements for single | |
3623 index when rows and columns or LHS are both greater than 1. | |
3624 | |
4755 | 3625 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3626 | |
3627 * Array.cc (Array<T>::maybe_delete_elements): | |
3628 Check for index out of bounds. Handle one index. | |
3629 | |
3630 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3631 dim_vector (0) to create empty return vector. | |
3632 | |
4749 | 3633 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3634 | |
3635 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3636 non-empty LHS when the number of lhs dimensions is less than the | |
3637 number of indices. Detect error if attempting to resize non-empty | |
3638 LHS with colon indices. | |
3639 | |
4745 | 3640 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3641 | |
4747 | 3642 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3643 values unless the length of the new array is greater than 0. | |
3644 (Array<T>::resize_no_fill): Likewise. | |
3645 | |
3646 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3647 is equal to dimensions(i). | |
3648 | |
3649 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3650 get_zero_len_size, number_of_elements): | |
3651 Delete unused functions. | |
3652 | |
3653 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3654 number_of_elements function. | |
3655 * Array.cc (Array<T>::indexN): Likewise. | |
3656 | |
3657 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3658 of equal_arrays function. | |
3659 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3660 dim_vector::any_zero instead of any_zero_len function. | |
3661 | |
3662 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3663 Don't skip reshaping and resizing if RHS is empty. | |
3664 | |
4746 | 3665 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3666 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3667 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3668 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3669 LHS is not yet defined. | |
4745 | 3670 Error for resizing if number of indices is less than number of LHS |
3671 dimensions. | |
3672 | |
4746 | 3673 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3674 Fortran-style indexing. | |
3675 | |
4743 | 3676 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3677 | |
3678 * Array.cc (Array<T>::assignN): Simplify. | |
3679 Allow assignments to succeed if number if indices is less than the | |
3680 number of RHS dimensions. | |
3681 | |
4738 | 3682 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3683 | |
4741 | 3684 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3685 when number of indices is less than number of dimensions. | |
3686 | |
3687 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3688 Remove unsued variable lhs_inc. | |
3689 | |
4740 | 3690 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3691 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3692 | |
3693 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3694 | |
4738 | 3695 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3696 == n_dims before checking to see if all indices are colon_equiv. | |
3697 | |
4736 | 3698 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3699 | |
3700 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3701 deleting elements. | |
4737 | 3702 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3703 at least ndims elements. | |
4736 | 3704 |
4735 | 3705 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3706 | |
3707 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3708 oriented differently from the index. | |
3709 | |
3710 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3711 least two dimensions. | |
3712 | |
4733 | 3713 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3714 | |
4735 | 3715 * dim-vector.h (dim_vector::squeeze): New function. |
3716 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3717 deciding whether the assignment conforms. | |
3718 | |
4733 | 3719 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3720 comparing rhs_dims and frozen_len sans trailing singletons. | |
3721 | |
4732 | 3722 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3723 | |
3724 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3725 Call error handler and return conversion_error == true if arg is | |
3726 not integer. | |
3727 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3728 | |
4730 | 3729 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3730 | |
3731 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3732 reference arg const. | |
3733 | |
3734 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3735 | |
3736 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
3737 | |
4729 | 3738 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
3739 | |
3740 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
3741 Now bool, to match definition in Array-flags.cc. | |
3742 | |
4725 | 3743 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3744 | |
4726 | 3745 * file-ops.cc: Include <vector> instead of <memory> for new |
3746 definition of OCTAVE_LOCAL_BUFFER. | |
3747 | |
4725 | 3748 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
3749 New arg, calc_eigenvectors. | |
3750 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
3751 Based on patch from David Bateman <dbateman@free.fr>. | |
3752 | |
4716 | 3753 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3754 | |
3755 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
3756 For X(I) = RHS, don't restrict I to fewer elements than X. | |
3757 | |
3758 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
3759 | |
4711 | 3760 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3761 | |
4714 | 3762 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
3763 Simplify calculation of number of elements in retval. | |
3764 | |
4711 | 3765 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
3766 filling when RHS is scalar and dimension lengths agree. | |
3767 | |
4710 | 3768 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3769 | |
4713 | 3770 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
3771 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 3772 |
4707 | 3773 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3774 | |
4709 | 3775 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
3776 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 3777 |
4702 | 3778 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
3779 | |
4703 | 3780 * Array.h (Array<T>::chop_trailing_singletons): New function. |
3781 * Array.cc (Array<T>::assignN): Use it on LHS. | |
3782 | |
3783 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 3784 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 3785 Check for singleton dimensions where RHS is matrix or higher dimension. |
3786 Make sure index is in bounds. | |
4702 | 3787 |
4698 | 3788 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3789 | |
3790 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
3791 octave_NaN, and octav_NA values are always initialized. Check | |
3792 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
3793 to decide whether to do IEEE initialization. | |
3794 | |
4687 | 3795 2004-01-06 David Bateman <dbateman@free.fr> |
3796 | |
3797 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
3798 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
3799 ComplexNDArray::too_large_for_float): New functions | |
3800 | |
3801 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
3802 * CNDArray.h: Provide decls. | |
3803 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
3804 * dNDArray.h: Provide decls. | |
3805 | |
4673 | 3806 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3807 | |
4674 | 3808 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
3809 they are already defined in boolNDArray.cc. | |
3810 | |
4673 | 3811 * Array-util.cc (get_zero_len_size): Delete. |
3812 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3813 Handle zero-length result dimensions the same as empty original | |
3814 indices. | |
3815 | |
3816 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3817 | |
3818 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
3819 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
3820 New functions. | |
3821 * Array.cc (ArrayN<T>::indexN): Use it. | |
3822 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
3823 | |
4669 | 3824 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
3825 | |
3826 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
3827 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
3828 | |
3829 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3830 | |
3831 * mk-ops.awk: Also emit #include "Array-util.h". | |
3832 | |
3833 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
3834 Add bnda x bnda, b x bnda, and bnda x b ops. | |
3835 | |
3836 * MArray-misc.cc: Delete. | |
3837 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
3838 | |
3839 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
3840 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
3841 | |
4655 | 3842 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3843 | |
4663 | 3844 * dbleQR.cc (QR::init): Use separate pwork pointers. |
3845 * CmplxQR.cc (ComplexQR::init): Likewise. | |
3846 | |
3847 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
3848 two-arg getgrnam version. | |
3849 | |
4657 | 3850 * Array.cc (assignN): Allow single indexing to work. |
4661 | 3851 (Array<T>::range_error (const char*, const Array<int>&)): |
3852 Report index values. | |
3853 | |
3854 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 3855 * ODESSA.cc (odessa_j): Likewise. |
3856 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
3857 * DASPK.cc (ddaspk_psol): Likewise. | |
3858 * lo-mappers.cc (imag): Likewise. | |
4663 | 3859 * Array-util.cc (get_zero_len_size): Likewise. |
3860 * kpse.cc (path_search, path_find_first_of): Likewise. | |
3861 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 3862 |
4655 | 3863 * dim-vector.h (dim_vector::all_ones): New function. |
3864 | |
4646 | 3865 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3866 | |
4653 | 3867 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
3868 zeros, not orig_rows or orig_columns. | |
3869 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
3870 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
3871 | |
3872 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
3873 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
3874 | |
3875 * idx-vector.cc (idx_vector::idx_vector_rep): | |
3876 Use initialization lists for constructors. | |
3877 | |
4651 | 3878 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
3879 Omit special case for ra_idx.capacity () == 1. | |
3880 Always allow single index for matrix args with optional warning. | |
3881 | |
4650 | 3882 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
3883 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
3884 | |
4648 | 3885 * Array-so.cc: New file. Move instantiations here from so-array.h. |
3886 * Makefile.in (TI_SRC): Add it to the list. | |
3887 | |
4646 | 3888 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
3889 type and the names of the left and right operands. Change all uses. | |
3890 | |
3891 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
3892 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
3893 | |
4645 | 3894 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3895 | |
3896 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
3897 just length. | |
3898 | |
3899 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
3900 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
3901 non-dependent member functions and data as needed. | |
3902 | |
3903 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
3904 | |
3905 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
3906 * Array3.h (Array3<T>::operator =): Likewise. | |
3907 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
3908 Include Array.h, not Array2.h. | |
3909 | |
4634 | 3910 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3911 | |
4636 | 3912 * str-vec.cc (list_in_columns): Fix previous change. |
3913 | |
4635 | 3914 * dim-vector.h (dim_vector::num_ones): New function. |
3915 * Array.cc (maybe_delete_elements): Use it instead of | |
3916 num_ones (const Array<int>&). | |
3917 | |
3918 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
3919 | |
4634 | 3920 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
3921 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
3922 New functions. | |
3923 * dNDArray.h: Provide decls. | |
3924 | |
3925 * dMatrix.h (Matrix::any_element_is_negative, | |
3926 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
3927 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
3928 Simplify. | |
3929 | |
3930 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
3931 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
3932 | |
3933 * dNDArray.cc (real, imag): New functions. | |
3934 * dNDArray.h: Provide decls. | |
3935 | |
4630 | 3936 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3937 | |
3938 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
3939 | |
4625 | 3940 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
3941 | |
3942 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
3943 * MArray.h (resize): Delete. | |
3944 * MArray2.h (resize): Delete. | |
3945 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
3946 * ODESSA (ODESSA::integrate): Likewise. | |
3947 | |
4616 | 3948 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3949 | |
3950 * Makefile.in (dist): Depend on stamp-prereq. | |
3951 | |
4605 | 3952 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
3953 | |
3954 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
3955 Kluge to make it work. | |
4604 | 3956 |
3957 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
3958 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
3959 | |
3960 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
3961 default_command_editor::do_generate_filename_completions, | |
3962 command_editor::generate_filename_completions): New functions. | |
3963 * cmd-edit.h: Provide decls. | |
3964 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
3965 function. | |
3966 * oct-rl-edit.h: Provide decl. | |
3967 | |
4593 | 3968 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3969 | |
4594 | 3970 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
3971 INSTANTIATE_ARRAY): New macros. | |
3972 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
3973 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
3974 | |
4593 | 3975 * Array.h (Array<T>::ipermute): New function. |
3976 | |
3977 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
3978 | |
3979 * Array.cc (Array<T>::permute): New function. | |
3980 * Array.h: Provide decl. | |
3981 | |
3982 * Array-util.cc (calc_permutated_idx): New function. | |
3983 * Array-util.h: Provide decl. | |
3984 | |
4587 | 3985 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3986 | |
4592 | 3987 * Array.cc (Array<T>::index2): Return value has orientation of |
3988 indexed value if indexing a vector with a bool matrix. | |
3989 | |
4589 | 3990 * ArrayN.h (ArrayN<T>::get_size): Delete. |
3991 | |
4588 | 3992 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
3993 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
3994 | |
3995 * ArrayN-inline.h: Delete. | |
3996 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
3997 * Makefile.in: Fix the appropriate lists. | |
3998 | |
4587 | 3999 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4000 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4001 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4002 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4003 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4004 Avoid -Wshadow warnings. | |
4005 | |
4006 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4007 |
4008 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4009 | |
4010 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4011 | |
4012 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4013 | |
4014 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4015 | |
4584 | 4016 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4017 | |
4018 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4019 | |
4020 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4021 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4022 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4023 Return NDArray. Handle N-d arrays. | |
4024 | |
4575 | 4025 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4026 | |
4583 | 4027 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4028 that upcase Fortran names by calling dlsode instead of lsode. | |
4029 | |
4030 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4031 that upcase Fortran names by calling dodessa instead of odessa. | |
4032 | |
4577 | 4033 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4034 non-const args for symlink system call. | |
4035 (file_ops::readlink): Likewise, for readlink. | |
4036 | |
4575 | 4037 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4038 | |
4574 | 4039 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4040 | |
4041 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4042 Change all uses. | |
4043 | |
4569 | 4044 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4045 | |
4046 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4047 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4048 * dNDArray.h: Provide decls. | |
4049 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4050 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4051 ComplexNDArray::abs): New functions. | |
4052 * CNDArray.h: Provide decls. | |
4053 | |
4054 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4055 Generalize to handle other reduction operations. | |
4056 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4057 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4058 | |
4565 | 4059 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4060 | |
4567 | 4061 * Array.cc (Array<T>::reshape): New function. |
4062 * Array.h: Provide decl. | |
4063 | |
4064 * dim-vector.h (dim_vector::numel): New function. | |
4065 | |
4565 | 4066 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4067 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4068 | |
4559 | 4069 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4070 | |
4071 * dim-vector.h (dim_vector::any_zero): New function. | |
4072 (dim_vector::str): New default arg, sep. | |
4073 | |
4074 * Array.h (Array<T>::numel): New function. | |
4075 | |
4556 | 4076 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4077 | |
4078 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4079 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4080 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4081 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4082 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4083 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4084 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4085 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4086 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4087 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4088 | |
4552 | 4089 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4090 | |
4553 | 4091 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4092 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4093 | |
4552 | 4094 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4095 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4096 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4097 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4098 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4099 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4100 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4101 Use new F77 arg macros in declarations of external Fortran | |
4102 subroutines and for calling them. | |
4103 | |
4548 | 4104 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4105 | |
4106 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4107 Allow number of dimensions to change. | |
4108 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4109 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4110 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4111 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4112 (Array<T>::transpose): Require ndims to be 2. | |
4113 (Array<T>::index2): Likewise. | |
4114 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4115 (Array<T>::maybe_delete_elements_2): Likewise. | |
4116 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4117 (Array<T>::index1): Use resize_and_fill. | |
4118 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4119 | |
4120 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4121 | |
4122 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4123 (MArray2<T>::resize (int, int, const T&)): New function. | |
4124 | |
4125 * MArray.h (MArray<T>::resize (int)): New function. | |
4126 (MArray<T>::resize (int, const T&)): New function. | |
4127 | |
4128 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4129 | |
4130 * DASPK-opts.in: Use single-arg resize for initial condition | |
4131 heuristics. | |
4132 | |
4133 * dim-vector.h (class dim_vector): Now reference counted. | |
4134 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4135 | |
4544 | 4136 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4137 | |
4545 | 4138 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4139 | |
4544 | 4140 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4141 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4142 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4143 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4144 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4145 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4146 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4147 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4148 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4149 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4150 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4151 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4152 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4153 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4154 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4155 files are now automatically generated. | |
4156 | |
4157 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4158 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4159 Add rules to generate these files and mx-ops.h. | |
4160 (stamp-prereq): Depend on these files. | |
4161 | |
4162 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4163 * Makefile.in (DISTFILES): Add them to the list. | |
4164 | |
4543 | 4165 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4166 | |
4167 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4168 NDArray::NDArray (const charNDArray)): New constructors. | |
4169 (NDArray::operator !): New function. | |
4170 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4171 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4172 | |
4173 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4174 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4175 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4176 New constructors. | |
4177 (ComplexNDArray::operator !): New function. | |
4178 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4179 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4180 | |
4181 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4182 | |
4183 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4184 Provide NDND_CMP_OPS. | |
4185 | |
4186 * MArrayN.cc (operator +=, operator -=): New functions. | |
4187 Provide product and quotient functions. | |
4188 | |
4189 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4190 dim_vector&)): New function. | |
4191 | |
4192 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4193 operator ==, operator !=): New functions. | |
4194 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4195 | |
4196 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4197 No need to save old dimensions. | |
4198 | |
4199 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4200 (octave_rand::nd_array): New function. | |
4201 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4202 | |
4203 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4204 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4205 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4206 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4207 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4208 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4209 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4210 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4211 NDND_OP_DECLS): New macros. | |
4212 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4213 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4214 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4215 | |
4216 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4217 boolNDArray, class charNDArray): New forward decls. | |
4218 | |
4534 | 4219 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4220 | |
4221 * Array.cc (assign2): No error (but don't do anything either) for | |
4222 expressions like x([],j) = scalar. | |
4223 | |
4532 | 4224 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4225 | |
4533 | 4226 * Array.cc (assignN): Allow lhs(:) = scalar. |
4227 | |
4532 | 4228 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4229 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4230 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4231 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4232 | |
4233 * dim-vector.h (rows, cols): Delete unused data members. | |
4234 | |
4235 * Array.cc (Array<T>::get_size): Fix thinko. | |
4236 | |
4237 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4238 | |
4239 * Array.cc (Array<T>::squeeze): New function. | |
4240 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4241 * dNDArray.h (NDArray::squeeze): Likewise. | |
4242 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4243 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4244 | |
4530 | 4245 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4246 | |
4247 * Array.cc (ArrayN<T>::indexN): New definition. | |
4248 * Array.h (Array<T>::indexN): Provide decl. | |
4249 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4250 Call indexN if more than 2 indices. | |
4251 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4252 Make it (mostly) work. | |
4253 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4254 New functions. | |
4255 | |
4527 | 4256 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4257 | |
4258 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4259 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4260 versions with eof arg. | |
4261 | |
4518 | 4262 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4263 | |
4264 * Array.h (dimensions): Now public. | |
4265 template <class LT, class RT> | |
4266 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4267 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4268 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4269 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4270 resize_no_fill (int), | |
4271 resize_no_fill (int, int), | |
4272 resize_no_fill (int, int, int), | |
4273 resize_no_fill (const dim_vector&), | |
4274 resize_and_fill (int, const T&), | |
4275 resize_and_fill (int, int, const T&), | |
4276 resize_and_fill (int, int, int, const T&), | |
4277 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4278 | |
4279 * Array.cc: Include <climits>. | |
4280 | |
4513 | 4281 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4282 | |
4517 | 4283 * Array.cc: Merge Array-idx.h. |
4284 * Array-idx.h: Delete. | |
4285 | |
4514 | 4286 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4287 | |
4513 | 4288 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4289 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4290 just special cases of the general purpose N-d Array object). | |
4291 | |
4292 * dim-vector.h: New file. Use dim_vector objects instead of | |
4293 ints or Array<int> objects to represent the size of Array | |
4294 objects. | |
4295 | |
4296 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4297 | |
4298 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4299 | |
4300 * mx-base.h: Include NDArray header files. | |
4301 | |
4302 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4303 | |
4304 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4305 Array-s.cc: Also instantiate ArrayN objects. | |
4306 Don't instantiate assign funcitons for Array2 objects. | |
4307 | |
4308 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4309 liboctave_error_handler, not cerr. | |
4310 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4311 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4312 * dMatrix.cc (Matrix::diag): Likewise. | |
4313 | |
4314 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4315 Omit checks for HEAVYWEIGHT_INDEXING. | |
4316 | |
4317 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4318 | |
4319 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4320 | |
4321 * CNDARray.h, CNDArray.cc: New files. | |
4322 * Makefile.in: Add them to the appropriate lists. | |
4323 | |
4324 * dNDArray.h: Rename from NDArray.h. | |
4325 * dNDArray.cc: Rename from NDArray.cc. | |
4326 * Makefile.in: Rename them here too. | |
4327 | |
4507 | 4328 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4329 | |
4330 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4331 | |
4332 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4333 * Makefile.in: Add them to the appropriate lists. | |
4334 | |
5095 | 4335 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4336 |
4337 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4338 biry): Always request scaled results from AMOS functions and | |
4339 perform reverse scaling on results if scaled result not requested | |
4340 by user. | |
4341 | |
4342 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4343 | |
4344 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4345 | |
4505 | 4346 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4347 | |
4348 * Array-d.cc: Instantiate assign functions. | |
4349 | |
4504 | 4350 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4351 | |
4352 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4353 (get_elt_idx): Index ra_idx correctly. | |
4354 | |
4355 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4356 bounds if it is exactly on the bound. | |
4357 | |
4358 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4359 * ArrayN.h: Provide decl. | |
4360 | |
4361 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4362 | |
4363 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4364 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4365 (idx_vector::orig_dimensions): New function. | |
4366 | |
4497 | 4367 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4368 | |
4369 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4370 | |
4496 | 4371 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4372 | |
4373 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4374 (is_in, how_many_lgt, all_ones): New functions. | |
4375 | |
4493 | 4376 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4377 | |
4378 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4379 | |
4380 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4381 | |
4382 * ArrayN-inline.h: New file. | |
4383 (index_in_bounds, increment_index): Move here. | |
4384 * ArrayN.cc: From here. | |
4385 | |
4386 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4387 * ArrayN-idx.h (assign): New function. | |
4388 | |
4490 | 4389 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4390 | |
4391 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4392 Also zero imaginary part of result if real part of input value is | |
4393 zero. | |
4394 | |
4478 | 4395 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4396 | |
4397 * mx-base.h: Include ArrayN.h. | |
4398 | |
4476 | 4399 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4400 | |
4401 * ArrayN.cc (operator <<): Corrected output. | |
4402 | |
4474 | 4403 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4404 | |
4405 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4406 | |
5095 | 4407 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4408 |
4409 * ArrayN.cc (operator <<): Improve output readability. | |
4410 | |
4493 | 4411 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4412 |
4413 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4414 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4415 Initialize old_len before changing size. | |
4416 | |
4472 | 4417 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4418 | |
4419 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4420 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4421 |
4469 | 4422 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4423 | |
4424 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4425 way. Handle NA in an R-compatible way. | |
4426 | |
4427 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4428 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4429 | |
4430 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4431 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4432 | |
4433 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4434 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4435 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4436 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4437 | |
4461 | 4438 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4439 | |
4440 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4441 Pass true for resize_ok arg to freeze. | |
4442 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4443 Likewise. | |
4444 | |
4445 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4446 resize_ok arg is now bool. | |
4447 * idx-vector.h (idx_vector::freeze): Likewise. | |
4448 | |
4449 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4450 Rename from liboctave_rre_flag. Now bool. | |
4451 (liboctave_wfi_flag): Now bool. | |
4452 | |
4453 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4454 | |
5095 | 4455 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4456 |
4457 * Array.h (resize_fill_value): Now a top-level template function. | |
4458 Accept object as argument. Change all uses. | |
4459 | |
4455 | 4460 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4461 | |
4462 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4463 | |
4464 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4465 liboctave_dfi_flag. | |
4466 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4467 X undefined or empty, always create a row vector. | |
4468 | |
4469 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4470 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4471 | |
4437 | 4472 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4473 | |
4474 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4475 Magic colon indexing always produces an object with one column. | |
4476 | |
5095 | 4477 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4478 |
4479 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4480 | |
4481 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4482 | |
4431 | 4483 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4484 | |
4485 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4486 neg_zero is true, also return true for negative zero. | |
4487 | |
4429 | 4488 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4489 | |
4490 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4491 Handle step limit. | |
4492 * DASSL-opts.in: New option for step limit. | |
4493 | |
5095 | 4494 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4495 |
4496 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4497 | |
4428 | 4498 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4499 | |
4500 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4501 Store step limit in iwork(20), not iwork(18). | |
4502 | |
5095 | 4503 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4504 |
4505 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4506 | |
4412 | 4507 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4508 | |
4413 | 4509 * Makefile.in: Handle DESTDIR. |
4510 | |
4412 | 4511 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4512 (kpse_path_iterator::set_end): Don't miss last element when not | |
4513 followed by a colon. | |
4514 | |
4409 | 4515 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4516 | |
4517 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4518 | |
4519 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4520 | |
4521 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4522 (find_first_of): Also do an absolute search on each | |
4523 name before looking in the path. | |
4524 | |
4407 | 4525 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4526 | |
4527 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4528 directory separator. | |
4529 | |
4399 | 4530 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4531 | |
4532 * pathsearch.cc: Include kpse.cc here. | |
4533 | |
4534 * kpse.cc: All functions are now static. Massive surgery to | |
4535 condense kpathsearch library to a single file of just the | |
4536 essentials for Octave and convert to using C++ strings (no more | |
4537 calls to malloc, very few calls to new, so there should be much | |
4538 less potential for introducing memory leaks now). | |
4539 | |
4540 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4541 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4542 | |
4543 * kpse.h, kpse-config.h: Delete. | |
4544 * Makefile.in (INCLUDES): Delete them from the list. | |
4545 | |
4392 | 4546 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4547 | |
4548 * str-vec.cc (string_vector::append (const std::string&), | |
4549 string_vector::append (const string_vector&)): New methods. | |
4550 | |
4386 | 4551 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4552 | |
4389 | 4553 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4554 | |
4387 | 4555 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4556 | |
4386 | 4557 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4558 (READABLE): Now a static function to avoid warnings from MinGW | |
4559 compiler. | |
4560 | |
4384 | 4561 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4562 | |
4385 | 4563 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4564 static. Include most of kpse-xfns.h directly, removing | |
4565 unnecessary bits. | |
4566 | |
4384 | 4567 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4568 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4569 | |
4378 | 4570 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4571 | |
4572 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4573 * Makefile.in: Add them to the appropriates lists. | |
4574 | |
4575 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4576 | |
4577 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4578 for new locations of kpathsea objects. | |
4579 Delete kpathsea targets. | |
4580 | |
4581 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4582 | |
4583 * kpse.cc: New file. | |
4584 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4585 | |
4586 * kpse.c: New file. | |
4587 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4588 | |
4589 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4590 * Makefile.in (INCLUDES): Add them to the list. | |
4591 | |
4592 * oct-kpse.h: Delete. | |
4593 * Makefile.in (INCLUDES): Delete it from the list. | |
4594 | |
4374 | 4595 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4596 | |
4597 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4598 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4599 Likewise. | |
4600 From Quentin H. Spencer <qspencer@ieee.org>. | |
4601 | |
4365 | 4602 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4603 | |
4604 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4605 | |
4349 | 4606 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4607 | |
4352 | 4608 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4609 without placement delete. | |
4610 | |
4349 | 4611 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4612 imaginary parts. | |
4613 | |
4614 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4615 | |
5095 | 4616 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4617 |
4618 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4619 Use Lapack instead of Linpack. | |
5315 | 4620 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4621 ComplexMatrix::solve): Likewise. |
4622 | |
4623 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4624 calc_cond. If 0, skip condition number calculation. | |
4625 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4626 Likewise. | |
4627 | |
4628 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4629 * dbleLU.cc (LU::LU): Likewise. | |
4630 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4631 | |
4632 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4633 | |
4634 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4635 | |
4323 | 4636 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4637 | |
4638 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4639 Additional compatibility fix. | |
4640 | |
4641 2003-02-13 Arno Klaassen <arno@scito.com> | |
4642 | |
4643 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4644 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4645 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4646 | |
4322 | 4647 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4648 | |
4649 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4650 Compatibility fix. | |
4651 | |
4316 | 4652 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4653 | |
4654 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4655 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4656 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4657 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4658 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4659 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4660 | |
4661 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4662 with make_unique and xelem. | |
4663 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4664 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4665 ComplexMatrix::extract, ComplexMatrix::row, | |
4666 ComplexMatrix::column): Likewise. | |
4667 * dColVector.cc (ColumnVector::insert): Likewise. | |
4668 * dRowVector.cc (RowVector::insert): Likewise. | |
4669 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4670 Matrix::row, Matrix::column): Likewise. | |
4671 | |
4313 | 4672 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4673 | |
4674 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4675 | |
4309 | 4676 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4677 | |
4678 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4679 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4680 * CMatrix.h, dMatrix.h: Provide decls. | |
4681 | |
4307 | 4682 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4683 | |
4684 * oct-rand.h, oct-rand.cc: New files. | |
4685 * Makefile.in: Add them to the appropriate lists. | |
4686 | |
4306 | 4687 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4688 | |
4689 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4690 | |
4299 | 4691 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4692 | |
4693 * oct-syscalls.cc: Include signal.h. | |
4694 | |
4294 | 4695 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4696 | |
4697 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4698 * oct-syscalls.h: Provide decl. | |
4699 | |
4700 | |
4293 | 4701 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4702 | |
4703 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4704 there is nothing to read. | |
4705 | |
4290 | 4706 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4707 | |
4708 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4709 | |
4286 | 4710 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4711 | |
4288 | 4712 * getopt.h: Update to version from kpathsearch, so we will install |
4713 the version that we are using. | |
4714 | |
4715 * getopt.c, getopt1.c: Delete. | |
4716 (INCLUDES): Delete them from the list. We'll get these files from | |
4717 kpathsearch. | |
4718 | |
4286 | 4719 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4720 ../kpathsea/STATIC/*.o. | |
4721 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4722 | |
4270 | 4723 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4724 | |
4282 | 4725 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4726 unreachable code. | |
4727 | |
4279 | 4728 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4729 to correspond to placement new operator. | |
4730 | |
4278 | 4731 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4732 (DET::value_will_underflow): Likewise. | |
4733 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
4734 (ComplexDET::value_will_underflow): Likewise. | |
4735 | |
4276 | 4736 * Makefile.in (distclean): Also remove stamp-prereq. |
4737 | |
4306 | 4738 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
4739 RHS and index are empty matrices, don't do anything. | |
4270 | 4740 |
4242 | 4741 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4742 | |
4743 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
4744 delete_c_names): New helper functions. | |
4745 (dir_path::find_first_of): New function. | |
4746 (dir_path::find_all_first_of): Likewise. | |
4747 * pathsearch.h: Provide decls. | |
4748 | |
4749 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
4750 (octave_kpse_all_path_find_first_of): Likewise. | |
4751 * oct-kpse.h: Provide decls. | |
4752 | |
4231 | 4753 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4754 | |
4755 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
4756 * ODESSA-opts.in: Likewise. | |
4757 | |
4758 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
4759 * LSODE-opts.in: Likewise. | |
4760 | |
4229 | 4761 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4762 | |
4230 | 4763 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
4764 in all constructors. | |
4765 | |
4229 | 4766 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
4767 (LINK_DEPS): Not here. | |
4768 | |
4219 | 4769 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4770 | |
4220 | 4771 * str-vec.cc (string_vector::compare): New static member function. |
4772 * str-vec.h: Provide decl. | |
4773 (string_vector::sort): Use it. | |
4774 (str_vec_compare): Delete static function. | |
4775 | |
4219 | 4776 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
4777 a placement operator new. | |
4778 | |
4209 | 4779 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4780 | |
4210 | 4781 * Matrix.h: Include mx-ops.h too. |
4209 | 4782 * mx-ops.h: New file. |
4783 | |
4192 | 4784 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4785 | |
4786 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
4787 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
4788 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
4789 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
4790 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
4791 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
4792 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
4793 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
4794 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
4795 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
4796 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
4797 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
4798 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
4799 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
4800 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
4801 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
4802 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
4803 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
4804 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
4805 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
4806 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
4807 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
4808 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
4809 | |
4184 | 4810 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4811 | |
4812 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
4813 From Remy Bruno <remy.bruno@libertysurf.fr> | |
4814 | |
4180 | 4815 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4816 | |
4817 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
4818 fortran code that should run fast enough that it is not worth all | |
4819 the setup costs of F77_XFCN. | |
4820 | |
4821 * Quad.cc (user_function): Surround body of function with | |
4822 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
4823 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
4824 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
4825 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
4826 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
4827 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
4828 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
4829 | |
4164 | 4830 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4831 | |
4832 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
4833 of ! defined (linux). | |
4834 | |
5095 | 4835 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 4836 |
4837 * oct-shlib.cc (octave_dyld_shlib): New class. | |
4838 (make_shlib): Instantiate octave_dyld_shlib. | |
4839 | |
4152 | 4840 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4841 | |
4153 | 4842 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
4843 | |
4152 | 4844 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
4845 | |
4846 * Array.h: Include <cstddef> here. | |
4847 | |
4142 | 4848 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
4849 | |
4144 | 4850 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
4851 using them. Accept inequality contraint option of 0. Assign | |
4852 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
4853 abs_tol and rel_tol. | |
4854 | |
4143 | 4855 * cmd-edit.h (command_editor::filename_completion_desired): New |
4856 static function. | |
4857 (command_editor::do_filename_completion_desired): New virtual function. | |
4858 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
4859 * oct-rl-edit.h: Provide decl. | |
4860 | |
4142 | 4861 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
4862 avoid OS X linker bug. | |
4863 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
4864 | |
4139 | 4865 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4866 | |
4141 | 4867 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
4868 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
4869 solvers. | |
4870 * ODESSA.cc: Fix all callers. | |
4871 | |
4139 | 4872 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
4873 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
4874 sum(zeros(1,0)) returns 0, not [](1x0)). | |
4875 | |
4136 | 4876 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4877 | |
4878 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
4879 | |
4132 | 4880 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4881 | |
4133 | 4882 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
4883 (ddasrt_f): Combine loops. | |
4884 | |
4132 | 4885 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
4886 instead of empty vector if user termninates iteration. | |
4887 | |
4130 | 4888 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4889 | |
4890 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4891 octave_read_complex, octave_write_double, octave_write_complex): | |
4892 New functions. | |
4893 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
4894 Use octave_write_complex. | |
4895 (operator >> (std::istream&, const ComplexMatrix&)): | |
4896 Use octave_read_complex. | |
4897 * dMatrix.cc (operator << (std::ostream&, double)): | |
4898 Use octave_write_double. | |
4899 (operator >> (std::istream&, double)): Use octave_read_double. | |
4900 | |
4126 | 4901 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4902 | |
4903 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
4904 * oct-kpse.h: Delete decl. | |
4905 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
4906 ::octave_kpse_clear_dir_cache. | |
4907 | |
4123 | 4908 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4909 | |
4124 | 4910 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
4911 earlier than 3.0. | |
4912 | |
4123 | 4913 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
4914 (liboctave.$(SHLEXT)): Not here. | |
4915 | |
5095 | 4916 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 4917 |
4918 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
4919 | |
4108 | 4920 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4921 | |
4922 * Makefile.in (install-lib): Don't bother with versions for | |
4923 $(SHLBIN) files. | |
4924 | |
5095 | 4925 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 4926 |
4927 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
4928 | |
4102 | 4929 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4930 | |
4931 * lo-cieee.c: Move everything but lo_ieee_init here. | |
4932 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
4933 New functions. | |
4934 | |
4935 * Makefile.in (install): No need to use cd to create links. | |
4936 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
4937 | |
5095 | 4938 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 4939 |
4940 * Makefile.in: Merge liboctave with liboct-readline and | |
4941 liboct-pathsearch. | |
4942 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
4943 (libraries): Depend on versioned library. | |
4944 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
4945 build unversioned library, symbolic link adds version info. | |
4946 (install, uninstall): Handle link and load forms of the library | |
4947 separately. | |
4948 | |
4101 | 4949 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4950 | |
4951 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
4952 __CYGWIN__. | |
4953 | |
4954 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
4955 file_ops::dir_sep_chars): New static functions to replace | |
4956 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
4957 | |
4958 * oct-env.cc (octave_env::do_set_program_name): | |
4959 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
4960 (octave_env::do_base_pathname): Likewise. | |
4961 (octave_env::do_make_absolute): Likewise. | |
4962 | |
4963 * oct-env.cc (octave_env::do_make_absolute): | |
4964 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
4965 (octave_env::do_get_home_directory): Likewise. | |
4966 | |
4967 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
4968 that information here too. | |
4969 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
4970 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
4971 | |
4972 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
4973 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
4974 | |
4097 | 4975 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4976 | |
4977 * oct-env.h (octave_env::current_directory): Now mutable. | |
4978 (octave_env:do_getcwd): Now const. | |
4979 | |
4980 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
4981 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
4982 OCTAVE_CURRENT_DIR_STR): New macros. | |
4983 * oct-env.cc (is_dir_sep): Delete. | |
4984 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
4985 (octave_env::do_set_program_name): Likewise. | |
4986 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
4987 instead of checking for '/'. | |
4988 (octave_env::pathname_backup): Likewise. | |
4989 (octave_env::do_absolute_pathname): Likewise. | |
4990 (octave_env::do_make_absolute): Likewise. | |
4991 If dot_path is empty, use getcwd to set current_dir. | |
4992 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
4993 instead of "/". | |
4994 | |
5095 | 4995 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 4996 |
4997 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
4998 | |
5095 | 4999 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5000 |
5001 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5002 absolute path names under MinGW as well. | |
5003 | |
5004 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5005 | |
5006 * oct-env.cc: Include <cctype> too. | |
5007 | |
4087 | 5008 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5009 | |
5010 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5011 filenames. | |
5012 (octave_env::do_make_absolute): Check for absolute name with | |
5013 do_absolute_path. | |
4088 | 5014 (octave_env::do_chdir): Likewise. |
5015 (is_dir_sep): New function. | |
4087 | 5016 |
5095 | 5017 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5018 |
4086 | 5019 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5020 systems. | |
4085 | 5021 |
4083 | 5022 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5023 | |
5024 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5025 | |
4080 | 5026 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5027 | |
4081 | 5028 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5029 | |
4080 | 5030 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5031 | |
5095 | 5032 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5033 |
5034 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5035 gr_gid too. | |
5036 | |
4072 | 5037 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5038 | |
4074 | 5039 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5040 lo_ieee_* functions. | |
4072 | 5041 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5042 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5043 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5044 * lo-cieee.c: New file. |
4074 | 5045 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5046 * lo-ieee.h: Now all extern "C". |
4074 | 5047 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5048 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5049 | |
4072 | 5050 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5051 Now extern. | |
5052 | |
4066 | 5053 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5054 | |
5055 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5056 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5057 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5058 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5059 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5060 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5061 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5062 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5063 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5064 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5065 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5066 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5067 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5068 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5069 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5070 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5071 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5072 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5073 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5074 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5075 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5076 oct-alloc.cc: | |
5077 If __GNUG__, use pragma interface/implementation. Allow this to | |
5078 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5079 | |
5095 | 5080 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5081 |
4066 | 5082 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5083 system readlink function is not available. | |
5084 | |
4065 | 5085 * lo-mappers.cc (xerf, xerfc): Delete. |
5086 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5087 | |
4064 | 5088 * lo-mappers.cc: Remove unused #define M_PI. |
5089 * lo-specfun.cc: Add #define M_PI if needed. | |
5090 | |
4062 | 5091 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5092 | |
5093 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5094 that geteuid doesn't exist. | |
5095 | |
5096 * LP.h: Rename LP class to octave_LP. | |
5097 LPsolve.h: Change all uses. | |
5098 | |
5099 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5100 incorrect token-pasting op. | |
5101 | |
5102 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5103 define lstat. | |
5104 | |
4061 | 5105 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5106 | |
5107 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5108 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5109 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5110 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5111 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5112 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5113 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5114 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5115 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5116 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5117 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5118 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5119 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5120 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5121 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5122 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5123 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5124 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5125 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5126 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5127 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5128 oct-alloc.cc: | |
5129 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5130 to decide whether to use the interface/implementation pragmas. | |
5131 | |
4058 | 5132 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5133 | |
5134 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5135 | |
4055 | 5136 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5137 | |
5138 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5139 qualified names. | |
5140 | |
4051 | 5141 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5142 | |
4054 | 5143 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5144 ArrayN.cc: Add typename where needed. | |
4053 | 5145 |
4051 | 5146 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5147 strstream classes directly. | |
5148 * DASRT.cc: Likewise. | |
5149 * DASSL.cc: Likewise. | |
5150 * LSODE.cc: Likewise. | |
5151 * ODESSA.cc: Likewise. | |
5152 | |
5153 * cmd-hist.cc: Don't include <strstream>. | |
5154 * oct-shlib.cc: Likewise. | |
5155 | |
5156 * lo-sstream.h: New file. | |
5157 | |
4049 | 5158 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5159 | |
5160 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5161 New data members. | |
5162 (LSODE::sanity_checked): Delete unused data member. | |
5163 | |
5164 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5165 prel_tol, pinfo, piwork, prwork): New data members. | |
5166 * DASSL.h (DASSL): Likewise. | |
5167 | |
5168 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5169 | |
5170 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5171 initialization, changes in options, etc. | |
5172 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5173 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5174 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5175 | |
4047 | 5176 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5177 | |
4049 | 5178 * DAEFunc.h (DAEFunc::reset): New data member. |
5179 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5180 | |
5181 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5182 (base_diff_eqn::clear_stop_time): Likewise. | |
5183 | |
4047 | 5184 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5185 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5186 | |
5095 | 5187 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5188 |
5189 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5190 * DASRT-opts.in, DASRT.h: Likewise. | |
5191 * DASSL-opts.in, DASSL.h: Likewise. | |
5192 * LSODE-opts.in, LSODE.h: Likewise. | |
5193 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5194 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5195 | |
4038 | 5196 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5197 | |
4042 | 5198 * LSODE.cc (LSODE::error_message): Also return current T on |
5199 failures when that makes sense. | |
4043 | 5200 * DASSL.cc (DASSL::error_message): Likewise. |
5201 * DASRT.cc (DASRT::error_message): Likewise. | |
5202 * DASPK.cc (DASPK::error_message): Likewise. | |
5203 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5204 |
4038 | 5205 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5206 $(LIBKPATHSEA) here. | |
5207 | |
4025 | 5208 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5209 | |
5210 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5211 (lo_ieee_is_NaN_or_NA): New function. | |
5212 (octave_NA): New global value. | |
5213 (octave_ieee_init): Initialize it. | |
5214 * lo-mappers.cc (octave_is_NA): New function. | |
5215 (octave_is_NaN_or_NA): New function. | |
5216 (xisnan): Return false if NaN looks like a missing value. | |
5217 (xisnan (const Complex&)): Use xisnan here. | |
5218 | |
4015 | 5219 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5220 | |
4017 | 5221 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5222 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5223 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5224 Default value for dim is -1, not 0. | |
5225 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5226 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5227 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5228 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5229 | |
4015 | 5230 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5231 New macros. | |
5232 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5233 MX_BASE_REDUCTION_OP. | |
5234 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5235 | |
4014 | 5236 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5237 | |
4015 | 5238 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5239 Return boolMatrix, not Matrix. | |
5240 | |
5241 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5242 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5243 (Matrix::all): Replace guts with MX_ALL_OP. | |
5244 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5245 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5246 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5247 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5248 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5249 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5250 | |
5251 * dMatrix.h (Matrix::any): New arg, dim. | |
5252 (Matrix::all): Likewise. | |
5253 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5254 (ComplexMatrix::all): Likewise. | |
5255 * boolMatrix.h (boolMatrix::any): Likewise. | |
5256 (boolMatrix::all): Likewise. | |
5257 * chMatrix.h (charMatrix::any): Likewise. | |
5258 (charMatrix::all): Likewise. | |
5259 | |
4014 | 5260 * Makefile.in: Use $@-t instead of $@.t. |
5261 | |
4004 | 5262 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5263 | |
5264 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5265 Use it in matrix versions to avoid spewing multiple errors. | |
5266 Call xgammainc instead of dgamit. | |
5267 | |
3998 | 5268 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5269 | |
5270 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5271 Get rows and columns right in loop. | |
5272 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5273 | |
5274 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5275 | |
5276 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5277 * DASRT.cc (DASRT::integrate): Likewise. | |
5278 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5279 | |
5280 * Quad.cc: Don't pass tolerances in constructors. | |
5281 | |
5282 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5283 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5284 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5285 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5286 from corresponding .in files. | |
5287 * LSODE.h, Quad.h: Replace options class definitions with included | |
5288 file. | |
5289 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5290 create OPTS_INC files from OPTS_INC_SRC files. | |
5291 (stamp-prereq): New target. | |
5292 (libraries): Depend on stamp-prereq. | |
5293 Include stamp-prereq along with $(MAKEDEPS). | |
5294 | |
3997 | 5295 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5296 | |
5297 * base-de.h (base_diff_eqn::istate): New data member. | |
5298 (base_diff_eqn::integration_state): New member function. | |
5299 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5300 data members and functions. | |
5301 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5302 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5303 | |
3990 | 5304 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5305 | |
3995 | 5306 * base-de.h (base_diff_eqn::stop_time, |
5307 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5308 base_diff_eqn::integration_error): New data members. | |
5309 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5310 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5311 base_diff_eqn::error_message): New member functions. | |
5312 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5313 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5314 members and functions. | |
5315 | |
3992 | 5316 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5317 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5318 (DASRT::integrate): Don't forget to set nn. |
3992 | 5319 |
3991 | 5320 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5321 * DASSL.cc (ddassl_j): Make it work. | |
5322 * DASPK.cc (ddaspk_j): Likewise. | |
5323 | |
3990 | 5324 * DAE.cc: Delete. |
5325 | |
5326 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5327 solving with root finding. | |
5328 * Makefile.in: Add them to the appropriate lists. | |
5329 | |
5330 * base-dae.h: New file. | |
5331 * Makefile.in (INCLUDES): Add it to the list. | |
5332 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5333 | |
3984 | 5334 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5335 | |
5336 * ODE.h: Move integrate and do_integrate method declarations and | |
5337 definitions here. | |
5338 * base-de.h: From here. | |
5339 | |
5340 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5341 * Makefile.in: Add them to the appropriate lists. | |
5342 (LIBOCTAVE_CXX_SOURCES): | |
5343 | |
3971 | 5344 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5345 | |
5346 * NLEqn.cc (NLEqn::error_message): New function. | |
5347 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5348 | |
3970 | 5349 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5350 | |
5351 * lo-utils.cc (octave_fgetl): New function. | |
5352 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5353 | |
3959 | 5354 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5355 | |
5356 * LSODE.cc (LSODE::error_message): New function. | |
5357 * LSODE.h: Provide decl. | |
5358 (LSODE::integration_state): New function. | |
5359 (LSODE::integration_ok): New function. | |
5360 | |
3952 | 5361 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5362 | |
3955 | 5363 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5364 (LSODE_options::set_integration_method, | |
5365 LSODE_options::integration_method): New functions. | |
3954 | 5366 |
3952 | 5367 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5368 Change all uses. | |
5369 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5370 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5371 New function. | |
5372 | |
5373 * Array.h (Array::fortran_vec): New const version. | |
5374 | |
3951 | 5375 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5376 | |
5377 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5378 (gnu_readline::history_search_forward): Likewise. | |
5379 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5380 to extern "C" functions to octave_rl_ad_defun. | |
5381 | |
5095 | 5382 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5383 |
5384 * DASPK.cc (ddaspk_psol): Return value. | |
5385 * oct-rl-edit.c: Use /* ... */ to comment. | |
5386 | |
3945 | 5387 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5388 | |
5389 * DASSL.h (DASSL_options::init): Undo previous change. | |
5390 (DASSL_options::set_absolute_tolerance): Likewise. | |
5391 * LSODE.h (LSODE_options::init): Likewise. | |
5392 (LSODE_options::set_absolute_tolerance): Likewise. | |
5393 | |
5394 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5395 sqrt(eps), not eps^2. | |
5396 DASPK_options::set_absolute_tolerance): Likewise. | |
5397 | |
5095 | 5398 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5399 |
5400 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5401 object. | |
5402 | |
3933 | 5403 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5404 | |
5405 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5406 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5407 (octave_rl_set_basic_word_break_characters, | |
5408 octave_rl_set_completer_word_break_characters): New functions. | |
5409 * oct-rl-edit.h: Provide decls. | |
5410 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5411 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5412 (command_editor::set_basic_quote_characters, | |
5413 command_editor::set_completion_append_character): New static functions. | |
5414 * cmd-edit.h: Provide decls. | |
5415 (command_editor::do_set_basic_word_break_characters, | |
5416 command_editor::do_set_completer_word_break_characters): | |
5417 New virtual functions. | |
5418 | |
5419 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5420 (resize_fill_value): New static function. | |
5421 | |
5422 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5423 resize_fill_value. | |
5424 * Array2-idx.h (Array2<T>::index): Likewise. | |
5425 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5426 | |
5427 * Array2.cc (Array<T>::print_info): New function. | |
5428 * Array2.h: Provide decl. | |
5429 | |
5430 * Array.cc (Array<T>::print_info): New function. | |
5431 * Array.h: Provide decl. | |
5432 | |
3928 | 5433 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5434 | |
5435 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5436 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5437 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5438 | |
5439 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5440 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5441 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5442 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5443 | |
5095 | 5444 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5445 |
5446 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5447 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5448 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5449 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5450 | |
3919 | 5451 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5452 | |
5453 * DASSL.h (DASSL_options::init): Undo previous change. | |
5454 (DASSL_options::set_absolute_tolerance): Likewise. | |
5455 | |
3912 | 5456 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5457 | |
5458 * DASPK.h, DASPK.cc: New files. | |
5459 * Makefile.in: Add them to the appropriate lists. | |
5460 | |
3904 | 5461 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5462 | |
5463 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5464 Simplify indexing when one or both of the indices are empty. | |
5465 | |
3896 | 5466 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5467 | |
5468 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5469 (DASSL_options::set_absolute_tolerance): Likewise. | |
5470 * LSODE.h (LSODE_options::init): Likewise. | |
5471 (LSODE_options::set_absolute_tolerance): Likewise. | |
5472 | |
5095 | 5473 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5474 |
5475 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5476 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5477 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5478 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5479 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5480 * file-stat.h: Likewise. | |
5481 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5482 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5483 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5484 * strftime.c: Likewise. | |
5485 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5486 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5487 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5488 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5489 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5490 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5491 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5492 | |
5095 | 5493 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5494 |
5495 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5496 internally when the user requests it. | |
5497 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5498 * dbleQR.cc (QR::init): Ditto. | |
5499 * dbleQRP.cc (QRP::init): Ditto. | |
5500 | |
3874 | 5501 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5502 | |
5503 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5504 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5505 (octave_fftw::ifft2d): Likewise. | |
5506 | |
5095 | 5507 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5508 |
5509 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5510 | |
3867 | 5511 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5512 | |
5513 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5514 (LS_DO_WRITE): Likewise. | |
5515 | |
3864 | 5516 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5517 | |
5518 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5519 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5520 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5521 | |
5522 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5523 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5524 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5525 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5526 | |
5527 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5528 DIM == -1 now means no orientation for vector sums. | |
5529 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5530 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5531 | |
3858 | 5532 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5533 | |
5534 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5535 have zero elements. | |
5536 | |
3854 | 5537 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5538 | |
3857 | 5539 * Makefile.in: Split out readline and pathsearch functionality |
5540 into separate liboct-readline and liboct-pathsearch libraries. | |
5541 | |
3854 | 5542 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5543 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5544 to do nothing for this call to rl_clear_screen. | |
3854 | 5545 |
3849 | 5546 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5547 | |
5548 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5549 function. | |
5550 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5551 | |
3838 | 5552 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5553 | |
5554 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5555 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5556 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5557 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5558 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5559 | |
3836 | 5560 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5561 | |
5562 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5563 | |
5564 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5565 Array-b.cc: Instantiate three arg assign functions. | |
5566 | |
5567 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5568 New arg, resize_fill_value. | |
5569 * ArrayN.h: Provide declaration. | |
5570 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5571 three arg version. | |
5572 | |
5573 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5574 New arg, resize_fill_value. | |
5575 * Array3.h: Provide declaration. | |
5576 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5577 three arg version. | |
5578 | |
5579 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5580 New arg, resize_fill_value. | |
5581 * Array2.h: Provide declaration. | |
5582 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5583 three arg version. | |
5584 | |
5585 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5586 New arg, resize_fill_value. | |
5587 * Array.h: Provide declaration. | |
5588 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5589 three arg version. | |
5590 | |
3833 | 5591 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5592 | |
5593 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5594 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5595 to the empty string. | |
5596 | |
3832 | 5597 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5598 | |
5599 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5600 Don't check for rep != a.rep. | |
5601 | |
3827 | 5602 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5603 | |
5604 * oct-fftw.h, oct-fftw.cc: New files. | |
5605 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5606 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5607 ifourier2d}): Use fftw if available. | |
5608 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5609 Likewise. | |
5610 | |
3821 | 5611 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5612 | |
5613 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5614 (install-inc): Don't use mk-includedir-link. | |
5615 | |
3803 | 5616 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5617 | |
5618 * lo-cutils.c (octave_gethostname): New function. | |
5619 * lo-utils.h: Provide declaration. | |
5620 * oct-env.cc (octave_env::do_get_host_name): | |
5621 Call octave_gethostname, instead of gethostname. | |
5622 | |
5623 * lo-cutils.c (gethostname): Define here. | |
5624 * lo-sysdep.cc: Not here. | |
5625 | |
3786 | 5626 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5627 | |
5628 * lo-cutils.c: Don't declare strptime. | |
5629 (oct_strptime): Cast return type of strptime to char*. | |
5630 | |
3777 | 5631 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5632 | |
3779 | 5633 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5634 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5635 (octave_rl_read_init_file): Ditto. | |
5636 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5637 free_undo_list. | |
5638 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5639 completion_matches. | |
5640 (octave_rl_enable_paren_matching): New function. | |
5641 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5642 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5643 | |
3777 | 5644 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5645 tanh (const Complex&)): Declare and define if not | |
5646 CXX_ISO_COMPLIANT_LIBRARY. | |
5647 | |
3776 | 5648 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5649 | |
5650 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5651 CXX_ISO_COMPLIANT_LIBRARY. | |
5652 | |
3775 | 5653 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5654 | |
3776 | 5655 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5656 CXX_ISO_COMPLIANT_LIBRARY. | |
5657 | |
3775 | 5658 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5659 archive libraries containing templates. | |
5660 | |
5661 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5662 get_zero_len_size, all_colon_equiv): Inline. | |
5663 (ArrayN<T>::index): Rename idx to arr_idx. | |
5664 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5665 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5666 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5667 | |
5668 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5669 | |
5670 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5671 log10 (const Complex&)): Delete. | |
5672 | |
5673 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5674 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5675 sinh, sqrt, tan, and tanh. | |
5676 | |
3769 | 5677 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5678 | |
5679 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5680 Add std:: namespace qualifier as needed. | |
5681 | |
5682 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5683 Change all uses to match. | |
5684 | |
3767 | 5685 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5686 | |
5687 * lo-cutils.c: Don't delcare strptime. | |
5688 | |
3760 | 5689 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5690 | |
5691 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5692 Return correct size result for empty matrix case. | |
5693 | |
3757 | 5694 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5695 | |
5696 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5697 If args are equal in magnitude, return first arg instead of | |
5698 second. | |
5699 | |
3752 | 5700 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5701 | |
3755 | 5702 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5703 then try harder to compute correct number of elements. | |
3753 | 5704 |
3752 | 5705 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5706 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5707 | |
3750 | 5708 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5709 | |
3751 | 5710 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5711 Rename n_intervals to be n_elt. | |
5712 | |
3750 | 5713 * strptime.c: Surround everything after including config.h in |
5714 #ifndef HAVE_STRPTIME ... #endif. | |
5715 | |
3742 | 5716 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5717 | |
5718 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5719 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5720 | |
3741 | 5721 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5722 | |
5723 * MArray-defs.h: Protect against multiple inclusion. | |
5724 | |
3739 | 5725 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5726 | |
5727 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5728 end of the list, to be compatible with previous versions of Octave. | |
5729 | |
3736 | 5730 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5731 | |
5732 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5733 since mktime is supposed to `normalize' the results for us. | |
5734 | |
3731 | 5735 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5736 | |
5737 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 5738 and vectors. Use xelem for faster access to elements when copying. |
3731 | 5739 |
3726 | 5740 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5741 | |
5742 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
5743 Correct indexing for operation across rows. | |
5744 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
5745 | |
3725 | 5746 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5747 | |
5748 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
5749 elements if arg is a colon. | |
5750 | |
5095 | 5751 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 5752 |
3795 | 5753 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 5754 (Matrix::cumsum (int) const): Likewise. |
5755 (Matrix::prod (int) const): Likewise. | |
5756 (Matrix::sum (int) const): Likewise. | |
5757 (Matrix::sumsq (int) const): Likewise. | |
5758 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
5759 (ComplexMatrix::cumsum (int) const): Likewise. | |
5760 (ComplexMatrix::prod (int) const): Likewise. | |
5761 (ComplexMatrix::sum (int) const): Likewise. | |
5762 (ComplexMatrix::sumsq (int) const): Likewise. | |
5763 | |
3722 | 5764 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5765 | |
5766 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
5767 size if Array<T>::index returns an empty array. | |
5768 | |
3710 | 5769 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5770 | |
5771 * file-ops.cc (file_ops::link, file_ops::symlink, | |
5772 file_ops::readlink): New functions. | |
5773 | |
3709 | 5774 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5775 | |
5776 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
5777 indexed, always return an object the same size as the index arg. | |
5778 | |
5779 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
5780 empty format. | |
5781 | |
3706 | 5782 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5783 | |
5784 * lo-cutils.c (oct_strptime): New function. | |
5785 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
5786 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
5787 | |
3702 | 5788 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5789 | |
3703 | 5790 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
5791 | |
3702 | 5792 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
5793 | |
3689 | 5794 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5795 | |
5796 * dMatrix.h (read_int): Provide declaration. | |
5797 | |
3688 | 5798 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
5799 | |
5800 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
5801 (write_doubles): Ditto. | |
5802 * data-conv.h: Ditto. | |
5803 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
5804 | |
3685 | 5805 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5806 | |
5807 * boolMatrix.h: Declare MM_CMP_OPS here. | |
5808 * boolMatrix.cc: Define them here. | |
5809 | |
3680 | 5810 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5811 | |
5812 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
5813 previously undefined and set size of x to size of bool index. | |
5814 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
5815 Allow z_len to be zero. | |
5816 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
5817 If frozen, don't assert that frozen_at_z_len == z_len. | |
5818 | |
3670 | 5819 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5820 | |
5821 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
5822 instead of rl_clear_screen. | |
5823 | |
3665 | 5824 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5825 | |
5826 * Array-d.cc: Instantiate ArrayN<double> here too. | |
5827 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
5828 * Makefile.in: Add them to the appropriate lists. | |
5829 | |
3657 | 5830 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5831 | |
5832 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
5833 | |
3635 | 5834 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5835 | |
5836 * lo-sysdep.h: octave_chdir returns int, not bool. | |
5837 | |
3615 | 5838 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5839 | |
5840 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
5841 before rebuilding. | |
5842 | |
5095 | 5843 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 5844 |
5261 | 5845 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 5846 (libraries): Depend only on library targets, not archive members. |
5847 | |
3613 | 5848 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5849 | |
5850 * Makefile.in: (objects): New target. | |
5851 | |
5852 * lo-cutils.c: New file. | |
5853 * Makefile.in (SOURCES): Add it to the list. | |
5854 * lo-utils.h: Declare octave_qsort here. | |
5855 * Array.h (Array::qsort): Use it here. | |
5856 | |
3607 | 5857 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5858 | |
5859 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
5860 | |
3598 | 5861 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5862 | |
5863 * oct-rl-hist.c (octave_history_list): Do something when not | |
5864 printing line numbers. Fix reallocation of retval. | |
5865 | |
3597 | 5866 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5867 | |
5868 * Makefile.in (install-inc): Install files in | |
5869 $(octincludedir)/octave. | |
5870 (uninstall): Remove them from the correct directory too. | |
5871 | |
5872 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
5873 they are not already defined. | |
5874 | |
3588 | 5875 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5876 | |
5877 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
5878 Delete declarations and definitions of mixed-type vector-vector ops. | |
5879 | |
3585 | 5880 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5881 | |
5882 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
5883 matrix and vector objects. | |
5884 | |
5885 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
5886 return type from second arg type. | |
5887 (MDM_BIN_OP): Likewise, for first arg type. | |
5888 | |
5889 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5890 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
5891 | |
5892 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
5893 request ColumnVector to ComplexColumnVector, and Matrix to | |
5894 ComplexMatrix conversions. | |
5895 | |
5896 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
5897 initial value using ComplexMatrix constructor. | |
5898 | |
5899 * CColVector.cc (product, quotient, | |
5900 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
5901 Fix type of returned value. | |
5902 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
5903 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
5904 | |
5905 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
5906 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
5907 dRowVector.h: Declare some constructors explicit, to disallow | |
5908 potentially problematic automatic type conversions. | |
5909 | |
3580 | 5910 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5911 | |
3582 | 5912 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
5913 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
5914 More new files. | |
5915 * Makefile.in: Add them to the appropriate lists. | |
5916 | |
5917 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
5918 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
5919 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
5920 vx-s-crv.cc:, New files. | |
5921 * Makefile.in: Add them to the appropriate lists. | |
5922 | |
5923 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
5924 Delete scalar by vector and vector by scalar binary ops. | |
5925 | |
3580 | 5926 * MArray-defs.h: More new macros to handle MDiagArray operators. |
5927 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
5928 | |
3573 | 5929 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5930 | |
3578 | 5931 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
5932 rl_event_hook before casting to void **. | |
5933 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
5934 | |
3574 | 5935 * MArray-defs.h: Many new macros to make declaration and |
5936 definition of operators more consistent. | |
5937 | |
5938 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
5939 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 5940 |
3569 | 5941 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5942 | |
3572 | 5943 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
5944 (Matrix::ifourier2d): Likewise. | |
5945 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
5946 (ComplexMatrix::ifourier2d): Likewise. | |
5947 | |
3569 | 5948 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
5949 | |
3504 | 5950 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5951 | |
3519 | 5952 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
5953 readline library. | |
5954 * Makefile.in: Add them to the appropriate lists. | |
5955 | |
5956 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
5957 readline history library. | |
5958 * Makefile.in: Add them to the appropriate lists. | |
5959 | |
3517 | 5960 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
5961 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 5962 (write_doubles): Likewise. |
5963 (read_doubles): Likewise. | |
3517 | 5964 |
3516 | 5965 * oct-env.cc (octave_env::do_polite_directory_format): |
5966 Use operator== and substr method to do limited-length string | |
5967 comparison. | |
5968 | |
3513 | 5969 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 5970 |
3511 | 5971 * Quad.h: Use do_integrate as name of pure virtual function. |
5972 | |
3508 | 5973 * base-de.h: Use tt instead of t as arg names. |
3511 | 5974 Add method with tcrit arg. |
5975 | |
3509 | 5976 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 5977 |
3507 | 5978 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
5979 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
5980 * Quad.cc (quad_fcn_ptr): Ditto. | |
5981 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
5982 | |
3505 | 5983 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 5984 * Makefile.in: Add them to the appropriate lists. |
3505 | 5985 |
5986 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 5987 * Makefile.in: Add them to the appropriate lists. |
3505 | 5988 |
3504 | 5989 * dMatrix.cc (write_int, read_int): No longer declared static. |
5990 | |
5991 * CDiagMatrix.h: Delete decls for friend operators that are | |
5992 handled by MDiagArray2 class. Move others outside class decl and | |
5993 strip friend status. | |
5994 * dDiagMatrix.h: Likewise. | |
5995 | |
5996 * MArray.h: Delete decls for friend operators inside class decl. | |
5997 * MArray2.h: Ditto. | |
5998 * MDiagArray2.h: Ditto. | |
5999 | |
6000 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6001 necessary parameters. Don't allocate memory in the macro. Change | |
6002 all uses. | |
6003 | |
6004 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6005 * CMatrix.h (class ComplexMatrix): Ditto. | |
6006 | |
6007 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6008 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6009 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6010 avoid type conflicts. Change all uses. | |
6011 | |
6012 * strptime.c (__mon_yday): Fix size of array decl. | |
6013 | |
6014 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6015 | |
6016 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6017 default value for second arg. | |
6018 | |
6019 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6020 references to ArrayRep. | |
6021 | |
3503 | 6022 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6023 | |
3504 | 6024 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6025 |
6026 * All source files: Include iostream, fstream, strstream, | |
6027 etc. as needed instead of using forward declarations for these | |
3504 | 6028 classes. Add std:: qualifier as needed. |
3503 | 6029 |
3498 | 6030 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6031 | |
6032 * oct-time.cc: Declare strptime extern "C". | |
6033 | |
3496 | 6034 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6035 | |
6036 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6037 | |
3488 | 6038 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6039 | |
3492 | 6040 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6041 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6042 to get total size to be allocated. | |
6043 | |
3488 | 6044 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6045 as bool, not int. | |
6046 | |
3482 | 6047 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6048 | |
6049 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6050 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6051 as A, even when do_fortran_indexing is not enabled. | |
6052 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6053 | |
3473 | 6054 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6055 | |
3480 | 6056 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6057 function pointer as final arg. Passed function (if any) will be | |
6058 called for singularity errors. | |
6059 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6060 | |
6061 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6062 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6063 | |
3475 | 6064 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6065 No longer bother with infinity or quiet_nan. | |
6066 | |
3473 | 6067 * Array2.cc (Array2<T>::get_size): New function. |
6068 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6069 | |
3472 | 6070 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6071 | |
6072 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6073 New function. | |
6074 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6075 Use it when indexing with one arg instead of faking a second one. | |
6076 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6077 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6078 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6079 rows or columns. | |
6080 | |
6081 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6082 vector that is all true values with a length equal to n as colon | |
6083 equivalent. | |
6084 | |
3470 | 6085 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6086 | |
6087 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6088 | |
5095 | 6089 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6090 |
6091 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6092 operations directly in step 2 and reverse step 2. | |
6093 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6094 operations directly in step 2 and reverse step 2. | |
6095 | |
3465 | 6096 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6097 | |
6098 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6099 | |
6100 * strptime.c: New file, from glibc 2.1.2. | |
6101 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6102 | |
3419 | 6103 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6104 | |
6105 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6106 | |
3415 | 6107 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6108 | |
6109 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6110 NULL directory list returned from kpse_element_dirs | |
6111 | |
3375 | 6112 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6113 | |
6114 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6115 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6116 directly, instead of calling ZGESV. | |
6117 | |
3358 | 6118 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6119 | |
6120 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6121 (string_to_data_type): Use it to improve lookup of data types. | |
6122 | |
3354 | 6123 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6124 | |
6125 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6126 * Array2.h (is_symmetric): Delete declaration. | |
6127 | |
3347 | 6128 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6129 | |
6130 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6131 | |
3344 | 6132 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6133 | |
6134 * oct-time.cc (Fstrftime): Undo previous change. | |
6135 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6136 | |
3334 | 6137 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6138 | |
3336 | 6139 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6140 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6141 | |
3334 | 6142 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6143 Don't forget to pass length of third string argument to dgeesx. | |
6144 | |
6145 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6146 of third string argument to zgeesx. | |
6147 | |
3333 | 6148 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6149 | |
6150 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6151 On errors, simply return `T ()'. | |
6152 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6153 | |
5095 | 6154 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6155 |
6156 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6157 AEPBALANCE class. | |
6158 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6159 | |
3325 | 6160 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6161 | |
6162 * oct-shlib.cc, oct-shlib.h: New files. | |
6163 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6164 | |
3322 | 6165 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6166 | |
6167 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6168 * dRowVector.cc (linspace): Ditto. | |
6169 | |
6170 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6171 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6172 | |
3312 | 6173 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6174 | |
6175 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6176 to evaluate the Jacobian, set info(4), not iwork(4). | |
6177 Set rwork(1) to the maximum step size, not rwork(2). | |
6178 | |
3290 | 6179 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6180 | |
6181 * oct-time.cc: Include <climits>. | |
6182 | |
3281 | 6183 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6184 | |
6185 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6186 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6187 (gnu_readline::do_resize_terminal): New function. | |
6188 | |
3268 | 6189 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6190 | |
6191 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6192 * lo-ieee.c: Likewise. | |
6193 Delete extern "C" declarations for infinity and quiet_nan. | |
6194 | |
3262 | 6195 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6196 | |
3263 | 6197 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6198 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6199 `inline', not `static inline'. | |
6200 | |
3262 | 6201 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6202 then cast to const int * to compare. | |
6203 | |
3257 | 6204 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6205 | |
6206 * DAEFunc.h: Remove useless preprocessor conditional. | |
6207 | |
3255 | 6208 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6209 | |
3257 | 6210 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6211 Use octave_time object instead of time_t. | |
6212 | |
6213 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6214 file_stat::fs_ctime): Now octave_time objects. | |
6215 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6216 Return octave_time objects. | |
6217 (file_stat::is_newer): Args are now octave_time objects instead of | |
6218 time_t. | |
6219 | |
3255 | 6220 * oct-time.h (octave_time::as_double): Delete. |
6221 (octave_time::operator double ()): New function. | |
6222 (octave_time::operator time_t ()): New function. | |
6223 (octave_time::ctime): New function. | |
6224 (octave_base_tm::strftime): Renamed from format_as_string. | |
6225 (octave_base_tm::asctime): New function. | |
6226 (operator == (const octave_time&, const octave_time&), | |
6227 operator != (const octave_time&, const octave_time&), | |
6228 operator < (const octave_time&, const octave_time&), | |
6229 operator <= (const octave_time&, const octave_time&), | |
6230 operator > (const octave_time&, const octave_time&), | |
6231 operator >= (const octave_time&, const octave_time&)): | |
6232 New comparison functions. | |
6233 | |
6234 * strftime.c: Move here from src directory. | |
6235 * Makefile.in (SOURCES): Add it to the list. | |
6236 | |
6237 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6238 | |
3253 | 6239 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6240 | |
6241 * oct-time.h, oct-time.cc: New files. | |
6242 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6243 | |
6244 * systime.h: Move here from src directory. | |
6245 * Makefile.in (INCLUDES): Add it to the list. | |
6246 | |
3248 | 6247 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6248 | |
6249 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6250 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6251 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6252 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6253 | |
6254 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6255 | |
3243 | 6256 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6257 | |
6258 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6259 | |
6260 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6261 | |
6262 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6263 column vector for A(:), for compatibility with Matlab. | |
6264 | |
6265 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6266 | |
6267 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6268 iopt when there are optional inputs in rwork or iwork. | |
6269 | |
3238 | 6270 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6271 | |
6272 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6273 creating static libs. | |
6274 | |
5095 | 6275 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6276 |
6277 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6278 and uint32 data types. | |
6279 | |
6280 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6281 | |
6282 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6283 for Linux. Remove old Linux-specific code. | |
6284 | |
3233 | 6285 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6286 | |
6287 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6288 Don't require lengths to be equal. | |
6289 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6290 ComplexRowVector& a)): Likewise | |
6291 | |
5095 | 6292 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6293 |
6294 * statdefs.h: Only define mode_t if not already defined. | |
6295 | |
5095 | 6296 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6297 |
6298 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6299 when appropriate. | |
6300 | |
6301 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6302 | |
6303 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6304 before calling rl_initialize. | |
6305 | |
3220 | 6306 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6307 | |
6308 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6309 Update Bessel function support to use library by D. E. Amos. | |
6310 | |
3219 | 6311 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6312 | |
6313 * cmd-edit.h (command_editor::readline): Add new variation that | |
6314 allows EOF information to be passed back to caller. | |
6315 | |
6316 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6317 amount of data to read is unspecified. | |
6318 | |
3215 | 6319 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6320 | |
3219 | 6321 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6322 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6323 | |
3215 | 6324 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6325 Add volatile qualifier to void* arg. | |
6326 Cast volatile void* arg to volatile char*. | |
6327 | |
6328 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6329 | |
6330 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6331 (command_editor::do_restore_event_hook): Ditto. | |
6332 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6333 (command_editor::restore_event_hook): Ditto. | |
6334 (gnu_readline::do_set_event_hook): Ditto. | |
6335 (gnu_readline::do_restore_event_hook): Ditto. | |
6336 (gnu_readline::previous_event_hook): New data member. | |
6337 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6338 | |
3206 | 6339 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6340 | |
6341 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6342 | |
6343 * Makefile.in (stmp-pic): New target. | |
6344 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6345 (clean): Remove stmp-pic | |
6346 | |
6347 * Makefile.in: Undo previous change to avoid optmization when | |
6348 compiling lo-ieee.cc. | |
6349 | |
6350 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6351 | |
6352 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6353 imaginary parts. | |
6354 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6355 | |
3203 | 6356 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6357 | |
6358 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6359 | |
3196 | 6360 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6361 | |
6362 * pathsearch.h (dir_path::default_path): New data member. | |
6363 * pathsearch.cc (dir_path::init): Use it. | |
6364 | |
6365 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6366 | |
3189 | 6367 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6368 | |
6369 * chMatrix.cc (charMatrix::extract): New function. | |
6370 (charMatrix::charMatrix (char c)): New constructor. | |
6371 | |
6372 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6373 | |
6374 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6375 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6376 (gnu_readline::do_read_init_file): Likewise. | |
6377 | |
3185 | 6378 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6379 | |
6380 * oct-env.cc (octave_env::do_get_home_directory): | |
6381 If HOME can't be found, set it to "/". | |
6382 (octave_env::do_get_user_name) | |
6383 If user name can't be found, set it to "unknown". | |
6384 (octave_env::do_get_host_name) | |
6385 If host name can't be found, set it to "unknown". | |
6386 | |
6387 * pathsearch.h (dir_path::rehash): New function. | |
6388 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6389 diretcory cache before doing initialization. | |
6390 | |
3180 | 6391 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6392 | |
3185 | 6393 * dMatrix.cc (Qzval): Delete. |
6394 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6395 * dMatrix.h (Qzval): Delete declaration. | |
6396 | |
6397 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6398 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6399 * mx-ext.h: Don't include dbleGEPBAL. | |
6400 | |
3180 | 6401 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6402 static_cast. | |
6403 | |
6404 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6405 | |
6406 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6407 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6408 | |
6409 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6410 | |
6411 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6412 HUGE_VAL and NAN. | |
6413 | |
6414 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6415 | |
6416 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6417 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6418 | |
6419 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6420 | |
6421 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6422 Alloctate space before attempting to use it. | |
6423 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6424 | |
5095 | 6425 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6426 |
6427 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6428 | |
6429 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6430 | |
6431 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6432 have the same size as the operands. | |
6433 | |
6434 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6435 | |
6436 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6437 call to ddassl, set integration_error to 1 before calling the | |
6438 error handler and returning. | |
6439 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6440 | |
3177 | 6441 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6442 | |
6443 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6444 do_fortran_indexing is set, A([]) = scalar. | |
6445 * Array-idx.h (assign): Allow A([]) = scalar. | |
6446 | |
3176 | 6447 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6448 | |
6449 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6450 if dm_nc == 0. | |
6451 | |
3174 | 6452 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6453 | |
6454 * pathsearch.h (dir_path::p_orig): New field. | |
6455 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6456 expansion on the original path here. | |
6457 (dir_path::find_all): Don't do anything if not initialized. | |
6458 | |
3164 | 6459 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6460 | |
6461 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6462 is not set. | |
6463 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6464 | |
6465 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6466 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6467 \int_0^x exp(-t) t^(a-1) dt. | |
6468 | |
6469 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6470 | |
6471 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6472 Array-s.cc: Change return types of all `assign' explicit | |
6473 instantiations to be int, not void, to match the template decl in | |
6474 Array.h. | |
6475 | |
3162 | 6476 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6477 | |
6478 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6479 | |
3156 | 6480 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6481 | |
6482 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6483 * lo-mappers.cc: Not here. | |
6484 | |
6485 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6486 * lo-mappers.h: Not here. | |
6487 | |
6488 * lo-specfun.h: Never declare gamma or lgamma. | |
6489 | |
3154 | 6490 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6491 | |
6492 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6493 empty matrix of any dimension. | |
6494 | |
3145 | 6495 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6496 | |
3147 | 6497 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6498 | |
3146 | 6499 * lo-specfun.cc: Don't include dbleBessel.h. |
6500 | |
6501 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6502 | |
3145 | 6503 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6504 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6505 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6506 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6507 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6508 | |
6509 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6510 Don't cast arg in call to swap_8_bytes. | |
6511 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6512 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6513 swap_4_bytes. | |
6514 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6515 | |
6516 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6517 * prog-args.cc (prog_args::getopt): Likewise. | |
6518 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6519 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6520 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6521 Likewise. | |
6522 | |
6523 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6524 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6525 | |
3141 | 6526 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6527 | |
6528 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6529 Use $(mk-libdir-link). | |
6530 | |
6531 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6532 not SAFE_STAT and SAFE_LSTAT. | |
6533 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6534 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6535 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6536 safe-lstat.h, and safe-lstat.cc. | |
6537 | |
3136 | 6538 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6539 | |
6540 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6541 | |
3130 | 6542 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6543 | |
6544 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6545 trace is negative. | |
6546 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6547 the real part of the trace is negative. | |
6548 | |
6549 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6550 | |
6551 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6552 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6553 | |
6554 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6555 to succeed. | |
6556 | |
3125 | 6557 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6558 | |
6559 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6560 (make_uniq): Likewise. | |
6561 | |
6562 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6563 | |
6564 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6565 | |
3119 | 6566 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6567 | |
3121 | 6568 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6569 | |
6570 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6571 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6572 | |
3121 | 6573 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6574 oct-math.h: Delete. | |
6575 * Makefile.in (SOURCES): Delete them from the list. | |
6576 | |
3112 | 6577 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6578 | |
6579 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6580 | |
5095 | 6581 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6582 |
6583 Changes to make support egcs snapshots that implement explicit | |
6584 specification of template functions according to CD2. | |
6585 | |
6586 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6587 template function specs for template friends. | |
6588 * MArray2.h: Likewise. | |
6589 * MDiagArray2.h: Likewise. | |
6590 | |
3095 | 6591 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6592 | |
6593 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6594 | |
3092 | 6595 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6596 | |
6597 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6598 to complex<double>(int) instead of complex<double>(double). | |
6599 | |
6600 * lo-mappers.cc (atanh): Ditto. | |
6601 | |
3079 | 6602 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6603 | |
6604 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6605 * idx-vector.h (idx_vector::sort): Ditto. | |
6606 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6607 trying to delete elements specified by the index vectors. | |
6608 | |
3075 | 6609 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6610 | |
6611 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6612 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6613 | |
3074 | 6614 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6615 | |
6616 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6617 | |
3069 | 6618 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6619 | |
6620 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6621 Call error handler if we can't find the current directory. | |
6622 | |
3068 | 6623 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6624 | |
3069 | 6625 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6626 (xfinite (double)): Ditto. | |
6627 | |
3068 | 6628 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6629 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6630 | |
3056 | 6631 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6632 | |
6633 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6634 compatible with Matlab. | |
6635 | |
3050 | 6636 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6637 | |
6638 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6639 single colon. | |
6640 | |
3040 | 6641 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6642 | |
3049 | 6643 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6644 (xgamma): Likewise, for calling xdgamma. | |
6645 | |
3042 | 6646 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6647 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6648 | |
3040 | 6649 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6650 to do better job expanding tildes. | |
6651 | |
6652 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6653 Use temporary variable to compute length. | |
6654 | |
3029 | 6655 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6656 | |
3034 | 6657 * Makefile.in: Make building of static library optional. |
3036 | 6658 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6659 |
3029 | 6660 * Makefile.in (stamp-picdir): Delete. |
6661 (pic): New target. Don't worry so much about creating pic | |
6662 directory only when it is really needed. | |
6663 (stamp-interp): Delete. | |
6664 (libraries): New target. Depend on shared library directly. | |
6665 | |
3024 | 6666 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6667 | |
6668 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6669 New static function. | |
6670 | |
3012 | 6671 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6672 | |
6673 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6674 | |
3004 | 6675 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6676 | |
6677 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6678 set_basic_quote_characters, to match new version of readline. | |
6679 | |
6680 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6681 for restoring terminal state through rl_deprep_term_function, now | |
6682 declared in readline.h | |
6683 (rl_deprep_terminal): Delete declaration. | |
6684 | |
2993 | 6685 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6686 | |
6687 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6688 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6689 | |
2968 | 6690 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6691 | |
6692 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6693 New static function. | |
6694 | |
2964 | 6695 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6696 | |
2966 | 6697 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6698 the vector is not sorted. | |
6699 | |
2964 | 6700 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6701 * dMatrix.cc (Matrix::operator !): Likewise | |
6702 | |
2941 | 6703 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6704 | |
6705 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6706 | |
6707 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6708 | |
6709 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6710 | |
2938 | 6711 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6712 | |
2941 | 6713 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6714 (install-inc): Use it. | |
6715 | |
2938 | 6716 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6717 Handle errors and missing functions consistently. | |
6718 | |
6719 * oct-group.h, oct-group.cc: New files. | |
6720 | |
6721 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6722 | |
6723 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6724 | |
2934 | 6725 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6728 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6729 | |
6730 * oct-passwd.h, oct-passwd.cc: New files. | |
6731 | |
2926 | 6732 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6733 | |
6734 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
6735 | |
6736 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
6737 (instance_ok ()): New function. | |
6738 | |
6739 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
6740 | |
6741 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
6742 | |
6743 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
6744 src/utils.h and src/utils.cc. | |
6745 (octave_fgets): New function, extracted from src/input.cc. | |
6746 | |
6747 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
6748 GNU readline, and allow Octave to work without GNU readline. | |
6749 | |
6750 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
6751 system-dependent functions. | |
6752 | |
6753 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
6754 | |
6755 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
6756 from file-ops.h and file-ops.cc and move here. | |
6757 | |
6758 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
6759 tilde_expand functions here from src/dirfns.cc. | |
6760 | |
6761 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6762 | |
6763 * pathlen.h: New file, from ../src. | |
6764 | |
2917 | 6765 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6766 | |
6767 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
6768 out-of-bounds indexing of the index array. | |
6769 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
6770 | |
2850 | 6771 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6772 | |
6773 * LSODE.h (x_step_limit): New field. | |
6774 (LSODE_options::init): Initialize it. | |
6775 (LSODE_options::copy): Copy it. | |
6776 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
6777 New functions. | |
6778 (LSODE::working_too_hard): Delete. | |
6779 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
6780 | |
2844 | 6781 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6782 | |
6783 * MArray-b.cc: Delete. | |
6784 * Makefile.in: Delete it from the lists. | |
6785 | |
6786 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
6787 MArray2, since most of the numeric ops don't really make sense. | |
6788 | |
2829 | 6789 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6790 | |
2832 | 6791 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
6792 | |
6793 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
6794 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
6795 | |
2830 | 6796 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
6797 idx_vector::freeze): Delete prefer_zero_one arg. | |
6798 * Array-idx.h, Array2-idx.h: Change all callers. | |
6799 | |
6800 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
6801 | |
2829 | 6802 * mx-op-defs.h: New file for operator definitions. |
6803 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
6804 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
6805 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
6806 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
6807 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
6808 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
6809 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
6810 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
6811 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
6812 mx-s-cm.cc, mx-s-dm.cc: | |
6813 New files for mixed-type operations. | |
6814 * Makefiles.in: Add them to the appropriate lists. | |
6815 | |
6816 * mx-inlines.cc: Add bool by bool EQ ops. | |
6817 | |
6818 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
6819 boolMatrix types. | |
6820 (idx_vector::maybe_convert_one_zero_to_idx, | |
6821 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
6822 Delete second arg, prefer_zero_one. Change all callers. | |
6823 | |
6824 * boolMatrix.h, boolMatrix.cc: New files. | |
6825 * mx-base.h: Include boolMatrix.h here. | |
6826 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
6827 | |
6828 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
6829 | |
6830 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
6831 operator-, operator*, product, and quotient functions. | |
6832 Add constructor for boolMatrix type. | |
6833 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
6834 product, and quotient functions. | |
6835 | |
6836 * CDiagMatrix.h: Delete friend declarations for operator+, | |
6837 operator-, and product functions. | |
6838 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
6839 | |
6840 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
6841 | |
2815 | 6842 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6843 | |
6844 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
6845 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
6846 (EIG::symmetric_init (const Matrix&)): New function. | |
6847 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
6848 | |
6849 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
6850 | |
6851 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6852 | |
6853 * Array2.cc (is_symmetric): New function. | |
6854 * Array2.h (is_square): New function. | |
6855 | |
2811 | 6856 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6857 | |
6858 * Makefile.in (install-strip): New target. | |
6859 | |
2804 | 6860 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6861 | |
6862 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6863 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
6864 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6865 dbleSVD.cc: Don't include mx-inlines.cc. | |
6866 | |
6867 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
6868 duplicate code. | |
6869 | |
2800 | 6870 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6871 | |
2804 | 6872 * dbleQR.h (QR): Delete extra comma at end of list. |
6873 | |
6874 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
6875 | |
6876 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
6877 | |
6878 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
6879 idx_vecotr_rep:: qualifiers. | |
6880 | |
6881 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
6882 | |
6883 * data-conv.h (save_type): Delete extra comma at end of list. | |
6884 | |
2800 | 6885 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
6886 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
6887 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
6888 old C-style `(T) val' casts. | |
6889 | |
2795 | 6890 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6891 | |
6892 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
6893 just breaking out of the innermost loop. | |
6894 * CMatrix.cc (operator >>): Likewise. | |
6895 | |
2779 | 6896 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 6897 |
6898 * Version 2.0.5 released. | |
6899 | |
2767 | 6900 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6901 | |
6902 * CmplxQR.cc (ComplexQR::init): New function. | |
6903 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
6904 * CmplxQRP.cc (ComplexQRP::init): New function. | |
6905 Get sizes right in all cases. | |
6906 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
6907 | |
6908 * dbleQR.cc (QR::init): New function. | |
6909 (QR::QR): Use it. Use initializer list too. | |
6910 * dbleQRP.cc (QRP::init): New function. | |
6911 Get sizes right in all cases. | |
6912 (QR::QRP): Use it. Use initializer list too. | |
6913 | |
2759 | 6914 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6915 | |
6916 * mach-info.cc (oct_mach_info::string_to_float_format): | |
6917 Recognize "vaxg", not "vax_g". | |
6918 | |
2713 | 6919 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6920 | |
2714 | 6921 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
6922 dimension in check for colon equivalent index. | |
6923 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
6924 index whose value is 0 is also colon eqivalent for n == 1. | |
6925 | |
2713 | 6926 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
6927 system-specific tests first. | |
6928 | |
2709 | 6929 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 6930 |
6931 * Version 2.0.4 released. | |
6932 | |
6933 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6934 | |
6935 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
6936 | |
2693 | 6937 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 6938 |
6939 * Version 2.0.3 released. | |
6940 | |
2686 | 6941 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6942 | |
6943 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
6944 | |
2673 | 6945 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6946 | |
2676 | 6947 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
6948 (all): Don't depend on stamp-prereq or stamp-picdir. | |
6949 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
6950 (stamp-picdir): Silence noise about making pic. | |
6951 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
6952 | |
2673 | 6953 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
6954 Fix typo in last change. | |
6955 | |
6956 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
6957 Convert from friend (moved from dColVector.cc). | |
6958 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
6959 Likewise (moved from dMatrix.cc). | |
6960 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
6961 Likewise (moved from dRowVector.cc). | |
6962 | |
6963 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
6964 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
6965 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
6966 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
6967 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
6968 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
6969 | |
6970 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
6971 * dMatrix.cc (Matrix::apply): Likewise. | |
6972 * dRowVector.cc (RowVector::apply): Likewise. | |
6973 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
6974 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
6975 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
6976 | |
2668 | 6977 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6978 | |
6979 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
6980 | |
6981 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6982 | |
6983 * file-ops.cc (oct_unlink (const string&, string&)): | |
6984 New two-arg version. | |
6985 (oct_rmdir (const string&, string&)): New two-arg version. | |
6986 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
6987 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
6988 (oct_rename (const string&, const string&, string&)): | |
6989 New three-arg version. | |
6990 | |
2663 | 6991 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6992 | |
6993 * idx-vector.h (idx_vector::orig_empty): New function. | |
6994 | |
6995 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
6996 Don't always resize to [](0x0) if one of the indices is empty or | |
6997 zero. | |
6998 | |
2658 | 6999 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7000 | |
7001 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7002 Set line_in_file here too. | |
7003 (command_history::read_range): New arg, must_exist. | |
7004 | |
2651 | 7005 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7006 | |
7007 * f2c-main.c: Change C++-style comments to C-style comments. | |
7008 | |
2638 | 7009 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7010 | |
7011 * Makefile.in (install-inc): Create a relative symbolic link. | |
7012 | |
2634 | 7013 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7014 | |
7015 * Version 2.0.2 released. | |
7016 | |
2624 | 7017 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7018 | |
7019 * Makefile.in (bin-dist): New target. | |
7020 | |
2621 | 7021 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7022 | |
7023 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7024 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7025 | |
2613 | 7026 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7027 | |
7028 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7029 If the number of columns is zero, also set the number of rows to zero. | |
7030 (charMatrix::charMatrix (const char *)): Likewise. | |
7031 | |
2602 | 7032 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7033 | |
7034 * Version 2.0.1 released. | |
7035 | |
2601 | 7036 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7037 | |
7038 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7039 columns for resizing when the number of rows is specified but the | |
7040 number of columns is not. | |
7041 | |
2598 | 7042 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7043 | |
2599 | 7044 * Range.cc (operator -): New function. |
7045 | |
2598 | 7046 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7047 | |
2589 | 7048 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7049 | |
7050 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7051 know if the assignment conforms. | |
7052 | |
2583 | 7053 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7054 | |
7055 * Version 2.0 released. | |
7056 | |
2570 | 7057 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7058 | |
2575 | 7059 * Array2-idx.h (assign): If index is a colon, set number of |
7060 elements to the lhs dimension if the lhs dimension is greater than | |
7061 zero. Otherwise, set it to the rhs dimension. | |
7062 | |
7063 * Version 1.94. | |
7064 | |
2570 | 7065 * Array2-idx.h (assign): Test for rhs scalar case first. |
7066 If index is colon, set number of elements to lhs dimension, not | |
7067 rhs dimension. | |
7068 | |
2563 | 7069 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7070 | |
2566 | 7071 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7072 * sun-utils.cc: Delete. | |
7073 * f2c-main.c: New file | |
7074 | |
7075 * Makefile.in: Fix file name lists. | |
7076 | |
2563 | 7077 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7078 | |
2561 | 7079 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7080 | |
7081 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7082 Create result using Complex constructor, not multiplication. | |
7083 Order elements as they are returned from Eispack. | |
7084 | |
2559 | 7085 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7086 | |
2560 | 7087 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7088 Only include nan.h if SCO is defined. Define _IEEE before | |
7089 including it and undefine it afterward. | |
7090 [SCO] (isnan): Don't mistake Inf as NaN. | |
7091 | |
2559 | 7092 * Array-idx.h (assign): Only resize if assignment conforms. |
7093 | |
2551 | 7094 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7095 | |
7096 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7097 * lo-error.h: Delete (moved to libcruft/misc). | |
7098 | |
7099 * Version 1.93. | |
7100 | |
2546 | 7101 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7102 | |
2549 | 7103 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7104 be the same as they are in fnmatch.h. | |
7105 | |
2546 | 7106 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7107 | |
7108 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7109 (SOURCES): Delete f77-fcn.c. | |
7110 | |
2522 | 7111 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7112 | |
7113 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7114 | |
2512 | 7115 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7116 | |
7117 * Version 1.92. | |
7118 | |
2508 | 7119 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7120 | |
2512 | 7121 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7122 lines that have only carriage return or newline. | |
7123 | |
2508 | 7124 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7125 | |
2500 | 7126 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7127 | |
7128 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7129 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7130 | |
2493 | 7131 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7132 | |
7133 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7134 from vectors of C strings. | |
7135 | |
7136 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7137 vector. | |
7138 (glob_match::match): Allow match string to be a string vector. | |
7139 (glob_match::glob): New function. | |
7140 | |
7141 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7142 | |
7143 * Array-b.cc: New file. | |
7144 * Makefile.in (TI_SRC): Add it to the list. | |
7145 | |
2492 | 7146 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7147 | |
7148 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7149 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7150 want the version from the build directory. (Maybe this should be | |
7151 done for all the include files, not just those that are | |
7152 auto-generated? Hmm.) | |
7153 | |
2481 | 7154 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7155 | |
2482 | 7156 * Version 1.91. |
7157 | |
2481 | 7158 * Array3.cc (Array3<T>::resize): Make it work. |
7159 | |
7160 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7161 | |
7162 * oct-alloc.h, oct-alloc.cc: New files. | |
7163 * Makefile.in: Add them to the lists. | |
7164 | |
7165 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7166 | |
7167 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7168 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7169 | |
2466 | 7170 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7171 | |
7172 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7173 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7174 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7175 underlying macro is not defined. | |
7176 | |
7177 * oct-math.h (lgamma, gamma): Delete declarations. | |
7178 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7179 Protect declarations with #ifdef HAVE_*. | |
7180 | |
2440 | 7181 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7182 | |
2452 | 7183 * Version 1.90. |
7184 | |
7185 * Makefile.in (DISTFILES): Add ChangeLog. | |
7186 | |
2444 | 7187 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7188 | |
7189 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7190 | |
2443 | 7191 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7192 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7193 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7194 |
2440 | 7195 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7196 since that is now accepatble syntax, even for built-in types. | |
7197 * Array2.h (T Array2<T>::checkelem): Likewise | |
7198 | |
2433 | 7199 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7200 | |
7201 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7202 message and return -1. | |
7203 | |
2428 | 7204 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7205 | |
2431 | 7206 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7207 cast them to const string * in the body of the function. | |
7208 | |
7209 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7210 string from buf. | |
7211 | |
2428 | 7212 * Array3.h (Array3::checkelem): Tag bogus return value with |
7213 GCC_ATTRIBUTE_UNUSED. | |
7214 * Array2.h (Array2::checkelem): Likewise. | |
7215 | |
2424 | 7216 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7217 | |
7218 * Quad.h (Quad): Define virtual destructor. | |
7219 | |
2408 | 7220 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7221 | |
7222 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7223 | |
2401 | 7224 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7225 | |
7226 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7227 and MAIN__ extern "C". | |
7228 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7229 | |
2391 | 7230 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7231 | |
7232 * MArray-misc.cc: New file. | |
7233 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7234 | |
7235 * mx-inlines.cc (equal): Return bool, not int. | |
7236 | |
7237 * idx-vector.h (idx_vector (double)): New constructor. | |
7238 | |
7239 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7240 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7241 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7242 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7243 CRowVector.cc: Logical operators return bool, not int. | |
7244 | |
7245 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7246 New function. | |
7247 | |
7248 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7249 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7250 Matrix::all_elements_are_inf_or_nan): New functions. | |
7251 | |
7252 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7253 | |
7254 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7255 for errors. Simplify macros by converting FCN to string for error | |
7256 messages. | |
7257 | |
7258 * Array-idx.h (Array<T>::index): New function. Don't call | |
7259 clear_index() here. | |
7260 (Array<T>::value): Call it, do call clear_index() here. | |
7261 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7262 one and two arg index functions. | |
7263 | |
7264 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7265 | |
7266 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7267 separate implementation file. | |
7268 | |
2354 | 7269 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7270 | |
2358 | 7271 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7272 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7273 | |
2356 | 7274 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7275 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7276 them uniq. | |
7277 | |
2354 | 7278 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7279 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7280 Rewrite. Also return index as a reference arg. | |
7281 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7282 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7283 Delete. | |
7284 | |
7285 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7286 Matrix::column_max, Matrix::column_min): | |
7287 Rewrite. Also return index as a reference arg. | |
7288 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7289 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7290 | |
7291 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7292 | |
7293 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7294 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7295 Matrix::column_min_loc, Matrix::column_max, | |
7296 Matrix::column_max_loc): Ignore leading NaNs. | |
7297 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7298 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7299 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7300 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7301 leading NaNs. | |
7302 | |
2352 | 7303 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7304 | |
7305 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7306 starting at n, not 0. | |
7307 | |
2349 | 7308 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7309 | |
7310 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7311 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7312 | |
7313 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7314 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7315 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7316 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7317 New constructors. | |
7318 | |
7319 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7320 New constructor. | |
7321 | |
2343 | 7322 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7323 | |
7324 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7325 derivative vectors are the same size. | |
2344 | 7326 * DASSL.cc (do_integrate): Likewise. |
2343 | 7327 |
2330 | 7328 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7329 | |
7330 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7331 iostreams and handler data format conversions. Delete old methods | |
7332 that used stdio. | |
7333 | |
7334 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7335 | |
7336 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7337 | |
7338 * mach-info.h: Rename from float-fmt.h. | |
7339 * mach-info.cc: Rename from float-fmt.cc. | |
7340 Handle machine information using a singlton class. | |
7341 * Makefile.in: Update appropriate lists. | |
7342 | |
7343 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7344 | |
7345 * Array-flags.cc: Provide definitions for the flags even if | |
7346 OCTAVE_SOURCE is not defined. | |
7347 | |
7348 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7349 operator(), not elem(). | |
7350 * Array3.h: Move indexing methods here from Array3.cc. | |
7351 | |
7352 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7353 | |
7354 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7355 | |
7356 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7357 INSTALL_DATA for shared libs. | |
7358 | |
7359 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7360 | |
7361 * Quad.cc: Include lo-error.h here too. | |
7362 | |
7363 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7364 | |
7365 * file-ops.h: Include sys/types.h here. | |
7366 | |
7367 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7368 | |
7369 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7370 | |
7371 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7372 elements in result. | |
7373 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7374 rows and columns in result. | |
7375 | |
7376 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7377 | |
7378 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7379 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7380 | |
7381 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7382 | |
7383 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7384 | |
7385 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7386 | |
7387 * Makefile.in (uninstall): Also delete shared library. | |
7388 Split install into install-libs and install-includes. | |
7389 (install-inc): If linkdir is a directory, leave it alone. | |
7390 | |
7391 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7392 | |
7393 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7394 | |
7395 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7396 * Array2-idx.h (assign): Likewise. | |
7397 | |
7398 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7399 | |
7400 * Array2.cc (Array2<T>::range_error): New functions. | |
7401 | |
7402 * Array.h (class Array<T>): elem() and operator() are now | |
7403 equivalent, and do bounds checking by default. | |
7404 * Array2.cc (class Array2<T>): Likewise. | |
7405 | |
7406 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7407 | |
7408 * Makefile.in (maintainer-clean, distclean): Also delete | |
7409 stamp-picdir, stamp-shared, and pic directory. | |
7410 (stamp-prereq): New target. | |
7411 | |
7412 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7413 | |
7414 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7415 New function. | |
7416 | |
7417 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7418 * Array.h (Array<T>::checkelem): Use them. | |
7419 | |
7420 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7421 elements too. | |
7422 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7423 | |
7424 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7425 | |
7426 * Makefile.in (distclean): Delete so_locations, which is created | |
7427 on DEC Alpha systems. | |
7428 | |
7429 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7430 | |
7431 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7432 already defined. | |
7433 | |
7434 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7435 | |
7436 * pathsearch.cc: Include config.h. | |
7437 | |
7438 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7439 | |
7440 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7441 allow M(I, J) = scalar if I or J is empty. | |
7442 | |
7443 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7444 and Array3-idx.h). | |
7445 | |
7446 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7447 | |
7448 * lo-error.h: Make comments C friendly. | |
7449 | |
7450 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7451 | |
7452 * Array2.h (make_unique): Move all indexing functions here. | |
7453 * Array2.cc: From here. | |
7454 | |
7455 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7456 whether operator() calls elem or checkelem. | |
7457 | |
7458 * Array.h (make_unique): New private function. | |
7459 Move all indexing functions here. | |
7460 * Array.cc: From here. | |
7461 | |
7462 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7463 it too. | |
7464 | |
7465 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7466 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7467 MArray-C.cc: Include config.h. | |
7468 | |
7469 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7470 Don't define HEAVYWEIGHT_INDEXING here. | |
7471 | |
7472 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7473 | |
7474 * base-lu.h, base-lu.cc: New files. | |
7475 * Makefile.in: Add them to the appropriate lists. | |
7476 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7477 | |
7478 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7479 | |
7480 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7481 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7482 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7483 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7484 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7485 | |
7486 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7487 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7488 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7489 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7490 Simplify using new macros. | |
7491 | |
7492 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7493 | |
7494 * Makefile.in (install): If $(includedir) ends in version string, | |
7495 make link to name that does not include version info. | |
7496 | |
7497 * lo-ieee.cc: Include <cmath> here. | |
7498 | |
7499 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7500 | |
7501 * lo-ieee.cc, lo-ieee.h: New files. | |
7502 * lo-mappers.cc, lo-mappers.h: New files. | |
7503 * lo-utils.cc, lo-utils.h: New files. | |
7504 * Makefile.in: Add them to the appropriate lists. | |
7505 | |
7506 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7507 | |
7508 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7509 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7510 | |
7511 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7512 float-fmt.cc: New files. | |
7513 * Makefile.in: Include them in the appropriate lists. | |
7514 | |
7515 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7516 | |
7517 * dMatrix.cc (Qzval): New function. | |
7518 | |
7519 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7520 | |
7521 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7522 char*. | |
7523 | |
7524 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7525 Use F77_XFCN to call Fortran subroutine. | |
7526 * dColVector.cc, CColVector.cc: Likewise. | |
7527 * dRowVector.cc, CRowVector.cc: Likewise. | |
7528 * NPSOL.h, NPSOL.cc: Likewise. | |
7529 * CmplxCHOL.cc: Likewise. | |
7530 * dbleCHOL.cc: Likewise. | |
7531 * CMatrix.cc: Likewise. | |
7532 * dMatrix.cc: Likewise. | |
7533 * QPSOL.cc: Likewise. | |
7534 * LSODE.cc: Likewise. | |
7535 | |
7536 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7537 | |
7538 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7539 | |
7540 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7541 workspace. Use F77_XFCN to call Fortran subroutine. | |
7542 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7543 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7544 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7545 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7546 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7547 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7548 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7549 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7550 * EIG.h, EIG.cc; Likewise. | |
7551 * CollocWt.cc: Likewise. | |
7552 * NLEqn.cc: Likewise. | |
7553 * Quad.cc: Likewise. | |
7554 | |
7555 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7556 | |
7557 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7558 Use F77_XFCN to call Fortran subroutine. | |
7559 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7560 * dbleQR.h, dbleQR.cc: Ditto. | |
7561 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7562 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7563 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7564 | |
7565 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7566 (struct DIR): delete forward declaration. | |
7567 (dir_entry::operator = (const dir_entry$)): Protect against | |
7568 copying same object. | |
7569 * dir-ops.cc: Cast dir appropriately. | |
7570 | |
7571 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7572 | |
7573 * lo-error.cc: Moved to libcruft/misc. | |
7574 * Makefile.in: Delete it from the list. | |
7575 | |
7576 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7577 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7578 | |
7579 * Array-flags.h: New file. | |
7580 * Array-idx.h: Include it here. | |
7581 * Makefile.in (MATRIX_INC): Add it to the list. | |
7582 | |
7583 * Array-flags.cc: Renamed from Array-ext.cc. | |
7584 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7585 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7586 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7587 (liboctave_rre_flag): Renamed from rre_flag. | |
7588 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7589 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7590 | |
7591 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7592 (stamp-shared): Use them here. | |
7593 | |
7594 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7595 | |
7596 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7597 argument value. | |
7598 | |
7599 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7600 | |
7601 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7602 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7603 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7604 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7605 Clean up constructors, assigment operator. | |
7606 | |
7607 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7608 | |
7609 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7610 Check f77_exception_encountered on return. | |
7611 | |
7612 * f77-fcn.c (f77_exception_encountered): New variable. | |
7613 (F77_XFCN): Set it. | |
7614 * f77-fcn.h: Provide declaration. | |
7615 | |
7616 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7617 | |
7618 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7619 | |
7620 * NLEqn.h (NLEqn_options::set_options): New function. | |
7621 * Quad.h (Quad_options::set_options): Likewise. | |
7622 | |
7623 * LP.h (class LP): Add accessors for LP data. | |
7624 | |
7625 * NLEqn.h (NLEqn::n): Delete. | |
7626 | |
7627 * NLEqn.h (class NLEqn::n): Likewise. | |
7628 | |
7629 * NLP.h (class NLP): Add accessors for NLP data. | |
7630 | |
7631 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7632 access functions here. | |
7633 * NPSOL.cc.cc: From here. | |
7634 | |
7635 * QLD.h (class QLD): Add destructor definition. | |
7636 * Objective.h (class Objective): Likewise. | |
7637 * ODEFunc.h (class ODEFunc): Likewise. | |
7638 * NLFunc.h (class NLFunc): Likewise. | |
7639 * NLEqn.h (class NLEqn): Likewise. | |
7640 * NLConst.h (class NLConst): Likewise. | |
7641 * LinConst.h (class LinConst): Likewise. | |
7642 * LSODE.h (class LSODE_options): Likewise. | |
7643 * CollocWt.h (class CollocWt): Likewise. | |
7644 * Bounds.h (class Bounds): Likewise. | |
7645 | |
7646 * QLD.cc (QLD::set_default_options): Delete. | |
7647 | |
7648 * QP.h (QP): Add accessors for QP data. | |
7649 Add copy constructor, operator =, and destructor definitions. | |
7650 | |
7651 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7652 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7653 DAEFunc.h, CollocWt.h, Bounds.h: | |
7654 Clean up constructors, assigment operator. | |
7655 | |
7656 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7657 counting to avoid duplicating the data immediately. | |
7658 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7659 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7660 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7661 | |
7662 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7663 | |
7664 * prog-args.h (prog_args::option_argument): New enum. | |
7665 | |
7666 * f77-fcn.h: Rename from f77-uscore.h. | |
7667 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7668 * f77-fcn.c: New file. | |
7669 * Makefile.in (SOURCES): Add it to the list. | |
7670 | |
7671 * ODEFunc.h: Clean up. | |
7672 | |
7673 * DASSL.cc, DASSL.h: New files. | |
7674 * Makefile.in: Add them to the appropriate lists. | |
7675 | |
7676 * LSODE.cc, LSODE.h: New files. | |
7677 * Makefile.in: Add them to the appropriate lists. | |
7678 | |
7679 * ODE.cc: Delete. | |
7680 * Makefile.in (SOURCES): Remove from list. | |
7681 | |
7682 * base-de.h, DAE.cc: New files. | |
7683 * Makefile.in: Add them to the appropriate lists. | |
7684 * ODE.h: Only define interface for ODE classes. | |
7685 * DAE.h: Only define interface for ODE classes. | |
7686 | |
7687 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7688 (LPsolve::set_default_options)): Delete | |
7689 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7690 destructor. | |
7691 | |
7692 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7693 | |
7694 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7695 (QPSOL::operator =): Call base class operator = instead of assuming | |
7696 we know what to copy. | |
7697 | |
7698 * base-min.h (size): New function. | |
7699 | |
7700 * NLP.h (NLP::size): Delete. | |
7701 (NLP::NLP (const NLP&)): New constructor. | |
7702 (NLP::operator =): Call base class operator = instead of assuming | |
7703 we know what to copy. | |
7704 | |
7705 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7706 (class NPSOL): Add operator = and destructor. | |
7707 | |
7708 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7709 | |
7710 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7711 | |
7712 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7713 | |
7714 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7715 | |
7716 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7717 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7718 | |
7719 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7720 | |
7721 * prog-args.h, prog-args.cc: New files. | |
7722 * Makefile.in: Add them to lists. | |
7723 | |
7724 * getopt.h, getopt.c, getopt1.c: New files. | |
7725 * Makefile.in: Add them to the lists. | |
7726 | |
7727 * oct-term.h, oct-term.cc: New files. | |
7728 * Makefile.in: Add them to the lists. | |
7729 | |
7730 * str-vec.cc: New file. | |
7731 * Makefile.in (SOURCES): Add it to the list. | |
7732 | |
7733 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
7734 | |
7735 * tempname.c, tempnam.c: Move here from src directory. | |
7736 * Makefile.in: Add to lists. | |
7737 | |
7738 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7739 | |
7740 * cmd-hist.h, cmd-hist.cc: New files. | |
7741 * Makefile.in: Add them to lists. | |
7742 | |
7743 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7744 | |
7745 * oct-glob.h, oct-glob.cc: New files. | |
7746 * Makefile.in: Add them to lists. | |
7747 | |
7748 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7749 | |
7750 * pathsearch.h, pathsearch.cc: New files. | |
7751 * Makefile.in: Add them to lists. | |
7752 | |
7753 * dir-ops.h, dir-ops.cc: New files. | |
7754 * sysdir.h: Move here from src directory. | |
7755 * Makefile.in: Add them to lists. | |
7756 | |
7757 * Array.h (Array::qsort): Return *this, not void. | |
7758 * str-vec.h (string_vector::qsort): Likewise. | |
7759 | |
7760 * chMatrix.cc (row_as_string): Resize result to eliminate | |
7761 unnecessary NULs. | |
7762 | |
7763 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7764 | |
7765 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
7766 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
7767 Files moved here from src directory. | |
7768 * Makefile.in: Add them to lists. Include appropriate rules. | |
7769 | |
7770 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7771 Use pointers, not references (this is C code!). | |
7772 | |
7773 * oct-math.h: New file. | |
7774 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7775 Files moved here from src directory. | |
7776 * Makefile.in: Add them to lists. | |
7777 | |
7778 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7779 | |
7780 * idx-vector.cc (make_uniq): Fix major brain-o. | |
7781 | |
7782 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
7783 Convert to use string class instead of char*. | |
7784 | |
7785 * str-vec.h, Array-str.cc: New files. | |
7786 | |
7787 * Array.h (Array::qsort): New function. | |
7788 | |
7789 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7790 | |
7791 * Array.h: Nest ArrayRep class inside Array class. | |
7792 Refer to ArrayRep, not ArrayRep<T>. | |
7793 Move all ArrayRep functions inline. | |
7794 Don't declare other Array classes as friends of ArrayRep. | |
7795 * Array.cc: Delete ArrayRep functions. | |
7796 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
7797 | |
7798 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
7799 Don't instantiate ArrayRep objects. | |
7800 | |
7801 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7802 | |
7803 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7804 New constructor. | |
7805 | |
7806 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7807 | |
7808 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
7809 for balance_job arg. | |
7810 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
7811 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
7812 | |
7813 * chMatrix.cc (row_as_string): Return string, not const char*. | |
7814 | |
7815 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7816 | |
7817 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
7818 | |
7819 * chMatrix.cc (row_as_string): Undo previous change. | |
7820 | |
7821 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7822 | |
7823 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
7824 is expected to save string if necessary. | |
7825 | |
7826 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7827 | |
7828 * Array.h (class DiagArray): Enable nested Proxy class for all | |
7829 platforms. | |
7830 | |
7831 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
7832 a.rep, don't mess with count. | |
7833 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
7834 don't do anything if reps are the same. | |
7835 (Array3<T>& operator = (const Array3<T>&) | |
7836 | |
7837 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
7838 Declare private with no definition to prevent misuse. | |
7839 | |
7840 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
7841 Get range check right. | |
7842 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
7843 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
7844 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7845 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
7846 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
7847 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
7848 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7849 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
7850 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
7851 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
7852 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
7853 * dColVector.cc | |
7854 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7855 * CRowVector.cc | |
7856 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
7857 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
7858 * CColVector.cc | |
7859 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7860 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
7861 | |
7862 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
7863 Also fill in zeros, not just the diagonal. | |
7864 | |
7865 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
7866 Use END parameter properly. | |
7867 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
7868 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
7869 | |
7870 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
7871 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
7872 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
7873 Don't copy count. Set it to 1. | |
7874 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
7875 | |
7876 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
7877 don't set rep->count to 1 here (now handled by ArrayRep | |
7878 constructors). | |
7879 (Array<T>::Array (void)): Ditto. | |
7880 (Array<T>::Array (int)): Ditto. | |
7881 (Array<T>::T& elem (int)): Ditto. | |
7882 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
7883 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
7884 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
7885 (Array<T>::resize (int)): Ditto. | |
7886 (Array<T>::resize (int, const T&)) :Ditto. | |
7887 (Array<T>::fortran_vec (void)): Ditto. | |
7888 (Array2<T>::resize (int, int)): Ditto. | |
7889 (Array2<T>::resize (int, int, const T&)): Ditto. | |
7890 (DiagArray<T>::resize (int, int)): Ditto. | |
7891 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
7892 | |
7893 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7894 | |
7895 * Array-ch.cc: Rename from Array-c.cc. | |
7896 * MArray-ch.cc: Rename from MArray-c.cc. | |
7897 * chMatrix.cc: Rename from cMatrix.cc. | |
7898 * chMatrix.h: Rename from cMatrix.h. | |
7899 * Makefile.in (TI_SRC): Use new names here. | |
7900 * mx-base.h: Likewise. | |
7901 | |
7902 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7903 | |
7904 * Makefile.in: Handle shared libraries. | |
7905 | |
7906 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7907 | |
7908 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
7909 Correctly compute length of return value. Correct rows and | |
7910 columns in zgemv call. | |
7911 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
7912 | |
7913 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7914 | |
7915 * Makefile.in (stamp-picdir): New target. | |
7916 (all): Depend on it. | |
7917 | |
7918 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7919 | |
7920 * Makefile.in (INCLUDES): Remove QLD.h. | |
7921 (SOURCES): Remove QLD.cc. | |
7922 | |
7923 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7924 | |
7925 * dMatrix.cc (Matrix::inverse): New arg, force. | |
7926 If force is nonzero, invert even if matrix is singular. | |
7927 (ComplexMatrix::inverse): Likewise. | |
7928 | |
7929 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
7930 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
7931 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
7932 Include "oct-cmplx.h" instead of <Complex.h>. | |
7933 | |
7934 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
7935 for class Complex. | |
7936 | |
7937 * oct-cmplx.h: New file. | |
7938 * Makefile.in (INCLUDES): Add it to the list. | |
7939 | |
7940 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
7941 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
7942 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
7943 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
7944 Avoid g++ bugs. | |
7945 | |
7946 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7947 | |
7948 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
7949 | |
7950 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
7951 | |
7952 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7953 | |
7954 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
7955 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
7956 | |
7957 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7958 | |
7959 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
7960 index vector object with Array, not ArrayRep. | |
7961 | |
7962 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7963 | |
7964 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
7965 if index is a colon and resizing is maybe needed. | |
7966 | |
7967 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7968 | |
7969 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
7970 if we have a vector of 1's. | |
7971 | |
7972 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
7973 current orientation, require index and rhs to conform unless | |
7974 do_fortran_indexing flag is set. | |
7975 | |
7976 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7977 | |
7978 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
7979 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
7980 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
7981 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
7982 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
7983 Massive changes to support additional data types. Only charMatrix | |
7984 is currently used in Octave. | |
7985 | |
7986 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7987 | |
7988 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
7989 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
7990 Simply call Array2<Complex> version. | |
7991 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
7992 call Array2<double> version. | |
7993 | |
7994 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
7995 | |
7996 * Array.h, Array.cc: Massive overhaul to support new way of | |
7997 handling indexing. | |
7998 * idx-vector.h, idx-vector.cc: Likewise. | |
7999 * Array-ext.cc, Array-idx.h: New files. | |
8000 * Makefile.in: Add them to the appropriate lists. | |
8001 | |
8002 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8003 | |
8004 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8005 | |
8006 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8007 | |
8008 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8009 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8010 | |
8011 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8012 | |
8013 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8014 | |
8015 * Array.h: Move simple member functions here. | |
8016 * Array.cc: From here. | |
8017 | |
8018 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8019 | |
8020 * Range.cc (tfloor, tceil, round): New static functions. | |
8021 (Range::nelem_internal): Rewrite to use better method. | |
8022 | |
8023 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8024 (type_computed): New var. | |
8025 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8026 Handle possible error condition. | |
8027 (init): Allow for SVD::sigma_only, save type computed. | |
8028 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8029 Handle possible error condition. | |
8030 (init): Allow for SVD::sigma_only, save type computed. | |
8031 | |
8032 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8033 | |
8034 * Nearly all non-matrix .h and .cc files: | |
8035 Move short function bodies into class declarations for inlining. | |
8036 Generally clean up. | |
8037 | |
8038 * base-min.h: New file. | |
8039 * LP.h (class LP): Derive from base_minimizer. | |
8040 * QLP.h (class QLP): Derive from base_minimizer. | |
8041 * NLP.h (class NLP): Derive from base_minimizer. | |
8042 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8043 | |
8044 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8045 NLFunc.cc, Objective.cc and QP.cc from list. | |
8046 | |
8047 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8048 | |
8049 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8050 (SCHUR::SCHUR): Delete unused parameter ord. | |
8051 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8052 | |
8053 * CRowVector.cc | |
8054 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8055 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8056 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8057 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8058 Actually do something. | |
8059 | |
8060 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8061 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8062 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8063 | |
8064 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8065 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8066 tolerances. | |
8067 | |
8068 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8069 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8070 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8071 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8072 * QPSOL.cc (qphess): Likewise. | |
8073 | |
8074 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8075 | |
8076 * dMatrix.cc: Include <cstring>. | |
8077 | |
8078 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8079 that return bogus values after calling the error handler. | |
8080 | |
8081 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8082 | |
8083 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8084 | |
8085 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8086 | |
8087 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8088 | |
8089 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8090 (dassl_j): Likewise. | |
8091 | |
8092 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8093 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8094 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8095 Update for change in for loop variable scope for gcc 2.7.0. | |
8096 | |
8097 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8098 | |
8099 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8100 not set. | |
8101 | |
8102 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8103 | |
8104 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8105 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8106 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8107 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8108 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8109 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8110 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8111 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8112 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8113 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8114 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8115 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8116 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8117 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8118 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8119 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8120 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8121 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8122 NLP.h: Use pragma interface/implementation. Don't surround | |
8123 contents in extern "C++". | |
8124 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8125 | |
8126 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8127 | |
8128 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8129 identifiers. | |
8130 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8131 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8132 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8133 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8134 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8135 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8136 Quad.cc: Change usage of F77_FCN to match new definition | |
8137 | |
8138 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8139 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8140 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8141 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8142 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8143 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8144 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8145 args by reference instead of pointer. Change all callers. | |
8146 | |
8147 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8148 | |
8149 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8150 functions. Make += and -= operators friend functions. | |
8151 | |
8152 * Array.h (Array2::~Array2, Array3::~Array3, | |
8153 DiagArray::~DiagArray): New functions. | |
8154 | |
8155 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8156 | |
8157 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8158 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8159 | |
8160 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8161 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8162 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8163 dRowVector.h dRowVector.cc: | |
8164 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8165 Array2, and DiagArray2. | |
8166 Don't use functions defined in mx-kludge.cc for arithmetic | |
8167 like-type operations on arrays. | |
8168 | |
8169 * MArray.cc: Use the classes defined here like-type mathematical | |
8170 operations on Array objects. Abuse CPP more. | |
8171 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8172 (EXTRAS): Delete it from this list. | |
8173 | |
8174 * MArray-C.cc, MArray-d.cc: New files. | |
8175 * Makefile.in (TI_SRC): Add them to the list. | |
8176 | |
8177 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8178 | |
8179 * mx-kludge.cc: Abuse CPP even more. | |
8180 | |
8181 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8182 | |
8183 * Objective.h (objective_function): Add missing const. | |
8184 (gradient_function): Likewise. | |
8185 | |
8186 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8187 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8188 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8189 dRowVector.h dRowVector.cc: | |
8190 Reorganize to declare and define friends where they should be, | |
8191 based on the use of private constructors. | |
8192 | |
8193 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8194 | |
8195 * CRowVector.h (linspace): Add declaration. | |
8196 * dRowVector.h (linspace): Likewise. | |
8197 | |
8198 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8199 Force result of rcond + 1.0 to be stored. | |
8200 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8201 ComplexMatrix::solve): Likewise. | |
8202 | |
8203 See ChangeLog.1 in the top level directory for earlier changes. |