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