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