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