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