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