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