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