5438
|
1 2005-09-04 David Bateman <dbateman@free.fr> |
|
2 |
|
3 * COLAMD: Update version of colamd to v2.4. |
|
4 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
5 colamd.c for long version. |
|
6 |
5429
|
7 2005-08-25 David Bateman <dbateman@free.fr> |
|
8 |
|
9 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
10 mixed sparse/full multiply. |
|
11 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
12 mixed sparse/full multiply. |
|
13 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
14 mixed sparse/full multiply operators. |
|
15 |
5420
|
16 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
17 |
|
18 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
19 avoid warnings for unsigned types. |
|
20 |
5404
|
21 2005-07-07 John W. Eaton <jwe@octave.org> |
|
22 |
|
23 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
24 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
25 |
5392
|
26 2005-06-15 John W. Eaton <jwe@octave.org> |
|
27 |
5394
|
28 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
29 Flush stdout here. |
|
30 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
31 |
5392
|
32 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
33 |
5386
|
34 2005-06-14 John W. Eaton <jwe@octave.org> |
|
35 |
5389
|
36 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
37 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
38 octave_is_NaN_or_NA to xisnan. |
|
39 |
|
40 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
41 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
42 |
|
43 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
44 lo_ieee_isnan. |
|
45 |
5387
|
46 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
47 value is greater than FLT_MAX. |
|
48 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
49 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
50 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
51 |
|
52 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
53 values too. |
|
54 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
55 |
|
56 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
57 NA, Inf values. |
|
58 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
59 |
5385
|
60 2005-06-14 David Bateman <dbateman@free.fr> |
|
61 |
5387
|
62 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
63 NA values. |
|
64 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
65 |
5379
|
66 2005-06-02 John W. Eaton <jwe@octave.org> |
|
67 |
|
68 * Array.cc (assignN): Try harder to correctly resize previously |
|
69 empty LHS. |
|
70 |
5351
|
71 2005-05-16 David Bateman <dbateman@free.fr> |
|
72 |
|
73 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
74 * CSparse.h: ditto. |
|
75 |
5346
|
76 2005-05-10 David Bateman <dbateman@free.fr> |
|
77 |
|
78 * dSparse.cc (determinant): Free numeric factorization after |
|
79 sucessful calculation. |
|
80 * CSparse.cc (determinant): ditto. |
|
81 |
5340
|
82 2005-05-06 John W. Eaton <jwe@octave.org> |
|
83 |
|
84 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
85 chol_mat. |
|
86 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
87 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
88 Provide decls. |
|
89 |
|
90 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
91 indexing chol_mat. |
|
92 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
93 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
94 Provide decls. |
|
95 |
5338
|
96 2005-05-05 John W. Eaton <jwe@octave.org> |
|
97 |
|
98 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
99 retval before return. |
|
100 |
5336
|
101 2005-05-04 John W. Eaton <jwe@octave.org> |
|
102 |
|
103 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
104 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
105 |
5330
|
106 2005-05-02 John W. Eaton <jwe@octave.org> |
|
107 |
|
108 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
109 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
110 |
5322
|
111 2005-04-29 David Bateman <dbateman@free.fr> |
|
112 |
5330
|
113 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
114 double. Correct indexing for upper diagonal elements for sparse |
|
115 tridiagonal. |
5322
|
116 * CSparse.cc (trisolve): ditto. |
|
117 |
5330
|
118 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
119 UMFPACK for 64-bit. |
5322
|
120 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
121 UMFPACK_ZNAME(*). |
|
122 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
123 |
5330
|
124 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
125 UMFPACK for 64-bit. |
5322
|
126 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
127 UMFPACK_DNAME(*). |
|
128 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
129 |
5330
|
130 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
131 triangular back/forward substitution code. |
5322
|
132 * CSparse.cc (ltsolve, utsolve): ditto. |
|
133 |
5330
|
134 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
135 from spparms("spumoni",1). |
5322
|
136 * CSparse.cc (solve): ditto |
|
137 |
5330
|
138 * SparseType.cc (SparseType(void)): Print info for |
|
139 spparms("spumoni",1). |
5322
|
140 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
141 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
142 const octave_idx_type, const octave_idx_type)): New constructors. |
|
143 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
144 Detect row permuted lower triangular and column permuted upper |
|
145 triangular matrices. Remove one of the permutation vectors.. |
5322
|
146 |
|
147 * SparseType.h: Simplify the permutation code. |
|
148 (SparseType(const matrix_type), SparseType |
|
149 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
150 SparseType(const matrix_type, const octave_idx_type, |
|
151 const octave_idx_type)): Declarations. |
|
152 |
5304
|
153 2005-04-25 John W. Eaton <jwe@octave.org> |
|
154 |
|
155 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
156 array and its contents. |
|
157 |
5303
|
158 2005-04-22 John W. Eaton <jwe@octave.org> |
|
159 |
|
160 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
161 const here now that rl_terminal_name is declared const char*. |
|
162 |
5294
|
163 2005-04-21 John W. Eaton <jwe@octave.org> |
|
164 |
|
165 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
166 |
5285
|
167 2005-04-19 John W. Eaton <jwe@octave.org> |
|
168 |
|
169 * Array.cc (assignN): Don't crash if the index list is empty. |
|
170 |
5282
|
171 2005-04-14 David Bateman <dbateman@free.fr> |
|
172 |
|
173 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
174 * SparsedbleLU.cc: Ditto. |
|
175 * SparseCmplxLU.h: Definition. |
|
176 * SparsedbleLU.h: ditto. |
|
177 |
|
178 * SparseType.cc (transpose): New function. |
|
179 * SparseType.h (transpose): Definition. |
|
180 |
5278
|
181 2005-04-11 John W. Eaton <jwe@octave.org> |
|
182 |
|
183 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
184 fortran code that could end up calling XSTOPX. |
|
185 |
5277
|
186 2005-04-10 David Bateman <dbateman@free.fr> |
|
187 |
|
188 * Makefile.in: include oct-types in INCLUDES so that it is |
|
189 installed |
|
190 |
5275
|
191 2005-04-08 John W. Eaton <jwe@octave.org> |
|
192 |
5276
|
193 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
194 |
5275
|
195 * Initial merge of 64-bit changes from Clinton Chee: |
|
196 |
|
197 2005-04-07 John W. Eaton <jwe@octave.org> |
|
198 |
|
199 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
200 |
|
201 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
202 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
203 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
204 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
205 Use octave_idx_type instead of int where needed. |
|
206 |
|
207 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
208 |
|
209 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
210 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
211 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
212 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
213 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
214 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
215 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
216 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
217 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
218 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
219 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
220 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
221 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
222 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
223 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
224 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
225 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
226 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
227 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
228 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
229 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
230 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
231 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
232 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
233 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
234 str-vec.cc, str-vec.h: |
|
235 Use octave_idx_type instead of int where needed. |
|
236 |
|
237 2005-04-01 John W. Eaton <jwe@octave.org> |
|
238 |
|
239 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
240 |
|
241 * oct-types.h.in: New file. |
|
242 |
|
243 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
244 |
|
245 * lo-utils.cc (NINTbig): New function. |
|
246 * lo-utils.h: Provide decl. |
|
247 |
5269
|
248 2005-04-06 David Bateman <dbateman@free.fr> |
|
249 |
|
250 * Makefile.in: Link to UMFPACK_LIBS. |
|
251 |
5265
|
252 2005-04-05 John W. Eaton <jwe@octave.org> |
|
253 |
|
254 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
255 |
5264
|
256 2005-04-01 John W. Eaton <jwe@octave.org> |
|
257 |
|
258 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
259 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
260 when resizing A. When performing the assignment, just check that |
|
261 the number of elements in RHS matches the number of elements |
|
262 indexed by IDX-LIST. |
|
263 |
5260
|
264 2005-03-30 John W. Eaton <jwe@octave.org> |
|
265 |
5261
|
266 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
267 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
268 |
|
269 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
270 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
271 wrappers from oct-cmplx.h. |
5260
|
272 |
|
273 * oct-cmplx.h: Provide typedef only. |
|
274 |
|
275 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
276 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
277 Likewise. |
|
278 |
5247
|
279 2005-03-26 John W. Eaton <jwe@octave.org> |
|
280 |
|
281 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
282 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
283 |
5209
|
284 2005-03-15 John W. Eaton <jwe@octave.org> |
|
285 |
|
286 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
287 |
5203
|
288 2005-03-14 John W. Eaton <jwe@octave.org> |
|
289 |
|
290 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
291 (DISTDIRS): Don't include UMFPACK. |
|
292 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
293 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
294 flags for these files. |
|
295 Don't include include $(srcdir)/UMFPACK.files. |
|
296 Don't include include $(srcdir)/UMFPACK.rules. |
|
297 |
|
298 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
299 Delete files. |
|
300 * UMFPACK: Delete directory tree. |
|
301 |
|
302 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
303 * CSparse.cc: Likewise. |
|
304 * SparsedbleLU.cc: Likewise. |
|
305 * SparseCmplxLU.cc: Likewise. |
|
306 |
|
307 2005-03-14 David Bateman <dbateman@free.org> |
|
308 |
|
309 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
310 Allow compilation to succeed if UMFPACK is not available. |
|
311 |
5196
|
312 2005-03-09 John W. Eaton <jwe@octave.org> |
|
313 |
|
314 * Makefile.in (bin-dist): Delete target. |
|
315 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
316 |
5173
|
317 2005-03-01 John W. Eaton <jwe@octave.org> |
|
318 |
|
319 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
320 * Makefile.in: Remove them from the lists. |
|
321 |
5169
|
322 2005-02-28 John W. Eaton <jwe@octave.org> |
|
323 |
|
324 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
325 |
5167
|
326 2005-02-27 David Bateman <dbateman@free.org> |
|
327 |
5169
|
328 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
329 in the sparse matrix. |
5167
|
330 |
5164
|
331 2005-02-25 John W. Eaton <jwe@octave.org> |
|
332 |
|
333 Sparse merge. |
|
334 |
|
335 2005-02-13 David Bateman <dbateman@free.fr> |
|
336 |
|
337 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
338 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
339 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
340 solver into separate functions for the diagonal, upper, lower |
|
341 triangular, tridiagonal, banded and full cases. |
|
342 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
343 version that probes the matrix type and another that assumes the type |
|
344 is passed. |
|
345 |
|
346 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
347 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
348 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
349 (SparseMatrix::solve): Likewise |
|
350 |
|
351 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
352 Declaration of new functions |
|
353 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
354 Likewise |
|
355 |
|
356 * CSparse.cc (operator !): Reverse the sense of the test. |
|
357 * dSpase.cc (operator !): Likewise |
|
358 |
|
359 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
360 triangular_col_perm, sparse_info): Remove matrix type code |
|
361 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
362 triangular_col_perm, sparse_info): Likewise |
|
363 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
364 triangular_col_perm, sparse_info): Likewise |
|
365 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
366 triangular_col_perm, sparse_info): Likewise |
|
367 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
368 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
369 |
|
370 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
371 |
|
372 * SparseType.h: New class for the matrix type used in solvers |
|
373 * SparseType.cc: methods of sparse matrix type class |
|
374 |
|
375 * Makefile.in: Add SparseType.cc |
|
376 |
|
377 2005-02-01 David Bateman <dbateman@free.fr> |
|
378 |
|
379 * UMFPACK: Update to version 4.4 |
|
380 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
381 keep octave specific test files |
|
382 |
|
383 2005-01-23 David Bateman <dbateman@free.fr> |
|
384 |
|
385 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
386 tridiagonal and banded cholesky solvers. Remove calculation of |
|
387 condition number for banded solvers. |
|
388 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
389 |
|
390 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
391 new functions. |
|
392 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
393 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
394 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
395 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
396 ditto |
|
397 |
|
398 * Sparse.cc (int Sparse<T>::type (int) const, |
|
399 bool Sparse<T>::is_dense (void) const): New functions definition |
|
400 |
|
401 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
402 so it actually is cached, but disable |
|
403 |
|
404 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
405 for compatiability |
|
406 |
|
407 2005-01-18 David Bateman <dbateman@free.fr> |
|
408 |
|
409 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
410 Modify calculation of number elements to skip between copied blocks. |
|
411 |
|
412 2005-01-07 David Bateman <dbateman@free.fr> |
|
413 |
|
414 * Sparse.h : Reverse definitions of numel and nelem. |
|
415 * Sparse.cc (assign1): Use numel and not nelem |
|
416 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
417 |
|
418 2005-01-07 David Bateman <dbateman@free.fr> |
|
419 |
|
420 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
421 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
422 ComplexDET |
|
423 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
424 by DET |
|
425 * dSparse.h (determinant): ditto |
|
426 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
427 SparseComplexDET by ComplexDET |
|
428 * CSparse.h (determinant): ditto |
|
429 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
430 SparseCmplxDET.cc: delete files |
|
431 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
432 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
433 |
|
434 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
435 local variable to avoid variable shadowing. |
|
436 * dSparse.cc (SparseMatrix::solve): ditto. |
|
437 |
|
438 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
439 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
440 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
441 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
442 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
443 sparse-sort.h: Remove additional licensing clause with authors |
|
444 permission. |
|
445 |
|
446 2004-12-30 John W. Eaton <jwe@octave.org> |
|
447 |
|
448 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
449 Loop counter is int, not size_t. |
|
450 |
|
451 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
452 |
|
453 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
454 |
|
455 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
456 Delete unused variables. |
|
457 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
458 variables and variables that might be clobbered by longjmp. |
|
459 |
|
460 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
461 min, max): Delete unused variables. |
|
462 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
463 variables and variables that might be clobbered by longjmp. |
|
464 |
|
465 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
466 |
|
467 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
468 Loop counter is int, not size_t. |
|
469 |
|
470 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
471 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
472 |
|
473 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
474 lists consistently. |
|
475 |
|
476 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
477 |
|
478 2004-12-29 John W. Eaton <jwe@octave.org> |
|
479 |
|
480 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
481 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
482 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
483 $(UMFPACK_EXTRAS) to the list. |
|
484 (DISTDIRS): New variable. |
|
485 (dist): Handle $(DISTDIRS). |
|
486 |
|
487 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
488 Andy Adler <adler@site.uottawa.ca>. |
|
489 |
|
490 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
491 |
|
492 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
493 without directory prefix. |
|
494 |
|
495 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
496 $(UMFPACK_OBJ) to the list. |
|
497 |
|
498 * COLAMD: New directory. |
|
499 * COLAMD.files: New file. |
|
500 * Makefile.in: Include COLAMD.files. |
|
501 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
502 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
503 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
504 |
|
505 * UMFPACK: New directory. |
|
506 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
507 New files. |
|
508 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
509 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
510 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
511 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
512 |
|
513 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
514 (INCLUDES): Add it to the list. |
|
515 (SPARSE_MX_OP_SRC): New variable. |
|
516 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
517 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
518 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
519 |
|
520 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
521 * Makefile.in (DISTFILES): Add them to the lists. |
|
522 |
|
523 * oct-spparms.h, sparse-sort.h: New files. |
|
524 * Makefile.in (INCLUDES): Add them to the list. |
|
525 |
|
526 * oct-spparms.cc, sparse-sort.cc: New files. |
|
527 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
528 |
|
529 * sparse-base-lu.cc: New file. |
|
530 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
531 |
|
532 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
533 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
534 SparsedbleLU.cc: New files. |
|
535 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
536 |
|
537 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
538 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
539 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
540 Sparse-op-defs.h: New files. |
|
541 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
542 |
|
543 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
544 Sparse-C.cc: New files. |
|
545 * Makefile.in (TI_SRC): Add them to the list. |
|
546 |
5149
|
547 2005-02-18 John W. Eaton <jwe@octave.org> |
|
548 |
|
549 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
550 Pass current directory to octave_env::make_absolute. |
|
551 Save value returned from octave_env::make_absolute in local var. |
|
552 Pass const char*, not std::string as first arg of resolvepath. |
|
553 Provide decl for resolved_len. |
|
554 |
5148
|
555 2005-02-18 John W. Eaton <jwe@octave.org> |
|
556 |
|
557 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
558 than number of dimenensions of permuted matrix. |
|
559 |
|
560 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
561 * Array-util.cc (calc_permutated_idx): Likewise. |
|
562 |
5139
|
563 2005-02-10 David Bateman <dbateman@free.fr> |
|
564 |
|
565 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
566 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
567 |
5137
|
568 2005-02-09 John W. Eaton <jwe@octave.org> |
|
569 |
5138
|
570 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
571 * file-ops.h: Provide decls. |
|
572 |
5137
|
573 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
574 |
5136
|
575 2005-02-08 John W. Eaton <jwe@octave.org> |
|
576 |
|
577 * Array-util.cc (freeze): Improve error message. |
|
578 |
5120
|
579 2005-01-26 David Bateman <dbateman@free.fr> |
|
580 |
5121
|
581 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
582 special case for fast concatenation. |
5120
|
583 |
5110
|
584 2005-01-18 John W. Eaton <jwe@octave.org> |
|
585 |
|
586 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
587 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
588 |
|
589 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
590 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
591 |
5108
|
592 2005-01-18 David Bateman <dbateman@free.fr> |
|
593 |
|
594 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
595 Modify calculation of number elements to skip between copied blocks. |
|
596 |
|
597 2005-01-18 John W. Eaton <jwe@octave.org> |
|
598 |
|
599 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
600 error handler, to warn about resizing. |
|
601 |
5105
|
602 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
603 |
|
604 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
605 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
606 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
607 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
608 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
609 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
610 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
611 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
612 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
613 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
614 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
615 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
616 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
617 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
618 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
619 Delete #pragma implementation. |
|
620 |
|
621 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
622 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
623 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
624 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
625 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
626 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
627 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
628 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
629 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
630 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
631 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
632 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
633 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
634 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
635 Delete #pragma interface. |
|
636 |
5098
|
637 2004-12-17 John W. Eaton <jwe@octave.org> |
|
638 |
|
639 * lo-cieee.c (lo_ieee_signbit): New function. |
|
640 * lo-ieee.h: Provide decl. |
|
641 Don't define lo_ieee_signbit as a macro here. |
|
642 From Orion Poplawski <orion@cora.nwra.com>. |
|
643 |
5085
|
644 2004-11-18 John W. Eaton <jwe@octave.org> |
|
645 |
|
646 * int32NDArray.cc (pow): Delete instantiation. |
|
647 * int16NDArray.cc (pow): Likewise. |
|
648 * int8NDArray.cc (pow): Likewise. |
|
649 * uint32NDArray.cc (pow): Likewise. |
|
650 * uint16NDArray.cc (pow): Likewise. |
|
651 * uint8NDArray.cc (pow): Likewise. |
|
652 |
5081
|
653 2004-11-17 John W. Eaton <jwe@octave.org> |
|
654 |
5085
|
655 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
656 Now static. |
|
657 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
658 DEFAULT_TEXMFDBS): Delete unused macros. |
|
659 |
5081
|
660 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
661 if idx_arg is N-d. |
|
662 |
5073
|
663 2004-11-09 David Bateman <dbateman@free.fr> |
|
664 |
|
665 * dNDArray.cc (concat): Delete. |
|
666 (NDArray::concat): New methods. |
|
667 * dNDArray.h: Provide decls. |
|
668 |
|
669 * CNDArray.cc (concat): Delete. |
|
670 (ComplexNDArray::concat): New methods. |
|
671 * CNDArray.h: Provide decls. |
|
672 |
|
673 * boolNDArray.cc (concat): Delete. |
|
674 (boolNDArray::concat): New methods. |
|
675 * boolNDArray.h: Provide decls. |
|
676 |
|
677 * chNDArray.cc (concat): Delete. |
|
678 (charNDArray::concat): New methods. |
|
679 * chNDArray.h: Provide decls. |
|
680 |
|
681 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
682 Delete macros. |
|
683 |
|
684 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
685 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
686 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
687 |
|
688 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
689 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
690 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
691 |
|
692 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
693 * intNDArray.h: Provide decl. |
|
694 |
5072
|
695 2004-11-08 John W. Eaton <jwe@octave.org> |
|
696 |
|
697 * oct-inttypes.cc: New file. |
|
698 * Makefile.in (TI_SRC): Add it to the list. |
|
699 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
700 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
701 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
702 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
703 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
704 New macros for comparison operations. Avoid potential |
|
705 problems with default conversions when comparing signed and |
|
706 unsigned values. |
|
707 |
5061
|
708 2004-11-03 John W. Eaton <jwe@octave.org> |
|
709 |
|
710 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
711 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
712 |
5052
|
713 2004-10-19 John W. Eaton <jwe@octave.org> |
|
714 |
|
715 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
716 |
5047
|
717 2004-10-18 John W. Eaton <jwe@octave.org> |
|
718 |
|
719 * Array.cc (assign2): Save result of squeeze operation. |
|
720 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
721 |
5095
|
722 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
723 |
|
724 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
725 flag whether transform in- or out-of-place. |
|
726 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
727 (octave_fftw_planner::create_plan): Use it. |
|
728 |
5039
|
729 2004-09-24 John W. Eaton <jwe@octave.org> |
|
730 |
|
731 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
732 any empty matrix, not just []. |
|
733 |
5030
|
734 2004-09-23 John W. Eaton <jwe@octave.org> |
|
735 |
|
736 * mx-ops: Include scalar zero value in type definitions. |
|
737 Delete zero information from ops section. |
|
738 * mk-ops.awk: Use type-specific zero info. |
|
739 |
|
740 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
741 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
742 LHS and RHS. |
|
743 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
744 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
745 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
746 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
747 |
|
748 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
749 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
750 tree_to_mat_idx. |
|
751 |
|
752 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
753 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
754 Likewise for the "if (b_val & one)" test. |
|
755 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
756 |
5029
|
757 2004-09-23 David Bateman <dbateman@free.fr> |
|
758 |
|
759 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
760 New macros. Use them to define mixed intX-double and double-intX ops. |
|
761 |
5021
|
762 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
763 |
|
764 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
765 Fix doc string layout to avoid overfull hbox in printed output. |
|
766 |
5015
|
767 2004-09-21 John W. Eaton <jwe@octave.org> |
|
768 |
|
769 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
770 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
771 For "native", set actual native format. |
|
772 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
773 |
5008
|
774 2004-09-17 David Bateman <dbateman@free.fr> |
|
775 |
|
776 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
777 calculation of the unitary matrix optional. |
|
778 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
779 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
780 |
4998
|
781 2004-09-15 David Bateman <dbateman@free.fr> |
|
782 |
|
783 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
784 New function to set the comparison function for the sort. |
|
785 |
4985
|
786 2004-09-10 John W. Eaton <jwe@octave.org> |
|
787 |
|
788 * lo-mappers.cc (xround): Fix typo. |
|
789 |
4979
|
790 2004-09-08 John W. Eaton <jwe@octave.org> |
|
791 |
|
792 * Array.h (Array::~Array): Declare virtual. |
|
793 |
|
794 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
795 initializaion list. Don't set rep->count since the rep |
|
796 constructor does that. |
|
797 |
4968
|
798 2004-09-07 John W. Eaton <jwe@octave.org> |
|
799 |
4970
|
800 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
801 (oct_data_conv::data_type_as_string): Likewise. |
|
802 |
|
803 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
804 |
4968
|
805 * Range.cc (round): Delete unused function. |
|
806 |
|
807 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
808 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
809 |
|
810 * oct-inttypes.h: Include <cmath> here. |
|
811 |
4964
|
812 2004-09-03 David Bateman <dbateman@free.fr> |
|
813 |
|
814 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
815 New functions for boolean matrix concatenation. |
|
816 * boolNDArray.h: Provide decls. |
|
817 |
4963
|
818 2004-09-03 John W. Eaton <jwe@octave.org> |
|
819 |
4964
|
820 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
821 to avoid signed/unsigned int comparison problems. |
|
822 |
|
823 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
824 for mixed integer and double types. |
|
825 |
|
826 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
827 separately, and only if needed. |
|
828 |
4963
|
829 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
830 static_cast for type conversion. |
|
831 |
4953
|
832 2004-09-01 John W. Eaton <jwe@octave.org> |
|
833 |
|
834 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
835 operator /): Handle mixed integer/double ops. If op generates a |
|
836 NaN, set result to 0. |
|
837 (octave_int::operator - (void)): Convert to double, then negate, |
|
838 then fit to range. |
|
839 |
|
840 * mx-ops: Define integer types. Include declarations for mixed |
|
841 integer/double ops. |
|
842 |
4952
|
843 2004-08-31 John W. Eaton <jwe@octave.org> |
|
844 |
|
845 * oct-inttypes.h (pow): Args now const reference. |
|
846 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
847 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
848 New member functions. |
|
849 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
850 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
851 Define in terms of >>=. |
|
852 (operator << (const octave_int<T1>& x, const T2& y)): |
|
853 Define in terms of <<=. |
|
854 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
855 we get proper saturation properties. |
|
856 |
|
857 2004-08-31 David Bateman <dbateman@free.fr> |
|
858 |
|
859 * oct-inttypes.h (pow (constT, T)): New template. |
|
860 |
|
861 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
862 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
863 |
4949
|
864 2004-08-31 John W. Eaton <jwe@octave.org> |
|
865 |
|
866 * oct-inttypes.h (octave_int::byte_size): New function. |
|
867 |
4944
|
868 2004-08-31 John W. Eaton <jwe@octave.org> |
|
869 |
4946
|
870 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
871 |
4944
|
872 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
873 Explicitly number enum elements. |
|
874 |
|
875 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
876 std::string&, int&, oct_data_conv::data_type&, |
|
877 oct_data_conv::data_type&)): New function. |
|
878 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
879 oct_data_conv::data_type&)): New function. |
|
880 (oct_data_conv::data_type_as_string): New function. |
|
881 |
|
882 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
883 (write_int, do_write, Matrix::write): Delete. |
|
884 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
885 |
|
886 * byte-swap.h: Use template functions and specialization. |
|
887 Change all uses. |
|
888 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
889 |
4943
|
890 2004-08-30 John W. Eaton <jwe@octave.org> |
|
891 |
|
892 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
893 specializations to avoid warnings about signed/unsigned comparisons. |
|
894 |
|
895 2004-08-28 John W. Eaton <jwe@octave.org> |
|
896 |
|
897 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
898 size_t, int, oct_mach_info::float_format)): New function. |
|
899 (GET_SIZED_INT_TYPE): New macro. |
|
900 (string_to_data_type): Use it to return sized types corresponding |
|
901 to Octave array data types. |
|
902 (strip_spaces): New function. |
|
903 (do_double_format_conversion, do_float_format_conversion): Pass |
|
904 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
905 float format. |
|
906 (do_double_format_conversion, |
|
907 IEEE_big_double_to_IEEE_little_double, |
|
908 VAX_D_double_to_IEEE_little_double, |
|
909 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
910 IEEE_little_double_to_IEEE_big_double, |
|
911 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
912 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
913 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
914 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
915 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
916 Cray_to_VAX_G_double): |
|
917 Pass data as void*, not double*. |
|
918 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
919 VAX_D_float_to_IEEE_little_float, |
|
920 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
921 IEEE_little_float_to_IEEE_big_float, |
|
922 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
923 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
924 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
925 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
926 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
927 Cray_to_VAX_G_float): |
|
928 Pass data as void*, not float*. |
|
929 |
|
930 2004-08-27 John W. Eaton <jwe@octave.org> |
|
931 |
|
932 * byte-swap.h (swap_bytes): New template versions, with |
|
933 specializations. |
|
934 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
935 Change all uses. |
|
936 |
4940
|
937 2004-08-24 David Bateman <dbateman@free.fr> |
|
938 |
|
939 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
940 empty instead of checking final matrix. |
|
941 * dNDArray.cc (concat): Likewise. |
|
942 * CNDArray.cc (concat): Likewise. |
|
943 |
|
944 2004-08-23 David Bateman <dbateman@free.fr> |
|
945 |
|
946 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
947 non-existent dimensions. |
|
948 |
4938
|
949 2004-08-09 John W. Eaton <jwe@octave.org> |
|
950 |
|
951 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
952 (const octave_int<U>&)): New member function. |
|
953 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
954 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
955 Now member functions instead of static in idx-vector.cc. |
|
956 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
957 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
958 New template constructors. |
|
959 |
4932
|
960 2004-08-05 John W. Eaton <jwe@octave.org> |
|
961 |
4933
|
962 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
963 |
4932
|
964 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
965 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
966 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
967 |
4929
|
968 2004-08-03 John W. Eaton <jwe@octave.org> |
|
969 |
|
970 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
971 arrays with more than two dimensions and only one non-singleton |
|
972 dimension, return a column vector. |
|
973 |
4921
|
974 2004-07-28 John W. Eaton <jwe@octave.org> |
|
975 |
|
976 * oct-cmplx.h (pow (const Complex&, const double&): |
|
977 Convert second arg to complex to avoid libstdc++ bug. |
|
978 |
4920
|
979 2004-07-27 John W. Eaton <jwe@octave.org> |
|
980 |
|
981 * oct-inttypes.h (bitshift): New arg, MASK. |
|
982 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
983 |
4916
|
984 2004-07-23 John W. Eaton <jwe@octave.org> |
|
985 |
|
986 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
987 |
4915
|
988 2004-07-23 David Bateman <dbateman@free.fr> |
|
989 |
|
990 * Array.cc, Array.h (cat_ra): Delete. |
|
991 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
992 (INSTANTIATE_ARRAY_CAT): Delete. |
|
993 |
|
994 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
995 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
996 |
|
997 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
998 |
|
999 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
1000 chNDArray.h (concat): New function used for concatenation that does |
|
1001 an indexed copy of one array into another. |
|
1002 |
|
1003 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
1004 |
|
1005 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
1006 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
1007 insertion of one NDArray into another. |
|
1008 |
|
1009 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
1010 macros to define the int/uint concatenation functions. |
|
1011 |
|
1012 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
1013 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
1014 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
1015 |
|
1016 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
1017 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
1018 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
1019 functions. |
|
1020 |
4911
|
1021 2004-07-22 David Bateman <dbateman@free.fr> |
|
1022 |
|
1023 * oct-sort.h: Don't include oct-obj.h. |
|
1024 |
|
1025 * lo-specfun.cc (is_integer_value): New function. |
|
1026 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
1027 integer orders that cause overflow for small arguments. |
|
1028 |
4909
|
1029 2004-07-12 John W. Eaton <jwe@octave.org> |
|
1030 |
|
1031 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
1032 (bitshift (const octave_int<T>&, int)): New function. |
|
1033 |
4902
|
1034 2004-06-14 John W. Eaton <jwe@octave.org> |
|
1035 |
|
1036 * mx-base.h: Include headers for new int types. |
|
1037 |
|
1038 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
1039 NDArray::NDArray (const charNDArray&)): Delete. |
|
1040 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
1041 constructor. |
|
1042 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
1043 |
|
1044 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
1045 return type conversion. |
|
1046 |
|
1047 * ComplexNDArray.h, ComplexNDArray.cc |
|
1048 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
1049 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
1050 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
1051 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
1052 |
|
1053 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
1054 |
|
1055 * MArrayN.h: |
|
1056 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
1057 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
1058 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
1059 New constructors. |
|
1060 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
1061 ArrayN<T>::squeeze): |
|
1062 New forwarding functions for return type conversion. |
|
1063 |
|
1064 * ArrayN.h: |
|
1065 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
1066 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
1067 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
1068 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
1069 const dim_vector&)): New constructors. |
|
1070 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
1071 ArrayN<T>::transpose): |
|
1072 New forwarding functions for return type conversion. |
|
1073 |
|
1074 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
1075 New constructor. |
|
1076 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
1077 |
|
1078 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
1079 |
|
1080 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
1081 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
1082 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
1083 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
1084 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
1085 * Makefile.in: Add them to the appropriate lists. |
|
1086 |
4899
|
1087 2004-06-04 John W. Eaton <jwe@octave.org> |
|
1088 |
|
1089 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
1090 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
1091 resize op. Change all uses. |
|
1092 |
4898
|
1093 2004-06-03 David Bateman <dbateman@free.fr> |
|
1094 |
|
1095 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
1096 greater than the existing number of dimensions in lvalue. |
|
1097 |
4887
|
1098 2004-04-30 David Bateman <dbateman@free.fr> |
|
1099 |
|
1100 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
1101 New arg, fill_value. |
|
1102 (dim_vector::resize): Allow optional fill_value argument. |
|
1103 |
|
1104 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
1105 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
1106 more than one element in idx_vector. Resize the return value to |
|
1107 the size of Array<idx_vector>. |
|
1108 |
|
1109 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
1110 idx_vector that is shorter than a dim_vector. |
|
1111 |
4882
|
1112 2004-04-23 John W. Eaton <jwe@octave.org> |
|
1113 |
|
1114 * oct-sort.cc: Don't include oct-obj.h. |
|
1115 |
4876
|
1116 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1117 |
|
1118 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
1119 Don't set invalid dimensions on return value. |
|
1120 |
4871
|
1121 2004-04-21 John W. Eaton <jwe@octave.org> |
|
1122 |
|
1123 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
1124 |
4850
|
1125 2004-04-06 David Bateman <dbateman@free.fr> |
|
1126 |
4870
|
1127 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
1128 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
1129 Make their behavior equivalent except for filling vs. not filling. |
|
1130 |
4850
|
1131 * oct-sort.cc: New template class for arbitrary sorting. |
|
1132 * oct-sort.h: Declaration of sort class. |
|
1133 * Makefile: Add them to the appropriate lists. |
|
1134 |
4845
|
1135 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1136 |
|
1137 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
1138 |
4844
|
1139 2004-04-02 David Bateman <dbateman@free.fr> |
|
1140 |
|
1141 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
1142 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
1143 New N-d array versions. |
4844
|
1144 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
1145 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
1146 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
1147 |
|
1148 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
1149 New functions. |
|
1150 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
1151 |
|
1152 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
1153 New functions. |
|
1154 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
1155 Provide decls. |
|
1156 |
4842
|
1157 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
1158 |
|
1159 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
1160 work vector, not just when using a numerical Jacobian. |
|
1161 |
4834
|
1162 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1163 |
4835
|
1164 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
1165 Omit empty result args. |
|
1166 |
4834
|
1167 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
1168 Move here from Array.h, check that size of array arg is not |
|
1169 smaller than the size defined by the new dimensions. |
|
1170 |
4832
|
1171 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1172 |
|
1173 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
1174 a scalar or vector with an N-d array. |
|
1175 |
4826
|
1176 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1177 |
4828
|
1178 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
1179 matrix, return object that is the same size as the index. |
|
1180 |
4826
|
1181 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
1182 Eliminate MT_RESULT args. Return value is always size of args. |
|
1183 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
1184 Eliminate EMPTY_RESULT arg. |
|
1185 Return value is always size of matrix or N-d array arg. |
|
1186 (TBM, FBM, NBM): Delete unused macros. |
|
1187 |
4821
|
1188 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1189 |
|
1190 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
1191 if all LHS dimensions are zero. For one index case, freeze and |
|
1192 sort idx_vec before checking length, and do nothing if |
|
1193 num_to_delete is zero. |
4822
|
1194 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
1195 |
4816
|
1196 2004-03-04 David Bateman <dbateman@free.fr> |
|
1197 |
|
1198 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
1199 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
1200 |
4811
|
1201 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
1202 |
|
1203 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
1204 element. |
|
1205 |
|
1206 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1207 |
|
1208 * Range.h (Range::Range): Add cache to member initialization list. |
|
1209 (Range::clear_cache): New private function. |
|
1210 |
|
1211 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
1212 Use clear cache. Don't do anything if range does not change. |
|
1213 * Range.cc (Range::sort): Likewise. |
|
1214 |
4810
|
1215 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
1216 |
|
1217 * Range.cc (Range::matrix_value): Cache result. |
|
1218 (Range::sort): Clear cache. |
|
1219 * Range.h (Range::cache): New data member. |
|
1220 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
1221 (Range::print_range): Delete. |
4808
|
1222 |
|
1223 2004-03-02 David Bateman <dbateman@free.fr> |
|
1224 |
|
1225 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
1226 changes between them. Faster for small fft's. |
|
1227 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
1228 New member variables. |
|
1229 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
1230 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
1231 Change all uses. |
|
1232 (CHECK_SIMD_ALIGNMENT): New macro. |
|
1233 (octave_fftw_planner::create_plan): Use it. |
|
1234 |
4806
|
1235 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
1236 |
|
1237 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
1238 |
|
1239 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
1240 |
|
1241 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
1242 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
1243 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
1244 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
1245 |
|
1246 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
1247 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
1248 |
4800
|
1249 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1250 |
4802
|
1251 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
1252 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
1253 octave_rl_get_event_hook): Omit casts. |
|
1254 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
1255 Return value for function pointer typedef is now int. |
|
1256 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
1257 command_editor::event_hook_fcn): Likewise. |
|
1258 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
1259 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
1260 Return type is now int. Return 0. |
|
1261 |
4800
|
1262 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
1263 Query Lapack for workspace size. |
|
1264 |
4796
|
1265 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1266 |
|
1267 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
1268 Fix thinko in extending dimensions. |
|
1269 |
4791
|
1270 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1271 |
|
1272 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
1273 Don't compute values beyond the limits of the range. |
|
1274 (operator << (std::ostream&, const Range&)): Likewise. |
|
1275 |
4786
|
1276 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1277 |
4788
|
1278 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
1279 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
1280 From Paul Kienzle <pkienzle@users.sf.net>. |
|
1281 |
4786
|
1282 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
1283 Rename from Array<T>::insert. |
|
1284 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
1285 Reinstate old Array<T>::insert function under this name. |
|
1286 (Array<T>::insert (const Array<T>&, int, int)): |
|
1287 New function. Dispatch to insert2 or insertN as appropriate. |
|
1288 |
4785
|
1289 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1290 |
|
1291 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
1292 Sprinkle with OCTAVE_QUIT. |
|
1293 |
5095
|
1294 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
1295 |
|
1296 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
1297 Add support for FFTW 3.x. Include the ability to |
|
1298 use the real to complex transform for fft's of real matrices |
|
1299 (octave_fftw_planner::create_plan2d): Delete. |
|
1300 (octave_fftw::fft2d): Delete. |
|
1301 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
1302 New static functions. |
|
1303 * oct-fftw.h: Update decls. |
|
1304 |
|
1305 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
1306 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
1307 transforms. 1D FFT of a matrix done as single call rather than |
|
1308 loop. Update for FFTW 3.x |
|
1309 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
1310 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
1311 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
1312 |
|
1313 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
1314 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
1315 functions for Nd arrays. |
|
1316 * dNArray.h Provide decls. |
|
1317 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
1318 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
1319 fourier transform functions for complex Nd arrays. |
|
1320 * CNArray.h: Provide decls. |
|
1321 |
4765
|
1322 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
1323 |
|
1324 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
1325 Make it work for N-d arrays. |
|
1326 |
|
1327 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
1328 New function. |
|
1329 |
|
1330 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
1331 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
1332 New functions. |
|
1333 * CNDArray.h: Provide decls. |
|
1334 |
4759
|
1335 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1336 |
4760
|
1337 * Makefile.in (LINK_DEPS): Always define. |
|
1338 |
4759
|
1339 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
1340 least two dimensions. |
|
1341 |
4758
|
1342 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
1343 |
|
1344 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
1345 * dNDArray.cc (NDArray::cat): New function. |
|
1346 * dNDArray.h: Provide decls. |
|
1347 * CNDArray.cc (complexNDArray::cat): New function. |
|
1348 * CNDArray.h: Provide decls. |
|
1349 * chNDArray.cc (charNDArray::cat): New function. |
|
1350 * chNDArray.h: Provide decls. |
|
1351 |
4756
|
1352 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1353 |
|
1354 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
1355 (Array<T>assign2): Also call maybe_delete_elements for single |
|
1356 index when rows and columns or LHS are both greater than 1. |
|
1357 |
4755
|
1358 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
1359 |
|
1360 * Array.cc (Array<T>::maybe_delete_elements): |
|
1361 Check for index out of bounds. Handle one index. |
|
1362 |
|
1363 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
1364 dim_vector (0) to create empty return vector. |
|
1365 |
4749
|
1366 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1367 |
|
1368 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
1369 non-empty LHS when the number of lhs dimensions is less than the |
|
1370 number of indices. Detect error if attempting to resize non-empty |
|
1371 LHS with colon indices. |
|
1372 |
4745
|
1373 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1374 |
4747
|
1375 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
1376 values unless the length of the new array is greater than 0. |
|
1377 (Array<T>::resize_no_fill): Likewise. |
|
1378 |
|
1379 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
1380 is equal to dimensions(i). |
|
1381 |
|
1382 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
1383 get_zero_len_size, number_of_elements): |
|
1384 Delete unused functions. |
|
1385 |
|
1386 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
1387 number_of_elements function. |
|
1388 * Array.cc (Array<T>::indexN): Likewise. |
|
1389 |
|
1390 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
1391 of equal_arrays function. |
|
1392 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
1393 dim_vector::any_zero instead of any_zero_len function. |
|
1394 |
|
1395 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
1396 Don't skip reshaping and resizing if RHS is empty. |
|
1397 |
4746
|
1398 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
1399 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
1400 Delete unused variables is_colon and is_colon_equiv. |
4746
|
1401 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
1402 LHS is not yet defined. |
4745
|
1403 Error for resizing if number of indices is less than number of LHS |
|
1404 dimensions. |
|
1405 |
4746
|
1406 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
1407 Fortran-style indexing. |
|
1408 |
4743
|
1409 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1410 |
|
1411 * Array.cc (Array<T>::assignN): Simplify. |
|
1412 Allow assignments to succeed if number if indices is less than the |
|
1413 number of RHS dimensions. |
|
1414 |
4738
|
1415 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
1416 |
4741
|
1417 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
1418 when number of indices is less than number of dimensions. |
|
1419 |
|
1420 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
1421 Remove unsued variable lhs_inc. |
|
1422 |
4740
|
1423 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
1424 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
1425 |
|
1426 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
1427 |
4738
|
1428 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
1429 == n_dims before checking to see if all indices are colon_equiv. |
|
1430 |
4736
|
1431 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1432 |
|
1433 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
1434 deleting elements. |
4737
|
1435 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
1436 at least ndims elements. |
4736
|
1437 |
4735
|
1438 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
1439 |
|
1440 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
1441 oriented differently from the index. |
|
1442 |
|
1443 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
1444 least two dimensions. |
|
1445 |
4733
|
1446 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1447 |
4735
|
1448 * dim-vector.h (dim_vector::squeeze): New function. |
|
1449 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
1450 deciding whether the assignment conforms. |
|
1451 |
4733
|
1452 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
1453 comparing rhs_dims and frozen_len sans trailing singletons. |
|
1454 |
4732
|
1455 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1456 |
|
1457 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
1458 Call error handler and return conversion_error == true if arg is |
|
1459 not integer. |
|
1460 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
1461 |
4730
|
1462 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1463 |
|
1464 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
1465 reference arg const. |
|
1466 |
|
1467 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1468 |
|
1469 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
1470 |
4729
|
1471 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
1472 |
|
1473 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
1474 Now bool, to match definition in Array-flags.cc. |
|
1475 |
4725
|
1476 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1477 |
4726
|
1478 * file-ops.cc: Include <vector> instead of <memory> for new |
|
1479 definition of OCTAVE_LOCAL_BUFFER. |
|
1480 |
4725
|
1481 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
1482 New arg, calc_eigenvectors. |
|
1483 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
1484 Based on patch from David Bateman <dbateman@free.fr>. |
|
1485 |
4716
|
1486 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1487 |
|
1488 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
1489 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
1490 |
|
1491 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
1492 |
4711
|
1493 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
1494 |
4714
|
1495 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
1496 Simplify calculation of number of elements in retval. |
|
1497 |
4711
|
1498 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
1499 filling when RHS is scalar and dimension lengths agree. |
|
1500 |
4710
|
1501 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1502 |
4713
|
1503 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
1504 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
1505 |
4707
|
1506 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
1507 |
4709
|
1508 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
1509 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
1510 |
4702
|
1511 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
1512 |
4703
|
1513 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
1514 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
1515 |
|
1516 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
1517 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
1518 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
1519 Make sure index is in bounds. |
4702
|
1520 |
4698
|
1521 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1522 |
|
1523 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
1524 octave_NaN, and octav_NA values are always initialized. Check |
|
1525 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
1526 to decide whether to do IEEE initialization. |
|
1527 |
4687
|
1528 2004-01-06 David Bateman <dbateman@free.fr> |
|
1529 |
|
1530 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
1531 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
1532 ComplexNDArray::too_large_for_float): New functions |
|
1533 |
|
1534 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
1535 * CNDArray.h: Provide decls. |
|
1536 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
1537 * dNDArray.h: Provide decls. |
|
1538 |
4673
|
1539 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1540 |
4674
|
1541 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
1542 they are already defined in boolNDArray.cc. |
|
1543 |
4673
|
1544 * Array-util.cc (get_zero_len_size): Delete. |
|
1545 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
1546 Handle zero-length result dimensions the same as empty original |
|
1547 indices. |
|
1548 |
|
1549 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1550 |
|
1551 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
1552 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
1553 New functions. |
|
1554 * Array.cc (ArrayN<T>::indexN): Use it. |
|
1555 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
1556 |
4669
|
1557 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1558 |
|
1559 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
1560 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
1561 |
|
1562 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1563 |
|
1564 * mk-ops.awk: Also emit #include "Array-util.h". |
|
1565 |
|
1566 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
1567 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
1568 |
|
1569 * MArray-misc.cc: Delete. |
|
1570 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
1571 |
|
1572 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
1573 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
1574 |
4655
|
1575 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1576 |
4663
|
1577 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
1578 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
1579 |
|
1580 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
1581 two-arg getgrnam version. |
|
1582 |
4657
|
1583 * Array.cc (assignN): Allow single indexing to work. |
4661
|
1584 (Array<T>::range_error (const char*, const Array<int>&)): |
|
1585 Report index values. |
|
1586 |
|
1587 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
1588 * ODESSA.cc (odessa_j): Likewise. |
|
1589 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
1590 * DASPK.cc (ddaspk_psol): Likewise. |
|
1591 * lo-mappers.cc (imag): Likewise. |
4663
|
1592 * Array-util.cc (get_zero_len_size): Likewise. |
|
1593 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
1594 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
1595 |
4655
|
1596 * dim-vector.h (dim_vector::all_ones): New function. |
|
1597 |
4646
|
1598 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1599 |
4653
|
1600 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
1601 zeros, not orig_rows or orig_columns. |
|
1602 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
1603 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
1604 |
|
1605 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
1606 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
1607 |
|
1608 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
1609 Use initialization lists for constructors. |
|
1610 |
4651
|
1611 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
1612 Omit special case for ra_idx.capacity () == 1. |
|
1613 Always allow single index for matrix args with optional warning. |
|
1614 |
4650
|
1615 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
1616 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
1617 |
4648
|
1618 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
1619 * Makefile.in (TI_SRC): Add it to the list. |
|
1620 |
4646
|
1621 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
1622 type and the names of the left and right operands. Change all uses. |
|
1623 |
|
1624 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
1625 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
1626 |
4645
|
1627 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1628 |
|
1629 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
1630 just length. |
|
1631 |
|
1632 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
1633 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
1634 non-dependent member functions and data as needed. |
|
1635 |
|
1636 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
1637 |
|
1638 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
1639 * Array3.h (Array3<T>::operator =): Likewise. |
|
1640 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
1641 Include Array.h, not Array2.h. |
|
1642 |
4634
|
1643 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1644 |
4636
|
1645 * str-vec.cc (list_in_columns): Fix previous change. |
|
1646 |
4635
|
1647 * dim-vector.h (dim_vector::num_ones): New function. |
|
1648 * Array.cc (maybe_delete_elements): Use it instead of |
|
1649 num_ones (const Array<int>&). |
|
1650 |
|
1651 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
1652 |
4634
|
1653 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
1654 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
1655 New functions. |
|
1656 * dNDArray.h: Provide decls. |
|
1657 |
|
1658 * dMatrix.h (Matrix::any_element_is_negative, |
|
1659 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
1660 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
1661 Simplify. |
|
1662 |
|
1663 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
1664 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
1665 |
|
1666 * dNDArray.cc (real, imag): New functions. |
|
1667 * dNDArray.h: Provide decls. |
|
1668 |
4630
|
1669 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1670 |
|
1671 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
1672 |
4625
|
1673 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1674 |
|
1675 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
1676 * MArray.h (resize): Delete. |
|
1677 * MArray2.h (resize): Delete. |
|
1678 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
1679 * ODESSA (ODESSA::integrate): Likewise. |
|
1680 |
4616
|
1681 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1682 |
|
1683 * Makefile.in (dist): Depend on stamp-prereq. |
|
1684 |
4605
|
1685 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
1686 |
|
1687 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
1688 Kluge to make it work. |
4604
|
1689 |
|
1690 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
1691 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
1692 |
|
1693 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
1694 default_command_editor::do_generate_filename_completions, |
|
1695 command_editor::generate_filename_completions): New functions. |
|
1696 * cmd-edit.h: Provide decls. |
|
1697 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
1698 function. |
|
1699 * oct-rl-edit.h: Provide decl. |
|
1700 |
4593
|
1701 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1702 |
4594
|
1703 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
1704 INSTANTIATE_ARRAY): New macros. |
|
1705 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
1706 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
1707 |
4593
|
1708 * Array.h (Array<T>::ipermute): New function. |
|
1709 |
|
1710 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
1711 |
|
1712 * Array.cc (Array<T>::permute): New function. |
|
1713 * Array.h: Provide decl. |
|
1714 |
|
1715 * Array-util.cc (calc_permutated_idx): New function. |
|
1716 * Array-util.h: Provide decl. |
|
1717 |
4587
|
1718 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1719 |
4592
|
1720 * Array.cc (Array<T>::index2): Return value has orientation of |
|
1721 indexed value if indexing a vector with a bool matrix. |
|
1722 |
4589
|
1723 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
1724 |
4588
|
1725 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
1726 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
1727 |
|
1728 * ArrayN-inline.h: Delete. |
|
1729 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
1730 * Makefile.in: Fix the appropriate lists. |
|
1731 |
4587
|
1732 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
1733 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
1734 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
1735 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
1736 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
1737 Avoid -Wshadow warnings. |
|
1738 |
|
1739 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
1740 |
|
1741 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
1742 |
|
1743 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
1744 |
|
1745 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1746 |
|
1747 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
1748 |
4584
|
1749 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
1750 |
|
1751 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
1752 |
|
1753 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
1754 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
1755 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
1756 Return NDArray. Handle N-d arrays. |
|
1757 |
4575
|
1758 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1759 |
4583
|
1760 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
1761 that upcase Fortran names by calling dlsode instead of lsode. |
|
1762 |
|
1763 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
1764 that upcase Fortran names by calling dodessa instead of odessa. |
|
1765 |
4577
|
1766 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
1767 non-const args for symlink system call. |
|
1768 (file_ops::readlink): Likewise, for readlink. |
|
1769 |
4575
|
1770 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
1771 |
4574
|
1772 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1773 |
|
1774 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
1775 Change all uses. |
|
1776 |
4569
|
1777 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
1778 |
|
1779 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
1780 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
1781 * dNDArray.h: Provide decls. |
|
1782 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
1783 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
1784 ComplexNDArray::abs): New functions. |
|
1785 * CNDArray.h: Provide decls. |
|
1786 |
|
1787 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
1788 Generalize to handle other reduction operations. |
|
1789 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
1790 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
1791 |
4565
|
1792 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1793 |
4567
|
1794 * Array.cc (Array<T>::reshape): New function. |
|
1795 * Array.h: Provide decl. |
|
1796 |
|
1797 * dim-vector.h (dim_vector::numel): New function. |
|
1798 |
4565
|
1799 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
1800 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
1801 |
4559
|
1802 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1803 |
|
1804 * dim-vector.h (dim_vector::any_zero): New function. |
|
1805 (dim_vector::str): New default arg, sep. |
|
1806 |
|
1807 * Array.h (Array<T>::numel): New function. |
|
1808 |
4556
|
1809 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
1810 |
|
1811 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
1812 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
1813 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
1814 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
1815 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
1816 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
1817 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
1818 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
1819 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
1820 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
1821 |
4552
|
1822 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1823 |
4553
|
1824 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
1825 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
1826 |
4552
|
1827 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
1828 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
1829 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
1830 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
1831 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
1832 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
1833 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
1834 Use new F77 arg macros in declarations of external Fortran |
|
1835 subroutines and for calling them. |
|
1836 |
4548
|
1837 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1838 |
|
1839 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
1840 Allow number of dimensions to change. |
|
1841 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
1842 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
1843 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
1844 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
1845 (Array<T>::transpose): Require ndims to be 2. |
|
1846 (Array<T>::index2): Likewise. |
|
1847 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
1848 (Array<T>::maybe_delete_elements_2): Likewise. |
|
1849 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
1850 (Array<T>::index1): Use resize_and_fill. |
|
1851 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
1852 |
|
1853 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
1854 |
|
1855 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
1856 (MArray2<T>::resize (int, int, const T&)): New function. |
|
1857 |
|
1858 * MArray.h (MArray<T>::resize (int)): New function. |
|
1859 (MArray<T>::resize (int, const T&)): New function. |
|
1860 |
|
1861 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
1862 |
|
1863 * DASPK-opts.in: Use single-arg resize for initial condition |
|
1864 heuristics. |
|
1865 |
|
1866 * dim-vector.h (class dim_vector): Now reference counted. |
|
1867 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
1868 |
4544
|
1869 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1870 |
4545
|
1871 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
1872 |
4544
|
1873 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
1874 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
1875 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
1876 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
1877 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
1878 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
1879 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
1880 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
1881 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
1882 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
1883 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
1884 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
1885 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
1886 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
1887 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
1888 files are now automatically generated. |
|
1889 |
|
1890 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
1891 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
1892 Add rules to generate these files and mx-ops.h. |
|
1893 (stamp-prereq): Depend on these files. |
|
1894 |
|
1895 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
1896 * Makefile.in (DISTFILES): Add them to the list. |
|
1897 |
4543
|
1898 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1899 |
|
1900 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
1901 NDArray::NDArray (const charNDArray)): New constructors. |
|
1902 (NDArray::operator !): New function. |
|
1903 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
1904 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
1905 |
|
1906 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
1907 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
1908 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
1909 New constructors. |
|
1910 (ComplexNDArray::operator !): New function. |
|
1911 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
1912 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
1913 |
|
1914 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
1915 |
|
1916 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
1917 Provide NDND_CMP_OPS. |
|
1918 |
|
1919 * MArrayN.cc (operator +=, operator -=): New functions. |
|
1920 Provide product and quotient functions. |
|
1921 |
|
1922 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
1923 dim_vector&)): New function. |
|
1924 |
|
1925 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
1926 operator ==, operator !=): New functions. |
|
1927 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
1928 |
|
1929 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
1930 No need to save old dimensions. |
|
1931 |
|
1932 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
1933 (octave_rand::nd_array): New function. |
|
1934 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
1935 |
|
1936 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
1937 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
1938 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
1939 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
1940 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
1941 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
1942 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
1943 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
1944 NDND_OP_DECLS): New macros. |
|
1945 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
1946 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
1947 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
1948 |
|
1949 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
1950 boolNDArray, class charNDArray): New forward decls. |
|
1951 |
4534
|
1952 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1953 |
|
1954 * Array.cc (assign2): No error (but don't do anything either) for |
|
1955 expressions like x([],j) = scalar. |
|
1956 |
4532
|
1957 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1958 |
4533
|
1959 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
1960 |
4532
|
1961 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
1962 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
1963 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
1964 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
1965 |
|
1966 * dim-vector.h (rows, cols): Delete unused data members. |
|
1967 |
|
1968 * Array.cc (Array<T>::get_size): Fix thinko. |
|
1969 |
|
1970 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1971 |
|
1972 * Array.cc (Array<T>::squeeze): New function. |
|
1973 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
1974 * dNDArray.h (NDArray::squeeze): Likewise. |
|
1975 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
1976 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
1977 |
4530
|
1978 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
1979 |
|
1980 * Array.cc (ArrayN<T>::indexN): New definition. |
|
1981 * Array.h (Array<T>::indexN): Provide decl. |
|
1982 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
1983 Call indexN if more than 2 indices. |
|
1984 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
1985 Make it (mostly) work. |
|
1986 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
1987 New functions. |
|
1988 |
4527
|
1989 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1990 |
|
1991 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
1992 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
1993 versions with eof arg. |
|
1994 |
4518
|
1995 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1996 |
|
1997 * Array.h (dimensions): Now public. |
|
1998 template <class LT, class RT> |
|
1999 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
2000 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
2001 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
2002 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
2003 resize_no_fill (int), |
|
2004 resize_no_fill (int, int), |
|
2005 resize_no_fill (int, int, int), |
|
2006 resize_no_fill (const dim_vector&), |
|
2007 resize_and_fill (int, const T&), |
|
2008 resize_and_fill (int, int, const T&), |
|
2009 resize_and_fill (int, int, int, const T&), |
|
2010 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
2011 |
|
2012 * Array.cc: Include <climits>. |
|
2013 |
4513
|
2014 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2015 |
4517
|
2016 * Array.cc: Merge Array-idx.h. |
|
2017 * Array-idx.h: Delete. |
|
2018 |
4514
|
2019 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
2020 |
4513
|
2021 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
2022 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
2023 just special cases of the general purpose N-d Array object). |
|
2024 |
|
2025 * dim-vector.h: New file. Use dim_vector objects instead of |
|
2026 ints or Array<int> objects to represent the size of Array |
|
2027 objects. |
|
2028 |
|
2029 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
2030 |
|
2031 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
2032 |
|
2033 * mx-base.h: Include NDArray header files. |
|
2034 |
|
2035 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
2036 |
|
2037 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
2038 Array-s.cc: Also instantiate ArrayN objects. |
|
2039 Don't instantiate assign funcitons for Array2 objects. |
|
2040 |
|
2041 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
2042 liboctave_error_handler, not cerr. |
|
2043 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
2044 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
2045 * dMatrix.cc (Matrix::diag): Likewise. |
|
2046 |
|
2047 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
2048 Omit checks for HEAVYWEIGHT_INDEXING. |
|
2049 |
|
2050 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2051 |
|
2052 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
2053 |
|
2054 * CNDARray.h, CNDArray.cc: New files. |
|
2055 * Makefile.in: Add them to the appropriate lists. |
|
2056 |
|
2057 * dNDArray.h: Rename from NDArray.h. |
|
2058 * dNDArray.cc: Rename from NDArray.cc. |
|
2059 * Makefile.in: Rename them here too. |
|
2060 |
4507
|
2061 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
2062 |
|
2063 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
2064 |
|
2065 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
2066 * Makefile.in: Add them to the appropriate lists. |
|
2067 |
5095
|
2068 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
2069 |
|
2070 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
2071 biry): Always request scaled results from AMOS functions and |
|
2072 perform reverse scaling on results if scaled result not requested |
|
2073 by user. |
|
2074 |
|
2075 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2076 |
|
2077 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
2078 |
4505
|
2079 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2080 |
|
2081 * Array-d.cc: Instantiate assign functions. |
|
2082 |
4504
|
2083 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
2084 |
|
2085 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
2086 (get_elt_idx): Index ra_idx correctly. |
|
2087 |
|
2088 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
2089 bounds if it is exactly on the bound. |
|
2090 |
|
2091 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
2092 * ArrayN.h: Provide decl. |
|
2093 |
|
2094 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
2095 |
|
2096 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
2097 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
2098 (idx_vector::orig_dimensions): New function. |
|
2099 |
4497
|
2100 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2101 |
|
2102 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
2103 |
4496
|
2104 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
2105 |
|
2106 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
2107 (is_in, how_many_lgt, all_ones): New functions. |
|
2108 |
4493
|
2109 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2110 |
|
2111 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
2112 |
|
2113 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
2114 |
|
2115 * ArrayN-inline.h: New file. |
|
2116 (index_in_bounds, increment_index): Move here. |
|
2117 * ArrayN.cc: From here. |
|
2118 |
|
2119 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
2120 * ArrayN-idx.h (assign): New function. |
|
2121 |
4490
|
2122 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2123 |
|
2124 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
2125 Also zero imaginary part of result if real part of input value is |
|
2126 zero. |
|
2127 |
4478
|
2128 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
2129 |
|
2130 * mx-base.h: Include ArrayN.h. |
|
2131 |
4476
|
2132 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
2133 |
|
2134 * ArrayN.cc (operator <<): Corrected output. |
|
2135 |
4474
|
2136 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2137 |
|
2138 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
2139 |
5095
|
2140 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
2141 |
|
2142 * ArrayN.cc (operator <<): Improve output readability. |
|
2143 |
4493
|
2144 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
2145 |
|
2146 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
2147 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
2148 Initialize old_len before changing size. |
|
2149 |
4472
|
2150 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2151 |
|
2152 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
2153 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
2154 |
4469
|
2155 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2156 |
|
2157 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
2158 way. Handle NA in an R-compatible way. |
|
2159 |
|
2160 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
2161 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
2162 |
|
2163 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
2164 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
2165 |
|
2166 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
2167 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
2168 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
2169 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
2170 |
4461
|
2171 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2172 |
|
2173 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
2174 Pass true for resize_ok arg to freeze. |
|
2175 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
2176 Likewise. |
|
2177 |
|
2178 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
2179 resize_ok arg is now bool. |
|
2180 * idx-vector.h (idx_vector::freeze): Likewise. |
|
2181 |
|
2182 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
2183 Rename from liboctave_rre_flag. Now bool. |
|
2184 (liboctave_wfi_flag): Now bool. |
|
2185 |
|
2186 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
2187 |
5095
|
2188 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
2189 |
|
2190 * Array.h (resize_fill_value): Now a top-level template function. |
|
2191 Accept object as argument. Change all uses. |
|
2192 |
4455
|
2193 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2194 |
|
2195 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
2196 |
|
2197 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
2198 liboctave_dfi_flag. |
|
2199 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
2200 X undefined or empty, always create a row vector. |
|
2201 |
|
2202 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
2203 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
2204 |
4437
|
2205 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2206 |
|
2207 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
2208 Magic colon indexing always produces an object with one column. |
|
2209 |
5095
|
2210 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
2211 |
|
2212 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
2213 |
|
2214 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
2215 |
4431
|
2216 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2217 |
|
2218 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
2219 neg_zero is true, also return true for negative zero. |
|
2220 |
4429
|
2221 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2222 |
|
2223 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
2224 Handle step limit. |
|
2225 * DASSL-opts.in: New option for step limit. |
|
2226 |
5095
|
2227 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
2228 |
|
2229 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
2230 |
4428
|
2231 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2232 |
|
2233 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
2234 Store step limit in iwork(20), not iwork(18). |
|
2235 |
5095
|
2236 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
2237 |
|
2238 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
2239 |
4412
|
2240 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2241 |
4413
|
2242 * Makefile.in: Handle DESTDIR. |
|
2243 |
4412
|
2244 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
2245 (kpse_path_iterator::set_end): Don't miss last element when not |
|
2246 followed by a colon. |
|
2247 |
4409
|
2248 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2249 |
|
2250 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
2251 |
|
2252 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2253 |
|
2254 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
2255 (find_first_of): Also do an absolute search on each |
|
2256 name before looking in the path. |
|
2257 |
4407
|
2258 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2259 |
|
2260 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
2261 directory separator. |
|
2262 |
4399
|
2263 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2264 |
|
2265 * pathsearch.cc: Include kpse.cc here. |
|
2266 |
|
2267 * kpse.cc: All functions are now static. Massive surgery to |
|
2268 condense kpathsearch library to a single file of just the |
|
2269 essentials for Octave and convert to using C++ strings (no more |
|
2270 calls to malloc, very few calls to new, so there should be much |
|
2271 less potential for introducing memory leaks now). |
|
2272 |
|
2273 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
2274 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
2275 |
|
2276 * kpse.h, kpse-config.h: Delete. |
|
2277 * Makefile.in (INCLUDES): Delete them from the list. |
|
2278 |
4392
|
2279 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2280 |
|
2281 * str-vec.cc (string_vector::append (const std::string&), |
|
2282 string_vector::append (const string_vector&)): New methods. |
|
2283 |
4386
|
2284 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2285 |
4389
|
2286 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
2287 |
4387
|
2288 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
2289 |
4386
|
2290 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
2291 (READABLE): Now a static function to avoid warnings from MinGW |
|
2292 compiler. |
|
2293 |
4384
|
2294 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2295 |
4385
|
2296 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
2297 static. Include most of kpse-xfns.h directly, removing |
|
2298 unnecessary bits. |
|
2299 |
4384
|
2300 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
2301 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
2302 |
4378
|
2303 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2304 |
|
2305 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
2306 * Makefile.in: Add them to the appropriates lists. |
|
2307 |
|
2308 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
2309 |
|
2310 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
2311 for new locations of kpathsea objects. |
|
2312 Delete kpathsea targets. |
|
2313 |
|
2314 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
2315 |
|
2316 * kpse.cc: New file. |
|
2317 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
2318 |
|
2319 * kpse.c: New file. |
|
2320 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
2321 |
|
2322 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
2323 * Makefile.in (INCLUDES): Add them to the list. |
|
2324 |
|
2325 * oct-kpse.h: Delete. |
|
2326 * Makefile.in (INCLUDES): Delete it from the list. |
|
2327 |
4374
|
2328 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2329 |
|
2330 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
2331 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
2332 Likewise. |
|
2333 From Quentin H. Spencer <qspencer@ieee.org>. |
|
2334 |
4365
|
2335 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2336 |
|
2337 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
2338 |
4349
|
2339 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2340 |
4352
|
2341 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
2342 without placement delete. |
|
2343 |
4349
|
2344 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
2345 imaginary parts. |
|
2346 |
|
2347 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
2348 |
5095
|
2349 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
2350 |
|
2351 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
2352 Use Lapack instead of Linpack. |
5315
|
2353 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
2354 ComplexMatrix::solve): Likewise. |
|
2355 |
|
2356 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
2357 calc_cond. If 0, skip condition number calculation. |
|
2358 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
2359 Likewise. |
|
2360 |
|
2361 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
2362 * dbleLU.cc (LU::LU): Likewise. |
|
2363 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
2364 |
|
2365 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2366 |
|
2367 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
2368 |
4323
|
2369 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2370 |
|
2371 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
2372 Additional compatibility fix. |
|
2373 |
|
2374 2003-02-13 Arno Klaassen <arno@scito.com> |
|
2375 |
|
2376 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
2377 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
2378 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
2379 |
4322
|
2380 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2381 |
|
2382 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
2383 Compatibility fix. |
|
2384 |
4316
|
2385 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2386 |
|
2387 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
2388 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
2389 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
2390 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
2391 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
2392 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
2393 |
|
2394 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
2395 with make_unique and xelem. |
|
2396 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
2397 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
2398 ComplexMatrix::extract, ComplexMatrix::row, |
|
2399 ComplexMatrix::column): Likewise. |
|
2400 * dColVector.cc (ColumnVector::insert): Likewise. |
|
2401 * dRowVector.cc (RowVector::insert): Likewise. |
|
2402 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
2403 Matrix::row, Matrix::column): Likewise. |
|
2404 |
4313
|
2405 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2406 |
|
2407 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
2408 |
4309
|
2409 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2410 |
|
2411 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
2412 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
2413 * CMatrix.h, dMatrix.h: Provide decls. |
|
2414 |
4307
|
2415 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2416 |
|
2417 * oct-rand.h, oct-rand.cc: New files. |
|
2418 * Makefile.in: Add them to the appropriate lists. |
|
2419 |
4306
|
2420 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2421 |
|
2422 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
2423 |
4299
|
2424 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
2425 |
|
2426 * oct-syscalls.cc: Include signal.h. |
|
2427 |
4294
|
2428 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2429 |
|
2430 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
2431 * oct-syscalls.h: Provide decl. |
|
2432 |
|
2433 |
4293
|
2434 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2435 |
|
2436 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
2437 there is nothing to read. |
|
2438 |
4290
|
2439 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2440 |
|
2441 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
2442 |
4286
|
2443 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2444 |
4288
|
2445 * getopt.h: Update to version from kpathsearch, so we will install |
|
2446 the version that we are using. |
|
2447 |
|
2448 * getopt.c, getopt1.c: Delete. |
|
2449 (INCLUDES): Delete them from the list. We'll get these files from |
|
2450 kpathsearch. |
|
2451 |
4286
|
2452 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
2453 ../kpathsea/STATIC/*.o. |
|
2454 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
2455 |
4270
|
2456 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2457 |
4282
|
2458 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
2459 unreachable code. |
|
2460 |
4279
|
2461 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
2462 to correspond to placement new operator. |
|
2463 |
4278
|
2464 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
2465 (DET::value_will_underflow): Likewise. |
|
2466 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
2467 (ComplexDET::value_will_underflow): Likewise. |
|
2468 |
4276
|
2469 * Makefile.in (distclean): Also remove stamp-prereq. |
|
2470 |
4306
|
2471 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
2472 RHS and index are empty matrices, don't do anything. |
4270
|
2473 |
4242
|
2474 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2475 |
|
2476 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
2477 delete_c_names): New helper functions. |
|
2478 (dir_path::find_first_of): New function. |
|
2479 (dir_path::find_all_first_of): Likewise. |
|
2480 * pathsearch.h: Provide decls. |
|
2481 |
|
2482 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
2483 (octave_kpse_all_path_find_first_of): Likewise. |
|
2484 * oct-kpse.h: Provide decls. |
|
2485 |
4231
|
2486 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2487 |
|
2488 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
2489 * ODESSA-opts.in: Likewise. |
|
2490 |
|
2491 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
2492 * LSODE-opts.in: Likewise. |
|
2493 |
4229
|
2494 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2495 |
4230
|
2496 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
2497 in all constructors. |
|
2498 |
4229
|
2499 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
2500 (LINK_DEPS): Not here. |
|
2501 |
4219
|
2502 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2503 |
4220
|
2504 * str-vec.cc (string_vector::compare): New static member function. |
|
2505 * str-vec.h: Provide decl. |
|
2506 (string_vector::sort): Use it. |
|
2507 (str_vec_compare): Delete static function. |
|
2508 |
4219
|
2509 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
2510 a placement operator new. |
|
2511 |
4209
|
2512 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2513 |
4210
|
2514 * Matrix.h: Include mx-ops.h too. |
4209
|
2515 * mx-ops.h: New file. |
|
2516 |
4192
|
2517 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2518 |
|
2519 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
2520 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
2521 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
2522 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
2523 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
2524 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
2525 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
2526 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
2527 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
2528 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
2529 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
2530 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
2531 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
2532 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
2533 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
2534 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
2535 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
2536 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
2537 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
2538 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
2539 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
2540 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
2541 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
2542 |
4184
|
2543 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2544 |
|
2545 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
2546 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
2547 |
4180
|
2548 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2549 |
|
2550 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
2551 fortran code that should run fast enough that it is not worth all |
|
2552 the setup costs of F77_XFCN. |
|
2553 |
|
2554 * Quad.cc (user_function): Surround body of function with |
|
2555 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
2556 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
2557 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
2558 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
2559 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
2560 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
2561 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
2562 |
4164
|
2563 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2564 |
|
2565 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
2566 of ! defined (linux). |
|
2567 |
5095
|
2568 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
2569 |
|
2570 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
2571 (make_shlib): Instantiate octave_dyld_shlib. |
|
2572 |
4152
|
2573 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2574 |
4153
|
2575 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
2576 |
4152
|
2577 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
2578 |
|
2579 * Array.h: Include <cstddef> here. |
|
2580 |
4142
|
2581 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2582 |
4144
|
2583 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
2584 using them. Accept inequality contraint option of 0. Assign |
|
2585 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
2586 abs_tol and rel_tol. |
|
2587 |
4143
|
2588 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
2589 static function. |
|
2590 (command_editor::do_filename_completion_desired): New virtual function. |
|
2591 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
2592 * oct-rl-edit.h: Provide decl. |
|
2593 |
4142
|
2594 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
2595 avoid OS X linker bug. |
|
2596 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
2597 |
4139
|
2598 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2599 |
4141
|
2600 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
2601 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
2602 solvers. |
|
2603 * ODESSA.cc: Fix all callers. |
|
2604 |
4139
|
2605 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
2606 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
2607 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
2608 |
4136
|
2609 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2610 |
|
2611 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
2612 |
4132
|
2613 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2614 |
4133
|
2615 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
2616 (ddasrt_f): Combine loops. |
|
2617 |
4132
|
2618 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
2619 instead of empty vector if user termninates iteration. |
|
2620 |
4130
|
2621 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2622 |
|
2623 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
2624 octave_read_complex, octave_write_double, octave_write_complex): |
|
2625 New functions. |
|
2626 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
2627 Use octave_write_complex. |
|
2628 (operator >> (std::istream&, const ComplexMatrix&)): |
|
2629 Use octave_read_complex. |
|
2630 * dMatrix.cc (operator << (std::ostream&, double)): |
|
2631 Use octave_write_double. |
|
2632 (operator >> (std::istream&, double)): Use octave_read_double. |
|
2633 |
4126
|
2634 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2635 |
|
2636 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
2637 * oct-kpse.h: Delete decl. |
|
2638 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
2639 ::octave_kpse_clear_dir_cache. |
|
2640 |
4123
|
2641 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2642 |
4124
|
2643 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
2644 earlier than 3.0. |
|
2645 |
4123
|
2646 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
2647 (liboctave.$(SHLEXT)): Not here. |
|
2648 |
5095
|
2649 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
2650 |
|
2651 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
2652 |
4108
|
2653 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2654 |
|
2655 * Makefile.in (install-lib): Don't bother with versions for |
|
2656 $(SHLBIN) files. |
|
2657 |
5095
|
2658 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
2659 |
|
2660 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
2661 |
4102
|
2662 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2663 |
|
2664 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
2665 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
2666 New functions. |
|
2667 |
|
2668 * Makefile.in (install): No need to use cd to create links. |
|
2669 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
2670 |
5095
|
2671 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
2672 |
|
2673 * Makefile.in: Merge liboctave with liboct-readline and |
|
2674 liboct-pathsearch. |
|
2675 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
2676 (libraries): Depend on versioned library. |
|
2677 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
2678 build unversioned library, symbolic link adds version info. |
|
2679 (install, uninstall): Handle link and load forms of the library |
|
2680 separately. |
|
2681 |
4101
|
2682 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2683 |
|
2684 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
2685 __CYGWIN__. |
|
2686 |
|
2687 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
2688 file_ops::dir_sep_chars): New static functions to replace |
|
2689 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
2690 |
|
2691 * oct-env.cc (octave_env::do_set_program_name): |
|
2692 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
2693 (octave_env::do_base_pathname): Likewise. |
|
2694 (octave_env::do_make_absolute): Likewise. |
|
2695 |
|
2696 * oct-env.cc (octave_env::do_make_absolute): |
|
2697 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
2698 (octave_env::do_get_home_directory): Likewise. |
|
2699 |
|
2700 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
2701 that information here too. |
|
2702 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
2703 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
2704 |
|
2705 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
2706 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
2707 |
4097
|
2708 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2709 |
|
2710 * oct-env.h (octave_env::current_directory): Now mutable. |
|
2711 (octave_env:do_getcwd): Now const. |
|
2712 |
|
2713 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
2714 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
2715 OCTAVE_CURRENT_DIR_STR): New macros. |
|
2716 * oct-env.cc (is_dir_sep): Delete. |
|
2717 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
2718 (octave_env::do_set_program_name): Likewise. |
|
2719 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
2720 instead of checking for '/'. |
|
2721 (octave_env::pathname_backup): Likewise. |
|
2722 (octave_env::do_absolute_pathname): Likewise. |
|
2723 (octave_env::do_make_absolute): Likewise. |
|
2724 If dot_path is empty, use getcwd to set current_dir. |
|
2725 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
2726 instead of "/". |
|
2727 |
5095
|
2728 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
2729 |
|
2730 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
2731 |
5095
|
2732 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
2733 |
|
2734 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
2735 absolute path names under MinGW as well. |
|
2736 |
|
2737 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2738 |
|
2739 * oct-env.cc: Include <cctype> too. |
|
2740 |
4087
|
2741 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2742 |
|
2743 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
2744 filenames. |
|
2745 (octave_env::do_make_absolute): Check for absolute name with |
|
2746 do_absolute_path. |
4088
|
2747 (octave_env::do_chdir): Likewise. |
|
2748 (is_dir_sep): New function. |
4087
|
2749 |
5095
|
2750 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
2751 |
4086
|
2752 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
2753 systems. |
4085
|
2754 |
4083
|
2755 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2756 |
|
2757 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
2758 |
4080
|
2759 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2760 |
4081
|
2761 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
2762 |
4080
|
2763 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
2764 |
5095
|
2765 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
2766 |
|
2767 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
2768 gr_gid too. |
|
2769 |
4072
|
2770 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2771 |
4074
|
2772 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
2773 lo_ieee_* functions. |
4072
|
2774 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
2775 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
2776 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
2777 * lo-cieee.c: New file. |
4074
|
2778 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
2779 * lo-ieee.h: Now all extern "C". |
4074
|
2780 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
2781 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
2782 |
4072
|
2783 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
2784 Now extern. |
|
2785 |
4066
|
2786 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2787 |
|
2788 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
2789 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2790 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2791 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
2792 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
2793 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
2794 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
2795 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
2796 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
2797 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
2798 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
2799 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
2800 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
2801 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
2802 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
2803 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
2804 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
2805 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
2806 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
2807 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
2808 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
2809 oct-alloc.cc: |
|
2810 If __GNUG__, use pragma interface/implementation. Allow this to |
|
2811 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
2812 |
5095
|
2813 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
2814 |
4066
|
2815 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
2816 system readlink function is not available. |
|
2817 |
4065
|
2818 * lo-mappers.cc (xerf, xerfc): Delete. |
|
2819 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
2820 |
4064
|
2821 * lo-mappers.cc: Remove unused #define M_PI. |
|
2822 * lo-specfun.cc: Add #define M_PI if needed. |
|
2823 |
4062
|
2824 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2825 |
|
2826 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
2827 that geteuid doesn't exist. |
|
2828 |
|
2829 * LP.h: Rename LP class to octave_LP. |
|
2830 LPsolve.h: Change all uses. |
|
2831 |
|
2832 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
2833 incorrect token-pasting op. |
|
2834 |
|
2835 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
2836 define lstat. |
|
2837 |
4061
|
2838 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2839 |
|
2840 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
2841 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2842 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2843 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
2844 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
2845 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
2846 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
2847 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
2848 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
2849 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
2850 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
2851 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
2852 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
2853 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
2854 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
2855 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
2856 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
2857 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
2858 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
2859 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
2860 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
2861 oct-alloc.cc: |
|
2862 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
2863 to decide whether to use the interface/implementation pragmas. |
|
2864 |
4058
|
2865 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2866 |
|
2867 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
2868 |
4055
|
2869 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
2870 |
|
2871 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
2872 qualified names. |
|
2873 |
4051
|
2874 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2875 |
4054
|
2876 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
2877 ArrayN.cc: Add typename where needed. |
4053
|
2878 |
4051
|
2879 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
2880 strstream classes directly. |
|
2881 * DASRT.cc: Likewise. |
|
2882 * DASSL.cc: Likewise. |
|
2883 * LSODE.cc: Likewise. |
|
2884 * ODESSA.cc: Likewise. |
|
2885 |
|
2886 * cmd-hist.cc: Don't include <strstream>. |
|
2887 * oct-shlib.cc: Likewise. |
|
2888 |
|
2889 * lo-sstream.h: New file. |
|
2890 |
4049
|
2891 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2892 |
|
2893 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
2894 New data members. |
|
2895 (LSODE::sanity_checked): Delete unused data member. |
|
2896 |
|
2897 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
2898 prel_tol, pinfo, piwork, prwork): New data members. |
|
2899 * DASSL.h (DASSL): Likewise. |
|
2900 |
|
2901 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
2902 |
|
2903 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
2904 initialization, changes in options, etc. |
|
2905 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
2906 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
2907 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
2908 |
4047
|
2909 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2910 |
4049
|
2911 * DAEFunc.h (DAEFunc::reset): New data member. |
|
2912 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
2913 |
|
2914 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
2915 (base_diff_eqn::clear_stop_time): Likewise. |
|
2916 |
4047
|
2917 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
2918 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
2919 |
5095
|
2920 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
2921 |
|
2922 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
2923 * DASRT-opts.in, DASRT.h: Likewise. |
|
2924 * DASSL-opts.in, DASSL.h: Likewise. |
|
2925 * LSODE-opts.in, LSODE.h: Likewise. |
|
2926 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
2927 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
2928 |
4038
|
2929 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2930 |
4042
|
2931 * LSODE.cc (LSODE::error_message): Also return current T on |
|
2932 failures when that makes sense. |
4043
|
2933 * DASSL.cc (DASSL::error_message): Likewise. |
|
2934 * DASRT.cc (DASRT::error_message): Likewise. |
|
2935 * DASPK.cc (DASPK::error_message): Likewise. |
|
2936 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
2937 |
4038
|
2938 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
2939 $(LIBKPATHSEA) here. |
|
2940 |
4025
|
2941 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2942 |
|
2943 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
2944 (lo_ieee_is_NaN_or_NA): New function. |
|
2945 (octave_NA): New global value. |
|
2946 (octave_ieee_init): Initialize it. |
|
2947 * lo-mappers.cc (octave_is_NA): New function. |
|
2948 (octave_is_NaN_or_NA): New function. |
|
2949 (xisnan): Return false if NaN looks like a missing value. |
|
2950 (xisnan (const Complex&)): Use xisnan here. |
|
2951 |
4015
|
2952 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2953 |
4017
|
2954 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
2955 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
2956 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
2957 Default value for dim is -1, not 0. |
|
2958 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
2959 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
2960 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
2961 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
2962 |
4015
|
2963 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
2964 New macros. |
|
2965 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
2966 MX_BASE_REDUCTION_OP. |
|
2967 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
2968 |
4014
|
2969 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2970 |
4015
|
2971 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
2972 Return boolMatrix, not Matrix. |
|
2973 |
|
2974 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
2975 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
2976 (Matrix::all): Replace guts with MX_ALL_OP. |
|
2977 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
2978 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
2979 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
2980 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
2981 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
2982 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
2983 |
|
2984 * dMatrix.h (Matrix::any): New arg, dim. |
|
2985 (Matrix::all): Likewise. |
|
2986 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
2987 (ComplexMatrix::all): Likewise. |
|
2988 * boolMatrix.h (boolMatrix::any): Likewise. |
|
2989 (boolMatrix::all): Likewise. |
|
2990 * chMatrix.h (charMatrix::any): Likewise. |
|
2991 (charMatrix::all): Likewise. |
|
2992 |
4014
|
2993 * Makefile.in: Use $@-t instead of $@.t. |
|
2994 |
4004
|
2995 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2996 |
|
2997 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
2998 Use it in matrix versions to avoid spewing multiple errors. |
|
2999 Call xgammainc instead of dgamit. |
|
3000 |
3998
|
3001 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3002 |
|
3003 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
3004 Get rows and columns right in loop. |
|
3005 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
3006 |
|
3007 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3008 |
|
3009 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
3010 * DASRT.cc (DASRT::integrate): Likewise. |
|
3011 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
3012 |
|
3013 * Quad.cc: Don't pass tolerances in constructors. |
|
3014 |
|
3015 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
3016 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
3017 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
3018 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
3019 from corresponding .in files. |
|
3020 * LSODE.h, Quad.h: Replace options class definitions with included |
|
3021 file. |
|
3022 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
3023 create OPTS_INC files from OPTS_INC_SRC files. |
|
3024 (stamp-prereq): New target. |
|
3025 (libraries): Depend on stamp-prereq. |
|
3026 Include stamp-prereq along with $(MAKEDEPS). |
|
3027 |
3997
|
3028 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3029 |
|
3030 * base-de.h (base_diff_eqn::istate): New data member. |
|
3031 (base_diff_eqn::integration_state): New member function. |
|
3032 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
3033 data members and functions. |
|
3034 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
3035 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
3036 |
3990
|
3037 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3038 |
3995
|
3039 * base-de.h (base_diff_eqn::stop_time, |
|
3040 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
3041 base_diff_eqn::integration_error): New data members. |
|
3042 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
3043 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
3044 base_diff_eqn::error_message): New member functions. |
|
3045 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
3046 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
3047 members and functions. |
|
3048 |
3992
|
3049 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
3050 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
3051 (DASRT::integrate): Don't forget to set nn. |
3992
|
3052 |
3991
|
3053 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
3054 * DASSL.cc (ddassl_j): Make it work. |
|
3055 * DASPK.cc (ddaspk_j): Likewise. |
|
3056 |
3990
|
3057 * DAE.cc: Delete. |
|
3058 |
|
3059 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
3060 solving with root finding. |
|
3061 * Makefile.in: Add them to the appropriate lists. |
|
3062 |
|
3063 * base-dae.h: New file. |
|
3064 * Makefile.in (INCLUDES): Add it to the list. |
|
3065 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
3066 |
3984
|
3067 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3068 |
|
3069 * ODE.h: Move integrate and do_integrate method declarations and |
|
3070 definitions here. |
|
3071 * base-de.h: From here. |
|
3072 |
|
3073 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
3074 * Makefile.in: Add them to the appropriate lists. |
|
3075 (LIBOCTAVE_CXX_SOURCES): |
|
3076 |
3971
|
3077 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3078 |
|
3079 * NLEqn.cc (NLEqn::error_message): New function. |
|
3080 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
3081 |
3970
|
3082 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3083 |
|
3084 * lo-utils.cc (octave_fgetl): New function. |
|
3085 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
3086 |
3959
|
3087 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3088 |
|
3089 * LSODE.cc (LSODE::error_message): New function. |
|
3090 * LSODE.h: Provide decl. |
|
3091 (LSODE::integration_state): New function. |
|
3092 (LSODE::integration_ok): New function. |
|
3093 |
3952
|
3094 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3095 |
3955
|
3096 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
3097 (LSODE_options::set_integration_method, |
|
3098 LSODE_options::integration_method): New functions. |
3954
|
3099 |
3952
|
3100 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
3101 Change all uses. |
|
3102 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
3103 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
3104 New function. |
|
3105 |
|
3106 * Array.h (Array::fortran_vec): New const version. |
|
3107 |
3951
|
3108 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3109 |
|
3110 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
3111 (gnu_readline::history_search_forward): Likewise. |
|
3112 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
3113 to extern "C" functions to octave_rl_ad_defun. |
|
3114 |
5095
|
3115 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
3116 |
|
3117 * DASPK.cc (ddaspk_psol): Return value. |
|
3118 * oct-rl-edit.c: Use /* ... */ to comment. |
|
3119 |
3945
|
3120 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3121 |
|
3122 * DASSL.h (DASSL_options::init): Undo previous change. |
|
3123 (DASSL_options::set_absolute_tolerance): Likewise. |
|
3124 * LSODE.h (LSODE_options::init): Likewise. |
|
3125 (LSODE_options::set_absolute_tolerance): Likewise. |
|
3126 |
|
3127 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
3128 sqrt(eps), not eps^2. |
|
3129 DASPK_options::set_absolute_tolerance): Likewise. |
|
3130 |
5095
|
3131 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
3132 |
|
3133 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
3134 object. |
|
3135 |
3933
|
3136 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3137 |
|
3138 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
3139 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
3140 (octave_rl_set_basic_word_break_characters, |
|
3141 octave_rl_set_completer_word_break_characters): New functions. |
|
3142 * oct-rl-edit.h: Provide decls. |
|
3143 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
3144 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
3145 (command_editor::set_basic_quote_characters, |
|
3146 command_editor::set_completion_append_character): New static functions. |
|
3147 * cmd-edit.h: Provide decls. |
|
3148 (command_editor::do_set_basic_word_break_characters, |
|
3149 command_editor::do_set_completer_word_break_characters): |
|
3150 New virtual functions. |
|
3151 |
|
3152 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
3153 (resize_fill_value): New static function. |
|
3154 |
|
3155 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
3156 resize_fill_value. |
|
3157 * Array2-idx.h (Array2<T>::index): Likewise. |
|
3158 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
3159 |
|
3160 * Array2.cc (Array<T>::print_info): New function. |
|
3161 * Array2.h: Provide decl. |
|
3162 |
|
3163 * Array.cc (Array<T>::print_info): New function. |
|
3164 * Array.h: Provide decl. |
|
3165 |
3928
|
3166 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3167 |
|
3168 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
3169 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
3170 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
3171 |
|
3172 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
3173 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
3174 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
3175 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
3176 |
5095
|
3177 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
3178 |
|
3179 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
3180 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
3181 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
3182 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
3183 |
3919
|
3184 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3185 |
|
3186 * DASSL.h (DASSL_options::init): Undo previous change. |
|
3187 (DASSL_options::set_absolute_tolerance): Likewise. |
|
3188 |
3912
|
3189 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3190 |
|
3191 * DASPK.h, DASPK.cc: New files. |
|
3192 * Makefile.in: Add them to the appropriate lists. |
|
3193 |
3904
|
3194 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3195 |
|
3196 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
3197 Simplify indexing when one or both of the indices are empty. |
|
3198 |
3896
|
3199 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3200 |
|
3201 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
3202 (DASSL_options::set_absolute_tolerance): Likewise. |
|
3203 * LSODE.h (LSODE_options::init): Likewise. |
|
3204 (LSODE_options::set_absolute_tolerance): Likewise. |
|
3205 |
5095
|
3206 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
3207 |
|
3208 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
3209 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
3210 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
3211 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
3212 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
3213 * file-stat.h: Likewise. |
|
3214 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
3215 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
3216 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
3217 * strftime.c: Likewise. |
|
3218 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
3219 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
3220 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
3221 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
3222 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3223 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3224 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
3225 |
5095
|
3226 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
3227 |
|
3228 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
3229 internally when the user requests it. |
|
3230 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
3231 * dbleQR.cc (QR::init): Ditto. |
|
3232 * dbleQRP.cc (QRP::init): Ditto. |
|
3233 |
3874
|
3234 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3235 |
|
3236 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
3237 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
3238 (octave_fftw::ifft2d): Likewise. |
|
3239 |
5095
|
3240 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
3241 |
|
3242 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
3243 |
3867
|
3244 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3245 |
|
3246 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
3247 (LS_DO_WRITE): Likewise. |
|
3248 |
3864
|
3249 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3250 |
|
3251 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
3252 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
3253 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
3254 |
|
3255 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
3256 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
3257 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
3258 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
3259 |
|
3260 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
3261 DIM == -1 now means no orientation for vector sums. |
|
3262 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
3263 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
3264 |
3858
|
3265 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3266 |
|
3267 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
3268 have zero elements. |
|
3269 |
3854
|
3270 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3271 |
3857
|
3272 * Makefile.in: Split out readline and pathsearch functionality |
|
3273 into separate liboct-readline and liboct-pathsearch libraries. |
|
3274 |
3854
|
3275 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
3276 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
3277 to do nothing for this call to rl_clear_screen. |
3854
|
3278 |
3849
|
3279 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3280 |
|
3281 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
3282 function. |
|
3283 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
3284 |
3838
|
3285 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3286 |
|
3287 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
3288 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
3289 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
3290 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
3291 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
3292 |
3836
|
3293 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3294 |
|
3295 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
3296 |
|
3297 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
3298 Array-b.cc: Instantiate three arg assign functions. |
|
3299 |
|
3300 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
3301 New arg, resize_fill_value. |
|
3302 * ArrayN.h: Provide declaration. |
|
3303 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
3304 three arg version. |
|
3305 |
|
3306 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
3307 New arg, resize_fill_value. |
|
3308 * Array3.h: Provide declaration. |
|
3309 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
3310 three arg version. |
|
3311 |
|
3312 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
3313 New arg, resize_fill_value. |
|
3314 * Array2.h: Provide declaration. |
|
3315 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
3316 three arg version. |
|
3317 |
|
3318 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
3319 New arg, resize_fill_value. |
|
3320 * Array.h: Provide declaration. |
|
3321 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
3322 three arg version. |
|
3323 |
3833
|
3324 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3325 |
|
3326 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
3327 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
3328 to the empty string. |
|
3329 |
3832
|
3330 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3331 |
|
3332 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
3333 Don't check for rep != a.rep. |
|
3334 |
3827
|
3335 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
3336 |
|
3337 * oct-fftw.h, oct-fftw.cc: New files. |
|
3338 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
3339 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
3340 ifourier2d}): Use fftw if available. |
|
3341 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
3342 Likewise. |
|
3343 |
3821
|
3344 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3345 |
|
3346 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
3347 (install-inc): Don't use mk-includedir-link. |
|
3348 |
3803
|
3349 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3350 |
|
3351 * lo-cutils.c (octave_gethostname): New function. |
|
3352 * lo-utils.h: Provide declaration. |
|
3353 * oct-env.cc (octave_env::do_get_host_name): |
|
3354 Call octave_gethostname, instead of gethostname. |
|
3355 |
|
3356 * lo-cutils.c (gethostname): Define here. |
|
3357 * lo-sysdep.cc: Not here. |
|
3358 |
3786
|
3359 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3360 |
|
3361 * lo-cutils.c: Don't declare strptime. |
|
3362 (oct_strptime): Cast return type of strptime to char*. |
|
3363 |
3777
|
3364 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3365 |
3779
|
3366 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
3367 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
3368 (octave_rl_read_init_file): Ditto. |
|
3369 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
3370 free_undo_list. |
|
3371 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
3372 completion_matches. |
|
3373 (octave_rl_enable_paren_matching): New function. |
|
3374 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
3375 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
3376 |
3777
|
3377 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
3378 tanh (const Complex&)): Declare and define if not |
|
3379 CXX_ISO_COMPLIANT_LIBRARY. |
|
3380 |
3776
|
3381 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3382 |
|
3383 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
3384 CXX_ISO_COMPLIANT_LIBRARY. |
|
3385 |
3775
|
3386 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
3387 |
3776
|
3388 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
3389 CXX_ISO_COMPLIANT_LIBRARY. |
|
3390 |
3775
|
3391 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
3392 archive libraries containing templates. |
|
3393 |
|
3394 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
3395 get_zero_len_size, all_colon_equiv): Inline. |
|
3396 (ArrayN<T>::index): Rename idx to arr_idx. |
|
3397 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
3398 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
3399 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
3400 |
|
3401 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3402 |
|
3403 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
3404 log10 (const Complex&)): Delete. |
|
3405 |
|
3406 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
3407 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
3408 sinh, sqrt, tan, and tanh. |
|
3409 |
3769
|
3410 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3411 |
|
3412 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
3413 Add std:: namespace qualifier as needed. |
|
3414 |
|
3415 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
3416 Change all uses to match. |
|
3417 |
3767
|
3418 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3419 |
|
3420 * lo-cutils.c: Don't delcare strptime. |
|
3421 |
3760
|
3422 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3423 |
|
3424 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
3425 Return correct size result for empty matrix case. |
|
3426 |
3757
|
3427 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3428 |
|
3429 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
3430 If args are equal in magnitude, return first arg instead of |
|
3431 second. |
|
3432 |
3752
|
3433 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3434 |
3755
|
3435 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
3436 then try harder to compute correct number of elements. |
3753
|
3437 |
3752
|
3438 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
3439 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
3440 |
3750
|
3441 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3442 |
3751
|
3443 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
3444 Rename n_intervals to be n_elt. |
|
3445 |
3750
|
3446 * strptime.c: Surround everything after including config.h in |
|
3447 #ifndef HAVE_STRPTIME ... #endif. |
|
3448 |
3742
|
3449 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3450 |
|
3451 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
3452 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
3453 |
3741
|
3454 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3455 |
|
3456 * MArray-defs.h: Protect against multiple inclusion. |
|
3457 |
3739
|
3458 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3459 |
|
3460 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
3461 end of the list, to be compatible with previous versions of Octave. |
|
3462 |
3736
|
3463 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
3464 |
|
3465 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
3466 since mktime is supposed to `normalize' the results for us. |
|
3467 |
3731
|
3468 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
3469 |
|
3470 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
3471 and vectors. Use xelem for faster access to elements when copying. |
3731
|
3472 |
3726
|
3473 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3474 |
|
3475 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
3476 Correct indexing for operation across rows. |
|
3477 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
3478 |
3725
|
3479 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
3480 |
|
3481 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
3482 elements if arg is a colon. |
|
3483 |
5095
|
3484 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
3485 |
3795
|
3486 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
3487 (Matrix::cumsum (int) const): Likewise. |
|
3488 (Matrix::prod (int) const): Likewise. |
|
3489 (Matrix::sum (int) const): Likewise. |
|
3490 (Matrix::sumsq (int) const): Likewise. |
|
3491 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
3492 (ComplexMatrix::cumsum (int) const): Likewise. |
|
3493 (ComplexMatrix::prod (int) const): Likewise. |
|
3494 (ComplexMatrix::sum (int) const): Likewise. |
|
3495 (ComplexMatrix::sumsq (int) const): Likewise. |
|
3496 |
3722
|
3497 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3498 |
|
3499 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
3500 size if Array<T>::index returns an empty array. |
|
3501 |
3710
|
3502 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3503 |
|
3504 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
3505 file_ops::readlink): New functions. |
|
3506 |
3709
|
3507 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3508 |
|
3509 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
3510 indexed, always return an object the same size as the index arg. |
|
3511 |
|
3512 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
3513 empty format. |
|
3514 |
3706
|
3515 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3516 |
|
3517 * lo-cutils.c (oct_strptime): New function. |
|
3518 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
3519 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
3520 |
3702
|
3521 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3522 |
3703
|
3523 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
3524 |
3702
|
3525 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
3526 |
3689
|
3527 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3528 |
|
3529 * dMatrix.h (read_int): Provide declaration. |
|
3530 |
3688
|
3531 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
3532 |
|
3533 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
3534 (write_doubles): Ditto. |
|
3535 * data-conv.h: Ditto. |
|
3536 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
3537 |
3685
|
3538 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3539 |
|
3540 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
3541 * boolMatrix.cc: Define them here. |
|
3542 |
3680
|
3543 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3544 |
|
3545 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
3546 previously undefined and set size of x to size of bool index. |
|
3547 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
3548 Allow z_len to be zero. |
|
3549 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
3550 If frozen, don't assert that frozen_at_z_len == z_len. |
|
3551 |
3670
|
3552 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3553 |
|
3554 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
3555 instead of rl_clear_screen. |
|
3556 |
3665
|
3557 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3558 |
|
3559 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
3560 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
3561 * Makefile.in: Add them to the appropriate lists. |
|
3562 |
3657
|
3563 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3564 |
|
3565 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
3566 |
3635
|
3567 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3568 |
|
3569 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
3570 |
3615
|
3571 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3572 |
|
3573 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
3574 before rebuilding. |
|
3575 |
5095
|
3576 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
3577 |
5261
|
3578 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
3579 (libraries): Depend only on library targets, not archive members. |
|
3580 |
3613
|
3581 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3582 |
|
3583 * Makefile.in: (objects): New target. |
|
3584 |
|
3585 * lo-cutils.c: New file. |
|
3586 * Makefile.in (SOURCES): Add it to the list. |
|
3587 * lo-utils.h: Declare octave_qsort here. |
|
3588 * Array.h (Array::qsort): Use it here. |
|
3589 |
3607
|
3590 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3591 |
|
3592 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
3593 |
3598
|
3594 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3595 |
|
3596 * oct-rl-hist.c (octave_history_list): Do something when not |
|
3597 printing line numbers. Fix reallocation of retval. |
|
3598 |
3597
|
3599 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3600 |
|
3601 * Makefile.in (install-inc): Install files in |
|
3602 $(octincludedir)/octave. |
|
3603 (uninstall): Remove them from the correct directory too. |
|
3604 |
|
3605 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
3606 they are not already defined. |
|
3607 |
3588
|
3608 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3609 |
|
3610 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
3611 Delete declarations and definitions of mixed-type vector-vector ops. |
|
3612 |
3585
|
3613 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3614 |
|
3615 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
3616 matrix and vector objects. |
|
3617 |
|
3618 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
3619 return type from second arg type. |
|
3620 (MDM_BIN_OP): Likewise, for first arg type. |
|
3621 |
|
3622 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
3623 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
3624 |
|
3625 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
3626 request ColumnVector to ComplexColumnVector, and Matrix to |
|
3627 ComplexMatrix conversions. |
|
3628 |
|
3629 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
3630 initial value using ComplexMatrix constructor. |
|
3631 |
|
3632 * CColVector.cc (product, quotient, |
|
3633 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
3634 Fix type of returned value. |
|
3635 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
3636 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
3637 |
|
3638 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
3639 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
3640 dRowVector.h: Declare some constructors explicit, to disallow |
|
3641 potentially problematic automatic type conversions. |
|
3642 |
3580
|
3643 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3644 |
3582
|
3645 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
3646 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
3647 More new files. |
|
3648 * Makefile.in: Add them to the appropriate lists. |
|
3649 |
|
3650 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
3651 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
3652 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
3653 vx-s-crv.cc:, New files. |
|
3654 * Makefile.in: Add them to the appropriate lists. |
|
3655 |
|
3656 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
3657 Delete scalar by vector and vector by scalar binary ops. |
|
3658 |
3580
|
3659 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
3660 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
3661 |
3573
|
3662 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3663 |
3578
|
3664 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
3665 rl_event_hook before casting to void **. |
|
3666 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
3667 |
3574
|
3668 * MArray-defs.h: Many new macros to make declaration and |
|
3669 definition of operators more consistent. |
|
3670 |
|
3671 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
3672 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
3673 |
3569
|
3674 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3675 |
3572
|
3676 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
3677 (Matrix::ifourier2d): Likewise. |
|
3678 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
3679 (ComplexMatrix::ifourier2d): Likewise. |
|
3680 |
3569
|
3681 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
3682 |
3504
|
3683 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3684 |
3519
|
3685 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
3686 readline library. |
|
3687 * Makefile.in: Add them to the appropriate lists. |
|
3688 |
|
3689 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
3690 readline history library. |
|
3691 * Makefile.in: Add them to the appropriate lists. |
|
3692 |
3517
|
3693 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
3694 (LS_DO_READ): Likewise, for istream::read. |
3518
|
3695 (write_doubles): Likewise. |
|
3696 (read_doubles): Likewise. |
3517
|
3697 |
3516
|
3698 * oct-env.cc (octave_env::do_polite_directory_format): |
|
3699 Use operator== and substr method to do limited-length string |
|
3700 comparison. |
|
3701 |
3513
|
3702 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
3703 |
3511
|
3704 * Quad.h: Use do_integrate as name of pure virtual function. |
|
3705 |
3508
|
3706 * base-de.h: Use tt instead of t as arg names. |
3511
|
3707 Add method with tcrit arg. |
|
3708 |
3509
|
3709 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
3710 |
3507
|
3711 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
3712 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
3713 * Quad.cc (quad_fcn_ptr): Ditto. |
|
3714 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
3715 |
3505
|
3716 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
3717 * Makefile.in: Add them to the appropriate lists. |
3505
|
3718 |
|
3719 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
3720 * Makefile.in: Add them to the appropriate lists. |
3505
|
3721 |
3504
|
3722 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
3723 |
|
3724 * CDiagMatrix.h: Delete decls for friend operators that are |
|
3725 handled by MDiagArray2 class. Move others outside class decl and |
|
3726 strip friend status. |
|
3727 * dDiagMatrix.h: Likewise. |
|
3728 |
|
3729 * MArray.h: Delete decls for friend operators inside class decl. |
|
3730 * MArray2.h: Ditto. |
|
3731 * MDiagArray2.h: Ditto. |
|
3732 |
|
3733 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
3734 necessary parameters. Don't allocate memory in the macro. Change |
|
3735 all uses. |
|
3736 |
|
3737 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
3738 * CMatrix.h (class ComplexMatrix): Ditto. |
|
3739 |
|
3740 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
3741 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
3742 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
3743 avoid type conflicts. Change all uses. |
|
3744 |
|
3745 * strptime.c (__mon_yday): Fix size of array decl. |
|
3746 |
|
3747 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
3748 |
|
3749 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
3750 default value for second arg. |
|
3751 |
|
3752 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
3753 references to ArrayRep. |
|
3754 |
3503
|
3755 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3756 |
3504
|
3757 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
3758 |
|
3759 * All source files: Include iostream, fstream, strstream, |
|
3760 etc. as needed instead of using forward declarations for these |
3504
|
3761 classes. Add std:: qualifier as needed. |
3503
|
3762 |
3498
|
3763 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3764 |
|
3765 * oct-time.cc: Declare strptime extern "C". |
|
3766 |
3496
|
3767 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3768 |
|
3769 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
3770 |
3488
|
3771 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3772 |
3492
|
3773 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
3774 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
3775 to get total size to be allocated. |
|
3776 |
3488
|
3777 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
3778 as bool, not int. |
|
3779 |
3482
|
3780 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3781 |
|
3782 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
3783 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
3784 as A, even when do_fortran_indexing is not enabled. |
|
3785 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
3786 |
3473
|
3787 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3788 |
3480
|
3789 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
3790 function pointer as final arg. Passed function (if any) will be |
|
3791 called for singularity errors. |
|
3792 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
3793 |
|
3794 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
3795 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
3796 |
3475
|
3797 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
3798 No longer bother with infinity or quiet_nan. |
|
3799 |
3473
|
3800 * Array2.cc (Array2<T>::get_size): New function. |
|
3801 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
3802 |
3472
|
3803 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3804 |
|
3805 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
3806 New function. |
|
3807 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
3808 Use it when indexing with one arg instead of faking a second one. |
|
3809 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
3810 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
3811 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
3812 rows or columns. |
|
3813 |
|
3814 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
3815 vector that is all true values with a length equal to n as colon |
|
3816 equivalent. |
|
3817 |
3470
|
3818 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3819 |
|
3820 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
3821 |
5095
|
3822 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
3823 |
|
3824 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
3825 operations directly in step 2 and reverse step 2. |
|
3826 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
3827 operations directly in step 2 and reverse step 2. |
|
3828 |
3465
|
3829 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3830 |
|
3831 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
3832 |
|
3833 * strptime.c: New file, from glibc 2.1.2. |
|
3834 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
3835 |
3419
|
3836 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3837 |
|
3838 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
3839 |
3415
|
3840 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3841 |
|
3842 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
3843 NULL directory list returned from kpse_element_dirs |
|
3844 |
3375
|
3845 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3846 |
|
3847 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
3848 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
3849 directly, instead of calling ZGESV. |
|
3850 |
3358
|
3851 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3852 |
|
3853 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
3854 (string_to_data_type): Use it to improve lookup of data types. |
|
3855 |
3354
|
3856 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3857 |
|
3858 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
3859 * Array2.h (is_symmetric): Delete declaration. |
|
3860 |
3347
|
3861 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3862 |
|
3863 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
3864 |
3344
|
3865 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3866 |
|
3867 * oct-time.cc (Fstrftime): Undo previous change. |
|
3868 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
3869 |
3334
|
3870 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3871 |
3336
|
3872 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
3873 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
3874 |
3334
|
3875 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
3876 Don't forget to pass length of third string argument to dgeesx. |
|
3877 |
|
3878 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
3879 of third string argument to zgeesx. |
|
3880 |
3333
|
3881 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3882 |
|
3883 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
3884 On errors, simply return `T ()'. |
|
3885 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
3886 |
5095
|
3887 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
3888 |
|
3889 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
3890 AEPBALANCE class. |
|
3891 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
3892 |
3325
|
3893 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3894 |
|
3895 * oct-shlib.cc, oct-shlib.h: New files. |
|
3896 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
3897 |
3322
|
3898 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3899 |
|
3900 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
3901 * dRowVector.cc (linspace): Ditto. |
|
3902 |
|
3903 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
3904 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
3905 |
3312
|
3906 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3907 |
|
3908 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
3909 to evaluate the Jacobian, set info(4), not iwork(4). |
|
3910 Set rwork(1) to the maximum step size, not rwork(2). |
|
3911 |
3290
|
3912 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3913 |
|
3914 * oct-time.cc: Include <climits>. |
|
3915 |
3281
|
3916 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3917 |
|
3918 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
3919 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
3920 (gnu_readline::do_resize_terminal): New function. |
|
3921 |
3268
|
3922 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3923 |
|
3924 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
3925 * lo-ieee.c: Likewise. |
|
3926 Delete extern "C" declarations for infinity and quiet_nan. |
|
3927 |
3262
|
3928 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3929 |
3263
|
3930 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
3931 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
3932 `inline', not `static inline'. |
|
3933 |
3262
|
3934 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
3935 then cast to const int * to compare. |
|
3936 |
3257
|
3937 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3938 |
|
3939 * DAEFunc.h: Remove useless preprocessor conditional. |
|
3940 |
3255
|
3941 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3942 |
3257
|
3943 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
3944 Use octave_time object instead of time_t. |
|
3945 |
|
3946 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
3947 file_stat::fs_ctime): Now octave_time objects. |
|
3948 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
3949 Return octave_time objects. |
|
3950 (file_stat::is_newer): Args are now octave_time objects instead of |
|
3951 time_t. |
|
3952 |
3255
|
3953 * oct-time.h (octave_time::as_double): Delete. |
|
3954 (octave_time::operator double ()): New function. |
|
3955 (octave_time::operator time_t ()): New function. |
|
3956 (octave_time::ctime): New function. |
|
3957 (octave_base_tm::strftime): Renamed from format_as_string. |
|
3958 (octave_base_tm::asctime): New function. |
|
3959 (operator == (const octave_time&, const octave_time&), |
|
3960 operator != (const octave_time&, const octave_time&), |
|
3961 operator < (const octave_time&, const octave_time&), |
|
3962 operator <= (const octave_time&, const octave_time&), |
|
3963 operator > (const octave_time&, const octave_time&), |
|
3964 operator >= (const octave_time&, const octave_time&)): |
|
3965 New comparison functions. |
|
3966 |
|
3967 * strftime.c: Move here from src directory. |
|
3968 * Makefile.in (SOURCES): Add it to the list. |
|
3969 |
|
3970 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
3971 |
3253
|
3972 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3973 |
|
3974 * oct-time.h, oct-time.cc: New files. |
|
3975 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
3976 |
|
3977 * systime.h: Move here from src directory. |
|
3978 * Makefile.in (INCLUDES): Add it to the list. |
|
3979 |
3248
|
3980 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3981 |
|
3982 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
3983 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
3984 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
3985 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
3986 |
|
3987 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
3988 |
3243
|
3989 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3990 |
|
3991 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
3992 |
|
3993 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3994 |
|
3995 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
3996 column vector for A(:), for compatibility with Matlab. |
|
3997 |
|
3998 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3999 |
|
4000 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
4001 iopt when there are optional inputs in rwork or iwork. |
|
4002 |
3238
|
4003 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4004 |
|
4005 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
4006 creating static libs. |
|
4007 |
5095
|
4008 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
4009 |
|
4010 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
4011 and uint32 data types. |
|
4012 |
|
4013 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4014 |
|
4015 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
4016 for Linux. Remove old Linux-specific code. |
|
4017 |
3233
|
4018 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4019 |
|
4020 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
4021 Don't require lengths to be equal. |
|
4022 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
4023 ComplexRowVector& a)): Likewise |
|
4024 |
5095
|
4025 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
4026 |
|
4027 * statdefs.h: Only define mode_t if not already defined. |
|
4028 |
5095
|
4029 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
4030 |
|
4031 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
4032 when appropriate. |
|
4033 |
|
4034 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4035 |
|
4036 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
4037 before calling rl_initialize. |
|
4038 |
3220
|
4039 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4040 |
|
4041 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
4042 Update Bessel function support to use library by D. E. Amos. |
|
4043 |
3219
|
4044 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4045 |
|
4046 * cmd-edit.h (command_editor::readline): Add new variation that |
|
4047 allows EOF information to be passed back to caller. |
|
4048 |
|
4049 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
4050 amount of data to read is unspecified. |
|
4051 |
3215
|
4052 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4053 |
3219
|
4054 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
4055 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
4056 |
3215
|
4057 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
4058 Add volatile qualifier to void* arg. |
|
4059 Cast volatile void* arg to volatile char*. |
|
4060 |
|
4061 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4062 |
|
4063 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
4064 (command_editor::do_restore_event_hook): Ditto. |
|
4065 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
4066 (command_editor::restore_event_hook): Ditto. |
|
4067 (gnu_readline::do_set_event_hook): Ditto. |
|
4068 (gnu_readline::do_restore_event_hook): Ditto. |
|
4069 (gnu_readline::previous_event_hook): New data member. |
|
4070 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
4071 |
3206
|
4072 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4073 |
|
4074 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
4075 |
|
4076 * Makefile.in (stmp-pic): New target. |
|
4077 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
4078 (clean): Remove stmp-pic |
|
4079 |
|
4080 * Makefile.in: Undo previous change to avoid optmization when |
|
4081 compiling lo-ieee.cc. |
|
4082 |
|
4083 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4084 |
|
4085 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
4086 imaginary parts. |
|
4087 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
4088 |
3203
|
4089 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4090 |
|
4091 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
4092 |
3196
|
4093 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4094 |
|
4095 * pathsearch.h (dir_path::default_path): New data member. |
|
4096 * pathsearch.cc (dir_path::init): Use it. |
|
4097 |
|
4098 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
4099 |
3189
|
4100 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4101 |
|
4102 * chMatrix.cc (charMatrix::extract): New function. |
|
4103 (charMatrix::charMatrix (char c)): New constructor. |
|
4104 |
|
4105 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4106 |
|
4107 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
4108 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
4109 (gnu_readline::do_read_init_file): Likewise. |
|
4110 |
3185
|
4111 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4112 |
|
4113 * oct-env.cc (octave_env::do_get_home_directory): |
|
4114 If HOME can't be found, set it to "/". |
|
4115 (octave_env::do_get_user_name) |
|
4116 If user name can't be found, set it to "unknown". |
|
4117 (octave_env::do_get_host_name) |
|
4118 If host name can't be found, set it to "unknown". |
|
4119 |
|
4120 * pathsearch.h (dir_path::rehash): New function. |
|
4121 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
4122 diretcory cache before doing initialization. |
|
4123 |
3180
|
4124 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4125 |
3185
|
4126 * dMatrix.cc (Qzval): Delete. |
|
4127 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
4128 * dMatrix.h (Qzval): Delete declaration. |
|
4129 |
|
4130 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
4131 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
4132 * mx-ext.h: Don't include dbleGEPBAL. |
|
4133 |
3180
|
4134 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
4135 static_cast. |
|
4136 |
|
4137 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4138 |
|
4139 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
4140 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
4141 |
|
4142 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4143 |
|
4144 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
4145 HUGE_VAL and NAN. |
|
4146 |
|
4147 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4148 |
|
4149 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
4150 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
4151 |
|
4152 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4153 |
|
4154 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
4155 Alloctate space before attempting to use it. |
|
4156 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
4157 |
5095
|
4158 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
4159 |
|
4160 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
4161 |
|
4162 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4163 |
|
4164 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
4165 have the same size as the operands. |
|
4166 |
|
4167 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4168 |
|
4169 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
4170 call to ddassl, set integration_error to 1 before calling the |
|
4171 error handler and returning. |
|
4172 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
4173 |
3177
|
4174 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4175 |
|
4176 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
4177 do_fortran_indexing is set, A([]) = scalar. |
|
4178 * Array-idx.h (assign): Allow A([]) = scalar. |
|
4179 |
3176
|
4180 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4181 |
|
4182 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
4183 if dm_nc == 0. |
|
4184 |
3174
|
4185 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4186 |
|
4187 * pathsearch.h (dir_path::p_orig): New field. |
|
4188 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
4189 expansion on the original path here. |
|
4190 (dir_path::find_all): Don't do anything if not initialized. |
|
4191 |
3164
|
4192 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4193 |
|
4194 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
4195 is not set. |
|
4196 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
4197 |
|
4198 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
4199 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
4200 \int_0^x exp(-t) t^(a-1) dt. |
|
4201 |
|
4202 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4203 |
|
4204 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
4205 Array-s.cc: Change return types of all `assign' explicit |
|
4206 instantiations to be int, not void, to match the template decl in |
|
4207 Array.h. |
|
4208 |
3162
|
4209 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4210 |
|
4211 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
4212 |
3156
|
4213 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4214 |
|
4215 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
4216 * lo-mappers.cc: Not here. |
|
4217 |
|
4218 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
4219 * lo-mappers.h: Not here. |
|
4220 |
|
4221 * lo-specfun.h: Never declare gamma or lgamma. |
|
4222 |
3154
|
4223 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4224 |
|
4225 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
4226 empty matrix of any dimension. |
|
4227 |
3145
|
4228 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4229 |
3147
|
4230 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
4231 |
3146
|
4232 * lo-specfun.cc: Don't include dbleBessel.h. |
|
4233 |
|
4234 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
4235 |
3145
|
4236 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
4237 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
4238 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
4239 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
4240 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
4241 |
|
4242 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
4243 Don't cast arg in call to swap_8_bytes. |
|
4244 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
4245 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
4246 swap_4_bytes. |
|
4247 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
4248 |
|
4249 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
4250 * prog-args.cc (prog_args::getopt): Likewise. |
|
4251 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
4252 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
4253 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
4254 Likewise. |
|
4255 |
|
4256 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
4257 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
4258 |
3141
|
4259 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4260 |
|
4261 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
4262 Use $(mk-libdir-link). |
|
4263 |
|
4264 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
4265 not SAFE_STAT and SAFE_LSTAT. |
|
4266 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
4267 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
4268 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
4269 safe-lstat.h, and safe-lstat.cc. |
|
4270 |
3136
|
4271 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4272 |
|
4273 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
4274 |
3130
|
4275 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4276 |
|
4277 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
4278 trace is negative. |
|
4279 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
4280 the real part of the trace is negative. |
|
4281 |
|
4282 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4283 |
|
4284 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
4285 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
4286 |
|
4287 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
4288 to succeed. |
|
4289 |
3125
|
4290 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4291 |
|
4292 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
4293 (make_uniq): Likewise. |
|
4294 |
|
4295 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4296 |
|
4297 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
4298 |
3119
|
4299 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4300 |
3121
|
4301 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
4302 |
|
4303 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
4304 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
4305 |
3121
|
4306 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
4307 oct-math.h: Delete. |
|
4308 * Makefile.in (SOURCES): Delete them from the list. |
|
4309 |
3112
|
4310 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4311 |
|
4312 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
4313 |
5095
|
4314 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
4315 |
|
4316 Changes to make support egcs snapshots that implement explicit |
|
4317 specification of template functions according to CD2. |
|
4318 |
|
4319 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
4320 template function specs for template friends. |
|
4321 * MArray2.h: Likewise. |
|
4322 * MDiagArray2.h: Likewise. |
|
4323 |
3095
|
4324 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4325 |
|
4326 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
4327 |
3092
|
4328 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
4329 |
|
4330 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
4331 to complex<double>(int) instead of complex<double>(double). |
|
4332 |
|
4333 * lo-mappers.cc (atanh): Ditto. |
|
4334 |
3079
|
4335 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4336 |
|
4337 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
4338 * idx-vector.h (idx_vector::sort): Ditto. |
|
4339 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
4340 trying to delete elements specified by the index vectors. |
|
4341 |
3075
|
4342 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4343 |
|
4344 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
4345 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
4346 |
3074
|
4347 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4348 |
|
4349 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
4350 |
3069
|
4351 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4352 |
|
4353 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
4354 Call error handler if we can't find the current directory. |
|
4355 |
3068
|
4356 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4357 |
3069
|
4358 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
4359 (xfinite (double)): Ditto. |
|
4360 |
3068
|
4361 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
4362 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
4363 |
3056
|
4364 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4365 |
|
4366 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
4367 compatible with Matlab. |
|
4368 |
3050
|
4369 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4370 |
|
4371 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
4372 single colon. |
|
4373 |
3040
|
4374 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4375 |
3049
|
4376 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
4377 (xgamma): Likewise, for calling xdgamma. |
|
4378 |
3042
|
4379 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
4380 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
4381 |
3040
|
4382 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
4383 to do better job expanding tildes. |
|
4384 |
|
4385 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
4386 Use temporary variable to compute length. |
|
4387 |
3029
|
4388 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4389 |
3034
|
4390 * Makefile.in: Make building of static library optional. |
3036
|
4391 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
4392 |
3029
|
4393 * Makefile.in (stamp-picdir): Delete. |
|
4394 (pic): New target. Don't worry so much about creating pic |
|
4395 directory only when it is really needed. |
|
4396 (stamp-interp): Delete. |
|
4397 (libraries): New target. Depend on shared library directly. |
|
4398 |
3024
|
4399 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4400 |
|
4401 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
4402 New static function. |
|
4403 |
3012
|
4404 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4405 |
|
4406 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
4407 |
3004
|
4408 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4409 |
|
4410 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
4411 set_basic_quote_characters, to match new version of readline. |
|
4412 |
|
4413 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
4414 for restoring terminal state through rl_deprep_term_function, now |
|
4415 declared in readline.h |
|
4416 (rl_deprep_terminal): Delete declaration. |
|
4417 |
2993
|
4418 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4419 |
|
4420 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
4421 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
4422 |
2968
|
4423 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4424 |
|
4425 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
4426 New static function. |
|
4427 |
2964
|
4428 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4429 |
2966
|
4430 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
4431 the vector is not sorted. |
|
4432 |
2964
|
4433 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
4434 * dMatrix.cc (Matrix::operator !): Likewise |
|
4435 |
2941
|
4436 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4437 |
|
4438 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
4439 |
|
4440 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
4441 |
|
4442 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
4443 |
2938
|
4444 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4445 |
2941
|
4446 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
4447 (install-inc): Use it. |
|
4448 |
2938
|
4449 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
4450 Handle errors and missing functions consistently. |
|
4451 |
|
4452 * oct-group.h, oct-group.cc: New files. |
|
4453 |
|
4454 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
4455 |
|
4456 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
4457 |
2934
|
4458 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4459 |
|
4460 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
4461 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
4462 |
|
4463 * oct-passwd.h, oct-passwd.cc: New files. |
|
4464 |
2926
|
4465 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4466 |
|
4467 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
4468 |
|
4469 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
4470 (instance_ok ()): New function. |
|
4471 |
|
4472 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
4473 |
|
4474 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
4475 |
|
4476 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
4477 src/utils.h and src/utils.cc. |
|
4478 (octave_fgets): New function, extracted from src/input.cc. |
|
4479 |
|
4480 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
4481 GNU readline, and allow Octave to work without GNU readline. |
|
4482 |
|
4483 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
4484 system-dependent functions. |
|
4485 |
|
4486 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
4487 |
|
4488 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
4489 from file-ops.h and file-ops.cc and move here. |
|
4490 |
|
4491 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
4492 tilde_expand functions here from src/dirfns.cc. |
|
4493 |
|
4494 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4495 |
|
4496 * pathlen.h: New file, from ../src. |
|
4497 |
2917
|
4498 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4499 |
|
4500 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
4501 out-of-bounds indexing of the index array. |
|
4502 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
4503 |
2850
|
4504 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4505 |
|
4506 * LSODE.h (x_step_limit): New field. |
|
4507 (LSODE_options::init): Initialize it. |
|
4508 (LSODE_options::copy): Copy it. |
|
4509 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
4510 New functions. |
|
4511 (LSODE::working_too_hard): Delete. |
|
4512 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
4513 |
2844
|
4514 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4515 |
|
4516 * MArray-b.cc: Delete. |
|
4517 * Makefile.in: Delete it from the lists. |
|
4518 |
|
4519 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
4520 MArray2, since most of the numeric ops don't really make sense. |
|
4521 |
2829
|
4522 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4523 |
2832
|
4524 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
4525 |
|
4526 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
4527 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
4528 |
2830
|
4529 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
4530 idx_vector::freeze): Delete prefer_zero_one arg. |
|
4531 * Array-idx.h, Array2-idx.h: Change all callers. |
|
4532 |
|
4533 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
4534 |
2829
|
4535 * mx-op-defs.h: New file for operator definitions. |
|
4536 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
4537 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
4538 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
4539 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
4540 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
4541 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
4542 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
4543 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
4544 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
4545 mx-s-cm.cc, mx-s-dm.cc: |
|
4546 New files for mixed-type operations. |
|
4547 * Makefiles.in: Add them to the appropriate lists. |
|
4548 |
|
4549 * mx-inlines.cc: Add bool by bool EQ ops. |
|
4550 |
|
4551 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
4552 boolMatrix types. |
|
4553 (idx_vector::maybe_convert_one_zero_to_idx, |
|
4554 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
4555 Delete second arg, prefer_zero_one. Change all callers. |
|
4556 |
|
4557 * boolMatrix.h, boolMatrix.cc: New files. |
|
4558 * mx-base.h: Include boolMatrix.h here. |
|
4559 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
4560 |
|
4561 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
4562 |
|
4563 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
4564 operator-, operator*, product, and quotient functions. |
|
4565 Add constructor for boolMatrix type. |
|
4566 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
4567 product, and quotient functions. |
|
4568 |
|
4569 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
4570 operator-, and product functions. |
|
4571 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
4572 |
|
4573 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
4574 |
2815
|
4575 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4576 |
|
4577 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
4578 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
4579 (EIG::symmetric_init (const Matrix&)): New function. |
|
4580 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
4581 |
|
4582 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
4583 |
|
4584 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4585 |
|
4586 * Array2.cc (is_symmetric): New function. |
|
4587 * Array2.h (is_square): New function. |
|
4588 |
2811
|
4589 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4590 |
|
4591 * Makefile.in (install-strip): New target. |
|
4592 |
2804
|
4593 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4594 |
|
4595 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
4596 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
4597 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
4598 dbleSVD.cc: Don't include mx-inlines.cc. |
|
4599 |
|
4600 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
4601 duplicate code. |
|
4602 |
2800
|
4603 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4604 |
2804
|
4605 * dbleQR.h (QR): Delete extra comma at end of list. |
|
4606 |
|
4607 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
4608 |
|
4609 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
4610 |
|
4611 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
4612 idx_vecotr_rep:: qualifiers. |
|
4613 |
|
4614 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
4615 |
|
4616 * data-conv.h (save_type): Delete extra comma at end of list. |
|
4617 |
2800
|
4618 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
4619 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
4620 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
4621 old C-style `(T) val' casts. |
|
4622 |
2795
|
4623 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4624 |
|
4625 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
4626 just breaking out of the innermost loop. |
|
4627 * CMatrix.cc (operator >>): Likewise. |
|
4628 |
2779
|
4629 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
4630 |
|
4631 * Version 2.0.5 released. |
|
4632 |
2767
|
4633 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4634 |
|
4635 * CmplxQR.cc (ComplexQR::init): New function. |
|
4636 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
4637 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
4638 Get sizes right in all cases. |
|
4639 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
4640 |
|
4641 * dbleQR.cc (QR::init): New function. |
|
4642 (QR::QR): Use it. Use initializer list too. |
|
4643 * dbleQRP.cc (QRP::init): New function. |
|
4644 Get sizes right in all cases. |
|
4645 (QR::QRP): Use it. Use initializer list too. |
|
4646 |
2759
|
4647 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4648 |
|
4649 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
4650 Recognize "vaxg", not "vax_g". |
|
4651 |
2713
|
4652 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4653 |
2714
|
4654 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
4655 dimension in check for colon equivalent index. |
|
4656 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
4657 index whose value is 0 is also colon eqivalent for n == 1. |
|
4658 |
2713
|
4659 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
4660 system-specific tests first. |
|
4661 |
2709
|
4662 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
4663 |
|
4664 * Version 2.0.4 released. |
|
4665 |
|
4666 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4667 |
|
4668 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
4669 |
2693
|
4670 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
4671 |
|
4672 * Version 2.0.3 released. |
|
4673 |
2686
|
4674 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4675 |
|
4676 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
4677 |
2673
|
4678 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4679 |
2676
|
4680 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
4681 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
4682 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
4683 (stamp-picdir): Silence noise about making pic. |
|
4684 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
4685 |
2673
|
4686 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
4687 Fix typo in last change. |
|
4688 |
|
4689 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
4690 Convert from friend (moved from dColVector.cc). |
|
4691 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
4692 Likewise (moved from dMatrix.cc). |
|
4693 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
4694 Likewise (moved from dRowVector.cc). |
|
4695 |
|
4696 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
4697 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
4698 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
4699 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
4700 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
4701 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
4702 |
|
4703 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
4704 * dMatrix.cc (Matrix::apply): Likewise. |
|
4705 * dRowVector.cc (RowVector::apply): Likewise. |
|
4706 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
4707 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
4708 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
4709 |
2668
|
4710 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4711 |
|
4712 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
4713 |
|
4714 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4715 |
|
4716 * file-ops.cc (oct_unlink (const string&, string&)): |
|
4717 New two-arg version. |
|
4718 (oct_rmdir (const string&, string&)): New two-arg version. |
|
4719 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
4720 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
4721 (oct_rename (const string&, const string&, string&)): |
|
4722 New three-arg version. |
|
4723 |
2663
|
4724 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4725 |
|
4726 * idx-vector.h (idx_vector::orig_empty): New function. |
|
4727 |
|
4728 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
4729 Don't always resize to [](0x0) if one of the indices is empty or |
|
4730 zero. |
|
4731 |
2658
|
4732 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4733 |
|
4734 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
4735 Set line_in_file here too. |
|
4736 (command_history::read_range): New arg, must_exist. |
|
4737 |
2651
|
4738 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4739 |
|
4740 * f2c-main.c: Change C++-style comments to C-style comments. |
|
4741 |
2638
|
4742 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4743 |
|
4744 * Makefile.in (install-inc): Create a relative symbolic link. |
|
4745 |
2634
|
4746 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4747 |
|
4748 * Version 2.0.2 released. |
|
4749 |
2624
|
4750 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4751 |
|
4752 * Makefile.in (bin-dist): New target. |
|
4753 |
2621
|
4754 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4755 |
|
4756 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
4757 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
4758 |
2613
|
4759 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4760 |
|
4761 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
4762 If the number of columns is zero, also set the number of rows to zero. |
|
4763 (charMatrix::charMatrix (const char *)): Likewise. |
|
4764 |
2602
|
4765 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4766 |
|
4767 * Version 2.0.1 released. |
|
4768 |
2601
|
4769 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4770 |
|
4771 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
4772 columns for resizing when the number of rows is specified but the |
|
4773 number of columns is not. |
|
4774 |
2598
|
4775 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4776 |
2599
|
4777 * Range.cc (operator -): New function. |
|
4778 |
2598
|
4779 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
4780 |
2589
|
4781 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4782 |
|
4783 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
4784 know if the assignment conforms. |
|
4785 |
2583
|
4786 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4787 |
|
4788 * Version 2.0 released. |
|
4789 |
2570
|
4790 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4791 |
2575
|
4792 * Array2-idx.h (assign): If index is a colon, set number of |
|
4793 elements to the lhs dimension if the lhs dimension is greater than |
|
4794 zero. Otherwise, set it to the rhs dimension. |
|
4795 |
|
4796 * Version 1.94. |
|
4797 |
2570
|
4798 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
4799 If index is colon, set number of elements to lhs dimension, not |
|
4800 rhs dimension. |
|
4801 |
2563
|
4802 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4803 |
2566
|
4804 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
4805 * sun-utils.cc: Delete. |
|
4806 * f2c-main.c: New file |
|
4807 |
|
4808 * Makefile.in: Fix file name lists. |
|
4809 |
2563
|
4810 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
4811 |
2561
|
4812 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4813 |
|
4814 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
4815 Create result using Complex constructor, not multiplication. |
|
4816 Order elements as they are returned from Eispack. |
|
4817 |
2559
|
4818 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4819 |
2560
|
4820 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
4821 Only include nan.h if SCO is defined. Define _IEEE before |
|
4822 including it and undefine it afterward. |
|
4823 [SCO] (isnan): Don't mistake Inf as NaN. |
|
4824 |
2559
|
4825 * Array-idx.h (assign): Only resize if assignment conforms. |
|
4826 |
2551
|
4827 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4828 |
|
4829 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
4830 * lo-error.h: Delete (moved to libcruft/misc). |
|
4831 |
|
4832 * Version 1.93. |
|
4833 |
2546
|
4834 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4835 |
2549
|
4836 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
4837 be the same as they are in fnmatch.h. |
|
4838 |
2546
|
4839 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
4840 |
|
4841 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
4842 (SOURCES): Delete f77-fcn.c. |
|
4843 |
2522
|
4844 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4845 |
|
4846 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
4847 |
2512
|
4848 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4849 |
|
4850 * Version 1.92. |
|
4851 |
2508
|
4852 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4853 |
2512
|
4854 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
4855 lines that have only carriage return or newline. |
|
4856 |
2508
|
4857 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
4858 |
2500
|
4859 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4860 |
|
4861 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
4862 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
4863 |
2493
|
4864 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4865 |
|
4866 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
4867 from vectors of C strings. |
|
4868 |
|
4869 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
4870 vector. |
|
4871 (glob_match::match): Allow match string to be a string vector. |
|
4872 (glob_match::glob): New function. |
|
4873 |
|
4874 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
4875 |
|
4876 * Array-b.cc: New file. |
|
4877 * Makefile.in (TI_SRC): Add it to the list. |
|
4878 |
2492
|
4879 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4880 |
|
4881 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
4882 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
4883 want the version from the build directory. (Maybe this should be |
|
4884 done for all the include files, not just those that are |
|
4885 auto-generated? Hmm.) |
|
4886 |
2481
|
4887 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4888 |
2482
|
4889 * Version 1.91. |
|
4890 |
2481
|
4891 * Array3.cc (Array3<T>::resize): Make it work. |
|
4892 |
|
4893 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4894 |
|
4895 * oct-alloc.h, oct-alloc.cc: New files. |
|
4896 * Makefile.in: Add them to the lists. |
|
4897 |
|
4898 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4899 |
|
4900 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
4901 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
4902 |
2466
|
4903 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4904 |
|
4905 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
4906 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
4907 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
4908 underlying macro is not defined. |
|
4909 |
|
4910 * oct-math.h (lgamma, gamma): Delete declarations. |
|
4911 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
4912 Protect declarations with #ifdef HAVE_*. |
|
4913 |
2440
|
4914 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4915 |
2452
|
4916 * Version 1.90. |
|
4917 |
|
4918 * Makefile.in (DISTFILES): Add ChangeLog. |
|
4919 |
2444
|
4920 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
4921 |
|
4922 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
4923 |
2443
|
4924 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
4925 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
4926 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
4927 |
2440
|
4928 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
4929 since that is now accepatble syntax, even for built-in types. |
|
4930 * Array2.h (T Array2<T>::checkelem): Likewise |
|
4931 |
2433
|
4932 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4933 |
|
4934 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
4935 message and return -1. |
|
4936 |
2428
|
4937 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4938 |
2431
|
4939 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
4940 cast them to const string * in the body of the function. |
|
4941 |
|
4942 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
4943 string from buf. |
|
4944 |
2428
|
4945 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
4946 GCC_ATTRIBUTE_UNUSED. |
|
4947 * Array2.h (Array2::checkelem): Likewise. |
|
4948 |
2424
|
4949 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4950 |
|
4951 * Quad.h (Quad): Define virtual destructor. |
|
4952 |
2408
|
4953 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4954 |
|
4955 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
4956 |
2401
|
4957 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4958 |
|
4959 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
4960 and MAIN__ extern "C". |
|
4961 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
4962 |
2391
|
4963 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4964 |
|
4965 * MArray-misc.cc: New file. |
|
4966 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
4967 |
|
4968 * mx-inlines.cc (equal): Return bool, not int. |
|
4969 |
|
4970 * idx-vector.h (idx_vector (double)): New constructor. |
|
4971 |
|
4972 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
4973 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
4974 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
4975 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
4976 CRowVector.cc: Logical operators return bool, not int. |
|
4977 |
|
4978 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
4979 New function. |
|
4980 |
|
4981 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
4982 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
4983 Matrix::all_elements_are_inf_or_nan): New functions. |
|
4984 |
|
4985 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
4986 |
|
4987 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
4988 for errors. Simplify macros by converting FCN to string for error |
|
4989 messages. |
|
4990 |
|
4991 * Array-idx.h (Array<T>::index): New function. Don't call |
|
4992 clear_index() here. |
|
4993 (Array<T>::value): Call it, do call clear_index() here. |
|
4994 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
4995 one and two arg index functions. |
|
4996 |
|
4997 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4998 |
|
4999 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
5000 separate implementation file. |
|
5001 |
2354
|
5002 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5003 |
2358
|
5004 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
5005 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
5006 |
2356
|
5007 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
5008 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
5009 them uniq. |
|
5010 |
2354
|
5011 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
5012 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
5013 Rewrite. Also return index as a reference arg. |
|
5014 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
5015 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
5016 Delete. |
|
5017 |
|
5018 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
5019 Matrix::column_max, Matrix::column_min): |
|
5020 Rewrite. Also return index as a reference arg. |
|
5021 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
5022 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
5023 |
|
5024 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5025 |
|
5026 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
5027 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
5028 Matrix::column_min_loc, Matrix::column_max, |
|
5029 Matrix::column_max_loc): Ignore leading NaNs. |
|
5030 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
5031 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
5032 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
5033 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
5034 leading NaNs. |
|
5035 |
2352
|
5036 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5037 |
|
5038 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
5039 starting at n, not 0. |
|
5040 |
2349
|
5041 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5042 |
|
5043 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
5044 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
5045 |
|
5046 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
5047 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
5048 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
5049 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
5050 New constructors. |
|
5051 |
|
5052 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
5053 New constructor. |
|
5054 |
2343
|
5055 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5056 |
|
5057 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
5058 derivative vectors are the same size. |
2344
|
5059 * DASSL.cc (do_integrate): Likewise. |
2343
|
5060 |
2330
|
5061 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5062 |
|
5063 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
5064 iostreams and handler data format conversions. Delete old methods |
|
5065 that used stdio. |
|
5066 |
|
5067 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
5068 |
|
5069 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5070 |
|
5071 * mach-info.h: Rename from float-fmt.h. |
|
5072 * mach-info.cc: Rename from float-fmt.cc. |
|
5073 Handle machine information using a singlton class. |
|
5074 * Makefile.in: Update appropriate lists. |
|
5075 |
|
5076 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5077 |
|
5078 * Array-flags.cc: Provide definitions for the flags even if |
|
5079 OCTAVE_SOURCE is not defined. |
|
5080 |
|
5081 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
5082 operator(), not elem(). |
|
5083 * Array3.h: Move indexing methods here from Array3.cc. |
|
5084 |
|
5085 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5086 |
|
5087 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
5088 |
|
5089 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
5090 INSTALL_DATA for shared libs. |
|
5091 |
|
5092 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5093 |
|
5094 * Quad.cc: Include lo-error.h here too. |
|
5095 |
|
5096 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5097 |
|
5098 * file-ops.h: Include sys/types.h here. |
|
5099 |
|
5100 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5101 |
|
5102 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
5103 |
|
5104 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
5105 elements in result. |
|
5106 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
5107 rows and columns in result. |
|
5108 |
|
5109 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5110 |
|
5111 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
5112 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
5113 |
|
5114 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5115 |
|
5116 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
5117 |
|
5118 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5119 |
|
5120 * Makefile.in (uninstall): Also delete shared library. |
|
5121 Split install into install-libs and install-includes. |
|
5122 (install-inc): If linkdir is a directory, leave it alone. |
|
5123 |
|
5124 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
5125 |
|
5126 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5127 |
|
5128 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
5129 * Array2-idx.h (assign): Likewise. |
|
5130 |
|
5131 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5132 |
|
5133 * Array2.cc (Array2<T>::range_error): New functions. |
|
5134 |
|
5135 * Array.h (class Array<T>): elem() and operator() are now |
|
5136 equivalent, and do bounds checking by default. |
|
5137 * Array2.cc (class Array2<T>): Likewise. |
|
5138 |
|
5139 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5140 |
|
5141 * Makefile.in (maintainer-clean, distclean): Also delete |
|
5142 stamp-picdir, stamp-shared, and pic directory. |
|
5143 (stamp-prereq): New target. |
|
5144 |
|
5145 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5146 |
|
5147 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
5148 New function. |
|
5149 |
|
5150 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
5151 * Array.h (Array<T>::checkelem): Use them. |
|
5152 |
|
5153 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
5154 elements too. |
|
5155 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
5156 |
|
5157 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
5158 |
|
5159 * Makefile.in (distclean): Delete so_locations, which is created |
|
5160 on DEC Alpha systems. |
|
5161 |
|
5162 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5163 |
|
5164 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
5165 already defined. |
|
5166 |
|
5167 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5168 |
|
5169 * pathsearch.cc: Include config.h. |
|
5170 |
|
5171 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5172 |
|
5173 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
5174 allow M(I, J) = scalar if I or J is empty. |
|
5175 |
|
5176 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
5177 and Array3-idx.h). |
|
5178 |
|
5179 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5180 |
|
5181 * lo-error.h: Make comments C friendly. |
|
5182 |
|
5183 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5184 |
|
5185 * Array2.h (make_unique): Move all indexing functions here. |
|
5186 * Array2.cc: From here. |
|
5187 |
|
5188 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
5189 whether operator() calls elem or checkelem. |
|
5190 |
|
5191 * Array.h (make_unique): New private function. |
|
5192 Move all indexing functions here. |
|
5193 * Array.cc: From here. |
|
5194 |
|
5195 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
5196 it too. |
|
5197 |
|
5198 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
5199 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
5200 MArray-C.cc: Include config.h. |
|
5201 |
|
5202 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
5203 Don't define HEAVYWEIGHT_INDEXING here. |
|
5204 |
|
5205 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5206 |
|
5207 * base-lu.h, base-lu.cc: New files. |
|
5208 * Makefile.in: Add them to the appropriate lists. |
|
5209 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
5210 |
|
5211 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5212 |
|
5213 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
5214 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
5215 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
5216 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
5217 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
5218 |
|
5219 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
5220 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
5221 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
5222 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
5223 Simplify using new macros. |
|
5224 |
|
5225 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5226 |
|
5227 * Makefile.in (install): If $(includedir) ends in version string, |
|
5228 make link to name that does not include version info. |
|
5229 |
|
5230 * lo-ieee.cc: Include <cmath> here. |
|
5231 |
|
5232 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5233 |
|
5234 * lo-ieee.cc, lo-ieee.h: New files. |
|
5235 * lo-mappers.cc, lo-mappers.h: New files. |
|
5236 * lo-utils.cc, lo-utils.h: New files. |
|
5237 * Makefile.in: Add them to the appropriate lists. |
|
5238 |
|
5239 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5240 |
|
5241 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
5242 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
5243 |
|
5244 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
5245 float-fmt.cc: New files. |
|
5246 * Makefile.in: Include them in the appropriate lists. |
|
5247 |
|
5248 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5249 |
|
5250 * dMatrix.cc (Qzval): New function. |
|
5251 |
|
5252 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5253 |
|
5254 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
5255 char*. |
|
5256 |
|
5257 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
5258 Use F77_XFCN to call Fortran subroutine. |
|
5259 * dColVector.cc, CColVector.cc: Likewise. |
|
5260 * dRowVector.cc, CRowVector.cc: Likewise. |
|
5261 * NPSOL.h, NPSOL.cc: Likewise. |
|
5262 * CmplxCHOL.cc: Likewise. |
|
5263 * dbleCHOL.cc: Likewise. |
|
5264 * CMatrix.cc: Likewise. |
|
5265 * dMatrix.cc: Likewise. |
|
5266 * QPSOL.cc: Likewise. |
|
5267 * LSODE.cc: Likewise. |
|
5268 |
|
5269 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5270 |
|
5271 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
5272 |
|
5273 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
5274 workspace. Use F77_XFCN to call Fortran subroutine. |
|
5275 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
5276 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
5277 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
5278 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
5279 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
5280 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
5281 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
5282 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
5283 * EIG.h, EIG.cc; Likewise. |
|
5284 * CollocWt.cc: Likewise. |
|
5285 * NLEqn.cc: Likewise. |
|
5286 * Quad.cc: Likewise. |
|
5287 |
|
5288 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5289 |
|
5290 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
5291 Use F77_XFCN to call Fortran subroutine. |
|
5292 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
5293 * dbleQR.h, dbleQR.cc: Ditto. |
|
5294 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
5295 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
5296 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
5297 |
|
5298 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
5299 (struct DIR): delete forward declaration. |
|
5300 (dir_entry::operator = (const dir_entry$)): Protect against |
|
5301 copying same object. |
|
5302 * dir-ops.cc: Cast dir appropriately. |
|
5303 |
|
5304 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5305 |
|
5306 * lo-error.cc: Moved to libcruft/misc. |
|
5307 * Makefile.in: Delete it from the list. |
|
5308 |
|
5309 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
5310 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
5311 |
|
5312 * Array-flags.h: New file. |
|
5313 * Array-idx.h: Include it here. |
|
5314 * Makefile.in (MATRIX_INC): Add it to the list. |
|
5315 |
|
5316 * Array-flags.cc: Renamed from Array-ext.cc. |
|
5317 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
5318 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
5319 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
5320 (liboctave_rre_flag): Renamed from rre_flag. |
|
5321 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
5322 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
5323 |
|
5324 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
5325 (stamp-shared): Use them here. |
|
5326 |
|
5327 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5328 |
|
5329 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
5330 argument value. |
|
5331 |
|
5332 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5333 |
|
5334 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
5335 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
5336 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
5337 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
5338 Clean up constructors, assigment operator. |
|
5339 |
|
5340 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5341 |
|
5342 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
5343 Check f77_exception_encountered on return. |
|
5344 |
|
5345 * f77-fcn.c (f77_exception_encountered): New variable. |
|
5346 (F77_XFCN): Set it. |
|
5347 * f77-fcn.h: Provide declaration. |
|
5348 |
|
5349 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
5350 |
|
5351 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
5352 |
|
5353 * NLEqn.h (NLEqn_options::set_options): New function. |
|
5354 * Quad.h (Quad_options::set_options): Likewise. |
|
5355 |
|
5356 * LP.h (class LP): Add accessors for LP data. |
|
5357 |
|
5358 * NLEqn.h (NLEqn::n): Delete. |
|
5359 |
|
5360 * NLEqn.h (class NLEqn::n): Likewise. |
|
5361 |
|
5362 * NLP.h (class NLP): Add accessors for NLP data. |
|
5363 |
|
5364 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
5365 access functions here. |
|
5366 * NPSOL.cc.cc: From here. |
|
5367 |
|
5368 * QLD.h (class QLD): Add destructor definition. |
|
5369 * Objective.h (class Objective): Likewise. |
|
5370 * ODEFunc.h (class ODEFunc): Likewise. |
|
5371 * NLFunc.h (class NLFunc): Likewise. |
|
5372 * NLEqn.h (class NLEqn): Likewise. |
|
5373 * NLConst.h (class NLConst): Likewise. |
|
5374 * LinConst.h (class LinConst): Likewise. |
|
5375 * LSODE.h (class LSODE_options): Likewise. |
|
5376 * CollocWt.h (class CollocWt): Likewise. |
|
5377 * Bounds.h (class Bounds): Likewise. |
|
5378 |
|
5379 * QLD.cc (QLD::set_default_options): Delete. |
|
5380 |
|
5381 * QP.h (QP): Add accessors for QP data. |
|
5382 Add copy constructor, operator =, and destructor definitions. |
|
5383 |
|
5384 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
5385 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
5386 DAEFunc.h, CollocWt.h, Bounds.h: |
|
5387 Clean up constructors, assigment operator. |
|
5388 |
|
5389 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
5390 counting to avoid duplicating the data immediately. |
|
5391 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
5392 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
5393 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
5394 |
|
5395 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5396 |
|
5397 * prog-args.h (prog_args::option_argument): New enum. |
|
5398 |
|
5399 * f77-fcn.h: Rename from f77-uscore.h. |
|
5400 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
5401 * f77-fcn.c: New file. |
|
5402 * Makefile.in (SOURCES): Add it to the list. |
|
5403 |
|
5404 * ODEFunc.h: Clean up. |
|
5405 |
|
5406 * DASSL.cc, DASSL.h: New files. |
|
5407 * Makefile.in: Add them to the appropriate lists. |
|
5408 |
|
5409 * LSODE.cc, LSODE.h: New files. |
|
5410 * Makefile.in: Add them to the appropriate lists. |
|
5411 |
|
5412 * ODE.cc: Delete. |
|
5413 * Makefile.in (SOURCES): Remove from list. |
|
5414 |
|
5415 * base-de.h, DAE.cc: New files. |
|
5416 * Makefile.in: Add them to the appropriate lists. |
|
5417 * ODE.h: Only define interface for ODE classes. |
|
5418 * DAE.h: Only define interface for ODE classes. |
|
5419 |
|
5420 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
5421 (LPsolve::set_default_options)): Delete |
|
5422 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
5423 destructor. |
|
5424 |
|
5425 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
5426 |
|
5427 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
5428 (QPSOL::operator =): Call base class operator = instead of assuming |
|
5429 we know what to copy. |
|
5430 |
|
5431 * base-min.h (size): New function. |
|
5432 |
|
5433 * NLP.h (NLP::size): Delete. |
|
5434 (NLP::NLP (const NLP&)): New constructor. |
|
5435 (NLP::operator =): Call base class operator = instead of assuming |
|
5436 we know what to copy. |
|
5437 |
|
5438 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
5439 (class NPSOL): Add operator = and destructor. |
|
5440 |
|
5441 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
5442 |
|
5443 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5444 |
|
5445 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
5446 |
|
5447 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5448 |
|
5449 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
5450 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
5451 |
|
5452 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5453 |
|
5454 * prog-args.h, prog-args.cc: New files. |
|
5455 * Makefile.in: Add them to lists. |
|
5456 |
|
5457 * getopt.h, getopt.c, getopt1.c: New files. |
|
5458 * Makefile.in: Add them to the lists. |
|
5459 |
|
5460 * oct-term.h, oct-term.cc: New files. |
|
5461 * Makefile.in: Add them to the lists. |
|
5462 |
|
5463 * str-vec.cc: New file. |
|
5464 * Makefile.in (SOURCES): Add it to the list. |
|
5465 |
|
5466 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
5467 |
|
5468 * tempname.c, tempnam.c: Move here from src directory. |
|
5469 * Makefile.in: Add to lists. |
|
5470 |
|
5471 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5472 |
|
5473 * cmd-hist.h, cmd-hist.cc: New files. |
|
5474 * Makefile.in: Add them to lists. |
|
5475 |
|
5476 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5477 |
|
5478 * oct-glob.h, oct-glob.cc: New files. |
|
5479 * Makefile.in: Add them to lists. |
|
5480 |
|
5481 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5482 |
|
5483 * pathsearch.h, pathsearch.cc: New files. |
|
5484 * Makefile.in: Add them to lists. |
|
5485 |
|
5486 * dir-ops.h, dir-ops.cc: New files. |
|
5487 * sysdir.h: Move here from src directory. |
|
5488 * Makefile.in: Add them to lists. |
|
5489 |
|
5490 * Array.h (Array::qsort): Return *this, not void. |
|
5491 * str-vec.h (string_vector::qsort): Likewise. |
|
5492 |
|
5493 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
5494 unnecessary NULs. |
|
5495 |
|
5496 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5497 |
|
5498 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
5499 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
5500 Files moved here from src directory. |
|
5501 * Makefile.in: Add them to lists. Include appropriate rules. |
|
5502 |
|
5503 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
5504 Use pointers, not references (this is C code!). |
|
5505 |
|
5506 * oct-math.h: New file. |
|
5507 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
5508 Files moved here from src directory. |
|
5509 * Makefile.in: Add them to lists. |
|
5510 |
|
5511 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5512 |
|
5513 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
5514 |
|
5515 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
5516 Convert to use string class instead of char*. |
|
5517 |
|
5518 * str-vec.h, Array-str.cc: New files. |
|
5519 |
|
5520 * Array.h (Array::qsort): New function. |
|
5521 |
|
5522 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5523 |
|
5524 * Array.h: Nest ArrayRep class inside Array class. |
|
5525 Refer to ArrayRep, not ArrayRep<T>. |
|
5526 Move all ArrayRep functions inline. |
|
5527 Don't declare other Array classes as friends of ArrayRep. |
|
5528 * Array.cc: Delete ArrayRep functions. |
|
5529 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
5530 |
|
5531 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
5532 Don't instantiate ArrayRep objects. |
|
5533 |
|
5534 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5535 |
|
5536 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
5537 New constructor. |
|
5538 |
|
5539 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5540 |
|
5541 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
5542 for balance_job arg. |
|
5543 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
5544 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
5545 |
|
5546 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
5547 |
|
5548 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5549 |
|
5550 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
5551 |
|
5552 * chMatrix.cc (row_as_string): Undo previous change. |
|
5553 |
|
5554 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5555 |
|
5556 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
5557 is expected to save string if necessary. |
|
5558 |
|
5559 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5560 |
|
5561 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
5562 platforms. |
|
5563 |
|
5564 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
5565 a.rep, don't mess with count. |
|
5566 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
5567 don't do anything if reps are the same. |
|
5568 (Array3<T>& operator = (const Array3<T>&) |
|
5569 |
|
5570 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
5571 Declare private with no definition to prevent misuse. |
|
5572 |
|
5573 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
5574 Get range check right. |
|
5575 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
5576 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
5577 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
5578 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
5579 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
5580 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
5581 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
5582 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
5583 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
5584 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
5585 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
5586 * dColVector.cc |
|
5587 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
5588 * CRowVector.cc |
|
5589 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
5590 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
5591 * CColVector.cc |
|
5592 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
5593 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
5594 |
|
5595 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
5596 Also fill in zeros, not just the diagonal. |
|
5597 |
|
5598 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
5599 Use END parameter properly. |
|
5600 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
5601 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
5602 |
|
5603 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
5604 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
5605 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
5606 Don't copy count. Set it to 1. |
|
5607 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
5608 |
|
5609 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
5610 don't set rep->count to 1 here (now handled by ArrayRep |
|
5611 constructors). |
|
5612 (Array<T>::Array (void)): Ditto. |
|
5613 (Array<T>::Array (int)): Ditto. |
|
5614 (Array<T>::T& elem (int)): Ditto. |
|
5615 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
5616 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
5617 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
5618 (Array<T>::resize (int)): Ditto. |
|
5619 (Array<T>::resize (int, const T&)) :Ditto. |
|
5620 (Array<T>::fortran_vec (void)): Ditto. |
|
5621 (Array2<T>::resize (int, int)): Ditto. |
|
5622 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
5623 (DiagArray<T>::resize (int, int)): Ditto. |
|
5624 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
5625 |
|
5626 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5627 |
|
5628 * Array-ch.cc: Rename from Array-c.cc. |
|
5629 * MArray-ch.cc: Rename from MArray-c.cc. |
|
5630 * chMatrix.cc: Rename from cMatrix.cc. |
|
5631 * chMatrix.h: Rename from cMatrix.h. |
|
5632 * Makefile.in (TI_SRC): Use new names here. |
|
5633 * mx-base.h: Likewise. |
|
5634 |
|
5635 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5636 |
|
5637 * Makefile.in: Handle shared libraries. |
|
5638 |
|
5639 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5640 |
|
5641 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
5642 Correctly compute length of return value. Correct rows and |
|
5643 columns in zgemv call. |
|
5644 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
5645 |
|
5646 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5647 |
|
5648 * Makefile.in (stamp-picdir): New target. |
|
5649 (all): Depend on it. |
|
5650 |
|
5651 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5652 |
|
5653 * Makefile.in (INCLUDES): Remove QLD.h. |
|
5654 (SOURCES): Remove QLD.cc. |
|
5655 |
|
5656 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5657 |
|
5658 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
5659 If force is nonzero, invert even if matrix is singular. |
|
5660 (ComplexMatrix::inverse): Likewise. |
|
5661 |
|
5662 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
5663 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
5664 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
5665 Include "oct-cmplx.h" instead of <Complex.h>. |
|
5666 |
|
5667 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
5668 for class Complex. |
|
5669 |
|
5670 * oct-cmplx.h: New file. |
|
5671 * Makefile.in (INCLUDES): Add it to the list. |
|
5672 |
|
5673 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
5674 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
5675 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
5676 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
5677 Avoid g++ bugs. |
|
5678 |
|
5679 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5680 |
|
5681 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
5682 |
|
5683 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
5684 |
|
5685 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5686 |
|
5687 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
5688 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
5689 |
|
5690 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5691 |
|
5692 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
5693 index vector object with Array, not ArrayRep. |
|
5694 |
|
5695 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5696 |
|
5697 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
5698 if index is a colon and resizing is maybe needed. |
|
5699 |
|
5700 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5701 |
|
5702 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
5703 if we have a vector of 1's. |
|
5704 |
|
5705 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
5706 current orientation, require index and rhs to conform unless |
|
5707 do_fortran_indexing flag is set. |
|
5708 |
|
5709 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5710 |
|
5711 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
5712 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
5713 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
5714 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
5715 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
5716 Massive changes to support additional data types. Only charMatrix |
|
5717 is currently used in Octave. |
|
5718 |
|
5719 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5720 |
|
5721 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
5722 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
5723 Simply call Array2<Complex> version. |
|
5724 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
5725 call Array2<double> version. |
|
5726 |
|
5727 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
5728 |
|
5729 * Array.h, Array.cc: Massive overhaul to support new way of |
|
5730 handling indexing. |
|
5731 * idx-vector.h, idx-vector.cc: Likewise. |
|
5732 * Array-ext.cc, Array-idx.h: New files. |
|
5733 * Makefile.in: Add them to the appropriate lists. |
|
5734 |
|
5735 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5736 |
|
5737 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
5738 |
|
5739 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5740 |
|
5741 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
5742 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
5743 |
|
5744 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5745 |
|
5746 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
5747 |
|
5748 * Array.h: Move simple member functions here. |
|
5749 * Array.cc: From here. |
|
5750 |
|
5751 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5752 |
|
5753 * Range.cc (tfloor, tceil, round): New static functions. |
|
5754 (Range::nelem_internal): Rewrite to use better method. |
|
5755 |
|
5756 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
5757 (type_computed): New var. |
|
5758 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
5759 Handle possible error condition. |
|
5760 (init): Allow for SVD::sigma_only, save type computed. |
|
5761 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
5762 Handle possible error condition. |
|
5763 (init): Allow for SVD::sigma_only, save type computed. |
|
5764 |
|
5765 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5766 |
|
5767 * Nearly all non-matrix .h and .cc files: |
|
5768 Move short function bodies into class declarations for inlining. |
|
5769 Generally clean up. |
|
5770 |
|
5771 * base-min.h: New file. |
|
5772 * LP.h (class LP): Derive from base_minimizer. |
|
5773 * QLP.h (class QLP): Derive from base_minimizer. |
|
5774 * NLP.h (class NLP): Derive from base_minimizer. |
|
5775 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
5776 |
|
5777 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
5778 NLFunc.cc, Objective.cc and QP.cc from list. |
|
5779 |
|
5780 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5781 |
|
5782 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
5783 (SCHUR::SCHUR): Delete unused parameter ord. |
|
5784 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
5785 |
|
5786 * CRowVector.cc |
|
5787 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
5788 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
5789 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
5790 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
5791 Actually do something. |
|
5792 |
|
5793 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
5794 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
5795 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
5796 |
|
5797 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
5798 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
5799 tolerances. |
|
5800 |
|
5801 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
5802 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
5803 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
5804 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
5805 * QPSOL.cc (qphess): Likewise. |
|
5806 |
|
5807 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5808 |
|
5809 * dMatrix.cc: Include <cstring>. |
|
5810 |
|
5811 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
5812 that return bogus values after calling the error handler. |
|
5813 |
|
5814 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5815 |
|
5816 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
5817 |
|
5818 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
5819 |
|
5820 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5821 |
|
5822 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
5823 (dassl_j): Likewise. |
|
5824 |
|
5825 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
5826 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
5827 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
5828 Update for change in for loop variable scope for gcc 2.7.0. |
|
5829 |
|
5830 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
5831 |
|
5832 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
5833 not set. |
|
5834 |
|
5835 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
5836 |
|
5837 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
5838 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
5839 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
5840 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
5841 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
5842 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
5843 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
5844 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
5845 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
5846 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
5847 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
5848 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
5849 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
5850 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
5851 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
5852 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
5853 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
5854 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
5855 NLP.h: Use pragma interface/implementation. Don't surround |
|
5856 contents in extern "C++". |
|
5857 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
5858 |
|
5859 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5860 |
|
5861 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
5862 identifiers. |
|
5863 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
5864 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
5865 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
5866 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
5867 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
5868 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
5869 Quad.cc: Change usage of F77_FCN to match new definition |
|
5870 |
|
5871 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
5872 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
5873 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
5874 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
5875 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
5876 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
5877 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
5878 args by reference instead of pointer. Change all callers. |
|
5879 |
|
5880 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5881 |
|
5882 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
5883 functions. Make += and -= operators friend functions. |
|
5884 |
|
5885 * Array.h (Array2::~Array2, Array3::~Array3, |
|
5886 DiagArray::~DiagArray): New functions. |
|
5887 |
|
5888 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5889 |
|
5890 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
5891 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
5892 |
|
5893 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
5894 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
5895 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
5896 dRowVector.h dRowVector.cc: |
|
5897 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
5898 Array2, and DiagArray2. |
|
5899 Don't use functions defined in mx-kludge.cc for arithmetic |
|
5900 like-type operations on arrays. |
|
5901 |
|
5902 * MArray.cc: Use the classes defined here like-type mathematical |
|
5903 operations on Array objects. Abuse CPP more. |
|
5904 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
5905 (EXTRAS): Delete it from this list. |
|
5906 |
|
5907 * MArray-C.cc, MArray-d.cc: New files. |
|
5908 * Makefile.in (TI_SRC): Add them to the list. |
|
5909 |
|
5910 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5911 |
|
5912 * mx-kludge.cc: Abuse CPP even more. |
|
5913 |
|
5914 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5915 |
|
5916 * Objective.h (objective_function): Add missing const. |
|
5917 (gradient_function): Likewise. |
|
5918 |
|
5919 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
5920 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
5921 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
5922 dRowVector.h dRowVector.cc: |
|
5923 Reorganize to declare and define friends where they should be, |
|
5924 based on the use of private constructors. |
|
5925 |
|
5926 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
5927 |
|
5928 * CRowVector.h (linspace): Add declaration. |
|
5929 * dRowVector.h (linspace): Likewise. |
|
5930 |
|
5931 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
5932 Force result of rcond + 1.0 to be stored. |
|
5933 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
5934 ComplexMatrix::solve): Likewise. |
|
5935 |
|
5936 See ChangeLog.1 in the top level directory for earlier changes. |