4826
|
1 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2 |
|
3 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
4 Eliminate MT_RESULT args. Return value is always size of args. |
|
5 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
6 Eliminate EMPTY_RESULT arg. |
|
7 Return value is always size of matrix or N-d array arg. |
|
8 (TBM, FBM, NBM): Delete unused macros. |
|
9 |
4821
|
10 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
11 |
|
12 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
13 if all LHS dimensions are zero. For one index case, freeze and |
|
14 sort idx_vec before checking length, and do nothing if |
|
15 num_to_delete is zero. |
4822
|
16 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
17 |
4816
|
18 2004-03-04 David Bateman <dbateman@free.fr> |
|
19 |
|
20 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
21 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
22 |
4811
|
23 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
24 |
|
25 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
26 element. |
|
27 |
|
28 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
29 |
|
30 * Range.h (Range::Range): Add cache to member initialization list. |
|
31 (Range::clear_cache): New private function. |
|
32 |
|
33 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
34 Use clear cache. Don't do anything if range does not change. |
|
35 * Range.cc (Range::sort): Likewise. |
|
36 |
4810
|
37 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
38 |
|
39 * Range.cc (Range::matrix_value): Cache result. |
|
40 (Range::sort): Clear cache. |
|
41 * Range.h (Range::cache): New data member. |
|
42 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
43 (Range::print_range): Delete. |
4808
|
44 |
|
45 2004-03-02 David Bateman <dbateman@free.fr> |
|
46 |
|
47 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
48 changes between them. Faster for small fft's. |
|
49 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
50 New member variables. |
|
51 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
52 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
53 Change all uses. |
|
54 (CHECK_SIMD_ALIGNMENT): New macro. |
|
55 (octave_fftw_planner::create_plan): Use it. |
|
56 |
4806
|
57 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
58 |
|
59 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
60 |
|
61 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
62 |
|
63 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
64 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
65 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
66 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
67 |
|
68 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
69 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
70 |
4800
|
71 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
72 |
4802
|
73 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
74 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
75 octave_rl_get_event_hook): Omit casts. |
|
76 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
77 Return value for function pointer typedef is now int. |
|
78 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
79 command_editor::event_hook_fcn): Likewise. |
|
80 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
81 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
82 Return type is now int. Return 0. |
|
83 |
4800
|
84 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
85 Query Lapack for workspace size. |
|
86 |
4796
|
87 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
88 |
|
89 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
90 Fix thinko in extending dimensions. |
|
91 |
4791
|
92 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
93 |
|
94 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
95 Don't compute values beyond the limits of the range. |
|
96 (operator << (std::ostream&, const Range&)): Likewise. |
|
97 |
4786
|
98 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
99 |
4788
|
100 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
101 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
102 From Paul Kienzle <pkienzle@users.sf.net>. |
|
103 |
4786
|
104 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
105 Rename from Array<T>::insert. |
|
106 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
107 Reinstate old Array<T>::insert function under this name. |
|
108 (Array<T>::insert (const Array<T>&, int, int)): |
|
109 New function. Dispatch to insert2 or insertN as appropriate. |
|
110 |
4785
|
111 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
112 |
|
113 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
114 Sprinkle with OCTAVE_QUIT. |
|
115 |
4773
|
116 2004-02-16 David Bateman <dbateman@free.fr> |
|
117 |
|
118 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
119 Add support for FFTW 3.x. Include the ability to |
|
120 use the real to complex transform for fft's of real matrices |
|
121 (octave_fftw_planner::create_plan2d): Delete. |
|
122 (octave_fftw::fft2d): Delete. |
|
123 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
124 New static functions. |
|
125 * oct-fftw.h: Update decls. |
|
126 |
|
127 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
128 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
129 transforms. 1D FFT of a matrix done as single call rather than |
|
130 loop. Update for FFTW 3.x |
|
131 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
132 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
133 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
134 |
|
135 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
136 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
137 functions for Nd arrays. |
|
138 * dNArray.h Provide decls. |
|
139 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
140 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
141 fourier transform functions for complex Nd arrays. |
|
142 * CNArray.h: Provide decls. |
|
143 |
4765
|
144 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
145 |
|
146 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
147 Make it work for N-d arrays. |
|
148 |
|
149 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
150 New function. |
|
151 |
|
152 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
153 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
154 New functions. |
|
155 * CNDArray.h: Provide decls. |
|
156 |
4759
|
157 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
158 |
4760
|
159 * Makefile.in (LINK_DEPS): Always define. |
|
160 |
4759
|
161 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
162 least two dimensions. |
|
163 |
4758
|
164 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
165 |
|
166 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
167 * dNDArray.cc (NDArray::cat): New function. |
|
168 * dNDArray.h: Provide decls. |
|
169 * CNDArray.cc (complexNDArray::cat): New function. |
|
170 * CNDArray.h: Provide decls. |
|
171 * chNDArray.cc (charNDArray::cat): New function. |
|
172 * chNDArray.h: Provide decls. |
|
173 |
4756
|
174 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
175 |
|
176 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
177 (Array<T>assign2): Also call maybe_delete_elements for single |
|
178 index when rows and columns or LHS are both greater than 1. |
|
179 |
4755
|
180 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
181 |
|
182 * Array.cc (Array<T>::maybe_delete_elements): |
|
183 Check for index out of bounds. Handle one index. |
|
184 |
|
185 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
186 dim_vector (0) to create empty return vector. |
|
187 |
4749
|
188 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
189 |
|
190 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
191 non-empty LHS when the number of lhs dimensions is less than the |
|
192 number of indices. Detect error if attempting to resize non-empty |
|
193 LHS with colon indices. |
|
194 |
4745
|
195 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
196 |
4747
|
197 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
198 values unless the length of the new array is greater than 0. |
|
199 (Array<T>::resize_no_fill): Likewise. |
|
200 |
|
201 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
202 is equal to dimensions(i). |
|
203 |
|
204 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
205 get_zero_len_size, number_of_elements): |
|
206 Delete unused functions. |
|
207 |
|
208 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
209 number_of_elements function. |
|
210 * Array.cc (Array<T>::indexN): Likewise. |
|
211 |
|
212 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
213 of equal_arrays function. |
|
214 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
215 dim_vector::any_zero instead of any_zero_len function. |
|
216 |
|
217 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
218 Don't skip reshaping and resizing if RHS is empty. |
|
219 |
4746
|
220 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
221 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
222 Delete unused variables is_colon and is_colon_equiv. |
4746
|
223 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
224 LHS is not yet defined. |
4745
|
225 Error for resizing if number of indices is less than number of LHS |
|
226 dimensions. |
|
227 |
4746
|
228 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
229 Fortran-style indexing. |
|
230 |
4743
|
231 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
232 |
|
233 * Array.cc (Array<T>::assignN): Simplify. |
|
234 Allow assignments to succeed if number if indices is less than the |
|
235 number of RHS dimensions. |
|
236 |
4738
|
237 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
238 |
4741
|
239 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
240 when number of indices is less than number of dimensions. |
|
241 |
|
242 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
243 Remove unsued variable lhs_inc. |
|
244 |
4740
|
245 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
246 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
247 |
|
248 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
249 |
4738
|
250 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
251 == n_dims before checking to see if all indices are colon_equiv. |
|
252 |
4736
|
253 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
254 |
|
255 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
256 deleting elements. |
4737
|
257 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
258 at least ndims elements. |
4736
|
259 |
4735
|
260 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
261 |
|
262 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
263 oriented differently from the index. |
|
264 |
|
265 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
266 least two dimensions. |
|
267 |
4733
|
268 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
269 |
4735
|
270 * dim-vector.h (dim_vector::squeeze): New function. |
|
271 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
272 deciding whether the assignment conforms. |
|
273 |
4733
|
274 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
275 comparing rhs_dims and frozen_len sans trailing singletons. |
|
276 |
4732
|
277 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
278 |
|
279 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
280 Call error handler and return conversion_error == true if arg is |
|
281 not integer. |
|
282 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
283 |
4730
|
284 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
285 |
|
286 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
287 reference arg const. |
|
288 |
|
289 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
290 |
|
291 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
292 |
4729
|
293 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
294 |
|
295 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
296 Now bool, to match definition in Array-flags.cc. |
|
297 |
4725
|
298 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
299 |
4726
|
300 * file-ops.cc: Include <vector> instead of <memory> for new |
|
301 definition of OCTAVE_LOCAL_BUFFER. |
|
302 |
4725
|
303 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
304 New arg, calc_eigenvectors. |
|
305 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
306 Based on patch from David Bateman <dbateman@free.fr>. |
|
307 |
4716
|
308 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
309 |
|
310 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
311 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
312 |
|
313 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
314 |
4711
|
315 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
316 |
4714
|
317 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
318 Simplify calculation of number of elements in retval. |
|
319 |
4711
|
320 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
321 filling when RHS is scalar and dimension lengths agree. |
|
322 |
4710
|
323 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
324 |
4713
|
325 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
326 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
327 |
4707
|
328 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
329 |
4709
|
330 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
331 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
332 |
4702
|
333 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
334 |
4703
|
335 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
336 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
337 |
|
338 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
339 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
340 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
341 Make sure index is in bounds. |
4702
|
342 |
4698
|
343 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
344 |
|
345 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
346 octave_NaN, and octav_NA values are always initialized. Check |
|
347 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
348 to decide whether to do IEEE initialization. |
|
349 |
4687
|
350 2004-01-06 David Bateman <dbateman@free.fr> |
|
351 |
|
352 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
353 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
354 ComplexNDArray::too_large_for_float): New functions |
|
355 |
|
356 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
357 * CNDArray.h: Provide decls. |
|
358 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
359 * dNDArray.h: Provide decls. |
|
360 |
4673
|
361 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
362 |
4674
|
363 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
364 they are already defined in boolNDArray.cc. |
|
365 |
4673
|
366 * Array-util.cc (get_zero_len_size): Delete. |
|
367 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
368 Handle zero-length result dimensions the same as empty original |
|
369 indices. |
|
370 |
|
371 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
372 |
|
373 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
374 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
375 New functions. |
|
376 * Array.cc (ArrayN<T>::indexN): Use it. |
|
377 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
378 |
4669
|
379 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
380 |
|
381 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
382 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
383 |
|
384 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
385 |
|
386 * mk-ops.awk: Also emit #include "Array-util.h". |
|
387 |
|
388 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
389 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
390 |
|
391 * MArray-misc.cc: Delete. |
|
392 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
393 |
|
394 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
395 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
396 |
4655
|
397 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
398 |
4663
|
399 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
400 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
401 |
|
402 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
403 two-arg getgrnam version. |
|
404 |
4657
|
405 * Array.cc (assignN): Allow single indexing to work. |
4661
|
406 (Array<T>::range_error (const char*, const Array<int>&)): |
|
407 Report index values. |
|
408 |
|
409 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
410 * ODESSA.cc (odessa_j): Likewise. |
|
411 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
412 * DASPK.cc (ddaspk_psol): Likewise. |
|
413 * lo-mappers.cc (imag): Likewise. |
4663
|
414 * Array-util.cc (get_zero_len_size): Likewise. |
|
415 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
416 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
417 |
4655
|
418 * dim-vector.h (dim_vector::all_ones): New function. |
|
419 |
4646
|
420 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
421 |
4653
|
422 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
423 zeros, not orig_rows or orig_columns. |
|
424 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
425 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
426 |
|
427 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
428 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
429 |
|
430 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
431 Use initialization lists for constructors. |
|
432 |
4651
|
433 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
434 Omit special case for ra_idx.capacity () == 1. |
|
435 Always allow single index for matrix args with optional warning. |
|
436 |
4650
|
437 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
438 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
439 |
4648
|
440 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
441 * Makefile.in (TI_SRC): Add it to the list. |
|
442 |
4646
|
443 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
444 type and the names of the left and right operands. Change all uses. |
|
445 |
|
446 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
447 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
448 |
4645
|
449 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
450 |
|
451 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
452 just length. |
|
453 |
|
454 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
455 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
456 non-dependent member functions and data as needed. |
|
457 |
|
458 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
459 |
|
460 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
461 * Array3.h (Array3<T>::operator =): Likewise. |
|
462 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
463 Include Array.h, not Array2.h. |
|
464 |
4634
|
465 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
466 |
4636
|
467 * str-vec.cc (list_in_columns): Fix previous change. |
|
468 |
4635
|
469 * dim-vector.h (dim_vector::num_ones): New function. |
|
470 * Array.cc (maybe_delete_elements): Use it instead of |
|
471 num_ones (const Array<int>&). |
|
472 |
|
473 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
474 |
4634
|
475 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
476 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
477 New functions. |
|
478 * dNDArray.h: Provide decls. |
|
479 |
|
480 * dMatrix.h (Matrix::any_element_is_negative, |
|
481 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
482 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
483 Simplify. |
|
484 |
|
485 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
486 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
487 |
|
488 * dNDArray.cc (real, imag): New functions. |
|
489 * dNDArray.h: Provide decls. |
|
490 |
4630
|
491 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
492 |
|
493 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
494 |
4625
|
495 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
496 |
|
497 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
498 * MArray.h (resize): Delete. |
|
499 * MArray2.h (resize): Delete. |
|
500 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
501 * ODESSA (ODESSA::integrate): Likewise. |
|
502 |
4616
|
503 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
504 |
|
505 * Makefile.in (dist): Depend on stamp-prereq. |
|
506 |
4605
|
507 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
508 |
|
509 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
510 Kluge to make it work. |
4604
|
511 |
|
512 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
513 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
514 |
|
515 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
516 default_command_editor::do_generate_filename_completions, |
|
517 command_editor::generate_filename_completions): New functions. |
|
518 * cmd-edit.h: Provide decls. |
|
519 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
520 function. |
|
521 * oct-rl-edit.h: Provide decl. |
|
522 |
4593
|
523 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
524 |
4594
|
525 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
526 INSTANTIATE_ARRAY): New macros. |
|
527 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
528 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
529 |
4593
|
530 * Array.h (Array<T>::ipermute): New function. |
|
531 |
|
532 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
533 |
|
534 * Array.cc (Array<T>::permute): New function. |
|
535 * Array.h: Provide decl. |
|
536 |
|
537 * Array-util.cc (calc_permutated_idx): New function. |
|
538 * Array-util.h: Provide decl. |
|
539 |
4587
|
540 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
541 |
4592
|
542 * Array.cc (Array<T>::index2): Return value has orientation of |
|
543 indexed value if indexing a vector with a bool matrix. |
|
544 |
4589
|
545 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
546 |
4588
|
547 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
548 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
549 |
|
550 * ArrayN-inline.h: Delete. |
|
551 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
552 * Makefile.in: Fix the appropriate lists. |
|
553 |
4587
|
554 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
555 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
556 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
557 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
558 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
559 Avoid -Wshadow warnings. |
|
560 |
|
561 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
562 |
|
563 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
564 |
|
565 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
566 |
|
567 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
568 |
|
569 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
570 |
4584
|
571 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
572 |
|
573 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
574 |
|
575 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
576 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
577 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
578 Return NDArray. Handle N-d arrays. |
|
579 |
4575
|
580 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
581 |
4583
|
582 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
583 that upcase Fortran names by calling dlsode instead of lsode. |
|
584 |
|
585 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
586 that upcase Fortran names by calling dodessa instead of odessa. |
|
587 |
4577
|
588 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
589 non-const args for symlink system call. |
|
590 (file_ops::readlink): Likewise, for readlink. |
|
591 |
4575
|
592 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
593 |
4574
|
594 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
595 |
|
596 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
597 Change all uses. |
|
598 |
4569
|
599 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
600 |
|
601 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
602 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
603 * dNDArray.h: Provide decls. |
|
604 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
605 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
606 ComplexNDArray::abs): New functions. |
|
607 * CNDArray.h: Provide decls. |
|
608 |
|
609 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
610 Generalize to handle other reduction operations. |
|
611 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
612 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
613 |
4565
|
614 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
615 |
4567
|
616 * Array.cc (Array<T>::reshape): New function. |
|
617 * Array.h: Provide decl. |
|
618 |
|
619 * dim-vector.h (dim_vector::numel): New function. |
|
620 |
4565
|
621 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
622 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
623 |
4559
|
624 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
625 |
|
626 * dim-vector.h (dim_vector::any_zero): New function. |
|
627 (dim_vector::str): New default arg, sep. |
|
628 |
|
629 * Array.h (Array<T>::numel): New function. |
|
630 |
4556
|
631 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
632 |
|
633 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
634 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
635 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
636 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
637 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
638 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
639 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
640 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
641 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
642 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
643 |
4552
|
644 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
645 |
4553
|
646 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
647 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
648 |
4552
|
649 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
650 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
651 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
652 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
653 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
654 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
655 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
656 Use new F77 arg macros in declarations of external Fortran |
|
657 subroutines and for calling them. |
|
658 |
4548
|
659 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
660 |
|
661 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
662 Allow number of dimensions to change. |
|
663 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
664 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
665 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
666 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
667 (Array<T>::transpose): Require ndims to be 2. |
|
668 (Array<T>::index2): Likewise. |
|
669 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
670 (Array<T>::maybe_delete_elements_2): Likewise. |
|
671 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
672 (Array<T>::index1): Use resize_and_fill. |
|
673 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
674 |
|
675 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
676 |
|
677 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
678 (MArray2<T>::resize (int, int, const T&)): New function. |
|
679 |
|
680 * MArray.h (MArray<T>::resize (int)): New function. |
|
681 (MArray<T>::resize (int, const T&)): New function. |
|
682 |
|
683 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
684 |
|
685 * DASPK-opts.in: Use single-arg resize for initial condition |
|
686 heuristics. |
|
687 |
|
688 * dim-vector.h (class dim_vector): Now reference counted. |
|
689 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
690 |
4544
|
691 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
692 |
4545
|
693 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
694 |
4544
|
695 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
696 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
697 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
698 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
699 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
700 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
701 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
702 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
703 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
704 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
705 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
706 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
707 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
708 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
709 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
710 files are now automatically generated. |
|
711 |
|
712 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
713 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
714 Add rules to generate these files and mx-ops.h. |
|
715 (stamp-prereq): Depend on these files. |
|
716 |
|
717 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
718 * Makefile.in (DISTFILES): Add them to the list. |
|
719 |
4543
|
720 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
721 |
|
722 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
723 NDArray::NDArray (const charNDArray)): New constructors. |
|
724 (NDArray::operator !): New function. |
|
725 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
726 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
727 |
|
728 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
729 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
730 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
731 New constructors. |
|
732 (ComplexNDArray::operator !): New function. |
|
733 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
734 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
735 |
|
736 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
737 |
|
738 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
739 Provide NDND_CMP_OPS. |
|
740 |
|
741 * MArrayN.cc (operator +=, operator -=): New functions. |
|
742 Provide product and quotient functions. |
|
743 |
|
744 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
745 dim_vector&)): New function. |
|
746 |
|
747 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
748 operator ==, operator !=): New functions. |
|
749 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
750 |
|
751 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
752 No need to save old dimensions. |
|
753 |
|
754 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
755 (octave_rand::nd_array): New function. |
|
756 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
757 |
|
758 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
759 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
760 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
761 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
762 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
763 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
764 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
765 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
766 NDND_OP_DECLS): New macros. |
|
767 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
768 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
769 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
770 |
|
771 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
772 boolNDArray, class charNDArray): New forward decls. |
|
773 |
4534
|
774 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
775 |
|
776 * Array.cc (assign2): No error (but don't do anything either) for |
|
777 expressions like x([],j) = scalar. |
|
778 |
4532
|
779 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
780 |
4533
|
781 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
782 |
4532
|
783 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
784 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
785 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
786 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
787 |
|
788 * dim-vector.h (rows, cols): Delete unused data members. |
|
789 |
|
790 * Array.cc (Array<T>::get_size): Fix thinko. |
|
791 |
|
792 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
793 |
|
794 * Array.cc (Array<T>::squeeze): New function. |
|
795 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
796 * dNDArray.h (NDArray::squeeze): Likewise. |
|
797 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
798 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
799 |
4530
|
800 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
801 |
|
802 * Array.cc (ArrayN<T>::indexN): New definition. |
|
803 * Array.h (Array<T>::indexN): Provide decl. |
|
804 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
805 Call indexN if more than 2 indices. |
|
806 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
807 Make it (mostly) work. |
|
808 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
809 New functions. |
|
810 |
4527
|
811 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
812 |
|
813 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
814 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
815 versions with eof arg. |
|
816 |
4518
|
817 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
818 |
|
819 * Array.h (dimensions): Now public. |
|
820 template <class LT, class RT> |
|
821 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
822 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
823 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
824 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
825 resize_no_fill (int), |
|
826 resize_no_fill (int, int), |
|
827 resize_no_fill (int, int, int), |
|
828 resize_no_fill (const dim_vector&), |
|
829 resize_and_fill (int, const T&), |
|
830 resize_and_fill (int, int, const T&), |
|
831 resize_and_fill (int, int, int, const T&), |
|
832 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
833 |
|
834 * Array.cc: Include <climits>. |
|
835 |
4513
|
836 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
837 |
4517
|
838 * Array.cc: Merge Array-idx.h. |
|
839 * Array-idx.h: Delete. |
|
840 |
4514
|
841 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
842 |
4513
|
843 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
844 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
845 just special cases of the general purpose N-d Array object). |
|
846 |
|
847 * dim-vector.h: New file. Use dim_vector objects instead of |
|
848 ints or Array<int> objects to represent the size of Array |
|
849 objects. |
|
850 |
|
851 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
852 |
|
853 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
854 |
|
855 * mx-base.h: Include NDArray header files. |
|
856 |
|
857 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
858 |
|
859 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
860 Array-s.cc: Also instantiate ArrayN objects. |
|
861 Don't instantiate assign funcitons for Array2 objects. |
|
862 |
|
863 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
864 liboctave_error_handler, not cerr. |
|
865 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
866 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
867 * dMatrix.cc (Matrix::diag): Likewise. |
|
868 |
|
869 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
870 Omit checks for HEAVYWEIGHT_INDEXING. |
|
871 |
|
872 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
873 |
|
874 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
875 |
|
876 * CNDARray.h, CNDArray.cc: New files. |
|
877 * Makefile.in: Add them to the appropriate lists. |
|
878 |
|
879 * dNDArray.h: Rename from NDArray.h. |
|
880 * dNDArray.cc: Rename from NDArray.cc. |
|
881 * Makefile.in: Rename them here too. |
|
882 |
4507
|
883 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
884 |
|
885 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
886 |
|
887 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
888 * Makefile.in: Add them to the appropriate lists. |
|
889 |
4506
|
890 2003-09-09 David Bateman <dbateman@free.fr> |
|
891 |
|
892 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
893 biry): Always request scaled results from AMOS functions and |
|
894 perform reverse scaling on results if scaled result not requested |
|
895 by user. |
|
896 |
|
897 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
898 |
|
899 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
900 |
4505
|
901 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
902 |
|
903 * Array-d.cc: Instantiate assign functions. |
|
904 |
4504
|
905 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
906 |
|
907 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
908 (get_elt_idx): Index ra_idx correctly. |
|
909 |
|
910 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
911 bounds if it is exactly on the bound. |
|
912 |
|
913 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
914 * ArrayN.h: Provide decl. |
|
915 |
|
916 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
917 |
|
918 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
919 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
920 (idx_vector::orig_dimensions): New function. |
|
921 |
4497
|
922 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
923 |
|
924 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
925 |
4496
|
926 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
927 |
|
928 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
929 (is_in, how_many_lgt, all_ones): New functions. |
|
930 |
4493
|
931 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
932 |
|
933 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
934 |
|
935 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
936 |
|
937 * ArrayN-inline.h: New file. |
|
938 (index_in_bounds, increment_index): Move here. |
|
939 * ArrayN.cc: From here. |
|
940 |
|
941 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
942 * ArrayN-idx.h (assign): New function. |
|
943 |
4490
|
944 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
945 |
|
946 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
947 Also zero imaginary part of result if real part of input value is |
|
948 zero. |
|
949 |
4478
|
950 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
951 |
|
952 * mx-base.h: Include ArrayN.h. |
|
953 |
4476
|
954 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
955 |
|
956 * ArrayN.cc (operator <<): Corrected output. |
|
957 |
4474
|
958 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
959 |
|
960 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
961 |
4473
|
962 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
963 |
|
964 * ArrayN.cc (operator <<): Improve output readability. |
|
965 |
4493
|
966 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
967 |
|
968 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
969 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
970 Initialize old_len before changing size. |
|
971 |
4472
|
972 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
973 |
|
974 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
975 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
976 |
4469
|
977 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
978 |
|
979 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
980 way. Handle NA in an R-compatible way. |
|
981 |
|
982 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
983 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
984 |
|
985 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
986 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
987 |
|
988 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
989 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
990 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
991 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
992 |
4461
|
993 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
994 |
|
995 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
996 Pass true for resize_ok arg to freeze. |
|
997 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
998 Likewise. |
|
999 |
|
1000 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
1001 resize_ok arg is now bool. |
|
1002 * idx-vector.h (idx_vector::freeze): Likewise. |
|
1003 |
|
1004 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
1005 Rename from liboctave_rre_flag. Now bool. |
|
1006 (liboctave_wfi_flag): Now bool. |
|
1007 |
|
1008 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
1009 |
4459
|
1010 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
|
1011 |
|
1012 * Array.h (resize_fill_value): Now a top-level template function. |
|
1013 Accept object as argument. Change all uses. |
|
1014 |
4455
|
1015 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1016 |
|
1017 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
1018 |
|
1019 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
1020 liboctave_dfi_flag. |
|
1021 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
1022 X undefined or empty, always create a row vector. |
|
1023 |
|
1024 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
1025 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
1026 |
4437
|
1027 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1028 |
|
1029 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
1030 Magic colon indexing always produces an object with one column. |
|
1031 |
4433
|
1032 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
|
1033 |
|
1034 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
1035 |
|
1036 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
1037 |
4431
|
1038 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1039 |
|
1040 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
1041 neg_zero is true, also return true for negative zero. |
|
1042 |
4429
|
1043 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1044 |
|
1045 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
1046 Handle step limit. |
|
1047 * DASSL-opts.in: New option for step limit. |
|
1048 |
|
1049 2003-06-16 Per Persson <persquare@mac.com> |
|
1050 |
|
1051 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
1052 |
4428
|
1053 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1054 |
|
1055 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
1056 Store step limit in iwork(20), not iwork(18). |
|
1057 |
4415
|
1058 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
|
1059 |
|
1060 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
1061 |
4412
|
1062 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1063 |
4413
|
1064 * Makefile.in: Handle DESTDIR. |
|
1065 |
4412
|
1066 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
1067 (kpse_path_iterator::set_end): Don't miss last element when not |
|
1068 followed by a colon. |
|
1069 |
4409
|
1070 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1071 |
|
1072 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
1073 |
|
1074 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1075 |
|
1076 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
1077 (find_first_of): Also do an absolute search on each |
|
1078 name before looking in the path. |
|
1079 |
4407
|
1080 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1081 |
|
1082 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
1083 directory separator. |
|
1084 |
4399
|
1085 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1086 |
|
1087 * pathsearch.cc: Include kpse.cc here. |
|
1088 |
|
1089 * kpse.cc: All functions are now static. Massive surgery to |
|
1090 condense kpathsearch library to a single file of just the |
|
1091 essentials for Octave and convert to using C++ strings (no more |
|
1092 calls to malloc, very few calls to new, so there should be much |
|
1093 less potential for introducing memory leaks now). |
|
1094 |
|
1095 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
1096 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
1097 |
|
1098 * kpse.h, kpse-config.h: Delete. |
|
1099 * Makefile.in (INCLUDES): Delete them from the list. |
|
1100 |
4392
|
1101 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1102 |
|
1103 * str-vec.cc (string_vector::append (const std::string&), |
|
1104 string_vector::append (const string_vector&)): New methods. |
|
1105 |
4386
|
1106 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1107 |
4389
|
1108 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
1109 |
4387
|
1110 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
1111 |
4386
|
1112 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
1113 (READABLE): Now a static function to avoid warnings from MinGW |
|
1114 compiler. |
|
1115 |
4384
|
1116 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1117 |
4385
|
1118 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
1119 static. Include most of kpse-xfns.h directly, removing |
|
1120 unnecessary bits. |
|
1121 |
4384
|
1122 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
1123 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
1124 |
4378
|
1125 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1126 |
|
1127 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
1128 * Makefile.in: Add them to the appropriates lists. |
|
1129 |
|
1130 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
1131 |
|
1132 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
1133 for new locations of kpathsea objects. |
|
1134 Delete kpathsea targets. |
|
1135 |
|
1136 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
1137 |
|
1138 * kpse.cc: New file. |
|
1139 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
1140 |
|
1141 * kpse.c: New file. |
|
1142 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
1143 |
|
1144 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
1145 * Makefile.in (INCLUDES): Add them to the list. |
|
1146 |
|
1147 * oct-kpse.h: Delete. |
|
1148 * Makefile.in (INCLUDES): Delete it from the list. |
|
1149 |
4374
|
1150 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1151 |
|
1152 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
1153 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
1154 Likewise. |
|
1155 From Quentin H. Spencer <qspencer@ieee.org>. |
|
1156 |
4365
|
1157 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1158 |
|
1159 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
1160 |
4349
|
1161 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1162 |
4352
|
1163 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
1164 without placement delete. |
|
1165 |
4349
|
1166 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
1167 imaginary parts. |
|
1168 |
|
1169 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
1170 |
4329
|
1171 2003-02-18 David Bateman <dbateman@free.fr> |
|
1172 |
|
1173 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
1174 Use Lapack instead of Linpack. |
|
1175 * Cmatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
1176 ComplexMatrix::solve): Likewise. |
|
1177 |
|
1178 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
1179 calc_cond. If 0, skip condition number calculation. |
|
1180 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
1181 Likewise. |
|
1182 |
|
1183 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
1184 * dbleLU.cc (LU::LU): Likewise. |
|
1185 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
1186 |
|
1187 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1188 |
|
1189 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
1190 |
4323
|
1191 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1192 |
|
1193 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
1194 Additional compatibility fix. |
|
1195 |
|
1196 2003-02-13 Arno Klaassen <arno@scito.com> |
|
1197 |
|
1198 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
1199 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
1200 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
1201 |
4322
|
1202 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1203 |
|
1204 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
1205 Compatibility fix. |
|
1206 |
4316
|
1207 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1208 |
|
1209 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
1210 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
1211 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
1212 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
1213 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
1214 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
1215 |
|
1216 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
1217 with make_unique and xelem. |
|
1218 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
1219 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
1220 ComplexMatrix::extract, ComplexMatrix::row, |
|
1221 ComplexMatrix::column): Likewise. |
|
1222 * dColVector.cc (ColumnVector::insert): Likewise. |
|
1223 * dRowVector.cc (RowVector::insert): Likewise. |
|
1224 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
1225 Matrix::row, Matrix::column): Likewise. |
|
1226 |
4313
|
1227 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1228 |
|
1229 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
1230 |
4309
|
1231 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1232 |
|
1233 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
1234 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
1235 * CMatrix.h, dMatrix.h: Provide decls. |
|
1236 |
4307
|
1237 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1238 |
|
1239 * oct-rand.h, oct-rand.cc: New files. |
|
1240 * Makefile.in: Add them to the appropriate lists. |
|
1241 |
4306
|
1242 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1243 |
|
1244 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
1245 |
4299
|
1246 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
1247 |
|
1248 * oct-syscalls.cc: Include signal.h. |
|
1249 |
4294
|
1250 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1251 |
|
1252 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
1253 * oct-syscalls.h: Provide decl. |
|
1254 |
|
1255 |
4293
|
1256 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1257 |
|
1258 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
1259 there is nothing to read. |
|
1260 |
4290
|
1261 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1262 |
|
1263 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
1264 |
4286
|
1265 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1266 |
4288
|
1267 * getopt.h: Update to version from kpathsearch, so we will install |
|
1268 the version that we are using. |
|
1269 |
|
1270 * getopt.c, getopt1.c: Delete. |
|
1271 (INCLUDES): Delete them from the list. We'll get these files from |
|
1272 kpathsearch. |
|
1273 |
4286
|
1274 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
1275 ../kpathsea/STATIC/*.o. |
|
1276 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
1277 |
4270
|
1278 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1279 |
4282
|
1280 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
1281 unreachable code. |
|
1282 |
4279
|
1283 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
1284 to correspond to placement new operator. |
|
1285 |
4278
|
1286 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
1287 (DET::value_will_underflow): Likewise. |
|
1288 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
1289 (ComplexDET::value_will_underflow): Likewise. |
|
1290 |
4276
|
1291 * Makefile.in (distclean): Also remove stamp-prereq. |
|
1292 |
4306
|
1293 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
1294 RHS and index are empty matrices, don't do anything. |
4270
|
1295 |
4242
|
1296 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1297 |
|
1298 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
1299 delete_c_names): New helper functions. |
|
1300 (dir_path::find_first_of): New function. |
|
1301 (dir_path::find_all_first_of): Likewise. |
|
1302 * pathsearch.h: Provide decls. |
|
1303 |
|
1304 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
1305 (octave_kpse_all_path_find_first_of): Likewise. |
|
1306 * oct-kpse.h: Provide decls. |
|
1307 |
4231
|
1308 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1309 |
|
1310 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
1311 * ODESSA-opts.in: Likewise. |
|
1312 |
|
1313 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
1314 * LSODE-opts.in: Likewise. |
|
1315 |
4229
|
1316 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1317 |
4230
|
1318 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
1319 in all constructors. |
|
1320 |
4229
|
1321 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
1322 (LINK_DEPS): Not here. |
|
1323 |
4219
|
1324 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1325 |
4220
|
1326 * str-vec.cc (string_vector::compare): New static member function. |
|
1327 * str-vec.h: Provide decl. |
|
1328 (string_vector::sort): Use it. |
|
1329 (str_vec_compare): Delete static function. |
|
1330 |
4219
|
1331 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
1332 a placement operator new. |
|
1333 |
4209
|
1334 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1335 |
4210
|
1336 * Matrix.h: Include mx-ops.h too. |
4209
|
1337 * mx-ops.h: New file. |
|
1338 |
4192
|
1339 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1340 |
|
1341 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
1342 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
1343 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
1344 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
1345 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
1346 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
1347 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
1348 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
1349 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
1350 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
1351 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
1352 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
1353 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
1354 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
1355 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
1356 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
1357 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
1358 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
1359 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
1360 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
1361 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
1362 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
1363 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
1364 |
4184
|
1365 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1366 |
|
1367 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
1368 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
1369 |
4180
|
1370 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1371 |
|
1372 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
1373 fortran code that should run fast enough that it is not worth all |
|
1374 the setup costs of F77_XFCN. |
|
1375 |
|
1376 * Quad.cc (user_function): Surround body of function with |
|
1377 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
1378 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
1379 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
1380 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
1381 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
1382 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
1383 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
1384 |
4164
|
1385 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1386 |
|
1387 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
1388 of ! defined (linux). |
|
1389 |
4162
|
1390 2002-11-09 Per Persson <persquare@mac.com> |
|
1391 |
|
1392 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
1393 (make_shlib): Instantiate octave_dyld_shlib. |
|
1394 |
4152
|
1395 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1396 |
4153
|
1397 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
1398 |
4152
|
1399 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
1400 |
|
1401 * Array.h: Include <cstddef> here. |
|
1402 |
4142
|
1403 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1404 |
4144
|
1405 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
1406 using them. Accept inequality contraint option of 0. Assign |
|
1407 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
1408 abs_tol and rel_tol. |
|
1409 |
4143
|
1410 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
1411 static function. |
|
1412 (command_editor::do_filename_completion_desired): New virtual function. |
|
1413 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
1414 * oct-rl-edit.h: Provide decl. |
|
1415 |
4142
|
1416 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
1417 avoid OS X linker bug. |
|
1418 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
1419 |
4139
|
1420 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1421 |
4141
|
1422 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
1423 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
1424 solvers. |
|
1425 * ODESSA.cc: Fix all callers. |
|
1426 |
4139
|
1427 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
1428 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
1429 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
1430 |
4136
|
1431 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1432 |
|
1433 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
1434 |
4132
|
1435 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1436 |
4133
|
1437 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
1438 (ddasrt_f): Combine loops. |
|
1439 |
4132
|
1440 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
1441 instead of empty vector if user termninates iteration. |
|
1442 |
4130
|
1443 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1444 |
|
1445 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
1446 octave_read_complex, octave_write_double, octave_write_complex): |
|
1447 New functions. |
|
1448 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
1449 Use octave_write_complex. |
|
1450 (operator >> (std::istream&, const ComplexMatrix&)): |
|
1451 Use octave_read_complex. |
|
1452 * dMatrix.cc (operator << (std::ostream&, double)): |
|
1453 Use octave_write_double. |
|
1454 (operator >> (std::istream&, double)): Use octave_read_double. |
|
1455 |
4126
|
1456 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1457 |
|
1458 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
1459 * oct-kpse.h: Delete decl. |
|
1460 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
1461 ::octave_kpse_clear_dir_cache. |
|
1462 |
4123
|
1463 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1464 |
4124
|
1465 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
1466 earlier than 3.0. |
|
1467 |
4123
|
1468 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
1469 (liboctave.$(SHLEXT)): Not here. |
|
1470 |
4110
|
1471 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
|
1472 |
|
1473 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
1474 |
4108
|
1475 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1476 |
|
1477 * Makefile.in (install-lib): Don't bother with versions for |
|
1478 $(SHLBIN) files. |
|
1479 |
4105
|
1480 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
|
1481 |
|
1482 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
1483 |
4102
|
1484 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1485 |
|
1486 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
1487 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
1488 New functions. |
|
1489 |
|
1490 * Makefile.in (install): No need to use cd to create links. |
|
1491 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
1492 |
|
1493 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
|
1494 |
|
1495 * Makefile.in: Merge liboctave with liboct-readline and |
|
1496 liboct-pathsearch. |
|
1497 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
1498 (libraries): Depend on versioned library. |
|
1499 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
1500 build unversioned library, symbolic link adds version info. |
|
1501 (install, uninstall): Handle link and load forms of the library |
|
1502 separately. |
|
1503 |
4101
|
1504 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1505 |
|
1506 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
1507 __CYGWIN__. |
|
1508 |
|
1509 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
1510 file_ops::dir_sep_chars): New static functions to replace |
|
1511 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
1512 |
|
1513 * oct-env.cc (octave_env::do_set_program_name): |
|
1514 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
1515 (octave_env::do_base_pathname): Likewise. |
|
1516 (octave_env::do_make_absolute): Likewise. |
|
1517 |
|
1518 * oct-env.cc (octave_env::do_make_absolute): |
|
1519 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
1520 (octave_env::do_get_home_directory): Likewise. |
|
1521 |
|
1522 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
1523 that information here too. |
|
1524 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
1525 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
1526 |
|
1527 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
1528 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
1529 |
4097
|
1530 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1531 |
|
1532 * oct-env.h (octave_env::current_directory): Now mutable. |
|
1533 (octave_env:do_getcwd): Now const. |
|
1534 |
|
1535 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
1536 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
1537 OCTAVE_CURRENT_DIR_STR): New macros. |
|
1538 * oct-env.cc (is_dir_sep): Delete. |
|
1539 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
1540 (octave_env::do_set_program_name): Likewise. |
|
1541 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
1542 instead of checking for '/'. |
|
1543 (octave_env::pathname_backup): Likewise. |
|
1544 (octave_env::do_absolute_pathname): Likewise. |
|
1545 (octave_env::do_make_absolute): Likewise. |
|
1546 If dot_path is empty, use getcwd to set current_dir. |
|
1547 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
1548 instead of "/". |
|
1549 |
4093
|
1550 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
|
1551 |
|
1552 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
1553 |
|
1554 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
|
1555 |
|
1556 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
1557 absolute path names under MinGW as well. |
|
1558 |
|
1559 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1560 |
|
1561 * oct-env.cc: Include <cctype> too. |
|
1562 |
4087
|
1563 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1564 |
|
1565 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
1566 filenames. |
|
1567 (octave_env::do_make_absolute): Check for absolute name with |
|
1568 do_absolute_path. |
4088
|
1569 (octave_env::do_chdir): Likewise. |
|
1570 (is_dir_sep): New function. |
4087
|
1571 |
4085
|
1572 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
|
1573 |
4086
|
1574 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
1575 systems. |
4085
|
1576 |
4083
|
1577 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1578 |
|
1579 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
1580 |
4080
|
1581 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1582 |
4081
|
1583 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
1584 |
4080
|
1585 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
1586 |
4076
|
1587 2002-09-27 Per Persson <persquare@mac.com> |
|
1588 |
|
1589 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
1590 gr_gid too. |
|
1591 |
4072
|
1592 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1593 |
4074
|
1594 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
1595 lo_ieee_* functions. |
4072
|
1596 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
1597 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
1598 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
1599 * lo-cieee.c: New file. |
4074
|
1600 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
1601 * lo-ieee.h: Now all extern "C". |
4074
|
1602 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
1603 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
1604 |
4072
|
1605 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
1606 Now extern. |
|
1607 |
4066
|
1608 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1609 |
|
1610 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
1611 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
1612 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
1613 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
1614 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
1615 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
1616 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
1617 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
1618 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
1619 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
1620 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
1621 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
1622 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
1623 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
1624 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
1625 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
1626 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
1627 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
1628 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
1629 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
1630 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
1631 oct-alloc.cc: |
|
1632 If __GNUG__, use pragma interface/implementation. Allow this to |
|
1633 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
1634 |
4064
|
1635 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
|
1636 |
4066
|
1637 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
1638 system readlink function is not available. |
|
1639 |
4065
|
1640 * lo-mappers.cc (xerf, xerfc): Delete. |
|
1641 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
1642 |
4064
|
1643 * lo-mappers.cc: Remove unused #define M_PI. |
|
1644 * lo-specfun.cc: Add #define M_PI if needed. |
|
1645 |
4062
|
1646 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1647 |
|
1648 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
1649 that geteuid doesn't exist. |
|
1650 |
|
1651 * LP.h: Rename LP class to octave_LP. |
|
1652 LPsolve.h: Change all uses. |
|
1653 |
|
1654 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
1655 incorrect token-pasting op. |
|
1656 |
|
1657 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
1658 define lstat. |
|
1659 |
4061
|
1660 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1661 |
|
1662 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
1663 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
1664 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
1665 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
1666 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
1667 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
1668 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
1669 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
1670 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
1671 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
1672 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
1673 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
1674 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
1675 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
1676 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
1677 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
1678 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
1679 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
1680 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
1681 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
1682 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
1683 oct-alloc.cc: |
|
1684 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
1685 to decide whether to use the interface/implementation pragmas. |
|
1686 |
4058
|
1687 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1688 |
|
1689 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
1690 |
4055
|
1691 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
1692 |
|
1693 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
1694 qualified names. |
|
1695 |
4051
|
1696 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1697 |
4054
|
1698 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
1699 ArrayN.cc: Add typename where needed. |
4053
|
1700 |
4051
|
1701 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
1702 strstream classes directly. |
|
1703 * DASRT.cc: Likewise. |
|
1704 * DASSL.cc: Likewise. |
|
1705 * LSODE.cc: Likewise. |
|
1706 * ODESSA.cc: Likewise. |
|
1707 |
|
1708 * cmd-hist.cc: Don't include <strstream>. |
|
1709 * oct-shlib.cc: Likewise. |
|
1710 |
|
1711 * lo-sstream.h: New file. |
|
1712 |
4049
|
1713 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1714 |
|
1715 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
1716 New data members. |
|
1717 (LSODE::sanity_checked): Delete unused data member. |
|
1718 |
|
1719 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
1720 prel_tol, pinfo, piwork, prwork): New data members. |
|
1721 * DASSL.h (DASSL): Likewise. |
|
1722 |
|
1723 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
1724 |
|
1725 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
1726 initialization, changes in options, etc. |
|
1727 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
1728 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
1729 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
1730 |
4047
|
1731 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1732 |
4049
|
1733 * DAEFunc.h (DAEFunc::reset): New data member. |
|
1734 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
1735 |
|
1736 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
1737 (base_diff_eqn::clear_stop_time): Likewise. |
|
1738 |
4047
|
1739 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
1740 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
1741 |
4044
|
1742 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
|
1743 |
|
1744 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
1745 * DASRT-opts.in, DASRT.h: Likewise. |
|
1746 * DASSL-opts.in, DASSL.h: Likewise. |
|
1747 * LSODE-opts.in, LSODE.h: Likewise. |
|
1748 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
1749 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
1750 |
4038
|
1751 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1752 |
4042
|
1753 * LSODE.cc (LSODE::error_message): Also return current T on |
|
1754 failures when that makes sense. |
4043
|
1755 * DASSL.cc (DASSL::error_message): Likewise. |
|
1756 * DASRT.cc (DASRT::error_message): Likewise. |
|
1757 * DASPK.cc (DASPK::error_message): Likewise. |
|
1758 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
1759 |
4038
|
1760 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
1761 $(LIBKPATHSEA) here. |
|
1762 |
4025
|
1763 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1764 |
|
1765 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
1766 (lo_ieee_is_NaN_or_NA): New function. |
|
1767 (octave_NA): New global value. |
|
1768 (octave_ieee_init): Initialize it. |
|
1769 * lo-mappers.cc (octave_is_NA): New function. |
|
1770 (octave_is_NaN_or_NA): New function. |
|
1771 (xisnan): Return false if NaN looks like a missing value. |
|
1772 (xisnan (const Complex&)): Use xisnan here. |
|
1773 |
4015
|
1774 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1775 |
4017
|
1776 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
1777 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
1778 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
1779 Default value for dim is -1, not 0. |
|
1780 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
1781 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
1782 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
1783 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
1784 |
4015
|
1785 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
1786 New macros. |
|
1787 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
1788 MX_BASE_REDUCTION_OP. |
|
1789 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
1790 |
4014
|
1791 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1792 |
4015
|
1793 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
1794 Return boolMatrix, not Matrix. |
|
1795 |
|
1796 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
1797 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
1798 (Matrix::all): Replace guts with MX_ALL_OP. |
|
1799 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
1800 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
1801 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
1802 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
1803 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
1804 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
1805 |
|
1806 * dMatrix.h (Matrix::any): New arg, dim. |
|
1807 (Matrix::all): Likewise. |
|
1808 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
1809 (ComplexMatrix::all): Likewise. |
|
1810 * boolMatrix.h (boolMatrix::any): Likewise. |
|
1811 (boolMatrix::all): Likewise. |
|
1812 * chMatrix.h (charMatrix::any): Likewise. |
|
1813 (charMatrix::all): Likewise. |
|
1814 |
4014
|
1815 * Makefile.in: Use $@-t instead of $@.t. |
|
1816 |
4004
|
1817 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1818 |
|
1819 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
1820 Use it in matrix versions to avoid spewing multiple errors. |
|
1821 Call xgammainc instead of dgamit. |
|
1822 |
3998
|
1823 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1824 |
|
1825 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
1826 Get rows and columns right in loop. |
|
1827 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
1828 |
|
1829 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1830 |
|
1831 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
1832 * DASRT.cc (DASRT::integrate): Likewise. |
|
1833 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
1834 |
|
1835 * Quad.cc: Don't pass tolerances in constructors. |
|
1836 |
|
1837 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
1838 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
1839 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
1840 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
1841 from corresponding .in files. |
|
1842 * LSODE.h, Quad.h: Replace options class definitions with included |
|
1843 file. |
|
1844 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
1845 create OPTS_INC files from OPTS_INC_SRC files. |
|
1846 (stamp-prereq): New target. |
|
1847 (libraries): Depend on stamp-prereq. |
|
1848 Include stamp-prereq along with $(MAKEDEPS). |
|
1849 |
3997
|
1850 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1851 |
|
1852 * base-de.h (base_diff_eqn::istate): New data member. |
|
1853 (base_diff_eqn::integration_state): New member function. |
|
1854 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
1855 data members and functions. |
|
1856 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
1857 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
1858 |
3990
|
1859 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1860 |
3995
|
1861 * base-de.h (base_diff_eqn::stop_time, |
|
1862 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
1863 base_diff_eqn::integration_error): New data members. |
|
1864 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
1865 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
1866 base_diff_eqn::error_message): New member functions. |
|
1867 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
1868 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
1869 members and functions. |
|
1870 |
3992
|
1871 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
1872 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
1873 (DASRT::integrate): Don't forget to set nn. |
3992
|
1874 |
3991
|
1875 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
1876 * DASSL.cc (ddassl_j): Make it work. |
|
1877 * DASPK.cc (ddaspk_j): Likewise. |
|
1878 |
3990
|
1879 * DAE.cc: Delete. |
|
1880 |
|
1881 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
1882 solving with root finding. |
|
1883 * Makefile.in: Add them to the appropriate lists. |
|
1884 |
|
1885 * base-dae.h: New file. |
|
1886 * Makefile.in (INCLUDES): Add it to the list. |
|
1887 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
1888 |
3984
|
1889 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1890 |
|
1891 * ODE.h: Move integrate and do_integrate method declarations and |
|
1892 definitions here. |
|
1893 * base-de.h: From here. |
|
1894 |
|
1895 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
1896 * Makefile.in: Add them to the appropriate lists. |
|
1897 (LIBOCTAVE_CXX_SOURCES): |
|
1898 |
3971
|
1899 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1900 |
|
1901 * NLEqn.cc (NLEqn::error_message): New function. |
|
1902 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
1903 |
3970
|
1904 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1905 |
|
1906 * lo-utils.cc (octave_fgetl): New function. |
|
1907 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
1908 |
3959
|
1909 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1910 |
|
1911 * LSODE.cc (LSODE::error_message): New function. |
|
1912 * LSODE.h: Provide decl. |
|
1913 (LSODE::integration_state): New function. |
|
1914 (LSODE::integration_ok): New function. |
|
1915 |
3952
|
1916 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1917 |
3955
|
1918 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
1919 (LSODE_options::set_integration_method, |
|
1920 LSODE_options::integration_method): New functions. |
3954
|
1921 |
3952
|
1922 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
1923 Change all uses. |
|
1924 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
1925 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
1926 New function. |
|
1927 |
|
1928 * Array.h (Array::fortran_vec): New const version. |
|
1929 |
3951
|
1930 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1931 |
|
1932 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
1933 (gnu_readline::history_search_forward): Likewise. |
|
1934 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
1935 to extern "C" functions to octave_rl_ad_defun. |
|
1936 |
3946
|
1937 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
|
1938 |
|
1939 * DASPK.cc (ddaspk_psol): Return value. |
|
1940 * oct-rl-edit.c: Use /* ... */ to comment. |
|
1941 |
3945
|
1942 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1943 |
|
1944 * DASSL.h (DASSL_options::init): Undo previous change. |
|
1945 (DASSL_options::set_absolute_tolerance): Likewise. |
|
1946 * LSODE.h (LSODE_options::init): Likewise. |
|
1947 (LSODE_options::set_absolute_tolerance): Likewise. |
|
1948 |
|
1949 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
1950 sqrt(eps), not eps^2. |
|
1951 DASPK_options::set_absolute_tolerance): Likewise. |
|
1952 |
3944
|
1953 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
1954 |
|
1955 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
1956 object. |
|
1957 |
3933
|
1958 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1959 |
|
1960 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
1961 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
1962 (octave_rl_set_basic_word_break_characters, |
|
1963 octave_rl_set_completer_word_break_characters): New functions. |
|
1964 * oct-rl-edit.h: Provide decls. |
|
1965 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
1966 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
1967 (command_editor::set_basic_quote_characters, |
|
1968 command_editor::set_completion_append_character): New static functions. |
|
1969 * cmd-edit.h: Provide decls. |
|
1970 (command_editor::do_set_basic_word_break_characters, |
|
1971 command_editor::do_set_completer_word_break_characters): |
|
1972 New virtual functions. |
|
1973 |
|
1974 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
1975 (resize_fill_value): New static function. |
|
1976 |
|
1977 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
1978 resize_fill_value. |
|
1979 * Array2-idx.h (Array2<T>::index): Likewise. |
|
1980 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
1981 |
|
1982 * Array2.cc (Array<T>::print_info): New function. |
|
1983 * Array2.h: Provide decl. |
|
1984 |
|
1985 * Array.cc (Array<T>::print_info): New function. |
|
1986 * Array.h: Provide decl. |
|
1987 |
3928
|
1988 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1989 |
|
1990 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
1991 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
1992 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
1993 |
|
1994 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
1995 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
1996 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
1997 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
1998 |
|
1999 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
|
2000 |
|
2001 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
2002 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
2003 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
2004 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
2005 |
3919
|
2006 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2007 |
|
2008 * DASSL.h (DASSL_options::init): Undo previous change. |
|
2009 (DASSL_options::set_absolute_tolerance): Likewise. |
|
2010 |
3912
|
2011 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2012 |
|
2013 * DASPK.h, DASPK.cc: New files. |
|
2014 * Makefile.in: Add them to the appropriate lists. |
|
2015 |
3904
|
2016 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2017 |
|
2018 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
2019 Simplify indexing when one or both of the indices are empty. |
|
2020 |
3896
|
2021 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2022 |
|
2023 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
2024 (DASSL_options::set_absolute_tolerance): Likewise. |
|
2025 * LSODE.h (LSODE_options::init): Likewise. |
|
2026 (LSODE_options::set_absolute_tolerance): Likewise. |
|
2027 |
3887
|
2028 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
|
2029 |
|
2030 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
2031 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
2032 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
2033 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
2034 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
2035 * file-stat.h: Likewise. |
|
2036 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
2037 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
2038 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
2039 * strftime.c: Likewise. |
|
2040 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
2041 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
2042 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
2043 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
2044 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
2045 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
2046 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
2047 |
3883
|
2048 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
|
2049 |
|
2050 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
2051 internally when the user requests it. |
|
2052 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
2053 * dbleQR.cc (QR::init): Ditto. |
|
2054 * dbleQRP.cc (QRP::init): Ditto. |
|
2055 |
3874
|
2056 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2057 |
|
2058 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
2059 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
2060 (octave_fftw::ifft2d): Likewise. |
|
2061 |
3873
|
2062 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
|
2063 |
|
2064 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
2065 |
3867
|
2066 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2067 |
|
2068 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
2069 (LS_DO_WRITE): Likewise. |
|
2070 |
3864
|
2071 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2072 |
|
2073 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
2074 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
2075 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
2076 |
|
2077 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
2078 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
2079 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
2080 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
2081 |
|
2082 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
2083 DIM == -1 now means no orientation for vector sums. |
|
2084 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
2085 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
2086 |
3858
|
2087 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2088 |
|
2089 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
2090 have zero elements. |
|
2091 |
3854
|
2092 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2093 |
3857
|
2094 * Makefile.in: Split out readline and pathsearch functionality |
|
2095 into separate liboct-readline and liboct-pathsearch libraries. |
|
2096 |
3854
|
2097 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
2098 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
2099 to do nothing for this call to rl_clear_screen. |
3854
|
2100 |
3849
|
2101 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2102 |
|
2103 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
2104 function. |
|
2105 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
2106 |
3838
|
2107 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2108 |
|
2109 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
2110 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
2111 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
2112 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
2113 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
2114 |
3836
|
2115 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2116 |
|
2117 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
2118 |
|
2119 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
2120 Array-b.cc: Instantiate three arg assign functions. |
|
2121 |
|
2122 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
2123 New arg, resize_fill_value. |
|
2124 * ArrayN.h: Provide declaration. |
|
2125 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
2126 three arg version. |
|
2127 |
|
2128 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
2129 New arg, resize_fill_value. |
|
2130 * Array3.h: Provide declaration. |
|
2131 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
2132 three arg version. |
|
2133 |
|
2134 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
2135 New arg, resize_fill_value. |
|
2136 * Array2.h: Provide declaration. |
|
2137 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
2138 three arg version. |
|
2139 |
|
2140 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
2141 New arg, resize_fill_value. |
|
2142 * Array.h: Provide declaration. |
|
2143 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
2144 three arg version. |
|
2145 |
3833
|
2146 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2147 |
|
2148 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
2149 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
2150 to the empty string. |
|
2151 |
3832
|
2152 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2153 |
|
2154 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
2155 Don't check for rep != a.rep. |
|
2156 |
3827
|
2157 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
2158 |
|
2159 * oct-fftw.h, oct-fftw.cc: New files. |
|
2160 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
2161 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
2162 ifourier2d}): Use fftw if available. |
|
2163 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
2164 Likewise. |
|
2165 |
3821
|
2166 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2167 |
|
2168 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
2169 (install-inc): Don't use mk-includedir-link. |
|
2170 |
3803
|
2171 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2172 |
|
2173 * lo-cutils.c (octave_gethostname): New function. |
|
2174 * lo-utils.h: Provide declaration. |
|
2175 * oct-env.cc (octave_env::do_get_host_name): |
|
2176 Call octave_gethostname, instead of gethostname. |
|
2177 |
|
2178 * lo-cutils.c (gethostname): Define here. |
|
2179 * lo-sysdep.cc: Not here. |
|
2180 |
3786
|
2181 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2182 |
|
2183 * lo-cutils.c: Don't declare strptime. |
|
2184 (oct_strptime): Cast return type of strptime to char*. |
|
2185 |
3777
|
2186 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2187 |
3779
|
2188 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
2189 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
2190 (octave_rl_read_init_file): Ditto. |
|
2191 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
2192 free_undo_list. |
|
2193 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
2194 completion_matches. |
|
2195 (octave_rl_enable_paren_matching): New function. |
|
2196 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
2197 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
2198 |
3777
|
2199 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
2200 tanh (const Complex&)): Declare and define if not |
|
2201 CXX_ISO_COMPLIANT_LIBRARY. |
|
2202 |
3776
|
2203 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2204 |
|
2205 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
2206 CXX_ISO_COMPLIANT_LIBRARY. |
|
2207 |
3775
|
2208 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
2209 |
3776
|
2210 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
2211 CXX_ISO_COMPLIANT_LIBRARY. |
|
2212 |
3775
|
2213 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
2214 archive libraries containing templates. |
|
2215 |
|
2216 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
2217 get_zero_len_size, all_colon_equiv): Inline. |
|
2218 (ArrayN<T>::index): Rename idx to arr_idx. |
|
2219 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
2220 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
2221 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
2222 |
|
2223 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2224 |
|
2225 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
2226 log10 (const Complex&)): Delete. |
|
2227 |
|
2228 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
2229 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
2230 sinh, sqrt, tan, and tanh. |
|
2231 |
3769
|
2232 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2233 |
|
2234 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
2235 Add std:: namespace qualifier as needed. |
|
2236 |
|
2237 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
2238 Change all uses to match. |
|
2239 |
3767
|
2240 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2241 |
|
2242 * lo-cutils.c: Don't delcare strptime. |
|
2243 |
3760
|
2244 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2245 |
|
2246 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
2247 Return correct size result for empty matrix case. |
|
2248 |
3757
|
2249 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2250 |
|
2251 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
2252 If args are equal in magnitude, return first arg instead of |
|
2253 second. |
|
2254 |
3752
|
2255 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2256 |
3755
|
2257 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
2258 then try harder to compute correct number of elements. |
3753
|
2259 |
3752
|
2260 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
2261 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
2262 |
3750
|
2263 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2264 |
3751
|
2265 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
2266 Rename n_intervals to be n_elt. |
|
2267 |
3750
|
2268 * strptime.c: Surround everything after including config.h in |
|
2269 #ifndef HAVE_STRPTIME ... #endif. |
|
2270 |
3742
|
2271 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2272 |
|
2273 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
2274 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
2275 |
3741
|
2276 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2277 |
|
2278 * MArray-defs.h: Protect against multiple inclusion. |
|
2279 |
3739
|
2280 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2281 |
|
2282 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
2283 end of the list, to be compatible with previous versions of Octave. |
|
2284 |
3736
|
2285 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
2286 |
|
2287 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
2288 since mktime is supposed to `normalize' the results for us. |
|
2289 |
3731
|
2290 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
2291 |
|
2292 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
2293 and vectors. Use xelem for faster access to elements when copying. |
3731
|
2294 |
3726
|
2295 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2296 |
|
2297 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
2298 Correct indexing for operation across rows. |
|
2299 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
2300 |
3725
|
2301 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
2302 |
|
2303 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
2304 elements if arg is a colon. |
|
2305 |
3723
|
2306 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
|
2307 |
3795
|
2308 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
2309 (Matrix::cumsum (int) const): Likewise. |
|
2310 (Matrix::prod (int) const): Likewise. |
|
2311 (Matrix::sum (int) const): Likewise. |
|
2312 (Matrix::sumsq (int) const): Likewise. |
|
2313 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
2314 (ComplexMatrix::cumsum (int) const): Likewise. |
|
2315 (ComplexMatrix::prod (int) const): Likewise. |
|
2316 (ComplexMatrix::sum (int) const): Likewise. |
|
2317 (ComplexMatrix::sumsq (int) const): Likewise. |
|
2318 |
3722
|
2319 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2320 |
|
2321 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
2322 size if Array<T>::index returns an empty array. |
|
2323 |
3710
|
2324 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2325 |
|
2326 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
2327 file_ops::readlink): New functions. |
|
2328 |
3709
|
2329 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2330 |
|
2331 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
2332 indexed, always return an object the same size as the index arg. |
|
2333 |
|
2334 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
2335 empty format. |
|
2336 |
3706
|
2337 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2338 |
|
2339 * lo-cutils.c (oct_strptime): New function. |
|
2340 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
2341 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
2342 |
3702
|
2343 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2344 |
3703
|
2345 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
2346 |
3702
|
2347 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
2348 |
3689
|
2349 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2350 |
|
2351 * dMatrix.h (read_int): Provide declaration. |
|
2352 |
3688
|
2353 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
2354 |
|
2355 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
2356 (write_doubles): Ditto. |
|
2357 * data-conv.h: Ditto. |
|
2358 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
2359 |
3685
|
2360 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2361 |
|
2362 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
2363 * boolMatrix.cc: Define them here. |
|
2364 |
3680
|
2365 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2366 |
|
2367 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
2368 previously undefined and set size of x to size of bool index. |
|
2369 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
2370 Allow z_len to be zero. |
|
2371 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
2372 If frozen, don't assert that frozen_at_z_len == z_len. |
|
2373 |
3670
|
2374 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2375 |
|
2376 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
2377 instead of rl_clear_screen. |
|
2378 |
3665
|
2379 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2380 |
|
2381 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
2382 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
2383 * Makefile.in: Add them to the appropriate lists. |
|
2384 |
3657
|
2385 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2386 |
|
2387 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
2388 |
3635
|
2389 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2390 |
|
2391 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
2392 |
3615
|
2393 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2394 |
|
2395 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
2396 before rebuilding. |
|
2397 |
|
2398 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
|
2399 |
|
2400 * liboctave/Makefile.in (liboctave.$(LIBEXT)): New target. |
|
2401 (libraries): Depend only on library targets, not archive members. |
|
2402 |
3613
|
2403 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2404 |
|
2405 * Makefile.in: (objects): New target. |
|
2406 |
|
2407 * lo-cutils.c: New file. |
|
2408 * Makefile.in (SOURCES): Add it to the list. |
|
2409 * lo-utils.h: Declare octave_qsort here. |
|
2410 * Array.h (Array::qsort): Use it here. |
|
2411 |
3607
|
2412 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2413 |
|
2414 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
2415 |
3598
|
2416 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2417 |
|
2418 * oct-rl-hist.c (octave_history_list): Do something when not |
|
2419 printing line numbers. Fix reallocation of retval. |
|
2420 |
3597
|
2421 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2422 |
|
2423 * Makefile.in (install-inc): Install files in |
|
2424 $(octincludedir)/octave. |
|
2425 (uninstall): Remove them from the correct directory too. |
|
2426 |
|
2427 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
2428 they are not already defined. |
|
2429 |
3588
|
2430 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2431 |
|
2432 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
2433 Delete declarations and definitions of mixed-type vector-vector ops. |
|
2434 |
3585
|
2435 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2436 |
|
2437 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
2438 matrix and vector objects. |
|
2439 |
|
2440 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
2441 return type from second arg type. |
|
2442 (MDM_BIN_OP): Likewise, for first arg type. |
|
2443 |
|
2444 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
2445 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
2446 |
|
2447 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
2448 request ColumnVector to ComplexColumnVector, and Matrix to |
|
2449 ComplexMatrix conversions. |
|
2450 |
|
2451 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
2452 initial value using ComplexMatrix constructor. |
|
2453 |
|
2454 * CColVector.cc (product, quotient, |
|
2455 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
2456 Fix type of returned value. |
|
2457 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
2458 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
2459 |
|
2460 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
2461 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
2462 dRowVector.h: Declare some constructors explicit, to disallow |
|
2463 potentially problematic automatic type conversions. |
|
2464 |
3580
|
2465 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2466 |
3582
|
2467 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
2468 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
2469 More new files. |
|
2470 * Makefile.in: Add them to the appropriate lists. |
|
2471 |
|
2472 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
2473 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
2474 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
2475 vx-s-crv.cc:, New files. |
|
2476 * Makefile.in: Add them to the appropriate lists. |
|
2477 |
|
2478 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
2479 Delete scalar by vector and vector by scalar binary ops. |
|
2480 |
3580
|
2481 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
2482 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
2483 |
3573
|
2484 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2485 |
3578
|
2486 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
2487 rl_event_hook before casting to void **. |
|
2488 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
2489 |
3574
|
2490 * MArray-defs.h: Many new macros to make declaration and |
|
2491 definition of operators more consistent. |
|
2492 |
|
2493 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
2494 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
2495 |
3569
|
2496 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2497 |
3572
|
2498 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
2499 (Matrix::ifourier2d): Likewise. |
|
2500 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
2501 (ComplexMatrix::ifourier2d): Likewise. |
|
2502 |
3569
|
2503 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
2504 |
3504
|
2505 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2506 |
3519
|
2507 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
2508 readline library. |
|
2509 * Makefile.in: Add them to the appropriate lists. |
|
2510 |
|
2511 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
2512 readline history library. |
|
2513 * Makefile.in: Add them to the appropriate lists. |
|
2514 |
3517
|
2515 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
2516 (LS_DO_READ): Likewise, for istream::read. |
3518
|
2517 (write_doubles): Likewise. |
|
2518 (read_doubles): Likewise. |
3517
|
2519 |
3516
|
2520 * oct-env.cc (octave_env::do_polite_directory_format): |
|
2521 Use operator== and substr method to do limited-length string |
|
2522 comparison. |
|
2523 |
3513
|
2524 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
2525 |
3511
|
2526 * Quad.h: Use do_integrate as name of pure virtual function. |
|
2527 |
3508
|
2528 * base-de.h: Use tt instead of t as arg names. |
3511
|
2529 Add method with tcrit arg. |
|
2530 |
3509
|
2531 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
2532 |
3507
|
2533 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
2534 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
2535 * Quad.cc (quad_fcn_ptr): Ditto. |
|
2536 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
2537 |
3505
|
2538 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
2539 * Makefile.in: Add them to the appropriate lists. |
3505
|
2540 |
|
2541 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
2542 * Makefile.in: Add them to the appropriate lists. |
3505
|
2543 |
3504
|
2544 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
2545 |
|
2546 * CDiagMatrix.h: Delete decls for friend operators that are |
|
2547 handled by MDiagArray2 class. Move others outside class decl and |
|
2548 strip friend status. |
|
2549 * dDiagMatrix.h: Likewise. |
|
2550 |
|
2551 * MArray.h: Delete decls for friend operators inside class decl. |
|
2552 * MArray2.h: Ditto. |
|
2553 * MDiagArray2.h: Ditto. |
|
2554 |
|
2555 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
2556 necessary parameters. Don't allocate memory in the macro. Change |
|
2557 all uses. |
|
2558 |
|
2559 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
2560 * CMatrix.h (class ComplexMatrix): Ditto. |
|
2561 |
|
2562 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
2563 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
2564 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
2565 avoid type conflicts. Change all uses. |
|
2566 |
|
2567 * strptime.c (__mon_yday): Fix size of array decl. |
|
2568 |
|
2569 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
2570 |
|
2571 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
2572 default value for second arg. |
|
2573 |
|
2574 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
2575 references to ArrayRep. |
|
2576 |
3503
|
2577 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2578 |
3504
|
2579 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
2580 |
|
2581 * All source files: Include iostream, fstream, strstream, |
|
2582 etc. as needed instead of using forward declarations for these |
3504
|
2583 classes. Add std:: qualifier as needed. |
3503
|
2584 |
3498
|
2585 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2586 |
|
2587 * oct-time.cc: Declare strptime extern "C". |
|
2588 |
3496
|
2589 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2590 |
|
2591 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
2592 |
3488
|
2593 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2594 |
3492
|
2595 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
2596 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
2597 to get total size to be allocated. |
|
2598 |
3488
|
2599 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
2600 as bool, not int. |
|
2601 |
3482
|
2602 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2603 |
|
2604 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
2605 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
2606 as A, even when do_fortran_indexing is not enabled. |
|
2607 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
2608 |
3473
|
2609 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2610 |
3480
|
2611 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
2612 function pointer as final arg. Passed function (if any) will be |
|
2613 called for singularity errors. |
|
2614 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
2615 |
|
2616 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
2617 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
2618 |
3475
|
2619 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
2620 No longer bother with infinity or quiet_nan. |
|
2621 |
3473
|
2622 * Array2.cc (Array2<T>::get_size): New function. |
|
2623 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
2624 |
3472
|
2625 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2626 |
|
2627 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
2628 New function. |
|
2629 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
2630 Use it when indexing with one arg instead of faking a second one. |
|
2631 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
2632 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
2633 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
2634 rows or columns. |
|
2635 |
|
2636 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
2637 vector that is all true values with a length equal to n as colon |
|
2638 equivalent. |
|
2639 |
3470
|
2640 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2641 |
|
2642 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
2643 |
|
2644 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
2645 |
|
2646 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
2647 operations directly in step 2 and reverse step 2. |
|
2648 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
2649 operations directly in step 2 and reverse step 2. |
|
2650 |
3465
|
2651 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2652 |
|
2653 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
2654 |
|
2655 * strptime.c: New file, from glibc 2.1.2. |
|
2656 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
2657 |
3419
|
2658 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2659 |
|
2660 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
2661 |
3415
|
2662 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2663 |
|
2664 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
2665 NULL directory list returned from kpse_element_dirs |
|
2666 |
3375
|
2667 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2668 |
|
2669 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
2670 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
2671 directly, instead of calling ZGESV. |
|
2672 |
3358
|
2673 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2674 |
|
2675 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
2676 (string_to_data_type): Use it to improve lookup of data types. |
|
2677 |
3354
|
2678 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2679 |
|
2680 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
2681 * Array2.h (is_symmetric): Delete declaration. |
|
2682 |
3347
|
2683 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2684 |
|
2685 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
2686 |
3344
|
2687 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2688 |
|
2689 * oct-time.cc (Fstrftime): Undo previous change. |
|
2690 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
2691 |
3334
|
2692 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2693 |
3336
|
2694 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
2695 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
2696 |
3334
|
2697 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
2698 Don't forget to pass length of third string argument to dgeesx. |
|
2699 |
|
2700 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
2701 of third string argument to zgeesx. |
|
2702 |
3333
|
2703 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2704 |
|
2705 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
2706 On errors, simply return `T ()'. |
|
2707 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
2708 |
3331
|
2709 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
|
2710 |
|
2711 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
2712 AEPBALANCE class. |
|
2713 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
2714 |
3325
|
2715 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2716 |
|
2717 * oct-shlib.cc, oct-shlib.h: New files. |
|
2718 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
2719 |
3322
|
2720 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2721 |
|
2722 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
2723 * dRowVector.cc (linspace): Ditto. |
|
2724 |
|
2725 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
2726 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
2727 |
3312
|
2728 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2729 |
|
2730 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
2731 to evaluate the Jacobian, set info(4), not iwork(4). |
|
2732 Set rwork(1) to the maximum step size, not rwork(2). |
|
2733 |
3290
|
2734 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2735 |
|
2736 * oct-time.cc: Include <climits>. |
|
2737 |
3281
|
2738 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2739 |
|
2740 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
2741 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
2742 (gnu_readline::do_resize_terminal): New function. |
|
2743 |
3268
|
2744 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2745 |
|
2746 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
2747 * lo-ieee.c: Likewise. |
|
2748 Delete extern "C" declarations for infinity and quiet_nan. |
|
2749 |
3262
|
2750 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2751 |
3263
|
2752 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
2753 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
2754 `inline', not `static inline'. |
|
2755 |
3262
|
2756 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
2757 then cast to const int * to compare. |
|
2758 |
3257
|
2759 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2760 |
|
2761 * DAEFunc.h: Remove useless preprocessor conditional. |
|
2762 |
3255
|
2763 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2764 |
3257
|
2765 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
2766 Use octave_time object instead of time_t. |
|
2767 |
|
2768 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
2769 file_stat::fs_ctime): Now octave_time objects. |
|
2770 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
2771 Return octave_time objects. |
|
2772 (file_stat::is_newer): Args are now octave_time objects instead of |
|
2773 time_t. |
|
2774 |
3255
|
2775 * oct-time.h (octave_time::as_double): Delete. |
|
2776 (octave_time::operator double ()): New function. |
|
2777 (octave_time::operator time_t ()): New function. |
|
2778 (octave_time::ctime): New function. |
|
2779 (octave_base_tm::strftime): Renamed from format_as_string. |
|
2780 (octave_base_tm::asctime): New function. |
|
2781 (operator == (const octave_time&, const octave_time&), |
|
2782 operator != (const octave_time&, const octave_time&), |
|
2783 operator < (const octave_time&, const octave_time&), |
|
2784 operator <= (const octave_time&, const octave_time&), |
|
2785 operator > (const octave_time&, const octave_time&), |
|
2786 operator >= (const octave_time&, const octave_time&)): |
|
2787 New comparison functions. |
|
2788 |
|
2789 * strftime.c: Move here from src directory. |
|
2790 * Makefile.in (SOURCES): Add it to the list. |
|
2791 |
|
2792 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
2793 |
3253
|
2794 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2795 |
|
2796 * oct-time.h, oct-time.cc: New files. |
|
2797 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
2798 |
|
2799 * systime.h: Move here from src directory. |
|
2800 * Makefile.in (INCLUDES): Add it to the list. |
|
2801 |
3248
|
2802 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2803 |
|
2804 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
2805 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
2806 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
2807 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
2808 |
|
2809 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
2810 |
3243
|
2811 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2812 |
|
2813 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
2814 |
|
2815 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2816 |
|
2817 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
2818 column vector for A(:), for compatibility with Matlab. |
|
2819 |
|
2820 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2821 |
|
2822 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
2823 iopt when there are optional inputs in rwork or iwork. |
|
2824 |
3238
|
2825 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2826 |
|
2827 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
2828 creating static libs. |
|
2829 |
|
2830 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
|
2831 |
|
2832 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
2833 and uint32 data types. |
|
2834 |
|
2835 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2836 |
|
2837 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
2838 for Linux. Remove old Linux-specific code. |
|
2839 |
3233
|
2840 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2841 |
|
2842 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
2843 Don't require lengths to be equal. |
|
2844 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
2845 ComplexRowVector& a)): Likewise |
|
2846 |
3225
|
2847 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
|
2848 |
|
2849 * statdefs.h: Only define mode_t if not already defined. |
|
2850 |
|
2851 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
|
2852 |
|
2853 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
2854 when appropriate. |
|
2855 |
|
2856 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2857 |
|
2858 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
2859 before calling rl_initialize. |
|
2860 |
3220
|
2861 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2862 |
|
2863 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
2864 Update Bessel function support to use library by D. E. Amos. |
|
2865 |
3219
|
2866 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2867 |
|
2868 * cmd-edit.h (command_editor::readline): Add new variation that |
|
2869 allows EOF information to be passed back to caller. |
|
2870 |
|
2871 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
2872 amount of data to read is unspecified. |
|
2873 |
3215
|
2874 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2875 |
3219
|
2876 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
2877 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
2878 |
3215
|
2879 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
2880 Add volatile qualifier to void* arg. |
|
2881 Cast volatile void* arg to volatile char*. |
|
2882 |
|
2883 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2884 |
|
2885 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
2886 (command_editor::do_restore_event_hook): Ditto. |
|
2887 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
2888 (command_editor::restore_event_hook): Ditto. |
|
2889 (gnu_readline::do_set_event_hook): Ditto. |
|
2890 (gnu_readline::do_restore_event_hook): Ditto. |
|
2891 (gnu_readline::previous_event_hook): New data member. |
|
2892 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
2893 |
3206
|
2894 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2895 |
|
2896 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
2897 |
|
2898 * Makefile.in (stmp-pic): New target. |
|
2899 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
2900 (clean): Remove stmp-pic |
|
2901 |
|
2902 * Makefile.in: Undo previous change to avoid optmization when |
|
2903 compiling lo-ieee.cc. |
|
2904 |
|
2905 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2906 |
|
2907 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
2908 imaginary parts. |
|
2909 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
2910 |
3203
|
2911 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2912 |
|
2913 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
2914 |
3196
|
2915 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2916 |
|
2917 * pathsearch.h (dir_path::default_path): New data member. |
|
2918 * pathsearch.cc (dir_path::init): Use it. |
|
2919 |
|
2920 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
2921 |
3189
|
2922 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2923 |
|
2924 * chMatrix.cc (charMatrix::extract): New function. |
|
2925 (charMatrix::charMatrix (char c)): New constructor. |
|
2926 |
|
2927 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2928 |
|
2929 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
2930 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
2931 (gnu_readline::do_read_init_file): Likewise. |
|
2932 |
3185
|
2933 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2934 |
|
2935 * oct-env.cc (octave_env::do_get_home_directory): |
|
2936 If HOME can't be found, set it to "/". |
|
2937 (octave_env::do_get_user_name) |
|
2938 If user name can't be found, set it to "unknown". |
|
2939 (octave_env::do_get_host_name) |
|
2940 If host name can't be found, set it to "unknown". |
|
2941 |
|
2942 * pathsearch.h (dir_path::rehash): New function. |
|
2943 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
2944 diretcory cache before doing initialization. |
|
2945 |
3180
|
2946 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2947 |
3185
|
2948 * dMatrix.cc (Qzval): Delete. |
|
2949 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
2950 * dMatrix.h (Qzval): Delete declaration. |
|
2951 |
|
2952 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
2953 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
2954 * mx-ext.h: Don't include dbleGEPBAL. |
|
2955 |
3180
|
2956 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
2957 static_cast. |
|
2958 |
|
2959 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2960 |
|
2961 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
2962 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
2963 |
|
2964 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2965 |
|
2966 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
2967 HUGE_VAL and NAN. |
|
2968 |
|
2969 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2970 |
|
2971 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
2972 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
2973 |
|
2974 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2975 |
|
2976 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
2977 Alloctate space before attempting to use it. |
|
2978 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
2979 |
3178
|
2980 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
|
2981 |
|
2982 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
2983 |
|
2984 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2985 |
|
2986 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
2987 have the same size as the operands. |
|
2988 |
|
2989 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2990 |
|
2991 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
2992 call to ddassl, set integration_error to 1 before calling the |
|
2993 error handler and returning. |
|
2994 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
2995 |
3177
|
2996 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2997 |
|
2998 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
2999 do_fortran_indexing is set, A([]) = scalar. |
|
3000 * Array-idx.h (assign): Allow A([]) = scalar. |
|
3001 |
3176
|
3002 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3003 |
|
3004 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
3005 if dm_nc == 0. |
|
3006 |
3174
|
3007 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3008 |
|
3009 * pathsearch.h (dir_path::p_orig): New field. |
|
3010 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
3011 expansion on the original path here. |
|
3012 (dir_path::find_all): Don't do anything if not initialized. |
|
3013 |
3164
|
3014 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3015 |
|
3016 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
3017 is not set. |
|
3018 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
3019 |
|
3020 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
3021 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
3022 \int_0^x exp(-t) t^(a-1) dt. |
|
3023 |
|
3024 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3025 |
|
3026 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
3027 Array-s.cc: Change return types of all `assign' explicit |
|
3028 instantiations to be int, not void, to match the template decl in |
|
3029 Array.h. |
|
3030 |
3162
|
3031 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3032 |
|
3033 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
3034 |
3156
|
3035 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3036 |
|
3037 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
3038 * lo-mappers.cc: Not here. |
|
3039 |
|
3040 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
3041 * lo-mappers.h: Not here. |
|
3042 |
|
3043 * lo-specfun.h: Never declare gamma or lgamma. |
|
3044 |
3154
|
3045 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3046 |
|
3047 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
3048 empty matrix of any dimension. |
|
3049 |
3145
|
3050 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3051 |
3147
|
3052 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
3053 |
3146
|
3054 * lo-specfun.cc: Don't include dbleBessel.h. |
|
3055 |
|
3056 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
3057 |
3145
|
3058 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
3059 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
3060 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
3061 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
3062 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
3063 |
|
3064 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
3065 Don't cast arg in call to swap_8_bytes. |
|
3066 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
3067 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
3068 swap_4_bytes. |
|
3069 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
3070 |
|
3071 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
3072 * prog-args.cc (prog_args::getopt): Likewise. |
|
3073 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
3074 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
3075 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
3076 Likewise. |
|
3077 |
|
3078 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
3079 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
3080 |
3141
|
3081 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3082 |
|
3083 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
3084 Use $(mk-libdir-link). |
|
3085 |
|
3086 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
3087 not SAFE_STAT and SAFE_LSTAT. |
|
3088 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
3089 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
3090 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
3091 safe-lstat.h, and safe-lstat.cc. |
|
3092 |
3136
|
3093 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3094 |
|
3095 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
3096 |
3130
|
3097 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3098 |
|
3099 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
3100 trace is negative. |
|
3101 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
3102 the real part of the trace is negative. |
|
3103 |
|
3104 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3105 |
|
3106 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
3107 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
3108 |
|
3109 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
3110 to succeed. |
|
3111 |
3125
|
3112 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3113 |
|
3114 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
3115 (make_uniq): Likewise. |
|
3116 |
|
3117 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3118 |
|
3119 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
3120 |
3119
|
3121 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3122 |
3121
|
3123 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
3124 |
|
3125 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
3126 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
3127 |
3121
|
3128 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
3129 oct-math.h: Delete. |
|
3130 * Makefile.in (SOURCES): Delete them from the list. |
|
3131 |
3112
|
3132 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3133 |
|
3134 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
3135 |
3107
|
3136 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
3137 |
|
3138 Changes to make support egcs snapshots that implement explicit |
|
3139 specification of template functions according to CD2. |
|
3140 |
|
3141 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
3142 template function specs for template friends. |
|
3143 * MArray2.h: Likewise. |
|
3144 * MDiagArray2.h: Likewise. |
|
3145 |
3095
|
3146 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3147 |
|
3148 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
3149 |
3092
|
3150 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
3151 |
|
3152 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
3153 to complex<double>(int) instead of complex<double>(double). |
|
3154 |
|
3155 * lo-mappers.cc (atanh): Ditto. |
|
3156 |
3079
|
3157 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3158 |
|
3159 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
3160 * idx-vector.h (idx_vector::sort): Ditto. |
|
3161 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
3162 trying to delete elements specified by the index vectors. |
|
3163 |
3075
|
3164 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3165 |
|
3166 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
3167 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
3168 |
3074
|
3169 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3170 |
|
3171 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
3172 |
3069
|
3173 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3174 |
|
3175 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
3176 Call error handler if we can't find the current directory. |
|
3177 |
3068
|
3178 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3179 |
3069
|
3180 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
3181 (xfinite (double)): Ditto. |
|
3182 |
3068
|
3183 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
3184 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
3185 |
3056
|
3186 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3187 |
|
3188 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
3189 compatible with Matlab. |
|
3190 |
3050
|
3191 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3192 |
|
3193 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
3194 single colon. |
|
3195 |
3040
|
3196 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3197 |
3049
|
3198 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
3199 (xgamma): Likewise, for calling xdgamma. |
|
3200 |
3042
|
3201 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
3202 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
3203 |
3040
|
3204 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
3205 to do better job expanding tildes. |
|
3206 |
|
3207 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
3208 Use temporary variable to compute length. |
|
3209 |
3029
|
3210 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3211 |
3034
|
3212 * Makefile.in: Make building of static library optional. |
3036
|
3213 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
3214 |
3029
|
3215 * Makefile.in (stamp-picdir): Delete. |
|
3216 (pic): New target. Don't worry so much about creating pic |
|
3217 directory only when it is really needed. |
|
3218 (stamp-interp): Delete. |
|
3219 (libraries): New target. Depend on shared library directly. |
|
3220 |
3024
|
3221 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3222 |
|
3223 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
3224 New static function. |
|
3225 |
3012
|
3226 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3227 |
|
3228 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
3229 |
3004
|
3230 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3231 |
|
3232 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
3233 set_basic_quote_characters, to match new version of readline. |
|
3234 |
|
3235 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
3236 for restoring terminal state through rl_deprep_term_function, now |
|
3237 declared in readline.h |
|
3238 (rl_deprep_terminal): Delete declaration. |
|
3239 |
2993
|
3240 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3241 |
|
3242 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
3243 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
3244 |
2968
|
3245 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3246 |
|
3247 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
3248 New static function. |
|
3249 |
2964
|
3250 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3251 |
2966
|
3252 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
3253 the vector is not sorted. |
|
3254 |
2964
|
3255 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
3256 * dMatrix.cc (Matrix::operator !): Likewise |
|
3257 |
2941
|
3258 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3259 |
|
3260 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
3261 |
|
3262 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
3263 |
|
3264 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
3265 |
2938
|
3266 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3267 |
2941
|
3268 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
3269 (install-inc): Use it. |
|
3270 |
2938
|
3271 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
3272 Handle errors and missing functions consistently. |
|
3273 |
|
3274 * oct-group.h, oct-group.cc: New files. |
|
3275 |
|
3276 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
3277 |
|
3278 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
3279 |
2934
|
3280 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3281 |
|
3282 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
3283 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
3284 |
|
3285 * oct-passwd.h, oct-passwd.cc: New files. |
|
3286 |
2926
|
3287 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3288 |
|
3289 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
3290 |
|
3291 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
3292 (instance_ok ()): New function. |
|
3293 |
|
3294 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
3295 |
|
3296 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
3297 |
|
3298 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
3299 src/utils.h and src/utils.cc. |
|
3300 (octave_fgets): New function, extracted from src/input.cc. |
|
3301 |
|
3302 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
3303 GNU readline, and allow Octave to work without GNU readline. |
|
3304 |
|
3305 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
3306 system-dependent functions. |
|
3307 |
|
3308 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
3309 |
|
3310 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
3311 from file-ops.h and file-ops.cc and move here. |
|
3312 |
|
3313 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
3314 tilde_expand functions here from src/dirfns.cc. |
|
3315 |
|
3316 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3317 |
|
3318 * pathlen.h: New file, from ../src. |
|
3319 |
2917
|
3320 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3321 |
|
3322 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
3323 out-of-bounds indexing of the index array. |
|
3324 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
3325 |
2850
|
3326 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3327 |
|
3328 * LSODE.h (x_step_limit): New field. |
|
3329 (LSODE_options::init): Initialize it. |
|
3330 (LSODE_options::copy): Copy it. |
|
3331 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
3332 New functions. |
|
3333 (LSODE::working_too_hard): Delete. |
|
3334 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
3335 |
2844
|
3336 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3337 |
|
3338 * MArray-b.cc: Delete. |
|
3339 * Makefile.in: Delete it from the lists. |
|
3340 |
|
3341 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
3342 MArray2, since most of the numeric ops don't really make sense. |
|
3343 |
2829
|
3344 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3345 |
2832
|
3346 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
3347 |
|
3348 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
3349 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
3350 |
2830
|
3351 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
3352 idx_vector::freeze): Delete prefer_zero_one arg. |
|
3353 * Array-idx.h, Array2-idx.h: Change all callers. |
|
3354 |
|
3355 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
3356 |
2829
|
3357 * mx-op-defs.h: New file for operator definitions. |
|
3358 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
3359 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
3360 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
3361 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
3362 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
3363 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
3364 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
3365 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
3366 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
3367 mx-s-cm.cc, mx-s-dm.cc: |
|
3368 New files for mixed-type operations. |
|
3369 * Makefiles.in: Add them to the appropriate lists. |
|
3370 |
|
3371 * mx-inlines.cc: Add bool by bool EQ ops. |
|
3372 |
|
3373 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
3374 boolMatrix types. |
|
3375 (idx_vector::maybe_convert_one_zero_to_idx, |
|
3376 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
3377 Delete second arg, prefer_zero_one. Change all callers. |
|
3378 |
|
3379 * boolMatrix.h, boolMatrix.cc: New files. |
|
3380 * mx-base.h: Include boolMatrix.h here. |
|
3381 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
3382 |
|
3383 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
3384 |
|
3385 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
3386 operator-, operator*, product, and quotient functions. |
|
3387 Add constructor for boolMatrix type. |
|
3388 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
3389 product, and quotient functions. |
|
3390 |
|
3391 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
3392 operator-, and product functions. |
|
3393 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
3394 |
|
3395 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
3396 |
2815
|
3397 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3398 |
|
3399 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
3400 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
3401 (EIG::symmetric_init (const Matrix&)): New function. |
|
3402 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
3403 |
|
3404 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
3405 |
|
3406 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3407 |
|
3408 * Array2.cc (is_symmetric): New function. |
|
3409 * Array2.h (is_square): New function. |
|
3410 |
2811
|
3411 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3412 |
|
3413 * Makefile.in (install-strip): New target. |
|
3414 |
2804
|
3415 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3416 |
|
3417 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3418 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
3419 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
3420 dbleSVD.cc: Don't include mx-inlines.cc. |
|
3421 |
|
3422 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
3423 duplicate code. |
|
3424 |
2800
|
3425 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3426 |
2804
|
3427 * dbleQR.h (QR): Delete extra comma at end of list. |
|
3428 |
|
3429 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
3430 |
|
3431 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
3432 |
|
3433 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
3434 idx_vecotr_rep:: qualifiers. |
|
3435 |
|
3436 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
3437 |
|
3438 * data-conv.h (save_type): Delete extra comma at end of list. |
|
3439 |
2800
|
3440 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
3441 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
3442 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
3443 old C-style `(T) val' casts. |
|
3444 |
2795
|
3445 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3446 |
|
3447 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
3448 just breaking out of the innermost loop. |
|
3449 * CMatrix.cc (operator >>): Likewise. |
|
3450 |
2779
|
3451 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
3452 |
|
3453 * Version 2.0.5 released. |
|
3454 |
2767
|
3455 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3456 |
|
3457 * CmplxQR.cc (ComplexQR::init): New function. |
|
3458 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
3459 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
3460 Get sizes right in all cases. |
|
3461 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
3462 |
|
3463 * dbleQR.cc (QR::init): New function. |
|
3464 (QR::QR): Use it. Use initializer list too. |
|
3465 * dbleQRP.cc (QRP::init): New function. |
|
3466 Get sizes right in all cases. |
|
3467 (QR::QRP): Use it. Use initializer list too. |
|
3468 |
2759
|
3469 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3470 |
|
3471 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
3472 Recognize "vaxg", not "vax_g". |
|
3473 |
2713
|
3474 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3475 |
2714
|
3476 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
3477 dimension in check for colon equivalent index. |
|
3478 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
3479 index whose value is 0 is also colon eqivalent for n == 1. |
|
3480 |
2713
|
3481 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
3482 system-specific tests first. |
|
3483 |
2709
|
3484 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
3485 |
|
3486 * Version 2.0.4 released. |
|
3487 |
|
3488 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3489 |
|
3490 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
3491 |
2693
|
3492 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
3493 |
|
3494 * Version 2.0.3 released. |
|
3495 |
2686
|
3496 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3497 |
|
3498 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
3499 |
2673
|
3500 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3501 |
2676
|
3502 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
3503 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
3504 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
3505 (stamp-picdir): Silence noise about making pic. |
|
3506 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
3507 |
2673
|
3508 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
3509 Fix typo in last change. |
|
3510 |
|
3511 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
3512 Convert from friend (moved from dColVector.cc). |
|
3513 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
3514 Likewise (moved from dMatrix.cc). |
|
3515 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
3516 Likewise (moved from dRowVector.cc). |
|
3517 |
|
3518 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
3519 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
3520 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
3521 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
3522 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
3523 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
3524 |
|
3525 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
3526 * dMatrix.cc (Matrix::apply): Likewise. |
|
3527 * dRowVector.cc (RowVector::apply): Likewise. |
|
3528 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
3529 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
3530 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
3531 |
2668
|
3532 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3533 |
|
3534 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
3535 |
|
3536 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3537 |
|
3538 * file-ops.cc (oct_unlink (const string&, string&)): |
|
3539 New two-arg version. |
|
3540 (oct_rmdir (const string&, string&)): New two-arg version. |
|
3541 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
3542 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
3543 (oct_rename (const string&, const string&, string&)): |
|
3544 New three-arg version. |
|
3545 |
2663
|
3546 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3547 |
|
3548 * idx-vector.h (idx_vector::orig_empty): New function. |
|
3549 |
|
3550 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
3551 Don't always resize to [](0x0) if one of the indices is empty or |
|
3552 zero. |
|
3553 |
2658
|
3554 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3555 |
|
3556 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
3557 Set line_in_file here too. |
|
3558 (command_history::read_range): New arg, must_exist. |
|
3559 |
2651
|
3560 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3561 |
|
3562 * f2c-main.c: Change C++-style comments to C-style comments. |
|
3563 |
2638
|
3564 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3565 |
|
3566 * Makefile.in (install-inc): Create a relative symbolic link. |
|
3567 |
2634
|
3568 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3569 |
|
3570 * Version 2.0.2 released. |
|
3571 |
2624
|
3572 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3573 |
|
3574 * Makefile.in (bin-dist): New target. |
|
3575 |
2621
|
3576 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3577 |
|
3578 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
3579 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
3580 |
2613
|
3581 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3582 |
|
3583 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
3584 If the number of columns is zero, also set the number of rows to zero. |
|
3585 (charMatrix::charMatrix (const char *)): Likewise. |
|
3586 |
2602
|
3587 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3588 |
|
3589 * Version 2.0.1 released. |
|
3590 |
2601
|
3591 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3592 |
|
3593 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
3594 columns for resizing when the number of rows is specified but the |
|
3595 number of columns is not. |
|
3596 |
2598
|
3597 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3598 |
2599
|
3599 * Range.cc (operator -): New function. |
|
3600 |
2598
|
3601 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
3602 |
2589
|
3603 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3604 |
|
3605 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
3606 know if the assignment conforms. |
|
3607 |
2583
|
3608 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3609 |
|
3610 * Version 2.0 released. |
|
3611 |
2570
|
3612 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3613 |
2575
|
3614 * Array2-idx.h (assign): If index is a colon, set number of |
|
3615 elements to the lhs dimension if the lhs dimension is greater than |
|
3616 zero. Otherwise, set it to the rhs dimension. |
|
3617 |
|
3618 * Version 1.94. |
|
3619 |
2570
|
3620 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
3621 If index is colon, set number of elements to lhs dimension, not |
|
3622 rhs dimension. |
|
3623 |
2563
|
3624 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3625 |
2566
|
3626 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
3627 * sun-utils.cc: Delete. |
|
3628 * f2c-main.c: New file |
|
3629 |
|
3630 * Makefile.in: Fix file name lists. |
|
3631 |
2563
|
3632 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
3633 |
2561
|
3634 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3635 |
|
3636 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
3637 Create result using Complex constructor, not multiplication. |
|
3638 Order elements as they are returned from Eispack. |
|
3639 |
2559
|
3640 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3641 |
2560
|
3642 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
3643 Only include nan.h if SCO is defined. Define _IEEE before |
|
3644 including it and undefine it afterward. |
|
3645 [SCO] (isnan): Don't mistake Inf as NaN. |
|
3646 |
2559
|
3647 * Array-idx.h (assign): Only resize if assignment conforms. |
|
3648 |
2551
|
3649 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3650 |
|
3651 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
3652 * lo-error.h: Delete (moved to libcruft/misc). |
|
3653 |
|
3654 * Version 1.93. |
|
3655 |
2546
|
3656 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3657 |
2549
|
3658 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
3659 be the same as they are in fnmatch.h. |
|
3660 |
2546
|
3661 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
3662 |
|
3663 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
3664 (SOURCES): Delete f77-fcn.c. |
|
3665 |
2522
|
3666 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3667 |
|
3668 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
3669 |
2512
|
3670 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3671 |
|
3672 * Version 1.92. |
|
3673 |
2508
|
3674 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3675 |
2512
|
3676 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
3677 lines that have only carriage return or newline. |
|
3678 |
2508
|
3679 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
3680 |
2500
|
3681 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3682 |
|
3683 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
3684 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
3685 |
2493
|
3686 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3687 |
|
3688 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
3689 from vectors of C strings. |
|
3690 |
|
3691 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
3692 vector. |
|
3693 (glob_match::match): Allow match string to be a string vector. |
|
3694 (glob_match::glob): New function. |
|
3695 |
|
3696 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
3697 |
|
3698 * Array-b.cc: New file. |
|
3699 * Makefile.in (TI_SRC): Add it to the list. |
|
3700 |
2492
|
3701 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3702 |
|
3703 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
3704 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
3705 want the version from the build directory. (Maybe this should be |
|
3706 done for all the include files, not just those that are |
|
3707 auto-generated? Hmm.) |
|
3708 |
2481
|
3709 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3710 |
2482
|
3711 * Version 1.91. |
|
3712 |
2481
|
3713 * Array3.cc (Array3<T>::resize): Make it work. |
|
3714 |
|
3715 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3716 |
|
3717 * oct-alloc.h, oct-alloc.cc: New files. |
|
3718 * Makefile.in: Add them to the lists. |
|
3719 |
|
3720 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3721 |
|
3722 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
3723 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
3724 |
2466
|
3725 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3726 |
|
3727 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
3728 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
3729 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
3730 underlying macro is not defined. |
|
3731 |
|
3732 * oct-math.h (lgamma, gamma): Delete declarations. |
|
3733 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
3734 Protect declarations with #ifdef HAVE_*. |
|
3735 |
2440
|
3736 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3737 |
2452
|
3738 * Version 1.90. |
|
3739 |
|
3740 * Makefile.in (DISTFILES): Add ChangeLog. |
|
3741 |
2444
|
3742 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
3743 |
|
3744 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
3745 |
2443
|
3746 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
3747 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
3748 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
3749 |
2440
|
3750 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
3751 since that is now accepatble syntax, even for built-in types. |
|
3752 * Array2.h (T Array2<T>::checkelem): Likewise |
|
3753 |
2433
|
3754 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3755 |
|
3756 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
3757 message and return -1. |
|
3758 |
2428
|
3759 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3760 |
2431
|
3761 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
3762 cast them to const string * in the body of the function. |
|
3763 |
|
3764 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
3765 string from buf. |
|
3766 |
2428
|
3767 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
3768 GCC_ATTRIBUTE_UNUSED. |
|
3769 * Array2.h (Array2::checkelem): Likewise. |
|
3770 |
2424
|
3771 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3772 |
|
3773 * Quad.h (Quad): Define virtual destructor. |
|
3774 |
2408
|
3775 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3776 |
|
3777 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
3778 |
2401
|
3779 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3780 |
|
3781 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
3782 and MAIN__ extern "C". |
|
3783 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
3784 |
2391
|
3785 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3786 |
|
3787 * MArray-misc.cc: New file. |
|
3788 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
3789 |
|
3790 * mx-inlines.cc (equal): Return bool, not int. |
|
3791 |
|
3792 * idx-vector.h (idx_vector (double)): New constructor. |
|
3793 |
|
3794 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
3795 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
3796 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
3797 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
3798 CRowVector.cc: Logical operators return bool, not int. |
|
3799 |
|
3800 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
3801 New function. |
|
3802 |
|
3803 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
3804 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
3805 Matrix::all_elements_are_inf_or_nan): New functions. |
|
3806 |
|
3807 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
3808 |
|
3809 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
3810 for errors. Simplify macros by converting FCN to string for error |
|
3811 messages. |
|
3812 |
|
3813 * Array-idx.h (Array<T>::index): New function. Don't call |
|
3814 clear_index() here. |
|
3815 (Array<T>::value): Call it, do call clear_index() here. |
|
3816 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
3817 one and two arg index functions. |
|
3818 |
|
3819 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3820 |
|
3821 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
3822 separate implementation file. |
|
3823 |
2354
|
3824 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3825 |
2358
|
3826 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
3827 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
3828 |
2356
|
3829 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
3830 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
3831 them uniq. |
|
3832 |
2354
|
3833 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
3834 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
3835 Rewrite. Also return index as a reference arg. |
|
3836 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
3837 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
3838 Delete. |
|
3839 |
|
3840 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
3841 Matrix::column_max, Matrix::column_min): |
|
3842 Rewrite. Also return index as a reference arg. |
|
3843 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
3844 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
3845 |
|
3846 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3847 |
|
3848 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
3849 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
3850 Matrix::column_min_loc, Matrix::column_max, |
|
3851 Matrix::column_max_loc): Ignore leading NaNs. |
|
3852 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
3853 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
3854 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
3855 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
3856 leading NaNs. |
|
3857 |
2352
|
3858 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3859 |
|
3860 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
3861 starting at n, not 0. |
|
3862 |
2349
|
3863 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3864 |
|
3865 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
3866 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
3867 |
|
3868 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
3869 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
3870 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
3871 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
3872 New constructors. |
|
3873 |
|
3874 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
3875 New constructor. |
|
3876 |
2343
|
3877 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3878 |
|
3879 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
3880 derivative vectors are the same size. |
2344
|
3881 * DASSL.cc (do_integrate): Likewise. |
2343
|
3882 |
2330
|
3883 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3884 |
|
3885 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
3886 iostreams and handler data format conversions. Delete old methods |
|
3887 that used stdio. |
|
3888 |
|
3889 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
3890 |
|
3891 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3892 |
|
3893 * mach-info.h: Rename from float-fmt.h. |
|
3894 * mach-info.cc: Rename from float-fmt.cc. |
|
3895 Handle machine information using a singlton class. |
|
3896 * Makefile.in: Update appropriate lists. |
|
3897 |
|
3898 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3899 |
|
3900 * Array-flags.cc: Provide definitions for the flags even if |
|
3901 OCTAVE_SOURCE is not defined. |
|
3902 |
|
3903 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
3904 operator(), not elem(). |
|
3905 * Array3.h: Move indexing methods here from Array3.cc. |
|
3906 |
|
3907 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3908 |
|
3909 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
3910 |
|
3911 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
3912 INSTALL_DATA for shared libs. |
|
3913 |
|
3914 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3915 |
|
3916 * Quad.cc: Include lo-error.h here too. |
|
3917 |
|
3918 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3919 |
|
3920 * file-ops.h: Include sys/types.h here. |
|
3921 |
|
3922 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3923 |
|
3924 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
3925 |
|
3926 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
3927 elements in result. |
|
3928 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
3929 rows and columns in result. |
|
3930 |
|
3931 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3932 |
|
3933 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
3934 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
3935 |
|
3936 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3937 |
|
3938 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
3939 |
|
3940 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3941 |
|
3942 * Makefile.in (uninstall): Also delete shared library. |
|
3943 Split install into install-libs and install-includes. |
|
3944 (install-inc): If linkdir is a directory, leave it alone. |
|
3945 |
|
3946 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
3947 |
|
3948 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3949 |
|
3950 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
3951 * Array2-idx.h (assign): Likewise. |
|
3952 |
|
3953 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3954 |
|
3955 * Array2.cc (Array2<T>::range_error): New functions. |
|
3956 |
|
3957 * Array.h (class Array<T>): elem() and operator() are now |
|
3958 equivalent, and do bounds checking by default. |
|
3959 * Array2.cc (class Array2<T>): Likewise. |
|
3960 |
|
3961 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3962 |
|
3963 * Makefile.in (maintainer-clean, distclean): Also delete |
|
3964 stamp-picdir, stamp-shared, and pic directory. |
|
3965 (stamp-prereq): New target. |
|
3966 |
|
3967 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3968 |
|
3969 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
3970 New function. |
|
3971 |
|
3972 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
3973 * Array.h (Array<T>::checkelem): Use them. |
|
3974 |
|
3975 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
3976 elements too. |
|
3977 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
3978 |
|
3979 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
3980 |
|
3981 * Makefile.in (distclean): Delete so_locations, which is created |
|
3982 on DEC Alpha systems. |
|
3983 |
|
3984 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3985 |
|
3986 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
3987 already defined. |
|
3988 |
|
3989 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3990 |
|
3991 * pathsearch.cc: Include config.h. |
|
3992 |
|
3993 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3994 |
|
3995 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
3996 allow M(I, J) = scalar if I or J is empty. |
|
3997 |
|
3998 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
3999 and Array3-idx.h). |
|
4000 |
|
4001 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4002 |
|
4003 * lo-error.h: Make comments C friendly. |
|
4004 |
|
4005 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4006 |
|
4007 * Array2.h (make_unique): Move all indexing functions here. |
|
4008 * Array2.cc: From here. |
|
4009 |
|
4010 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
4011 whether operator() calls elem or checkelem. |
|
4012 |
|
4013 * Array.h (make_unique): New private function. |
|
4014 Move all indexing functions here. |
|
4015 * Array.cc: From here. |
|
4016 |
|
4017 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
4018 it too. |
|
4019 |
|
4020 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
4021 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
4022 MArray-C.cc: Include config.h. |
|
4023 |
|
4024 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
4025 Don't define HEAVYWEIGHT_INDEXING here. |
|
4026 |
|
4027 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4028 |
|
4029 * base-lu.h, base-lu.cc: New files. |
|
4030 * Makefile.in: Add them to the appropriate lists. |
|
4031 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
4032 |
|
4033 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4034 |
|
4035 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
4036 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
4037 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
4038 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
4039 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
4040 |
|
4041 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
4042 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
4043 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
4044 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
4045 Simplify using new macros. |
|
4046 |
|
4047 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4048 |
|
4049 * Makefile.in (install): If $(includedir) ends in version string, |
|
4050 make link to name that does not include version info. |
|
4051 |
|
4052 * lo-ieee.cc: Include <cmath> here. |
|
4053 |
|
4054 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4055 |
|
4056 * lo-ieee.cc, lo-ieee.h: New files. |
|
4057 * lo-mappers.cc, lo-mappers.h: New files. |
|
4058 * lo-utils.cc, lo-utils.h: New files. |
|
4059 * Makefile.in: Add them to the appropriate lists. |
|
4060 |
|
4061 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4062 |
|
4063 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
4064 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
4065 |
|
4066 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
4067 float-fmt.cc: New files. |
|
4068 * Makefile.in: Include them in the appropriate lists. |
|
4069 |
|
4070 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4071 |
|
4072 * dMatrix.cc (Qzval): New function. |
|
4073 |
|
4074 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4075 |
|
4076 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
4077 char*. |
|
4078 |
|
4079 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
4080 Use F77_XFCN to call Fortran subroutine. |
|
4081 * dColVector.cc, CColVector.cc: Likewise. |
|
4082 * dRowVector.cc, CRowVector.cc: Likewise. |
|
4083 * NPSOL.h, NPSOL.cc: Likewise. |
|
4084 * CmplxCHOL.cc: Likewise. |
|
4085 * dbleCHOL.cc: Likewise. |
|
4086 * CMatrix.cc: Likewise. |
|
4087 * dMatrix.cc: Likewise. |
|
4088 * QPSOL.cc: Likewise. |
|
4089 * LSODE.cc: Likewise. |
|
4090 |
|
4091 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4092 |
|
4093 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
4094 |
|
4095 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
4096 workspace. Use F77_XFCN to call Fortran subroutine. |
|
4097 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
4098 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
4099 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
4100 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
4101 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
4102 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
4103 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
4104 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
4105 * EIG.h, EIG.cc; Likewise. |
|
4106 * CollocWt.cc: Likewise. |
|
4107 * NLEqn.cc: Likewise. |
|
4108 * Quad.cc: Likewise. |
|
4109 |
|
4110 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4111 |
|
4112 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
4113 Use F77_XFCN to call Fortran subroutine. |
|
4114 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
4115 * dbleQR.h, dbleQR.cc: Ditto. |
|
4116 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
4117 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
4118 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
4119 |
|
4120 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
4121 (struct DIR): delete forward declaration. |
|
4122 (dir_entry::operator = (const dir_entry$)): Protect against |
|
4123 copying same object. |
|
4124 * dir-ops.cc: Cast dir appropriately. |
|
4125 |
|
4126 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4127 |
|
4128 * lo-error.cc: Moved to libcruft/misc. |
|
4129 * Makefile.in: Delete it from the list. |
|
4130 |
|
4131 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
4132 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
4133 |
|
4134 * Array-flags.h: New file. |
|
4135 * Array-idx.h: Include it here. |
|
4136 * Makefile.in (MATRIX_INC): Add it to the list. |
|
4137 |
|
4138 * Array-flags.cc: Renamed from Array-ext.cc. |
|
4139 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
4140 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
4141 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
4142 (liboctave_rre_flag): Renamed from rre_flag. |
|
4143 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
4144 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
4145 |
|
4146 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
4147 (stamp-shared): Use them here. |
|
4148 |
|
4149 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4150 |
|
4151 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
4152 argument value. |
|
4153 |
|
4154 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4155 |
|
4156 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
4157 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
4158 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
4159 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
4160 Clean up constructors, assigment operator. |
|
4161 |
|
4162 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4163 |
|
4164 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
4165 Check f77_exception_encountered on return. |
|
4166 |
|
4167 * f77-fcn.c (f77_exception_encountered): New variable. |
|
4168 (F77_XFCN): Set it. |
|
4169 * f77-fcn.h: Provide declaration. |
|
4170 |
|
4171 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
4172 |
|
4173 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
4174 |
|
4175 * NLEqn.h (NLEqn_options::set_options): New function. |
|
4176 * Quad.h (Quad_options::set_options): Likewise. |
|
4177 |
|
4178 * LP.h (class LP): Add accessors for LP data. |
|
4179 |
|
4180 * NLEqn.h (NLEqn::n): Delete. |
|
4181 |
|
4182 * NLEqn.h (class NLEqn::n): Likewise. |
|
4183 |
|
4184 * NLP.h (class NLP): Add accessors for NLP data. |
|
4185 |
|
4186 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
4187 access functions here. |
|
4188 * NPSOL.cc.cc: From here. |
|
4189 |
|
4190 * QLD.h (class QLD): Add destructor definition. |
|
4191 * Objective.h (class Objective): Likewise. |
|
4192 * ODEFunc.h (class ODEFunc): Likewise. |
|
4193 * NLFunc.h (class NLFunc): Likewise. |
|
4194 * NLEqn.h (class NLEqn): Likewise. |
|
4195 * NLConst.h (class NLConst): Likewise. |
|
4196 * LinConst.h (class LinConst): Likewise. |
|
4197 * LSODE.h (class LSODE_options): Likewise. |
|
4198 * CollocWt.h (class CollocWt): Likewise. |
|
4199 * Bounds.h (class Bounds): Likewise. |
|
4200 |
|
4201 * QLD.cc (QLD::set_default_options): Delete. |
|
4202 |
|
4203 * QP.h (QP): Add accessors for QP data. |
|
4204 Add copy constructor, operator =, and destructor definitions. |
|
4205 |
|
4206 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
4207 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
4208 DAEFunc.h, CollocWt.h, Bounds.h: |
|
4209 Clean up constructors, assigment operator. |
|
4210 |
|
4211 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
4212 counting to avoid duplicating the data immediately. |
|
4213 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
4214 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
4215 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
4216 |
|
4217 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4218 |
|
4219 * prog-args.h (prog_args::option_argument): New enum. |
|
4220 |
|
4221 * f77-fcn.h: Rename from f77-uscore.h. |
|
4222 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
4223 * f77-fcn.c: New file. |
|
4224 * Makefile.in (SOURCES): Add it to the list. |
|
4225 |
|
4226 * ODEFunc.h: Clean up. |
|
4227 |
|
4228 * DASSL.cc, DASSL.h: New files. |
|
4229 * Makefile.in: Add them to the appropriate lists. |
|
4230 |
|
4231 * LSODE.cc, LSODE.h: New files. |
|
4232 * Makefile.in: Add them to the appropriate lists. |
|
4233 |
|
4234 * ODE.cc: Delete. |
|
4235 * Makefile.in (SOURCES): Remove from list. |
|
4236 |
|
4237 * base-de.h, DAE.cc: New files. |
|
4238 * Makefile.in: Add them to the appropriate lists. |
|
4239 * ODE.h: Only define interface for ODE classes. |
|
4240 * DAE.h: Only define interface for ODE classes. |
|
4241 |
|
4242 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
4243 (LPsolve::set_default_options)): Delete |
|
4244 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
4245 destructor. |
|
4246 |
|
4247 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
4248 |
|
4249 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
4250 (QPSOL::operator =): Call base class operator = instead of assuming |
|
4251 we know what to copy. |
|
4252 |
|
4253 * base-min.h (size): New function. |
|
4254 |
|
4255 * NLP.h (NLP::size): Delete. |
|
4256 (NLP::NLP (const NLP&)): New constructor. |
|
4257 (NLP::operator =): Call base class operator = instead of assuming |
|
4258 we know what to copy. |
|
4259 |
|
4260 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
4261 (class NPSOL): Add operator = and destructor. |
|
4262 |
|
4263 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
4264 |
|
4265 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4266 |
|
4267 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
4268 |
|
4269 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4270 |
|
4271 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
4272 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
4273 |
|
4274 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4275 |
|
4276 * prog-args.h, prog-args.cc: New files. |
|
4277 * Makefile.in: Add them to lists. |
|
4278 |
|
4279 * getopt.h, getopt.c, getopt1.c: New files. |
|
4280 * Makefile.in: Add them to the lists. |
|
4281 |
|
4282 * oct-term.h, oct-term.cc: New files. |
|
4283 * Makefile.in: Add them to the lists. |
|
4284 |
|
4285 * str-vec.cc: New file. |
|
4286 * Makefile.in (SOURCES): Add it to the list. |
|
4287 |
|
4288 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
4289 |
|
4290 * tempname.c, tempnam.c: Move here from src directory. |
|
4291 * Makefile.in: Add to lists. |
|
4292 |
|
4293 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4294 |
|
4295 * cmd-hist.h, cmd-hist.cc: New files. |
|
4296 * Makefile.in: Add them to lists. |
|
4297 |
|
4298 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4299 |
|
4300 * oct-glob.h, oct-glob.cc: New files. |
|
4301 * Makefile.in: Add them to lists. |
|
4302 |
|
4303 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4304 |
|
4305 * pathsearch.h, pathsearch.cc: New files. |
|
4306 * Makefile.in: Add them to lists. |
|
4307 |
|
4308 * dir-ops.h, dir-ops.cc: New files. |
|
4309 * sysdir.h: Move here from src directory. |
|
4310 * Makefile.in: Add them to lists. |
|
4311 |
|
4312 * Array.h (Array::qsort): Return *this, not void. |
|
4313 * str-vec.h (string_vector::qsort): Likewise. |
|
4314 |
|
4315 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
4316 unnecessary NULs. |
|
4317 |
|
4318 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4319 |
|
4320 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
4321 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
4322 Files moved here from src directory. |
|
4323 * Makefile.in: Add them to lists. Include appropriate rules. |
|
4324 |
|
4325 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
4326 Use pointers, not references (this is C code!). |
|
4327 |
|
4328 * oct-math.h: New file. |
|
4329 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
4330 Files moved here from src directory. |
|
4331 * Makefile.in: Add them to lists. |
|
4332 |
|
4333 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4334 |
|
4335 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
4336 |
|
4337 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
4338 Convert to use string class instead of char*. |
|
4339 |
|
4340 * str-vec.h, Array-str.cc: New files. |
|
4341 |
|
4342 * Array.h (Array::qsort): New function. |
|
4343 |
|
4344 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4345 |
|
4346 * Array.h: Nest ArrayRep class inside Array class. |
|
4347 Refer to ArrayRep, not ArrayRep<T>. |
|
4348 Move all ArrayRep functions inline. |
|
4349 Don't declare other Array classes as friends of ArrayRep. |
|
4350 * Array.cc: Delete ArrayRep functions. |
|
4351 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
4352 |
|
4353 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
4354 Don't instantiate ArrayRep objects. |
|
4355 |
|
4356 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4357 |
|
4358 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
4359 New constructor. |
|
4360 |
|
4361 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4362 |
|
4363 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
4364 for balance_job arg. |
|
4365 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
4366 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
4367 |
|
4368 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
4369 |
|
4370 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4371 |
|
4372 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
4373 |
|
4374 * chMatrix.cc (row_as_string): Undo previous change. |
|
4375 |
|
4376 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4377 |
|
4378 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
4379 is expected to save string if necessary. |
|
4380 |
|
4381 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4382 |
|
4383 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
4384 platforms. |
|
4385 |
|
4386 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
4387 a.rep, don't mess with count. |
|
4388 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
4389 don't do anything if reps are the same. |
|
4390 (Array3<T>& operator = (const Array3<T>&) |
|
4391 |
|
4392 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
4393 Declare private with no definition to prevent misuse. |
|
4394 |
|
4395 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
4396 Get range check right. |
|
4397 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
4398 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
4399 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
4400 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
4401 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
4402 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
4403 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
4404 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
4405 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
4406 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
4407 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
4408 * dColVector.cc |
|
4409 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
4410 * CRowVector.cc |
|
4411 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
4412 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
4413 * CColVector.cc |
|
4414 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
4415 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
4416 |
|
4417 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
4418 Also fill in zeros, not just the diagonal. |
|
4419 |
|
4420 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
4421 Use END parameter properly. |
|
4422 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
4423 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
4424 |
|
4425 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
4426 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
4427 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
4428 Don't copy count. Set it to 1. |
|
4429 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
4430 |
|
4431 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
4432 don't set rep->count to 1 here (now handled by ArrayRep |
|
4433 constructors). |
|
4434 (Array<T>::Array (void)): Ditto. |
|
4435 (Array<T>::Array (int)): Ditto. |
|
4436 (Array<T>::T& elem (int)): Ditto. |
|
4437 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
4438 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
4439 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
4440 (Array<T>::resize (int)): Ditto. |
|
4441 (Array<T>::resize (int, const T&)) :Ditto. |
|
4442 (Array<T>::fortran_vec (void)): Ditto. |
|
4443 (Array2<T>::resize (int, int)): Ditto. |
|
4444 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
4445 (DiagArray<T>::resize (int, int)): Ditto. |
|
4446 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
4447 |
|
4448 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4449 |
|
4450 * Array-ch.cc: Rename from Array-c.cc. |
|
4451 * MArray-ch.cc: Rename from MArray-c.cc. |
|
4452 * chMatrix.cc: Rename from cMatrix.cc. |
|
4453 * chMatrix.h: Rename from cMatrix.h. |
|
4454 * Makefile.in (TI_SRC): Use new names here. |
|
4455 * mx-base.h: Likewise. |
|
4456 |
|
4457 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4458 |
|
4459 * Makefile.in: Handle shared libraries. |
|
4460 |
|
4461 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4462 |
|
4463 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
4464 Correctly compute length of return value. Correct rows and |
|
4465 columns in zgemv call. |
|
4466 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
4467 |
|
4468 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4469 |
|
4470 * Makefile.in (stamp-picdir): New target. |
|
4471 (all): Depend on it. |
|
4472 |
|
4473 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4474 |
|
4475 * Makefile.in (INCLUDES): Remove QLD.h. |
|
4476 (SOURCES): Remove QLD.cc. |
|
4477 |
|
4478 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4479 |
|
4480 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
4481 If force is nonzero, invert even if matrix is singular. |
|
4482 (ComplexMatrix::inverse): Likewise. |
|
4483 |
|
4484 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
4485 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
4486 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
4487 Include "oct-cmplx.h" instead of <Complex.h>. |
|
4488 |
|
4489 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
4490 for class Complex. |
|
4491 |
|
4492 * oct-cmplx.h: New file. |
|
4493 * Makefile.in (INCLUDES): Add it to the list. |
|
4494 |
|
4495 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
4496 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
4497 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
4498 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
4499 Avoid g++ bugs. |
|
4500 |
|
4501 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4502 |
|
4503 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
4504 |
|
4505 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
4506 |
|
4507 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4508 |
|
4509 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
4510 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
4511 |
|
4512 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4513 |
|
4514 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
4515 index vector object with Array, not ArrayRep. |
|
4516 |
|
4517 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4518 |
|
4519 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
4520 if index is a colon and resizing is maybe needed. |
|
4521 |
|
4522 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4523 |
|
4524 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
4525 if we have a vector of 1's. |
|
4526 |
|
4527 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
4528 current orientation, require index and rhs to conform unless |
|
4529 do_fortran_indexing flag is set. |
|
4530 |
|
4531 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4532 |
|
4533 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
4534 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
4535 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
4536 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
4537 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
4538 Massive changes to support additional data types. Only charMatrix |
|
4539 is currently used in Octave. |
|
4540 |
|
4541 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4542 |
|
4543 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
4544 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
4545 Simply call Array2<Complex> version. |
|
4546 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
4547 call Array2<double> version. |
|
4548 |
|
4549 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
4550 |
|
4551 * Array.h, Array.cc: Massive overhaul to support new way of |
|
4552 handling indexing. |
|
4553 * idx-vector.h, idx-vector.cc: Likewise. |
|
4554 * Array-ext.cc, Array-idx.h: New files. |
|
4555 * Makefile.in: Add them to the appropriate lists. |
|
4556 |
|
4557 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4558 |
|
4559 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
4560 |
|
4561 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4562 |
|
4563 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
4564 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
4565 |
|
4566 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4567 |
|
4568 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
4569 |
|
4570 * Array.h: Move simple member functions here. |
|
4571 * Array.cc: From here. |
|
4572 |
|
4573 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4574 |
|
4575 * Range.cc (tfloor, tceil, round): New static functions. |
|
4576 (Range::nelem_internal): Rewrite to use better method. |
|
4577 |
|
4578 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
4579 (type_computed): New var. |
|
4580 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
4581 Handle possible error condition. |
|
4582 (init): Allow for SVD::sigma_only, save type computed. |
|
4583 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
4584 Handle possible error condition. |
|
4585 (init): Allow for SVD::sigma_only, save type computed. |
|
4586 |
|
4587 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4588 |
|
4589 * Nearly all non-matrix .h and .cc files: |
|
4590 Move short function bodies into class declarations for inlining. |
|
4591 Generally clean up. |
|
4592 |
|
4593 * base-min.h: New file. |
|
4594 * LP.h (class LP): Derive from base_minimizer. |
|
4595 * QLP.h (class QLP): Derive from base_minimizer. |
|
4596 * NLP.h (class NLP): Derive from base_minimizer. |
|
4597 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
4598 |
|
4599 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
4600 NLFunc.cc, Objective.cc and QP.cc from list. |
|
4601 |
|
4602 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4603 |
|
4604 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
4605 (SCHUR::SCHUR): Delete unused parameter ord. |
|
4606 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
4607 |
|
4608 * CRowVector.cc |
|
4609 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
4610 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
4611 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
4612 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
4613 Actually do something. |
|
4614 |
|
4615 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
4616 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
4617 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
4618 |
|
4619 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
4620 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
4621 tolerances. |
|
4622 |
|
4623 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
4624 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
4625 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
4626 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
4627 * QPSOL.cc (qphess): Likewise. |
|
4628 |
|
4629 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4630 |
|
4631 * dMatrix.cc: Include <cstring>. |
|
4632 |
|
4633 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
4634 that return bogus values after calling the error handler. |
|
4635 |
|
4636 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4637 |
|
4638 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
4639 |
|
4640 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
4641 |
|
4642 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4643 |
|
4644 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
4645 (dassl_j): Likewise. |
|
4646 |
|
4647 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
4648 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
4649 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
4650 Update for change in for loop variable scope for gcc 2.7.0. |
|
4651 |
|
4652 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
4653 |
|
4654 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
4655 not set. |
|
4656 |
|
4657 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
4658 |
|
4659 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
4660 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
4661 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
4662 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
4663 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
4664 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
4665 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
4666 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
4667 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
4668 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
4669 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
4670 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
4671 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
4672 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
4673 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
4674 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
4675 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
4676 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
4677 NLP.h: Use pragma interface/implementation. Don't surround |
|
4678 contents in extern "C++". |
|
4679 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
4680 |
|
4681 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4682 |
|
4683 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
4684 identifiers. |
|
4685 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
4686 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
4687 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
4688 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
4689 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
4690 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
4691 Quad.cc: Change usage of F77_FCN to match new definition |
|
4692 |
|
4693 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
4694 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
4695 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
4696 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
4697 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
4698 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
4699 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
4700 args by reference instead of pointer. Change all callers. |
|
4701 |
|
4702 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4703 |
|
4704 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
4705 functions. Make += and -= operators friend functions. |
|
4706 |
|
4707 * Array.h (Array2::~Array2, Array3::~Array3, |
|
4708 DiagArray::~DiagArray): New functions. |
|
4709 |
|
4710 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4711 |
|
4712 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
4713 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
4714 |
|
4715 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
4716 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
4717 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
4718 dRowVector.h dRowVector.cc: |
|
4719 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
4720 Array2, and DiagArray2. |
|
4721 Don't use functions defined in mx-kludge.cc for arithmetic |
|
4722 like-type operations on arrays. |
|
4723 |
|
4724 * MArray.cc: Use the classes defined here like-type mathematical |
|
4725 operations on Array objects. Abuse CPP more. |
|
4726 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
4727 (EXTRAS): Delete it from this list. |
|
4728 |
|
4729 * MArray-C.cc, MArray-d.cc: New files. |
|
4730 * Makefile.in (TI_SRC): Add them to the list. |
|
4731 |
|
4732 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4733 |
|
4734 * mx-kludge.cc: Abuse CPP even more. |
|
4735 |
|
4736 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4737 |
|
4738 * Objective.h (objective_function): Add missing const. |
|
4739 (gradient_function): Likewise. |
|
4740 |
|
4741 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
4742 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
4743 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
4744 dRowVector.h dRowVector.cc: |
|
4745 Reorganize to declare and define friends where they should be, |
|
4746 based on the use of private constructors. |
|
4747 |
|
4748 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
4749 |
|
4750 * CRowVector.h (linspace): Add declaration. |
|
4751 * dRowVector.h (linspace): Likewise. |
|
4752 |
|
4753 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
4754 Force result of rcond + 1.0 to be stored. |
|
4755 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
4756 ComplexMatrix::solve): Likewise. |
|
4757 |
|
4758 See ChangeLog.1 in the top level directory for earlier changes. |