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