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