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