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