Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 7477:8b22207ef9ca
ilaenv --> xilaenv
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 12 Feb 2008 21:13:21 -0500 |
parents | e9f10b4c05cf |
children | 93826ba0d078 |
rev | line source |
---|---|
7477 | 1 2008-02-12 John W. Eaton <jwe@octave.org> |
2 | |
3 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
4 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
5 | |
7476 | 6 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
7 | |
8 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
9 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
10 workaround for DGELSD's broken lwork query. The formula is from | |
11 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
12 efficient algorithm in the short-and-fat case (n > m). | |
13 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
14 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
15 ugly workaround for DGELSD's broken lwork query, as with double. | |
16 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
17 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
18 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
19 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
20 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
21 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
22 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
23 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
24 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
25 * Sparse-C.cc, Sparse-b.cc, Sparse-d.cc: Don't use it. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
26 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
27 * Range.cc (Range::sort_internal): Avoid shadow warning from gcc. |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
28 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
29 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
|
30 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
31 * 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
|
32 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
33 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
34 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
35 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
36 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
37 |
7457 | 38 2008-02-07 John W. Eaton <jwe@octave.org> |
39 | |
7458 | 40 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
41 ASCENDING, with default value of true. | |
42 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
43 (Range::sort (octave_idx_type, sortmode) const): New function. | |
44 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
45 const): New function. | |
46 * Range.h: Fix/provide decls. | |
47 | |
7457 | 48 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
49 | |
7449 | 50 2008-02-06 John W. Eaton <jwe@octave.org> |
51 | |
52 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
53 (stamp-prereq): Eliminate. | |
54 (clean): Don't remove stamp-prereq. | |
55 (libraries): Don't depend on stamp-prereq. | |
56 (PREREQ): New macro. | |
57 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
58 (distclean): Simplify with $(PREREQ). | |
59 (OPT_BASE): New macro. | |
60 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
61 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
62 | |
7448 | 63 2008-02-05 John W. Eaton <jwe@octave.org> |
64 | |
65 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
66 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
67 | |
7443 | 68 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
69 | |
70 * Array.cc (ascending_compare, descending_compare, | |
71 Array<T>::sort): Declare explicit specialization for T=double to | |
72 avoid symbol duplication error at link time. | |
73 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
74 define as nonmember functions, not member functions of Array<T>. | |
75 | |
7442 | 76 2008-02-03 John W. Eaton <jwe@octave.org> |
77 | |
78 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
79 | |
80 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
81 | |
82 * Array.cc: Don't include Range.h. | |
83 | |
7433 | 84 2008-01-31 David Bateman <dbateman@free.fr> |
85 | |
86 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
87 for 64-bit builds. | |
88 (IFLT): Allow IFLT macro to be overridden. | |
89 * oct-sort.h: conversion of int to octave_idx_type where needed | |
90 for 64-bit builds. | |
91 (enum sortmode): Type of sort to perform. | |
92 (vec_index): Simple class to aid in indexed sorts. | |
93 | |
94 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
95 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
96 sortmode) const): Array sorting methods. | |
97 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
98 instantiate the array sorting methods. | |
99 * Array.cc (ascending_compare, descending_compare): New template | |
100 functions for generic sort comparison. | |
101 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
102 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
103 sortmode) const): Array sorting functions based of octave_sort | |
104 class. | |
105 * Array-C.cc: Instantiate the complex array sort methods. | |
106 (IFLT): New macro to override the one in the | |
107 octave_sort class to avoid need for Complex < and > operators. | |
108 (static double xabs (const Complex&)): Complex abs function | |
109 avoiding std::abs(Inf) returning NaN with some compilers. | |
110 (ascending_compare, descending compare): override template | |
111 functions for complex comparison. | |
112 * Array-d.cc: Instantiate the double array sort methods. | |
113 (Array<double> Array<double>::sort (octave_idx_type, | |
114 sortmode) const, Array<double> Array<double>::sort | |
115 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
116 Array sorting functions based of octave_sort using uint64 sorting | |
117 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
118 (ascending_compare, descending compare): override template | |
119 functions for double and uint64 comparison. | |
120 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
121 Instantiate the array sort methods. | |
122 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
123 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
124 versions of the sort methods based on Array<T>::sort. | |
125 | |
126 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
127 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
128 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
129 sortmode) const): Sparse sorting methods. | |
130 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
131 methods. | |
132 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
133 of new sort method. | |
134 (sparse_ascending_compare, sparse_descending_compare): New template | |
135 functions for generic sort comparison. | |
136 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
137 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
138 sortmode) const): Sparse sorting functions based of octave_sort | |
139 class. | |
140 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
141 (IFLT): New macro to override the one in the | |
142 octave_sort class to avoid need for Complex < and > operators. | |
143 (static double xabs (const Complex&)): Complex abs function | |
144 avoiding std::abs(Inf) returning NaN with some compilers. | |
145 (sparse_ascending_compare, sparse_descending compare): override | |
146 template functions for complex comparison. | |
147 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
148 (sparse_ascending_compare, sparse_descending compare): override | |
149 template functions for double comparison. | |
150 * Array-b.cc: Instantiate the sparse sort methods. | |
151 | |
7422 | 152 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
153 | |
154 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
155 idx_vector::idx_vector_rep::range_step, | |
156 idx_vector::idx_vector_rep::range_step): New data members. | |
157 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
158 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
159 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
160 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
161 | |
7416 | 162 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
163 | |
164 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
165 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
166 | |
7408 | 167 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 168 |
169 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
170 this fixes the "localtime(-1)" crash under Windows. | |
171 | |
7400 | 172 2008-01-18 John W. Eaton <jwe@octave.org> |
173 | |
174 * dMatrix.cc (solve_singularity_warning): New function. | |
175 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
176 Matrix::solve method. Exit early if Matrix::solve fails. | |
177 Limit sqpow value to avoid overflowing scale factor. | |
178 * CMatrix.cc (solve_singularity_warning): New function. | |
179 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
180 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
181 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 182 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 183 |
7356 | 184 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
185 | |
186 * Sparse.cc: New tests for slicing of sparse matrices. | |
187 | |
7350 | 188 2008-01-07 David Bateman <dbateman@free.fr> |
189 | |
190 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
191 loop if this test succeeds. | |
192 | |
7342 | 193 2008-01-03 David Bateman <dbateman@free.fr> |
194 | |
195 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
196 need unary operator on remaining argument | |
197 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
198 | |
7334 | 199 2007-12-21 John W. Eaton <jwe@octave.org> |
200 | |
201 Version 3.0.0 released. | |
202 | |
7322 | 203 2007-12-18 David Bateman <dbateman@free.fr> |
204 | |
205 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
206 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
207 stored as a sparse matrix. | |
208 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
209 idx_vector&, int) const): For the non permutated indexing case, | |
210 fix link list calculation and use. | |
211 | |
7321 | 212 2007-12-17 John W. Eaton <jwe@octave.org> |
213 | |
214 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
215 N-d array. | |
216 | |
7318 | 217 2007-12-17 David Bateman <dbateman@free.fr> |
218 | |
219 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
220 index. | |
221 | |
7299 | 222 2007-12-11 John W. Eaton <jwe@octave.org> |
223 | |
224 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
225 If indexing scalar with empty matrix, return empty array with same | |
226 size as index. | |
227 | |
7272 | 228 2007-12-10 John W. Eaton <jwe@octave.org> |
229 | |
7279 | 230 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
231 and assignment operator. | |
232 (NLEqn::function_value): New function. | |
233 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
234 function value. | |
235 | |
7272 | 236 * file-ops.cc (file_ops::concat): New function. |
237 * file-ops.h: Provide decl. | |
238 | |
7270 | 239 2007-12-07 John W. Eaton <jwe@octave.org> |
240 | |
241 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
242 is not 0. | |
243 | |
7269 | 244 2007-12-07 David Bateman <dbateman@free.fr> |
245 | |
246 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
247 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
248 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
249 indexing where possible rather than the elem method. | |
250 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
251 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
252 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
253 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
254 = 0 directly. | |
255 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
256 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
257 SPARSE_BASE_REDUCTION_OP. | |
258 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
259 Specialize the initial value, and only treat dim = 0 directly. | |
260 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
261 ditto. | |
262 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
263 | |
7265 | 264 2007-12-06 John W. Eaton <jwe@octave.org> |
265 | |
266 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
267 data for npp and dpp after assignments. | |
268 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
269 | |
7253 | 270 2007-12-04 John W. Eaton <jwe@octave.org> |
271 | |
272 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
273 Do nothing if one index is empty. | |
274 | |
7246 | 275 2007-12-04 David Bateman <dbateman@free.fr> |
276 | |
277 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
278 Resize matrix as well if one dimension of lhs is zero and the rhs | |
279 index exceeds the lhs index. | |
280 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
281 Don't resize to a smaller matrix for empty matrices with a max rhs | |
282 index smaller than the non zero lhs index. | |
283 | |
284 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
285 | |
286 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
287 | |
7241 | 288 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
289 | |
290 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
291 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
292 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
293 | |
7238 | 294 2007-12-03 David Bateman <dbateman@free.fr> |
295 | |
296 * Sparse.cc (template <class LT, class RT> int assign | |
297 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
298 rhs values if both no. rows and columns are zero. | |
299 | |
7231 | 300 2007-11-30 John W. Eaton <jwe@octave.org> |
301 | |
7234 | 302 * oct-sort.cc, oct-sort.h: Style fixes. |
303 | |
7231 | 304 * lo-math.h: New file. |
305 * Makefile.in (INCLUDES): Add it to the list. | |
306 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
307 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
308 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
309 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
310 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
311 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
312 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
313 liboctave/oct-time.h, liboctave/randgamma.c, | |
314 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
315 instead of cmath or math.h. | |
316 * lo-mappers.h: Don't include sunmath.h here. | |
317 | |
7198 | 318 2007-11-26 John W. Eaton <jwe@octave.org> |
319 | |
320 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
321 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
322 | |
323 * oct-inttypes.h (operator bool, operator char): Delete. | |
324 (bool_value, char_value, double_value, float_value): New functions. | |
325 | |
7189 | 326 2007-11-26 David Bateman <dbateman@free.fr> |
327 | |
328 * intNDArray.cc (template <class T> intNDArray<T> | |
329 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
330 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
331 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
332 template <class T> intNDArray<T> intNDArray<T>::min | |
333 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
334 classes. | |
335 * intNDArray.h (class intNDArray): Add min/max methods | |
336 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
337 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
338 min/max functions. | |
339 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
340 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
341 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
342 types. | |
343 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
344 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
345 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
346 types. | |
347 | |
348 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
349 const T& rfv) const): If ndims != 2 call ND version of index. | |
350 | |
7176 | 351 2007-11-14 John W. Eaton <jwe@octave.org> |
352 | |
7178 | 353 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
354 | |
7176 | 355 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
356 correction to half-integer values. From Eric Chassande-Mottin | |
357 <echassandemottin@gmail.com>. | |
358 | |
7124 | 359 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
360 | |
361 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
362 ambiguities related to math functions (in C++ mode). | |
363 | |
7102 | 364 2007-11-06 David Bateman <dbateman@free.fr> |
365 | |
7113 | 366 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
367 New method. | |
368 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
369 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
370 New method. | |
371 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 372 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
373 norm to avoid issues of over- and underflow. From Rolf Fabian | |
374 <Rolf.Fabian@gmx.de>. | |
375 | |
7081 | 376 2007-10-30 David Bateman <dbateman@free.fr> |
377 | |
378 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
379 | |
7079 | 380 2007-10-30 John W. Eaton <jwe@octave.org> |
381 | |
382 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
383 * dMatrix.cc (lssolve): Compute size of iwork array. | |
384 | |
7076 | 385 2007-10-29 David Bateman <dbateman@free.fr> |
386 | |
387 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
388 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
389 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
390 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
391 double& rcond) const, lssolve (const ComplexColumnVector&, | |
392 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
393 declarations. | |
394 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
395 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
396 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
397 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
398 double& rcond) const, lssolve (const ComplexColumnVector&, | |
399 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
400 methods. | |
401 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
402 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
403 octave_idx_type&, double&) const): Also return rcond from the | |
404 singular values returned by XGELSD. | |
405 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
406 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
407 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
408 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
409 double& rcond) const, lssolve (const ComplexColumnVector&, | |
410 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
411 declarations. | |
412 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
413 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
414 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
415 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
416 double& rcond) const, lssolve (const ComplexColumnVector&, | |
417 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
418 methods. | |
419 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
420 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
421 octave_idx_type&, double&) const): Also return rcond from the | |
422 singular values returned by XGELSD. | |
423 | |
7072 | 424 2007-10-26 David Bateman <dbateman@free.fr> |
425 | |
426 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
427 matrices to avoid reliability issues with xGELSY. | |
428 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 429 |
7065 | 430 2007-10-25 John W. Eaton <jwe@octave.org> |
431 | |
432 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
433 Call unix_time on arg instead of relying on conversion operator. | |
434 | |
435 * oct-time.h (octave_time::double_value): New function. | |
436 (octave_time::operator double () const): Delete. | |
437 (octave_time::operator time_t () const): Delete. | |
438 | |
7058 | 439 2007-10-24 John W. Eaton <jwe@octave.org> |
440 | |
441 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
442 | |
7052 | 443 2007-10-23 John W. Eaton <jwe@octave.org> |
444 | |
445 * CRowVector.cc (operator * const ComplexRowVector&, const | |
446 ComplexColumnVector&)): Delete spurious code left from patch. | |
447 | |
7048 | 448 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
449 | |
450 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
451 sparse-sort.cc: Include <cstring>. | |
452 | |
7036 | 453 2007-10-17 John W. Eaton <jwe@octave.org> |
454 | |
455 * oct-sparse.h: Don't include metis.h. | |
456 | |
457 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
458 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
459 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
460 p_type>::sparse_base_chol_rep::init): Likewise. | |
461 | |
7033 | 462 2007-10-16 John W. Eaton <jwe@octave.org> |
463 | |
464 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
465 matrix is hermitian or calc_cond is true. | |
466 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
467 | |
7016 | 468 2007-10-12 John W. Eaton <jwe@octave.org> |
469 | |
470 * Change copyright notices in all files that are part of Octave to | |
471 GPLv3 or any later version. | |
472 | |
7007 | 473 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
474 | |
475 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
476 | |
7001 | 477 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
478 | |
479 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
480 | |
7000 | 481 2007-10-10 John W. Eaton <jwe@octave.org> |
482 | |
483 * LPsolve.h, LPsolve.cc: Delete. | |
484 * Makefile.in: Remove them from the INCLUDES and | |
485 LIBOCTAVE_CXX_SOURCES lists. | |
486 | |
6989 | 487 2007-10-09 John W. Eaton <jwe@octave.org> |
488 | |
6996 | 489 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
490 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
491 values to zero after call if they remain unchanged. | |
492 | |
6989 | 493 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
494 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
495 | |
6988 | 496 2007-10-09 David Bateman <dbateman@free.fr> |
497 | |
6995 | 498 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
499 valud and mon and year are also filled in. | |
500 | |
6990 | 501 * Array2.h (Array2<T>::Array2(const dim_vector&), |
502 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
503 dim_vector is 2 dimensional. | |
504 | |
6988 | 505 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
506 int)): Remove a for loop in the random indexing case at the | |
507 expense of maintaining a set of linked lists of indices that point | |
508 to the same column in the original matrix. | |
509 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
510 and use it on the RHS of expressions to avoid unnecessary calls to | |
511 make_unique. | |
512 | |
6979 | 513 2007-10-08 David Bateman <dbateman@free.fr> |
514 | |
515 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
516 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
517 for readline compatible functions. | |
518 (octave_rl_redisplay): Redisplay the current line of text. | |
519 (octave_rl_newline): Change interface to the same | |
520 as used by the equivalent readline function itself. | |
521 (octave_rl_filename_quoting_desired, | |
522 octave_rl_set_filename_quote_characters, | |
523 octave_rl_set_completer_quote_characters, | |
524 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
525 octave_rl_set_char_is_quoted_function): New functions to control | |
526 readline filename quoting and line acceptace. | |
527 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
528 as used by the equivalent readline function itself. | |
529 (octave_rl_redisplay): Redisplay the current line of text. | |
530 (octave_rl_filename_quoting_desired, | |
531 octave_rl_set_filename_quote_characters, | |
532 octave_rl_set_completer_quote_characters, | |
533 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
534 octave_rl_set_char_is_quoted_function): New functions to control | |
535 readline filename quoting and line acceptace. | |
536 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
537 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
538 to map C++ function to readline compatible functions. | |
539 (set_filename_quote_characters): New function to set the | |
540 characters to if they appear in a filename that force the filename | |
541 to be quoted. | |
542 (set_completer_quote_characters): The characters that the readline | |
543 completion function considers as quotation characters. | |
544 (set_quoting_function, set_dequoting_function, | |
545 set_char_is_quoted_function, set_user_accept_line_function): | |
546 Functions to set the Octave functions to perform quoting and the | |
547 acceptance of a line of text by readline. | |
548 (get_quoting_function, get_dequoting_function, | |
549 get_char_is_quoted_function, get_user_accept_line_function): | |
550 Functions to get the above functions. | |
551 (accept_line): New method for the command_editor to accept a line | |
552 of text. | |
553 (file_quoting_desired): Function to set whether readline should | |
554 attempt to quote filenames. | |
555 (do_set_filename_quoting_characters, | |
556 do_set_completer_quote_characters, do_set_quoting_function, | |
557 do_set_dequoting_function, do_set_char_is_quoted_function, | |
558 do_set_user_accept_line_function, do_get_quoting_function, | |
559 do_get_dequoting_function, do_get_char_is_quoted_function, | |
560 do_get_user_accept_line_function, do_filename_quoting_desired): | |
561 Virtual functions to control the behavior of readline quoting and | |
562 acceptance of lines. | |
563 (do_accept_line): Virtual function for the accept line function. | |
564 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
565 do_completer_quote_characters, do_set_quoting_function, | |
566 do_set_dequoting_function, do_set_char_is_quoted_function, | |
567 do_set_user_accept_line_function, do_get_quoting_function, | |
568 do_get_dequoting_function, do_get_user_accept_line_function, | |
569 do_accept_line, do_filename_quoting_desired, command_quoter, | |
570 command_dequoter, command_char_is_quoted, command_accept_line): | |
571 New functions in gnu_readline class to control filename quoting | |
572 and line acceptance. | |
573 (quoting_function, dequoting_function, char_is_quoted_function, | |
574 user_accept_line_function): private variable to store functions | |
575 supplied for readline quoting and line acceptance. | |
576 (gnu_readline::gnu_readline): Also set the new function pointers | |
577 to zero. | |
578 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
579 interface. | |
580 (gnu_readeline::operate_and_get_next): Use new accept_line | |
581 function rather than newline. | |
582 (default_ommand_editor::do_accept_line): New method. | |
583 (class command_editor set_filename_quote_characters, | |
584 set_completer_quote_characters, set_quoting_function, | |
585 set_dequoting_function, set_char_is_quoted_function, | |
586 set_user_accept_line_function, get_quoting_function, | |
587 get_dequoting_function, get_user_accept_line_function, | |
588 accept_line, filename_quoting_desired): New functions checking | |
589 instance before calling virtual function. | |
590 | |
591 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
592 Array2.h: Add dim_vector constructors. | |
593 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
594 const to dim_vector constructors. | |
595 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
596 (octave_idx_type)): New methods to constructor diagonal matrices. | |
597 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
598 (octave_idx_type)): Declare them. | |
599 | |
600 | |
6969 | 601 2007-10-06 John W. Eaton <jwe@octave.org> |
602 | |
603 * lo-specfun.cc: (zlgamma): Delete. | |
604 (xgamma): Use C library gamma function if available. | |
605 (xlgamma): Use C library lgamma function if available. | |
606 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
607 other than NaN or Inf. | |
608 | |
6961 | 609 2007-10-05 John W. Eaton <jwe@octave.org> |
610 | |
611 * lo-specfun.cc (zlgamma): New function. | |
612 | |
6959 | 613 2007-10-04 John W. Eaton <jwe@octave.org> |
614 | |
615 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
616 qualifiers on local variables. | |
617 | |
6958 | 618 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
619 | |
620 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
621 than log(realmax) to avoid issues with NaN. | |
622 | |
6940 | 623 2007-10-01 John W. Eaton <jwe@octave.org> |
624 | |
6941 | 625 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
626 initialize wday and yday. | |
627 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
628 | |
6940 | 629 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
630 insert extra '\001' when decoding \[ and \]. | |
631 | |
6926 | 632 2007-09-26 David Bateman <dbateman@free.fr> |
633 | |
634 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
635 is much faster and no less accurate. | |
636 * CMatrix.cc (lssolve): ditto. | |
637 | |
6924 | 638 2007-09-25 David Bateman <dbateman@free.fr> |
639 | |
640 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
641 zero dimensioned matrices. | |
642 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
643 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
644 ditto. | |
645 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
646 ditto. | |
647 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
648 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
649 qrsolve): ditto. | |
650 * sparse-dmsolve.cc (dmsolve): ditto. | |
651 | |
6922 | 652 2007-09-21 John W. Eaton <jwe@octave.org> |
653 | |
654 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
655 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
656 | |
6916 | 657 2007-09-19 John W. Eaton <jwe@octave.org> |
658 | |
659 * cmd-edit.cc (command_editor::remove_startup_hook): | |
660 Fix cut-and-paste error. | |
6917 | 661 (gnu_readline::set_startup_hook): Only set hook function if new |
662 function is different from the current one. | |
6916 | 663 |
6913 | 664 2007-09-18 John W. Eaton <jwe@octave.org> |
665 | |
666 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
667 command_editor::event_hook_set): New static data. | |
668 (default_command_editor::set_startup_hook, | |
669 gnu_readline::set_startup_hook, | |
670 default_command_editor::restore_startup_hook, | |
671 gnu_readline_restore_event_hook): | |
672 Rename from do_set_startup_hook and do_set_event_hook. | |
673 (gnu_readline::operate_and_get_next): Call | |
674 command_editor::add_startup_hook, not | |
675 command_editor::set_startup_hook. | |
676 (command_editor::startup_handler, command_editor::event_handler): | |
677 New functions. | |
678 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
679 command_editor::remove_startup_hook, | |
680 command_editor::remove_event_hook): Rename from set_startup_hook | |
681 and restore_startup_hook. Handle hook sets here. | |
682 * cmd-edit.cc (gnu_history::do_goto_mark): | |
683 Call remove_startup_hook instead of restore_startup_hook. | |
684 | |
6907 | 685 2007-09-17 John W. Eaton <jwe@octave.org> |
686 | |
687 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
688 leading whitespace. | |
689 | |
6897 | 690 2007-09-13 John W. Eaton <jwe@octave.org> |
691 | |
692 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
693 octave_read_complex): Use istream::get instead of >> to read | |
694 individual characters. | |
695 | |
6884 | 696 2007-09-10 John W. Eaton <jwe@octave.org> |
697 | |
698 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
699 | |
700 2007-09-10 David Bateman <dbateman@free.fr> | |
701 | |
702 * Array.h (Array<T>::make_unique): Make public so that the | |
703 ::assign functions can access it directly. | |
704 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
705 Array<T>::maybe_delete_elements_1(idx_vector&), | |
706 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
707 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
708 Use xelem for non const RHS to avoid call to make_unique. | |
709 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
710 xelem for LHS and call lhs.make_unique() only once. Special case | |
711 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
712 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
713 bring the additional multiplication out of the inner loop. | |
714 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
715 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
716 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
717 (const Range& r)): Don't use init_state() method but special case | |
718 as with a Range can avoid exhaustive search. | |
719 | |
6881 | 720 2007-09-07 John W. Eaton <jwe@octave.org> |
721 | |
722 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
723 manipulating rep directly. | |
724 | |
725 * Array.h (idx, idx_count): Declare mutable. | |
726 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
727 Now const. | |
728 | |
6867 | 729 2007-09-06 David Bateman <dbateman@free.fr> |
730 | |
6868 | 731 * Array-util.cc (increment_index): dimensions can have singleton |
732 trailing dimensions. | |
6867 | 733 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
734 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
735 where necessary. | |
736 * Array.cc (range_error): ditto. | |
737 * MArrayN.h (permute, ipermute): ditto. | |
738 * ArrayN.h (permute, ipermute): ditto. | |
739 * so-array.cc (streamoff_array::compute_index): ditto. | |
740 * so-array.h (compute_index): ditto. | |
741 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
742 | |
6840 | 743 2007-08-29 David Bateman <dbateman@free.fr> |
744 | |
745 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
746 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
747 matrices marked as singular. | |
748 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
749 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
750 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
751 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
752 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
753 octave_idx_type&, double&, int, int)): ditto. | |
754 | |
6838 | 755 2007-08-27 John W. Eaton <jwe@octave.org> |
756 | |
757 * oct-env.cc (octave_env::rooted_relative_pathname, | |
758 octave_env::do_rooted_relative_pathname): New functions. | |
759 * oct-env.h: Provide decls. | |
760 | |
6823 | 761 2007-08-24 David Bateman <dbateman@free.fr> |
762 | |
763 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
764 const Array<octave_idx_type>&)): New method. | |
765 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
766 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
767 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
768 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
769 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
770 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
771 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
772 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
773 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
774 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
775 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
776 SparseMatrix&, const Array<octave_idx_type>&), | |
777 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
778 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
779 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
780 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
781 SparseMatrix&, const Array<octave_idx_type>&), | |
782 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
783 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
784 | |
6817 | 785 2007-08-19 David Bateman <dbateman@free.fr> |
786 | |
787 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
788 | |
6813 | 789 2007-08-14 John W. Eaton <jwe@octave.org> |
790 | |
791 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
792 Simplify. | |
6814 | 793 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 794 |
6810 | 795 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
796 | |
797 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
798 Remove trailing dir separator when stat'ing directory except for | |
799 root directory. | |
800 | |
6796 | 801 2007-07-25 David Bateman <dbateman@free.fr> |
802 | |
803 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
804 to work. | |
805 | |
6764 | 806 2007-06-04 David Bateman <dbateman@free.fr> |
807 | |
808 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
809 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
810 perform a twos complement arithmetic shift for both signed and | |
811 unsigned integers regardless of compiler implementations. | |
812 | |
6708 | 813 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
814 | |
6719 | 815 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
816 use cs_complex_t(0,0) for the complex zero. | |
817 | |
6708 | 818 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
819 Sprinkle class instantiations with OCTAVE_API as needed. | |
820 | |
821 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
822 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
823 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
824 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
825 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
826 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
827 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
828 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
829 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
830 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
831 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
832 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
833 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
834 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
835 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
836 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
837 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
838 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
839 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
840 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
841 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
842 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
843 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
844 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
845 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
846 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
847 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
848 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
849 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
850 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
851 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
852 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
853 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
854 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
855 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
856 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
857 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
858 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
859 SPARSE_SMM_OP_DECLS): Ditto. | |
860 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
861 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
862 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
863 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
864 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
865 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
866 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
867 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
868 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
869 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
870 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
871 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
872 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
873 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
874 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
875 | |
6699 | 876 2007-06-12 John W. Eaton <jwe@octave.org> |
877 | |
878 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
879 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 880 |
6693 | 881 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
882 | |
6709 | 883 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
884 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
885 with file_ops::dir_sep_char. | |
6694 | 886 |
6693 | 887 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
888 | |
6689 | 889 2007-06-04 David Bateman <dbateman@free.fr> |
890 | |
6699 | 891 * file-ops.cc: Typo. |
892 | |
6689 | 893 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
894 dimensions is greater than 2, collapse to 2-D. | |
895 | |
6685 | 896 2007-06-02 David Bateman <dbateman@free.fr> |
897 | |
898 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
899 | |
6680 | 900 2007-05-31 John W. Eaton <jwe@octave.org> |
901 | |
902 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
903 the computed size is too large for the size of Octave's index type. | |
904 | |
6662 | 905 2007-05-23 John W. Eaton <jwe@octave.org> |
906 | |
907 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
908 | |
6629 | 909 2007-05-16 David Bateman <dbateman@free.fr> |
910 | |
911 * dRowVector.cc (linspace): Return second argument if fewer than | |
912 two values are requested. | |
913 * CRowVector.cc (linspace): Likewise. | |
914 | |
6596 | 915 2007-04-27 John W. Eaton <jwe@octave.org> |
916 | |
917 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
918 | |
6583 | 919 2007-04-25 John W. Eaton <jwe@octave.org> |
920 | |
921 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
922 | |
6553 | 923 2007-04-20 John W. Eaton <jwe@octave.org> |
924 | |
925 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
926 not rhs_len == 1. | |
927 | |
6536 | 928 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
929 | |
930 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
931 | |
6525 | 932 2007-04-13 John W. Eaton <jwe@octave.org> |
933 | |
934 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
935 for empty matrix. Only check for colon index equivalence if not empty. | |
936 | |
6513 | 937 2007-04-10 John W. Eaton <jwe@octave.org> |
938 | |
939 * SparseCmplxQR.cc | |
940 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
941 Move GCC_ATTR_UNUSED before the parameter decl. | |
942 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
943 | |
6508 | 944 2007-04-06 John W. Eaton <jwe@octave.org> |
945 | |
946 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
947 * MArray.h (MArray<T>::norm): New function. | |
948 * MArray.cc: Provide decl. | |
949 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
950 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
951 | |
6490 | 952 2007-04-04 John W. Eaton <jwe@octave.org> |
953 | |
954 * Range.cc (Range::nelem_internal): Likewise. | |
955 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
956 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
957 From Scott Pakin <pakin@lanl.gov>. | |
958 | |
6486 | 959 2007-04-04 David Bateman <dbateman@free.fr> |
960 | |
961 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
962 the condition number for positive definite matrices. | |
963 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
964 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
965 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
966 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
967 (CHOL(const CHOL&)): Copy xrcond. | |
968 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
969 (xrcond): New private data member. | |
970 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
971 calc_cond. | |
972 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
973 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
974 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
975 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
976 (xrcond): New private data member. | |
977 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
978 true, calculate the condition number with dpocon. | |
979 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
980 calc_cond is true, calculate the condition number with zpocon. | |
981 | |
6481 | 982 2007-04-03 John W. Eaton <jwe@octave.org> |
983 | |
6482 | 984 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
985 | |
986 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
987 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
988 "maybe clobbered by vfork" warning. | |
989 | |
6483 | 990 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 991 if/else. |
992 | |
993 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
994 and destructor. | |
995 | |
6481 | 996 * Array.cc (assignN): Don't resize dimension if corresponding |
997 index is empty. | |
998 | |
6479 | 999 2007-04-02 John W. Eaton <jwe@octave.org> |
1000 | |
1001 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
1002 MatrixType argument. | |
1003 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
1004 | |
6467 | 1005 2007-03-27 John W. Eaton <jwe@octave.org> |
1006 | |
1007 * Makefile.in (DISTDIRS): Delete variable. | |
1008 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
1009 | |
6460 | 1010 2007-03-26 David Bateman <dbateman@free.fr> |
1011 | |
1012 * MatrixType.cc: Replace all uses of the method | |
1013 octave_sparse_params::get_key ("bandden") with | |
1014 octave_sparse_params::get_bandden (void). | |
1015 (MatrixType::MatrixType (void)): Undo previous change but use | |
1016 octave_sparse_params::get_bandden (void). | |
1017 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
1018 methods. | |
1019 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
1020 Declare them. | |
1021 | |
6458 | 1022 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
1023 David Bateman <dbateman@free.fr> | |
1024 | |
1025 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
1026 Check that all elements are ints before doing anything. Simplify | |
1027 calculation of index values. | |
1028 | |
6457 | 1029 2007-03-26 David Bateman <dbateman@free.fr> |
1030 | |
1031 * Range.cc (Range::all_elements_are_ints): Improve check. | |
1032 | |
6456 | 1033 2007-03-26 John W. Eaton <jwe@octave.org> |
1034 | |
1035 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
1036 * chNDArray.h, chMatrix.h: Provide decls. | |
1037 | |
1038 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
1039 | |
1040 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
1041 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 1042 |
6435 | 1043 2007-03-23 David Bateman <dbateman@free.fr> |
1044 | |
1045 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
1046 little endian. | |
1047 | |
6414 | 1048 2007-03-15 John W. Eaton <jwe@octave.org> |
1049 | |
1050 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
1051 From Alexander Barth <abarth@marine.usf.edu>. | |
1052 | |
6402 | 1053 2007-03-12 John W. Eaton <jwe@octave.org> |
1054 | |
1055 * oct-inttypes.h (octave_int::octave_int (double)): | |
1056 New Specialization. Round arg. | |
1057 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
1058 Round result before converting type. | |
1059 | |
6388 | 1060 2007-03-07 John W. Eaton <jwe@octave.org> |
1061 | |
6392 | 1062 * Array.cc (assign1): Avoid resizing if there is an error. |
1063 | |
6390 | 1064 * dMatrix.cc, CMatrix.cc (operator *): Only check |
1065 f77_exception_encountered immediately after calls that use F77_XFCN. | |
1066 | |
6389 | 1067 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
1068 Only allow resizing empty LHS if it is 0x0. | |
1069 | |
6388 | 1070 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
1071 const T&)): Handle case of more indices than dimensions. | |
1072 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
1073 cases to be handled by assignN. | |
1074 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
1075 Special cases for 2-d array assignments for speed. | |
1076 Improve handling of scalar RHS and empty indices. | |
6384 | 1077 |
6383 | 1078 2007-03-05 David Bateman <dbateman@free.fr> |
1079 | |
1080 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
1081 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
1082 | |
6379 | 1083 2007-03-02 John W. Eaton <jwe@octave.org> |
1084 | |
1085 * str-vec.h (string_vector::empty): Return bool, not int. | |
1086 | |
6375 | 1087 2007-03-01 David Bateman <dbateman@free.fr> |
1088 | |
1089 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
1090 an independent implementation of RFC1321. | |
1091 * oct-md5.h, oct-md5: New files for treating std::string class | |
1092 with MD5. | |
1093 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
1094 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
1095 (LIBOCTAVE_C_SOURCES): Add md5.c | |
1096 | |
6366 | 1097 2007-02-27 John W. Eaton <jwe@octave.org> |
1098 | |
1099 * Makefile.in (uninstall): Delete files listed in | |
1100 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
1101 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
1102 | |
6536 | 1103 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 1104 |
1105 * file-ops.cc (file_ops::recursive_rmdir): | |
1106 Close dir_entry object before calling rmdir. | |
1107 | |
6536 | 1108 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 1109 |
1110 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
1111 | |
6359 | 1112 * sparse-util.h (SparseCholPrint, SparseCholError): |
1113 Tag with OCTAVE_API. | |
1114 | |
6326 | 1115 2007-02-18 David Bateman <dbateman@free.fr> |
1116 | |
1117 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
1118 calling setall and reset to the current generator after. | |
1119 | |
6323 | 1120 2007-02-16 John W. Eaton <jwe@octave.org> |
1121 | |
1122 * oct-shlib.h (octave_shlib::relative): New data member. | |
1123 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
1124 New functions. | |
1125 | |
6321 | 1126 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
1127 | |
1128 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
1129 windows platform. | |
1130 * lo-sysdep.h (octave_popen2): Declare it. | |
1131 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
1132 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
1133 | |
6306 | 1134 2007-02-14 John W. Eaton <jwe@octave.org> |
1135 | |
1136 * kpse.cc (expand_elt): Omit special treatment for //. | |
1137 | |
6273 | 1138 2007-02-06 John W. Eaton <jwe@octave.org> |
1139 | |
1140 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
1141 Don't delete value returned from realpath. | |
1142 | |
6271 | 1143 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
1144 | |
1145 * file-ops.cc (file_ops::canonicalize_file_name): | |
1146 Provide implementation if realpath function is available. | |
1147 | |
6256 | 1148 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
1149 | |
1150 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
1151 | |
6244 | 1152 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
1153 | |
1154 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
1155 Windows systems. | |
1156 | |
6242 | 1157 2007-01-16 John W. Eaton <jwe@octave.org> |
1158 | |
1159 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
1160 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
1161 | |
1162 * oct-fftw.h (fftw_planner): Provide decl. | |
1163 | |
6241 | 1164 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
1165 | |
1166 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
1167 | |
6236 | 1168 2007-01-10 John W. Eaton <jwe@octave.org> |
1169 | |
1170 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
1171 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
1172 | |
6231 | 1173 2007-01-08 David Bateman <dbateman@free.fr> |
1174 | |
1175 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
1176 SPARSESUITE with SUITESPARSE to match upstream name. | |
1177 | |
6228 | 1178 2007-01-05 David Bateman <dbateman@free.fr> |
1179 | |
1180 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
1181 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
1182 set the FFTW wisdom method used. | |
1183 (octave_fftw_planner::create_plan) Modify to allow different | |
1184 methods to be used. | |
1185 (octave_fftw_planner): Move class definition from here. | |
1186 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
1187 and FftwMethod enum. | |
1188 | |
6221 | 1189 2007-01-03 David Bateman <dbateman@free.fr> |
1190 | |
1191 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
1192 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
1193 sparse matrices are special cased. | |
1194 | |
1195 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
1196 matrix, sparse matrix operations. | |
1197 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
1198 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
1199 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
1200 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
1201 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
1202 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
1203 sparse matrices are special cased. | |
1204 | |
6217 | 1205 2006-12-22 David Bateman <dbateman@free.fr> |
1206 | |
1207 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
1208 | |
6216 | 1209 2006-12-22 John W. Eaton <jwe@octave.org> |
1210 | |
1211 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
1212 least 2 dimensions. | |
1213 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
1214 | |
6208 | 1215 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
1216 | |
1217 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
1218 | |
1219 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 1220 implementation for Windows. |
6208 | 1221 |
6207 | 1222 2006-12-06 David Bateman <dbateman@free.fr> |
1223 | |
6208 | 1224 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
1225 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 1226 |
1227 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
1228 (tinverse): New method for triangular matrices. | |
1229 (inverse): New function with matrix type probing. | |
1230 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
1231 declarations. | |
6208 | 1232 * CMatrix.cc: Ditto. |
1233 * CMatrix.h: Ditto. | |
6207 | 1234 |
6205 | 1235 2006-12-06 John W. Eaton <jwe@octave.org> |
1236 | |
1237 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
1238 | |
6202 | 1239 2006-12-05 John W. Eaton <jwe@octave.org> |
1240 | |
1241 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
1242 followed by 'I' or 'i', try reading number after putting | |
1243 characters back on input stream. | |
1244 | |
6198 | 1245 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
1246 | |
1247 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
1248 loop is n, not L. | |
1249 | |
6194 | 1250 2006-11-30 John W. Eaton <jwe@octave.org> |
1251 | |
1252 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
1253 Also recognize [+-][Ii]nf. | |
1254 | |
6187 | 1255 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 1256 |
1257 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
1258 sub-directory. | |
1259 | |
6204 | 1260 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
1261 well when calling tinverse for lower triangular matrices. | |
1262 * CSparse.cc (SparseComplexMatrix::inverse): | |
1263 Ditto. | |
6185 | 1264 |
6183 | 1265 2006-11-21 John W. Eaton <jwe@octave.org> |
1266 | |
1267 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
1268 | |
6182 | 1269 2006-11-20 John W. Eaton <jwe@octave.org> |
1270 | |
1271 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
1272 for ".", and names beginning with "./" or "../". | |
1273 | |
6162 | 1274 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
1275 | |
1276 * CMatrix.cc, dMatrix.cc: New tests. | |
1277 | |
6153 | 1278 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
1279 | |
1280 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
1281 | |
6152 | 1282 2006-11-11 John W. Eaton <jwe@octave.org> |
1283 | |
1284 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
1285 Use $(simple-move-if-change-rule) here. | |
1286 | |
6148 | 1287 2006-11-09 David Bateman <dbateman@free.fr> |
1288 | |
1289 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
1290 octave_idx_type, not int. | |
1291 | |
6145 | 1292 2006-11-08 John W. Eaton <jwe@octave.org> |
1293 | |
1294 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
1295 | |
6141 | 1296 2006-11-06 John W. Eaton <jwe@octave.org> |
1297 | |
1298 * Array.cc (assignN): Exit early if invalid indices are found. | |
1299 | |
6140 | 1300 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
1301 | |
1302 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
1303 | |
6137 | 1304 2006-11-03 John W. Eaton <jwe@octave.org> |
1305 | |
1306 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
1307 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
1308 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
1309 | |
6123 | 1310 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
1311 | |
1312 * oct-shlib.cc: Undefine min and max after including windows.h. | |
1313 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
1314 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
1315 lo-sysdep.cc. | |
1316 | |
6113 | 1317 2006-10-27 John W. Eaton <jwe@octave.org> |
1318 | |
6119 | 1319 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
1320 | |
1321 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
1322 | |
1323 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
1324 NDS_CMP_OPS2): New macros. | |
6113 | 1325 |
6111 | 1326 2006-10-26 John W. Eaton <jwe@octave.org> |
1327 | |
6119 | 1328 * mx-ops (core-type): New field for integer types. |
1329 * mk-ops.awk: Handle core-type for integer comparison ops. | |
1330 | |
6111 | 1331 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
1332 Move here from src/cutils.c. | |
1333 * lo-utils.h: Provide decls. | |
1334 * strcasecmp.c: Move here from src/strcasecmp.c. | |
1335 * strncase.c: Move here from src/strncase.c. | |
1336 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
1337 | |
6106 | 1338 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
1339 | |
1340 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
1341 | |
6708 | 1342 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
1343 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
1344 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
1345 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
1346 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
1347 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
1348 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
1349 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
1350 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
1351 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
1352 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
1353 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
1354 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
1355 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
1356 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
1357 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
1358 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
1359 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
1360 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
1361 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
1362 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
1363 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
1364 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 1365 |
6105 | 1366 2006-10-26 John W. Eaton <jwe@octave.org> |
1367 | |
1368 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
1369 type qualification for OP. | |
1370 | |
6101 | 1371 2006-10-26 David Bateman <dbateman@free.fr> |
1372 | |
1373 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
1374 octave_idx_type)): Be more careful with the size of the input | |
1375 matrix, and therefore don't create or read non existent data. | |
1376 | |
6092 | 1377 2006-10-25 John W. Eaton <jwe@octave.org> |
1378 | |
1379 * Sparse.cc (assign): Clear lhs index after error. | |
1380 | |
6093 | 1381 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 1382 |
1383 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1384 Fix previous patch so it works. | |
1385 | |
6087 | 1386 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
1387 | |
6095 | 1388 * glob-match.h (glob_match::glob_match (const std::string&, |
1389 unsigned int)): Delete initializer for first arg. | |
1390 | |
6093 | 1391 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
1392 New functions. | |
1393 | |
6087 | 1394 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
1395 | |
6096 | 1396 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
1397 same code as __MINGW32__. | |
1398 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
1399 the same as for __MINGW32__. | |
1400 | |
1401 * randpoisson.c: Undefine INFINITE before redefining. | |
1402 | |
6079 | 1403 2006-10-24 David Bateman <dbateman@free.fr> |
1404 | |
1405 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
1406 lhs at the point we know the assignment can succeed if the lhs is | |
1407 empty. | |
1408 | |
6072 | 1409 2006-10-23 John W. Eaton <jwe@octave.org> |
1410 | |
1411 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
1412 | |
6061 | 1413 2006-10-17 John W. Eaton <jwe@octave.org> |
1414 | |
1415 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
1416 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
1417 and _copysign. | |
1418 | |
6059 | 1419 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 1420 |
6061 | 1421 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
1422 | |
6708 | 1423 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
1424 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 1425 |
6058 | 1426 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
1427 | |
6059 | 1428 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
1429 | |
6051 | 1430 * Makefile.in: Adapt rules to use $(LIBPRE). |
1431 | |
6027 | 1432 2006-10-03 David Bateman <dbateman@free.fr> |
1433 | |
1434 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
1435 or p == 0. | |
1436 | |
6018 | 1437 2006-10-02 John W. Eaton <jwe@octave.org> |
1438 | |
1439 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
1440 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
1441 | |
5996 | 1442 2006-09-22 David Bateman <dbateman@free.fr> |
1443 | |
1444 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 1445 Remove spurious warning. |
5996 | 1446 |
5992 | 1447 2006-09-15 John W. Eaton <jwe@octave.org> |
1448 | |
1449 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
1450 Handle resizing. | |
1451 | |
1452 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
1453 | |
5983 | 1454 2006-09-11 John W. Eaton <jwe@octave.org> |
1455 | |
1456 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
1457 Handle M*v and rv*cv special cases. | |
1458 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
1459 ComplexMatrix&))): Likewise. | |
1460 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
1461 | |
1462 * dRowVector.cc (operator * (const RowVector&, const | |
1463 ColumnVector&)): Call xddot here instead of using a Fortran | |
1464 function directly. | |
1465 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
1466 ComplexColumnVector&)): Call xzdotu here. | |
1467 | |
1468 2006-09-05 John W. Eaton <jwe@octave.org> | |
1469 | |
1470 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
1471 elements to '\0', not ' '. | |
1472 | |
5972 | 1473 2006-08-25 John W. Eaton <jwe@octave.org> |
1474 | |
1475 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
1476 | |
5958 | 1477 2006-08-23 John W. Eaton <jwe@octave.org> |
1478 | |
1479 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
1480 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
1481 | |
5955 | 1482 2006-08-22 John W. Eaton <jwe@octave.org> |
1483 | |
5956 | 1484 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
1485 * dMatrix.cc (Matrix::save_ascii): New function. | |
1486 | |
5955 | 1487 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
1488 If array is empty, return value is same size as array. | |
1489 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
1490 If array is empty, produce correctly sized return value. | |
1491 | |
5940 | 1492 2006-08-18 John W. Eaton <jwe@octave.org> |
1493 | |
5943 | 1494 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
1495 * dMatrix.h: Provide decl. | |
1496 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
1497 * dNDArray.h: Provide decl. | |
1498 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
1499 New function. | |
1500 * intNDArray.h: Provide decl. | |
1501 | |
5940 | 1502 * Array.cc (Array<T>::permute): Only rearrange values if array is |
1503 not empty. | |
1504 | |
5904 | 1505 2006-07-26 John W. Eaton <jwe@octave.org> |
1506 | |
1507 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
1508 DET::value_will_overflow): Use xlog2 instead of log2. | |
1509 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
1510 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
1511 * CmplxDET.cc (ComplexDET::initialize10, | |
1512 ComplexDET::value_will_underflow, | |
1513 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
1514 (ComplexDET::initialize2, ComplexDET::initialize10): | |
1515 Use xround instead of round. | |
1516 (ComplexDET::initialize2, ComplexDET::value): | |
1517 Use xexp2 instead of exp2. | |
1518 | |
1519 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
1520 (xlog2, xexp2): New functions. | |
1521 * lo-mappers.h: Provide decls. | |
1522 | |
5900 | 1523 2006-07-22 John W. Eaton <jwe@octave.org> |
1524 | |
1525 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
1526 Sparse<T>::mex_get_jc): New functions. | |
1527 | |
1528 2006-07-21 John W. Eaton <jwe@octave.org> | |
1529 | |
1530 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
1531 * Array.h (Array<T>::mex_get_data): New function. | |
1532 | |
5898 | 1533 2006-07-19 John W. Eaton <jwe@octave.org> |
1534 | |
1535 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
1536 | |
5893 | 1537 2006-07-16 John W. Eaton <jwe@octave.org> |
1538 | |
1539 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
1540 Rename from SparseParams. Use same implementation method as other | |
1541 singleton classes in Octave. Change all uses of | |
1542 Voctave_sparse_controls to use static functions from | |
1543 octave_sparse_params class instead. | |
1544 | |
1545 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
1546 SparseParams::get_key): Pass std::string arg by const reference, | |
1547 not const value. | |
1548 | |
5892 | 1549 2006-07-15 John W. Eaton <jwe@octave.org> |
1550 | |
1551 * data-conv.cc: Instantiante swap_bytes templates here. | |
1552 | |
1553 * MatrixType.cc (MatrixType::MatrixType): | |
1554 Use complete initializer lists in constructors. | |
1555 | |
5880 | 1556 2006-07-06 John W. Eaton <jwe@octave.org> |
1557 | |
1558 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
1559 New constructor. | |
1560 * str-vec.h: Provide decl. | |
1561 | |
5876 | 1562 2006-07-01 David Bateman <dbateman@free.fr> |
1563 | |
1564 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
1565 elements on the diagonal. Allow both Upper and Lower triangular | |
1566 matrices to be treated. | |
1567 * CSparse.cc (tinverse): ditto. | |
1568 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
1569 constant assignment. | |
1570 | |
5870 | 1571 2006-06-30 John W. Eaton <jwe@octave.org> |
1572 | |
5872 | 1573 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
1574 * cmd-edit.cc (editor::read_init_file): Ditto. | |
1575 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 1576 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 1577 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 1578 |
5870 | 1579 * data-conv.cc (data_conv::string_to_data_type): |
1580 Correctly handle leading "*". | |
1581 | |
5869 | 1582 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
1583 | |
1584 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
1585 array access. | |
1586 | |
5866 | 1587 2006-06-27 John W. Eaton <jwe@octave.org> |
1588 | |
1589 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
1590 | |
5864 | 1591 2006-06-21 John W. Eaton <jwe@octave.org> |
1592 | |
1593 * oct-shlib.cc (octave_dlopen_shlib::close, | |
1594 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
1595 Skip do_close_hook if cl_hook is 0. | |
1596 | |
5863 | 1597 2006-06-16 John W. Eaton <jwe@octave.org> |
1598 | |
1599 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
1600 * randmtzig.h: Don't inlcude config.h. | |
1601 | |
5837 | 1602 2006-05-31 David Bateman <dbateman@free.fr> |
1603 | |
1604 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
1605 | |
5828 | 1606 2006-05-23 John W. Eaton <jwe@octave.org> |
1607 | |
1608 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
1609 typedefs, or define them if those files are not available. | |
1610 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
1611 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
1612 octave_uint64_t): Delete typedefs. Replace all uses of these | |
1613 types with int8_t, int16_t, etc. | |
1614 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
1615 Delete definitions. Replace all uses of these macros with int8_t, | |
1616 int16_t, etc. | |
1617 * randmtzig.h: Delete integer typedefs. | |
1618 | |
5822 | 1619 2006-05-18 John W. Eaton <jwe@octave.org> |
1620 | |
1621 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
1622 From Keith Goodman <kwgoodman@gmail.com>. | |
1623 | |
5813 | 1624 2006-05-08 David Bateman <dbateman@free.fr> |
1625 | |
1626 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
1627 modification. | |
1628 | |
5797 | 1629 2006-05-09 David Bateman <dbateman@free.fr> |
1630 | |
1631 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
1632 ov-cx-sparse. and error_state. | |
1633 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
1634 | |
5795 | 1635 2006-05-08 David Bateman <dbateman@free.fr> |
1636 | |
1637 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
1638 first pass and use to determine which algorithm to use on a | |
1639 column-by-column basis. | |
1640 | |
5792 | 1641 2006-05-04 David Bateman <dbateman@free.fr> |
1642 | |
1643 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
1644 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
1645 CXSparse or later | |
1646 | |
5785 | 1647 2006-05-03 David Bateman <dbateman@free.fr> |
1648 | |
1649 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
1650 External declaration of lapack triangular and Cholesky codes. | |
1651 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
1652 ComplexMatrix::fsolve): New private solver codes for | |
1653 upper, lower and LU/Cholesky solvers. | |
1654 (ComplexMatrix::solve): New versions for cached matrix | |
1655 type. Adapt old versions to call new versions | |
1656 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1657 new solvers. | |
1658 (solve): New versions for cached matrix type. | |
1659 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
1660 External declaration of lapack triangular and Cholesky codes. | |
1661 (Matrix::utsolve, Matrix::ltsolve, | |
1662 Matrix::fsolve): New private solver codes for | |
1663 upper, lower and LU/Cholesky solvers. | |
1664 (Matrix::solve): New versions for cached matrix | |
1665 type. Adapt old versions to call new versions | |
1666 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
1667 new solvers. | |
1668 (solve): New versions for cached matrix type. | |
1669 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
1670 * CSparse.h: ditto. | |
1671 * dSparse.cc: ditto. | |
1672 * dSparse.h: ditto. | |
1673 * SparseCmplxCHOL.cc: ditto. | |
1674 * SparsedbleCHOL.cc: ditto. | |
1675 * sparse-dmsolve.cc: ditto. | |
1676 * SparseType.cc, SparseType.h: delete. | |
1677 * MatrixType.cc: New file for class to cache matrix type, based on | |
1678 old SparseType class but caching matrix and sparse types. | |
1679 * MatrixType.h: ditto. | |
1680 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
1681 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
1682 respectively. | |
1683 * mx-base.h: Include MatrixTye.h as header file. | |
1684 | |
5781 | 1685 2006-05-01 John W. Eaton <jwe@octave.org> |
1686 | |
1687 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
1688 Delete WARN_FUTURE arg. Change all uses. | |
1689 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
1690 Change all uses. Use current_liboctave_warning_with_id_handler. | |
1691 (octave_base_shlib::open): Delete arg. Change all derived classes | |
1692 and uses. | |
1693 | |
1694 2006-04-29 John W. Eaton <jwe@octave.org> | |
1695 | |
1696 * Array-flags.cc, Array-flags.h: Delete. | |
1697 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
1698 (MATRIX_INC): Remove Array-flags.h from the list. | |
1699 | |
1700 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
1701 Use current_liboctave_warning_with_id_handler | |
1702 with warning ID Octave:resize-on-range-error. | |
1703 * idx-vector.h: Fix decl. | |
1704 * Array.cc, Sparse.cc: Change all callers. | |
1705 | |
1706 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
1707 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
1708 with warning ID Octave:fortran-indexing instead of | |
1709 liboctave_wfi_flag. | |
1710 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
1711 | |
5777 | 1712 2006-04-26 John W. Eaton <jwe@octave.org> |
1713 | |
1714 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
1715 New static data. | |
1716 * pathsearch.h: Provide decls. | |
1717 (dir_path::is_path_sep): New function. | |
1718 | |
5766 | 1719 2006-04-18 John W. Eaton <jwe@octave.org> |
1720 | |
1721 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
1722 Omit inline from decl. | |
1723 | |
1724 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
1725 local array with variable dimension. | |
1726 | |
5764 | 1727 2006-04-16 John W. Eaton <jwe@octave.org> |
1728 | |
5765 | 1729 * lo-sstream.h: Delete. |
1730 * Makefile.in (INCLUDES): Remove it from the list. | |
1731 | |
1732 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
1733 * Sparse.cc (Sparse::range_error): Likewise. | |
1734 * DASSL.cc (DASSL::error_message): Likewise. | |
1735 * LSODE.cc (LSODE::error_message): Likewise. | |
1736 * DASRT.cc (DASRT::error_message): Likewise. | |
1737 * DASPK.cc (DASPK::error_message): Likewise. | |
1738 * Array.cc (Array::range_error): Likewise. | |
1739 | |
5764 | 1740 * kpse.cc (kpse_hash): Rename from hash. |
1741 (hash_lookup): Call kpse_hash instead of hash. | |
1742 | |
1743 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
1744 to avoid local array with variable dimension. | |
1745 | |
5760 | 1746 2006-04-13 David Bateman <dbateman@free.fr> |
1747 | |
1748 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1749 Optimize assignment. | |
1750 | |
1751 2006-04-13 John W. Eaton <jwe@octave.org> | |
1752 | |
1753 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
1754 Eliminate unnecessary casts. | |
1755 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
1756 | |
1757 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
1758 (log_search, dir_links): Use static_cast instead of C-style cast. | |
1759 | |
1760 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
1761 * oct-alloc.cc (allocator::grow): Likewise. | |
1762 * CSparse.cc (SparseComplexMatrix::determinant, | |
1763 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
1764 Likewise. | |
1765 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
1766 | |
1767 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
1768 Use static_cast instead of C-style cast. | |
1769 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
1770 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
1771 | |
1772 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
1773 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
1774 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
1775 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
1776 Use reinterpret_cast instead of X_CAST. | |
1777 | |
1778 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
1779 return value here. | |
1780 | |
5752 | 1781 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
1782 | |
1783 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
1784 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
1785 | |
5730 | 1786 2006-04-03 David Bateman <dbateman@free.fr> |
1787 | |
5731 | 1788 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
1789 to avoid copy of original matrix. | |
1790 | |
5730 | 1791 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
1792 randmtzig.h to the list. | |
1793 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
1794 randmtzig.c to the list. | |
1795 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
1796 (use_old_generators): New variable. | |
1797 (old_initialized): Rename from initialized. | |
1798 (new_initialized): New variable. | |
1799 (oct_init_by_entropy): New function. | |
1800 (maybe_initialize): Initialize new or old generator depending on | |
1801 value of use_old_generators. | |
1802 (octave_rand::state): New functions. | |
1803 (octave_rand::distribution): Add gamma, exponential and poisson | |
1804 distributions. | |
1805 (octave_rand::exponential_distribution, | |
1806 octave_rand::poisson_distribution, | |
1807 octave_rand::gamma_distribution): New methods to select | |
1808 exponential, poisson or gamma distribution. | |
1809 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1810 octave_rand::vector): Add new distributions. | |
1811 * oct-rand.h: Provide decls for new functions. | |
1812 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
1813 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
1814 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
1815 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
1816 randmtzig.h: New files. | |
1817 | |
5717 | 1818 2006-03-24 John W. Eaton <jwe@octave.org> |
1819 | |
1820 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
1821 Array<octave_idx_type>, so fortran_vec returns pointer to | |
1822 octave_idx_type, not pointer to int. | |
1823 | |
1824 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
1825 ComplexMatrix::column (char*)): Delete. | |
1826 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
1827 Matrix::column (char*)): Delete. | |
1828 | |
5713 | 1829 2006-03-21 David Bateman <dbateman@free.fr> |
1830 | |
1831 * SparseQR.h: Publish externally used friends. | |
1832 * SparseCmplxQR.h: ditto. | |
1833 | |
5700 | 1834 2006-03-21 John W. Eaton <jwe@octave.org> |
1835 | |
1836 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
1837 call to xdbetai. | |
1838 | |
5697 | 1839 2006-03-21 David Bateman <dbateman@free.fr> |
1840 | |
5701 | 1841 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
1842 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 1843 |
1844 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
1845 fallback to QR solvers to be optional. | |
1846 * CSparse.cc (solve): Ditto. | |
1847 * dSparse.h (solve): update declaration for new argument. | |
1848 * CSparse.h (solve): Ditto. | |
1849 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
1850 to bypass QR solvers when solving the well determined part of | |
1851 the problem. | |
5697 | 1852 |
5690 | 1853 2006-03-17 John W. Eaton <jwe@octave.org> |
1854 | |
1855 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
1856 | |
5681 | 1857 2006-03-16 David Bateman <dbateman@free.fr> |
1858 | |
1859 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
1860 reduction of matrix size, except for a couple of cases where nzmax | |
1861 is needed. | |
1862 (zpbcon): Correct declaration of lapack zpbcon function. | |
1863 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
1864 an argument to allow the calculation of condition number to be | |
1865 optional. | |
1866 (bsolve): Add code for the calculation of the condition number | |
1867 using zpbcon and zgbcon. | |
1868 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
1869 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
1870 singular if singularity is detected. | |
1871 (solve): Use optional argument to disable calculation of | |
1872 condition number for all but fsolve, for speed. Add code to | |
1873 allow rectnagular matrices or matrices identified as singular | |
1874 to be treated. | |
1875 (lssolve): delete. | |
1876 (operator *): Don't recast real matrices as complex, but | |
1877 rather use the macro directly on the real data. | |
1878 * dSparse.cc: ditto. | |
1879 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
1880 fsolve, factorize): Update declaration for new argument to | |
1881 calculate the condition number. | |
1882 (lssolve): delete. | |
1883 * dSparse.h: ditto. | |
1884 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
1885 reduction of matrix size, except for a couple of cases where | |
1886 nzmax is needed. | |
1887 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
1888 reduction of matrix size, except for a couple of cases where | |
1889 nzmax is needed. | |
1890 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
1891 Special case strict permutations for speed. | |
1892 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
1893 reduction of matrix size, except for a couple of cases where | |
1894 nzmax is needed. | |
1895 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
1896 macros to allow mixed complex/real arguments. | |
1897 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
1898 value. | |
1899 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
1900 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
1901 of permutated triangular matrices to avoid seg-faults. Disable | |
1902 detection of underdetermined lower and over-determined upper | |
1903 matrix due to problems with non minimum norm solutions. | |
1904 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
1905 * Makefile.in: add sparse-dmsolve.cc to targets. | |
1906 | |
5675 | 1907 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
1908 | |
1909 * oct-time.cc (octave_strptime::init): Return useful character count. | |
1910 | |
5648 | 1911 2006-03-08 David Bateman <dbateman@free.fr> |
1912 | |
1913 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
1914 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
1915 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
1916 * SparseQR.cc: ditto. | |
1917 * SparseQR.h: ditto. | |
1918 * oct-sparse.h: ditto. | |
1919 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
1920 Declare info variable as volatile. | |
1921 | |
1922 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
1923 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
1924 | |
5634 | 1925 2006-03-01 John W. Eaton <jwe@octave.org> |
1926 | |
1927 * CMatrix.cc (ComplexMatrix::determinant): | |
1928 Scale result by factors of 2, not 10. | |
1929 * dMatrix.cc (Matrix::determinant): Likewise. | |
1930 | |
1931 * dbleDET.h (DET::DET): Use initializer list. | |
1932 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
1933 DET::exponent10): New functions. | |
1934 (DET::det): Delete. | |
1935 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
1936 Store value internally with double and int instead of 2-element | |
1937 double vector. | |
1938 (DET::initialize2, DET::initialize10): Provide decls. | |
1939 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
1940 Return bool value, not int. | |
1941 (DET::initialize2, DET::initialize10): New functions. | |
1942 | |
1943 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
1944 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
1945 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
1946 (ComplexDET::det): Delete. | |
1947 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
1948 ComplexDET::base2): New data members. | |
1949 Store value internally with Complex and int instead of 2-element | |
1950 Complex vector. | |
1951 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
1952 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
1953 ComplexDET::value_will_underflow): Return bool value, not int. | |
1954 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
1955 | |
5632 | 1956 2006-02-24 John W. Eaton <jwe@octave.org> |
1957 | |
1958 * Array.cc (assignN): Clear index before reshaping. | |
1959 | |
1960 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
1961 | |
5630 | 1962 2006-02-20 David Bateman <dbateman@free.fr> |
1963 | |
1964 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
1965 matrix must be square in diagonal, permuted diagonal, triangular | |
1966 and permuted triangular back/forward substitution code. Change | |
1967 ambiguous use of no. rows and columns. | |
1968 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
1969 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
1970 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
1971 rectangular diagonal, permuted diagonal, triangular and permuted | |
1972 triangular matrices. | |
1973 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
1974 Treat case where third argument is zero. | |
1975 | |
5621 | 1976 2006-02-15 John W. Eaton <jwe@octave.org> |
1977 | |
5622 | 1978 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
1979 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
1980 | |
5621 | 1981 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1982 | |
5619 | 1983 2006-02-13 David Bateman <dbateman@free.fr> |
1984 | |
1985 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
1986 ccolamd and cxsparse | |
1987 | |
5617 | 1988 2006-02-13 John W. Eaton <jwe@octave.org> |
1989 | |
5618 | 1990 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
1991 while loop condition. | |
1992 (kpse_path_iterator::operator =): Declare as private function but | |
1993 don't define to prevent attempts to use assignment operator. | |
1994 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 1995 |
5615 | 1996 2006-02-10 John W. Eaton <jwe@octave.org> |
1997 | |
1998 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
1999 product of all dimensions in CP_SZ. | |
2000 | |
5611 | 2001 2006-02-09 John W. Eaton <jwe@octave.org> |
2002 | |
2003 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 2004 product of all dimensions in CP_SZ. |
5611 | 2005 |
5610 | 2006 2006-02-09 David Bateman <dbateman@free.fr> |
2007 | |
2008 * SparseQR.cc: new file for real sparse QR class. | |
2009 * SparseQR.h: declaration. | |
2010 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
2011 * SparseCmplxQR.h: declaration. | |
2012 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2013 (factorize, fsolve): Enable code code lssolve. | |
2014 (lssolve): disable unused args, write based in above sparse QR class. | |
2015 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
2016 (factorize, fsolve): Enable code code lssolve. | |
2017 (lssolve): disable unused args, write based in above sparse QR class. | |
2018 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
2019 Include CXSparse headers. | |
2020 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
2021 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
2022 | |
5607 | 2023 2006-02-08 John W. Eaton <jwe@octave.org> |
2024 | |
2025 * Array-util.h (calc_permutated_idx): Delete. | |
2026 * Array.cc (permute_vector): New data structure. | |
2027 (permute_vector_compare): New function. | |
2028 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
2029 improved performance. | |
2030 | |
5606 | 2031 2006-02-04 David Bateman <dbateman@free.fr> |
2032 | |
2033 * COLAMD: Remove all files, as now unused. | |
2034 | |
5604 | 2035 2006-01-31 John W. Eaton <jwe@octave.org> |
2036 | |
2037 * Sparse.h (Sparse<T>::nzmax): New function. | |
2038 (Sparse<T>::nnz): Rename from nonzero. | |
2039 Change all uses of old nnz function to be nzmax. Change all uses | |
2040 of nonzero to be nnz. | |
2041 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
2042 | |
5603 | 2043 2006-01-21 David Bateman <dbateman@free.fr> |
2044 | |
2045 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
2046 (bool octave_idx_vector_comp): New function. | |
2047 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
2048 indexed idx_vector sorting function. | |
2049 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
2050 (class octave_idx_vector_sort): New class for indexed idx_vector | |
2051 sorting. | |
2052 (bool octave_idx_vector_comp): Declaration. | |
2053 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
2054 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
2055 class. | |
2056 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
2057 | |
5602 | 2058 2006-01-30 John W. Eaton <jwe@octave.org> |
2059 | |
2060 * so-array.h (streamoff_array::nnz): New funtion. | |
2061 * boolNDArray.h (boolNDArray::nnz): New function. | |
2062 * MArrayN.h (MArrayN<T>::nnz): New function. | |
2063 * MArray.h (MArray<T>::nnz): New function. | |
2064 | |
5587 | 2065 2006-01-04 David Bateman <dbateman@free.fr> |
2066 | |
2067 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
2068 elements not being sorted in return matrix. Sort them, and make | |
2069 solver select between two algorithms to further improve the | |
2070 performance. | |
2071 * dSparse.cc: include oct-sort.h. | |
2072 * CSparse.cc: ditto. | |
2073 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
2074 | |
5586 | 2075 2005-12-28 David Bateman <dbateman@free.fr> |
2076 | |
5587 | 2077 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
2078 faster in all cases, and significantly so for low density or small | |
2079 order problems. | |
5586 | 2080 |
5552 | 2081 2005-11-30 John W. Eaton <jwe@octave.org> |
2082 | |
2083 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
2084 before setting any values in either array. | |
2085 | |
5547 | 2086 2005-11-29 John W. Eaton <jwe@octave.org> |
2087 | |
2088 * oct-uname.h, oct-uname.cc: New files. | |
2089 * Makefile.in: Add them to the appropriate lists. | |
2090 | |
5535 | 2091 2005-11-11 John W. Eaton <jwe@octave.org> |
2092 | |
2093 * Array.cc (Array<T>::indexN): Simplify. | |
2094 | |
5533 | 2095 2005-11-09 John W. Eaton <jwe@octave.org> |
2096 | |
2097 * oct-inttypes.h (octave_int::operator char (void) const): | |
2098 New conversion op. | |
2099 | |
5527 | 2100 2005-11-01 John W. Eaton <jwe@octave.org> |
2101 | |
2102 * Makefile.in (distclean): Also remove oct-types.h. | |
2103 From Quentin Spencer <qspencer@ieee.org>. | |
2104 | |
5526 | 2105 2005-10-31 David Bateman <dbateman@free.fr> |
2106 | |
2107 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
2108 preprocessor defined TRUE/FALSE. | |
2109 | |
5523 | 2110 2005-10-30 John W. Eaton <jwe@octave.org> |
2111 | |
2112 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
2113 (MX_ND_CUMULATIVE_OP): Likewise. | |
2114 | |
5519 | 2115 2005-10-29 John W. Eaton <jwe@octave.org> |
2116 | |
5520 | 2117 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
2118 things up. Simplify. | |
2119 | |
5519 | 2120 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
2121 case for "vector_equivalent". | |
2122 | |
2123 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
2124 | |
5518 | 2125 2005-10-28 John W. Eaton <jwe@octave.org> |
2126 | |
2127 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
2128 From Quentin Spencer <qspencer@ieee.org>. | |
2129 | |
2130 * sparse-base-chol.cc: Use C++ true/false instead of | |
2131 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
2132 | |
5516 | 2133 2005-10-27 John W. Eaton <jwe@octave.org> |
2134 | |
2135 * Array.cc (assignN): Reshape to final size instead of resizing. | |
2136 | |
5512 | 2137 2005-10-26 John W. Eaton <jwe@octave.org> |
2138 | |
2139 * oct-sparse.h: New file. | |
2140 * oct-sparse.h.in: Delete. | |
2141 | |
5511 | 2142 2005-10-26 David Bateman <dbateman@free.fr> |
2143 | |
2144 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
2145 * sparse-base-chol.cc: ditto. | |
2146 | |
5508 | 2147 2005-10-26 John W. Eaton <jwe@octave.org> |
2148 | |
2149 Changes for GCC 4.1, tip from Arno J. Klaassen | |
2150 <arno@heho.snv.jussieu.fr>: | |
2151 | |
5509 | 2152 * dSparse.h (real (const SparseComplexMatrix&)): |
2153 Publish externally used friend function. | |
2154 (imag (const SparseComplexMatrix&)): Likewise. | |
2155 | |
5508 | 2156 * dColVector.h (real (const ComplexColumnVector&)): |
2157 Publish externally used friend function. | |
2158 (imag (const ComplexColumnVector&)): Likewise. | |
2159 | |
2160 * dNDArray.h (real (const ComplexNDArray&)): | |
2161 Publish externally used friend function. | |
2162 (imag (const ComplexNDArray&)): Likewise. | |
2163 | |
2164 * dMatrix.h (operator * (const ComplexMatrix&)): | |
2165 Move decl outside class. No need to be friend. | |
2166 (real (const ComplexMatrix&)): Publish externally used friend function. | |
2167 (imag (const ComplexMatrix&)): Likewise. | |
2168 | |
2169 * CMatrix.h: (operator * (const ColumnVector&, const | |
2170 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
2171 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
2172 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
2173 Likewise. | |
2174 | |
5506 | 2175 2005-10-23 David Bateman <dbateman@free.fr> |
2176 | |
2177 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
2178 elements need to be removed. | |
2179 | |
2180 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
2181 versions of cholmod. | |
2182 | |
2183 * CSparse.cc (tinverse): New private function for the inversion of | |
2184 an upper triangular matrix. | |
2185 (dinverse): ditto for diagonal matrices. | |
2186 (inverse): Add SparseType as an argument. Implement matrix inverse | |
2187 using tinverse and dinverse. | |
2188 (fsolve): Use cholmod to implement Cholesky solver. | |
2189 * CSparse.h (tinverse, dinverse): Declarations | |
2190 (inverse): Alter declaration to include SparseType. | |
2191 | |
2192 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
2193 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
2194 | |
2195 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
2196 | |
2197 * sparse-util.cc: New file for sparse utility functions. | |
2198 * sparse-util.h: New file with declarations of sparse utility | |
2199 functions. | |
2200 | |
2201 * sparse-base-chol.cc: New file with sparse cholesky class based | |
2202 on cholmod. | |
2203 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
2204 class based on cholmod. | |
2205 | |
2206 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
2207 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
2208 | |
2209 * SparsedbleCHOL.cc: ditto. | |
2210 * SparsedbleCHOL.h: ditto. | |
2211 | |
2212 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
2213 (INCLUDES): Include sparse-util.h | |
2214 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
2215 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
2216 | |
5489 | 2217 2005-10-12 John W. Eaton <jwe@octave.org> |
2218 | |
2219 * oct-env.cc (octave_env::have_x11_display): New function. | |
2220 * oct-env.h: Provide decl. | |
2221 | |
5476 | 2222 2005-09-29 John W. Eaton <jwe@octave.org> |
2223 | |
2224 * file-stat.h (file_stat::mode): New function. | |
2225 | |
2226 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
2227 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
2228 file_stat::is_reg, file_stat::is_sock): New static functions. | |
2229 * file-stat.h: Provide decls. | |
2230 | |
2231 2005-09-28 John W. Eaton <jwe@octave.org> | |
2232 | |
2233 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
2234 * file-ops.h: Provide decl. | |
2235 | |
5454 | 2236 2005-09-19 David Bateman <dbateman@free.fr> |
2237 | |
2238 * oct-env.cc (octave_env::do_get_home_directory): | |
2239 Also check HOMEDRIVE under mingw. | |
2240 | |
5455 | 2241 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
2242 | |
5453 | 2243 2005-09-16 John W. Eaton <jwe@octave.org> |
2244 | |
2245 * oct-syscalls.cc: Include lo-utils.h here. | |
2246 (octave_syscalls::waitpid): Call octave_waitpid here. | |
2247 | |
2248 * lo-cutils.c (octave_waitpid): New function. | |
2249 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
2250 oct-syscalls.cc | |
2251 | |
2252 | |
2253 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
2254 waitpid in src/sysdep.h. Make this header C-compatible. | |
2255 | |
2256 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
2257 Change all uses. | |
2258 | |
5451 | 2259 2005-09-15 John W. Eaton <jwe@octave.org> |
2260 | |
2261 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
2262 | |
2263 * oct-sparse.h.in: New file. | |
2264 * Makefile.in (DISTFILES): Include it in the list. | |
2265 (INCLUDES): Add oct-sparse.h to the list. | |
2266 | |
2267 2005-09-15 David Bateman <dbateman@free.fr> | |
2268 | |
2269 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
2270 headers. Remove include of umfpack.h. | |
2271 * CSparse.cc : ditto. | |
2272 * SparsedbleLU.cc : ditto. | |
2273 * SparseCmplxLU.cc : ditto. | |
2274 | |
2275 * COLAMD : Remove colamd files from octave. | |
2276 * COLAMD.files : delete. | |
2277 * COLAMD.README : delete. | |
2278 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
2279 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
2280 under mingw. | |
2281 | |
2282 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
2283 in definition. | |
2284 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
2285 change of cast not allowed under g++ 3.x. | |
2286 * lo-utils.h (octave_w32_library_search): Declaration. | |
2287 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
2288 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
2289 | |
5442 | 2290 2005-09-07 John W. Eaton <jwe@octave.org> |
2291 | |
2292 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
2293 based on current code in Bash. Handle a few more escape | |
2294 sequences. Do a better job of decoding \W. | |
2295 | |
5438 | 2296 2005-09-04 David Bateman <dbateman@free.fr> |
2297 | |
2298 * COLAMD: Update version of colamd to v2.4. | |
2299 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
2300 colamd.c for long version. | |
2301 | |
5429 | 2302 2005-08-25 David Bateman <dbateman@free.fr> |
2303 | |
2304 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
2305 mixed sparse/full multiply. | |
2306 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
2307 mixed sparse/full multiply. | |
2308 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
2309 mixed sparse/full multiply operators. | |
2310 | |
5420 | 2311 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
2312 | |
2313 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
2314 avoid warnings for unsigned types. | |
2315 | |
5404 | 2316 2005-07-07 John W. Eaton <jwe@octave.org> |
2317 | |
2318 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
2319 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
2320 | |
5392 | 2321 2005-06-15 John W. Eaton <jwe@octave.org> |
2322 | |
5394 | 2323 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
2324 Flush stdout here. | |
2325 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
2326 | |
5392 | 2327 * Array.h (Array::resize): Change int args to octave_idx_type. |
2328 | |
5386 | 2329 2005-06-14 John W. Eaton <jwe@octave.org> |
2330 | |
5389 | 2331 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
2332 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
2333 octave_is_NaN_or_NA to xisnan. | |
2334 | |
2335 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
2336 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
2337 | |
2338 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
2339 lo_ieee_isnan. | |
2340 | |
5387 | 2341 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
2342 value is greater than FLT_MAX. | |
2343 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2344 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
2345 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
2346 | |
2347 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
2348 values too. | |
2349 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
2350 | |
2351 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
2352 NA, Inf values. | |
2353 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 2354 |
5385 | 2355 2005-06-14 David Bateman <dbateman@free.fr> |
2356 | |
5387 | 2357 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
2358 NA values. | |
2359 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 2360 |
5379 | 2361 2005-06-02 John W. Eaton <jwe@octave.org> |
2362 | |
2363 * Array.cc (assignN): Try harder to correctly resize previously | |
2364 empty LHS. | |
2365 | |
5351 | 2366 2005-05-16 David Bateman <dbateman@free.fr> |
2367 | |
2368 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
2369 * CSparse.h: ditto. | |
2370 | |
5346 | 2371 2005-05-10 David Bateman <dbateman@free.fr> |
2372 | |
2373 * dSparse.cc (determinant): Free numeric factorization after | |
2374 sucessful calculation. | |
2375 * CSparse.cc (determinant): ditto. | |
2376 | |
5340 | 2377 2005-05-06 John W. Eaton <jwe@octave.org> |
2378 | |
2379 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
2380 chol_mat. | |
2381 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
2382 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
2383 Provide decls. | |
2384 | |
2385 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
2386 indexing chol_mat. | |
2387 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
2388 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
2389 Provide decls. | |
2390 | |
5338 | 2391 2005-05-05 John W. Eaton <jwe@octave.org> |
2392 | |
2393 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
2394 retval before return. | |
2395 | |
5336 | 2396 2005-05-04 John W. Eaton <jwe@octave.org> |
2397 | |
2398 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
2399 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
2400 | |
5330 | 2401 2005-05-02 John W. Eaton <jwe@octave.org> |
2402 | |
2403 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
2404 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
2405 | |
5322 | 2406 2005-04-29 David Bateman <dbateman@free.fr> |
2407 | |
5330 | 2408 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
2409 double. Correct indexing for upper diagonal elements for sparse | |
2410 tridiagonal. | |
5322 | 2411 * CSparse.cc (trisolve): ditto. |
2412 | |
5330 | 2413 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
2414 UMFPACK for 64-bit. | |
5322 | 2415 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
2416 UMFPACK_ZNAME(*). | |
2417 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
2418 | |
5330 | 2419 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
2420 UMFPACK for 64-bit. | |
5322 | 2421 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
2422 UMFPACK_DNAME(*). | |
2423 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
2424 | |
5330 | 2425 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
2426 triangular back/forward substitution code. | |
5322 | 2427 * CSparse.cc (ltsolve, utsolve): ditto. |
2428 | |
5330 | 2429 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
2430 from spparms("spumoni",1). | |
5322 | 2431 * CSparse.cc (solve): ditto |
2432 | |
5330 | 2433 * SparseType.cc (SparseType(void)): Print info for |
2434 spparms("spumoni",1). | |
5322 | 2435 (SparseType(const matrix_type), SparseType(const matrix_type, const |
2436 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
2437 const octave_idx_type, const octave_idx_type)): New constructors. | |
2438 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 2439 Detect row permuted lower triangular and column permuted upper |
2440 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 2441 |
2442 * SparseType.h: Simplify the permutation code. | |
2443 (SparseType(const matrix_type), SparseType | |
2444 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
2445 SparseType(const matrix_type, const octave_idx_type, | |
2446 const octave_idx_type)): Declarations. | |
2447 | |
5304 | 2448 2005-04-25 John W. Eaton <jwe@octave.org> |
2449 | |
2450 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
2451 array and its contents. | |
2452 | |
5303 | 2453 2005-04-22 John W. Eaton <jwe@octave.org> |
2454 | |
2455 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
2456 const here now that rl_terminal_name is declared const char*. | |
2457 | |
5294 | 2458 2005-04-21 John W. Eaton <jwe@octave.org> |
2459 | |
2460 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
2461 | |
5285 | 2462 2005-04-19 John W. Eaton <jwe@octave.org> |
2463 | |
2464 * Array.cc (assignN): Don't crash if the index list is empty. | |
2465 | |
5282 | 2466 2005-04-14 David Bateman <dbateman@free.fr> |
2467 | |
2468 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
2469 * SparsedbleLU.cc: Ditto. | |
2470 * SparseCmplxLU.h: Definition. | |
2471 * SparsedbleLU.h: ditto. | |
2472 | |
2473 * SparseType.cc (transpose): New function. | |
2474 * SparseType.h (transpose): Definition. | |
2475 | |
5278 | 2476 2005-04-11 John W. Eaton <jwe@octave.org> |
2477 | |
2478 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
2479 fortran code that could end up calling XSTOPX. | |
2480 | |
5277 | 2481 2005-04-10 David Bateman <dbateman@free.fr> |
2482 | |
2483 * Makefile.in: include oct-types in INCLUDES so that it is | |
2484 installed | |
2485 | |
5275 | 2486 2005-04-08 John W. Eaton <jwe@octave.org> |
2487 | |
5276 | 2488 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
2489 | |
5275 | 2490 * Initial merge of 64-bit changes from Clinton Chee: |
2491 | |
2492 2005-04-07 John W. Eaton <jwe@octave.org> | |
2493 | |
2494 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
2495 | |
2496 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
2497 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
2498 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
2499 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
2500 Use octave_idx_type instead of int where needed. | |
2501 | |
2502 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2503 | |
2504 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
2505 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
2506 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
2507 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
2508 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
2509 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2510 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
2511 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
2512 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
2513 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
2514 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
2515 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
2516 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
2517 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
2518 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
2519 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
2520 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
2521 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
2522 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
2523 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
2524 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
2525 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
2526 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
2527 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
2528 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
2529 str-vec.cc, str-vec.h: | |
2530 Use octave_idx_type instead of int where needed. | |
2531 | |
2532 2005-04-01 John W. Eaton <jwe@octave.org> | |
2533 | |
2534 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
2535 | |
2536 * oct-types.h.in: New file. | |
2537 | |
2538 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
2539 | |
2540 * lo-utils.cc (NINTbig): New function. | |
2541 * lo-utils.h: Provide decl. | |
2542 | |
5269 | 2543 2005-04-06 David Bateman <dbateman@free.fr> |
2544 | |
2545 * Makefile.in: Link to UMFPACK_LIBS. | |
2546 | |
5265 | 2547 2005-04-05 John W. Eaton <jwe@octave.org> |
2548 | |
2549 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
2550 | |
5264 | 2551 2005-04-01 John W. Eaton <jwe@octave.org> |
2552 | |
2553 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
2554 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
2555 when resizing A. When performing the assignment, just check that | |
2556 the number of elements in RHS matches the number of elements | |
2557 indexed by IDX-LIST. | |
2558 | |
5260 | 2559 2005-03-30 John W. Eaton <jwe@octave.org> |
2560 | |
5261 | 2561 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
2562 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
2563 | |
2564 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
2565 dSparse.cc: Use std:: for Complex functions instead of relying on | |
2566 wrappers from oct-cmplx.h. | |
5260 | 2567 |
2568 * oct-cmplx.h: Provide typedef only. | |
2569 | |
2570 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
2571 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
2572 Likewise. | |
2573 | |
5247 | 2574 2005-03-26 John W. Eaton <jwe@octave.org> |
2575 | |
2576 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
2577 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
2578 | |
5209 | 2579 2005-03-15 John W. Eaton <jwe@octave.org> |
2580 | |
2581 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
2582 | |
5203 | 2583 2005-03-14 John W. Eaton <jwe@octave.org> |
2584 | |
2585 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
2586 (DISTDIRS): Don't include UMFPACK. | |
2587 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
2588 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
2589 flags for these files. | |
2590 Don't include include $(srcdir)/UMFPACK.files. | |
2591 Don't include include $(srcdir)/UMFPACK.rules. | |
2592 | |
2593 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
2594 Delete files. | |
2595 * UMFPACK: Delete directory tree. | |
2596 | |
2597 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
2598 * CSparse.cc: Likewise. | |
2599 * SparsedbleLU.cc: Likewise. | |
2600 * SparseCmplxLU.cc: Likewise. | |
2601 | |
2602 2005-03-14 David Bateman <dbateman@free.org> | |
2603 | |
2604 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
2605 Allow compilation to succeed if UMFPACK is not available. | |
2606 | |
5196 | 2607 2005-03-09 John W. Eaton <jwe@octave.org> |
2608 | |
2609 * Makefile.in (bin-dist): Delete target. | |
2610 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
2611 | |
5173 | 2612 2005-03-01 John W. Eaton <jwe@octave.org> |
2613 | |
2614 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
2615 * Makefile.in: Remove them from the lists. | |
2616 | |
5169 | 2617 2005-02-28 John W. Eaton <jwe@octave.org> |
2618 | |
2619 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
2620 | |
5167 | 2621 2005-02-27 David Bateman <dbateman@free.org> |
2622 | |
5169 | 2623 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
2624 in the sparse matrix. | |
5167 | 2625 |
5164 | 2626 2005-02-25 John W. Eaton <jwe@octave.org> |
2627 | |
2628 Sparse merge. | |
2629 | |
2630 2005-02-13 David Bateman <dbateman@free.fr> | |
2631 | |
2632 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
2633 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
2634 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
2635 solver into separate functions for the diagonal, upper, lower | |
2636 triangular, tridiagonal, banded and full cases. | |
2637 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
2638 version that probes the matrix type and another that assumes the type | |
2639 is passed. | |
2640 | |
2641 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
2642 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
2643 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
2644 (SparseMatrix::solve): Likewise | |
2645 | |
2646 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2647 Declaration of new functions | |
2648 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
2649 Likewise | |
2650 | |
2651 * CSparse.cc (operator !): Reverse the sense of the test. | |
2652 * dSpase.cc (operator !): Likewise | |
2653 | |
2654 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2655 triangular_col_perm, sparse_info): Remove matrix type code | |
2656 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2657 triangular_col_perm, sparse_info): Likewise | |
2658 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2659 triangular_col_perm, sparse_info): Likewise | |
2660 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
2661 triangular_col_perm, sparse_info): Likewise | |
2662 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
2663 triangular_col_perm, sparse_info, matrix_type): Likewise | |
2664 | |
2665 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
2666 | |
2667 * SparseType.h: New class for the matrix type used in solvers | |
2668 * SparseType.cc: methods of sparse matrix type class | |
2669 | |
2670 * Makefile.in: Add SparseType.cc | |
2671 | |
2672 2005-02-01 David Bateman <dbateman@free.fr> | |
2673 | |
2674 * UMFPACK: Update to version 4.4 | |
2675 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
2676 keep octave specific test files | |
2677 | |
2678 2005-01-23 David Bateman <dbateman@free.fr> | |
2679 | |
2680 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
2681 tridiagonal and banded cholesky solvers. Remove calculation of | |
2682 condition number for banded solvers. | |
2683 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
2684 | |
2685 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
2686 new functions. | |
2687 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2688 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2689 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
2690 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
2691 ditto | |
2692 | |
2693 * Sparse.cc (int Sparse<T>::type (int) const, | |
2694 bool Sparse<T>::is_dense (void) const): New functions definition | |
2695 | |
2696 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
2697 so it actually is cached, but disable | |
2698 | |
2699 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
2700 for compatiability | |
2701 | |
2702 2005-01-18 David Bateman <dbateman@free.fr> | |
2703 | |
2704 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2705 Modify calculation of number elements to skip between copied blocks. | |
2706 | |
2707 2005-01-07 David Bateman <dbateman@free.fr> | |
2708 | |
2709 * Sparse.h : Reverse definitions of numel and nelem. | |
2710 * Sparse.cc (assign1): Use numel and not nelem | |
2711 * Sparse-op-def.h: Replace all uses of nelem with numel | |
2712 | |
2713 2005-01-07 David Bateman <dbateman@free.fr> | |
2714 | |
2715 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
2716 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
2717 ComplexDET | |
2718 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
2719 by DET | |
2720 * dSparse.h (determinant): ditto | |
2721 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
2722 SparseComplexDET by ComplexDET | |
2723 * CSparse.h (determinant): ditto | |
2724 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
2725 SparseCmplxDET.cc: delete files | |
2726 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
2727 SparseCmplxDET.h andSparseCmplxDET.cc. | |
2728 | |
2729 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
2730 local variable to avoid variable shadowing. | |
2731 * dSparse.cc (SparseMatrix::solve): ditto. | |
2732 | |
2733 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
2734 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
2735 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
2736 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
2737 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
2738 sparse-sort.h: Remove additional licensing clause with authors | |
2739 permission. | |
2740 | |
2741 2004-12-30 John W. Eaton <jwe@octave.org> | |
2742 | |
2743 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
2744 Loop counter is int, not size_t. | |
2745 | |
2746 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
2747 | |
2748 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
2749 | |
2750 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
2751 Delete unused variables. | |
2752 (SparseMatrix::solve): Avoid warnings about uninitialized | |
2753 variables and variables that might be clobbered by longjmp. | |
2754 | |
2755 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
2756 min, max): Delete unused variables. | |
2757 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
2758 variables and variables that might be clobbered by longjmp. | |
2759 | |
2760 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
2761 | |
2762 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
2763 Loop counter is int, not size_t. | |
2764 | |
2765 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
2766 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
2767 | |
2768 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
2769 lists consistently. | |
2770 | |
2771 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
2772 | |
2773 2004-12-29 John W. Eaton <jwe@octave.org> | |
2774 | |
2775 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
2776 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
2777 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
2778 $(UMFPACK_EXTRAS) to the list. | |
2779 (DISTDIRS): New variable. | |
2780 (dist): Handle $(DISTDIRS). | |
2781 | |
2782 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
2783 Andy Adler <adler@site.uottawa.ca>. | |
2784 | |
2785 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
2786 | |
2787 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
2788 without directory prefix. | |
2789 | |
2790 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
2791 $(UMFPACK_OBJ) to the list. | |
2792 | |
2793 * COLAMD: New directory. | |
2794 * COLAMD.files: New file. | |
2795 * Makefile.in: Include COLAMD.files. | |
2796 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
2797 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
2798 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
2799 | |
2800 * UMFPACK: New directory. | |
2801 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
2802 New files. | |
2803 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
2804 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
2805 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
2806 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
2807 | |
2808 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
2809 (INCLUDES): Add it to the list. | |
2810 (SPARSE_MX_OP_SRC): New variable. | |
2811 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
2812 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2813 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
2814 | |
2815 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
2816 * Makefile.in (DISTFILES): Add them to the lists. | |
2817 | |
2818 * oct-spparms.h, sparse-sort.h: New files. | |
2819 * Makefile.in (INCLUDES): Add them to the list. | |
2820 | |
2821 * oct-spparms.cc, sparse-sort.cc: New files. | |
2822 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
2823 | |
2824 * sparse-base-lu.cc: New file. | |
2825 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
2826 | |
2827 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
2828 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
2829 SparsedbleLU.cc: New files. | |
2830 * Makefile.in (MATRIX_SRC): Add them to the list. | |
2831 | |
2832 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
2833 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
2834 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
2835 Sparse-op-defs.h: New files. | |
2836 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
2837 | |
2838 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
2839 Sparse-C.cc: New files. | |
2840 * Makefile.in (TI_SRC): Add them to the list. | |
2841 | |
5149 | 2842 2005-02-18 John W. Eaton <jwe@octave.org> |
2843 | |
2844 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
2845 Pass current directory to octave_env::make_absolute. | |
2846 Save value returned from octave_env::make_absolute in local var. | |
2847 Pass const char*, not std::string as first arg of resolvepath. | |
2848 Provide decl for resolved_len. | |
2849 | |
5148 | 2850 2005-02-18 John W. Eaton <jwe@octave.org> |
2851 | |
2852 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
2853 than number of dimenensions of permuted matrix. | |
2854 | |
2855 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
2856 * Array-util.cc (calc_permutated_idx): Likewise. | |
2857 | |
5139 | 2858 2005-02-10 David Bateman <dbateman@free.fr> |
2859 | |
2860 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
2861 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
2862 | |
5137 | 2863 2005-02-09 John W. Eaton <jwe@octave.org> |
2864 | |
5138 | 2865 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
2866 * file-ops.h: Provide decls. | |
2867 | |
5137 | 2868 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
2869 | |
5136 | 2870 2005-02-08 John W. Eaton <jwe@octave.org> |
2871 | |
2872 * Array-util.cc (freeze): Improve error message. | |
2873 | |
5120 | 2874 2005-01-26 David Bateman <dbateman@free.fr> |
2875 | |
5121 | 2876 * Array.cc (Array<T>::insert): Handle generic case, not just |
2877 special case for fast concatenation. | |
5120 | 2878 |
5110 | 2879 2005-01-18 John W. Eaton <jwe@octave.org> |
2880 | |
2881 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
2882 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
2883 | |
2884 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
2885 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
2886 | |
5108 | 2887 2005-01-18 David Bateman <dbateman@free.fr> |
2888 | |
2889 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
2890 Modify calculation of number elements to skip between copied blocks. | |
2891 | |
2892 2005-01-18 John W. Eaton <jwe@octave.org> | |
2893 | |
2894 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
2895 error handler, to warn about resizing. | |
2896 | |
5105 | 2897 2004-12-27 Martin Dalecki <martin@dalecki.de> |
2898 | |
2899 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
2900 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
2901 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
2902 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
2903 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
2904 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
2905 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
2906 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
2907 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
2908 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
2909 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
2910 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
2911 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
2912 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
2913 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
2914 Delete #pragma implementation. | |
2915 | |
2916 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
2917 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
2918 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
2919 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
2920 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
2921 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
2922 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
2923 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
2924 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
2925 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2926 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
2927 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
2928 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
2929 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
2930 Delete #pragma interface. | |
2931 | |
5098 | 2932 2004-12-17 John W. Eaton <jwe@octave.org> |
2933 | |
2934 * lo-cieee.c (lo_ieee_signbit): New function. | |
2935 * lo-ieee.h: Provide decl. | |
2936 Don't define lo_ieee_signbit as a macro here. | |
2937 From Orion Poplawski <orion@cora.nwra.com>. | |
2938 | |
5085 | 2939 2004-11-18 John W. Eaton <jwe@octave.org> |
2940 | |
2941 * int32NDArray.cc (pow): Delete instantiation. | |
2942 * int16NDArray.cc (pow): Likewise. | |
2943 * int8NDArray.cc (pow): Likewise. | |
2944 * uint32NDArray.cc (pow): Likewise. | |
2945 * uint16NDArray.cc (pow): Likewise. | |
2946 * uint8NDArray.cc (pow): Likewise. | |
2947 | |
5081 | 2948 2004-11-17 John W. Eaton <jwe@octave.org> |
2949 | |
5085 | 2950 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
2951 Now static. | |
2952 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
2953 DEFAULT_TEXMFDBS): Delete unused macros. | |
2954 | |
5081 | 2955 * Array.cc (Array<T>::index): Call generic N-d indexing function |
2956 if idx_arg is N-d. | |
2957 | |
5073 | 2958 2004-11-09 David Bateman <dbateman@free.fr> |
2959 | |
2960 * dNDArray.cc (concat): Delete. | |
2961 (NDArray::concat): New methods. | |
2962 * dNDArray.h: Provide decls. | |
2963 | |
2964 * CNDArray.cc (concat): Delete. | |
2965 (ComplexNDArray::concat): New methods. | |
2966 * CNDArray.h: Provide decls. | |
2967 | |
2968 * boolNDArray.cc (concat): Delete. | |
2969 (boolNDArray::concat): New methods. | |
2970 * boolNDArray.h: Provide decls. | |
2971 | |
2972 * chNDArray.cc (concat): Delete. | |
2973 (charNDArray::concat): New methods. | |
2974 * chNDArray.h: Provide decls. | |
2975 | |
2976 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
2977 Delete macros. | |
2978 | |
2979 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
2980 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
2981 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
2982 | |
2983 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
2984 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
2985 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
2986 | |
2987 * intNDArray.cc (intNDArray<T>::concat): New method. | |
2988 * intNDArray.h: Provide decl. | |
2989 | |
5072 | 2990 2004-11-08 John W. Eaton <jwe@octave.org> |
2991 | |
2992 * oct-inttypes.cc: New file. | |
2993 * Makefile.in (TI_SRC): Add it to the list. | |
2994 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
2995 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
2996 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
2997 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
2998 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
2999 New macros for comparison operations. Avoid potential | |
3000 problems with default conversions when comparing signed and | |
3001 unsigned values. | |
3002 | |
5061 | 3003 2004-11-03 John W. Eaton <jwe@octave.org> |
3004 | |
3005 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
3006 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3007 | |
5052 | 3008 2004-10-19 John W. Eaton <jwe@octave.org> |
3009 | |
3010 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
3011 | |
5047 | 3012 2004-10-18 John W. Eaton <jwe@octave.org> |
3013 | |
3014 * Array.cc (assign2): Save result of squeeze operation. | |
3015 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
3016 | |
5095 | 3017 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 3018 |
3019 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
3020 flag whether transform in- or out-of-place. | |
3021 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
3022 (octave_fftw_planner::create_plan): Use it. | |
3023 | |
5039 | 3024 2004-09-24 John W. Eaton <jwe@octave.org> |
3025 | |
3026 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
3027 any empty matrix, not just []. | |
3028 | |
5030 | 3029 2004-09-23 John W. Eaton <jwe@octave.org> |
3030 | |
3031 * mx-ops: Include scalar zero value in type definitions. | |
3032 Delete zero information from ops section. | |
3033 * mk-ops.awk: Use type-specific zero info. | |
3034 | |
3035 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
3036 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
3037 LHS and RHS. | |
3038 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
3039 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
3040 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
3041 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
3042 | |
3043 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
3044 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
3045 tree_to_mat_idx. | |
3046 | |
3047 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
3048 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
3049 Likewise for the "if (b_val & one)" test. | |
3050 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
3051 | |
5029 | 3052 2004-09-23 David Bateman <dbateman@free.fr> |
3053 | |
3054 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
3055 New macros. Use them to define mixed intX-double and double-intX ops. | |
3056 | |
5021 | 3057 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
3058 | |
3059 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
3060 Fix doc string layout to avoid overfull hbox in printed output. | |
3061 | |
5015 | 3062 2004-09-21 John W. Eaton <jwe@octave.org> |
3063 | |
3064 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
3065 * mach-info.cc (octave_mach_info::string_to_float_format): | |
3066 For "native", set actual native format. | |
3067 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
3068 | |
5008 | 3069 2004-09-17 David Bateman <dbateman@free.fr> |
3070 | |
3071 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
3072 calculation of the unitary matrix optional. | |
3073 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
3074 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
3075 | |
4998 | 3076 2004-09-15 David Bateman <dbateman@free.fr> |
3077 | |
3078 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
3079 New function to set the comparison function for the sort. | |
3080 | |
4985 | 3081 2004-09-10 John W. Eaton <jwe@octave.org> |
3082 | |
3083 * lo-mappers.cc (xround): Fix typo. | |
3084 | |
4979 | 3085 2004-09-08 John W. Eaton <jwe@octave.org> |
3086 | |
3087 * Array.h (Array::~Array): Declare virtual. | |
3088 | |
3089 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
3090 initializaion list. Don't set rep->count since the rep | |
3091 constructor does that. | |
3092 | |
4968 | 3093 2004-09-07 John W. Eaton <jwe@octave.org> |
3094 | |
4970 | 3095 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
3096 (oct_data_conv::data_type_as_string): Likewise. | |
3097 | |
3098 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
3099 | |
4968 | 3100 * Range.cc (round): Delete unused function. |
3101 | |
3102 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
3103 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
3104 | |
3105 * oct-inttypes.h: Include <cmath> here. | |
3106 | |
4964 | 3107 2004-09-03 David Bateman <dbateman@free.fr> |
3108 | |
3109 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
3110 New functions for boolean matrix concatenation. | |
3111 * boolNDArray.h: Provide decls. | |
3112 | |
4963 | 3113 2004-09-03 John W. Eaton <jwe@octave.org> |
3114 | |
4964 | 3115 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
3116 to avoid signed/unsigned int comparison problems. | |
3117 | |
3118 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
3119 for mixed integer and double types. | |
3120 | |
3121 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
3122 separately, and only if needed. | |
3123 | |
4963 | 3124 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
3125 static_cast for type conversion. | |
3126 | |
4953 | 3127 2004-09-01 John W. Eaton <jwe@octave.org> |
3128 | |
3129 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
3130 operator /): Handle mixed integer/double ops. If op generates a | |
3131 NaN, set result to 0. | |
3132 (octave_int::operator - (void)): Convert to double, then negate, | |
3133 then fit to range. | |
3134 | |
3135 * mx-ops: Define integer types. Include declarations for mixed | |
3136 integer/double ops. | |
3137 | |
4952 | 3138 2004-08-31 John W. Eaton <jwe@octave.org> |
3139 | |
3140 * oct-inttypes.h (pow): Args now const reference. | |
3141 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
3142 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
3143 New member functions. | |
3144 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
3145 (operator >> (const octave_int<T1>& x, const T2& y)): | |
3146 Define in terms of >>=. | |
3147 (operator << (const octave_int<T1>& x, const T2& y)): | |
3148 Define in terms of <<=. | |
3149 (bitshift): Operate on octave_int<T> objects, not the values, so | |
3150 we get proper saturation properties. | |
3151 | |
3152 2004-08-31 David Bateman <dbateman@free.fr> | |
3153 | |
3154 * oct-inttypes.h (pow (constT, T)): New template. | |
3155 | |
3156 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
3157 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
3158 | |
4949 | 3159 2004-08-31 John W. Eaton <jwe@octave.org> |
3160 | |
3161 * oct-inttypes.h (octave_int::byte_size): New function. | |
3162 | |
4944 | 3163 2004-08-31 John W. Eaton <jwe@octave.org> |
3164 | |
4946 | 3165 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
3166 | |
4944 | 3167 * data-conv.h (oct_data_conv::data_type): Include sized types. |
3168 Explicitly number enum elements. | |
3169 | |
3170 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
3171 std::string&, int&, oct_data_conv::data_type&, | |
3172 oct_data_conv::data_type&)): New function. | |
3173 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
3174 oct_data_conv::data_type&)): New function. | |
3175 (oct_data_conv::data_type_as_string): New function. | |
3176 | |
3177 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
3178 (write_int, do_write, Matrix::write): Delete. | |
3179 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
3180 | |
3181 * byte-swap.h: Use template functions and specialization. | |
3182 Change all uses. | |
3183 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3184 | |
4943 | 3185 2004-08-30 John W. Eaton <jwe@octave.org> |
3186 | |
3187 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
3188 specializations to avoid warnings about signed/unsigned comparisons. | |
3189 | |
3190 2004-08-28 John W. Eaton <jwe@octave.org> | |
3191 | |
3192 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
3193 size_t, int, oct_mach_info::float_format)): New function. | |
3194 (GET_SIZED_INT_TYPE): New macro. | |
3195 (string_to_data_type): Use it to return sized types corresponding | |
3196 to Octave array data types. | |
3197 (strip_spaces): New function. | |
3198 (do_double_format_conversion, do_float_format_conversion): Pass | |
3199 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
3200 float format. | |
3201 (do_double_format_conversion, | |
3202 IEEE_big_double_to_IEEE_little_double, | |
3203 VAX_D_double_to_IEEE_little_double, | |
3204 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
3205 IEEE_little_double_to_IEEE_big_double, | |
3206 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
3207 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
3208 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
3209 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
3210 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
3211 Cray_to_VAX_G_double): | |
3212 Pass data as void*, not double*. | |
3213 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
3214 VAX_D_float_to_IEEE_little_float, | |
3215 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
3216 IEEE_little_float_to_IEEE_big_float, | |
3217 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
3218 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
3219 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
3220 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
3221 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
3222 Cray_to_VAX_G_float): | |
3223 Pass data as void*, not float*. | |
3224 | |
3225 2004-08-27 John W. Eaton <jwe@octave.org> | |
3226 | |
3227 * byte-swap.h (swap_bytes): New template versions, with | |
3228 specializations. | |
3229 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
3230 Change all uses. | |
3231 | |
4940 | 3232 2004-08-24 David Bateman <dbateman@free.fr> |
3233 | |
3234 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
3235 empty instead of checking final matrix. | |
3236 * dNDArray.cc (concat): Likewise. | |
3237 * CNDArray.cc (concat): Likewise. | |
3238 | |
3239 2004-08-23 David Bateman <dbateman@free.fr> | |
3240 | |
3241 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
3242 non-existent dimensions. | |
3243 | |
4938 | 3244 2004-08-09 John W. Eaton <jwe@octave.org> |
3245 | |
3246 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
3247 (const octave_int<U>&)): New member function. | |
3248 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
3249 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
3250 Now member functions instead of static in idx-vector.cc. | |
3251 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
3252 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
3253 New template constructors. | |
3254 | |
4932 | 3255 2004-08-05 John W. Eaton <jwe@octave.org> |
3256 | |
4933 | 3257 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
3258 | |
4932 | 3259 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
3260 intNDArray<T>::any): Sprinkle with this-> as needed. | |
3261 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
3262 | |
4929 | 3263 2004-08-03 John W. Eaton <jwe@octave.org> |
3264 | |
3265 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
3266 arrays with more than two dimensions and only one non-singleton | |
3267 dimension, return a column vector. | |
3268 | |
4921 | 3269 2004-07-28 John W. Eaton <jwe@octave.org> |
3270 | |
3271 * oct-cmplx.h (pow (const Complex&, const double&): | |
3272 Convert second arg to complex to avoid libstdc++ bug. | |
3273 | |
4920 | 3274 2004-07-27 John W. Eaton <jwe@octave.org> |
3275 | |
3276 * oct-inttypes.h (bitshift): New arg, MASK. | |
3277 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
3278 | |
4916 | 3279 2004-07-23 John W. Eaton <jwe@octave.org> |
3280 | |
3281 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
3282 | |
4915 | 3283 2004-07-23 David Bateman <dbateman@free.fr> |
3284 | |
3285 * Array.cc, Array.h (cat_ra): Delete. | |
3286 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
3287 (INSTANTIATE_ARRAY_CAT): Delete. | |
3288 | |
3289 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3290 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
3291 | |
3292 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
3293 | |
3294 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3295 chNDArray.h (concat): New function used for concatenation that does | |
3296 an indexed copy of one array into another. | |
3297 | |
3298 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
3299 | |
3300 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
3301 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
3302 insertion of one NDArray into another. | |
3303 | |
3304 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
3305 macros to define the int/uint concatenation functions. | |
3306 | |
3307 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3308 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
3309 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
3310 | |
3311 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3312 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
3313 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
3314 functions. | |
3315 | |
4911 | 3316 2004-07-22 David Bateman <dbateman@free.fr> |
3317 | |
3318 * oct-sort.h: Don't include oct-obj.h. | |
3319 | |
3320 * lo-specfun.cc (is_integer_value): New function. | |
3321 (zbesj, zbesi, zbesy): Special case negative integer or half | |
3322 integer orders that cause overflow for small arguments. | |
3323 | |
4909 | 3324 2004-07-12 John W. Eaton <jwe@octave.org> |
3325 | |
3326 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
3327 (bitshift (const octave_int<T>&, int)): New function. | |
3328 | |
4902 | 3329 2004-06-14 John W. Eaton <jwe@octave.org> |
3330 | |
3331 * mx-base.h: Include headers for new int types. | |
3332 | |
3333 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
3334 NDArray::NDArray (const charNDArray&)): Delete. | |
3335 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
3336 constructor. | |
3337 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3338 | |
3339 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
3340 return type conversion. | |
3341 | |
3342 * ComplexNDArray.h, ComplexNDArray.cc | |
3343 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
3344 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
3345 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
3346 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
3347 | |
3348 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
3349 | |
3350 * MArrayN.h: | |
3351 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
3352 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
3353 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
3354 New constructors. | |
3355 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3356 ArrayN<T>::squeeze): | |
3357 New forwarding functions for return type conversion. | |
3358 | |
3359 * ArrayN.h: | |
3360 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
3361 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
3362 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
3363 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
3364 const dim_vector&)): New constructors. | |
3365 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
3366 ArrayN<T>::transpose): | |
3367 New forwarding functions for return type conversion. | |
3368 | |
3369 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
3370 New constructor. | |
3371 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
3372 | |
3373 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
3374 | |
3375 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3376 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
3377 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
3378 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
3379 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
3380 * Makefile.in: Add them to the appropriate lists. | |
3381 | |
4899 | 3382 2004-06-04 John W. Eaton <jwe@octave.org> |
3383 | |
3384 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
3385 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
3386 resize op. Change all uses. | |
3387 | |
4898 | 3388 2004-06-03 David Bateman <dbateman@free.fr> |
3389 | |
3390 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
3391 greater than the existing number of dimensions in lvalue. | |
3392 | |
4887 | 3393 2004-04-30 David Bateman <dbateman@free.fr> |
3394 | |
3395 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
3396 New arg, fill_value. | |
3397 (dim_vector::resize): Allow optional fill_value argument. | |
3398 | |
3399 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3400 Don't chop trailing dimensions of Array<idx_vector> if there is | |
3401 more than one element in idx_vector. Resize the return value to | |
3402 the size of Array<idx_vector>. | |
3403 | |
3404 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
3405 idx_vector that is shorter than a dim_vector. | |
3406 | |
4882 | 3407 2004-04-23 John W. Eaton <jwe@octave.org> |
3408 | |
3409 * oct-sort.cc: Don't include oct-obj.h. | |
3410 | |
4876 | 3411 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3412 | |
3413 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
3414 Don't set invalid dimensions on return value. | |
3415 | |
4871 | 3416 2004-04-21 John W. Eaton <jwe@octave.org> |
3417 | |
3418 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
3419 | |
4850 | 3420 2004-04-06 David Bateman <dbateman@free.fr> |
3421 | |
4870 | 3422 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
3423 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
3424 Make their behavior equivalent except for filling vs. not filling. | |
3425 | |
4850 | 3426 * oct-sort.cc: New template class for arbitrary sorting. |
3427 * oct-sort.h: Declaration of sort class. | |
3428 * Makefile: Add them to the appropriate lists. | |
3429 | |
4845 | 3430 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3431 | |
3432 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
3433 | |
4844 | 3434 2004-04-02 David Bateman <dbateman@free.fr> |
3435 | |
3436 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
3437 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 3438 New N-d array versions. |
4844 | 3439 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
3440 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
3441 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
3442 | |
3443 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
3444 New functions. | |
3445 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
3446 | |
3447 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3448 New functions. | |
3449 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
3450 Provide decls. | |
3451 | |
4842 | 3452 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
3453 | |
3454 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
3455 work vector, not just when using a numerical Jacobian. | |
3456 | |
4834 | 3457 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3458 | |
4835 | 3459 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
3460 Omit empty result args. | |
3461 | |
4834 | 3462 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
3463 Move here from Array.h, check that size of array arg is not | |
3464 smaller than the size defined by the new dimensions. | |
3465 | |
4832 | 3466 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3467 | |
3468 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
3469 a scalar or vector with an N-d array. | |
3470 | |
4826 | 3471 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
3472 | |
4828 | 3473 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
3474 matrix, return object that is the same size as the index. | |
3475 | |
4826 | 3476 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
3477 Eliminate MT_RESULT args. Return value is always size of args. | |
3478 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
3479 Eliminate EMPTY_RESULT arg. | |
3480 Return value is always size of matrix or N-d array arg. | |
3481 (TBM, FBM, NBM): Delete unused macros. | |
3482 | |
4821 | 3483 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3484 | |
3485 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
3486 if all LHS dimensions are zero. For one index case, freeze and | |
3487 sort idx_vec before checking length, and do nothing if | |
3488 num_to_delete is zero. | |
4822 | 3489 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 3490 |
4816 | 3491 2004-03-04 David Bateman <dbateman@free.fr> |
3492 | |
3493 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
3494 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
3495 | |
4811 | 3496 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
3497 | |
3498 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
3499 element. | |
3500 | |
3501 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3502 | |
3503 * Range.h (Range::Range): Add cache to member initialization list. | |
3504 (Range::clear_cache): New private function. | |
3505 | |
3506 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
3507 Use clear cache. Don't do anything if range does not change. | |
3508 * Range.cc (Range::sort): Likewise. | |
3509 | |
4810 | 3510 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
3511 | |
3512 * Range.cc (Range::matrix_value): Cache result. | |
3513 (Range::sort): Clear cache. | |
3514 * Range.h (Range::cache): New data member. | |
3515 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
3516 (Range::print_range): Delete. | |
4808 | 3517 |
3518 2004-03-02 David Bateman <dbateman@free.fr> | |
3519 | |
3520 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
3521 changes between them. Faster for small fft's. | |
3522 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
3523 New member variables. | |
3524 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
3525 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
3526 Change all uses. | |
3527 (CHECK_SIMD_ALIGNMENT): New macro. | |
3528 (octave_fftw_planner::create_plan): Use it. | |
3529 | |
4806 | 3530 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
3531 | |
3532 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
3533 | |
3534 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
3535 | |
3536 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
3537 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
3538 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
3539 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
3540 | |
3541 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
3542 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
3543 | |
4800 | 3544 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3545 | |
4802 | 3546 * oct-rl-edit.c (octave_rl_set_startup_hook, |
3547 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
3548 octave_rl_get_event_hook): Omit casts. | |
3549 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
3550 Return value for function pointer typedef is now int. | |
3551 * cmd-edit.h (command_editor::startup_hook_fcn, | |
3552 command_editor::event_hook_fcn): Likewise. | |
3553 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
3554 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
3555 Return type is now int. Return 0. | |
3556 | |
4800 | 3557 * EIG.cc (EIG::init, EIG::symmetric_init): |
3558 Query Lapack for workspace size. | |
3559 | |
4796 | 3560 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3561 | |
3562 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
3563 Fix thinko in extending dimensions. | |
3564 | |
4791 | 3565 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3566 | |
3567 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
3568 Don't compute values beyond the limits of the range. | |
3569 (operator << (std::ostream&, const Range&)): Likewise. | |
3570 | |
4786 | 3571 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3572 | |
4788 | 3573 * oct-fftw.cc (octave_fftw_planner::create_plan): |
3574 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
3575 From Paul Kienzle <pkienzle@users.sf.net>. | |
3576 | |
4786 | 3577 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
3578 Rename from Array<T>::insert. | |
3579 (Array<T>::insert2 (const Array<T>&, int, int)): | |
3580 Reinstate old Array<T>::insert function under this name. | |
3581 (Array<T>::insert (const Array<T>&, int, int)): | |
3582 New function. Dispatch to insert2 or insertN as appropriate. | |
3583 | |
4785 | 3584 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
3585 | |
3586 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3587 Sprinkle with OCTAVE_QUIT. | |
3588 | |
5095 | 3589 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 3590 |
3591 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
3592 Add support for FFTW 3.x. Include the ability to | |
3593 use the real to complex transform for fft's of real matrices | |
3594 (octave_fftw_planner::create_plan2d): Delete. | |
3595 (octave_fftw::fft2d): Delete. | |
3596 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
3597 New static functions. | |
3598 * oct-fftw.h: Update decls. | |
3599 | |
3600 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
3601 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
3602 transforms. 1D FFT of a matrix done as single call rather than | |
3603 loop. Update for FFTW 3.x | |
3604 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
3605 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
3606 matrix done as single call rather than loop. Update for FFTW 3.x. | |
3607 | |
3608 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
3609 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
3610 functions for Nd arrays. | |
3611 * dNArray.h Provide decls. | |
3612 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
3613 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
3614 fourier transform functions for complex Nd arrays. | |
3615 * CNArray.h: Provide decls. | |
3616 | |
4765 | 3617 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
3618 | |
3619 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
3620 Make it work for N-d arrays. | |
3621 | |
3622 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
3623 New function. | |
3624 | |
3625 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
3626 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
3627 New functions. | |
3628 * CNDArray.h: Provide decls. | |
3629 | |
4759 | 3630 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3631 | |
4760 | 3632 * Makefile.in (LINK_DEPS): Always define. |
3633 | |
4759 | 3634 * Array.cc (Array<T>::squeeze): Always return an array with at |
3635 least two dimensions. | |
3636 | |
4758 | 3637 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3638 | |
3639 * mx-inlines.cc (MX_ND_CAT): New macro. | |
3640 * dNDArray.cc (NDArray::cat): New function. | |
3641 * dNDArray.h: Provide decls. | |
3642 * CNDArray.cc (complexNDArray::cat): New function. | |
3643 * CNDArray.h: Provide decls. | |
3644 * chNDArray.cc (charNDArray::cat): New function. | |
3645 * chNDArray.h: Provide decls. | |
3646 | |
4756 | 3647 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
3648 | |
3649 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
3650 (Array<T>assign2): Also call maybe_delete_elements for single | |
3651 index when rows and columns or LHS are both greater than 1. | |
3652 | |
4755 | 3653 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
3654 | |
3655 * Array.cc (Array<T>::maybe_delete_elements): | |
3656 Check for index out of bounds. Handle one index. | |
3657 | |
3658 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
3659 dim_vector (0) to create empty return vector. | |
3660 | |
4749 | 3661 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
3662 | |
3663 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
3664 non-empty LHS when the number of lhs dimensions is less than the | |
3665 number of indices. Detect error if attempting to resize non-empty | |
3666 LHS with colon indices. | |
3667 | |
4745 | 3668 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
3669 | |
4747 | 3670 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
3671 values unless the length of the new array is greater than 0. | |
3672 (Array<T>::resize_no_fill): Likewise. | |
3673 | |
3674 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
3675 is equal to dimensions(i). | |
3676 | |
3677 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
3678 get_zero_len_size, number_of_elements): | |
3679 Delete unused functions. | |
3680 | |
3681 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
3682 number_of_elements function. | |
3683 * Array.cc (Array<T>::indexN): Likewise. | |
3684 | |
3685 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
3686 of equal_arrays function. | |
3687 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
3688 dim_vector::any_zero instead of any_zero_len function. | |
3689 | |
3690 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
3691 Don't skip reshaping and resizing if RHS is empty. | |
3692 | |
4746 | 3693 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
3694 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 3695 Delete unused variables is_colon and is_colon_equiv. |
4746 | 3696 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
3697 LHS is not yet defined. | |
4745 | 3698 Error for resizing if number of indices is less than number of LHS |
3699 dimensions. | |
3700 | |
4746 | 3701 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
3702 Fortran-style indexing. | |
3703 | |
4743 | 3704 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3705 | |
3706 * Array.cc (Array<T>::assignN): Simplify. | |
3707 Allow assignments to succeed if number if indices is less than the | |
3708 number of RHS dimensions. | |
3709 | |
4738 | 3710 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3711 | |
4741 | 3712 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
3713 when number of indices is less than number of dimensions. | |
3714 | |
3715 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
3716 Remove unsued variable lhs_inc. | |
3717 | |
4740 | 3718 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
3719 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
3720 | |
3721 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
3722 | |
4738 | 3723 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
3724 == n_dims before checking to see if all indices are colon_equiv. | |
3725 | |
4736 | 3726 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
3727 | |
3728 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
3729 deleting elements. | |
4737 | 3730 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
3731 at least ndims elements. | |
4736 | 3732 |
4735 | 3733 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
3734 | |
3735 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
3736 oriented differently from the index. | |
3737 | |
3738 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
3739 least two dimensions. | |
3740 | |
4733 | 3741 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
3742 | |
4735 | 3743 * dim-vector.h (dim_vector::squeeze): New function. |
3744 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
3745 deciding whether the assignment conforms. | |
3746 | |
4733 | 3747 * Array.cc (Array<T>::assignN): Simplify dimension check by |
3748 comparing rhs_dims and frozen_len sans trailing singletons. | |
3749 | |
4732 | 3750 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
3751 | |
3752 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
3753 Call error handler and return conversion_error == true if arg is | |
3754 not integer. | |
3755 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
3756 | |
4730 | 3757 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
3758 | |
3759 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
3760 reference arg const. | |
3761 | |
3762 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3763 | |
3764 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
3765 | |
4729 | 3766 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
3767 | |
3768 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
3769 Now bool, to match definition in Array-flags.cc. | |
3770 | |
4725 | 3771 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3772 | |
4726 | 3773 * file-ops.cc: Include <vector> instead of <memory> for new |
3774 definition of OCTAVE_LOCAL_BUFFER. | |
3775 | |
4725 | 3776 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
3777 New arg, calc_eigenvectors. | |
3778 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
3779 Based on patch from David Bateman <dbateman@free.fr>. | |
3780 | |
4716 | 3781 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3782 | |
3783 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
3784 For X(I) = RHS, don't restrict I to fewer elements than X. | |
3785 | |
3786 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
3787 | |
4711 | 3788 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3789 | |
4714 | 3790 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
3791 Simplify calculation of number of elements in retval. | |
3792 | |
4711 | 3793 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
3794 filling when RHS is scalar and dimension lengths agree. | |
3795 | |
4710 | 3796 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
3797 | |
4713 | 3798 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
3799 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 3800 |
4707 | 3801 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
3802 | |
4709 | 3803 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
3804 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 3805 |
4702 | 3806 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
3807 | |
4703 | 3808 * Array.h (Array<T>::chop_trailing_singletons): New function. |
3809 * Array.cc (Array<T>::assignN): Use it on LHS. | |
3810 | |
3811 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 3812 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 3813 Check for singleton dimensions where RHS is matrix or higher dimension. |
3814 Make sure index is in bounds. | |
4702 | 3815 |
4698 | 3816 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3817 | |
3818 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
3819 octave_NaN, and octav_NA values are always initialized. Check | |
3820 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
3821 to decide whether to do IEEE initialization. | |
3822 | |
4687 | 3823 2004-01-06 David Bateman <dbateman@free.fr> |
3824 | |
3825 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
3826 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
3827 ComplexNDArray::too_large_for_float): New functions | |
3828 | |
3829 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
3830 * CNDArray.h: Provide decls. | |
3831 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
3832 * dNDArray.h: Provide decls. | |
3833 | |
4673 | 3834 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
3835 | |
4674 | 3836 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
3837 they are already defined in boolNDArray.cc. | |
3838 | |
4673 | 3839 * Array-util.cc (get_zero_len_size): Delete. |
3840 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
3841 Handle zero-length result dimensions the same as empty original | |
3842 indices. | |
3843 | |
3844 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3845 | |
3846 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
3847 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
3848 New functions. | |
3849 * Array.cc (ArrayN<T>::indexN): Use it. | |
3850 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
3851 | |
4669 | 3852 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
3853 | |
3854 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
3855 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
3856 | |
3857 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
3858 | |
3859 * mk-ops.awk: Also emit #include "Array-util.h". | |
3860 | |
3861 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
3862 Add bnda x bnda, b x bnda, and bnda x b ops. | |
3863 | |
3864 * MArray-misc.cc: Delete. | |
3865 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
3866 | |
3867 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
3868 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
3869 | |
4655 | 3870 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
3871 | |
4663 | 3872 * dbleQR.cc (QR::init): Use separate pwork pointers. |
3873 * CmplxQR.cc (ComplexQR::init): Likewise. | |
3874 | |
3875 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
3876 two-arg getgrnam version. | |
3877 | |
4657 | 3878 * Array.cc (assignN): Allow single indexing to work. |
4661 | 3879 (Array<T>::range_error (const char*, const Array<int>&)): |
3880 Report index values. | |
3881 | |
3882 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 3883 * ODESSA.cc (odessa_j): Likewise. |
3884 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
3885 * DASPK.cc (ddaspk_psol): Likewise. | |
3886 * lo-mappers.cc (imag): Likewise. | |
4663 | 3887 * Array-util.cc (get_zero_len_size): Likewise. |
3888 * kpse.cc (path_search, path_find_first_of): Likewise. | |
3889 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 3890 |
4655 | 3891 * dim-vector.h (dim_vector::all_ones): New function. |
3892 | |
4646 | 3893 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
3894 | |
4653 | 3895 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
3896 zeros, not orig_rows or orig_columns. | |
3897 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
3898 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
3899 | |
3900 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
3901 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
3902 | |
3903 * idx-vector.cc (idx_vector::idx_vector_rep): | |
3904 Use initialization lists for constructors. | |
3905 | |
4651 | 3906 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
3907 Omit special case for ra_idx.capacity () == 1. | |
3908 Always allow single index for matrix args with optional warning. | |
3909 | |
4650 | 3910 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
3911 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
3912 | |
4648 | 3913 * Array-so.cc: New file. Move instantiations here from so-array.h. |
3914 * Makefile.in (TI_SRC): Add it to the list. | |
3915 | |
4646 | 3916 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
3917 type and the names of the left and right operands. Change all uses. | |
3918 | |
3919 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
3920 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
3921 | |
4645 | 3922 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
3923 | |
3924 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
3925 just length. | |
3926 | |
3927 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
3928 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
3929 non-dependent member functions and data as needed. | |
3930 | |
3931 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
3932 | |
3933 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
3934 * Array3.h (Array3<T>::operator =): Likewise. | |
3935 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
3936 Include Array.h, not Array2.h. | |
3937 | |
4634 | 3938 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
3939 | |
4636 | 3940 * str-vec.cc (list_in_columns): Fix previous change. |
3941 | |
4635 | 3942 * dim-vector.h (dim_vector::num_ones): New function. |
3943 * Array.cc (maybe_delete_elements): Use it instead of | |
3944 num_ones (const Array<int>&). | |
3945 | |
3946 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
3947 | |
4634 | 3948 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
3949 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
3950 New functions. | |
3951 * dNDArray.h: Provide decls. | |
3952 | |
3953 * dMatrix.h (Matrix::any_element_is_negative, | |
3954 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
3955 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
3956 Simplify. | |
3957 | |
3958 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
3959 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
3960 | |
3961 * dNDArray.cc (real, imag): New functions. | |
3962 * dNDArray.h: Provide decls. | |
3963 | |
4630 | 3964 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
3965 | |
3966 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
3967 | |
4625 | 3968 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
3969 | |
3970 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
3971 * MArray.h (resize): Delete. | |
3972 * MArray2.h (resize): Delete. | |
3973 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
3974 * ODESSA (ODESSA::integrate): Likewise. | |
3975 | |
4616 | 3976 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
3977 | |
3978 * Makefile.in (dist): Depend on stamp-prereq. | |
3979 | |
4605 | 3980 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
3981 | |
3982 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
3983 Kluge to make it work. | |
4604 | 3984 |
3985 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
3986 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
3987 | |
3988 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
3989 default_command_editor::do_generate_filename_completions, | |
3990 command_editor::generate_filename_completions): New functions. | |
3991 * cmd-edit.h: Provide decls. | |
3992 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
3993 function. | |
3994 * oct-rl-edit.h: Provide decl. | |
3995 | |
4593 | 3996 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
3997 | |
4594 | 3998 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
3999 INSTANTIATE_ARRAY): New macros. | |
4000 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4001 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
4002 | |
4593 | 4003 * Array.h (Array<T>::ipermute): New function. |
4004 | |
4005 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
4006 | |
4007 * Array.cc (Array<T>::permute): New function. | |
4008 * Array.h: Provide decl. | |
4009 | |
4010 * Array-util.cc (calc_permutated_idx): New function. | |
4011 * Array-util.h: Provide decl. | |
4012 | |
4587 | 4013 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4014 | |
4592 | 4015 * Array.cc (Array<T>::index2): Return value has orientation of |
4016 indexed value if indexing a vector with a bool matrix. | |
4017 | |
4589 | 4018 * ArrayN.h (ArrayN<T>::get_size): Delete. |
4019 | |
4588 | 4020 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
4021 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
4022 | |
4023 * ArrayN-inline.h: Delete. | |
4024 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
4025 * Makefile.in: Fix the appropriate lists. | |
4026 | |
4587 | 4027 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
4028 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
4029 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
4030 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
4031 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
4032 Avoid -Wshadow warnings. | |
4033 | |
4034 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 4035 |
4036 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
4037 | |
4038 * mk-ops.awk: Delete elements of bool_headers array individually. | |
4039 | |
4040 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4041 | |
4042 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
4043 | |
4584 | 4044 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
4045 | |
4046 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
4047 | |
4048 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
4049 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
4050 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
4051 Return NDArray. Handle N-d arrays. | |
4052 | |
4575 | 4053 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4054 | |
4583 | 4055 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
4056 that upcase Fortran names by calling dlsode instead of lsode. | |
4057 | |
4058 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
4059 that upcase Fortran names by calling dodessa instead of odessa. | |
4060 | |
4577 | 4061 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
4062 non-const args for symlink system call. | |
4063 (file_ops::readlink): Likewise, for readlink. | |
4064 | |
4575 | 4065 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
4066 | |
4574 | 4067 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4068 | |
4069 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
4070 Change all uses. | |
4071 | |
4569 | 4072 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
4073 | |
4074 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
4075 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
4076 * dNDArray.h: Provide decls. | |
4077 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
4078 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
4079 ComplexNDArray::abs): New functions. | |
4080 * CNDArray.h: Provide decls. | |
4081 | |
4082 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
4083 Generalize to handle other reduction operations. | |
4084 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
4085 MX_ND_ALL_ANY_REDUCTION): New macros. | |
4086 | |
4565 | 4087 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4088 | |
4567 | 4089 * Array.cc (Array<T>::reshape): New function. |
4090 * Array.h: Provide decl. | |
4091 | |
4092 * dim-vector.h (dim_vector::numel): New function. | |
4093 | |
4565 | 4094 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
4095 dim_vector&)): Correctly handle case of n < dv->ndims. | |
4096 | |
4559 | 4097 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4098 | |
4099 * dim-vector.h (dim_vector::any_zero): New function. | |
4100 (dim_vector::str): New default arg, sep. | |
4101 | |
4102 * Array.h (Array<T>::numel): New function. | |
4103 | |
4556 | 4104 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
4105 | |
4106 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
4107 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
4108 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
4109 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4110 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
4111 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
4112 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
4113 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
4114 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
4115 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
4116 | |
4552 | 4117 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
4118 | |
4553 | 4119 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
4120 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
4121 | |
4552 | 4122 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
4123 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
4124 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
4125 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
4126 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
4127 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
4128 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
4129 Use new F77 arg macros in declarations of external Fortran | |
4130 subroutines and for calling them. | |
4131 | |
4548 | 4132 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4133 | |
4134 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
4135 Allow number of dimensions to change. | |
4136 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
4137 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
4138 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
4139 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
4140 (Array<T>::transpose): Require ndims to be 2. | |
4141 (Array<T>::index2): Likewise. | |
4142 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
4143 (Array<T>::maybe_delete_elements_2): Likewise. | |
4144 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
4145 (Array<T>::index1): Use resize_and_fill. | |
4146 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
4147 | |
4148 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
4149 | |
4150 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
4151 (MArray2<T>::resize (int, int, const T&)): New function. | |
4152 | |
4153 * MArray.h (MArray<T>::resize (int)): New function. | |
4154 (MArray<T>::resize (int, const T&)): New function. | |
4155 | |
4156 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
4157 | |
4158 * DASPK-opts.in: Use single-arg resize for initial condition | |
4159 heuristics. | |
4160 | |
4161 * dim-vector.h (class dim_vector): Now reference counted. | |
4162 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
4163 | |
4544 | 4164 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4165 | |
4545 | 4166 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
4167 | |
4544 | 4168 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
4169 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
4170 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
4171 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
4172 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
4173 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
4174 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
4175 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
4176 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
4177 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
4178 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
4179 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
4180 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
4181 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
4182 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
4183 files are now automatically generated. | |
4184 | |
4185 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
4186 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
4187 Add rules to generate these files and mx-ops.h. | |
4188 (stamp-prereq): Depend on these files. | |
4189 | |
4190 * mx-ops, vx-ops, mk-ops.awk: New files. | |
4191 * Makefile.in (DISTFILES): Add them to the list. | |
4192 | |
4543 | 4193 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
4194 | |
4195 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
4196 NDArray::NDArray (const charNDArray)): New constructors. | |
4197 (NDArray::operator !): New function. | |
4198 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4199 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4200 | |
4201 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
4202 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
4203 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
4204 New constructors. | |
4205 (ComplexNDArray::operator !): New function. | |
4206 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
4207 NDND_CMP_OPS, NDND_BOOL_OPS. | |
4208 | |
4209 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
4210 | |
4211 * boolNDArray.cc (boolNDArray::operator !): New function. | |
4212 Provide NDND_CMP_OPS. | |
4213 | |
4214 * MArrayN.cc (operator +=, operator -=): New functions. | |
4215 Provide product and quotient functions. | |
4216 | |
4217 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
4218 dim_vector&)): New function. | |
4219 | |
4220 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
4221 operator ==, operator !=): New functions. | |
4222 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
4223 | |
4224 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
4225 No need to save old dimensions. | |
4226 | |
4227 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
4228 (octave_rand::nd_array): New function. | |
4229 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
4230 | |
4231 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
4232 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
4233 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
4234 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
4235 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
4236 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
4237 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
4238 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
4239 NDND_OP_DECLS): New macros. | |
4240 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
4241 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
4242 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
4243 | |
4244 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
4245 boolNDArray, class charNDArray): New forward decls. | |
4246 | |
4534 | 4247 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4248 | |
4249 * Array.cc (assign2): No error (but don't do anything either) for | |
4250 expressions like x([],j) = scalar. | |
4251 | |
4532 | 4252 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4253 | |
4533 | 4254 * Array.cc (assignN): Allow lhs(:) = scalar. |
4255 | |
4532 | 4256 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
4257 * dNDArray.cc (NDArray::increment_index): Likewise. | |
4258 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
4259 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
4260 | |
4261 * dim-vector.h (rows, cols): Delete unused data members. | |
4262 | |
4263 * Array.cc (Array<T>::get_size): Fix thinko. | |
4264 | |
4265 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4266 | |
4267 * Array.cc (Array<T>::squeeze): New function. | |
4268 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
4269 * dNDArray.h (NDArray::squeeze): Likewise. | |
4270 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
4271 * chNDArray.h (charNDArray::squeeze): Likewise. | |
4272 | |
4530 | 4273 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
4274 | |
4275 * Array.cc (ArrayN<T>::indexN): New definition. | |
4276 * Array.h (Array<T>::indexN): Provide decl. | |
4277 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
4278 Call indexN if more than 2 indices. | |
4279 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
4280 Make it (mostly) work. | |
4281 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
4282 New functions. | |
4283 | |
4527 | 4284 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
4285 | |
4286 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
4287 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
4288 versions with eof arg. | |
4289 | |
4518 | 4290 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4291 | |
4292 * Array.h (dimensions): Now public. | |
4293 template <class LT, class RT> | |
4294 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
4295 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
4296 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
4297 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
4298 resize_no_fill (int), | |
4299 resize_no_fill (int, int), | |
4300 resize_no_fill (int, int, int), | |
4301 resize_no_fill (const dim_vector&), | |
4302 resize_and_fill (int, const T&), | |
4303 resize_and_fill (int, int, const T&), | |
4304 resize_and_fill (int, int, int, const T&), | |
4305 resize_and_fill (const dim_vector&, const T&)): Now public. | |
4306 | |
4307 * Array.cc: Include <climits>. | |
4308 | |
4513 | 4309 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4310 | |
4517 | 4311 * Array.cc: Merge Array-idx.h. |
4312 * Array-idx.h: Delete. | |
4313 | |
4514 | 4314 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
4315 | |
4513 | 4316 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
4317 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
4318 just special cases of the general purpose N-d Array object). | |
4319 | |
4320 * dim-vector.h: New file. Use dim_vector objects instead of | |
4321 ints or Array<int> objects to represent the size of Array | |
4322 objects. | |
4323 | |
4324 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
4325 | |
4326 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
4327 | |
4328 * mx-base.h: Include NDArray header files. | |
4329 | |
4330 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
4331 | |
4332 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
4333 Array-s.cc: Also instantiate ArrayN objects. | |
4334 Don't instantiate assign funcitons for Array2 objects. | |
4335 | |
4336 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
4337 liboctave_error_handler, not cerr. | |
4338 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
4339 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
4340 * dMatrix.cc (Matrix::diag): Likewise. | |
4341 | |
4342 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
4343 Omit checks for HEAVYWEIGHT_INDEXING. | |
4344 | |
4345 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4346 | |
4347 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
4348 | |
4349 * CNDARray.h, CNDArray.cc: New files. | |
4350 * Makefile.in: Add them to the appropriate lists. | |
4351 | |
4352 * dNDArray.h: Rename from NDArray.h. | |
4353 * dNDArray.cc: Rename from NDArray.cc. | |
4354 * Makefile.in: Rename them here too. | |
4355 | |
4507 | 4356 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
4357 | |
4358 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
4359 | |
4360 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
4361 * Makefile.in: Add them to the appropriate lists. | |
4362 | |
5095 | 4363 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 4364 |
4365 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
4366 biry): Always request scaled results from AMOS functions and | |
4367 perform reverse scaling on results if scaled result not requested | |
4368 by user. | |
4369 | |
4370 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4371 | |
4372 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4373 | |
4505 | 4374 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4375 | |
4376 * Array-d.cc: Instantiate assign functions. | |
4377 | |
4504 | 4378 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
4379 | |
4380 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
4381 (get_elt_idx): Index ra_idx correctly. | |
4382 | |
4383 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
4384 bounds if it is exactly on the bound. | |
4385 | |
4386 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
4387 * ArrayN.h: Provide decl. | |
4388 | |
4389 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
4390 | |
4391 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
4392 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
4393 (idx_vector::orig_dimensions): New function. | |
4394 | |
4497 | 4395 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4396 | |
4397 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
4398 | |
4496 | 4399 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
4400 | |
4401 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
4402 (is_in, how_many_lgt, all_ones): New functions. | |
4403 | |
4493 | 4404 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4405 | |
4406 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
4407 | |
4408 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
4409 | |
4410 * ArrayN-inline.h: New file. | |
4411 (index_in_bounds, increment_index): Move here. | |
4412 * ArrayN.cc: From here. | |
4413 | |
4414 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
4415 * ArrayN-idx.h (assign): New function. | |
4416 | |
4490 | 4417 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4418 | |
4419 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
4420 Also zero imaginary part of result if real part of input value is | |
4421 zero. | |
4422 | |
4478 | 4423 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4424 | |
4425 * mx-base.h: Include ArrayN.h. | |
4426 | |
4476 | 4427 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4428 | |
4429 * ArrayN.cc (operator <<): Corrected output. | |
4430 | |
4474 | 4431 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4432 | |
4433 * ArrayN.cc (increment_index): New arg, start_dimension. | |
4434 | |
5095 | 4435 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 4436 |
4437 * ArrayN.cc (operator <<): Improve output readability. | |
4438 | |
4493 | 4439 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 4440 |
4441 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
4442 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
4443 Initialize old_len before changing size. | |
4444 | |
4472 | 4445 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4446 | |
4447 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 4448 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 4449 |
4469 | 4450 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4451 | |
4452 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
4453 way. Handle NA in an R-compatible way. | |
4454 | |
4455 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
4456 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
4457 | |
4458 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
4459 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
4460 | |
4461 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
4462 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
4463 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
4464 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
4465 | |
4461 | 4466 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4467 | |
4468 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
4469 Pass true for resize_ok arg to freeze. | |
4470 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
4471 Likewise. | |
4472 | |
4473 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
4474 resize_ok arg is now bool. | |
4475 * idx-vector.h (idx_vector::freeze): Likewise. | |
4476 | |
4477 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
4478 Rename from liboctave_rre_flag. Now bool. | |
4479 (liboctave_wfi_flag): Now bool. | |
4480 | |
4481 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
4482 | |
5095 | 4483 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 4484 |
4485 * Array.h (resize_fill_value): Now a top-level template function. | |
4486 Accept object as argument. Change all uses. | |
4487 | |
4455 | 4488 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
4489 | |
4490 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
4491 | |
4492 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
4493 liboctave_dfi_flag. | |
4494 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
4495 X undefined or empty, always create a row vector. | |
4496 | |
4497 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
4498 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
4499 | |
4437 | 4500 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4501 | |
4502 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4503 Magic colon indexing always produces an object with one column. | |
4504 | |
5095 | 4505 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 4506 |
4507 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
4508 | |
4509 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
4510 | |
4431 | 4511 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4512 | |
4513 * dMatrix.cc (any_element_is_negative): If new optional arg | |
4514 neg_zero is true, also return true for negative zero. | |
4515 | |
4429 | 4516 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4517 | |
4518 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
4519 Handle step limit. | |
4520 * DASSL-opts.in: New option for step limit. | |
4521 | |
5095 | 4522 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 4523 |
4524 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
4525 | |
4428 | 4526 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4527 | |
4528 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
4529 Store step limit in iwork(20), not iwork(18). | |
4530 | |
5095 | 4531 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 4532 |
4533 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
4534 | |
4412 | 4535 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4536 | |
4413 | 4537 * Makefile.in: Handle DESTDIR. |
4538 | |
4412 | 4539 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
4540 (kpse_path_iterator::set_end): Don't miss last element when not | |
4541 followed by a colon. | |
4542 | |
4409 | 4543 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4544 | |
4545 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
4546 | |
4547 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4548 | |
4549 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
4550 (find_first_of): Also do an absolute search on each | |
4551 name before looking in the path. | |
4552 | |
4407 | 4553 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4554 | |
4555 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
4556 directory separator. | |
4557 | |
4399 | 4558 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4559 | |
4560 * pathsearch.cc: Include kpse.cc here. | |
4561 | |
4562 * kpse.cc: All functions are now static. Massive surgery to | |
4563 condense kpathsearch library to a single file of just the | |
4564 essentials for Octave and convert to using C++ strings (no more | |
4565 calls to malloc, very few calls to new, so there should be much | |
4566 less potential for introducing memory leaks now). | |
4567 | |
4568 * Makefile.in (EXTRAS): Move kpse.cc here from | |
4569 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
4570 | |
4571 * kpse.h, kpse-config.h: Delete. | |
4572 * Makefile.in (INCLUDES): Delete them from the list. | |
4573 | |
4392 | 4574 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4575 | |
4576 * str-vec.cc (string_vector::append (const std::string&), | |
4577 string_vector::append (const string_vector&)): New methods. | |
4578 | |
4386 | 4579 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4580 | |
4389 | 4581 * kpse.cc, kpse.h: Replace fn_type with std::string. |
4582 | |
4387 | 4583 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
4584 | |
4386 | 4585 * kpse.cc (xclosedir): Don't define or declare for Windows. |
4586 (READABLE): Now a static function to avoid warnings from MinGW | |
4587 compiler. | |
4588 | |
4384 | 4589 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4590 | |
4385 | 4591 * kpse.cc: Move most functions from kpse-xfns.c here and make |
4592 static. Include most of kpse-xfns.h directly, removing | |
4593 unnecessary bits. | |
4594 | |
4384 | 4595 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
4596 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
4597 | |
4378 | 4598 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4599 | |
4600 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
4601 * Makefile.in: Add them to the appropriates lists. | |
4602 | |
4603 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
4604 | |
4605 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
4606 for new locations of kpathsea objects. | |
4607 Delete kpathsea targets. | |
4608 | |
4609 * pathsearch.cc (dir_path::set_program_name): Delete. | |
4610 | |
4611 * kpse.cc: New file. | |
4612 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
4613 | |
4614 * kpse.c: New file. | |
4615 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
4616 | |
4617 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
4618 * Makefile.in (INCLUDES): Add them to the list. | |
4619 | |
4620 * oct-kpse.h: Delete. | |
4621 * Makefile.in (INCLUDES): Delete it from the list. | |
4622 | |
4374 | 4623 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
4624 | |
4625 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
4626 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
4627 Likewise. | |
4628 From Quentin H. Spencer <qspencer@ieee.org>. | |
4629 | |
4365 | 4630 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4631 | |
4632 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
4633 | |
4349 | 4634 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
4635 | |
4352 | 4636 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
4637 without placement delete. | |
4638 | |
4349 | 4639 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
4640 imaginary parts. | |
4641 | |
4642 * lo-ieee.h (lo_ieee_signbit): New macro. | |
4643 | |
5095 | 4644 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 4645 |
4646 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
4647 Use Lapack instead of Linpack. | |
5315 | 4648 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 4649 ComplexMatrix::solve): Likewise. |
4650 | |
4651 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
4652 calc_cond. If 0, skip condition number calculation. | |
4653 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
4654 Likewise. | |
4655 | |
4656 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
4657 * dbleLU.cc (LU::LU): Likewise. | |
4658 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
4659 | |
4660 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
4661 | |
4662 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
4663 | |
4323 | 4664 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4665 | |
4666 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
4667 Additional compatibility fix. | |
4668 | |
4669 2003-02-13 Arno Klaassen <arno@scito.com> | |
4670 | |
4671 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
4672 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
4673 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
4674 | |
4322 | 4675 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
4676 | |
4677 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
4678 Compatibility fix. | |
4679 | |
4316 | 4680 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4681 | |
4682 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
4683 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
4684 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
4685 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
4686 * dRowVector.cc (RowVector::extract_n): Likewise. | |
4687 * dMatrix.cc (Matrix::extract_n): Likewise. | |
4688 | |
4689 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
4690 with make_unique and xelem. | |
4691 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
4692 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
4693 ComplexMatrix::extract, ComplexMatrix::row, | |
4694 ComplexMatrix::column): Likewise. | |
4695 * dColVector.cc (ColumnVector::insert): Likewise. | |
4696 * dRowVector.cc (RowVector::insert): Likewise. | |
4697 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
4698 Matrix::row, Matrix::column): Likewise. | |
4699 | |
4313 | 4700 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4701 | |
4702 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
4703 | |
4309 | 4704 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4705 | |
4706 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
4707 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
4708 * CMatrix.h, dMatrix.h: Provide decls. | |
4709 | |
4307 | 4710 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4711 | |
4712 * oct-rand.h, oct-rand.cc: New files. | |
4713 * Makefile.in: Add them to the appropriate lists. | |
4714 | |
4306 | 4715 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
4716 | |
4717 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
4718 | |
4299 | 4719 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
4720 | |
4721 * oct-syscalls.cc: Include signal.h. | |
4722 | |
4294 | 4723 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
4724 | |
4725 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
4726 * oct-syscalls.h: Provide decl. | |
4727 | |
4728 | |
4293 | 4729 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4730 | |
4731 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
4732 there is nothing to read. | |
4733 | |
4290 | 4734 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
4735 | |
4736 * lo-cutils.c: Define _XOPEN_SOURCE. | |
4737 | |
4286 | 4738 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
4739 | |
4288 | 4740 * getopt.h: Update to version from kpathsearch, so we will install |
4741 the version that we are using. | |
4742 | |
4743 * getopt.c, getopt1.c: Delete. | |
4744 (INCLUDES): Delete them from the list. We'll get these files from | |
4745 kpathsearch. | |
4746 | |
4286 | 4747 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
4748 ../kpathsea/STATIC/*.o. | |
4749 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
4750 | |
4270 | 4751 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4752 | |
4282 | 4753 * dMatrix.cc (read_int, write_int): Avoid warnings about |
4754 unreachable code. | |
4755 | |
4279 | 4756 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
4757 to correspond to placement new operator. | |
4758 | |
4278 | 4759 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
4760 (DET::value_will_underflow): Likewise. | |
4761 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
4762 (ComplexDET::value_will_underflow): Likewise. | |
4763 | |
4276 | 4764 * Makefile.in (distclean): Also remove stamp-prereq. |
4765 | |
4306 | 4766 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
4767 RHS and index are empty matrices, don't do anything. | |
4270 | 4768 |
4242 | 4769 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
4770 | |
4771 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
4772 delete_c_names): New helper functions. | |
4773 (dir_path::find_first_of): New function. | |
4774 (dir_path::find_all_first_of): Likewise. | |
4775 * pathsearch.h: Provide decls. | |
4776 | |
4777 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
4778 (octave_kpse_all_path_find_first_of): Likewise. | |
4779 * oct-kpse.h: Provide decls. | |
4780 | |
4231 | 4781 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
4782 | |
4783 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
4784 * ODESSA-opts.in: Likewise. | |
4785 | |
4786 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
4787 * LSODE-opts.in: Likewise. | |
4788 | |
4229 | 4789 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
4790 | |
4230 | 4791 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
4792 in all constructors. | |
4793 | |
4229 | 4794 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
4795 (LINK_DEPS): Not here. | |
4796 | |
4219 | 4797 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4798 | |
4220 | 4799 * str-vec.cc (string_vector::compare): New static member function. |
4800 * str-vec.h: Provide decl. | |
4801 (string_vector::sort): Use it. | |
4802 (str_vec_compare): Delete static function. | |
4803 | |
4219 | 4804 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
4805 a placement operator new. | |
4806 | |
4209 | 4807 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
4808 | |
4210 | 4809 * Matrix.h: Include mx-ops.h too. |
4209 | 4810 * mx-ops.h: New file. |
4811 | |
4192 | 4812 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
4813 | |
4814 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
4815 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
4816 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
4817 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
4818 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
4819 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
4820 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
4821 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
4822 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
4823 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
4824 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
4825 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
4826 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
4827 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
4828 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
4829 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
4830 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
4831 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
4832 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
4833 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
4834 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
4835 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
4836 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
4837 | |
4184 | 4838 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
4839 | |
4840 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
4841 From Remy Bruno <remy.bruno@libertysurf.fr> | |
4842 | |
4180 | 4843 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4844 | |
4845 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
4846 fortran code that should run fast enough that it is not worth all | |
4847 the setup costs of F77_XFCN. | |
4848 | |
4849 * Quad.cc (user_function): Surround body of function with | |
4850 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
4851 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
4852 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
4853 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
4854 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
4855 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
4856 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
4857 | |
4164 | 4858 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4859 | |
4860 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
4861 of ! defined (linux). | |
4862 | |
5095 | 4863 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 4864 |
4865 * oct-shlib.cc (octave_dyld_shlib): New class. | |
4866 (make_shlib): Instantiate octave_dyld_shlib. | |
4867 | |
4152 | 4868 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
4869 | |
4153 | 4870 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
4871 | |
4152 | 4872 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
4873 | |
4874 * Array.h: Include <cstddef> here. | |
4875 | |
4142 | 4876 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
4877 | |
4144 | 4878 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
4879 using them. Accept inequality contraint option of 0. Assign | |
4880 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
4881 abs_tol and rel_tol. | |
4882 | |
4143 | 4883 * cmd-edit.h (command_editor::filename_completion_desired): New |
4884 static function. | |
4885 (command_editor::do_filename_completion_desired): New virtual function. | |
4886 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
4887 * oct-rl-edit.h: Provide decl. | |
4888 | |
4142 | 4889 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
4890 avoid OS X linker bug. | |
4891 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
4892 | |
4139 | 4893 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
4894 | |
4141 | 4895 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
4896 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
4897 solvers. | |
4898 * ODESSA.cc: Fix all callers. | |
4899 | |
4139 | 4900 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
4901 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
4902 sum(zeros(1,0)) returns 0, not [](1x0)). | |
4903 | |
4136 | 4904 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
4905 | |
4906 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
4907 | |
4132 | 4908 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
4909 | |
4133 | 4910 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
4911 (ddasrt_f): Combine loops. | |
4912 | |
4132 | 4913 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
4914 instead of empty vector if user termninates iteration. | |
4915 | |
4130 | 4916 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
4917 | |
4918 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
4919 octave_read_complex, octave_write_double, octave_write_complex): | |
4920 New functions. | |
4921 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
4922 Use octave_write_complex. | |
4923 (operator >> (std::istream&, const ComplexMatrix&)): | |
4924 Use octave_read_complex. | |
4925 * dMatrix.cc (operator << (std::ostream&, double)): | |
4926 Use octave_write_double. | |
4927 (operator >> (std::istream&, double)): Use octave_read_double. | |
4928 | |
4126 | 4929 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
4930 | |
4931 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
4932 * oct-kpse.h: Delete decl. | |
4933 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
4934 ::octave_kpse_clear_dir_cache. | |
4935 | |
4123 | 4936 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
4937 | |
4124 | 4938 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
4939 earlier than 3.0. | |
4940 | |
4123 | 4941 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
4942 (liboctave.$(SHLEXT)): Not here. | |
4943 | |
5095 | 4944 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 4945 |
4946 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
4947 | |
4108 | 4948 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
4949 | |
4950 * Makefile.in (install-lib): Don't bother with versions for | |
4951 $(SHLBIN) files. | |
4952 | |
5095 | 4953 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 4954 |
4955 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
4956 | |
4102 | 4957 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
4958 | |
4959 * lo-cieee.c: Move everything but lo_ieee_init here. | |
4960 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
4961 New functions. | |
4962 | |
4963 * Makefile.in (install): No need to use cd to create links. | |
4964 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
4965 | |
5095 | 4966 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 4967 |
4968 * Makefile.in: Merge liboctave with liboct-readline and | |
4969 liboct-pathsearch. | |
4970 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
4971 (libraries): Depend on versioned library. | |
4972 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
4973 build unversioned library, symbolic link adds version info. | |
4974 (install, uninstall): Handle link and load forms of the library | |
4975 separately. | |
4976 | |
4101 | 4977 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
4978 | |
4979 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
4980 __CYGWIN__. | |
4981 | |
4982 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
4983 file_ops::dir_sep_chars): New static functions to replace | |
4984 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
4985 | |
4986 * oct-env.cc (octave_env::do_set_program_name): | |
4987 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
4988 (octave_env::do_base_pathname): Likewise. | |
4989 (octave_env::do_make_absolute): Likewise. | |
4990 | |
4991 * oct-env.cc (octave_env::do_make_absolute): | |
4992 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
4993 (octave_env::do_get_home_directory): Likewise. | |
4994 | |
4995 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
4996 that information here too. | |
4997 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
4998 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
4999 | |
5000 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
5001 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
5002 | |
4097 | 5003 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5004 | |
5005 * oct-env.h (octave_env::current_directory): Now mutable. | |
5006 (octave_env:do_getcwd): Now const. | |
5007 | |
5008 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
5009 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
5010 OCTAVE_CURRENT_DIR_STR): New macros. | |
5011 * oct-env.cc (is_dir_sep): Delete. | |
5012 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
5013 (octave_env::do_set_program_name): Likewise. | |
5014 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
5015 instead of checking for '/'. | |
5016 (octave_env::pathname_backup): Likewise. | |
5017 (octave_env::do_absolute_pathname): Likewise. | |
5018 (octave_env::do_make_absolute): Likewise. | |
5019 If dot_path is empty, use getcwd to set current_dir. | |
5020 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
5021 instead of "/". | |
5022 | |
5095 | 5023 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5024 |
5025 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
5026 | |
5095 | 5027 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 5028 |
5029 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
5030 absolute path names under MinGW as well. | |
5031 | |
5032 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5033 | |
5034 * oct-env.cc: Include <cctype> too. | |
5035 | |
4087 | 5036 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5037 | |
5038 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
5039 filenames. | |
5040 (octave_env::do_make_absolute): Check for absolute name with | |
5041 do_absolute_path. | |
4088 | 5042 (octave_env::do_chdir): Likewise. |
5043 (is_dir_sep): New function. | |
4087 | 5044 |
5095 | 5045 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 5046 |
4086 | 5047 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
5048 systems. | |
4085 | 5049 |
4083 | 5050 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5051 | |
5052 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
5053 | |
4080 | 5054 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5055 | |
4081 | 5056 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
5057 | |
4080 | 5058 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
5059 | |
5095 | 5060 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 5061 |
5062 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
5063 gr_gid too. | |
5064 | |
4072 | 5065 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5066 | |
4074 | 5067 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
5068 lo_ieee_* functions. | |
4072 | 5069 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 5070 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
5071 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 5072 * lo-cieee.c: New file. |
4074 | 5073 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 5074 * lo-ieee.h: Now all extern "C". |
4074 | 5075 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
5076 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
5077 | |
4072 | 5078 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
5079 Now extern. | |
5080 | |
4066 | 5081 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
5082 | |
5083 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5084 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5085 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5086 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5087 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5088 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5089 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5090 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5091 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5092 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5093 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5094 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5095 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5096 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5097 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5098 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5099 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5100 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5101 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5102 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5103 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5104 oct-alloc.cc: | |
5105 If __GNUG__, use pragma interface/implementation. Allow this to | |
5106 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
5107 | |
5095 | 5108 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 5109 |
4066 | 5110 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
5111 system readlink function is not available. | |
5112 | |
4065 | 5113 * lo-mappers.cc (xerf, xerfc): Delete. |
5114 * lo-mappers.h (xerf, xerfc): Delete decls. | |
5115 | |
4064 | 5116 * lo-mappers.cc: Remove unused #define M_PI. |
5117 * lo-specfun.cc: Add #define M_PI if needed. | |
5118 | |
4062 | 5119 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5120 | |
5121 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
5122 that geteuid doesn't exist. | |
5123 | |
5124 * LP.h: Rename LP class to octave_LP. | |
5125 LPsolve.h: Change all uses. | |
5126 | |
5127 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
5128 incorrect token-pasting op. | |
5129 | |
5130 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
5131 define lstat. | |
5132 | |
4061 | 5133 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
5134 | |
5135 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
5136 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5137 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5138 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
5139 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
5140 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
5141 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
5142 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
5143 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
5144 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
5145 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
5146 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
5147 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
5148 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
5149 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
5150 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
5151 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
5152 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
5153 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
5154 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
5155 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
5156 oct-alloc.cc: | |
5157 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
5158 to decide whether to use the interface/implementation pragmas. | |
5159 | |
4058 | 5160 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5161 | |
5162 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
5163 | |
4055 | 5164 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
5165 | |
5166 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
5167 qualified names. | |
5168 | |
4051 | 5169 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5170 | |
4054 | 5171 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
5172 ArrayN.cc: Add typename where needed. | |
4053 | 5173 |
4051 | 5174 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
5175 strstream classes directly. | |
5176 * DASRT.cc: Likewise. | |
5177 * DASSL.cc: Likewise. | |
5178 * LSODE.cc: Likewise. | |
5179 * ODESSA.cc: Likewise. | |
5180 | |
5181 * cmd-hist.cc: Don't include <strstream>. | |
5182 * oct-shlib.cc: Likewise. | |
5183 | |
5184 * lo-sstream.h: New file. | |
5185 | |
4049 | 5186 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5187 | |
5188 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
5189 New data members. | |
5190 (LSODE::sanity_checked): Delete unused data member. | |
5191 | |
5192 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
5193 prel_tol, pinfo, piwork, prwork): New data members. | |
5194 * DASSL.h (DASSL): Likewise. | |
5195 | |
5196 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
5197 | |
5198 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
5199 initialization, changes in options, etc. | |
5200 * DASPK.cc (DASPK::do_integrate): Likewise. | |
5201 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5202 * LSODE.cc (LSODE::do_integrate): Likewise. | |
5203 | |
4047 | 5204 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5205 | |
4049 | 5206 * DAEFunc.h (DAEFunc::reset): New data member. |
5207 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
5208 | |
5209 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
5210 (base_diff_eqn::clear_stop_time): Likewise. | |
5211 | |
4047 | 5212 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
5213 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
5214 | |
5095 | 5215 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 5216 |
5217 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
5218 * DASRT-opts.in, DASRT.h: Likewise. | |
5219 * DASSL-opts.in, DASSL.h: Likewise. | |
5220 * LSODE-opts.in, LSODE.h: Likewise. | |
5221 * NLEqn-opts.in, NLEqn.h: Likewise. | |
5222 * ODESSA-opts.in, ODESSA.h: Likewise. | |
5223 | |
4038 | 5224 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5225 | |
4042 | 5226 * LSODE.cc (LSODE::error_message): Also return current T on |
5227 failures when that makes sense. | |
4043 | 5228 * DASSL.cc (DASSL::error_message): Likewise. |
5229 * DASRT.cc (DASRT::error_message): Likewise. | |
5230 * DASPK.cc (DASPK::error_message): Likewise. | |
5231 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 5232 |
4038 | 5233 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
5234 $(LIBKPATHSEA) here. | |
5235 | |
4025 | 5236 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5237 | |
5238 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
5239 (lo_ieee_is_NaN_or_NA): New function. | |
5240 (octave_NA): New global value. | |
5241 (octave_ieee_init): Initialize it. | |
5242 * lo-mappers.cc (octave_is_NA): New function. | |
5243 (octave_is_NaN_or_NA): New function. | |
5244 (xisnan): Return false if NaN looks like a missing value. | |
5245 (xisnan (const Complex&)): Use xisnan here. | |
5246 | |
4015 | 5247 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5248 | |
4017 | 5249 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
5250 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
5251 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
5252 Default value for dim is -1, not 0. | |
5253 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
5254 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
5255 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
5256 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
5257 | |
4015 | 5258 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
5259 New macros. | |
5260 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
5261 MX_BASE_REDUCTION_OP. | |
5262 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
5263 | |
4014 | 5264 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5265 | |
4015 | 5266 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
5267 Return boolMatrix, not Matrix. | |
5268 | |
5269 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
5270 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
5271 (Matrix::all): Replace guts with MX_ALL_OP. | |
5272 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
5273 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
5274 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
5275 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
5276 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
5277 (charMatrix::all): Replace guts with MX_ALL_OP. | |
5278 | |
5279 * dMatrix.h (Matrix::any): New arg, dim. | |
5280 (Matrix::all): Likewise. | |
5281 * CMatrix.h (ComplexMatrix::any): Likewise. | |
5282 (ComplexMatrix::all): Likewise. | |
5283 * boolMatrix.h (boolMatrix::any): Likewise. | |
5284 (boolMatrix::all): Likewise. | |
5285 * chMatrix.h (charMatrix::any): Likewise. | |
5286 (charMatrix::all): Likewise. | |
5287 | |
4014 | 5288 * Makefile.in: Use $@-t instead of $@.t. |
5289 | |
4004 | 5290 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5291 | |
5292 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
5293 Use it in matrix versions to avoid spewing multiple errors. | |
5294 Call xgammainc instead of dgamit. | |
5295 | |
3998 | 5296 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5297 | |
5298 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
5299 Get rows and columns right in loop. | |
5300 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
5301 | |
5302 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5303 | |
5304 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
5305 * DASRT.cc (DASRT::integrate): Likewise. | |
5306 * DASSL.cc (DASSL::do_integrate): Likewise. | |
5307 | |
5308 * Quad.cc: Don't pass tolerances in constructors. | |
5309 | |
5310 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
5311 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
5312 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
5313 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
5314 from corresponding .in files. | |
5315 * LSODE.h, Quad.h: Replace options class definitions with included | |
5316 file. | |
5317 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
5318 create OPTS_INC files from OPTS_INC_SRC files. | |
5319 (stamp-prereq): New target. | |
5320 (libraries): Depend on stamp-prereq. | |
5321 Include stamp-prereq along with $(MAKEDEPS). | |
5322 | |
3997 | 5323 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5324 | |
5325 * base-de.h (base_diff_eqn::istate): New data member. | |
5326 (base_diff_eqn::integration_state): New member function. | |
5327 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
5328 data members and functions. | |
5329 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
5330 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
5331 | |
3990 | 5332 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5333 | |
3995 | 5334 * base-de.h (base_diff_eqn::stop_time, |
5335 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
5336 base_diff_eqn::integration_error): New data members. | |
5337 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
5338 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
5339 base_diff_eqn::error_message): New member functions. | |
5340 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
5341 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
5342 members and functions. | |
5343 | |
3992 | 5344 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
5345 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 5346 (DASRT::integrate): Don't forget to set nn. |
3992 | 5347 |
3991 | 5348 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
5349 * DASSL.cc (ddassl_j): Make it work. | |
5350 * DASPK.cc (ddaspk_j): Likewise. | |
5351 | |
3990 | 5352 * DAE.cc: Delete. |
5353 | |
5354 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
5355 solving with root finding. | |
5356 * Makefile.in: Add them to the appropriate lists. | |
5357 | |
5358 * base-dae.h: New file. | |
5359 * Makefile.in (INCLUDES): Add it to the list. | |
5360 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
5361 | |
3984 | 5362 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5363 | |
5364 * ODE.h: Move integrate and do_integrate method declarations and | |
5365 definitions here. | |
5366 * base-de.h: From here. | |
5367 | |
5368 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
5369 * Makefile.in: Add them to the appropriate lists. | |
5370 (LIBOCTAVE_CXX_SOURCES): | |
5371 | |
3971 | 5372 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5373 | |
5374 * NLEqn.cc (NLEqn::error_message): New function. | |
5375 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
5376 | |
3970 | 5377 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5378 | |
5379 * lo-utils.cc (octave_fgetl): New function. | |
5380 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
5381 | |
3959 | 5382 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
5383 | |
5384 * LSODE.cc (LSODE::error_message): New function. | |
5385 * LSODE.h: Provide decl. | |
5386 (LSODE::integration_state): New function. | |
5387 (LSODE::integration_ok): New function. | |
5388 | |
3952 | 5389 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5390 | |
3955 | 5391 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
5392 (LSODE_options::set_integration_method, | |
5393 LSODE_options::integration_method): New functions. | |
3954 | 5394 |
3952 | 5395 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
5396 Change all uses. | |
5397 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
5398 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
5399 New function. | |
5400 | |
5401 * Array.h (Array::fortran_vec): New const version. | |
5402 | |
3951 | 5403 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5404 | |
5405 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
5406 (gnu_readline::history_search_forward): Likewise. | |
5407 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
5408 to extern "C" functions to octave_rl_ad_defun. | |
5409 | |
5095 | 5410 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 5411 |
5412 * DASPK.cc (ddaspk_psol): Return value. | |
5413 * oct-rl-edit.c: Use /* ... */ to comment. | |
5414 | |
3945 | 5415 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5416 | |
5417 * DASSL.h (DASSL_options::init): Undo previous change. | |
5418 (DASSL_options::set_absolute_tolerance): Likewise. | |
5419 * LSODE.h (LSODE_options::init): Likewise. | |
5420 (LSODE_options::set_absolute_tolerance): Likewise. | |
5421 | |
5422 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
5423 sqrt(eps), not eps^2. | |
5424 DASPK_options::set_absolute_tolerance): Likewise. | |
5425 | |
5095 | 5426 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 5427 |
5428 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
5429 object. | |
5430 | |
3933 | 5431 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
5432 | |
5433 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
5434 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
5435 (octave_rl_set_basic_word_break_characters, | |
5436 octave_rl_set_completer_word_break_characters): New functions. | |
5437 * oct-rl-edit.h: Provide decls. | |
5438 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
5439 gnu_readline::do_set_completer_word_break_characters): New functions. | |
5440 (command_editor::set_basic_quote_characters, | |
5441 command_editor::set_completion_append_character): New static functions. | |
5442 * cmd-edit.h: Provide decls. | |
5443 (command_editor::do_set_basic_word_break_characters, | |
5444 command_editor::do_set_completer_word_break_characters): | |
5445 New virtual functions. | |
5446 | |
5447 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
5448 (resize_fill_value): New static function. | |
5449 | |
5450 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
5451 resize_fill_value. | |
5452 * Array2-idx.h (Array2<T>::index): Likewise. | |
5453 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
5454 | |
5455 * Array2.cc (Array<T>::print_info): New function. | |
5456 * Array2.h: Provide decl. | |
5457 | |
5458 * Array.cc (Array<T>::print_info): New function. | |
5459 * Array.h: Provide decl. | |
5460 | |
3928 | 5461 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5462 | |
5463 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
5464 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
5465 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
5466 | |
5467 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
5468 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
5469 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
5470 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
5471 | |
5095 | 5472 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 5473 |
5474 * Array3.h (Array3<T>::checkelem): Improve error message. | |
5475 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
5476 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
5477 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
5478 | |
3919 | 5479 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
5480 | |
5481 * DASSL.h (DASSL_options::init): Undo previous change. | |
5482 (DASSL_options::set_absolute_tolerance): Likewise. | |
5483 | |
3912 | 5484 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5485 | |
5486 * DASPK.h, DASPK.cc: New files. | |
5487 * Makefile.in: Add them to the appropriate lists. | |
5488 | |
3904 | 5489 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5490 | |
5491 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
5492 Simplify indexing when one or both of the indices are empty. | |
5493 | |
3896 | 5494 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5495 | |
5496 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
5497 (DASSL_options::set_absolute_tolerance): Likewise. | |
5498 * LSODE.h (LSODE_options::init): Likewise. | |
5499 (LSODE_options::set_absolute_tolerance): Likewise. | |
5500 | |
5095 | 5501 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 5502 |
5503 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
5504 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
5505 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
5506 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
5507 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
5508 * file-stat.h: Likewise. | |
5509 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
5510 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
5511 instead of HAVE_STRUCT_TM_TM_ZONE. | |
5512 * strftime.c: Likewise. | |
5513 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
5514 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
5515 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
5516 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
5517 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
5518 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
5519 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
5520 | |
5095 | 5521 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 5522 |
5523 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
5524 internally when the user requests it. | |
5525 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
5526 * dbleQR.cc (QR::init): Ditto. | |
5527 * dbleQRP.cc (QRP::init): Ditto. | |
5528 | |
3874 | 5529 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
5530 | |
5531 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
5532 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
5533 (octave_fftw::ifft2d): Likewise. | |
5534 | |
5095 | 5535 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 5536 |
5537 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
5538 | |
3867 | 5539 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5540 | |
5541 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
5542 (LS_DO_WRITE): Likewise. | |
5543 | |
3864 | 5544 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
5545 | |
5546 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
5547 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
5548 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
5549 | |
5550 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
5551 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
5552 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
5553 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
5554 | |
5555 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
5556 DIM == -1 now means no orientation for vector sums. | |
5557 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
5558 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
5559 | |
3858 | 5560 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5561 | |
5562 * Range.cc (Range::nelem_internal): Special case ranges that must | |
5563 have zero elements. | |
5564 | |
3854 | 5565 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5566 | |
3857 | 5567 * Makefile.in: Split out readline and pathsearch functionality |
5568 into separate liboct-readline and liboct-pathsearch libraries. | |
5569 | |
3854 | 5570 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 5571 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
5572 to do nothing for this call to rl_clear_screen. | |
3854 | 5573 |
3849 | 5574 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5575 | |
5576 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
5577 function. | |
5578 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
5579 | |
3838 | 5580 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5581 | |
5582 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
5583 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
5584 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
5585 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
5586 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
5587 | |
3836 | 5588 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5589 | |
5590 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
5591 | |
5592 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
5593 Array-b.cc: Instantiate three arg assign functions. | |
5594 | |
5595 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
5596 New arg, resize_fill_value. | |
5597 * ArrayN.h: Provide declaration. | |
5598 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
5599 three arg version. | |
5600 | |
5601 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
5602 New arg, resize_fill_value. | |
5603 * Array3.h: Provide declaration. | |
5604 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
5605 three arg version. | |
5606 | |
5607 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
5608 New arg, resize_fill_value. | |
5609 * Array2.h: Provide declaration. | |
5610 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
5611 three arg version. | |
5612 | |
5613 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
5614 New arg, resize_fill_value. | |
5615 * Array.h: Provide declaration. | |
5616 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
5617 three arg version. | |
5618 | |
3833 | 5619 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5620 | |
5621 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
5622 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
5623 to the empty string. | |
5624 | |
3832 | 5625 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5626 | |
5627 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
5628 Don't check for rep != a.rep. | |
5629 | |
3827 | 5630 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
5631 | |
5632 * oct-fftw.h, oct-fftw.cc: New files. | |
5633 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
5634 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
5635 ifourier2d}): Use fftw if available. | |
5636 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
5637 Likewise. | |
5638 | |
3821 | 5639 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5640 | |
5641 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
5642 (install-inc): Don't use mk-includedir-link. | |
5643 | |
3803 | 5644 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5645 | |
5646 * lo-cutils.c (octave_gethostname): New function. | |
5647 * lo-utils.h: Provide declaration. | |
5648 * oct-env.cc (octave_env::do_get_host_name): | |
5649 Call octave_gethostname, instead of gethostname. | |
5650 | |
5651 * lo-cutils.c (gethostname): Define here. | |
5652 * lo-sysdep.cc: Not here. | |
5653 | |
3786 | 5654 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5655 | |
5656 * lo-cutils.c: Don't declare strptime. | |
5657 (oct_strptime): Cast return type of strptime to char*. | |
5658 | |
3777 | 5659 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5660 | |
3779 | 5661 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
5662 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
5663 (octave_rl_read_init_file): Ditto. | |
5664 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
5665 free_undo_list. | |
5666 (octave_rl_completion_matches): Call rl_completion_matches, not | |
5667 completion_matches. | |
5668 (octave_rl_enable_paren_matching): New function. | |
5669 (octave_rl_set_blink_matching_paren_flag): Delete. | |
5670 (octave_rl_get_blink_matching_paren_flag): Delete. | |
5671 | |
3777 | 5672 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
5673 tanh (const Complex&)): Declare and define if not | |
5674 CXX_ISO_COMPLIANT_LIBRARY. | |
5675 | |
3776 | 5676 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5677 | |
5678 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
5679 CXX_ISO_COMPLIANT_LIBRARY. | |
5680 | |
3775 | 5681 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
5682 | |
3776 | 5683 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
5684 CXX_ISO_COMPLIANT_LIBRARY. | |
5685 | |
3775 | 5686 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
5687 archive libraries containing templates. | |
5688 | |
5689 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
5690 get_zero_len_size, all_colon_equiv): Inline. | |
5691 (ArrayN<T>::index): Rename idx to arr_idx. | |
5692 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
5693 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
5694 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
5695 | |
5696 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
5697 | |
5698 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
5699 log10 (const Complex&)): Delete. | |
5700 | |
5701 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
5702 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
5703 sinh, sqrt, tan, and tanh. | |
5704 | |
3769 | 5705 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
5706 | |
5707 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
5708 Add std:: namespace qualifier as needed. | |
5709 | |
5710 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
5711 Change all uses to match. | |
5712 | |
3767 | 5713 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5714 | |
5715 * lo-cutils.c: Don't delcare strptime. | |
5716 | |
3760 | 5717 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5718 | |
5719 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
5720 Return correct size result for empty matrix case. | |
5721 | |
3757 | 5722 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
5723 | |
5724 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
5725 If args are equal in magnitude, return first arg instead of | |
5726 second. | |
5727 | |
3752 | 5728 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
5729 | |
3755 | 5730 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
5731 then try harder to compute correct number of elements. | |
3753 | 5732 |
3752 | 5733 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
5734 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
5735 | |
3750 | 5736 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
5737 | |
3751 | 5738 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
5739 Rename n_intervals to be n_elt. | |
5740 | |
3750 | 5741 * strptime.c: Surround everything after including config.h in |
5742 #ifndef HAVE_STRPTIME ... #endif. | |
5743 | |
3742 | 5744 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5745 | |
5746 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
5747 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
5748 | |
3741 | 5749 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
5750 | |
5751 * MArray-defs.h: Protect against multiple inclusion. | |
5752 | |
3739 | 5753 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5754 | |
5755 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
5756 end of the list, to be compatible with previous versions of Octave. | |
5757 | |
3736 | 5758 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5759 | |
5760 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
5761 since mktime is supposed to `normalize' the results for us. | |
5762 | |
3731 | 5763 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5764 | |
5765 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 5766 and vectors. Use xelem for faster access to elements when copying. |
3731 | 5767 |
3726 | 5768 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5769 | |
5770 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
5771 Correct indexing for operation across rows. | |
5772 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
5773 | |
3725 | 5774 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
5775 | |
5776 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
5777 elements if arg is a colon. | |
5778 | |
5095 | 5779 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 5780 |
3795 | 5781 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 5782 (Matrix::cumsum (int) const): Likewise. |
5783 (Matrix::prod (int) const): Likewise. | |
5784 (Matrix::sum (int) const): Likewise. | |
5785 (Matrix::sumsq (int) const): Likewise. | |
5786 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
5787 (ComplexMatrix::cumsum (int) const): Likewise. | |
5788 (ComplexMatrix::prod (int) const): Likewise. | |
5789 (ComplexMatrix::sum (int) const): Likewise. | |
5790 (ComplexMatrix::sumsq (int) const): Likewise. | |
5791 | |
3722 | 5792 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
5793 | |
5794 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
5795 size if Array<T>::index returns an empty array. | |
5796 | |
3710 | 5797 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
5798 | |
5799 * file-ops.cc (file_ops::link, file_ops::symlink, | |
5800 file_ops::readlink): New functions. | |
5801 | |
3709 | 5802 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5803 | |
5804 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
5805 indexed, always return an object the same size as the index arg. | |
5806 | |
5807 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
5808 empty format. | |
5809 | |
3706 | 5810 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
5811 | |
5812 * lo-cutils.c (oct_strptime): New function. | |
5813 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
5814 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
5815 | |
3702 | 5816 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5817 | |
3703 | 5818 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
5819 | |
3702 | 5820 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
5821 | |
3689 | 5822 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
5823 | |
5824 * dMatrix.h (read_int): Provide declaration. | |
5825 | |
3688 | 5826 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
5827 | |
5828 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
5829 (write_doubles): Ditto. | |
5830 * data-conv.h: Ditto. | |
5831 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
5832 | |
3685 | 5833 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
5834 | |
5835 * boolMatrix.h: Declare MM_CMP_OPS here. | |
5836 * boolMatrix.cc: Define them here. | |
5837 | |
3680 | 5838 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5839 | |
5840 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
5841 previously undefined and set size of x to size of bool index. | |
5842 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
5843 Allow z_len to be zero. | |
5844 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
5845 If frozen, don't assert that frozen_at_z_len == z_len. | |
5846 | |
3670 | 5847 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
5848 | |
5849 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
5850 instead of rl_clear_screen. | |
5851 | |
3665 | 5852 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5853 | |
5854 * Array-d.cc: Instantiate ArrayN<double> here too. | |
5855 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
5856 * Makefile.in: Add them to the appropriate lists. | |
5857 | |
3657 | 5858 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
5859 | |
5860 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
5861 | |
3635 | 5862 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
5863 | |
5864 * lo-sysdep.h: octave_chdir returns int, not bool. | |
5865 | |
3615 | 5866 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
5867 | |
5868 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
5869 before rebuilding. | |
5870 | |
5095 | 5871 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 5872 |
5261 | 5873 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 5874 (libraries): Depend only on library targets, not archive members. |
5875 | |
3613 | 5876 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
5877 | |
5878 * Makefile.in: (objects): New target. | |
5879 | |
5880 * lo-cutils.c: New file. | |
5881 * Makefile.in (SOURCES): Add it to the list. | |
5882 * lo-utils.h: Declare octave_qsort here. | |
5883 * Array.h (Array::qsort): Use it here. | |
5884 | |
3607 | 5885 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5886 | |
5887 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
5888 | |
3598 | 5889 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
5890 | |
5891 * oct-rl-hist.c (octave_history_list): Do something when not | |
5892 printing line numbers. Fix reallocation of retval. | |
5893 | |
3597 | 5894 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
5895 | |
5896 * Makefile.in (install-inc): Install files in | |
5897 $(octincludedir)/octave. | |
5898 (uninstall): Remove them from the correct directory too. | |
5899 | |
5900 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
5901 they are not already defined. | |
5902 | |
3588 | 5903 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
5904 | |
5905 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
5906 Delete declarations and definitions of mixed-type vector-vector ops. | |
5907 | |
3585 | 5908 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
5909 | |
5910 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
5911 matrix and vector objects. | |
5912 | |
5913 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
5914 return type from second arg type. | |
5915 (MDM_BIN_OP): Likewise, for first arg type. | |
5916 | |
5917 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
5918 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
5919 | |
5920 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
5921 request ColumnVector to ComplexColumnVector, and Matrix to | |
5922 ComplexMatrix conversions. | |
5923 | |
5924 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
5925 initial value using ComplexMatrix constructor. | |
5926 | |
5927 * CColVector.cc (product, quotient, | |
5928 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
5929 Fix type of returned value. | |
5930 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
5931 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
5932 | |
5933 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
5934 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
5935 dRowVector.h: Declare some constructors explicit, to disallow | |
5936 potentially problematic automatic type conversions. | |
5937 | |
3580 | 5938 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
5939 | |
3582 | 5940 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
5941 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
5942 More new files. | |
5943 * Makefile.in: Add them to the appropriate lists. | |
5944 | |
5945 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
5946 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
5947 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
5948 vx-s-crv.cc:, New files. | |
5949 * Makefile.in: Add them to the appropriate lists. | |
5950 | |
5951 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
5952 Delete scalar by vector and vector by scalar binary ops. | |
5953 | |
3580 | 5954 * MArray-defs.h: More new macros to handle MDiagArray operators. |
5955 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
5956 | |
3573 | 5957 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
5958 | |
3578 | 5959 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
5960 rl_event_hook before casting to void **. | |
5961 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
5962 | |
3574 | 5963 * MArray-defs.h: Many new macros to make declaration and |
5964 definition of operators more consistent. | |
5965 | |
5966 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
5967 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 5968 |
3569 | 5969 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
5970 | |
3572 | 5971 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
5972 (Matrix::ifourier2d): Likewise. | |
5973 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
5974 (ComplexMatrix::ifourier2d): Likewise. | |
5975 | |
3569 | 5976 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
5977 | |
3504 | 5978 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
5979 | |
3519 | 5980 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
5981 readline library. | |
5982 * Makefile.in: Add them to the appropriate lists. | |
5983 | |
5984 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
5985 readline history library. | |
5986 * Makefile.in: Add them to the appropriate lists. | |
5987 | |
3517 | 5988 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
5989 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 5990 (write_doubles): Likewise. |
5991 (read_doubles): Likewise. | |
3517 | 5992 |
3516 | 5993 * oct-env.cc (octave_env::do_polite_directory_format): |
5994 Use operator== and substr method to do limited-length string | |
5995 comparison. | |
5996 | |
3513 | 5997 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 5998 |
3511 | 5999 * Quad.h: Use do_integrate as name of pure virtual function. |
6000 | |
3508 | 6001 * base-de.h: Use tt instead of t as arg names. |
3511 | 6002 Add method with tcrit arg. |
6003 | |
3509 | 6004 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 6005 |
3507 | 6006 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
6007 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
6008 * Quad.cc (quad_fcn_ptr): Ditto. | |
6009 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
6010 | |
3505 | 6011 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 6012 * Makefile.in: Add them to the appropriate lists. |
3505 | 6013 |
6014 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 6015 * Makefile.in: Add them to the appropriate lists. |
3505 | 6016 |
3504 | 6017 * dMatrix.cc (write_int, read_int): No longer declared static. |
6018 | |
6019 * CDiagMatrix.h: Delete decls for friend operators that are | |
6020 handled by MDiagArray2 class. Move others outside class decl and | |
6021 strip friend status. | |
6022 * dDiagMatrix.h: Likewise. | |
6023 | |
6024 * MArray.h: Delete decls for friend operators inside class decl. | |
6025 * MArray2.h: Ditto. | |
6026 * MDiagArray2.h: Ditto. | |
6027 | |
6028 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
6029 necessary parameters. Don't allocate memory in the macro. Change | |
6030 all uses. | |
6031 | |
6032 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
6033 * CMatrix.h (class ComplexMatrix): Ditto. | |
6034 | |
6035 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
6036 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
6037 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
6038 avoid type conflicts. Change all uses. | |
6039 | |
6040 * strptime.c (__mon_yday): Fix size of array decl. | |
6041 | |
6042 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
6043 | |
6044 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
6045 default value for second arg. | |
6046 | |
6047 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
6048 references to ArrayRep. | |
6049 | |
3503 | 6050 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
6051 | |
3504 | 6052 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 6053 |
6054 * All source files: Include iostream, fstream, strstream, | |
6055 etc. as needed instead of using forward declarations for these | |
3504 | 6056 classes. Add std:: qualifier as needed. |
3503 | 6057 |
3498 | 6058 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
6059 | |
6060 * oct-time.cc: Declare strptime extern "C". | |
6061 | |
3496 | 6062 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6063 | |
6064 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
6065 | |
3488 | 6066 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
6067 | |
3492 | 6068 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
6069 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
6070 to get total size to be allocated. | |
6071 | |
3488 | 6072 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
6073 as bool, not int. | |
6074 | |
3482 | 6075 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6076 | |
6077 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6078 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
6079 as A, even when do_fortran_indexing is not enabled. | |
6080 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
6081 | |
3473 | 6082 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
6083 | |
3480 | 6084 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
6085 function pointer as final arg. Passed function (if any) will be | |
6086 called for singularity errors. | |
6087 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
6088 | |
6089 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
6090 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
6091 | |
3475 | 6092 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
6093 No longer bother with infinity or quiet_nan. | |
6094 | |
3473 | 6095 * Array2.cc (Array2<T>::get_size): New function. |
6096 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
6097 | |
3472 | 6098 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6099 | |
6100 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
6101 New function. | |
6102 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6103 Use it when indexing with one arg instead of faking a second one. | |
6104 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
6105 Return empty matrices with the correct dimensions for A(:,:) = [] | |
6106 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
6107 rows or columns. | |
6108 | |
6109 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
6110 vector that is all true values with a length equal to n as colon | |
6111 equivalent. | |
6112 | |
3470 | 6113 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6114 | |
6115 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
6116 | |
5095 | 6117 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 6118 |
6119 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
6120 operations directly in step 2 and reverse step 2. | |
6121 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
6122 operations directly in step 2 and reverse step 2. | |
6123 | |
3465 | 6124 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6125 | |
6126 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
6127 | |
6128 * strptime.c: New file, from glibc 2.1.2. | |
6129 * Makefile.in (SOURCES): Add strptime.c to the list. | |
6130 | |
3419 | 6131 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6132 | |
6133 * MArray.h (MArray <const Array<T>&)): New constructor. | |
6134 | |
3415 | 6135 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6136 | |
6137 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
6138 NULL directory list returned from kpse_element_dirs | |
6139 | |
3375 | 6140 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
6141 | |
6142 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
6143 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
6144 directly, instead of calling ZGESV. | |
6145 | |
3358 | 6146 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6147 | |
6148 * data-conv.cc (init_sized_type_lookup_table): New function. | |
6149 (string_to_data_type): Use it to improve lookup of data types. | |
6150 | |
3354 | 6151 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
6152 | |
6153 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
6154 * Array2.h (is_symmetric): Delete declaration. | |
6155 | |
3347 | 6156 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6157 | |
6158 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
6159 | |
3344 | 6160 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6161 | |
6162 * oct-time.cc (Fstrftime): Undo previous change. | |
6163 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6164 | |
3334 | 6165 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6166 | |
3336 | 6167 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
6168 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
6169 | |
3334 | 6170 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
6171 Don't forget to pass length of third string argument to dgeesx. | |
6172 | |
6173 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
6174 of third string argument to zgeesx. | |
6175 | |
3333 | 6176 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6177 | |
6178 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
6179 On errors, simply return `T ()'. | |
6180 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
6181 | |
5095 | 6182 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 6183 |
6184 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
6185 AEPBALANCE class. | |
6186 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6187 | |
3325 | 6188 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
6189 | |
6190 * oct-shlib.cc, oct-shlib.h: New files. | |
6191 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6192 | |
3322 | 6193 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6194 | |
6195 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
6196 * dRowVector.cc (linspace): Ditto. | |
6197 | |
6198 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
6199 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
6200 | |
3312 | 6201 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
6202 | |
6203 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
6204 to evaluate the Jacobian, set info(4), not iwork(4). | |
6205 Set rwork(1) to the maximum step size, not rwork(2). | |
6206 | |
3290 | 6207 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6208 | |
6209 * oct-time.cc: Include <climits>. | |
6210 | |
3281 | 6211 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6212 | |
6213 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
6214 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
6215 (gnu_readline::do_resize_terminal): New function. | |
6216 | |
3268 | 6217 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6218 | |
6219 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
6220 * lo-ieee.c: Likewise. | |
6221 Delete extern "C" declarations for infinity and quiet_nan. | |
6222 | |
3262 | 6223 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6224 | |
3263 | 6225 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
6226 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
6227 `inline', not `static inline'. | |
6228 | |
3262 | 6229 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
6230 then cast to const int * to compare. | |
6231 | |
3257 | 6232 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6233 | |
6234 * DAEFunc.h: Remove useless preprocessor conditional. | |
6235 | |
3255 | 6236 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6237 | |
3257 | 6238 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
6239 Use octave_time object instead of time_t. | |
6240 | |
6241 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
6242 file_stat::fs_ctime): Now octave_time objects. | |
6243 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
6244 Return octave_time objects. | |
6245 (file_stat::is_newer): Args are now octave_time objects instead of | |
6246 time_t. | |
6247 | |
3255 | 6248 * oct-time.h (octave_time::as_double): Delete. |
6249 (octave_time::operator double ()): New function. | |
6250 (octave_time::operator time_t ()): New function. | |
6251 (octave_time::ctime): New function. | |
6252 (octave_base_tm::strftime): Renamed from format_as_string. | |
6253 (octave_base_tm::asctime): New function. | |
6254 (operator == (const octave_time&, const octave_time&), | |
6255 operator != (const octave_time&, const octave_time&), | |
6256 operator < (const octave_time&, const octave_time&), | |
6257 operator <= (const octave_time&, const octave_time&), | |
6258 operator > (const octave_time&, const octave_time&), | |
6259 operator >= (const octave_time&, const octave_time&)): | |
6260 New comparison functions. | |
6261 | |
6262 * strftime.c: Move here from src directory. | |
6263 * Makefile.in (SOURCES): Add it to the list. | |
6264 | |
6265 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
6266 | |
3253 | 6267 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6268 | |
6269 * oct-time.h, oct-time.cc: New files. | |
6270 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
6271 | |
6272 * systime.h: Move here from src directory. | |
6273 * Makefile.in (INCLUDES): Add it to the list. | |
6274 | |
3248 | 6275 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6276 | |
6277 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
6278 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
6279 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
6280 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
6281 | |
6282 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
6283 | |
3243 | 6284 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6285 | |
6286 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
6287 | |
6288 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6289 | |
6290 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
6291 column vector for A(:), for compatibility with Matlab. | |
6292 | |
6293 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6294 | |
6295 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
6296 iopt when there are optional inputs in rwork or iwork. | |
6297 | |
3238 | 6298 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6299 | |
6300 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
6301 creating static libs. | |
6302 | |
5095 | 6303 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 6304 |
6305 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
6306 and uint32 data types. | |
6307 | |
6308 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6309 | |
6310 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
6311 for Linux. Remove old Linux-specific code. | |
6312 | |
3233 | 6313 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
6314 | |
6315 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
6316 Don't require lengths to be equal. | |
6317 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
6318 ComplexRowVector& a)): Likewise | |
6319 | |
5095 | 6320 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 6321 |
6322 * statdefs.h: Only define mode_t if not already defined. | |
6323 | |
5095 | 6324 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 6325 |
6326 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
6327 when appropriate. | |
6328 | |
6329 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6330 | |
6331 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
6332 before calling rl_initialize. | |
6333 | |
3220 | 6334 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6335 | |
6336 * lo-specfun.cc (besselh, airy, biry): New functions. | |
6337 Update Bessel function support to use library by D. E. Amos. | |
6338 | |
3219 | 6339 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6340 | |
6341 * cmd-edit.h (command_editor::readline): Add new variation that | |
6342 allows EOF information to be passed back to caller. | |
6343 | |
6344 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
6345 amount of data to read is unspecified. | |
6346 | |
3215 | 6347 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6348 | |
3219 | 6349 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
6350 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
6351 | |
3215 | 6352 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
6353 Add volatile qualifier to void* arg. | |
6354 Cast volatile void* arg to volatile char*. | |
6355 | |
6356 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6357 | |
6358 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
6359 (command_editor::do_restore_event_hook): Ditto. | |
6360 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
6361 (command_editor::restore_event_hook): Ditto. | |
6362 (gnu_readline::do_set_event_hook): Ditto. | |
6363 (gnu_readline::do_restore_event_hook): Ditto. | |
6364 (gnu_readline::previous_event_hook): New data member. | |
6365 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
6366 | |
3206 | 6367 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6368 | |
6369 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
6370 | |
6371 * Makefile.in (stmp-pic): New target. | |
6372 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
6373 (clean): Remove stmp-pic | |
6374 | |
6375 * Makefile.in: Undo previous change to avoid optmization when | |
6376 compiling lo-ieee.cc. | |
6377 | |
6378 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6379 | |
6380 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
6381 imaginary parts. | |
6382 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
6383 | |
3203 | 6384 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6385 | |
6386 * boolMatrix.cc (boolMatrix::operator !): New function. | |
6387 | |
3196 | 6388 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6389 | |
6390 * pathsearch.h (dir_path::default_path): New data member. | |
6391 * pathsearch.cc (dir_path::init): Use it. | |
6392 | |
6393 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
6394 | |
3189 | 6395 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6396 | |
6397 * chMatrix.cc (charMatrix::extract): New function. | |
6398 (charMatrix::charMatrix (char c)): New constructor. | |
6399 | |
6400 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6401 | |
6402 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
6403 * cmd-edit.cc (command_editor::read_init_file): New function. | |
6404 (gnu_readline::do_read_init_file): Likewise. | |
6405 | |
3185 | 6406 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6407 | |
6408 * oct-env.cc (octave_env::do_get_home_directory): | |
6409 If HOME can't be found, set it to "/". | |
6410 (octave_env::do_get_user_name) | |
6411 If user name can't be found, set it to "unknown". | |
6412 (octave_env::do_get_host_name) | |
6413 If host name can't be found, set it to "unknown". | |
6414 | |
6415 * pathsearch.h (dir_path::rehash): New function. | |
6416 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
6417 diretcory cache before doing initialization. | |
6418 | |
3180 | 6419 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6420 | |
3185 | 6421 * dMatrix.cc (Qzval): Delete. |
6422 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
6423 * dMatrix.h (Qzval): Delete declaration. | |
6424 | |
6425 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
6426 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
6427 * mx-ext.h: Don't include dbleGEPBAL. | |
6428 | |
3180 | 6429 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
6430 static_cast. | |
6431 | |
6432 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6433 | |
6434 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
6435 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
6436 | |
6437 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6438 | |
6439 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
6440 HUGE_VAL and NAN. | |
6441 | |
6442 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6443 | |
6444 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
6445 Handle x(i) = scalar for do_fortran_indexing == 1. | |
6446 | |
6447 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6448 | |
6449 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
6450 Alloctate space before attempting to use it. | |
6451 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
6452 | |
5095 | 6453 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 6454 |
6455 * EIG.cc (EIG::init): Move invariant code outside loop. | |
6456 | |
6457 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6458 | |
6459 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
6460 have the same size as the operands. | |
6461 | |
6462 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6463 | |
6464 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
6465 call to ddassl, set integration_error to 1 before calling the | |
6466 error handler and returning. | |
6467 * LSODE.cc (LSODE::do_integrate): Likewise. | |
6468 | |
3177 | 6469 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6470 | |
6471 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
6472 do_fortran_indexing is set, A([]) = scalar. | |
6473 * Array-idx.h (assign): Allow A([]) = scalar. | |
6474 | |
3176 | 6475 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6476 | |
6477 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
6478 if dm_nc == 0. | |
6479 | |
3174 | 6480 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6481 | |
6482 * pathsearch.h (dir_path::p_orig): New field. | |
6483 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
6484 expansion on the original path here. | |
6485 (dir_path::find_all): Don't do anything if not initialized. | |
6486 | |
3164 | 6487 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6488 | |
6489 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
6490 is not set. | |
6491 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
6492 | |
6493 * lo-specfun.cc (gammainc): Use dgamit to compute | |
6494 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
6495 \int_0^x exp(-t) t^(a-1) dt. | |
6496 | |
6497 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6498 | |
6499 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
6500 Array-s.cc: Change return types of all `assign' explicit | |
6501 instantiations to be int, not void, to match the template decl in | |
6502 Array.h. | |
6503 | |
3162 | 6504 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6505 | |
6506 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
6507 | |
3156 | 6508 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6509 | |
6510 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
6511 * lo-mappers.cc: Not here. | |
6512 | |
6513 * lo-specfun.h: Declare xgamma and xlgamma here. | |
6514 * lo-mappers.h: Not here. | |
6515 | |
6516 * lo-specfun.h: Never declare gamma or lgamma. | |
6517 | |
3154 | 6518 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6519 | |
6520 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
6521 empty matrix of any dimension. | |
6522 | |
3145 | 6523 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6524 | |
3147 | 6525 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
6526 | |
3146 | 6527 * lo-specfun.cc: Don't include dbleBessel.h. |
6528 | |
6529 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
6530 | |
3145 | 6531 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
6532 * file-stat.h (file_stat::operator bool ()): Likewise. | |
6533 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
6534 * oct-group.h (octave_group::operator bool ()): Likewise. | |
6535 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
6536 | |
6537 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
6538 Don't cast arg in call to swap_8_bytes. | |
6539 (IEEE_big_double_to_IEEE_little_double): Ditto | |
6540 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
6541 swap_4_bytes. | |
6542 (IEEE_little_float_to_IEEE_big_float): Ditto | |
6543 | |
6544 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
6545 * prog-args.cc (prog_args::getopt): Likewise. | |
6546 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
6547 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
6548 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
6549 Likewise. | |
6550 | |
6551 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
6552 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
6553 | |
3141 | 6554 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6555 | |
6556 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
6557 Use $(mk-libdir-link). | |
6558 | |
6559 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
6560 not SAFE_STAT and SAFE_LSTAT. | |
6561 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
6562 * safe-xstat.hin, safe-xstat.cin: Delete. | |
6563 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
6564 safe-lstat.h, and safe-lstat.cc. | |
6565 | |
3136 | 6566 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6567 | |
6568 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
6569 | |
3130 | 6570 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
6571 | |
6572 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
6573 trace is negative. | |
6574 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
6575 the real part of the trace is negative. | |
6576 | |
6577 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6578 | |
6579 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
6580 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
6581 | |
6582 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
6583 to succeed. | |
6584 | |
3125 | 6585 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6586 | |
6587 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
6588 (make_uniq): Likewise. | |
6589 | |
6590 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6591 | |
6592 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
6593 | |
3119 | 6594 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6595 | |
3121 | 6596 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
6597 | |
6598 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 6599 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
6600 | |
3121 | 6601 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
6602 oct-math.h: Delete. | |
6603 * Makefile.in (SOURCES): Delete them from the list. | |
6604 | |
3112 | 6605 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6606 | |
6607 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
6608 | |
5095 | 6609 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 6610 |
6611 Changes to make support egcs snapshots that implement explicit | |
6612 specification of template functions according to CD2. | |
6613 | |
6614 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
6615 template function specs for template friends. | |
6616 * MArray2.h: Likewise. | |
6617 * MDiagArray2.h: Likewise. | |
6618 | |
3095 | 6619 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6620 | |
6621 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
6622 | |
3092 | 6623 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
6624 | |
6625 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
6626 to complex<double>(int) instead of complex<double>(double). | |
6627 | |
6628 * lo-mappers.cc (atanh): Ditto. | |
6629 | |
3079 | 6630 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6631 | |
6632 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
6633 * idx-vector.h (idx_vector::sort): Ditto. | |
6634 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
6635 trying to delete elements specified by the index vectors. | |
6636 | |
3075 | 6637 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6638 | |
6639 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
6640 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
6641 | |
3074 | 6642 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6643 | |
6644 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
6645 | |
3069 | 6646 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6647 | |
6648 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
6649 Call error handler if we can't find the current directory. | |
6650 | |
3068 | 6651 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6652 | |
3069 | 6653 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
6654 (xfinite (double)): Ditto. | |
6655 | |
3068 | 6656 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
6657 * CmplxQR.cc (ComplexQR::init): Ditto. | |
6658 | |
3056 | 6659 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6660 | |
6661 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
6662 compatible with Matlab. | |
6663 | |
3050 | 6664 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6665 | |
6666 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
6667 single colon. | |
6668 | |
3040 | 6669 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6670 | |
3049 | 6671 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
6672 (xgamma): Likewise, for calling xdgamma. | |
6673 | |
3042 | 6674 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
6675 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
6676 | |
3040 | 6677 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
6678 to do better job expanding tildes. | |
6679 | |
6680 * str-vec.cc (string_vector::string_vector (const char * const *): | |
6681 Use temporary variable to compute length. | |
6682 | |
3029 | 6683 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6684 | |
3034 | 6685 * Makefile.in: Make building of static library optional. |
3036 | 6686 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 6687 |
3029 | 6688 * Makefile.in (stamp-picdir): Delete. |
6689 (pic): New target. Don't worry so much about creating pic | |
6690 directory only when it is really needed. | |
6691 (stamp-interp): Delete. | |
6692 (libraries): New target. Depend on shared library directly. | |
6693 | |
3024 | 6694 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6695 | |
6696 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
6697 New static function. | |
6698 | |
3012 | 6699 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6700 | |
6701 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
6702 | |
3004 | 6703 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6704 | |
6705 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
6706 set_basic_quote_characters, to match new version of readline. | |
6707 | |
6708 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
6709 for restoring terminal state through rl_deprep_term_function, now | |
6710 declared in readline.h | |
6711 (rl_deprep_terminal): Delete declaration. | |
6712 | |
2993 | 6713 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6714 | |
6715 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
6716 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
6717 | |
2968 | 6718 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6719 | |
6720 * cmd-edit.cc (command_editor::increment_current_command_number): | |
6721 New static function. | |
6722 | |
2964 | 6723 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6724 | |
2966 | 6725 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
6726 the vector is not sorted. | |
6727 | |
2964 | 6728 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
6729 * dMatrix.cc (Matrix::operator !): Likewise | |
6730 | |
2941 | 6731 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6732 | |
6733 * oct-syscalls.h, oct-syscalls.cc: New files. | |
6734 | |
6735 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
6736 | |
6737 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
6738 | |
2938 | 6739 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6740 | |
2941 | 6741 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
6742 (install-inc): Use it. | |
6743 | |
2938 | 6744 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
6745 Handle errors and missing functions consistently. | |
6746 | |
6747 * oct-group.h, oct-group.cc: New files. | |
6748 | |
6749 * oct-passwd.cc: Handle errors and missing functions consistently. | |
6750 | |
6751 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
6752 | |
2934 | 6753 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6754 | |
6755 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
6756 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
6757 | |
6758 * oct-passwd.h, oct-passwd.cc: New files. | |
6759 | |
2926 | 6760 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6761 | |
6762 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
6763 | |
6764 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
6765 (instance_ok ()): New function. | |
6766 | |
6767 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
6768 | |
6769 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
6770 | |
6771 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
6772 src/utils.h and src/utils.cc. | |
6773 (octave_fgets): New function, extracted from src/input.cc. | |
6774 | |
6775 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
6776 GNU readline, and allow Octave to work without GNU readline. | |
6777 | |
6778 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
6779 system-dependent functions. | |
6780 | |
6781 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
6782 | |
6783 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
6784 from file-ops.h and file-ops.cc and move here. | |
6785 | |
6786 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
6787 tilde_expand functions here from src/dirfns.cc. | |
6788 | |
6789 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6790 | |
6791 * pathlen.h: New file, from ../src. | |
6792 | |
2917 | 6793 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6794 | |
6795 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
6796 out-of-bounds indexing of the index array. | |
6797 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
6798 | |
2850 | 6799 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6800 | |
6801 * LSODE.h (x_step_limit): New field. | |
6802 (LSODE_options::init): Initialize it. | |
6803 (LSODE_options::copy): Copy it. | |
6804 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
6805 New functions. | |
6806 (LSODE::working_too_hard): Delete. | |
6807 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
6808 | |
2844 | 6809 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6810 | |
6811 * MArray-b.cc: Delete. | |
6812 * Makefile.in: Delete it from the lists. | |
6813 | |
6814 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
6815 MArray2, since most of the numeric ops don't really make sense. | |
6816 | |
2829 | 6817 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6818 | |
2832 | 6819 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
6820 | |
6821 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
6822 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
6823 | |
2830 | 6824 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
6825 idx_vector::freeze): Delete prefer_zero_one arg. | |
6826 * Array-idx.h, Array2-idx.h: Change all callers. | |
6827 | |
6828 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
6829 | |
2829 | 6830 * mx-op-defs.h: New file for operator definitions. |
6831 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
6832 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
6833 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
6834 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
6835 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
6836 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
6837 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
6838 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
6839 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
6840 mx-s-cm.cc, mx-s-dm.cc: | |
6841 New files for mixed-type operations. | |
6842 * Makefiles.in: Add them to the appropriate lists. | |
6843 | |
6844 * mx-inlines.cc: Add bool by bool EQ ops. | |
6845 | |
6846 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
6847 boolMatrix types. | |
6848 (idx_vector::maybe_convert_one_zero_to_idx, | |
6849 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
6850 Delete second arg, prefer_zero_one. Change all callers. | |
6851 | |
6852 * boolMatrix.h, boolMatrix.cc: New files. | |
6853 * mx-base.h: Include boolMatrix.h here. | |
6854 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
6855 | |
6856 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
6857 | |
6858 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
6859 operator-, operator*, product, and quotient functions. | |
6860 Add constructor for boolMatrix type. | |
6861 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
6862 product, and quotient functions. | |
6863 | |
6864 * CDiagMatrix.h: Delete friend declarations for operator+, | |
6865 operator-, and product functions. | |
6866 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
6867 | |
6868 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
6869 | |
2815 | 6870 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6871 | |
6872 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
6873 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
6874 (EIG::symmetric_init (const Matrix&)): New function. | |
6875 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
6876 | |
6877 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
6878 | |
6879 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6880 | |
6881 * Array2.cc (is_symmetric): New function. | |
6882 * Array2.h (is_square): New function. | |
6883 | |
2811 | 6884 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6885 | |
6886 * Makefile.in (install-strip): New target. | |
6887 | |
2804 | 6888 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6889 | |
6890 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
6891 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
6892 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
6893 dbleSVD.cc: Don't include mx-inlines.cc. | |
6894 | |
6895 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
6896 duplicate code. | |
6897 | |
2800 | 6898 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6899 | |
2804 | 6900 * dbleQR.h (QR): Delete extra comma at end of list. |
6901 | |
6902 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
6903 | |
6904 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
6905 | |
6906 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
6907 idx_vecotr_rep:: qualifiers. | |
6908 | |
6909 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
6910 | |
6911 * data-conv.h (save_type): Delete extra comma at end of list. | |
6912 | |
2800 | 6913 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
6914 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
6915 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
6916 old C-style `(T) val' casts. | |
6917 | |
2795 | 6918 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6919 | |
6920 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
6921 just breaking out of the innermost loop. | |
6922 * CMatrix.cc (operator >>): Likewise. | |
6923 | |
2779 | 6924 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 6925 |
6926 * Version 2.0.5 released. | |
6927 | |
2767 | 6928 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6929 | |
6930 * CmplxQR.cc (ComplexQR::init): New function. | |
6931 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
6932 * CmplxQRP.cc (ComplexQRP::init): New function. | |
6933 Get sizes right in all cases. | |
6934 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
6935 | |
6936 * dbleQR.cc (QR::init): New function. | |
6937 (QR::QR): Use it. Use initializer list too. | |
6938 * dbleQRP.cc (QRP::init): New function. | |
6939 Get sizes right in all cases. | |
6940 (QR::QRP): Use it. Use initializer list too. | |
6941 | |
2759 | 6942 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6943 | |
6944 * mach-info.cc (oct_mach_info::string_to_float_format): | |
6945 Recognize "vaxg", not "vax_g". | |
6946 | |
2713 | 6947 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6948 | |
2714 | 6949 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
6950 dimension in check for colon equivalent index. | |
6951 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
6952 index whose value is 0 is also colon eqivalent for n == 1. | |
6953 | |
2713 | 6954 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
6955 system-specific tests first. | |
6956 | |
2709 | 6957 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 6958 |
6959 * Version 2.0.4 released. | |
6960 | |
6961 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6962 | |
6963 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
6964 | |
2693 | 6965 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 6966 |
6967 * Version 2.0.3 released. | |
6968 | |
2686 | 6969 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6970 | |
6971 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
6972 | |
2673 | 6973 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
6974 | |
2676 | 6975 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
6976 (all): Don't depend on stamp-prereq or stamp-picdir. | |
6977 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
6978 (stamp-picdir): Silence noise about making pic. | |
6979 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
6980 | |
2673 | 6981 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
6982 Fix typo in last change. | |
6983 | |
6984 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
6985 Convert from friend (moved from dColVector.cc). | |
6986 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
6987 Likewise (moved from dMatrix.cc). | |
6988 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
6989 Likewise (moved from dRowVector.cc). | |
6990 | |
6991 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
6992 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
6993 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
6994 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
6995 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
6996 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
6997 | |
6998 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
6999 * dMatrix.cc (Matrix::apply): Likewise. | |
7000 * dRowVector.cc (RowVector::apply): Likewise. | |
7001 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
7002 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
7003 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
7004 | |
2668 | 7005 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7006 | |
7007 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
7008 | |
7009 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7010 | |
7011 * file-ops.cc (oct_unlink (const string&, string&)): | |
7012 New two-arg version. | |
7013 (oct_rmdir (const string&, string&)): New two-arg version. | |
7014 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
7015 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
7016 (oct_rename (const string&, const string&, string&)): | |
7017 New three-arg version. | |
7018 | |
2663 | 7019 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7020 | |
7021 * idx-vector.h (idx_vector::orig_empty): New function. | |
7022 | |
7023 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
7024 Don't always resize to [](0x0) if one of the indices is empty or | |
7025 zero. | |
7026 | |
2658 | 7027 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7028 | |
7029 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
7030 Set line_in_file here too. | |
7031 (command_history::read_range): New arg, must_exist. | |
7032 | |
2651 | 7033 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7034 | |
7035 * f2c-main.c: Change C++-style comments to C-style comments. | |
7036 | |
2638 | 7037 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7038 | |
7039 * Makefile.in (install-inc): Create a relative symbolic link. | |
7040 | |
2634 | 7041 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7042 | |
7043 * Version 2.0.2 released. | |
7044 | |
2624 | 7045 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7046 | |
7047 * Makefile.in (bin-dist): New target. | |
7048 | |
2621 | 7049 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7050 | |
7051 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
7052 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
7053 | |
2613 | 7054 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7055 | |
7056 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7057 If the number of columns is zero, also set the number of rows to zero. | |
7058 (charMatrix::charMatrix (const char *)): Likewise. | |
7059 | |
2602 | 7060 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7061 | |
7062 * Version 2.0.1 released. | |
7063 | |
2601 | 7064 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
7065 | |
7066 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
7067 columns for resizing when the number of rows is specified but the | |
7068 number of columns is not. | |
7069 | |
2598 | 7070 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7071 | |
2599 | 7072 * Range.cc (operator -): New function. |
7073 | |
2598 | 7074 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
7075 | |
2589 | 7076 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7077 | |
7078 * Array2-idx.h (assign): Delay resizing left hand side until we | |
7079 know if the assignment conforms. | |
7080 | |
2583 | 7081 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7082 | |
7083 * Version 2.0 released. | |
7084 | |
2570 | 7085 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7086 | |
2575 | 7087 * Array2-idx.h (assign): If index is a colon, set number of |
7088 elements to the lhs dimension if the lhs dimension is greater than | |
7089 zero. Otherwise, set it to the rhs dimension. | |
7090 | |
7091 * Version 1.94. | |
7092 | |
2570 | 7093 * Array2-idx.h (assign): Test for rhs scalar case first. |
7094 If index is colon, set number of elements to lhs dimension, not | |
7095 rhs dimension. | |
7096 | |
2563 | 7097 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7098 | |
2566 | 7099 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
7100 * sun-utils.cc: Delete. | |
7101 * f2c-main.c: New file | |
7102 | |
7103 * Makefile.in: Fix file name lists. | |
7104 | |
2563 | 7105 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
7106 | |
2561 | 7107 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7108 | |
7109 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
7110 Create result using Complex constructor, not multiplication. | |
7111 Order elements as they are returned from Eispack. | |
7112 | |
2559 | 7113 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7114 | |
2560 | 7115 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
7116 Only include nan.h if SCO is defined. Define _IEEE before | |
7117 including it and undefine it afterward. | |
7118 [SCO] (isnan): Don't mistake Inf as NaN. | |
7119 | |
2559 | 7120 * Array-idx.h (assign): Only resize if assignment conforms. |
7121 | |
2551 | 7122 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7123 | |
7124 * Makefile.in (INCLUDES): Delete lo-error.h. | |
7125 * lo-error.h: Delete (moved to libcruft/misc). | |
7126 | |
7127 * Version 1.93. | |
7128 | |
2546 | 7129 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7130 | |
2549 | 7131 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
7132 be the same as they are in fnmatch.h. | |
7133 | |
2546 | 7134 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
7135 | |
7136 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
7137 (SOURCES): Delete f77-fcn.c. | |
7138 | |
2522 | 7139 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7140 | |
7141 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
7142 | |
2512 | 7143 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7144 | |
7145 * Version 1.92. | |
7146 | |
2508 | 7147 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7148 | |
2512 | 7149 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
7150 lines that have only carriage return or newline. | |
7151 | |
2508 | 7152 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
7153 | |
2500 | 7154 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7155 | |
7156 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
7157 (IDX_VEC_REP::idx_vector_rep): Use it. | |
7158 | |
2493 | 7159 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7160 | |
7161 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
7162 from vectors of C strings. | |
7163 | |
7164 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
7165 vector. | |
7166 (glob_match::match): Allow match string to be a string vector. | |
7167 (glob_match::glob): New function. | |
7168 | |
7169 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
7170 | |
7171 * Array-b.cc: New file. | |
7172 * Makefile.in (TI_SRC): Add it to the list. | |
7173 | |
2492 | 7174 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7175 | |
7176 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
7177 and safe-stat.h, to avoid getting them from $srcdir when we really | |
7178 want the version from the build directory. (Maybe this should be | |
7179 done for all the include files, not just those that are | |
7180 auto-generated? Hmm.) | |
7181 | |
2481 | 7182 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7183 | |
2482 | 7184 * Version 1.91. |
7185 | |
2481 | 7186 * Array3.cc (Array3<T>::resize): Make it work. |
7187 | |
7188 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7189 | |
7190 * oct-alloc.h, oct-alloc.cc: New files. | |
7191 * Makefile.in: Add them to the lists. | |
7192 | |
7193 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7194 | |
7195 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
7196 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
7197 | |
2466 | 7198 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7199 | |
7200 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
7201 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
7202 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
7203 underlying macro is not defined. | |
7204 | |
7205 * oct-math.h (lgamma, gamma): Delete declarations. | |
7206 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
7207 Protect declarations with #ifdef HAVE_*. | |
7208 | |
2440 | 7209 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7210 | |
2452 | 7211 * Version 1.90. |
7212 | |
7213 * Makefile.in (DISTFILES): Add ChangeLog. | |
7214 | |
2444 | 7215 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
7216 | |
7217 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
7218 | |
2443 | 7219 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 7220 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
7221 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 7222 |
2440 | 7223 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
7224 since that is now accepatble syntax, even for built-in types. | |
7225 * Array2.h (T Array2<T>::checkelem): Likewise | |
7226 | |
2433 | 7227 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7228 | |
7229 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
7230 message and return -1. | |
7231 | |
2428 | 7232 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7233 | |
2431 | 7234 * str-vec.h (str_vec_compare): Declare args as const void *, then |
7235 cast them to const string * in the body of the function. | |
7236 | |
7237 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
7238 string from buf. | |
7239 | |
2428 | 7240 * Array3.h (Array3::checkelem): Tag bogus return value with |
7241 GCC_ATTRIBUTE_UNUSED. | |
7242 * Array2.h (Array2::checkelem): Likewise. | |
7243 | |
2424 | 7244 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7245 | |
7246 * Quad.h (Quad): Define virtual destructor. | |
7247 | |
2408 | 7248 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7249 | |
7250 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
7251 | |
2401 | 7252 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7253 | |
7254 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
7255 and MAIN__ extern "C". | |
7256 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
7257 | |
2391 | 7258 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7259 | |
7260 * MArray-misc.cc: New file. | |
7261 * Makefile.in (MATRIX_SRC): Add it to the list. | |
7262 | |
7263 * mx-inlines.cc (equal): Return bool, not int. | |
7264 | |
7265 * idx-vector.h (idx_vector (double)): New constructor. | |
7266 | |
7267 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
7268 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
7269 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
7270 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
7271 CRowVector.cc: Logical operators return bool, not int. | |
7272 | |
7273 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
7274 New function. | |
7275 | |
7276 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
7277 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
7278 Matrix::all_elements_are_inf_or_nan): New functions. | |
7279 | |
7280 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
7281 | |
7282 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
7283 for errors. Simplify macros by converting FCN to string for error | |
7284 messages. | |
7285 | |
7286 * Array-idx.h (Array<T>::index): New function. Don't call | |
7287 clear_index() here. | |
7288 (Array<T>::value): Call it, do call clear_index() here. | |
7289 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
7290 one and two arg index functions. | |
7291 | |
7292 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7293 | |
7294 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
7295 separate implementation file. | |
7296 | |
2354 | 7297 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7298 | |
2358 | 7299 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
7300 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
7301 | |
2356 | 7302 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
7303 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
7304 them uniq. | |
7305 | |
2354 | 7306 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
7307 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
7308 Rewrite. Also return index as a reference arg. | |
7309 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
7310 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
7311 Delete. | |
7312 | |
7313 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
7314 Matrix::column_max, Matrix::column_min): | |
7315 Rewrite. Also return index as a reference arg. | |
7316 (Matrix::row_max_loc, Matrix::row_min_loc, | |
7317 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
7318 | |
7319 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7320 | |
7321 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
7322 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
7323 Matrix::column_min_loc, Matrix::column_max, | |
7324 Matrix::column_max_loc): Ignore leading NaNs. | |
7325 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
7326 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
7327 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
7328 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
7329 leading NaNs. | |
7330 | |
2352 | 7331 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7332 | |
7333 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
7334 starting at n, not 0. | |
7335 | |
2349 | 7336 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7337 | |
7338 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
7339 Matrix::Matrix (const ColumnVector&)): New constructors. | |
7340 | |
7341 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
7342 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
7343 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
7344 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
7345 New constructors. | |
7346 | |
7347 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
7348 New constructor. | |
7349 | |
2343 | 7350 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7351 | |
7352 * LSODE.cc (do_integrate): Check to make sure that the state and | |
7353 derivative vectors are the same size. | |
2344 | 7354 * DASSL.cc (do_integrate): Likewise. |
2343 | 7355 |
2330 | 7356 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
7357 | |
7358 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
7359 iostreams and handler data format conversions. Delete old methods | |
7360 that used stdio. | |
7361 | |
7362 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
7363 | |
7364 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7365 | |
7366 * mach-info.h: Rename from float-fmt.h. | |
7367 * mach-info.cc: Rename from float-fmt.cc. | |
7368 Handle machine information using a singlton class. | |
7369 * Makefile.in: Update appropriate lists. | |
7370 | |
7371 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7372 | |
7373 * Array-flags.cc: Provide definitions for the flags even if | |
7374 OCTAVE_SOURCE is not defined. | |
7375 | |
7376 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
7377 operator(), not elem(). | |
7378 * Array3.h: Move indexing methods here from Array3.cc. | |
7379 | |
7380 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7381 | |
7382 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
7383 | |
7384 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
7385 INSTALL_DATA for shared libs. | |
7386 | |
7387 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7388 | |
7389 * Quad.cc: Include lo-error.h here too. | |
7390 | |
7391 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7392 | |
7393 * file-ops.h: Include sys/types.h here. | |
7394 | |
7395 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7396 | |
7397 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
7398 | |
7399 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
7400 elements in result. | |
7401 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
7402 rows and columns in result. | |
7403 | |
7404 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7405 | |
7406 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
7407 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
7408 | |
7409 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7410 | |
7411 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
7412 | |
7413 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7414 | |
7415 * Makefile.in (uninstall): Also delete shared library. | |
7416 Split install into install-libs and install-includes. | |
7417 (install-inc): If linkdir is a directory, leave it alone. | |
7418 | |
7419 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
7420 | |
7421 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7422 | |
7423 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
7424 * Array2-idx.h (assign): Likewise. | |
7425 | |
7426 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7427 | |
7428 * Array2.cc (Array2<T>::range_error): New functions. | |
7429 | |
7430 * Array.h (class Array<T>): elem() and operator() are now | |
7431 equivalent, and do bounds checking by default. | |
7432 * Array2.cc (class Array2<T>): Likewise. | |
7433 | |
7434 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7435 | |
7436 * Makefile.in (maintainer-clean, distclean): Also delete | |
7437 stamp-picdir, stamp-shared, and pic directory. | |
7438 (stamp-prereq): New target. | |
7439 | |
7440 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7441 | |
7442 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
7443 New function. | |
7444 | |
7445 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
7446 * Array.h (Array<T>::checkelem): Use them. | |
7447 | |
7448 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
7449 elements too. | |
7450 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
7451 | |
7452 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
7453 | |
7454 * Makefile.in (distclean): Delete so_locations, which is created | |
7455 on DEC Alpha systems. | |
7456 | |
7457 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7458 | |
7459 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
7460 already defined. | |
7461 | |
7462 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7463 | |
7464 * pathsearch.cc: Include config.h. | |
7465 | |
7466 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7467 | |
7468 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
7469 allow M(I, J) = scalar if I or J is empty. | |
7470 | |
7471 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
7472 and Array3-idx.h). | |
7473 | |
7474 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7475 | |
7476 * lo-error.h: Make comments C friendly. | |
7477 | |
7478 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7479 | |
7480 * Array2.h (make_unique): Move all indexing functions here. | |
7481 * Array2.cc: From here. | |
7482 | |
7483 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
7484 whether operator() calls elem or checkelem. | |
7485 | |
7486 * Array.h (make_unique): New private function. | |
7487 Move all indexing functions here. | |
7488 * Array.cc: From here. | |
7489 | |
7490 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
7491 it too. | |
7492 | |
7493 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
7494 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
7495 MArray-C.cc: Include config.h. | |
7496 | |
7497 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
7498 Don't define HEAVYWEIGHT_INDEXING here. | |
7499 | |
7500 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7501 | |
7502 * base-lu.h, base-lu.cc: New files. | |
7503 * Makefile.in: Add them to the appropriate lists. | |
7504 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
7505 | |
7506 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7507 | |
7508 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
7509 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
7510 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
7511 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
7512 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
7513 | |
7514 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
7515 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
7516 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
7517 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
7518 Simplify using new macros. | |
7519 | |
7520 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7521 | |
7522 * Makefile.in (install): If $(includedir) ends in version string, | |
7523 make link to name that does not include version info. | |
7524 | |
7525 * lo-ieee.cc: Include <cmath> here. | |
7526 | |
7527 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7528 | |
7529 * lo-ieee.cc, lo-ieee.h: New files. | |
7530 * lo-mappers.cc, lo-mappers.h: New files. | |
7531 * lo-utils.cc, lo-utils.h: New files. | |
7532 * Makefile.in: Add them to the appropriate lists. | |
7533 | |
7534 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7535 | |
7536 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
7537 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
7538 | |
7539 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
7540 float-fmt.cc: New files. | |
7541 * Makefile.in: Include them in the appropriate lists. | |
7542 | |
7543 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7544 | |
7545 * dMatrix.cc (Qzval): New function. | |
7546 | |
7547 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7548 | |
7549 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
7550 char*. | |
7551 | |
7552 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
7553 Use F77_XFCN to call Fortran subroutine. | |
7554 * dColVector.cc, CColVector.cc: Likewise. | |
7555 * dRowVector.cc, CRowVector.cc: Likewise. | |
7556 * NPSOL.h, NPSOL.cc: Likewise. | |
7557 * CmplxCHOL.cc: Likewise. | |
7558 * dbleCHOL.cc: Likewise. | |
7559 * CMatrix.cc: Likewise. | |
7560 * dMatrix.cc: Likewise. | |
7561 * QPSOL.cc: Likewise. | |
7562 * LSODE.cc: Likewise. | |
7563 | |
7564 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7565 | |
7566 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
7567 | |
7568 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
7569 workspace. Use F77_XFCN to call Fortran subroutine. | |
7570 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
7571 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
7572 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
7573 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
7574 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
7575 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
7576 * dbleHESS.h, dbleHESS.cc: Likewise. | |
7577 * dbleSVD.h, dbleSVD.cc: Likewise. | |
7578 * EIG.h, EIG.cc; Likewise. | |
7579 * CollocWt.cc: Likewise. | |
7580 * NLEqn.cc: Likewise. | |
7581 * Quad.cc: Likewise. | |
7582 | |
7583 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7584 | |
7585 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
7586 Use F77_XFCN to call Fortran subroutine. | |
7587 * CmplxLU.h, CmplxLU.cc: Ditto. | |
7588 * dbleQR.h, dbleQR.cc: Ditto. | |
7589 * CmplxQR.h, CmplxQR.cc: Ditto. | |
7590 * dbleQRP.h, dbleQRP.cc: Ditto. | |
7591 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
7592 | |
7593 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
7594 (struct DIR): delete forward declaration. | |
7595 (dir_entry::operator = (const dir_entry$)): Protect against | |
7596 copying same object. | |
7597 * dir-ops.cc: Cast dir appropriately. | |
7598 | |
7599 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7600 | |
7601 * lo-error.cc: Moved to libcruft/misc. | |
7602 * Makefile.in: Delete it from the list. | |
7603 | |
7604 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
7605 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
7606 | |
7607 * Array-flags.h: New file. | |
7608 * Array-idx.h: Include it here. | |
7609 * Makefile.in (MATRIX_INC): Add it to the list. | |
7610 | |
7611 * Array-flags.cc: Renamed from Array-ext.cc. | |
7612 (liboctave_dfi_flag): Renamed from dfi_flag. | |
7613 (liboctave_pcv_flag): Renamed from pcv_flag. | |
7614 (liboctave_pzo_flag): Renamed from pzo_flag. | |
7615 (liboctave_rre_flag): Renamed from rre_flag. | |
7616 * Array-idx.h: Change all uses of dfi_flag, etc. | |
7617 * Makefile.in (MATRIX_SRC): Change file name here too. | |
7618 | |
7619 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
7620 (stamp-shared): Use them here. | |
7621 | |
7622 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7623 | |
7624 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
7625 argument value. | |
7626 | |
7627 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7628 | |
7629 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
7630 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
7631 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
7632 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
7633 Clean up constructors, assigment operator. | |
7634 | |
7635 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7636 | |
7637 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
7638 Check f77_exception_encountered on return. | |
7639 | |
7640 * f77-fcn.c (f77_exception_encountered): New variable. | |
7641 (F77_XFCN): Set it. | |
7642 * f77-fcn.h: Provide declaration. | |
7643 | |
7644 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
7645 | |
7646 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
7647 | |
7648 * NLEqn.h (NLEqn_options::set_options): New function. | |
7649 * Quad.h (Quad_options::set_options): Likewise. | |
7650 | |
7651 * LP.h (class LP): Add accessors for LP data. | |
7652 | |
7653 * NLEqn.h (NLEqn::n): Delete. | |
7654 | |
7655 * NLEqn.h (class NLEqn::n): Likewise. | |
7656 | |
7657 * NLP.h (class NLP): Add accessors for NLP data. | |
7658 | |
7659 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
7660 access functions here. | |
7661 * NPSOL.cc.cc: From here. | |
7662 | |
7663 * QLD.h (class QLD): Add destructor definition. | |
7664 * Objective.h (class Objective): Likewise. | |
7665 * ODEFunc.h (class ODEFunc): Likewise. | |
7666 * NLFunc.h (class NLFunc): Likewise. | |
7667 * NLEqn.h (class NLEqn): Likewise. | |
7668 * NLConst.h (class NLConst): Likewise. | |
7669 * LinConst.h (class LinConst): Likewise. | |
7670 * LSODE.h (class LSODE_options): Likewise. | |
7671 * CollocWt.h (class CollocWt): Likewise. | |
7672 * Bounds.h (class Bounds): Likewise. | |
7673 | |
7674 * QLD.cc (QLD::set_default_options): Delete. | |
7675 | |
7676 * QP.h (QP): Add accessors for QP data. | |
7677 Add copy constructor, operator =, and destructor definitions. | |
7678 | |
7679 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
7680 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
7681 DAEFunc.h, CollocWt.h, Bounds.h: | |
7682 Clean up constructors, assigment operator. | |
7683 | |
7684 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
7685 counting to avoid duplicating the data immediately. | |
7686 * dColVector.cc (ColumnVector::transpose): Likewise. | |
7687 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
7688 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
7689 | |
7690 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7691 | |
7692 * prog-args.h (prog_args::option_argument): New enum. | |
7693 | |
7694 * f77-fcn.h: Rename from f77-uscore.h. | |
7695 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
7696 * f77-fcn.c: New file. | |
7697 * Makefile.in (SOURCES): Add it to the list. | |
7698 | |
7699 * ODEFunc.h: Clean up. | |
7700 | |
7701 * DASSL.cc, DASSL.h: New files. | |
7702 * Makefile.in: Add them to the appropriate lists. | |
7703 | |
7704 * LSODE.cc, LSODE.h: New files. | |
7705 * Makefile.in: Add them to the appropriate lists. | |
7706 | |
7707 * ODE.cc: Delete. | |
7708 * Makefile.in (SOURCES): Remove from list. | |
7709 | |
7710 * base-de.h, DAE.cc: New files. | |
7711 * Makefile.in: Add them to the appropriate lists. | |
7712 * ODE.h: Only define interface for ODE classes. | |
7713 * DAE.h: Only define interface for ODE classes. | |
7714 | |
7715 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
7716 (LPsolve::set_default_options)): Delete | |
7717 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
7718 destructor. | |
7719 | |
7720 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
7721 | |
7722 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
7723 (QPSOL::operator =): Call base class operator = instead of assuming | |
7724 we know what to copy. | |
7725 | |
7726 * base-min.h (size): New function. | |
7727 | |
7728 * NLP.h (NLP::size): Delete. | |
7729 (NLP::NLP (const NLP&)): New constructor. | |
7730 (NLP::operator =): Call base class operator = instead of assuming | |
7731 we know what to copy. | |
7732 | |
7733 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
7734 (class NPSOL): Add operator = and destructor. | |
7735 | |
7736 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
7737 | |
7738 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7739 | |
7740 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
7741 | |
7742 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7743 | |
7744 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
7745 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
7746 | |
7747 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7748 | |
7749 * prog-args.h, prog-args.cc: New files. | |
7750 * Makefile.in: Add them to lists. | |
7751 | |
7752 * getopt.h, getopt.c, getopt1.c: New files. | |
7753 * Makefile.in: Add them to the lists. | |
7754 | |
7755 * oct-term.h, oct-term.cc: New files. | |
7756 * Makefile.in: Add them to the lists. | |
7757 | |
7758 * str-vec.cc: New file. | |
7759 * Makefile.in (SOURCES): Add it to the list. | |
7760 | |
7761 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
7762 | |
7763 * tempname.c, tempnam.c: Move here from src directory. | |
7764 * Makefile.in: Add to lists. | |
7765 | |
7766 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7767 | |
7768 * cmd-hist.h, cmd-hist.cc: New files. | |
7769 * Makefile.in: Add them to lists. | |
7770 | |
7771 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7772 | |
7773 * oct-glob.h, oct-glob.cc: New files. | |
7774 * Makefile.in: Add them to lists. | |
7775 | |
7776 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7777 | |
7778 * pathsearch.h, pathsearch.cc: New files. | |
7779 * Makefile.in: Add them to lists. | |
7780 | |
7781 * dir-ops.h, dir-ops.cc: New files. | |
7782 * sysdir.h: Move here from src directory. | |
7783 * Makefile.in: Add them to lists. | |
7784 | |
7785 * Array.h (Array::qsort): Return *this, not void. | |
7786 * str-vec.h (string_vector::qsort): Likewise. | |
7787 | |
7788 * chMatrix.cc (row_as_string): Resize result to eliminate | |
7789 unnecessary NULs. | |
7790 | |
7791 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7792 | |
7793 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
7794 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
7795 Files moved here from src directory. | |
7796 * Makefile.in: Add them to lists. Include appropriate rules. | |
7797 | |
7798 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7799 Use pointers, not references (this is C code!). | |
7800 | |
7801 * oct-math.h: New file. | |
7802 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
7803 Files moved here from src directory. | |
7804 * Makefile.in: Add them to lists. | |
7805 | |
7806 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7807 | |
7808 * idx-vector.cc (make_uniq): Fix major brain-o. | |
7809 | |
7810 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
7811 Convert to use string class instead of char*. | |
7812 | |
7813 * str-vec.h, Array-str.cc: New files. | |
7814 | |
7815 * Array.h (Array::qsort): New function. | |
7816 | |
7817 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7818 | |
7819 * Array.h: Nest ArrayRep class inside Array class. | |
7820 Refer to ArrayRep, not ArrayRep<T>. | |
7821 Move all ArrayRep functions inline. | |
7822 Don't declare other Array classes as friends of ArrayRep. | |
7823 * Array.cc: Delete ArrayRep functions. | |
7824 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
7825 | |
7826 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
7827 Don't instantiate ArrayRep objects. | |
7828 | |
7829 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7830 | |
7831 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
7832 New constructor. | |
7833 | |
7834 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7835 | |
7836 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
7837 for balance_job arg. | |
7838 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
7839 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
7840 | |
7841 * chMatrix.cc (row_as_string): Return string, not const char*. | |
7842 | |
7843 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7844 | |
7845 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
7846 | |
7847 * chMatrix.cc (row_as_string): Undo previous change. | |
7848 | |
7849 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7850 | |
7851 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
7852 is expected to save string if necessary. | |
7853 | |
7854 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7855 | |
7856 * Array.h (class DiagArray): Enable nested Proxy class for all | |
7857 platforms. | |
7858 | |
7859 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
7860 a.rep, don't mess with count. | |
7861 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
7862 don't do anything if reps are the same. | |
7863 (Array3<T>& operator = (const Array3<T>&) | |
7864 | |
7865 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
7866 Declare private with no definition to prevent misuse. | |
7867 | |
7868 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
7869 Get range check right. | |
7870 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
7871 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
7872 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7873 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
7874 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
7875 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
7876 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
7877 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
7878 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
7879 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
7880 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
7881 * dColVector.cc | |
7882 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7883 * CRowVector.cc | |
7884 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
7885 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
7886 * CColVector.cc | |
7887 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
7888 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
7889 | |
7890 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
7891 Also fill in zeros, not just the diagonal. | |
7892 | |
7893 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
7894 Use END parameter properly. | |
7895 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
7896 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
7897 | |
7898 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
7899 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
7900 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
7901 Don't copy count. Set it to 1. | |
7902 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
7903 | |
7904 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
7905 don't set rep->count to 1 here (now handled by ArrayRep | |
7906 constructors). | |
7907 (Array<T>::Array (void)): Ditto. | |
7908 (Array<T>::Array (int)): Ditto. | |
7909 (Array<T>::T& elem (int)): Ditto. | |
7910 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
7911 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
7912 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
7913 (Array<T>::resize (int)): Ditto. | |
7914 (Array<T>::resize (int, const T&)) :Ditto. | |
7915 (Array<T>::fortran_vec (void)): Ditto. | |
7916 (Array2<T>::resize (int, int)): Ditto. | |
7917 (Array2<T>::resize (int, int, const T&)): Ditto. | |
7918 (DiagArray<T>::resize (int, int)): Ditto. | |
7919 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
7920 | |
7921 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7922 | |
7923 * Array-ch.cc: Rename from Array-c.cc. | |
7924 * MArray-ch.cc: Rename from MArray-c.cc. | |
7925 * chMatrix.cc: Rename from cMatrix.cc. | |
7926 * chMatrix.h: Rename from cMatrix.h. | |
7927 * Makefile.in (TI_SRC): Use new names here. | |
7928 * mx-base.h: Likewise. | |
7929 | |
7930 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7931 | |
7932 * Makefile.in: Handle shared libraries. | |
7933 | |
7934 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7935 | |
7936 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
7937 Correctly compute length of return value. Correct rows and | |
7938 columns in zgemv call. | |
7939 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
7940 | |
7941 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7942 | |
7943 * Makefile.in (stamp-picdir): New target. | |
7944 (all): Depend on it. | |
7945 | |
7946 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7947 | |
7948 * Makefile.in (INCLUDES): Remove QLD.h. | |
7949 (SOURCES): Remove QLD.cc. | |
7950 | |
7951 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7952 | |
7953 * dMatrix.cc (Matrix::inverse): New arg, force. | |
7954 If force is nonzero, invert even if matrix is singular. | |
7955 (ComplexMatrix::inverse): Likewise. | |
7956 | |
7957 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
7958 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
7959 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
7960 Include "oct-cmplx.h" instead of <Complex.h>. | |
7961 | |
7962 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
7963 for class Complex. | |
7964 | |
7965 * oct-cmplx.h: New file. | |
7966 * Makefile.in (INCLUDES): Add it to the list. | |
7967 | |
7968 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
7969 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
7970 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
7971 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
7972 Avoid g++ bugs. | |
7973 | |
7974 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7975 | |
7976 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
7977 | |
7978 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
7979 | |
7980 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7981 | |
7982 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
7983 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
7984 | |
7985 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7986 | |
7987 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
7988 index vector object with Array, not ArrayRep. | |
7989 | |
7990 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7991 | |
7992 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
7993 if index is a colon and resizing is maybe needed. | |
7994 | |
7995 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
7996 | |
7997 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
7998 if we have a vector of 1's. | |
7999 | |
8000 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
8001 current orientation, require index and rhs to conform unless | |
8002 do_fortran_indexing flag is set. | |
8003 | |
8004 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8005 | |
8006 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
8007 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
8008 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
8009 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
8010 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
8011 Massive changes to support additional data types. Only charMatrix | |
8012 is currently used in Octave. | |
8013 | |
8014 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8015 | |
8016 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
8017 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
8018 Simply call Array2<Complex> version. | |
8019 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
8020 call Array2<double> version. | |
8021 | |
8022 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
8023 | |
8024 * Array.h, Array.cc: Massive overhaul to support new way of | |
8025 handling indexing. | |
8026 * idx-vector.h, idx-vector.cc: Likewise. | |
8027 * Array-ext.cc, Array-idx.h: New files. | |
8028 * Makefile.in: Add them to the appropriate lists. | |
8029 | |
8030 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8031 | |
8032 * Range.cc (nelem_internal): Use tfloor here, not round. | |
8033 | |
8034 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8035 | |
8036 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
8037 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
8038 | |
8039 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8040 | |
8041 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
8042 | |
8043 * Array.h: Move simple member functions here. | |
8044 * Array.cc: From here. | |
8045 | |
8046 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8047 | |
8048 * Range.cc (tfloor, tceil, round): New static functions. | |
8049 (Range::nelem_internal): Rewrite to use better method. | |
8050 | |
8051 * dbleSVD.h (SVD::type): New item, sigma_only. | |
8052 (type_computed): New var. | |
8053 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
8054 Handle possible error condition. | |
8055 (init): Allow for SVD::sigma_only, save type computed. | |
8056 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
8057 Handle possible error condition. | |
8058 (init): Allow for SVD::sigma_only, save type computed. | |
8059 | |
8060 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8061 | |
8062 * Nearly all non-matrix .h and .cc files: | |
8063 Move short function bodies into class declarations for inlining. | |
8064 Generally clean up. | |
8065 | |
8066 * base-min.h: New file. | |
8067 * LP.h (class LP): Derive from base_minimizer. | |
8068 * QLP.h (class QLP): Derive from base_minimizer. | |
8069 * NLP.h (class NLP): Derive from base_minimizer. | |
8070 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
8071 | |
8072 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
8073 NLFunc.cc, Objective.cc and QP.cc from list. | |
8074 | |
8075 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8076 | |
8077 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
8078 (SCHUR::SCHUR): Delete unused parameter ord. | |
8079 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
8080 | |
8081 * CRowVector.cc | |
8082 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
8083 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
8084 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
8085 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
8086 Actually do something. | |
8087 | |
8088 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
8089 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
8090 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
8091 | |
8092 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
8093 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
8094 tolerances. | |
8095 | |
8096 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
8097 * LPsolve.cc (LPsolve::minimize): Likewise. | |
8098 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
8099 * ODE.cc (lsode_f, lsode_j): Likewise. | |
8100 * QPSOL.cc (qphess): Likewise. | |
8101 | |
8102 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8103 | |
8104 * dMatrix.cc: Include <cstring>. | |
8105 | |
8106 * Array.cc: Try harder to avoid warnings from gcc in functions | |
8107 that return bogus values after calling the error handler. | |
8108 | |
8109 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8110 | |
8111 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
8112 | |
8113 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
8114 | |
8115 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8116 | |
8117 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
8118 (dassl_j): Likewise. | |
8119 | |
8120 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
8121 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
8122 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
8123 Update for change in for loop variable scope for gcc 2.7.0. | |
8124 | |
8125 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
8126 | |
8127 * Makefile.in: Only include dependency files if $(omit_deps) is | |
8128 not set. | |
8129 | |
8130 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
8131 | |
8132 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
8133 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
8134 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
8135 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
8136 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
8137 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
8138 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
8139 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
8140 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
8141 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
8142 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
8143 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
8144 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
8145 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
8146 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
8147 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
8148 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
8149 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
8150 NLP.h: Use pragma interface/implementation. Don't surround | |
8151 contents in extern "C++". | |
8152 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
8153 | |
8154 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8155 | |
8156 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
8157 identifiers. | |
8158 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8159 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8160 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8161 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8162 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8163 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8164 Quad.cc: Change usage of F77_FCN to match new definition | |
8165 | |
8166 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
8167 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
8168 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
8169 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
8170 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
8171 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
8172 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
8173 args by reference instead of pointer. Change all callers. | |
8174 | |
8175 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8176 | |
8177 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
8178 functions. Make += and -= operators friend functions. | |
8179 | |
8180 * Array.h (Array2::~Array2, Array3::~Array3, | |
8181 DiagArray::~DiagArray): New functions. | |
8182 | |
8183 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8184 | |
8185 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
8186 (MATRIX_INC): Don't distribute mx-kludge.h. | |
8187 | |
8188 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8189 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8190 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8191 dRowVector.h dRowVector.cc: | |
8192 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
8193 Array2, and DiagArray2. | |
8194 Don't use functions defined in mx-kludge.cc for arithmetic | |
8195 like-type operations on arrays. | |
8196 | |
8197 * MArray.cc: Use the classes defined here like-type mathematical | |
8198 operations on Array objects. Abuse CPP more. | |
8199 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
8200 (EXTRAS): Delete it from this list. | |
8201 | |
8202 * MArray-C.cc, MArray-d.cc: New files. | |
8203 * Makefile.in (TI_SRC): Add them to the list. | |
8204 | |
8205 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8206 | |
8207 * mx-kludge.cc: Abuse CPP even more. | |
8208 | |
8209 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8210 | |
8211 * Objective.h (objective_function): Add missing const. | |
8212 (gradient_function): Likewise. | |
8213 | |
8214 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
8215 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
8216 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
8217 dRowVector.h dRowVector.cc: | |
8218 Reorganize to declare and define friends where they should be, | |
8219 based on the use of private constructors. | |
8220 | |
8221 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
8222 | |
8223 * CRowVector.h (linspace): Add declaration. | |
8224 * dRowVector.h (linspace): Likewise. | |
8225 | |
8226 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
8227 Force result of rcond + 1.0 to be stored. | |
8228 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
8229 ComplexMatrix::solve): Likewise. | |
8230 | |
8231 See ChangeLog.1 in the top level directory for earlier changes. |