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