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