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