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