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