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