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