4080
|
1 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2 |
|
3 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4 |
4076
|
5 2002-09-27 Per Persson <persquare@mac.com> |
|
6 |
|
7 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
8 gr_gid too. |
|
9 |
4072
|
10 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
11 |
4074
|
12 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
13 lo_ieee_* functions. |
4072
|
14 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
15 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
16 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
17 * lo-cieee.c: New file. |
4074
|
18 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
19 * lo-ieee.h: Now all extern "C". |
4074
|
20 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
21 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
22 |
4072
|
23 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
24 Now extern. |
|
25 |
4066
|
26 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
27 |
|
28 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
29 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
30 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
31 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
32 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
33 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
34 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
35 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
36 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
37 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
38 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
39 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
40 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
41 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
42 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
43 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
44 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
45 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
46 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
47 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
48 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
49 oct-alloc.cc: |
|
50 If __GNUG__, use pragma interface/implementation. Allow this to |
|
51 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
52 |
4064
|
53 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
|
54 |
4066
|
55 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
56 system readlink function is not available. |
|
57 |
4065
|
58 * lo-mappers.cc (xerf, xerfc): Delete. |
|
59 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
60 |
4064
|
61 * lo-mappers.cc: Remove unused #define M_PI. |
|
62 * lo-specfun.cc: Add #define M_PI if needed. |
|
63 |
4062
|
64 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
65 |
|
66 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
67 that geteuid doesn't exist. |
|
68 |
|
69 * LP.h: Rename LP class to octave_LP. |
|
70 LPsolve.h: Change all uses. |
|
71 |
|
72 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
73 incorrect token-pasting op. |
|
74 |
|
75 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
76 define lstat. |
|
77 |
4061
|
78 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
79 |
|
80 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
81 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
82 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
83 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
84 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
85 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
86 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
87 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
88 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
89 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
90 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
91 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
92 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
93 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
94 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
95 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
96 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
97 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
98 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
99 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
100 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
101 oct-alloc.cc: |
|
102 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
103 to decide whether to use the interface/implementation pragmas. |
|
104 |
4058
|
105 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
106 |
|
107 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
108 |
4055
|
109 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
110 |
|
111 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
112 qualified names. |
|
113 |
4051
|
114 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
115 |
4054
|
116 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
117 ArrayN.cc: Add typename where needed. |
4053
|
118 |
4051
|
119 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
120 strstream classes directly. |
|
121 * DASRT.cc: Likewise. |
|
122 * DASSL.cc: Likewise. |
|
123 * LSODE.cc: Likewise. |
|
124 * ODESSA.cc: Likewise. |
|
125 |
|
126 * cmd-hist.cc: Don't include <strstream>. |
|
127 * oct-shlib.cc: Likewise. |
|
128 |
|
129 * lo-sstream.h: New file. |
|
130 |
4049
|
131 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
132 |
|
133 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
134 New data members. |
|
135 (LSODE::sanity_checked): Delete unused data member. |
|
136 |
|
137 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
138 prel_tol, pinfo, piwork, prwork): New data members. |
|
139 * DASSL.h (DASSL): Likewise. |
|
140 |
|
141 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
142 |
|
143 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
144 initialization, changes in options, etc. |
|
145 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
146 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
147 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
148 |
4047
|
149 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
150 |
4049
|
151 * DAEFunc.h (DAEFunc::reset): New data member. |
|
152 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
153 |
|
154 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
155 (base_diff_eqn::clear_stop_time): Likewise. |
|
156 |
4047
|
157 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
158 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
159 |
4044
|
160 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
|
161 |
|
162 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
163 * DASRT-opts.in, DASRT.h: Likewise. |
|
164 * DASSL-opts.in, DASSL.h: Likewise. |
|
165 * LSODE-opts.in, LSODE.h: Likewise. |
|
166 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
167 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
168 |
4038
|
169 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
170 |
4042
|
171 * LSODE.cc (LSODE::error_message): Also return current T on |
|
172 failures when that makes sense. |
4043
|
173 * DASSL.cc (DASSL::error_message): Likewise. |
|
174 * DASRT.cc (DASRT::error_message): Likewise. |
|
175 * DASPK.cc (DASPK::error_message): Likewise. |
|
176 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
177 |
4038
|
178 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
179 $(LIBKPATHSEA) here. |
|
180 |
4025
|
181 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
182 |
|
183 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
184 (lo_ieee_is_NaN_or_NA): New function. |
|
185 (octave_NA): New global value. |
|
186 (octave_ieee_init): Initialize it. |
|
187 * lo-mappers.cc (octave_is_NA): New function. |
|
188 (octave_is_NaN_or_NA): New function. |
|
189 (xisnan): Return false if NaN looks like a missing value. |
|
190 (xisnan (const Complex&)): Use xisnan here. |
|
191 |
4015
|
192 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
193 |
4017
|
194 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
195 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
196 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
197 Default value for dim is -1, not 0. |
|
198 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
199 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
200 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
201 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
202 |
4015
|
203 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
204 New macros. |
|
205 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
206 MX_BASE_REDUCTION_OP. |
|
207 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
208 |
4014
|
209 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
210 |
4015
|
211 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
212 Return boolMatrix, not Matrix. |
|
213 |
|
214 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
215 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
216 (Matrix::all): Replace guts with MX_ALL_OP. |
|
217 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
218 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
219 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
220 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
221 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
222 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
223 |
|
224 * dMatrix.h (Matrix::any): New arg, dim. |
|
225 (Matrix::all): Likewise. |
|
226 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
227 (ComplexMatrix::all): Likewise. |
|
228 * boolMatrix.h (boolMatrix::any): Likewise. |
|
229 (boolMatrix::all): Likewise. |
|
230 * chMatrix.h (charMatrix::any): Likewise. |
|
231 (charMatrix::all): Likewise. |
|
232 |
4014
|
233 * Makefile.in: Use $@-t instead of $@.t. |
|
234 |
4004
|
235 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
236 |
|
237 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
238 Use it in matrix versions to avoid spewing multiple errors. |
|
239 Call xgammainc instead of dgamit. |
|
240 |
3998
|
241 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
242 |
|
243 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
244 Get rows and columns right in loop. |
|
245 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
246 |
|
247 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
248 |
|
249 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
250 * DASRT.cc (DASRT::integrate): Likewise. |
|
251 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
252 |
|
253 * Quad.cc: Don't pass tolerances in constructors. |
|
254 |
|
255 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
256 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
257 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
258 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
259 from corresponding .in files. |
|
260 * LSODE.h, Quad.h: Replace options class definitions with included |
|
261 file. |
|
262 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
263 create OPTS_INC files from OPTS_INC_SRC files. |
|
264 (stamp-prereq): New target. |
|
265 (libraries): Depend on stamp-prereq. |
|
266 Include stamp-prereq along with $(MAKEDEPS). |
|
267 |
3997
|
268 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
269 |
|
270 * base-de.h (base_diff_eqn::istate): New data member. |
|
271 (base_diff_eqn::integration_state): New member function. |
|
272 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
273 data members and functions. |
|
274 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
275 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
276 |
3990
|
277 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
278 |
3995
|
279 * base-de.h (base_diff_eqn::stop_time, |
|
280 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
281 base_diff_eqn::integration_error): New data members. |
|
282 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
283 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
284 base_diff_eqn::error_message): New member functions. |
|
285 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
286 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
287 members and functions. |
|
288 |
3992
|
289 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
290 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
291 (DASRT::integrate): Don't forget to set nn. |
3992
|
292 |
3991
|
293 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
294 * DASSL.cc (ddassl_j): Make it work. |
|
295 * DASPK.cc (ddaspk_j): Likewise. |
|
296 |
3990
|
297 * DAE.cc: Delete. |
|
298 |
|
299 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
300 solving with root finding. |
|
301 * Makefile.in: Add them to the appropriate lists. |
|
302 |
|
303 * base-dae.h: New file. |
|
304 * Makefile.in (INCLUDES): Add it to the list. |
|
305 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
306 |
3984
|
307 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
308 |
|
309 * ODE.h: Move integrate and do_integrate method declarations and |
|
310 definitions here. |
|
311 * base-de.h: From here. |
|
312 |
|
313 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
314 * Makefile.in: Add them to the appropriate lists. |
|
315 (LIBOCTAVE_CXX_SOURCES): |
|
316 |
3971
|
317 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
318 |
|
319 * NLEqn.cc (NLEqn::error_message): New function. |
|
320 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
321 |
3970
|
322 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
323 |
|
324 * lo-utils.cc (octave_fgetl): New function. |
|
325 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
326 |
3959
|
327 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
328 |
|
329 * LSODE.cc (LSODE::error_message): New function. |
|
330 * LSODE.h: Provide decl. |
|
331 (LSODE::integration_state): New function. |
|
332 (LSODE::integration_ok): New function. |
|
333 |
3952
|
334 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
335 |
3955
|
336 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
337 (LSODE_options::set_integration_method, |
|
338 LSODE_options::integration_method): New functions. |
3954
|
339 |
3952
|
340 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
341 Change all uses. |
|
342 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
343 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
344 New function. |
|
345 |
|
346 * Array.h (Array::fortran_vec): New const version. |
|
347 |
3951
|
348 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
349 |
|
350 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
351 (gnu_readline::history_search_forward): Likewise. |
|
352 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
353 to extern "C" functions to octave_rl_ad_defun. |
|
354 |
3946
|
355 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
|
356 |
|
357 * DASPK.cc (ddaspk_psol): Return value. |
|
358 * oct-rl-edit.c: Use /* ... */ to comment. |
|
359 |
3945
|
360 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
361 |
|
362 * DASSL.h (DASSL_options::init): Undo previous change. |
|
363 (DASSL_options::set_absolute_tolerance): Likewise. |
|
364 * LSODE.h (LSODE_options::init): Likewise. |
|
365 (LSODE_options::set_absolute_tolerance): Likewise. |
|
366 |
|
367 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
368 sqrt(eps), not eps^2. |
|
369 DASPK_options::set_absolute_tolerance): Likewise. |
|
370 |
3944
|
371 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
372 |
|
373 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
374 object. |
|
375 |
3933
|
376 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
377 |
|
378 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
379 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
380 (octave_rl_set_basic_word_break_characters, |
|
381 octave_rl_set_completer_word_break_characters): New functions. |
|
382 * oct-rl-edit.h: Provide decls. |
|
383 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
384 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
385 (command_editor::set_basic_quote_characters, |
|
386 command_editor::set_completion_append_character): New static functions. |
|
387 * cmd-edit.h: Provide decls. |
|
388 (command_editor::do_set_basic_word_break_characters, |
|
389 command_editor::do_set_completer_word_break_characters): |
|
390 New virtual functions. |
|
391 |
|
392 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
393 (resize_fill_value): New static function. |
|
394 |
|
395 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
396 resize_fill_value. |
|
397 * Array2-idx.h (Array2<T>::index): Likewise. |
|
398 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
399 |
|
400 * Array2.cc (Array<T>::print_info): New function. |
|
401 * Array2.h: Provide decl. |
|
402 |
|
403 * Array.cc (Array<T>::print_info): New function. |
|
404 * Array.h: Provide decl. |
|
405 |
3928
|
406 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
407 |
|
408 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
409 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
410 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
411 |
|
412 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
413 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
414 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
415 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
416 |
|
417 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
|
418 |
|
419 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
420 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
421 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
422 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
423 |
3919
|
424 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
425 |
|
426 * DASSL.h (DASSL_options::init): Undo previous change. |
|
427 (DASSL_options::set_absolute_tolerance): Likewise. |
|
428 |
3912
|
429 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
430 |
|
431 * DASPK.h, DASPK.cc: New files. |
|
432 * Makefile.in: Add them to the appropriate lists. |
|
433 |
3904
|
434 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
435 |
|
436 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
437 Simplify indexing when one or both of the indices are empty. |
|
438 |
3896
|
439 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
440 |
|
441 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
442 (DASSL_options::set_absolute_tolerance): Likewise. |
|
443 * LSODE.h (LSODE_options::init): Likewise. |
|
444 (LSODE_options::set_absolute_tolerance): Likewise. |
|
445 |
3887
|
446 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
|
447 |
|
448 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
449 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
450 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
451 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
452 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
453 * file-stat.h: Likewise. |
|
454 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
455 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
456 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
457 * strftime.c: Likewise. |
|
458 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
459 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
460 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
461 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
462 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
463 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
464 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
465 |
3883
|
466 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
|
467 |
|
468 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
469 internally when the user requests it. |
|
470 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
471 * dbleQR.cc (QR::init): Ditto. |
|
472 * dbleQRP.cc (QRP::init): Ditto. |
|
473 |
3874
|
474 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
475 |
|
476 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
477 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
478 (octave_fftw::ifft2d): Likewise. |
|
479 |
3873
|
480 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
|
481 |
|
482 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
483 |
3867
|
484 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
485 |
|
486 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
487 (LS_DO_WRITE): Likewise. |
|
488 |
3864
|
489 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
490 |
|
491 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
492 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
493 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
494 |
|
495 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
496 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
497 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
498 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
499 |
|
500 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
501 DIM == -1 now means no orientation for vector sums. |
|
502 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
503 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
504 |
3858
|
505 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
506 |
|
507 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
508 have zero elements. |
|
509 |
3854
|
510 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
511 |
3857
|
512 * Makefile.in: Split out readline and pathsearch functionality |
|
513 into separate liboct-readline and liboct-pathsearch libraries. |
|
514 |
3854
|
515 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
516 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
517 to do nothing for this call to rl_clear_screen. |
3854
|
518 |
3849
|
519 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
520 |
|
521 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
522 function. |
|
523 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
524 |
3838
|
525 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
526 |
|
527 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
528 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
529 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
530 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
531 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
532 |
3836
|
533 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
534 |
|
535 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
536 |
|
537 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
538 Array-b.cc: Instantiate three arg assign functions. |
|
539 |
|
540 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
541 New arg, resize_fill_value. |
|
542 * ArrayN.h: Provide declaration. |
|
543 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
544 three arg version. |
|
545 |
|
546 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
547 New arg, resize_fill_value. |
|
548 * Array3.h: Provide declaration. |
|
549 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
550 three arg version. |
|
551 |
|
552 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
553 New arg, resize_fill_value. |
|
554 * Array2.h: Provide declaration. |
|
555 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
556 three arg version. |
|
557 |
|
558 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
559 New arg, resize_fill_value. |
|
560 * Array.h: Provide declaration. |
|
561 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
562 three arg version. |
|
563 |
3833
|
564 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
565 |
|
566 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
567 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
568 to the empty string. |
|
569 |
3832
|
570 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
571 |
|
572 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
573 Don't check for rep != a.rep. |
|
574 |
3827
|
575 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
576 |
|
577 * oct-fftw.h, oct-fftw.cc: New files. |
|
578 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
579 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
580 ifourier2d}): Use fftw if available. |
|
581 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
582 Likewise. |
|
583 |
3821
|
584 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
585 |
|
586 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
587 (install-inc): Don't use mk-includedir-link. |
|
588 |
3803
|
589 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
590 |
|
591 * lo-cutils.c (octave_gethostname): New function. |
|
592 * lo-utils.h: Provide declaration. |
|
593 * oct-env.cc (octave_env::do_get_host_name): |
|
594 Call octave_gethostname, instead of gethostname. |
|
595 |
|
596 * lo-cutils.c (gethostname): Define here. |
|
597 * lo-sysdep.cc: Not here. |
|
598 |
3786
|
599 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
600 |
|
601 * lo-cutils.c: Don't declare strptime. |
|
602 (oct_strptime): Cast return type of strptime to char*. |
|
603 |
3777
|
604 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
605 |
3779
|
606 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
607 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
608 (octave_rl_read_init_file): Ditto. |
|
609 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
610 free_undo_list. |
|
611 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
612 completion_matches. |
|
613 (octave_rl_enable_paren_matching): New function. |
|
614 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
615 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
616 |
3777
|
617 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
618 tanh (const Complex&)): Declare and define if not |
|
619 CXX_ISO_COMPLIANT_LIBRARY. |
|
620 |
3776
|
621 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
622 |
|
623 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
624 CXX_ISO_COMPLIANT_LIBRARY. |
|
625 |
3775
|
626 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
627 |
3776
|
628 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
629 CXX_ISO_COMPLIANT_LIBRARY. |
|
630 |
3775
|
631 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
632 archive libraries containing templates. |
|
633 |
|
634 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
635 get_zero_len_size, all_colon_equiv): Inline. |
|
636 (ArrayN<T>::index): Rename idx to arr_idx. |
|
637 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
638 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
639 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
640 |
|
641 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
642 |
|
643 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
644 log10 (const Complex&)): Delete. |
|
645 |
|
646 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
647 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
648 sinh, sqrt, tan, and tanh. |
|
649 |
3769
|
650 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
651 |
|
652 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
653 Add std:: namespace qualifier as needed. |
|
654 |
|
655 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
656 Change all uses to match. |
|
657 |
3767
|
658 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
659 |
|
660 * lo-cutils.c: Don't delcare strptime. |
|
661 |
3760
|
662 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
663 |
|
664 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
665 Return correct size result for empty matrix case. |
|
666 |
3757
|
667 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
668 |
|
669 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
670 If args are equal in magnitude, return first arg instead of |
|
671 second. |
|
672 |
3752
|
673 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
674 |
3755
|
675 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
676 then try harder to compute correct number of elements. |
3753
|
677 |
3752
|
678 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
679 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
680 |
3750
|
681 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
682 |
3751
|
683 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
684 Rename n_intervals to be n_elt. |
|
685 |
3750
|
686 * strptime.c: Surround everything after including config.h in |
|
687 #ifndef HAVE_STRPTIME ... #endif. |
|
688 |
3742
|
689 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
690 |
|
691 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
692 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
693 |
3741
|
694 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
695 |
|
696 * MArray-defs.h: Protect against multiple inclusion. |
|
697 |
3739
|
698 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
699 |
|
700 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
701 end of the list, to be compatible with previous versions of Octave. |
|
702 |
3736
|
703 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
704 |
|
705 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
706 since mktime is supposed to `normalize' the results for us. |
|
707 |
3731
|
708 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
709 |
|
710 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
711 and vectors. Use xelem for faster access to elements when copying. |
3731
|
712 |
3726
|
713 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
714 |
|
715 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
716 Correct indexing for operation across rows. |
|
717 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
718 |
3725
|
719 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
720 |
|
721 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
722 elements if arg is a colon. |
|
723 |
3723
|
724 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
|
725 |
3795
|
726 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
727 (Matrix::cumsum (int) const): Likewise. |
|
728 (Matrix::prod (int) const): Likewise. |
|
729 (Matrix::sum (int) const): Likewise. |
|
730 (Matrix::sumsq (int) const): Likewise. |
|
731 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
732 (ComplexMatrix::cumsum (int) const): Likewise. |
|
733 (ComplexMatrix::prod (int) const): Likewise. |
|
734 (ComplexMatrix::sum (int) const): Likewise. |
|
735 (ComplexMatrix::sumsq (int) const): Likewise. |
|
736 |
3722
|
737 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
738 |
|
739 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
740 size if Array<T>::index returns an empty array. |
|
741 |
3710
|
742 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
743 |
|
744 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
745 file_ops::readlink): New functions. |
|
746 |
3709
|
747 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
748 |
|
749 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
750 indexed, always return an object the same size as the index arg. |
|
751 |
|
752 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
753 empty format. |
|
754 |
3706
|
755 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
756 |
|
757 * lo-cutils.c (oct_strptime): New function. |
|
758 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
759 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
760 |
3702
|
761 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
762 |
3703
|
763 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
764 |
3702
|
765 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
766 |
3689
|
767 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
768 |
|
769 * dMatrix.h (read_int): Provide declaration. |
|
770 |
3688
|
771 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
772 |
|
773 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
774 (write_doubles): Ditto. |
|
775 * data-conv.h: Ditto. |
|
776 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
777 |
3685
|
778 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
779 |
|
780 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
781 * boolMatrix.cc: Define them here. |
|
782 |
3680
|
783 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
784 |
|
785 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
786 previously undefined and set size of x to size of bool index. |
|
787 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
788 Allow z_len to be zero. |
|
789 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
790 If frozen, don't assert that frozen_at_z_len == z_len. |
|
791 |
3670
|
792 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
793 |
|
794 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
795 instead of rl_clear_screen. |
|
796 |
3665
|
797 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
798 |
|
799 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
800 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
801 * Makefile.in: Add them to the appropriate lists. |
|
802 |
3657
|
803 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
804 |
|
805 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
806 |
3635
|
807 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
808 |
|
809 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
810 |
3615
|
811 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
812 |
|
813 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
814 before rebuilding. |
|
815 |
|
816 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
|
817 |
|
818 * liboctave/Makefile.in (liboctave.$(LIBEXT)): New target. |
|
819 (libraries): Depend only on library targets, not archive members. |
|
820 |
3613
|
821 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
822 |
|
823 * Makefile.in: (objects): New target. |
|
824 |
|
825 * lo-cutils.c: New file. |
|
826 * Makefile.in (SOURCES): Add it to the list. |
|
827 * lo-utils.h: Declare octave_qsort here. |
|
828 * Array.h (Array::qsort): Use it here. |
|
829 |
3607
|
830 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
831 |
|
832 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
833 |
3598
|
834 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
835 |
|
836 * oct-rl-hist.c (octave_history_list): Do something when not |
|
837 printing line numbers. Fix reallocation of retval. |
|
838 |
3597
|
839 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
840 |
|
841 * Makefile.in (install-inc): Install files in |
|
842 $(octincludedir)/octave. |
|
843 (uninstall): Remove them from the correct directory too. |
|
844 |
|
845 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
846 they are not already defined. |
|
847 |
3588
|
848 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
849 |
|
850 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
851 Delete declarations and definitions of mixed-type vector-vector ops. |
|
852 |
3585
|
853 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
854 |
|
855 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
856 matrix and vector objects. |
|
857 |
|
858 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
859 return type from second arg type. |
|
860 (MDM_BIN_OP): Likewise, for first arg type. |
|
861 |
|
862 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
863 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
864 |
|
865 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
866 request ColumnVector to ComplexColumnVector, and Matrix to |
|
867 ComplexMatrix conversions. |
|
868 |
|
869 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
870 initial value using ComplexMatrix constructor. |
|
871 |
|
872 * CColVector.cc (product, quotient, |
|
873 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
874 Fix type of returned value. |
|
875 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
876 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
877 |
|
878 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
879 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
880 dRowVector.h: Declare some constructors explicit, to disallow |
|
881 potentially problematic automatic type conversions. |
|
882 |
3580
|
883 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
884 |
3582
|
885 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
886 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
887 More new files. |
|
888 * Makefile.in: Add them to the appropriate lists. |
|
889 |
|
890 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
891 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
892 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
893 vx-s-crv.cc:, New files. |
|
894 * Makefile.in: Add them to the appropriate lists. |
|
895 |
|
896 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
897 Delete scalar by vector and vector by scalar binary ops. |
|
898 |
3580
|
899 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
900 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
901 |
3573
|
902 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
903 |
3578
|
904 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
905 rl_event_hook before casting to void **. |
|
906 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
907 |
3574
|
908 * MArray-defs.h: Many new macros to make declaration and |
|
909 definition of operators more consistent. |
|
910 |
|
911 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
912 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
913 |
3569
|
914 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
915 |
3572
|
916 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
917 (Matrix::ifourier2d): Likewise. |
|
918 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
919 (ComplexMatrix::ifourier2d): Likewise. |
|
920 |
3569
|
921 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
922 |
3504
|
923 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
924 |
3519
|
925 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
926 readline library. |
|
927 * Makefile.in: Add them to the appropriate lists. |
|
928 |
|
929 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
930 readline history library. |
|
931 * Makefile.in: Add them to the appropriate lists. |
|
932 |
3517
|
933 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
934 (LS_DO_READ): Likewise, for istream::read. |
3518
|
935 (write_doubles): Likewise. |
|
936 (read_doubles): Likewise. |
3517
|
937 |
3516
|
938 * oct-env.cc (octave_env::do_polite_directory_format): |
|
939 Use operator== and substr method to do limited-length string |
|
940 comparison. |
|
941 |
3513
|
942 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
943 |
3511
|
944 * Quad.h: Use do_integrate as name of pure virtual function. |
|
945 |
3508
|
946 * base-de.h: Use tt instead of t as arg names. |
3511
|
947 Add method with tcrit arg. |
|
948 |
3509
|
949 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
950 |
3507
|
951 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
952 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
953 * Quad.cc (quad_fcn_ptr): Ditto. |
|
954 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
955 |
3505
|
956 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
957 * Makefile.in: Add them to the appropriate lists. |
3505
|
958 |
|
959 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
960 * Makefile.in: Add them to the appropriate lists. |
3505
|
961 |
3504
|
962 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
963 |
|
964 * CDiagMatrix.h: Delete decls for friend operators that are |
|
965 handled by MDiagArray2 class. Move others outside class decl and |
|
966 strip friend status. |
|
967 * dDiagMatrix.h: Likewise. |
|
968 |
|
969 * MArray.h: Delete decls for friend operators inside class decl. |
|
970 * MArray2.h: Ditto. |
|
971 * MDiagArray2.h: Ditto. |
|
972 |
|
973 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
974 necessary parameters. Don't allocate memory in the macro. Change |
|
975 all uses. |
|
976 |
|
977 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
978 * CMatrix.h (class ComplexMatrix): Ditto. |
|
979 |
|
980 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
981 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
982 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
983 avoid type conflicts. Change all uses. |
|
984 |
|
985 * strptime.c (__mon_yday): Fix size of array decl. |
|
986 |
|
987 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
988 |
|
989 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
990 default value for second arg. |
|
991 |
|
992 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
993 references to ArrayRep. |
|
994 |
3503
|
995 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
996 |
3504
|
997 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
998 |
|
999 * All source files: Include iostream, fstream, strstream, |
|
1000 etc. as needed instead of using forward declarations for these |
3504
|
1001 classes. Add std:: qualifier as needed. |
3503
|
1002 |
3498
|
1003 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1004 |
|
1005 * oct-time.cc: Declare strptime extern "C". |
|
1006 |
3496
|
1007 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1008 |
|
1009 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
1010 |
3488
|
1011 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1012 |
3492
|
1013 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
1014 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
1015 to get total size to be allocated. |
|
1016 |
3488
|
1017 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
1018 as bool, not int. |
|
1019 |
3482
|
1020 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1021 |
|
1022 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
1023 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
1024 as A, even when do_fortran_indexing is not enabled. |
|
1025 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
1026 |
3473
|
1027 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1028 |
3480
|
1029 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
1030 function pointer as final arg. Passed function (if any) will be |
|
1031 called for singularity errors. |
|
1032 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
1033 |
|
1034 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
1035 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
1036 |
3475
|
1037 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
1038 No longer bother with infinity or quiet_nan. |
|
1039 |
3473
|
1040 * Array2.cc (Array2<T>::get_size): New function. |
|
1041 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
1042 |
3472
|
1043 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1044 |
|
1045 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
1046 New function. |
|
1047 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
1048 Use it when indexing with one arg instead of faking a second one. |
|
1049 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
1050 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
1051 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
1052 rows or columns. |
|
1053 |
|
1054 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
1055 vector that is all true values with a length equal to n as colon |
|
1056 equivalent. |
|
1057 |
3470
|
1058 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1059 |
|
1060 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
1061 |
|
1062 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
1063 |
|
1064 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
1065 operations directly in step 2 and reverse step 2. |
|
1066 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
1067 operations directly in step 2 and reverse step 2. |
|
1068 |
3465
|
1069 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1070 |
|
1071 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
1072 |
|
1073 * strptime.c: New file, from glibc 2.1.2. |
|
1074 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
1075 |
3419
|
1076 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1077 |
|
1078 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
1079 |
3415
|
1080 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1081 |
|
1082 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
1083 NULL directory list returned from kpse_element_dirs |
|
1084 |
3375
|
1085 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1086 |
|
1087 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
1088 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
1089 directly, instead of calling ZGESV. |
|
1090 |
3358
|
1091 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1092 |
|
1093 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
1094 (string_to_data_type): Use it to improve lookup of data types. |
|
1095 |
3354
|
1096 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1097 |
|
1098 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
1099 * Array2.h (is_symmetric): Delete declaration. |
|
1100 |
3347
|
1101 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1102 |
|
1103 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
1104 |
3344
|
1105 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1106 |
|
1107 * oct-time.cc (Fstrftime): Undo previous change. |
|
1108 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
1109 |
3334
|
1110 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1111 |
3336
|
1112 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
1113 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
1114 |
3334
|
1115 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
1116 Don't forget to pass length of third string argument to dgeesx. |
|
1117 |
|
1118 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
1119 of third string argument to zgeesx. |
|
1120 |
3333
|
1121 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1122 |
|
1123 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
1124 On errors, simply return `T ()'. |
|
1125 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
1126 |
3331
|
1127 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
|
1128 |
|
1129 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
1130 AEPBALANCE class. |
|
1131 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
1132 |
3325
|
1133 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1134 |
|
1135 * oct-shlib.cc, oct-shlib.h: New files. |
|
1136 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
1137 |
3322
|
1138 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1139 |
|
1140 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
1141 * dRowVector.cc (linspace): Ditto. |
|
1142 |
|
1143 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
1144 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
1145 |
3312
|
1146 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1147 |
|
1148 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
1149 to evaluate the Jacobian, set info(4), not iwork(4). |
|
1150 Set rwork(1) to the maximum step size, not rwork(2). |
|
1151 |
3290
|
1152 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1153 |
|
1154 * oct-time.cc: Include <climits>. |
|
1155 |
3281
|
1156 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1157 |
|
1158 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
1159 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
1160 (gnu_readline::do_resize_terminal): New function. |
|
1161 |
3268
|
1162 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1163 |
|
1164 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
1165 * lo-ieee.c: Likewise. |
|
1166 Delete extern "C" declarations for infinity and quiet_nan. |
|
1167 |
3262
|
1168 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1169 |
3263
|
1170 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
1171 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
1172 `inline', not `static inline'. |
|
1173 |
3262
|
1174 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
1175 then cast to const int * to compare. |
|
1176 |
3257
|
1177 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1178 |
|
1179 * DAEFunc.h: Remove useless preprocessor conditional. |
|
1180 |
3255
|
1181 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1182 |
3257
|
1183 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
1184 Use octave_time object instead of time_t. |
|
1185 |
|
1186 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
1187 file_stat::fs_ctime): Now octave_time objects. |
|
1188 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
1189 Return octave_time objects. |
|
1190 (file_stat::is_newer): Args are now octave_time objects instead of |
|
1191 time_t. |
|
1192 |
3255
|
1193 * oct-time.h (octave_time::as_double): Delete. |
|
1194 (octave_time::operator double ()): New function. |
|
1195 (octave_time::operator time_t ()): New function. |
|
1196 (octave_time::ctime): New function. |
|
1197 (octave_base_tm::strftime): Renamed from format_as_string. |
|
1198 (octave_base_tm::asctime): New function. |
|
1199 (operator == (const octave_time&, const octave_time&), |
|
1200 operator != (const octave_time&, const octave_time&), |
|
1201 operator < (const octave_time&, const octave_time&), |
|
1202 operator <= (const octave_time&, const octave_time&), |
|
1203 operator > (const octave_time&, const octave_time&), |
|
1204 operator >= (const octave_time&, const octave_time&)): |
|
1205 New comparison functions. |
|
1206 |
|
1207 * strftime.c: Move here from src directory. |
|
1208 * Makefile.in (SOURCES): Add it to the list. |
|
1209 |
|
1210 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
1211 |
3253
|
1212 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1213 |
|
1214 * oct-time.h, oct-time.cc: New files. |
|
1215 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
1216 |
|
1217 * systime.h: Move here from src directory. |
|
1218 * Makefile.in (INCLUDES): Add it to the list. |
|
1219 |
3248
|
1220 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1221 |
|
1222 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
1223 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
1224 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
1225 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
1226 |
|
1227 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
1228 |
3243
|
1229 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1230 |
|
1231 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
1232 |
|
1233 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1234 |
|
1235 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
1236 column vector for A(:), for compatibility with Matlab. |
|
1237 |
|
1238 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1239 |
|
1240 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
1241 iopt when there are optional inputs in rwork or iwork. |
|
1242 |
3238
|
1243 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1244 |
|
1245 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
1246 creating static libs. |
|
1247 |
|
1248 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
|
1249 |
|
1250 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
1251 and uint32 data types. |
|
1252 |
|
1253 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1254 |
|
1255 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
1256 for Linux. Remove old Linux-specific code. |
|
1257 |
3233
|
1258 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1259 |
|
1260 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
1261 Don't require lengths to be equal. |
|
1262 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
1263 ComplexRowVector& a)): Likewise |
|
1264 |
3225
|
1265 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
|
1266 |
|
1267 * statdefs.h: Only define mode_t if not already defined. |
|
1268 |
|
1269 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
|
1270 |
|
1271 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
1272 when appropriate. |
|
1273 |
|
1274 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1275 |
|
1276 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
1277 before calling rl_initialize. |
|
1278 |
3220
|
1279 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1280 |
|
1281 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
1282 Update Bessel function support to use library by D. E. Amos. |
|
1283 |
3219
|
1284 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1285 |
|
1286 * cmd-edit.h (command_editor::readline): Add new variation that |
|
1287 allows EOF information to be passed back to caller. |
|
1288 |
|
1289 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
1290 amount of data to read is unspecified. |
|
1291 |
3215
|
1292 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1293 |
3219
|
1294 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
1295 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
1296 |
3215
|
1297 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
1298 Add volatile qualifier to void* arg. |
|
1299 Cast volatile void* arg to volatile char*. |
|
1300 |
|
1301 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1302 |
|
1303 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
1304 (command_editor::do_restore_event_hook): Ditto. |
|
1305 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
1306 (command_editor::restore_event_hook): Ditto. |
|
1307 (gnu_readline::do_set_event_hook): Ditto. |
|
1308 (gnu_readline::do_restore_event_hook): Ditto. |
|
1309 (gnu_readline::previous_event_hook): New data member. |
|
1310 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
1311 |
3206
|
1312 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1313 |
|
1314 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
1315 |
|
1316 * Makefile.in (stmp-pic): New target. |
|
1317 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
1318 (clean): Remove stmp-pic |
|
1319 |
|
1320 * Makefile.in: Undo previous change to avoid optmization when |
|
1321 compiling lo-ieee.cc. |
|
1322 |
|
1323 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1324 |
|
1325 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
1326 imaginary parts. |
|
1327 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
1328 |
3203
|
1329 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1330 |
|
1331 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
1332 |
3196
|
1333 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1334 |
|
1335 * pathsearch.h (dir_path::default_path): New data member. |
|
1336 * pathsearch.cc (dir_path::init): Use it. |
|
1337 |
|
1338 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
1339 |
3189
|
1340 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1341 |
|
1342 * chMatrix.cc (charMatrix::extract): New function. |
|
1343 (charMatrix::charMatrix (char c)): New constructor. |
|
1344 |
|
1345 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1346 |
|
1347 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
1348 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
1349 (gnu_readline::do_read_init_file): Likewise. |
|
1350 |
3185
|
1351 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1352 |
|
1353 * oct-env.cc (octave_env::do_get_home_directory): |
|
1354 If HOME can't be found, set it to "/". |
|
1355 (octave_env::do_get_user_name) |
|
1356 If user name can't be found, set it to "unknown". |
|
1357 (octave_env::do_get_host_name) |
|
1358 If host name can't be found, set it to "unknown". |
|
1359 |
|
1360 * pathsearch.h (dir_path::rehash): New function. |
|
1361 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
1362 diretcory cache before doing initialization. |
|
1363 |
3180
|
1364 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1365 |
3185
|
1366 * dMatrix.cc (Qzval): Delete. |
|
1367 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
1368 * dMatrix.h (Qzval): Delete declaration. |
|
1369 |
|
1370 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
1371 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
1372 * mx-ext.h: Don't include dbleGEPBAL. |
|
1373 |
3180
|
1374 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
1375 static_cast. |
|
1376 |
|
1377 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1378 |
|
1379 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
1380 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
1381 |
|
1382 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1383 |
|
1384 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
1385 HUGE_VAL and NAN. |
|
1386 |
|
1387 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1388 |
|
1389 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
1390 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
1391 |
|
1392 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1393 |
|
1394 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
1395 Alloctate space before attempting to use it. |
|
1396 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
1397 |
3178
|
1398 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
|
1399 |
|
1400 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
1401 |
|
1402 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1403 |
|
1404 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
1405 have the same size as the operands. |
|
1406 |
|
1407 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1408 |
|
1409 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
1410 call to ddassl, set integration_error to 1 before calling the |
|
1411 error handler and returning. |
|
1412 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
1413 |
3177
|
1414 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1415 |
|
1416 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
1417 do_fortran_indexing is set, A([]) = scalar. |
|
1418 * Array-idx.h (assign): Allow A([]) = scalar. |
|
1419 |
3176
|
1420 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1421 |
|
1422 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
1423 if dm_nc == 0. |
|
1424 |
3174
|
1425 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1426 |
|
1427 * pathsearch.h (dir_path::p_orig): New field. |
|
1428 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
1429 expansion on the original path here. |
|
1430 (dir_path::find_all): Don't do anything if not initialized. |
|
1431 |
3164
|
1432 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1433 |
|
1434 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
1435 is not set. |
|
1436 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
1437 |
|
1438 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
1439 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
1440 \int_0^x exp(-t) t^(a-1) dt. |
|
1441 |
|
1442 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1443 |
|
1444 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
1445 Array-s.cc: Change return types of all `assign' explicit |
|
1446 instantiations to be int, not void, to match the template decl in |
|
1447 Array.h. |
|
1448 |
3162
|
1449 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1450 |
|
1451 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
1452 |
3156
|
1453 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1454 |
|
1455 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
1456 * lo-mappers.cc: Not here. |
|
1457 |
|
1458 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
1459 * lo-mappers.h: Not here. |
|
1460 |
|
1461 * lo-specfun.h: Never declare gamma or lgamma. |
|
1462 |
3154
|
1463 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1464 |
|
1465 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
1466 empty matrix of any dimension. |
|
1467 |
3145
|
1468 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1469 |
3147
|
1470 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
1471 |
3146
|
1472 * lo-specfun.cc: Don't include dbleBessel.h. |
|
1473 |
|
1474 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
1475 |
3145
|
1476 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
1477 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
1478 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
1479 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
1480 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
1481 |
|
1482 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
1483 Don't cast arg in call to swap_8_bytes. |
|
1484 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
1485 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
1486 swap_4_bytes. |
|
1487 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
1488 |
|
1489 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
1490 * prog-args.cc (prog_args::getopt): Likewise. |
|
1491 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
1492 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
1493 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
1494 Likewise. |
|
1495 |
|
1496 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
1497 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
1498 |
3141
|
1499 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1500 |
|
1501 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
1502 Use $(mk-libdir-link). |
|
1503 |
|
1504 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
1505 not SAFE_STAT and SAFE_LSTAT. |
|
1506 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
1507 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
1508 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
1509 safe-lstat.h, and safe-lstat.cc. |
|
1510 |
3136
|
1511 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1512 |
|
1513 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
1514 |
3130
|
1515 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1516 |
|
1517 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
1518 trace is negative. |
|
1519 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
1520 the real part of the trace is negative. |
|
1521 |
|
1522 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1523 |
|
1524 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
1525 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
1526 |
|
1527 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
1528 to succeed. |
|
1529 |
3125
|
1530 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1531 |
|
1532 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
1533 (make_uniq): Likewise. |
|
1534 |
|
1535 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1536 |
|
1537 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
1538 |
3119
|
1539 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1540 |
3121
|
1541 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
1542 |
|
1543 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
1544 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
1545 |
3121
|
1546 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
1547 oct-math.h: Delete. |
|
1548 * Makefile.in (SOURCES): Delete them from the list. |
|
1549 |
3112
|
1550 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1551 |
|
1552 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
1553 |
3107
|
1554 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
1555 |
|
1556 Changes to make support egcs snapshots that implement explicit |
|
1557 specification of template functions according to CD2. |
|
1558 |
|
1559 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
1560 template function specs for template friends. |
|
1561 * MArray2.h: Likewise. |
|
1562 * MDiagArray2.h: Likewise. |
|
1563 |
3095
|
1564 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1565 |
|
1566 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
1567 |
3092
|
1568 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
1569 |
|
1570 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
1571 to complex<double>(int) instead of complex<double>(double). |
|
1572 |
|
1573 * lo-mappers.cc (atanh): Ditto. |
|
1574 |
3079
|
1575 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1576 |
|
1577 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
1578 * idx-vector.h (idx_vector::sort): Ditto. |
|
1579 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
1580 trying to delete elements specified by the index vectors. |
|
1581 |
3075
|
1582 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1583 |
|
1584 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
1585 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
1586 |
3074
|
1587 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1588 |
|
1589 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
1590 |
3069
|
1591 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1592 |
|
1593 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
1594 Call error handler if we can't find the current directory. |
|
1595 |
3068
|
1596 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1597 |
3069
|
1598 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
1599 (xfinite (double)): Ditto. |
|
1600 |
3068
|
1601 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
1602 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
1603 |
3056
|
1604 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1605 |
|
1606 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
1607 compatible with Matlab. |
|
1608 |
3050
|
1609 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1610 |
|
1611 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
1612 single colon. |
|
1613 |
3040
|
1614 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1615 |
3049
|
1616 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
1617 (xgamma): Likewise, for calling xdgamma. |
|
1618 |
3042
|
1619 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
1620 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
1621 |
3040
|
1622 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
1623 to do better job expanding tildes. |
|
1624 |
|
1625 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
1626 Use temporary variable to compute length. |
|
1627 |
3029
|
1628 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1629 |
3034
|
1630 * Makefile.in: Make building of static library optional. |
3036
|
1631 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
1632 |
3029
|
1633 * Makefile.in (stamp-picdir): Delete. |
|
1634 (pic): New target. Don't worry so much about creating pic |
|
1635 directory only when it is really needed. |
|
1636 (stamp-interp): Delete. |
|
1637 (libraries): New target. Depend on shared library directly. |
|
1638 |
3024
|
1639 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1640 |
|
1641 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
1642 New static function. |
|
1643 |
3012
|
1644 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1645 |
|
1646 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
1647 |
3004
|
1648 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1649 |
|
1650 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
1651 set_basic_quote_characters, to match new version of readline. |
|
1652 |
|
1653 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
1654 for restoring terminal state through rl_deprep_term_function, now |
|
1655 declared in readline.h |
|
1656 (rl_deprep_terminal): Delete declaration. |
|
1657 |
2993
|
1658 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1659 |
|
1660 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
1661 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
1662 |
2968
|
1663 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1664 |
|
1665 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
1666 New static function. |
|
1667 |
2964
|
1668 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1669 |
2966
|
1670 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
1671 the vector is not sorted. |
|
1672 |
2964
|
1673 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
1674 * dMatrix.cc (Matrix::operator !): Likewise |
|
1675 |
2941
|
1676 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1677 |
|
1678 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
1679 |
|
1680 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
1681 |
|
1682 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
1683 |
2938
|
1684 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1685 |
2941
|
1686 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
1687 (install-inc): Use it. |
|
1688 |
2938
|
1689 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
1690 Handle errors and missing functions consistently. |
|
1691 |
|
1692 * oct-group.h, oct-group.cc: New files. |
|
1693 |
|
1694 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
1695 |
|
1696 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
1697 |
2934
|
1698 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1699 |
|
1700 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
1701 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
1702 |
|
1703 * oct-passwd.h, oct-passwd.cc: New files. |
|
1704 |
2926
|
1705 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1706 |
|
1707 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
1708 |
|
1709 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
1710 (instance_ok ()): New function. |
|
1711 |
|
1712 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
1713 |
|
1714 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
1715 |
|
1716 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
1717 src/utils.h and src/utils.cc. |
|
1718 (octave_fgets): New function, extracted from src/input.cc. |
|
1719 |
|
1720 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
1721 GNU readline, and allow Octave to work without GNU readline. |
|
1722 |
|
1723 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
1724 system-dependent functions. |
|
1725 |
|
1726 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
1727 |
|
1728 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
1729 from file-ops.h and file-ops.cc and move here. |
|
1730 |
|
1731 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
1732 tilde_expand functions here from src/dirfns.cc. |
|
1733 |
|
1734 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1735 |
|
1736 * pathlen.h: New file, from ../src. |
|
1737 |
2917
|
1738 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1739 |
|
1740 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
1741 out-of-bounds indexing of the index array. |
|
1742 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
1743 |
2850
|
1744 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1745 |
|
1746 * LSODE.h (x_step_limit): New field. |
|
1747 (LSODE_options::init): Initialize it. |
|
1748 (LSODE_options::copy): Copy it. |
|
1749 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
1750 New functions. |
|
1751 (LSODE::working_too_hard): Delete. |
|
1752 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
1753 |
2844
|
1754 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1755 |
|
1756 * MArray-b.cc: Delete. |
|
1757 * Makefile.in: Delete it from the lists. |
|
1758 |
|
1759 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
1760 MArray2, since most of the numeric ops don't really make sense. |
|
1761 |
2829
|
1762 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1763 |
2832
|
1764 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
1765 |
|
1766 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
1767 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
1768 |
2830
|
1769 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
1770 idx_vector::freeze): Delete prefer_zero_one arg. |
|
1771 * Array-idx.h, Array2-idx.h: Change all callers. |
|
1772 |
|
1773 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
1774 |
2829
|
1775 * mx-op-defs.h: New file for operator definitions. |
|
1776 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
1777 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
1778 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
1779 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
1780 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
1781 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
1782 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
1783 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
1784 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
1785 mx-s-cm.cc, mx-s-dm.cc: |
|
1786 New files for mixed-type operations. |
|
1787 * Makefiles.in: Add them to the appropriate lists. |
|
1788 |
|
1789 * mx-inlines.cc: Add bool by bool EQ ops. |
|
1790 |
|
1791 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
1792 boolMatrix types. |
|
1793 (idx_vector::maybe_convert_one_zero_to_idx, |
|
1794 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
1795 Delete second arg, prefer_zero_one. Change all callers. |
|
1796 |
|
1797 * boolMatrix.h, boolMatrix.cc: New files. |
|
1798 * mx-base.h: Include boolMatrix.h here. |
|
1799 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
1800 |
|
1801 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
1802 |
|
1803 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
1804 operator-, operator*, product, and quotient functions. |
|
1805 Add constructor for boolMatrix type. |
|
1806 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
1807 product, and quotient functions. |
|
1808 |
|
1809 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
1810 operator-, and product functions. |
|
1811 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
1812 |
|
1813 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
1814 |
2815
|
1815 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1816 |
|
1817 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
1818 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
1819 (EIG::symmetric_init (const Matrix&)): New function. |
|
1820 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
1821 |
|
1822 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
1823 |
|
1824 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1825 |
|
1826 * Array2.cc (is_symmetric): New function. |
|
1827 * Array2.h (is_square): New function. |
|
1828 |
2811
|
1829 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1830 |
|
1831 * Makefile.in (install-strip): New target. |
|
1832 |
2804
|
1833 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1834 |
|
1835 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
1836 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
1837 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
1838 dbleSVD.cc: Don't include mx-inlines.cc. |
|
1839 |
|
1840 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
1841 duplicate code. |
|
1842 |
2800
|
1843 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1844 |
2804
|
1845 * dbleQR.h (QR): Delete extra comma at end of list. |
|
1846 |
|
1847 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
1848 |
|
1849 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
1850 |
|
1851 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
1852 idx_vecotr_rep:: qualifiers. |
|
1853 |
|
1854 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
1855 |
|
1856 * data-conv.h (save_type): Delete extra comma at end of list. |
|
1857 |
2800
|
1858 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
1859 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
1860 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
1861 old C-style `(T) val' casts. |
|
1862 |
2795
|
1863 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1864 |
|
1865 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
1866 just breaking out of the innermost loop. |
|
1867 * CMatrix.cc (operator >>): Likewise. |
|
1868 |
2779
|
1869 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
1870 |
|
1871 * Version 2.0.5 released. |
|
1872 |
2767
|
1873 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1874 |
|
1875 * CmplxQR.cc (ComplexQR::init): New function. |
|
1876 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
1877 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
1878 Get sizes right in all cases. |
|
1879 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
1880 |
|
1881 * dbleQR.cc (QR::init): New function. |
|
1882 (QR::QR): Use it. Use initializer list too. |
|
1883 * dbleQRP.cc (QRP::init): New function. |
|
1884 Get sizes right in all cases. |
|
1885 (QR::QRP): Use it. Use initializer list too. |
|
1886 |
2759
|
1887 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1888 |
|
1889 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
1890 Recognize "vaxg", not "vax_g". |
|
1891 |
2713
|
1892 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1893 |
2714
|
1894 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
1895 dimension in check for colon equivalent index. |
|
1896 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
1897 index whose value is 0 is also colon eqivalent for n == 1. |
|
1898 |
2713
|
1899 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
1900 system-specific tests first. |
|
1901 |
2709
|
1902 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
1903 |
|
1904 * Version 2.0.4 released. |
|
1905 |
|
1906 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1907 |
|
1908 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
1909 |
2693
|
1910 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
1911 |
|
1912 * Version 2.0.3 released. |
|
1913 |
2686
|
1914 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1915 |
|
1916 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
1917 |
2673
|
1918 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1919 |
2676
|
1920 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
1921 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
1922 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
1923 (stamp-picdir): Silence noise about making pic. |
|
1924 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
1925 |
2673
|
1926 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
1927 Fix typo in last change. |
|
1928 |
|
1929 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
1930 Convert from friend (moved from dColVector.cc). |
|
1931 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
1932 Likewise (moved from dMatrix.cc). |
|
1933 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
1934 Likewise (moved from dRowVector.cc). |
|
1935 |
|
1936 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
1937 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
1938 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
1939 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
1940 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
1941 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
1942 |
|
1943 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
1944 * dMatrix.cc (Matrix::apply): Likewise. |
|
1945 * dRowVector.cc (RowVector::apply): Likewise. |
|
1946 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
1947 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
1948 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
1949 |
2668
|
1950 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1951 |
|
1952 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
1953 |
|
1954 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1955 |
|
1956 * file-ops.cc (oct_unlink (const string&, string&)): |
|
1957 New two-arg version. |
|
1958 (oct_rmdir (const string&, string&)): New two-arg version. |
|
1959 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
1960 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
1961 (oct_rename (const string&, const string&, string&)): |
|
1962 New three-arg version. |
|
1963 |
2663
|
1964 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1965 |
|
1966 * idx-vector.h (idx_vector::orig_empty): New function. |
|
1967 |
|
1968 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
1969 Don't always resize to [](0x0) if one of the indices is empty or |
|
1970 zero. |
|
1971 |
2658
|
1972 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1973 |
|
1974 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
1975 Set line_in_file here too. |
|
1976 (command_history::read_range): New arg, must_exist. |
|
1977 |
2651
|
1978 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1979 |
|
1980 * f2c-main.c: Change C++-style comments to C-style comments. |
|
1981 |
2638
|
1982 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1983 |
|
1984 * Makefile.in (install-inc): Create a relative symbolic link. |
|
1985 |
2634
|
1986 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1987 |
|
1988 * Version 2.0.2 released. |
|
1989 |
2624
|
1990 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1991 |
|
1992 * Makefile.in (bin-dist): New target. |
|
1993 |
2621
|
1994 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
1995 |
|
1996 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
1997 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
1998 |
2613
|
1999 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2000 |
|
2001 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
2002 If the number of columns is zero, also set the number of rows to zero. |
|
2003 (charMatrix::charMatrix (const char *)): Likewise. |
|
2004 |
2602
|
2005 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2006 |
|
2007 * Version 2.0.1 released. |
|
2008 |
2601
|
2009 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2010 |
|
2011 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
2012 columns for resizing when the number of rows is specified but the |
|
2013 number of columns is not. |
|
2014 |
2598
|
2015 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2016 |
2599
|
2017 * Range.cc (operator -): New function. |
|
2018 |
2598
|
2019 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
2020 |
2589
|
2021 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2022 |
|
2023 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
2024 know if the assignment conforms. |
|
2025 |
2583
|
2026 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2027 |
|
2028 * Version 2.0 released. |
|
2029 |
2570
|
2030 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2031 |
2575
|
2032 * Array2-idx.h (assign): If index is a colon, set number of |
|
2033 elements to the lhs dimension if the lhs dimension is greater than |
|
2034 zero. Otherwise, set it to the rhs dimension. |
|
2035 |
|
2036 * Version 1.94. |
|
2037 |
2570
|
2038 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
2039 If index is colon, set number of elements to lhs dimension, not |
|
2040 rhs dimension. |
|
2041 |
2563
|
2042 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2043 |
2566
|
2044 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
2045 * sun-utils.cc: Delete. |
|
2046 * f2c-main.c: New file |
|
2047 |
|
2048 * Makefile.in: Fix file name lists. |
|
2049 |
2563
|
2050 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
2051 |
2561
|
2052 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2053 |
|
2054 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
2055 Create result using Complex constructor, not multiplication. |
|
2056 Order elements as they are returned from Eispack. |
|
2057 |
2559
|
2058 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2059 |
2560
|
2060 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
2061 Only include nan.h if SCO is defined. Define _IEEE before |
|
2062 including it and undefine it afterward. |
|
2063 [SCO] (isnan): Don't mistake Inf as NaN. |
|
2064 |
2559
|
2065 * Array-idx.h (assign): Only resize if assignment conforms. |
|
2066 |
2551
|
2067 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2068 |
|
2069 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
2070 * lo-error.h: Delete (moved to libcruft/misc). |
|
2071 |
|
2072 * Version 1.93. |
|
2073 |
2546
|
2074 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2075 |
2549
|
2076 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
2077 be the same as they are in fnmatch.h. |
|
2078 |
2546
|
2079 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
2080 |
|
2081 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
2082 (SOURCES): Delete f77-fcn.c. |
|
2083 |
2522
|
2084 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2085 |
|
2086 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
2087 |
2512
|
2088 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2089 |
|
2090 * Version 1.92. |
|
2091 |
2508
|
2092 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2093 |
2512
|
2094 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
2095 lines that have only carriage return or newline. |
|
2096 |
2508
|
2097 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
2098 |
2500
|
2099 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2100 |
|
2101 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
2102 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
2103 |
2493
|
2104 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2105 |
|
2106 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
2107 from vectors of C strings. |
|
2108 |
|
2109 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
2110 vector. |
|
2111 (glob_match::match): Allow match string to be a string vector. |
|
2112 (glob_match::glob): New function. |
|
2113 |
|
2114 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
2115 |
|
2116 * Array-b.cc: New file. |
|
2117 * Makefile.in (TI_SRC): Add it to the list. |
|
2118 |
2492
|
2119 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2120 |
|
2121 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
2122 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
2123 want the version from the build directory. (Maybe this should be |
|
2124 done for all the include files, not just those that are |
|
2125 auto-generated? Hmm.) |
|
2126 |
2481
|
2127 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2128 |
2482
|
2129 * Version 1.91. |
|
2130 |
2481
|
2131 * Array3.cc (Array3<T>::resize): Make it work. |
|
2132 |
|
2133 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2134 |
|
2135 * oct-alloc.h, oct-alloc.cc: New files. |
|
2136 * Makefile.in: Add them to the lists. |
|
2137 |
|
2138 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2139 |
|
2140 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
2141 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
2142 |
2466
|
2143 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2144 |
|
2145 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
2146 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
2147 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
2148 underlying macro is not defined. |
|
2149 |
|
2150 * oct-math.h (lgamma, gamma): Delete declarations. |
|
2151 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
2152 Protect declarations with #ifdef HAVE_*. |
|
2153 |
2440
|
2154 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2155 |
2452
|
2156 * Version 1.90. |
|
2157 |
|
2158 * Makefile.in (DISTFILES): Add ChangeLog. |
|
2159 |
2444
|
2160 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
2161 |
|
2162 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
2163 |
2443
|
2164 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
2165 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
2166 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
2167 |
2440
|
2168 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
2169 since that is now accepatble syntax, even for built-in types. |
|
2170 * Array2.h (T Array2<T>::checkelem): Likewise |
|
2171 |
2433
|
2172 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2173 |
|
2174 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
2175 message and return -1. |
|
2176 |
2428
|
2177 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2178 |
2431
|
2179 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
2180 cast them to const string * in the body of the function. |
|
2181 |
|
2182 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
2183 string from buf. |
|
2184 |
2428
|
2185 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
2186 GCC_ATTRIBUTE_UNUSED. |
|
2187 * Array2.h (Array2::checkelem): Likewise. |
|
2188 |
2424
|
2189 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2190 |
|
2191 * Quad.h (Quad): Define virtual destructor. |
|
2192 |
2408
|
2193 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2194 |
|
2195 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
2196 |
2401
|
2197 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2198 |
|
2199 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
2200 and MAIN__ extern "C". |
|
2201 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
2202 |
2391
|
2203 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2204 |
|
2205 * MArray-misc.cc: New file. |
|
2206 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
2207 |
|
2208 * mx-inlines.cc (equal): Return bool, not int. |
|
2209 |
|
2210 * idx-vector.h (idx_vector (double)): New constructor. |
|
2211 |
|
2212 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
2213 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
2214 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
2215 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
2216 CRowVector.cc: Logical operators return bool, not int. |
|
2217 |
|
2218 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
2219 New function. |
|
2220 |
|
2221 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
2222 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
2223 Matrix::all_elements_are_inf_or_nan): New functions. |
|
2224 |
|
2225 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
2226 |
|
2227 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
2228 for errors. Simplify macros by converting FCN to string for error |
|
2229 messages. |
|
2230 |
|
2231 * Array-idx.h (Array<T>::index): New function. Don't call |
|
2232 clear_index() here. |
|
2233 (Array<T>::value): Call it, do call clear_index() here. |
|
2234 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
2235 one and two arg index functions. |
|
2236 |
|
2237 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2238 |
|
2239 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
2240 separate implementation file. |
|
2241 |
2354
|
2242 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2243 |
2358
|
2244 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
2245 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
2246 |
2356
|
2247 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
2248 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
2249 them uniq. |
|
2250 |
2354
|
2251 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
2252 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
2253 Rewrite. Also return index as a reference arg. |
|
2254 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
2255 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
2256 Delete. |
|
2257 |
|
2258 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
2259 Matrix::column_max, Matrix::column_min): |
|
2260 Rewrite. Also return index as a reference arg. |
|
2261 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
2262 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
2263 |
|
2264 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2265 |
|
2266 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
2267 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
2268 Matrix::column_min_loc, Matrix::column_max, |
|
2269 Matrix::column_max_loc): Ignore leading NaNs. |
|
2270 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
2271 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
2272 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
2273 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
2274 leading NaNs. |
|
2275 |
2352
|
2276 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2277 |
|
2278 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
2279 starting at n, not 0. |
|
2280 |
2349
|
2281 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2282 |
|
2283 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
2284 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
2285 |
|
2286 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
2287 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
2288 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
2289 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
2290 New constructors. |
|
2291 |
|
2292 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
2293 New constructor. |
|
2294 |
2343
|
2295 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2296 |
|
2297 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
2298 derivative vectors are the same size. |
2344
|
2299 * DASSL.cc (do_integrate): Likewise. |
2343
|
2300 |
2330
|
2301 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2302 |
|
2303 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
2304 iostreams and handler data format conversions. Delete old methods |
|
2305 that used stdio. |
|
2306 |
|
2307 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
2308 |
|
2309 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2310 |
|
2311 * mach-info.h: Rename from float-fmt.h. |
|
2312 * mach-info.cc: Rename from float-fmt.cc. |
|
2313 Handle machine information using a singlton class. |
|
2314 * Makefile.in: Update appropriate lists. |
|
2315 |
|
2316 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2317 |
|
2318 * Array-flags.cc: Provide definitions for the flags even if |
|
2319 OCTAVE_SOURCE is not defined. |
|
2320 |
|
2321 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
2322 operator(), not elem(). |
|
2323 * Array3.h: Move indexing methods here from Array3.cc. |
|
2324 |
|
2325 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2326 |
|
2327 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
2328 |
|
2329 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
2330 INSTALL_DATA for shared libs. |
|
2331 |
|
2332 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2333 |
|
2334 * Quad.cc: Include lo-error.h here too. |
|
2335 |
|
2336 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2337 |
|
2338 * file-ops.h: Include sys/types.h here. |
|
2339 |
|
2340 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2341 |
|
2342 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
2343 |
|
2344 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
2345 elements in result. |
|
2346 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
2347 rows and columns in result. |
|
2348 |
|
2349 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2350 |
|
2351 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
2352 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
2353 |
|
2354 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2355 |
|
2356 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
2357 |
|
2358 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2359 |
|
2360 * Makefile.in (uninstall): Also delete shared library. |
|
2361 Split install into install-libs and install-includes. |
|
2362 (install-inc): If linkdir is a directory, leave it alone. |
|
2363 |
|
2364 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
2365 |
|
2366 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2367 |
|
2368 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
2369 * Array2-idx.h (assign): Likewise. |
|
2370 |
|
2371 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2372 |
|
2373 * Array2.cc (Array2<T>::range_error): New functions. |
|
2374 |
|
2375 * Array.h (class Array<T>): elem() and operator() are now |
|
2376 equivalent, and do bounds checking by default. |
|
2377 * Array2.cc (class Array2<T>): Likewise. |
|
2378 |
|
2379 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2380 |
|
2381 * Makefile.in (maintainer-clean, distclean): Also delete |
|
2382 stamp-picdir, stamp-shared, and pic directory. |
|
2383 (stamp-prereq): New target. |
|
2384 |
|
2385 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2386 |
|
2387 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
2388 New function. |
|
2389 |
|
2390 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
2391 * Array.h (Array<T>::checkelem): Use them. |
|
2392 |
|
2393 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
2394 elements too. |
|
2395 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
2396 |
|
2397 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
2398 |
|
2399 * Makefile.in (distclean): Delete so_locations, which is created |
|
2400 on DEC Alpha systems. |
|
2401 |
|
2402 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2403 |
|
2404 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
2405 already defined. |
|
2406 |
|
2407 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2408 |
|
2409 * pathsearch.cc: Include config.h. |
|
2410 |
|
2411 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2412 |
|
2413 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
2414 allow M(I, J) = scalar if I or J is empty. |
|
2415 |
|
2416 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
2417 and Array3-idx.h). |
|
2418 |
|
2419 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2420 |
|
2421 * lo-error.h: Make comments C friendly. |
|
2422 |
|
2423 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2424 |
|
2425 * Array2.h (make_unique): Move all indexing functions here. |
|
2426 * Array2.cc: From here. |
|
2427 |
|
2428 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
2429 whether operator() calls elem or checkelem. |
|
2430 |
|
2431 * Array.h (make_unique): New private function. |
|
2432 Move all indexing functions here. |
|
2433 * Array.cc: From here. |
|
2434 |
|
2435 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
2436 it too. |
|
2437 |
|
2438 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
2439 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
2440 MArray-C.cc: Include config.h. |
|
2441 |
|
2442 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
2443 Don't define HEAVYWEIGHT_INDEXING here. |
|
2444 |
|
2445 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2446 |
|
2447 * base-lu.h, base-lu.cc: New files. |
|
2448 * Makefile.in: Add them to the appropriate lists. |
|
2449 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
2450 |
|
2451 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2452 |
|
2453 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
2454 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
2455 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
2456 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
2457 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
2458 |
|
2459 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
2460 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
2461 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
2462 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
2463 Simplify using new macros. |
|
2464 |
|
2465 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2466 |
|
2467 * Makefile.in (install): If $(includedir) ends in version string, |
|
2468 make link to name that does not include version info. |
|
2469 |
|
2470 * lo-ieee.cc: Include <cmath> here. |
|
2471 |
|
2472 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2473 |
|
2474 * lo-ieee.cc, lo-ieee.h: New files. |
|
2475 * lo-mappers.cc, lo-mappers.h: New files. |
|
2476 * lo-utils.cc, lo-utils.h: New files. |
|
2477 * Makefile.in: Add them to the appropriate lists. |
|
2478 |
|
2479 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2480 |
|
2481 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
2482 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
2483 |
|
2484 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
2485 float-fmt.cc: New files. |
|
2486 * Makefile.in: Include them in the appropriate lists. |
|
2487 |
|
2488 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2489 |
|
2490 * dMatrix.cc (Qzval): New function. |
|
2491 |
|
2492 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2493 |
|
2494 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
2495 char*. |
|
2496 |
|
2497 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
2498 Use F77_XFCN to call Fortran subroutine. |
|
2499 * dColVector.cc, CColVector.cc: Likewise. |
|
2500 * dRowVector.cc, CRowVector.cc: Likewise. |
|
2501 * NPSOL.h, NPSOL.cc: Likewise. |
|
2502 * CmplxCHOL.cc: Likewise. |
|
2503 * dbleCHOL.cc: Likewise. |
|
2504 * CMatrix.cc: Likewise. |
|
2505 * dMatrix.cc: Likewise. |
|
2506 * QPSOL.cc: Likewise. |
|
2507 * LSODE.cc: Likewise. |
|
2508 |
|
2509 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2510 |
|
2511 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
2512 |
|
2513 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
2514 workspace. Use F77_XFCN to call Fortran subroutine. |
|
2515 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
2516 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
2517 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
2518 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
2519 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
2520 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
2521 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
2522 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
2523 * EIG.h, EIG.cc; Likewise. |
|
2524 * CollocWt.cc: Likewise. |
|
2525 * NLEqn.cc: Likewise. |
|
2526 * Quad.cc: Likewise. |
|
2527 |
|
2528 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2529 |
|
2530 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
2531 Use F77_XFCN to call Fortran subroutine. |
|
2532 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
2533 * dbleQR.h, dbleQR.cc: Ditto. |
|
2534 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
2535 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
2536 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
2537 |
|
2538 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
2539 (struct DIR): delete forward declaration. |
|
2540 (dir_entry::operator = (const dir_entry$)): Protect against |
|
2541 copying same object. |
|
2542 * dir-ops.cc: Cast dir appropriately. |
|
2543 |
|
2544 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2545 |
|
2546 * lo-error.cc: Moved to libcruft/misc. |
|
2547 * Makefile.in: Delete it from the list. |
|
2548 |
|
2549 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
2550 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
2551 |
|
2552 * Array-flags.h: New file. |
|
2553 * Array-idx.h: Include it here. |
|
2554 * Makefile.in (MATRIX_INC): Add it to the list. |
|
2555 |
|
2556 * Array-flags.cc: Renamed from Array-ext.cc. |
|
2557 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
2558 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
2559 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
2560 (liboctave_rre_flag): Renamed from rre_flag. |
|
2561 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
2562 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
2563 |
|
2564 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
2565 (stamp-shared): Use them here. |
|
2566 |
|
2567 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2568 |
|
2569 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
2570 argument value. |
|
2571 |
|
2572 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2573 |
|
2574 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
2575 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
2576 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
2577 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
2578 Clean up constructors, assigment operator. |
|
2579 |
|
2580 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2581 |
|
2582 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
2583 Check f77_exception_encountered on return. |
|
2584 |
|
2585 * f77-fcn.c (f77_exception_encountered): New variable. |
|
2586 (F77_XFCN): Set it. |
|
2587 * f77-fcn.h: Provide declaration. |
|
2588 |
|
2589 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
2590 |
|
2591 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
2592 |
|
2593 * NLEqn.h (NLEqn_options::set_options): New function. |
|
2594 * Quad.h (Quad_options::set_options): Likewise. |
|
2595 |
|
2596 * LP.h (class LP): Add accessors for LP data. |
|
2597 |
|
2598 * NLEqn.h (NLEqn::n): Delete. |
|
2599 |
|
2600 * NLEqn.h (class NLEqn::n): Likewise. |
|
2601 |
|
2602 * NLP.h (class NLP): Add accessors for NLP data. |
|
2603 |
|
2604 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
2605 access functions here. |
|
2606 * NPSOL.cc.cc: From here. |
|
2607 |
|
2608 * QLD.h (class QLD): Add destructor definition. |
|
2609 * Objective.h (class Objective): Likewise. |
|
2610 * ODEFunc.h (class ODEFunc): Likewise. |
|
2611 * NLFunc.h (class NLFunc): Likewise. |
|
2612 * NLEqn.h (class NLEqn): Likewise. |
|
2613 * NLConst.h (class NLConst): Likewise. |
|
2614 * LinConst.h (class LinConst): Likewise. |
|
2615 * LSODE.h (class LSODE_options): Likewise. |
|
2616 * CollocWt.h (class CollocWt): Likewise. |
|
2617 * Bounds.h (class Bounds): Likewise. |
|
2618 |
|
2619 * QLD.cc (QLD::set_default_options): Delete. |
|
2620 |
|
2621 * QP.h (QP): Add accessors for QP data. |
|
2622 Add copy constructor, operator =, and destructor definitions. |
|
2623 |
|
2624 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
2625 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
2626 DAEFunc.h, CollocWt.h, Bounds.h: |
|
2627 Clean up constructors, assigment operator. |
|
2628 |
|
2629 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
2630 counting to avoid duplicating the data immediately. |
|
2631 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
2632 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
2633 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
2634 |
|
2635 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2636 |
|
2637 * prog-args.h (prog_args::option_argument): New enum. |
|
2638 |
|
2639 * f77-fcn.h: Rename from f77-uscore.h. |
|
2640 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
2641 * f77-fcn.c: New file. |
|
2642 * Makefile.in (SOURCES): Add it to the list. |
|
2643 |
|
2644 * ODEFunc.h: Clean up. |
|
2645 |
|
2646 * DASSL.cc, DASSL.h: New files. |
|
2647 * Makefile.in: Add them to the appropriate lists. |
|
2648 |
|
2649 * LSODE.cc, LSODE.h: New files. |
|
2650 * Makefile.in: Add them to the appropriate lists. |
|
2651 |
|
2652 * ODE.cc: Delete. |
|
2653 * Makefile.in (SOURCES): Remove from list. |
|
2654 |
|
2655 * base-de.h, DAE.cc: New files. |
|
2656 * Makefile.in: Add them to the appropriate lists. |
|
2657 * ODE.h: Only define interface for ODE classes. |
|
2658 * DAE.h: Only define interface for ODE classes. |
|
2659 |
|
2660 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
2661 (LPsolve::set_default_options)): Delete |
|
2662 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
2663 destructor. |
|
2664 |
|
2665 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
2666 |
|
2667 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
2668 (QPSOL::operator =): Call base class operator = instead of assuming |
|
2669 we know what to copy. |
|
2670 |
|
2671 * base-min.h (size): New function. |
|
2672 |
|
2673 * NLP.h (NLP::size): Delete. |
|
2674 (NLP::NLP (const NLP&)): New constructor. |
|
2675 (NLP::operator =): Call base class operator = instead of assuming |
|
2676 we know what to copy. |
|
2677 |
|
2678 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
2679 (class NPSOL): Add operator = and destructor. |
|
2680 |
|
2681 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
2682 |
|
2683 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2684 |
|
2685 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
2686 |
|
2687 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2688 |
|
2689 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
2690 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
2691 |
|
2692 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2693 |
|
2694 * prog-args.h, prog-args.cc: New files. |
|
2695 * Makefile.in: Add them to lists. |
|
2696 |
|
2697 * getopt.h, getopt.c, getopt1.c: New files. |
|
2698 * Makefile.in: Add them to the lists. |
|
2699 |
|
2700 * oct-term.h, oct-term.cc: New files. |
|
2701 * Makefile.in: Add them to the lists. |
|
2702 |
|
2703 * str-vec.cc: New file. |
|
2704 * Makefile.in (SOURCES): Add it to the list. |
|
2705 |
|
2706 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
2707 |
|
2708 * tempname.c, tempnam.c: Move here from src directory. |
|
2709 * Makefile.in: Add to lists. |
|
2710 |
|
2711 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2712 |
|
2713 * cmd-hist.h, cmd-hist.cc: New files. |
|
2714 * Makefile.in: Add them to lists. |
|
2715 |
|
2716 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2717 |
|
2718 * oct-glob.h, oct-glob.cc: New files. |
|
2719 * Makefile.in: Add them to lists. |
|
2720 |
|
2721 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2722 |
|
2723 * pathsearch.h, pathsearch.cc: New files. |
|
2724 * Makefile.in: Add them to lists. |
|
2725 |
|
2726 * dir-ops.h, dir-ops.cc: New files. |
|
2727 * sysdir.h: Move here from src directory. |
|
2728 * Makefile.in: Add them to lists. |
|
2729 |
|
2730 * Array.h (Array::qsort): Return *this, not void. |
|
2731 * str-vec.h (string_vector::qsort): Likewise. |
|
2732 |
|
2733 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
2734 unnecessary NULs. |
|
2735 |
|
2736 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2737 |
|
2738 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
2739 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
2740 Files moved here from src directory. |
|
2741 * Makefile.in: Add them to lists. Include appropriate rules. |
|
2742 |
|
2743 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
2744 Use pointers, not references (this is C code!). |
|
2745 |
|
2746 * oct-math.h: New file. |
|
2747 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
2748 Files moved here from src directory. |
|
2749 * Makefile.in: Add them to lists. |
|
2750 |
|
2751 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2752 |
|
2753 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
2754 |
|
2755 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
2756 Convert to use string class instead of char*. |
|
2757 |
|
2758 * str-vec.h, Array-str.cc: New files. |
|
2759 |
|
2760 * Array.h (Array::qsort): New function. |
|
2761 |
|
2762 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2763 |
|
2764 * Array.h: Nest ArrayRep class inside Array class. |
|
2765 Refer to ArrayRep, not ArrayRep<T>. |
|
2766 Move all ArrayRep functions inline. |
|
2767 Don't declare other Array classes as friends of ArrayRep. |
|
2768 * Array.cc: Delete ArrayRep functions. |
|
2769 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
2770 |
|
2771 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
2772 Don't instantiate ArrayRep objects. |
|
2773 |
|
2774 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2775 |
|
2776 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
2777 New constructor. |
|
2778 |
|
2779 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2780 |
|
2781 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
2782 for balance_job arg. |
|
2783 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
2784 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
2785 |
|
2786 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
2787 |
|
2788 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2789 |
|
2790 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
2791 |
|
2792 * chMatrix.cc (row_as_string): Undo previous change. |
|
2793 |
|
2794 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2795 |
|
2796 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
2797 is expected to save string if necessary. |
|
2798 |
|
2799 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2800 |
|
2801 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
2802 platforms. |
|
2803 |
|
2804 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
2805 a.rep, don't mess with count. |
|
2806 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
2807 don't do anything if reps are the same. |
|
2808 (Array3<T>& operator = (const Array3<T>&) |
|
2809 |
|
2810 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
2811 Declare private with no definition to prevent misuse. |
|
2812 |
|
2813 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
2814 Get range check right. |
|
2815 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
2816 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
2817 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
2818 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
2819 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
2820 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
2821 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
2822 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
2823 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
2824 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
2825 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
2826 * dColVector.cc |
|
2827 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
2828 * CRowVector.cc |
|
2829 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
2830 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
2831 * CColVector.cc |
|
2832 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
2833 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
2834 |
|
2835 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
2836 Also fill in zeros, not just the diagonal. |
|
2837 |
|
2838 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
2839 Use END parameter properly. |
|
2840 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
2841 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
2842 |
|
2843 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
2844 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
2845 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
2846 Don't copy count. Set it to 1. |
|
2847 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
2848 |
|
2849 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
2850 don't set rep->count to 1 here (now handled by ArrayRep |
|
2851 constructors). |
|
2852 (Array<T>::Array (void)): Ditto. |
|
2853 (Array<T>::Array (int)): Ditto. |
|
2854 (Array<T>::T& elem (int)): Ditto. |
|
2855 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
2856 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
2857 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
2858 (Array<T>::resize (int)): Ditto. |
|
2859 (Array<T>::resize (int, const T&)) :Ditto. |
|
2860 (Array<T>::fortran_vec (void)): Ditto. |
|
2861 (Array2<T>::resize (int, int)): Ditto. |
|
2862 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
2863 (DiagArray<T>::resize (int, int)): Ditto. |
|
2864 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
2865 |
|
2866 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2867 |
|
2868 * Array-ch.cc: Rename from Array-c.cc. |
|
2869 * MArray-ch.cc: Rename from MArray-c.cc. |
|
2870 * chMatrix.cc: Rename from cMatrix.cc. |
|
2871 * chMatrix.h: Rename from cMatrix.h. |
|
2872 * Makefile.in (TI_SRC): Use new names here. |
|
2873 * mx-base.h: Likewise. |
|
2874 |
|
2875 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2876 |
|
2877 * Makefile.in: Handle shared libraries. |
|
2878 |
|
2879 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2880 |
|
2881 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
2882 Correctly compute length of return value. Correct rows and |
|
2883 columns in zgemv call. |
|
2884 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
2885 |
|
2886 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2887 |
|
2888 * Makefile.in (stamp-picdir): New target. |
|
2889 (all): Depend on it. |
|
2890 |
|
2891 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2892 |
|
2893 * Makefile.in (INCLUDES): Remove QLD.h. |
|
2894 (SOURCES): Remove QLD.cc. |
|
2895 |
|
2896 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2897 |
|
2898 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
2899 If force is nonzero, invert even if matrix is singular. |
|
2900 (ComplexMatrix::inverse): Likewise. |
|
2901 |
|
2902 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
2903 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
2904 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
2905 Include "oct-cmplx.h" instead of <Complex.h>. |
|
2906 |
|
2907 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
2908 for class Complex. |
|
2909 |
|
2910 * oct-cmplx.h: New file. |
|
2911 * Makefile.in (INCLUDES): Add it to the list. |
|
2912 |
|
2913 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
2914 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
2915 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
2916 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
2917 Avoid g++ bugs. |
|
2918 |
|
2919 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2920 |
|
2921 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
2922 |
|
2923 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
2924 |
|
2925 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2926 |
|
2927 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
2928 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
2929 |
|
2930 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2931 |
|
2932 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
2933 index vector object with Array, not ArrayRep. |
|
2934 |
|
2935 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2936 |
|
2937 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
2938 if index is a colon and resizing is maybe needed. |
|
2939 |
|
2940 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2941 |
|
2942 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
2943 if we have a vector of 1's. |
|
2944 |
|
2945 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
2946 current orientation, require index and rhs to conform unless |
|
2947 do_fortran_indexing flag is set. |
|
2948 |
|
2949 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2950 |
|
2951 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
2952 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
2953 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
2954 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
2955 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
2956 Massive changes to support additional data types. Only charMatrix |
|
2957 is currently used in Octave. |
|
2958 |
|
2959 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2960 |
|
2961 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
2962 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
2963 Simply call Array2<Complex> version. |
|
2964 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
2965 call Array2<double> version. |
|
2966 |
|
2967 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
2968 |
|
2969 * Array.h, Array.cc: Massive overhaul to support new way of |
|
2970 handling indexing. |
|
2971 * idx-vector.h, idx-vector.cc: Likewise. |
|
2972 * Array-ext.cc, Array-idx.h: New files. |
|
2973 * Makefile.in: Add them to the appropriate lists. |
|
2974 |
|
2975 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2976 |
|
2977 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
2978 |
|
2979 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2980 |
|
2981 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
2982 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
2983 |
|
2984 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2985 |
|
2986 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
2987 |
|
2988 * Array.h: Move simple member functions here. |
|
2989 * Array.cc: From here. |
|
2990 |
|
2991 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
2992 |
|
2993 * Range.cc (tfloor, tceil, round): New static functions. |
|
2994 (Range::nelem_internal): Rewrite to use better method. |
|
2995 |
|
2996 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
2997 (type_computed): New var. |
|
2998 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
2999 Handle possible error condition. |
|
3000 (init): Allow for SVD::sigma_only, save type computed. |
|
3001 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
3002 Handle possible error condition. |
|
3003 (init): Allow for SVD::sigma_only, save type computed. |
|
3004 |
|
3005 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3006 |
|
3007 * Nearly all non-matrix .h and .cc files: |
|
3008 Move short function bodies into class declarations for inlining. |
|
3009 Generally clean up. |
|
3010 |
|
3011 * base-min.h: New file. |
|
3012 * LP.h (class LP): Derive from base_minimizer. |
|
3013 * QLP.h (class QLP): Derive from base_minimizer. |
|
3014 * NLP.h (class NLP): Derive from base_minimizer. |
|
3015 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
3016 |
|
3017 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
3018 NLFunc.cc, Objective.cc and QP.cc from list. |
|
3019 |
|
3020 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3021 |
|
3022 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
3023 (SCHUR::SCHUR): Delete unused parameter ord. |
|
3024 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
3025 |
|
3026 * CRowVector.cc |
|
3027 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
3028 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
3029 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
3030 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
3031 Actually do something. |
|
3032 |
|
3033 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
3034 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
3035 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
3036 |
|
3037 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
3038 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
3039 tolerances. |
|
3040 |
|
3041 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
3042 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
3043 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
3044 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
3045 * QPSOL.cc (qphess): Likewise. |
|
3046 |
|
3047 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3048 |
|
3049 * dMatrix.cc: Include <cstring>. |
|
3050 |
|
3051 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
3052 that return bogus values after calling the error handler. |
|
3053 |
|
3054 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3055 |
|
3056 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
3057 |
|
3058 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
3059 |
|
3060 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3061 |
|
3062 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
3063 (dassl_j): Likewise. |
|
3064 |
|
3065 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
3066 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
3067 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
3068 Update for change in for loop variable scope for gcc 2.7.0. |
|
3069 |
|
3070 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
3071 |
|
3072 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
3073 not set. |
|
3074 |
|
3075 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
3076 |
|
3077 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
3078 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
3079 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
3080 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
3081 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
3082 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
3083 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
3084 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
3085 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
3086 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
3087 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
3088 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
3089 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
3090 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
3091 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
3092 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
3093 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
3094 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
3095 NLP.h: Use pragma interface/implementation. Don't surround |
|
3096 contents in extern "C++". |
|
3097 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
3098 |
|
3099 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3100 |
|
3101 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
3102 identifiers. |
|
3103 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
3104 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
3105 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
3106 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
3107 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
3108 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
3109 Quad.cc: Change usage of F77_FCN to match new definition |
|
3110 |
|
3111 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
3112 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
3113 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
3114 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
3115 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
3116 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
3117 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
3118 args by reference instead of pointer. Change all callers. |
|
3119 |
|
3120 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3121 |
|
3122 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
3123 functions. Make += and -= operators friend functions. |
|
3124 |
|
3125 * Array.h (Array2::~Array2, Array3::~Array3, |
|
3126 DiagArray::~DiagArray): New functions. |
|
3127 |
|
3128 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3129 |
|
3130 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
3131 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
3132 |
|
3133 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
3134 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
3135 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
3136 dRowVector.h dRowVector.cc: |
|
3137 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
3138 Array2, and DiagArray2. |
|
3139 Don't use functions defined in mx-kludge.cc for arithmetic |
|
3140 like-type operations on arrays. |
|
3141 |
|
3142 * MArray.cc: Use the classes defined here like-type mathematical |
|
3143 operations on Array objects. Abuse CPP more. |
|
3144 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
3145 (EXTRAS): Delete it from this list. |
|
3146 |
|
3147 * MArray-C.cc, MArray-d.cc: New files. |
|
3148 * Makefile.in (TI_SRC): Add them to the list. |
|
3149 |
|
3150 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3151 |
|
3152 * mx-kludge.cc: Abuse CPP even more. |
|
3153 |
|
3154 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3155 |
|
3156 * Objective.h (objective_function): Add missing const. |
|
3157 (gradient_function): Likewise. |
|
3158 |
|
3159 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
3160 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
3161 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
3162 dRowVector.h dRowVector.cc: |
|
3163 Reorganize to declare and define friends where they should be, |
|
3164 based on the use of private constructors. |
|
3165 |
|
3166 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
3167 |
|
3168 * CRowVector.h (linspace): Add declaration. |
|
3169 * dRowVector.h (linspace): Likewise. |
|
3170 |
|
3171 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
3172 Force result of rcond + 1.0 to be stored. |
|
3173 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
3174 ComplexMatrix::solve): Likewise. |
|
3175 |
|
3176 See ChangeLog.1 in the top level directory for earlier changes. |