comparison liboctave/ChangeLog @ 2330:12ff450cbb1f

[project @ 1996-07-19 01:39:22 by jwe] Initial revision
author jwe
date Fri, 19 Jul 1996 01:49:31 +0000
parents
children d7592de300ea
comparison
equal deleted inserted replaced
2329:30c606bec7a8 2330:12ff450cbb1f
1 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
2
3 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use
4 iostreams and handler data format conversions. Delete old methods
5 that used stdio.
6
7 * data-conv.h, data-conv.cc (oct_data_conv): New class.
8
9 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
10
11 * mach-info.h: Rename from float-fmt.h.
12 * mach-info.cc: Rename from float-fmt.cc.
13 Handle machine information using a singlton class.
14 * Makefile.in: Update appropriate lists.
15
16 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
17
18 * Array-flags.cc: Provide definitions for the flags even if
19 OCTAVE_SOURCE is not defined.
20
21 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects
22 operator(), not elem().
23 * Array3.h: Move indexing methods here from Array3.cc.
24
25 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
26
27 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem().
28
29 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of
30 INSTALL_DATA for shared libs.
31
32 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
33
34 * Quad.cc: Include lo-error.h here too.
35
36 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
37
38 * file-ops.h: Include sys/types.h here.
39
40 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
41
42 * chMatrix.cc (charMatrix::transpose): Provide definition.
43
44 * Array-idx.h (maybe_delete_elements): Correctly compute number of
45 elements in result.
46 * Array2-idx.h (maybe_delete_elements): Likewise for number of
47 rows and columns in result.
48
49 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
50
51 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data.
52 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise.
53
54 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
55
56 * Makefile.in (install-inc): Install in octincludedir, not includedir.
57
58 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
59
60 * Makefile.in (uninstall): Also delete shared library.
61 Split install into install-libs and install-includes.
62 (install-inc): If linkdir is a directory, leave it alone.
63
64 * sun-utils.cc (MAIN__): Define for Linux/ELF systems.
65
66 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
67
68 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty.
69 * Array2-idx.h (assign): Likewise.
70
71 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
72
73 * Array2.cc (Array2<T>::range_error): New functions.
74
75 * Array.h (class Array<T>): elem() and operator() are now
76 equivalent, and do bounds checking by default.
77 * Array2.cc (class Array2<T>): Likewise.
78
79 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
80
81 * Makefile.in (maintainer-clean, distclean): Also delete
82 stamp-picdir, stamp-shared, and pic directory.
83 (stamp-prereq): New target.
84
85 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
86
87 * NPSOL.h (NPSOL_options::set_option (const char *, int)):
88 New function.
89
90 * Array.h, Array.cc (Array<T>::range_error ()): New functions.
91 * Array.h (Array<T>::checkelem): Use them.
92
93 * base-lu.h, base-lu.cc: Parameterize based on types of matrix
94 elements too.
95 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match.
96
97 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete.
98
99 * Makefile.in (distclean): Delete so_locations, which is created
100 on DEC Alpha systems.
101
102 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
103
104 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not
105 already defined.
106
107 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
108
109 * pathsearch.cc: Include config.h.
110
111 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
112
113 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't
114 allow M(I, J) = scalar if I or J is empty.
115
116 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h
117 and Array3-idx.h).
118
119 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
120
121 * lo-error.h: Make comments C friendly.
122
123 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
124
125 * Array2.h (make_unique): Move all indexing functions here.
126 * Array2.cc: From here.
127
128 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control
129 whether operator() calls elem or checkelem.
130
131 * Array.h (make_unique): New private function.
132 Move all indexing functions here.
133 * Array.cc: From here.
134
135 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference
136 it too.
137
138 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc,
139 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc,
140 MArray-C.cc: Include config.h.
141
142 * Array.h, Array2.h, DiagArray2.h, Array3.h:
143 Don't define HEAVYWEIGHT_INDEXING here.
144
145 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
146
147 * base-lu.h, base-lu.cc: New files.
148 * Makefile.in: Add them to the appropriate lists.
149 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu.
150
151 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
152
153 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h
154 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h
155 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc.
156 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h.
157 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc.
158
159 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro.
160 (INSTANTIATE_MARRAY2_FRIENDS): Likewise.
161 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise.
162 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc:
163 Simplify using new macros.
164
165 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
166
167 * Makefile.in (install): If $(includedir) ends in version string,
168 make link to name that does not include version info.
169
170 * lo-ieee.cc: Include <cmath> here.
171
172 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
173
174 * lo-ieee.cc, lo-ieee.h: New files.
175 * lo-mappers.cc, lo-mappers.h: New files.
176 * lo-utils.cc, lo-utils.h: New files.
177 * Makefile.in: Add them to the appropriate lists.
178
179 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
180
181 * dMatrix.cc (all_integers, too_large_for_float): New functions.
182 * CMatrix.cc (all_integers, too_large_for_float): New functions.
183
184 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h,
185 float-fmt.cc: New files.
186 * Makefile.in: Include them in the appropriate lists.
187
188 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
189
190 * dMatrix.cc (Qzval): New function.
191
192 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
193
194 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not
195 char*.
196
197 * DASSL.h, DASSL.cc: Do better management of temporary workspace.
198 Use F77_XFCN to call Fortran subroutine.
199 * dColVector.cc, CColVector.cc: Likewise.
200 * dRowVector.cc, CRowVector.cc: Likewise.
201 * NPSOL.h, NPSOL.cc: Likewise.
202 * CmplxCHOL.cc: Likewise.
203 * dbleCHOL.cc: Likewise.
204 * CMatrix.cc: Likewise.
205 * dMatrix.cc: Likewise.
206 * QPSOL.cc: Likewise.
207 * LSODE.cc: Likewise.
208
209 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
210
211 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1.
212
213 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary
214 workspace. Use F77_XFCN to call Fortran subroutine.
215 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise.
216 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise.
217 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise.
218 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise.
219 * CmplxHESS.h, CmplxHESS.cc: Likewise.
220 * CmplxSVD.h, CmplxSVD.cc: Likewise.
221 * dbleHESS.h, dbleHESS.cc: Likewise.
222 * dbleSVD.h, dbleSVD.cc: Likewise.
223 * EIG.h, EIG.cc; Likewise.
224 * CollocWt.cc: Likewise.
225 * NLEqn.cc: Likewise.
226 * Quad.cc: Likewise.
227
228 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
229
230 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace.
231 Use F77_XFCN to call Fortran subroutine.
232 * CmplxLU.h, CmplxLU.cc: Ditto.
233 * dbleQR.h, dbleQR.cc: Ditto.
234 * CmplxQR.h, CmplxQR.cc: Ditto.
235 * dbleQRP.h, dbleQRP.cc: Ditto.
236 * CmplxQRP.h, CmplxQRP.cc: Ditto.
237
238 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*.
239 (struct DIR): delete forward declaration.
240 (dir_entry::operator = (const dir_entry$)): Protect against
241 copying same object.
242 * dir-ops.cc: Cast dir appropriately.
243
244 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
245
246 * lo-error.cc: Moved to libcruft/misc.
247 * Makefile.in: Delete it from the list.
248
249 * f77-fcn.c (f77_context, f77_exception_encountered): Delete
250 definitions (they have been moved to libcruft/misc/f77-extern.cc).
251
252 * Array-flags.h: New file.
253 * Array-idx.h: Include it here.
254 * Makefile.in (MATRIX_INC): Add it to the list.
255
256 * Array-flags.cc: Renamed from Array-ext.cc.
257 (liboctave_dfi_flag): Renamed from dfi_flag.
258 (liboctave_pcv_flag): Renamed from pcv_flag.
259 (liboctave_pzo_flag): Renamed from pzo_flag.
260 (liboctave_rre_flag): Renamed from rre_flag.
261 * Array-idx.h: Change all uses of dfi_flag, etc.
262 * Makefile.in (MATRIX_SRC): Change file name here too.
263
264 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables.
265 (stamp-shared): Use them here.
266
267 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
268
269 * cmd-hist.cc (command_history::ignore_entries): Delete default
270 argument value.
271
272 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
273
274 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h,
275 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h,
276 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h,
277 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h:
278 Clean up constructors, assigment operator.
279
280 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
281
282 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol.
283 Check f77_exception_encountered on return.
284
285 * f77-fcn.c (f77_exception_encountered): New variable.
286 (F77_XFCN): Set it.
287 * f77-fcn.h: Provide declaration.
288
289 * QPSOL.h (QPSOL_options::set_options): Renamed from copy().
290
291 * NPSOL.h (NPSOL_options::set_options): Renamed from copy().
292
293 * NLEqn.h (NLEqn_options::set_options): New function.
294 * Quad.h (Quad_options::set_options): Likewise.
295
296 * LP.h (class LP): Add accessors for LP data.
297
298 * NLEqn.h (NLEqn::n): Delete.
299
300 * NLEqn.h (class NLEqn::n): Likewise.
301
302 * NLP.h (class NLP): Add accessors for NLP data.
303
304 * NPSOL.h (class NPSOL_options): Move constructors, set, and
305 access functions here.
306 * NPSOL.cc.cc: From here.
307
308 * QLD.h (class QLD): Add destructor definition.
309 * Objective.h (class Objective): Likewise.
310 * ODEFunc.h (class ODEFunc): Likewise.
311 * NLFunc.h (class NLFunc): Likewise.
312 * NLEqn.h (class NLEqn): Likewise.
313 * NLConst.h (class NLConst): Likewise.
314 * LinConst.h (class LinConst): Likewise.
315 * LSODE.h (class LSODE_options): Likewise.
316 * CollocWt.h (class CollocWt): Likewise.
317 * Bounds.h (class Bounds): Likewise.
318
319 * QLD.cc (QLD::set_default_options): Delete.
320
321 * QP.h (QP): Add accessors for QP data.
322 Add copy constructor, operator =, and destructor definitions.
323
324 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h,
325 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h,
326 DAEFunc.h, CollocWt.h, Bounds.h:
327 Clean up constructors, assigment operator.
328
329 * dRowVector.cc (RowVector::transpose): Use magic of reference
330 counting to avoid duplicating the data immediately.
331 * dColVector.cc (ColumnVector::transpose): Likewise.
332 * CRowVector.cc (ComplexrowVector::transpose): Likewise.
333 * CColVector.cc (ComplexColumnVector::transpose): Likewise.
334
335 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
336
337 * prog-args.h (prog_args::option_argument): New enum.
338
339 * f77-fcn.h: Rename from f77-uscore.h.
340 (F77_XFCN_ERROR, F77_XFCN): New macros.
341 * f77-fcn.c: New file.
342 * Makefile.in (SOURCES): Add it to the list.
343
344 * ODEFunc.h: Clean up.
345
346 * DASSL.cc, DASSL.h: New files.
347 * Makefile.in: Add them to the appropriate lists.
348
349 * LSODE.cc, LSODE.h: New files.
350 * Makefile.in: Add them to the appropriate lists.
351
352 * ODE.cc: Delete.
353 * Makefile.in (SOURCES): Remove from list.
354
355 * base-de.h, DAE.cc: New files.
356 * Makefile.in: Add them to the appropriate lists.
357 * ODE.h: Only define interface for ODE classes.
358 * DAE.h: Only define interface for ODE classes.
359
360 * LPsolve.cc (do_minimize): Print sorry not implemented message.
361 (LPsolve::set_default_options)): Delete
362 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and
363 destructor.
364
365 * LP.h (class LP): Add operator =, copy constructor, and destructor.
366
367 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor.
368 (QPSOL::operator =): Call base class operator = instead of assuming
369 we know what to copy.
370
371 * base-min.h (size): New function.
372
373 * NLP.h (NLP::size): Delete.
374 (NLP::NLP (const NLP&)): New constructor.
375 (NLP::operator =): Call base class operator = instead of assuming
376 we know what to copy.
377
378 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete.
379 (class NPSOL): Add operator = and destructor.
380
381 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers.
382
383 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
384
385 * Makefile.in (liboctave.a): Depend on $(PICOBJ).
386
387 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
388
389 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions.
390 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto.
391
392 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
393
394 * prog-args.h, prog-args.cc: New files.
395 * Makefile.in: Add them to lists.
396
397 * getopt.h, getopt.c, getopt1.c: New files.
398 * Makefile.in: Add them to the lists.
399
400 * oct-term.h, oct-term.cc: New files.
401 * Makefile.in: Add them to the lists.
402
403 * str-vec.cc: New file.
404 * Makefile.in (SOURCES): Add it to the list.
405
406 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc.
407
408 * tempname.c, tempnam.c: Move here from src directory.
409 * Makefile.in: Add to lists.
410
411 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
412
413 * cmd-hist.h, cmd-hist.cc: New files.
414 * Makefile.in: Add them to lists.
415
416 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
417
418 * oct-glob.h, oct-glob.cc: New files.
419 * Makefile.in: Add them to lists.
420
421 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
422
423 * pathsearch.h, pathsearch.cc: New files.
424 * Makefile.in: Add them to lists.
425
426 * dir-ops.h, dir-ops.cc: New files.
427 * sysdir.h: Move here from src directory.
428 * Makefile.in: Add them to lists.
429
430 * Array.h (Array::qsort): Return *this, not void.
431 * str-vec.h (string_vector::qsort): Likewise.
432
433 * chMatrix.cc (row_as_string): Resize result to eliminate
434 unnecessary NULs.
435
436 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
437
438 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h,
439 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c:
440 Files moved here from src directory.
441 * Makefile.in: Add them to lists. Include appropriate rules.
442
443 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c:
444 Use pointers, not references (this is C code!).
445
446 * oct-math.h: New file.
447 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c:
448 Files moved here from src directory.
449 * Makefile.in: Add them to lists.
450
451 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
452
453 * idx-vector.cc (make_uniq): Fix major brain-o.
454
455 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc:
456 Convert to use string class instead of char*.
457
458 * str-vec.h, Array-str.cc: New files.
459
460 * Array.h (Array::qsort): New function.
461
462 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
463
464 * Array.h: Nest ArrayRep class inside Array class.
465 Refer to ArrayRep, not ArrayRep<T>.
466 Move all ArrayRep functions inline.
467 Don't declare other Array classes as friends of ArrayRep.
468 * Array.cc: Delete ArrayRep functions.
469 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>.
470
471 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc:
472 Don't instantiate ArrayRep objects.
473
474 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
475
476 * chMatrix.cc (charMatrix::charMatrix (const string&)):
477 New constructor.
478
479 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
480
481 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char*
482 for balance_job arg.
483 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise.
484 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise.
485
486 * chMatrix.cc (row_as_string): Return string, not const char*.
487
488 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
489
490 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs.
491
492 * chMatrix.cc (row_as_string): Undo previous change.
493
494 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
495
496 * chMatrix.cc (row_as_string): Do memory management here. Caller
497 is expected to save string if necessary.
498
499 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu>
500
501 * Array.h (class DiagArray): Enable nested Proxy class for all
502 platforms.
503
504 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep ==
505 a.rep, don't mess with count.
506 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise,
507 don't do anything if reps are the same.
508 (Array3<T>& operator = (const Array3<T>&)
509
510 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)):
511 Declare private with no definition to prevent misuse.
512
513 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)):
514 Get range check right.
515 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto.
516 (Matrix::insert (const ColumnVector&, int, int)): Ditto.
517 (Matrix::insert (const DiagMatrix&, int, int)): Ditto.
518 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto.
519 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto.
520 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto.
521 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto.
522 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto.
523 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto.
524 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto.
525 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto.
526 * dColVector.cc
527 (ColumnVector::insert (const ColumnVector&, int)): Ditto.
528 * CRowVector.cc
529 (ComplexRowVector::insert (const RowVector&, int)): Ditto.
530 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto.
531 * CColVector.cc
532 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto.
533 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto.
534
535 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)):
536 Also fill in zeros, not just the diagonal.
537
538 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)):
539 Use END parameter properly.
540 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto.
541 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto.
542
543 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here.
544 (ArrayRep<T>::ArrayRep (T *, int)): Likewise.
545 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)):
546 Don't copy count. Set it to 1.
547 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here.
548
549 * Array.h (Array<T>::Array (T *, int)): After constructing rep,
550 don't set rep->count to 1 here (now handled by ArrayRep
551 constructors).
552 (Array<T>::Array (void)): Ditto.
553 (Array<T>::Array (int)): Ditto.
554 (Array<T>::T& elem (int)): Ditto.
555 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto.
556 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto.
557 * Array.cc: (Array<T>::Array (int, const T&)): Ditto.
558 (Array<T>::resize (int)): Ditto.
559 (Array<T>::resize (int, const T&)) :Ditto.
560 (Array<T>::fortran_vec (void)): Ditto.
561 (Array2<T>::resize (int, int)): Ditto.
562 (Array2<T>::resize (int, int, const T&)): Ditto.
563 (DiagArray<T>::resize (int, int)): Ditto.
564 (DiagArray<T>::resize (int, int, const T&)): Ditto.
565
566 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
567
568 * Array-ch.cc: Rename from Array-c.cc.
569 * MArray-ch.cc: Rename from MArray-c.cc.
570 * chMatrix.cc: Rename from cMatrix.cc.
571 * chMatrix.h: Rename from cMatrix.h.
572 * Makefile.in (TI_SRC): Use new names here.
573 * mx-base.h: Likewise.
574
575 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
576
577 * Makefile.in: Handle shared libraries.
578
579 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
580
581 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)):
582 Correctly compute length of return value. Correct rows and
583 columns in zgemv call.
584 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise.
585
586 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
587
588 * Makefile.in (stamp-picdir): New target.
589 (all): Depend on it.
590
591 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
592
593 * Makefile.in (INCLUDES): Remove QLD.h.
594 (SOURCES): Remove QLD.cc.
595
596 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu>
597
598 * dMatrix.cc (Matrix::inverse): New arg, force.
599 If force is nonzero, invert even if matrix is singular.
600 (ComplexMatrix::inverse): Likewise.
601
602 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc,
603 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc,
604 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h:
605 Include "oct-cmplx.h" instead of <Complex.h>.
606
607 * mx-defs.h: Include oct-cmplx.h in place of forward declaration
608 for class Complex.
609
610 * oct-cmplx.h: New file.
611 * Makefile.in (INCLUDES): Add it to the list.
612
613 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len.
614 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count.
615 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val.
616 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print):
617 Avoid g++ bugs.
618
619 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu>
620
621 * Array-idx.h (maybe_delete_elements): Give useful error message.
622
623 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h.
624
625 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu>
626
627 * CDiagMatrix.cc (inverse): Return retval, not *this.
628 * dDiagMatrix.cc (inverse): Use same method as for Complex case.
629
630 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu>
631
632 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep
633 index vector object with Array, not ArrayRep.
634
635 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu>
636
637 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail
638 if index is a colon and resizing is maybe needed.
639
640 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu>
641
642 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true
643 if we have a vector of 1's.
644
645 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no
646 current orientation, require index and rhs to conform unless
647 do_fortran_indexing flag is set.
648
649 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu>
650
651 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h,
652 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h,
653 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc,
654 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc,
655 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc:
656 Massive changes to support additional data types. Only charMatrix
657 is currently used in Octave.
658
659 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu>
660
661 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function.
662 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int):
663 Simply call Array2<Complex> version.
664 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just
665 call Array2<double> version.
666
667 * Array-C.cc, Array-d.cc: Instantiate new assign functions too.
668
669 * Array.h, Array.cc: Massive overhaul to support new way of
670 handling indexing.
671 * idx-vector.h, idx-vector.cc: Likewise.
672 * Array-ext.cc, Array-idx.h: New files.
673 * Makefile.in: Add them to the appropriate lists.
674
675 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu>
676
677 * Range.cc (nelem_internal): Use tfloor here, not round.
678
679 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu>
680
681 * idx-vector.h, idx-vector.cc: New files, moved from ../src.
682 * Makefile.in (SOURCES, INCLUDES): Include them in the lists.
683
684 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu>
685
686 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning.
687
688 * Array.h: Move simple member functions here.
689 * Array.cc: From here.
690
691 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu>
692
693 * Range.cc (tfloor, tceil, round): New static functions.
694 (Range::nelem_internal): Rewrite to use better method.
695
696 * dbleSVD.h (SVD::type): New item, sigma_only.
697 (type_computed): New var.
698 * dbleSVD.cc (left_singular_matrix, right_singular_matrix):
699 Handle possible error condition.
700 (init): Allow for SVD::sigma_only, save type computed.
701 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix):
702 Handle possible error condition.
703 (init): Allow for SVD::sigma_only, save type computed.
704
705 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu>
706
707 * Nearly all non-matrix .h and .cc files:
708 Move short function bodies into class declarations for inlining.
709 Generally clean up.
710
711 * base-min.h: New file.
712 * LP.h (class LP): Derive from base_minimizer.
713 * QLP.h (class QLP): Derive from base_minimizer.
714 * NLP.h (class NLP): Derive from base_minimizer.
715 * Makefile.in (INCLUDES): Add base-min.h to the list.
716
717 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc,
718 NLFunc.cc, Objective.cc and QP.cc from list.
719
720 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu>
721
722 * dbleSCHUR.cc (select_ana): Remove name of unused parameter.
723 (SCHUR::SCHUR): Delete unused parameter ord.
724 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise.
725
726 * CRowVector.cc
727 (ComplexRowVector::operator+ (const Complex&, const RowVector&),
728 (ComplexRowVector::operator- (const Complex&, const RowVector&),
729 (ComplexRowVector::operator* (const Complex&, const RowVector&),
730 (ComplexRowVector::operator/ (const Complex&, const RowVector&)):
731 Actually do something.
732
733 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars.
734 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise.
735 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise.
736
737 * Quad.cc (Quad_options::Quad_options (double, double)): New function.
738 * (Quad::Quad (integrand_fcn, double, double): Properly initialize
739 tolerances.
740
741 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters.
742 * LPsolve.cc (LPsolve::minimize): Likewise.
743 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise.
744 * ODE.cc (lsode_f, lsode_j): Likewise.
745 * QPSOL.cc (qphess): Likewise.
746
747 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu>
748
749 * dMatrix.cc: Include <cstring>.
750
751 * Array.cc: Try harder to avoid warnings from gcc in functions
752 that return bogus values after calling the error handler.
753
754 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu>
755
756 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'.
757
758 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list.
759
760 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu>
761
762 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters.
763 (dassl_j): Likewise.
764
765 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc,
766 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc,
767 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h:
768 Update for change in for loop variable scope for gcc 2.7.0.
769
770 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu>
771
772 * Makefile.in: Only include dependency files if $(omit_deps) is
773 not set.
774
775 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu)
776
777 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h
778 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h
779 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h
780 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h
781 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h
782 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h
783 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h
784 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h
785 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc
786 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc
787 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc
788 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc
789 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc
790 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc
791 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc
792 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc
793 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc
794 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h
795 NLP.h: Use pragma interface/implementation. Don't surround
796 contents in extern "C++".
797 * lo-error.h sun-utils.h: Don't surround contents in extern "C++".
798
799 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu>
800
801 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase
802 identifiers.
803 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc
804 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc
805 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc
806 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc
807 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc
808 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc
809 Quad.cc: Change usage of F77_FCN to match new definition
810
811 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc
812 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc
813 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc
814 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc
815 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc
816 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc
817 Quad.cc: Where appropriate, declare Fortran subroutines to take
818 args by reference instead of pointer. Change all callers.
819
820 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu>
821
822 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New
823 functions. Make += and -= operators friend functions.
824
825 * Array.h (Array2::~Array2, Array3::~Array3,
826 DiagArray::~DiagArray): New functions.
827
828 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu>
829
830 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc.
831 (MATRIX_INC): Don't distribute mx-kludge.h.
832
833 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc
834 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h
835 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc
836 dRowVector.h dRowVector.cc:
837 Derive classes from MArray, MArray2, and MDiagArray, not Array,
838 Array2, and DiagArray2.
839 Don't use functions defined in mx-kludge.cc for arithmetic
840 like-type operations on arrays.
841
842 * MArray.cc: Use the classes defined here like-type mathematical
843 operations on Array objects. Abuse CPP more.
844 * Makefile.in (TEMPLATE_SRC): Add it to the list.
845 (EXTRAS): Delete it from this list.
846
847 * MArray-C.cc, MArray-d.cc: New files.
848 * Makefile.in (TI_SRC): Add them to the list.
849
850 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu>
851
852 * mx-kludge.cc: Abuse CPP even more.
853
854 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu>
855
856 * Objective.h (objective_function): Add missing const.
857 (gradient_function): Likewise.
858
859 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc
860 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h
861 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc
862 dRowVector.h dRowVector.cc:
863 Reorganize to declare and define friends where they should be,
864 based on the use of private constructors.
865
866 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu>
867
868 * CRowVector.h (linspace): Add declaration.
869 * dRowVector.h (linspace): Likewise.
870
871 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve):
872 Force result of rcond + 1.0 to be stored.
873 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant,
874 ComplexMatrix::solve): Likewise.
875
876 See ChangeLog.1 in the top level directory for earlier changes.