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