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