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