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