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