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