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