6388
|
1 2007-03-07 John W. Eaton <jwe@octave.org> |
|
2 |
|
3 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
|
4 const T&)): Handle case of more indices than dimensions. |
|
5 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more |
|
6 cases to be handled by assignN. |
|
7 (assignN (Array<LT>&, const Array<RT>&, const LT&)): |
|
8 Special cases for 2-d array assignments for speed. |
|
9 Improve handling of scalar RHS and empty indices. |
6384
|
10 |
6383
|
11 2007-03-05 David Bateman <dbateman@free.fr> |
|
12 |
|
13 * oct-md5.c (oct_md5_file (const std::string&)): New function. |
|
14 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. |
|
15 |
6379
|
16 2007-03-02 John W. Eaton <jwe@octave.org> |
|
17 |
|
18 * str-vec.h (string_vector::empty): Return bool, not int. |
|
19 |
6375
|
20 2007-03-01 David Bateman <dbateman@free.fr> |
|
21 |
|
22 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
|
23 an independent implementation of RFC1321. |
|
24 * oct-md5.h, oct-md5: New files for treating std::string class |
|
25 with MD5. |
|
26 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h |
|
27 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc |
|
28 (LIBOCTAVE_C_SOURCES): Add md5.c |
|
29 |
6366
|
30 2007-02-27 John W. Eaton <jwe@octave.org> |
|
31 |
|
32 * Makefile.in (uninstall): Delete files listed in |
|
33 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). |
|
34 From Thomas Treichl <Thomas.Treichl@gmx.net>. |
|
35 |
6363
|
36 2007-02-27 From Michael Goffioul <michael.goffioul@swing.be> |
|
37 |
|
38 * file-ops.cc (file_ops::recursive_rmdir): |
|
39 Close dir_entry object before calling rmdir. |
|
40 |
6358
|
41 2007-02-26 From Michael Goffioul <michael.goffioul@swing.be> |
|
42 |
|
43 * Makefile.in: Use $(LN_S) instead of ln or ln -s. |
|
44 |
6359
|
45 * sparse-util.h (SparseCholPrint, SparseCholError): |
|
46 Tag with OCTAVE_API. |
|
47 |
6326
|
48 2007-02-18 David Bateman <dbateman@free.fr> |
|
49 |
|
50 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to |
|
51 calling setall and reset to the current generator after. |
|
52 |
6323
|
53 2007-02-16 John W. Eaton <jwe@octave.org> |
|
54 |
|
55 * oct-shlib.h (octave_shlib::relative): New data member. |
|
56 (octave_shlib::mark_relative, octave_shlib::is_relative): |
|
57 New functions. |
|
58 |
6321
|
59 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
|
60 |
|
61 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on |
|
62 windows platform. |
|
63 * lo-sysdep.h (octave_popen2): Declare it. |
|
64 * oct-syscalls.cc (octave_syscalls::popen2): New function. |
|
65 * oct-syscalls.h (octave_syscalls::popen2): Declare it. |
|
66 |
6306
|
67 2007-02-14 John W. Eaton <jwe@octave.org> |
|
68 |
|
69 * kpse.cc (expand_elt): Omit special treatment for //. |
|
70 |
6273
|
71 2007-02-06 John W. Eaton <jwe@octave.org> |
|
72 |
|
73 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: |
|
74 Don't delete value returned from realpath. |
|
75 |
6271
|
76 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
|
77 |
|
78 * file-ops.cc (file_ops::canonicalize_file_name): |
|
79 Provide implementation if realpath function is available. |
|
80 |
6256
|
81 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
|
82 |
|
83 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. |
|
84 |
6244
|
85 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
|
86 |
|
87 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on |
|
88 Windows systems. |
|
89 |
6242
|
90 2007-01-16 John W. Eaton <jwe@octave.org> |
|
91 |
|
92 * dSparse.cc: Fix dgbtrf decl for --enable-64. |
|
93 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 |
|
94 |
|
95 * oct-fftw.h (fftw_planner): Provide decl. |
|
96 |
6241
|
97 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
|
98 |
|
99 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. |
|
100 |
6236
|
101 2007-01-10 John W. Eaton <jwe@octave.org> |
|
102 |
|
103 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not |
|
104 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". |
|
105 |
6231
|
106 2007-01-08 David Bateman <dbateman@free.fr> |
|
107 |
|
108 * oct-sparse.h: Replace sparsesuite with suitesparse and |
|
109 SPARSESUITE with SUITESPARSE to match upstream name. |
|
110 |
6228
|
111 2007-01-05 David Bateman <dbateman@free.fr> |
|
112 |
|
113 * oct-fftw.cc: (octave_fftw_planner::method (void), |
|
114 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
|
115 set the FFTW wisdom method used. |
|
116 (octave_fftw_planner::create_plan) Modify to allow different |
|
117 methods to be used. |
|
118 (octave_fftw_planner): Move class definition from here. |
|
119 * oct-fftw.h (octave_fftw_planner): To here. Add method methods |
|
120 and FftwMethod enum. |
|
121 |
6221
|
122 2007-01-03 David Bateman <dbateman@free.fr> |
|
123 |
|
124 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, |
|
125 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as |
|
126 sparse matrices are special cased. |
|
127 |
|
128 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed |
|
129 matrix, sparse matrix operations. |
|
130 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, |
|
131 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, |
|
132 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, |
|
133 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
|
134 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, |
|
135 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
|
136 sparse matrices are special cased. |
|
137 |
6217
|
138 2006-12-22 David Bateman <dbateman@free.fr> |
|
139 |
|
140 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. |
|
141 |
6216
|
142 2006-12-22 John W. Eaton <jwe@octave.org> |
|
143 |
|
144 * dim-vector.h (dim_vector::dim_vector): Always start with at |
|
145 least 2 dimensions. |
|
146 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. |
|
147 |
6208
|
148 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
|
149 |
|
150 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. |
|
151 |
|
152 * file-ops.cc (ops::canonicalize_file_name): Provide partial |
6217
|
153 implementation for Windows. |
6208
|
154 |
6207
|
155 2006-12-06 David Bateman <dbateman@free.fr> |
|
156 |
6208
|
157 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
|
158 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. |
6207
|
159 |
|
160 * dMatrrix.cc (finverse): Old inverse method renamed inverse. |
|
161 (tinverse): New method for triangular matrices. |
|
162 (inverse): New function with matrix type probing. |
|
163 * dMatrix.h (finverse, tinverse, inverse): New and modified |
|
164 declarations. |
6208
|
165 * CMatrix.cc: Ditto. |
|
166 * CMatrix.h: Ditto. |
6207
|
167 |
6205
|
168 2006-12-06 John W. Eaton <jwe@octave.org> |
|
169 |
|
170 * strptime.c (day_of_the_week): Use code from current glibc sources. |
|
171 |
6202
|
172 2006-12-05 John W. Eaton <jwe@octave.org> |
|
173 |
|
174 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not |
|
175 followed by 'I' or 'i', try reading number after putting |
|
176 characters back on input stream. |
|
177 |
6198
|
178 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
|
179 |
|
180 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of |
|
181 loop is n, not L. |
|
182 |
6194
|
183 2006-11-30 John W. Eaton <jwe@octave.org> |
|
184 |
|
185 * lo-utils.cc (octave_read_double, read_inf_nan_na): |
|
186 Also recognize [+-][Ii]nf. |
|
187 |
6187
|
188 2006-11-28 David Bateman <dbateman@free.fr> |
6186
|
189 |
|
190 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite |
|
191 sub-directory. |
|
192 |
6204
|
193 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
|
194 well when calling tinverse for lower triangular matrices. |
|
195 * CSparse.cc (SparseComplexMatrix::inverse): |
|
196 Ditto. |
6185
|
197 |
6183
|
198 2006-11-21 John W. Eaton <jwe@octave.org> |
|
199 |
|
200 * oct-env.cc (do_absolute_pathname): Undo previous change. |
|
201 |
6182
|
202 2006-11-20 John W. Eaton <jwe@octave.org> |
|
203 |
|
204 * oct-env.cc (octave_env::do_absolute_pathname): Also return true |
|
205 for ".", and names beginning with "./" or "../". |
|
206 |
6162
|
207 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
|
208 |
|
209 * CMatrix.cc, dMatrix.cc: New tests. |
|
210 |
6153
|
211 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
|
212 |
|
213 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. |
|
214 |
6152
|
215 2006-11-11 John W. Eaton <jwe@octave.org> |
|
216 |
|
217 * Makefile.in ($(OPTS_INC), mx-ops.h): |
|
218 Use $(simple-move-if-change-rule) here. |
|
219 |
6148
|
220 2006-11-09 David Bateman <dbateman@free.fr> |
|
221 |
|
222 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to |
|
223 octave_idx_type, not int. |
|
224 |
6145
|
225 2006-11-08 John W. Eaton <jwe@octave.org> |
|
226 |
|
227 * dir-ops.cc (dir_entry::read): Avoid rewinddir. |
|
228 |
6141
|
229 2006-11-06 John W. Eaton <jwe@octave.org> |
|
230 |
|
231 * Array.cc (assignN): Exit early if invalid indices are found. |
|
232 |
6140
|
233 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
|
234 |
|
235 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. |
|
236 |
6137
|
237 2006-11-03 John W. Eaton <jwe@octave.org> |
|
238 |
|
239 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. |
|
240 (DLL_CDEFS): Rename from XTRA_CDEFS. |
|
241 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. |
|
242 |
6123
|
243 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
|
244 |
|
245 * oct-shlib.cc: Undefine min and max after including windows.h. |
|
246 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. |
|
247 * lo-sysdep.h: Move opendir, readdir, etc. decls here from |
|
248 lo-sysdep.cc. |
|
249 |
6113
|
250 2006-10-27 John W. Eaton <jwe@octave.org> |
|
251 |
6119
|
252 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
|
253 |
|
254 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
255 |
|
256 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, |
|
257 NDS_CMP_OPS2): New macros. |
6113
|
258 |
6111
|
259 2006-10-26 John W. Eaton <jwe@octave.org> |
|
260 |
6119
|
261 * mx-ops (core-type): New field for integer types. |
|
262 * mk-ops.awk: Handle core-type for integer comparison ops. |
|
263 |
6111
|
264 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
|
265 Move here from src/cutils.c. |
|
266 * lo-utils.h: Provide decls. |
|
267 * strcasecmp.c: Move here from src/strcasecmp.c. |
|
268 * strncase.c: Move here from src/strncase.c. |
|
269 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. |
|
270 |
6106
|
271 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
272 |
|
273 * kpse.cc [! MSVC]: Don't include win32lib.h. |
|
274 |
6108
|
275 * liboctave/Array-C.cc, liboctave/Array-b.cc, |
|
276 liboctave/Array-ch.cc, liboctave/Array-i.cc, |
|
277 liboctave/Array-util.h, liboctave/Array.h, liboctave/CColVector.h, |
|
278 liboctave/CMatrix.h, liboctave/CNDArray.h, liboctave/CRowVector.h, |
|
279 liboctave/CSparse.h, liboctave/CmplxAEPBAL.h, |
|
280 liboctave/CmplxCHOL.h, liboctave/CmplxDET.h, |
|
281 liboctave/CmplxHESS.h, liboctave/CmplxLU.h, liboctave/CmplxQR.h, |
|
282 liboctave/CmplxQRP.h, liboctave/CmplxSCHUR.h, |
|
283 liboctave/CmplxSVD.h, liboctave/CollocWt.h, liboctave/DAE.h, |
|
284 liboctave/DASPK.h, liboctave/DASRT.h, liboctave/DASSL.h, |
|
285 liboctave/EIG.h, liboctave/LSODE.h, liboctave/MArray-C.cc, |
|
286 liboctave/MArray-defs.h, liboctave/MSparse-C.cc, |
|
287 liboctave/MSparse-d.cc, liboctave/MSparse-defs.h, |
|
288 liboctave/MatrixType.h, liboctave/NLEqn.h, liboctave/Quad.h, |
|
289 liboctave/Range.h, liboctave/Sparse-op-defs.h, liboctave/Sparse.h, |
|
290 liboctave/SparseCmplxCHOL.h, liboctave/SparseCmplxLU.h, |
|
291 liboctave/SparseCmplxQR.h, liboctave/SparseQR.h, |
|
292 liboctave/SparsedbleCHOL.h, liboctave/SparsedbleLU.h, |
|
293 liboctave/boolMatrix.h, liboctave/boolNDArray.h, |
|
294 liboctave/boolSparse.h, liboctave/chMatrix.h, |
|
295 liboctave/chNDArray.h, liboctave/cmd-edit.h, liboctave/cmd-hist.h, |
|
296 liboctave/dColVector.h, liboctave/dDiagMatrix.h, |
|
297 liboctave/dMatrix.h, liboctave/dNDArray.h, liboctave/dRowVector.h, |
|
298 liboctave/dSparse.h, liboctave/data-conv.h, |
|
299 liboctave/dbleAEPBAL.h, liboctave/dbleCHOL.h, liboctave/dbleDET.h, |
|
300 liboctave/dbleHESS.h, liboctave/dbleLU.h, liboctave/dbleQR.h, |
|
301 liboctave/dbleQRP.h, liboctave/dbleSCHUR.h, liboctave/dbleSVD.h, |
|
302 liboctave/dir-ops.h, liboctave/file-ops.h, liboctave/file-stat.h, |
|
303 liboctave/glob-match.h, liboctave/idx-vector.h, |
|
304 liboctave/int16NDArray.cc, liboctave/int32NDArray.cc, |
|
305 liboctave/int64NDArray.cc, liboctave/int8NDArray.cc, |
|
306 liboctave/lo-cutils.c, liboctave/lo-ieee.h, |
|
307 liboctave/lo-mappers.h, liboctave/lo-specfun.h, |
|
308 liboctave/lo-utils.h, liboctave/mach-info.h, |
|
309 liboctave/mx-op-defs.h, liboctave/oct-alloc.h, |
|
310 liboctave/oct-env.h, liboctave/oct-group.h, |
|
311 liboctave/oct-inttypes.cc, liboctave/oct-inttypes.h, |
|
312 liboctave/oct-passwd.h, liboctave/oct-rand.h, |
|
313 liboctave/oct-shlib.h, liboctave/oct-spparms.h, |
|
314 liboctave/oct-syscalls.h, liboctave/oct-time.h, |
|
315 liboctave/oct-uname.h, liboctave/pathsearch.h, |
|
316 liboctave/prog-args.h, liboctave/so-array.h, liboctave/str-vec.h, |
|
317 liboctave/uint16NDArray.cc, liboctave/uint32NDArray.cc, |
|
318 liboctave/uint64NDArray.cc, liboctave/uint8NDArray.cc: |
|
319 Sprinkle with OCTAVE_API as needed. |
|
320 |
6105
|
321 2006-10-26 John W. Eaton <jwe@octave.org> |
|
322 |
|
323 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit |
|
324 type qualification for OP. |
|
325 |
6101
|
326 2006-10-26 David Bateman <dbateman@free.fr> |
|
327 |
|
328 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, |
|
329 octave_idx_type)): Be more careful with the size of the input |
|
330 matrix, and therefore don't create or read non existent data. |
|
331 |
6092
|
332 2006-10-25 John W. Eaton <jwe@octave.org> |
|
333 |
|
334 * Sparse.cc (assign): Clear lhs index after error. |
|
335 |
6093
|
336 2006-10-25 David Bateman <dbateman@free.fr> |
6092
|
337 |
|
338 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
339 Fix previous patch so it works. |
|
340 |
6087
|
341 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
|
342 |
6095
|
343 * glob-match.h (glob_match::glob_match (const std::string&, |
|
344 unsigned int)): Delete initializer for first arg. |
|
345 |
6093
|
346 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
|
347 New functions. |
|
348 |
6087
|
349 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
|
350 |
6096
|
351 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
|
352 same code as __MINGW32__. |
|
353 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG |
|
354 the same as for __MINGW32__. |
|
355 |
|
356 * randpoisson.c: Undefine INFINITE before redefining. |
|
357 |
6079
|
358 2006-10-24 David Bateman <dbateman@free.fr> |
|
359 |
|
360 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the |
|
361 lhs at the point we know the assignment can succeed if the lhs is |
|
362 empty. |
|
363 |
6072
|
364 2006-10-23 John W. Eaton <jwe@octave.org> |
|
365 |
|
366 * Array.cc (assign2): Don't require vector assignments to be oriented. |
|
367 |
6061
|
368 2006-10-17 John W. Eaton <jwe@octave.org> |
|
369 |
|
370 * lo-cieee.c: If isnan is not available but _isnan is, then define |
|
371 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite |
|
372 and _copysign. |
|
373 |
6059
|
374 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051
|
375 |
6061
|
376 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
|
377 |
|
378 * liboctave/CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
|
379 * Index: liboctave/CSparse.cc (SparseComplexMatrix::insert): Likewise. |
|
380 |
6058
|
381 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
|
382 |
6059
|
383 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
|
384 |
6051
|
385 * Makefile.in: Adapt rules to use $(LIBPRE). |
|
386 |
6027
|
387 2006-10-03 David Bateman <dbateman@free.fr> |
|
388 |
|
389 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 |
|
390 or p == 0. |
|
391 |
6018
|
392 2006-10-02 John W. Eaton <jwe@octave.org> |
|
393 |
|
394 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. |
|
395 * CmplxDET.cc (ComplexDET::initialize2): Likewise. |
|
396 |
5996
|
397 2006-09-22 David Bateman <dbateman@free.fr> |
|
398 |
|
399 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5997
|
400 Remove spurious warning. |
5996
|
401 |
5992
|
402 2006-09-15 John W. Eaton <jwe@octave.org> |
|
403 |
|
404 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
|
405 Handle resizing. |
|
406 |
|
407 * intNDArray.h (intNDArray<T>:elt_type): New typedef. |
|
408 |
5983
|
409 2006-09-11 John W. Eaton <jwe@octave.org> |
|
410 |
|
411 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): |
|
412 Handle M*v and rv*cv special cases. |
|
413 * CMatrix.cc (operator * (const ComplexMatrix&, const |
|
414 ComplexMatrix&))): Likewise. |
|
415 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. |
|
416 |
|
417 * dRowVector.cc (operator * (const RowVector&, const |
|
418 ColumnVector&)): Call xddot here instead of using a Fortran |
|
419 function directly. |
|
420 * CRowVector.cc (operator * (const ComplexRowVector&, const |
|
421 ComplexColumnVector&)): Call xzdotu here. |
|
422 |
|
423 2006-09-05 John W. Eaton <jwe@octave.org> |
|
424 |
|
425 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare |
|
426 elements to '\0', not ' '. |
|
427 |
5972
|
428 2006-08-25 John W. Eaton <jwe@octave.org> |
|
429 |
|
430 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. |
|
431 |
5958
|
432 2006-08-23 John W. Eaton <jwe@octave.org> |
|
433 |
|
434 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. |
|
435 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. |
|
436 |
5955
|
437 2006-08-22 John W. Eaton <jwe@octave.org> |
|
438 |
5956
|
439 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
|
440 * dMatrix.cc (Matrix::save_ascii): New function. |
|
441 |
5955
|
442 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
|
443 If array is empty, return value is same size as array. |
|
444 (MX_ND_REDUCTION): Correctly detect empty arrays. |
|
445 If array is empty, produce correctly sized return value. |
|
446 |
5940
|
447 2006-08-18 John W. Eaton <jwe@octave.org> |
|
448 |
5943
|
449 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
|
450 * dMatrix.h: Provide decl. |
|
451 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. |
|
452 * dNDArray.h: Provide decl. |
|
453 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): |
|
454 New function. |
|
455 * intNDArray.h: Provide decl. |
|
456 |
5940
|
457 * Array.cc (Array<T>::permute): Only rearrange values if array is |
|
458 not empty. |
|
459 |
5904
|
460 2006-07-26 John W. Eaton <jwe@octave.org> |
|
461 |
|
462 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, |
|
463 DET::value_will_overflow): Use xlog2 instead of log2. |
|
464 (DET::initialize2, DET::initialize10): Use xround instead of round. |
|
465 (DET::initialize2, DET::value): Use xexp2 instead of exp2. |
|
466 * CmplxDET.cc (ComplexDET::initialize10, |
|
467 ComplexDET::value_will_underflow, |
|
468 ComplexDET::value_will_overflow): Use xlog2 instead of log2. |
|
469 (ComplexDET::initialize2, ComplexDET::initialize10): |
|
470 Use xround instead of round. |
|
471 (ComplexDET::initialize2, ComplexDET::value): |
|
472 Use xexp2 instead of exp2. |
|
473 |
|
474 * lo-mappers.cc (M_LOG10E): Delete unused macro. |
|
475 (xlog2, xexp2): New functions. |
|
476 * lo-mappers.h: Provide decls. |
|
477 |
5900
|
478 2006-07-22 John W. Eaton <jwe@octave.org> |
|
479 |
|
480 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, |
|
481 Sparse<T>::mex_get_jc): New functions. |
|
482 |
|
483 2006-07-21 John W. Eaton <jwe@octave.org> |
|
484 |
|
485 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. |
|
486 * Array.h (Array<T>::mex_get_data): New function. |
|
487 |
5898
|
488 2006-07-19 John W. Eaton <jwe@octave.org> |
|
489 |
|
490 * oct-inttypes.h (octave_int::operator bool (void)): New function. |
|
491 |
5893
|
492 2006-07-16 John W. Eaton <jwe@octave.org> |
|
493 |
|
494 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): |
|
495 Rename from SparseParams. Use same implementation method as other |
|
496 singleton classes in Octave. Change all uses of |
|
497 Voctave_sparse_controls to use static functions from |
|
498 octave_sparse_params class instead. |
|
499 |
|
500 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, |
|
501 SparseParams::get_key): Pass std::string arg by const reference, |
|
502 not const value. |
|
503 |
5892
|
504 2006-07-15 John W. Eaton <jwe@octave.org> |
|
505 |
|
506 * data-conv.cc: Instantiante swap_bytes templates here. |
|
507 |
|
508 * MatrixType.cc (MatrixType::MatrixType): |
|
509 Use complete initializer lists in constructors. |
|
510 |
5880
|
511 2006-07-06 John W. Eaton <jwe@octave.org> |
|
512 |
|
513 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): |
|
514 New constructor. |
|
515 * str-vec.h: Provide decl. |
|
516 |
5876
|
517 2006-07-01 David Bateman <dbateman@free.fr> |
|
518 |
|
519 * dSparse.cc (tinverse): Check for rows with no elements and zero |
|
520 elements on the diagonal. Allow both Upper and Lower triangular |
|
521 matrices to be treated. |
|
522 * CSparse.cc (tinverse): ditto. |
|
523 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit |
|
524 constant assignment. |
|
525 |
5870
|
526 2006-06-30 John W. Eaton <jwe@octave.org> |
|
527 |
5872
|
528 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
|
529 * cmd-edit.cc (editor::read_init_file): Ditto. |
|
530 * dir-ops.cc (dir_entry::open): Ditto. |
5871
|
531 * file-stat.cc (stat::update_internal): Ditto. |
5872
|
532 * cmd-hist.cc (command_history::set_file): Ditto. |
5871
|
533 |
5870
|
534 * data-conv.cc (data_conv::string_to_data_type): |
|
535 Correctly handle leading "*". |
|
536 |
5869
|
537 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
|
538 |
|
539 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds |
|
540 array access. |
|
541 |
5866
|
542 2006-06-27 John W. Eaton <jwe@octave.org> |
|
543 |
|
544 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. |
|
545 |
5864
|
546 2006-06-21 John W. Eaton <jwe@octave.org> |
|
547 |
|
548 * oct-shlib.cc (octave_dlopen_shlib::close, |
|
549 octave_shl_load_shlib::close, octave_w32_shlib::close): |
|
550 Skip do_close_hook if cl_hook is 0. |
|
551 |
5863
|
552 2006-06-16 John W. Eaton <jwe@octave.org> |
|
553 |
|
554 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. |
|
555 * randmtzig.h: Don't inlcude config.h. |
|
556 |
5837
|
557 2006-05-31 David Bateman <dbateman@free.fr> |
|
558 |
|
559 * Array.cc (assignN): Maybe reshape LHS before doing assignment. |
|
560 |
5828
|
561 2006-05-23 John W. Eaton <jwe@octave.org> |
|
562 |
|
563 * oct-types.h.in: Include stdint.h or inttypes.h for integer |
|
564 typedefs, or define them if those files are not available. |
|
565 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, |
|
566 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, |
|
567 octave_uint64_t): Delete typedefs. Replace all uses of these |
|
568 types with int8_t, int16_t, etc. |
|
569 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): |
|
570 Delete definitions. Replace all uses of these macros with int8_t, |
|
571 int16_t, etc. |
|
572 * randmtzig.h: Delete integer typedefs. |
|
573 |
5822
|
574 2006-05-18 John W. Eaton <jwe@octave.org> |
|
575 |
|
576 * EIG.cc (EIG::init): Trap Inf and NaN values here. |
|
577 From Keith Goodman <kwgoodman@gmail.com>. |
|
578 |
5813
|
579 2006-05-08 David Bateman <dbateman@free.fr> |
|
580 |
|
581 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous |
|
582 modification. |
|
583 |
5797
|
584 2006-05-09 David Bateman <dbateman@free.fr> |
|
585 |
|
586 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, |
|
587 ov-cx-sparse. and error_state. |
|
588 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. |
|
589 |
5795
|
590 2006-05-08 David Bateman <dbateman@free.fr> |
|
591 |
|
592 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in |
|
593 first pass and use to determine which algorithm to use on a |
|
594 column-by-column basis. |
|
595 |
5792
|
596 2006-05-04 David Bateman <dbateman@free.fr> |
|
597 |
|
598 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
|
599 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of |
|
600 CXSparse or later |
|
601 |
5785
|
602 2006-05-03 David Bateman <dbateman@free.fr> |
|
603 |
|
604 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): |
|
605 External declaration of lapack triangular and Cholesky codes. |
|
606 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
|
607 ComplexMatrix::fsolve): New private solver codes for |
|
608 upper, lower and LU/Cholesky solvers. |
|
609 (ComplexMatrix::solve): New versions for cached matrix |
|
610 type. Adapt old versions to call new versions |
|
611 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
612 new solvers. |
|
613 (solve): New versions for cached matrix type. |
|
614 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): |
|
615 External declaration of lapack triangular and Cholesky codes. |
|
616 (Matrix::utsolve, Matrix::ltsolve, |
|
617 Matrix::fsolve): New private solver codes for |
|
618 upper, lower and LU/Cholesky solvers. |
|
619 (Matrix::solve): New versions for cached matrix |
|
620 type. Adapt old versions to call new versions |
|
621 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
622 new solvers. |
|
623 (solve): New versions for cached matrix type. |
|
624 * CSparse.cc: Replace all uses of SparseType with MatrixType. |
|
625 * CSparse.h: ditto. |
|
626 * dSparse.cc: ditto. |
|
627 * dSparse.h: ditto. |
|
628 * SparseCmplxCHOL.cc: ditto. |
|
629 * SparsedbleCHOL.cc: ditto. |
|
630 * sparse-dmsolve.cc: ditto. |
|
631 * SparseType.cc, SparseType.h: delete. |
|
632 * MatrixType.cc: New file for class to cache matrix type, based on |
|
633 old SparseType class but caching matrix and sparse types. |
|
634 * MatrixType.h: ditto. |
|
635 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and |
|
636 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc |
|
637 respectively. |
|
638 * mx-base.h: Include MatrixTye.h as header file. |
|
639 |
5781
|
640 2006-05-01 John W. Eaton <jwe@octave.org> |
|
641 |
|
642 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): |
|
643 Delete WARN_FUTURE arg. Change all uses. |
|
644 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. |
|
645 Change all uses. Use current_liboctave_warning_with_id_handler. |
|
646 (octave_base_shlib::open): Delete arg. Change all derived classes |
|
647 and uses. |
|
648 |
|
649 2006-04-29 John W. Eaton <jwe@octave.org> |
|
650 |
|
651 * Array-flags.cc, Array-flags.h: Delete. |
|
652 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. |
|
653 (MATRIX_INC): Remove Array-flags.h from the list. |
|
654 |
|
655 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. |
|
656 Use current_liboctave_warning_with_id_handler |
|
657 with warning ID Octave:resize-on-range-error. |
|
658 * idx-vector.h: Fix decl. |
|
659 * Array.cc, Sparse.cc: Change all callers. |
|
660 |
|
661 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, |
|
662 assign2, assignN): Use current_liboctave_warning_with_id_handler |
|
663 with warning ID Octave:fortran-indexing instead of |
|
664 liboctave_wfi_flag. |
|
665 * Sparse.cc (assign, Sparse<T>::index): Likewise. |
|
666 |
5777
|
667 2006-04-26 John W. Eaton <jwe@octave.org> |
|
668 |
|
669 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): |
|
670 New static data. |
|
671 * pathsearch.h: Provide decls. |
|
672 (dir_path::is_path_sep): New function. |
|
673 |
5766
|
674 2006-04-18 John W. Eaton <jwe@octave.org> |
|
675 |
|
676 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): |
|
677 Omit inline from decl. |
|
678 |
|
679 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid |
|
680 local array with variable dimension. |
|
681 |
5764
|
682 2006-04-16 John W. Eaton <jwe@octave.org> |
|
683 |
5765
|
684 * lo-sstream.h: Delete. |
|
685 * Makefile.in (INCLUDES): Remove it from the list. |
|
686 |
|
687 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. |
|
688 * Sparse.cc (Sparse::range_error): Likewise. |
|
689 * DASSL.cc (DASSL::error_message): Likewise. |
|
690 * LSODE.cc (LSODE::error_message): Likewise. |
|
691 * DASRT.cc (DASRT::error_message): Likewise. |
|
692 * DASPK.cc (DASPK::error_message): Likewise. |
|
693 * Array.cc (Array::range_error): Likewise. |
|
694 |
5764
|
695 * kpse.cc (kpse_hash): Rename from hash. |
|
696 (hash_lookup): Call kpse_hash instead of hash. |
|
697 |
|
698 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> |
|
699 to avoid local array with variable dimension. |
|
700 |
5760
|
701 2006-04-13 David Bateman <dbateman@free.fr> |
|
702 |
|
703 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
704 Optimize assignment. |
|
705 |
|
706 2006-04-13 John W. Eaton <jwe@octave.org> |
|
707 |
|
708 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
709 Eliminate unnecessary casts. |
|
710 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. |
|
711 |
|
712 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. |
|
713 (log_search, dir_links): Use static_cast instead of C-style cast. |
|
714 |
|
715 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. |
|
716 * oct-alloc.cc (allocator::grow): Likewise. |
|
717 * CSparse.cc (SparseComplexMatrix::determinant, |
|
718 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): |
|
719 Likewise. |
|
720 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. |
|
721 |
|
722 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): |
|
723 Use static_cast instead of C-style cast. |
|
724 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
725 * dSparse.cc (SparseMatrix::fsolve): Likewise. |
|
726 |
|
727 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. |
|
728 Use OCTAVE_LOCAL_BUFFER instead of new/delete. |
|
729 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. |
|
730 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): |
|
731 Use reinterpret_cast instead of X_CAST. |
|
732 |
|
733 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast |
|
734 return value here. |
|
735 |
5752
|
736 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
|
737 |
|
738 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. |
|
739 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. |
|
740 |
5730
|
741 2006-04-03 David Bateman <dbateman@free.fr> |
|
742 |
5731
|
743 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
|
744 to avoid copy of original matrix. |
|
745 |
5730
|
746 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
|
747 randmtzig.h to the list. |
|
748 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
|
749 randmtzig.c to the list. |
|
750 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
|
751 (use_old_generators): New variable. |
|
752 (old_initialized): Rename from initialized. |
|
753 (new_initialized): New variable. |
|
754 (oct_init_by_entropy): New function. |
|
755 (maybe_initialize): Initialize new or old generator depending on |
|
756 value of use_old_generators. |
|
757 (octave_rand::state): New functions. |
|
758 (octave_rand::distribution): Add gamma, exponential and poisson |
|
759 distributions. |
|
760 (octave_rand::exponential_distribution, |
|
761 octave_rand::poisson_distribution, |
|
762 octave_rand::gamma_distribution): New methods to select |
|
763 exponential, poisson or gamma distribution. |
|
764 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
765 octave_rand::vector): Add new distributions. |
|
766 * oct-rand.h: Provide decls for new functions. |
|
767 (octave_rand::matrix, octave_rand::scalar, octave_rand:: |
|
768 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
769 octave_rand::vector): New arg A, for gamma and poisson distributions. |
|
770 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, |
|
771 randmtzig.h: New files. |
|
772 |
5717
|
773 2006-03-24 John W. Eaton <jwe@octave.org> |
|
774 |
|
775 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
|
776 Array<octave_idx_type>, so fortran_vec returns pointer to |
|
777 octave_idx_type, not pointer to int. |
|
778 |
|
779 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), |
|
780 ComplexMatrix::column (char*)): Delete. |
|
781 * dMatrix.cc, dMatrix.h (Matrix::row (char*), |
|
782 Matrix::column (char*)): Delete. |
|
783 |
5713
|
784 2006-03-21 David Bateman <dbateman@free.fr> |
|
785 |
|
786 * SparseQR.h: Publish externally used friends. |
|
787 * SparseCmplxQR.h: ditto. |
|
788 |
5700
|
789 2006-03-21 John W. Eaton <jwe@octave.org> |
|
790 |
|
791 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for |
|
792 call to xdbetai. |
|
793 |
5697
|
794 2006-03-21 David Bateman <dbateman@free.fr> |
|
795 |
5701
|
796 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
|
797 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. |
5700
|
798 |
|
799 * dSparse.cc (solve): Add argument singular_fallback, to allow |
|
800 fallback to QR solvers to be optional. |
|
801 * CSparse.cc (solve): Ditto. |
|
802 * dSparse.h (solve): update declaration for new argument. |
|
803 * CSparse.h (solve): Ditto. |
|
804 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument |
|
805 to bypass QR solvers when solving the well determined part of |
|
806 the problem. |
5697
|
807 |
5690
|
808 2006-03-17 John W. Eaton <jwe@octave.org> |
|
809 |
|
810 * str-vec.cc (vector::list_in_columns): New optional arg, width. |
|
811 |
5681
|
812 2006-03-16 David Bateman <dbateman@free.fr> |
|
813 |
|
814 * CSparse.cc: Change use of nzmax to nnz to allow automatic |
|
815 reduction of matrix size, except for a couple of cases where nzmax |
|
816 is needed. |
|
817 (zpbcon): Correct declaration of lapack zpbcon function. |
|
818 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add |
|
819 an argument to allow the calculation of condition number to be |
|
820 optional. |
|
821 (bsolve): Add code for the calculation of the condition number |
|
822 using zpbcon and zgbcon. |
|
823 (dsolve): Bug fix for rectangular matrices with sparse RHS. |
|
824 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as |
|
825 singular if singularity is detected. |
|
826 (solve): Use optional argument to disable calculation of |
|
827 condition number for all but fsolve, for speed. Add code to |
|
828 allow rectnagular matrices or matrices identified as singular |
|
829 to be treated. |
|
830 (lssolve): delete. |
|
831 (operator *): Don't recast real matrices as complex, but |
|
832 rather use the macro directly on the real data. |
|
833 * dSparse.cc: ditto. |
|
834 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, |
|
835 fsolve, factorize): Update declaration for new argument to |
|
836 calculate the condition number. |
|
837 (lssolve): delete. |
|
838 * dSparse.h: ditto. |
|
839 * Msparse.h: Change use of nxmax to nnz to allow automatic |
|
840 reduction of matrix size, except for a couple of cases where |
|
841 nzmax is needed. |
|
842 * Sparse.cc: Change use of nxmax to nnz to allow automatic |
|
843 reduction of matrix size, except for a couple of cases where |
|
844 nzmax is needed. |
|
845 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): |
|
846 Special case strict permutations for speed. |
|
847 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic |
|
848 reduction of matrix size, except for a couple of cases where |
|
849 nzmax is needed. |
|
850 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update |
|
851 macros to allow mixed complex/real arguments. |
|
852 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero |
|
853 value. |
|
854 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
|
855 * SparseType.cc (SparseType::SparseType ()): Correct detection |
|
856 of permutated triangular matrices to avoid seg-faults. Disable |
|
857 detection of underdetermined lower and over-determined upper |
|
858 matrix due to problems with non minimum norm solutions. |
|
859 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. |
|
860 * Makefile.in: add sparse-dmsolve.cc to targets. |
|
861 |
5675
|
862 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
|
863 |
|
864 * oct-time.cc (octave_strptime::init): Return useful character count. |
|
865 |
5648
|
866 2006-03-08 David Bateman <dbateman@free.fr> |
|
867 |
|
868 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for |
|
869 g++ 4.x stl_vector.h issue with C99 double _Complex type. |
|
870 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. |
|
871 * SparseQR.cc: ditto. |
|
872 * SparseQR.h: ditto. |
|
873 * oct-sparse.h: ditto. |
|
874 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): |
|
875 Declare info variable as volatile. |
|
876 |
|
877 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. |
|
878 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. |
|
879 |
5634
|
880 2006-03-01 John W. Eaton <jwe@octave.org> |
|
881 |
|
882 * CMatrix.cc (ComplexMatrix::determinant): |
|
883 Scale result by factors of 2, not 10. |
|
884 * dMatrix.cc (Matrix::determinant): Likewise. |
|
885 |
|
886 * dbleDET.h (DET::DET): Use initializer list. |
|
887 (DET::coefficient2, DET::coefficient10, DET::exponent2, |
|
888 DET::exponent10): New functions. |
|
889 (DET::det): Delete. |
|
890 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. |
|
891 Store value internally with double and int instead of 2-element |
|
892 double vector. |
|
893 (DET::initialize2, DET::initialize10): Provide decls. |
|
894 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
|
895 Return bool value, not int. |
|
896 (DET::initialize2, DET::initialize10): New functions. |
|
897 |
|
898 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. |
|
899 (ComplexDET::coefficient2, ComplexDET::coefficient10, |
|
900 ComplexDET::exponent2, ComplexDET::exponent10): New functions. |
|
901 (ComplexDET::det): Delete. |
|
902 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, |
|
903 ComplexDET::base2): New data members. |
|
904 Store value internally with Complex and int instead of 2-element |
|
905 Complex vector. |
|
906 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. |
|
907 * dbleComplexDET.cc (ComplexDET::value_will_overflow, |
|
908 ComplexDET::value_will_underflow): Return bool value, not int. |
|
909 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. |
|
910 |
5632
|
911 2006-02-24 John W. Eaton <jwe@octave.org> |
|
912 |
|
913 * Array.cc (assignN): Clear index before reshaping. |
|
914 |
|
915 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. |
|
916 |
5630
|
917 2006-02-20 David Bateman <dbateman@free.fr> |
|
918 |
|
919 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
|
920 matrix must be square in diagonal, permuted diagonal, triangular |
|
921 and permuted triangular back/forward substitution code. Change |
|
922 ambiguous use of no. rows and columns. |
|
923 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. |
|
924 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), |
|
925 SparseType::SparseType(const SparseComplexMatrix&)): Recognize |
|
926 rectangular diagonal, permuted diagonal, triangular and permuted |
|
927 triangular matrices. |
|
928 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): |
|
929 Treat case where third argument is zero. |
|
930 |
5621
|
931 2006-02-15 John W. Eaton <jwe@octave.org> |
|
932 |
5622
|
933 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
|
934 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
|
935 |
5621
|
936 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
|
937 |
5619
|
938 2006-02-13 David Bateman <dbateman@free.fr> |
|
939 |
|
940 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, |
|
941 ccolamd and cxsparse |
|
942 |
5617
|
943 2006-02-13 John W. Eaton <jwe@octave.org> |
|
944 |
5618
|
945 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
|
946 while loop condition. |
|
947 (kpse_path_iterator::operator =): Declare as private function but |
|
948 don't define to prevent attempts to use assignment operator. |
|
949 Don't define ST_NLINK_TRICK for Cygwin systems. |
5617
|
950 |
5615
|
951 2006-02-10 John W. Eaton <jwe@octave.org> |
|
952 |
|
953 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative |
|
954 product of all dimensions in CP_SZ. |
|
955 |
5611
|
956 2006-02-09 John W. Eaton <jwe@octave.org> |
|
957 |
|
958 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative |
5615
|
959 product of all dimensions in CP_SZ. |
5611
|
960 |
5610
|
961 2006-02-09 David Bateman <dbateman@free.fr> |
|
962 |
|
963 * SparseQR.cc: new file for real sparse QR class. |
|
964 * SparseQR.h: declaration. |
|
965 * SparseCmplxQR.cc: new file for complex sparse QR class. |
|
966 * SparseCmplxQR.h: declaration. |
|
967 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
968 (factorize, fsolve): Enable code code lssolve. |
|
969 (lssolve): disable unused args, write based in above sparse QR class. |
|
970 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
971 (factorize, fsolve): Enable code code lssolve. |
|
972 (lssolve): disable unused args, write based in above sparse QR class. |
|
973 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. |
|
974 Include CXSparse headers. |
|
975 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. |
|
976 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. |
|
977 |
5607
|
978 2006-02-08 John W. Eaton <jwe@octave.org> |
|
979 |
|
980 * Array-util.h (calc_permutated_idx): Delete. |
|
981 * Array.cc (permute_vector): New data structure. |
|
982 (permute_vector_compare): New function. |
|
983 (Array<T>::permute): Rewrite to avoid calc_permutated_index for |
|
984 improved performance. |
|
985 |
5606
|
986 2006-02-04 David Bateman <dbateman@free.fr> |
|
987 |
|
988 * COLAMD: Remove all files, as now unused. |
|
989 |
5604
|
990 2006-01-31 John W. Eaton <jwe@octave.org> |
|
991 |
|
992 * Sparse.h (Sparse<T>::nzmax): New function. |
|
993 (Sparse<T>::nnz): Rename from nonzero. |
|
994 Change all uses of old nnz function to be nzmax. Change all uses |
|
995 of nonzero to be nnz. |
|
996 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. |
|
997 |
5603
|
998 2006-01-21 David Bateman <dbateman@free.fr> |
|
999 |
|
1000 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
|
1001 (bool octave_idx_vector_comp): New function. |
|
1002 (template class octave_sort<octave_idx_vector_sort *>): Instantiate |
|
1003 indexed idx_vector sorting function. |
|
1004 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. |
|
1005 (class octave_idx_vector_sort): New class for indexed idx_vector |
|
1006 sorting. |
|
1007 (bool octave_idx_vector_comp): Declaration. |
|
1008 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of |
|
1009 unordered LHS indexes in assignment using new octave_idx_vector_sort |
|
1010 class. |
|
1011 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. |
|
1012 |
5602
|
1013 2006-01-30 John W. Eaton <jwe@octave.org> |
|
1014 |
|
1015 * so-array.h (streamoff_array::nnz): New funtion. |
|
1016 * boolNDArray.h (boolNDArray::nnz): New function. |
|
1017 * MArrayN.h (MArrayN<T>::nnz): New function. |
|
1018 * MArray.h (MArray<T>::nnz): New function. |
|
1019 |
5587
|
1020 2006-01-04 David Bateman <dbateman@free.fr> |
|
1021 |
|
1022 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in |
|
1023 elements not being sorted in return matrix. Sort them, and make |
|
1024 solver select between two algorithms to further improve the |
|
1025 performance. |
|
1026 * dSparse.cc: include oct-sort.h. |
|
1027 * CSparse.cc: ditto. |
|
1028 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. |
|
1029 |
5586
|
1030 2005-12-28 David Bateman <dbateman@free.fr> |
|
1031 |
5587
|
1032 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
|
1033 faster in all cases, and significantly so for low density or small |
|
1034 order problems. |
5586
|
1035 |
5552
|
1036 2005-11-30 John W. Eaton <jwe@octave.org> |
|
1037 |
|
1038 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork |
|
1039 before setting any values in either array. |
|
1040 |
5547
|
1041 2005-11-29 John W. Eaton <jwe@octave.org> |
|
1042 |
|
1043 * oct-uname.h, oct-uname.cc: New files. |
|
1044 * Makefile.in: Add them to the appropriate lists. |
|
1045 |
5535
|
1046 2005-11-11 John W. Eaton <jwe@octave.org> |
|
1047 |
|
1048 * Array.cc (Array<T>::indexN): Simplify. |
|
1049 |
5533
|
1050 2005-11-09 John W. Eaton <jwe@octave.org> |
|
1051 |
|
1052 * oct-inttypes.h (octave_int::operator char (void) const): |
|
1053 New conversion op. |
|
1054 |
5527
|
1055 2005-11-01 John W. Eaton <jwe@octave.org> |
|
1056 |
|
1057 * Makefile.in (distclean): Also remove oct-types.h. |
|
1058 From Quentin Spencer <qspencer@ieee.org>. |
|
1059 |
5526
|
1060 2005-10-31 David Bateman <dbateman@free.fr> |
|
1061 |
|
1062 * dSparse.cc, CSparse.cc: Use C++ true/false instead of |
|
1063 preprocessor defined TRUE/FALSE. |
|
1064 |
5523
|
1065 2005-10-30 John W. Eaton <jwe@octave.org> |
|
1066 |
|
1067 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. |
|
1068 (MX_ND_CUMULATIVE_OP): Likewise. |
|
1069 |
5519
|
1070 2005-10-29 John W. Eaton <jwe@octave.org> |
|
1071 |
5520
|
1072 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
|
1073 things up. Simplify. |
|
1074 |
5519
|
1075 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
|
1076 case for "vector_equivalent". |
|
1077 |
|
1078 * Array-util.cc (vector_equivalent): Arg is now dim_vector. |
|
1079 |
5518
|
1080 2005-10-28 John W. Eaton <jwe@octave.org> |
|
1081 |
|
1082 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. |
|
1083 From Quentin Spencer <qspencer@ieee.org>. |
|
1084 |
|
1085 * sparse-base-chol.cc: Use C++ true/false instead of |
|
1086 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. |
|
1087 |
5516
|
1088 2005-10-27 John W. Eaton <jwe@octave.org> |
|
1089 |
|
1090 * Array.cc (assignN): Reshape to final size instead of resizing. |
|
1091 |
5512
|
1092 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1093 |
|
1094 * oct-sparse.h: New file. |
|
1095 * oct-sparse.h.in: Delete. |
|
1096 |
5511
|
1097 2005-10-26 David Bateman <dbateman@free.fr> |
|
1098 |
|
1099 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD |
|
1100 * sparse-base-chol.cc: ditto. |
|
1101 |
5508
|
1102 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1103 |
|
1104 Changes for GCC 4.1, tip from Arno J. Klaassen |
|
1105 <arno@heho.snv.jussieu.fr>: |
|
1106 |
5509
|
1107 * dSparse.h (real (const SparseComplexMatrix&)): |
|
1108 Publish externally used friend function. |
|
1109 (imag (const SparseComplexMatrix&)): Likewise. |
|
1110 |
5508
|
1111 * dColVector.h (real (const ComplexColumnVector&)): |
|
1112 Publish externally used friend function. |
|
1113 (imag (const ComplexColumnVector&)): Likewise. |
|
1114 |
|
1115 * dNDArray.h (real (const ComplexNDArray&)): |
|
1116 Publish externally used friend function. |
|
1117 (imag (const ComplexNDArray&)): Likewise. |
|
1118 |
|
1119 * dMatrix.h (operator * (const ComplexMatrix&)): |
|
1120 Move decl outside class. No need to be friend. |
|
1121 (real (const ComplexMatrix&)): Publish externally used friend function. |
|
1122 (imag (const ComplexMatrix&)): Likewise. |
|
1123 |
|
1124 * CMatrix.h: (operator * (const ColumnVector&, const |
|
1125 ComplexRowVector&)): Move decl outside class. No need to be friend. |
|
1126 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. |
|
1127 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): |
|
1128 Likewise. |
|
1129 |
5506
|
1130 2005-10-23 David Bateman <dbateman@free.fr> |
|
1131 |
|
1132 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
|
1133 elements need to be removed. |
|
1134 |
|
1135 * oct-sparse.h.in: Include metis headers and some macros for long/int |
|
1136 versions of cholmod. |
|
1137 |
|
1138 * CSparse.cc (tinverse): New private function for the inversion of |
|
1139 an upper triangular matrix. |
|
1140 (dinverse): ditto for diagonal matrices. |
|
1141 (inverse): Add SparseType as an argument. Implement matrix inverse |
|
1142 using tinverse and dinverse. |
|
1143 (fsolve): Use cholmod to implement Cholesky solver. |
|
1144 * CSparse.h (tinverse, dinverse): Declarations |
|
1145 (inverse): Alter declaration to include SparseType. |
|
1146 |
|
1147 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. |
|
1148 * dSparse.h (tinverse, dinverse, inverse): ditto. |
|
1149 |
|
1150 * SparseType.cc: Fix complex constructor for hermitian matrices. |
|
1151 |
|
1152 * sparse-util.cc: New file for sparse utility functions. |
|
1153 * sparse-util.h: New file with declarations of sparse utility |
|
1154 functions. |
|
1155 |
|
1156 * sparse-base-chol.cc: New file with sparse cholesky class based |
|
1157 on cholmod. |
|
1158 * sparse-base-chol.h: New file with declaration of sparse cholesky |
|
1159 class based on cholmod. |
|
1160 |
|
1161 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. |
|
1162 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. |
|
1163 |
|
1164 * SparsedbleCHOL.cc: ditto. |
|
1165 * SparsedbleCHOL.h: ditto. |
|
1166 |
|
1167 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. |
|
1168 (INCLUDES): Include sparse-util.h |
|
1169 (TEMPLATE_SRC): Include sparse-base-chol.cc |
|
1170 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc |
|
1171 |
5489
|
1172 2005-10-12 John W. Eaton <jwe@octave.org> |
|
1173 |
|
1174 * oct-env.cc (octave_env::have_x11_display): New function. |
|
1175 * oct-env.h: Provide decl. |
|
1176 |
5476
|
1177 2005-09-29 John W. Eaton <jwe@octave.org> |
|
1178 |
|
1179 * file-stat.h (file_stat::mode): New function. |
|
1180 |
|
1181 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, |
|
1182 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
1183 file_stat::is_reg, file_stat::is_sock): New static functions. |
|
1184 * file-stat.h: Provide decls. |
|
1185 |
|
1186 2005-09-28 John W. Eaton <jwe@octave.org> |
|
1187 |
|
1188 * file-ops.cc (file_ops::recursive_rmdir): New function. |
|
1189 * file-ops.h: Provide decl. |
|
1190 |
5454
|
1191 2005-09-19 David Bateman <dbateman@free.fr> |
|
1192 |
|
1193 * oct-env.cc (octave_env::do_get_home_directory): |
|
1194 Also check HOMEDRIVE under mingw. |
|
1195 |
5455
|
1196 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
|
1197 |
5453
|
1198 2005-09-16 John W. Eaton <jwe@octave.org> |
|
1199 |
|
1200 * oct-syscalls.cc: Include lo-utils.h here. |
|
1201 (octave_syscalls::waitpid): Call octave_waitpid here. |
|
1202 |
|
1203 * lo-cutils.c (octave_waitpid): New function. |
|
1204 * lo-utils.h: Provide decl. Include syswait.h here, not in |
|
1205 oct-syscalls.cc |
|
1206 |
|
1207 |
|
1208 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining |
|
1209 waitpid in src/sysdep.h. Make this header C-compatible. |
|
1210 |
|
1211 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. |
|
1212 Change all uses. |
|
1213 |
5451
|
1214 2005-09-15 John W. Eaton <jwe@octave.org> |
|
1215 |
|
1216 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. |
|
1217 |
|
1218 * oct-sparse.h.in: New file. |
|
1219 * Makefile.in (DISTFILES): Include it in the list. |
|
1220 (INCLUDES): Add oct-sparse.h to the list. |
|
1221 |
|
1222 2005-09-15 David Bateman <dbateman@free.fr> |
|
1223 |
|
1224 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
|
1225 headers. Remove include of umfpack.h. |
|
1226 * CSparse.cc : ditto. |
|
1227 * SparsedbleLU.cc : ditto. |
|
1228 * SparseCmplxLU.cc : ditto. |
|
1229 |
|
1230 * COLAMD : Remove colamd files from octave. |
|
1231 * COLAMD.files : delete. |
|
1232 * COLAMD.README : delete. |
|
1233 * Makefile.in: Remove COLAMD. Add LIBGLOB. |
|
1234 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
|
1235 under mingw. |
|
1236 |
|
1237 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR |
|
1238 in definition. |
|
1239 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with |
|
1240 change of cast not allowed under g++ 3.x. |
|
1241 * lo-utils.h (octave_w32_library_search): Declaration. |
|
1242 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. |
|
1243 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. |
|
1244 |
5442
|
1245 2005-09-07 John W. Eaton <jwe@octave.org> |
|
1246 |
|
1247 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update |
|
1248 based on current code in Bash. Handle a few more escape |
|
1249 sequences. Do a better job of decoding \W. |
|
1250 |
5438
|
1251 2005-09-04 David Bateman <dbateman@free.fr> |
|
1252 |
|
1253 * COLAMD: Update version of colamd to v2.4. |
|
1254 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
1255 colamd.c for long version. |
|
1256 |
5429
|
1257 2005-08-25 David Bateman <dbateman@free.fr> |
|
1258 |
|
1259 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
1260 mixed sparse/full multiply. |
|
1261 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
1262 mixed sparse/full multiply. |
|
1263 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
1264 mixed sparse/full multiply operators. |
|
1265 |
5420
|
1266 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
1267 |
|
1268 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
1269 avoid warnings for unsigned types. |
|
1270 |
5404
|
1271 2005-07-07 John W. Eaton <jwe@octave.org> |
|
1272 |
|
1273 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
1274 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
1275 |
5392
|
1276 2005-06-15 John W. Eaton <jwe@octave.org> |
|
1277 |
5394
|
1278 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
1279 Flush stdout here. |
|
1280 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
1281 |
5392
|
1282 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
1283 |
5386
|
1284 2005-06-14 John W. Eaton <jwe@octave.org> |
|
1285 |
5389
|
1286 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
1287 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
1288 octave_is_NaN_or_NA to xisnan. |
|
1289 |
|
1290 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
1291 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
1292 |
|
1293 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
1294 lo_ieee_isnan. |
|
1295 |
5387
|
1296 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
1297 value is greater than FLT_MAX. |
|
1298 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
1299 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
1300 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
1301 |
|
1302 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
1303 values too. |
|
1304 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
1305 |
|
1306 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
1307 NA, Inf values. |
|
1308 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
1309 |
5385
|
1310 2005-06-14 David Bateman <dbateman@free.fr> |
|
1311 |
5387
|
1312 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
1313 NA values. |
|
1314 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
1315 |
5379
|
1316 2005-06-02 John W. Eaton <jwe@octave.org> |
|
1317 |
|
1318 * Array.cc (assignN): Try harder to correctly resize previously |
|
1319 empty LHS. |
|
1320 |
5351
|
1321 2005-05-16 David Bateman <dbateman@free.fr> |
|
1322 |
|
1323 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
1324 * CSparse.h: ditto. |
|
1325 |
5346
|
1326 2005-05-10 David Bateman <dbateman@free.fr> |
|
1327 |
|
1328 * dSparse.cc (determinant): Free numeric factorization after |
|
1329 sucessful calculation. |
|
1330 * CSparse.cc (determinant): ditto. |
|
1331 |
5340
|
1332 2005-05-06 John W. Eaton <jwe@octave.org> |
|
1333 |
|
1334 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
1335 chol_mat. |
|
1336 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
1337 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
1338 Provide decls. |
|
1339 |
|
1340 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
1341 indexing chol_mat. |
|
1342 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
1343 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
1344 Provide decls. |
|
1345 |
5338
|
1346 2005-05-05 John W. Eaton <jwe@octave.org> |
|
1347 |
|
1348 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
1349 retval before return. |
|
1350 |
5336
|
1351 2005-05-04 John W. Eaton <jwe@octave.org> |
|
1352 |
|
1353 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
1354 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
1355 |
5330
|
1356 2005-05-02 John W. Eaton <jwe@octave.org> |
|
1357 |
|
1358 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
1359 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
1360 |
5322
|
1361 2005-04-29 David Bateman <dbateman@free.fr> |
|
1362 |
5330
|
1363 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
1364 double. Correct indexing for upper diagonal elements for sparse |
|
1365 tridiagonal. |
5322
|
1366 * CSparse.cc (trisolve): ditto. |
|
1367 |
5330
|
1368 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
1369 UMFPACK for 64-bit. |
5322
|
1370 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
1371 UMFPACK_ZNAME(*). |
|
1372 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
1373 |
5330
|
1374 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
1375 UMFPACK for 64-bit. |
5322
|
1376 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
1377 UMFPACK_DNAME(*). |
|
1378 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
1379 |
5330
|
1380 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
1381 triangular back/forward substitution code. |
5322
|
1382 * CSparse.cc (ltsolve, utsolve): ditto. |
|
1383 |
5330
|
1384 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
1385 from spparms("spumoni",1). |
5322
|
1386 * CSparse.cc (solve): ditto |
|
1387 |
5330
|
1388 * SparseType.cc (SparseType(void)): Print info for |
|
1389 spparms("spumoni",1). |
5322
|
1390 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
1391 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
1392 const octave_idx_type, const octave_idx_type)): New constructors. |
|
1393 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
1394 Detect row permuted lower triangular and column permuted upper |
|
1395 triangular matrices. Remove one of the permutation vectors.. |
5322
|
1396 |
|
1397 * SparseType.h: Simplify the permutation code. |
|
1398 (SparseType(const matrix_type), SparseType |
|
1399 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
1400 SparseType(const matrix_type, const octave_idx_type, |
|
1401 const octave_idx_type)): Declarations. |
|
1402 |
5304
|
1403 2005-04-25 John W. Eaton <jwe@octave.org> |
|
1404 |
|
1405 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
1406 array and its contents. |
|
1407 |
5303
|
1408 2005-04-22 John W. Eaton <jwe@octave.org> |
|
1409 |
|
1410 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
1411 const here now that rl_terminal_name is declared const char*. |
|
1412 |
5294
|
1413 2005-04-21 John W. Eaton <jwe@octave.org> |
|
1414 |
|
1415 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
1416 |
5285
|
1417 2005-04-19 John W. Eaton <jwe@octave.org> |
|
1418 |
|
1419 * Array.cc (assignN): Don't crash if the index list is empty. |
|
1420 |
5282
|
1421 2005-04-14 David Bateman <dbateman@free.fr> |
|
1422 |
|
1423 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
1424 * SparsedbleLU.cc: Ditto. |
|
1425 * SparseCmplxLU.h: Definition. |
|
1426 * SparsedbleLU.h: ditto. |
|
1427 |
|
1428 * SparseType.cc (transpose): New function. |
|
1429 * SparseType.h (transpose): Definition. |
|
1430 |
5278
|
1431 2005-04-11 John W. Eaton <jwe@octave.org> |
|
1432 |
|
1433 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
1434 fortran code that could end up calling XSTOPX. |
|
1435 |
5277
|
1436 2005-04-10 David Bateman <dbateman@free.fr> |
|
1437 |
|
1438 * Makefile.in: include oct-types in INCLUDES so that it is |
|
1439 installed |
|
1440 |
5275
|
1441 2005-04-08 John W. Eaton <jwe@octave.org> |
|
1442 |
5276
|
1443 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
1444 |
5275
|
1445 * Initial merge of 64-bit changes from Clinton Chee: |
|
1446 |
|
1447 2005-04-07 John W. Eaton <jwe@octave.org> |
|
1448 |
|
1449 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
1450 |
|
1451 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
1452 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
1453 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
1454 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
1455 Use octave_idx_type instead of int where needed. |
|
1456 |
|
1457 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
1458 |
|
1459 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
1460 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
1461 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
1462 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
1463 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
1464 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
1465 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
1466 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
1467 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
1468 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
1469 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
1470 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
1471 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
1472 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
1473 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
1474 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
1475 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
1476 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
1477 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
1478 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
1479 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
1480 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
1481 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
1482 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
1483 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
1484 str-vec.cc, str-vec.h: |
|
1485 Use octave_idx_type instead of int where needed. |
|
1486 |
|
1487 2005-04-01 John W. Eaton <jwe@octave.org> |
|
1488 |
|
1489 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
1490 |
|
1491 * oct-types.h.in: New file. |
|
1492 |
|
1493 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
1494 |
|
1495 * lo-utils.cc (NINTbig): New function. |
|
1496 * lo-utils.h: Provide decl. |
|
1497 |
5269
|
1498 2005-04-06 David Bateman <dbateman@free.fr> |
|
1499 |
|
1500 * Makefile.in: Link to UMFPACK_LIBS. |
|
1501 |
5265
|
1502 2005-04-05 John W. Eaton <jwe@octave.org> |
|
1503 |
|
1504 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
1505 |
5264
|
1506 2005-04-01 John W. Eaton <jwe@octave.org> |
|
1507 |
|
1508 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
1509 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
1510 when resizing A. When performing the assignment, just check that |
|
1511 the number of elements in RHS matches the number of elements |
|
1512 indexed by IDX-LIST. |
|
1513 |
5260
|
1514 2005-03-30 John W. Eaton <jwe@octave.org> |
|
1515 |
5261
|
1516 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
1517 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
1518 |
|
1519 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
1520 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
1521 wrappers from oct-cmplx.h. |
5260
|
1522 |
|
1523 * oct-cmplx.h: Provide typedef only. |
|
1524 |
|
1525 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
1526 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
1527 Likewise. |
|
1528 |
5247
|
1529 2005-03-26 John W. Eaton <jwe@octave.org> |
|
1530 |
|
1531 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
1532 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
1533 |
5209
|
1534 2005-03-15 John W. Eaton <jwe@octave.org> |
|
1535 |
|
1536 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
1537 |
5203
|
1538 2005-03-14 John W. Eaton <jwe@octave.org> |
|
1539 |
|
1540 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
1541 (DISTDIRS): Don't include UMFPACK. |
|
1542 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
1543 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
1544 flags for these files. |
|
1545 Don't include include $(srcdir)/UMFPACK.files. |
|
1546 Don't include include $(srcdir)/UMFPACK.rules. |
|
1547 |
|
1548 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
1549 Delete files. |
|
1550 * UMFPACK: Delete directory tree. |
|
1551 |
|
1552 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
1553 * CSparse.cc: Likewise. |
|
1554 * SparsedbleLU.cc: Likewise. |
|
1555 * SparseCmplxLU.cc: Likewise. |
|
1556 |
|
1557 2005-03-14 David Bateman <dbateman@free.org> |
|
1558 |
|
1559 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
1560 Allow compilation to succeed if UMFPACK is not available. |
|
1561 |
5196
|
1562 2005-03-09 John W. Eaton <jwe@octave.org> |
|
1563 |
|
1564 * Makefile.in (bin-dist): Delete target. |
|
1565 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
1566 |
5173
|
1567 2005-03-01 John W. Eaton <jwe@octave.org> |
|
1568 |
|
1569 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
1570 * Makefile.in: Remove them from the lists. |
|
1571 |
5169
|
1572 2005-02-28 John W. Eaton <jwe@octave.org> |
|
1573 |
|
1574 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
1575 |
5167
|
1576 2005-02-27 David Bateman <dbateman@free.org> |
|
1577 |
5169
|
1578 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
1579 in the sparse matrix. |
5167
|
1580 |
5164
|
1581 2005-02-25 John W. Eaton <jwe@octave.org> |
|
1582 |
|
1583 Sparse merge. |
|
1584 |
|
1585 2005-02-13 David Bateman <dbateman@free.fr> |
|
1586 |
|
1587 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
1588 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
1589 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
1590 solver into separate functions for the diagonal, upper, lower |
|
1591 triangular, tridiagonal, banded and full cases. |
|
1592 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
1593 version that probes the matrix type and another that assumes the type |
|
1594 is passed. |
|
1595 |
|
1596 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
1597 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
1598 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
1599 (SparseMatrix::solve): Likewise |
|
1600 |
|
1601 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
1602 Declaration of new functions |
|
1603 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
1604 Likewise |
|
1605 |
|
1606 * CSparse.cc (operator !): Reverse the sense of the test. |
|
1607 * dSpase.cc (operator !): Likewise |
|
1608 |
|
1609 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
1610 triangular_col_perm, sparse_info): Remove matrix type code |
|
1611 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
1612 triangular_col_perm, sparse_info): Likewise |
|
1613 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
1614 triangular_col_perm, sparse_info): Likewise |
|
1615 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
1616 triangular_col_perm, sparse_info): Likewise |
|
1617 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
1618 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
1619 |
|
1620 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
1621 |
|
1622 * SparseType.h: New class for the matrix type used in solvers |
|
1623 * SparseType.cc: methods of sparse matrix type class |
|
1624 |
|
1625 * Makefile.in: Add SparseType.cc |
|
1626 |
|
1627 2005-02-01 David Bateman <dbateman@free.fr> |
|
1628 |
|
1629 * UMFPACK: Update to version 4.4 |
|
1630 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
1631 keep octave specific test files |
|
1632 |
|
1633 2005-01-23 David Bateman <dbateman@free.fr> |
|
1634 |
|
1635 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
1636 tridiagonal and banded cholesky solvers. Remove calculation of |
|
1637 condition number for banded solvers. |
|
1638 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
1639 |
|
1640 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
1641 new functions. |
|
1642 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
1643 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
1644 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
1645 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
1646 ditto |
|
1647 |
|
1648 * Sparse.cc (int Sparse<T>::type (int) const, |
|
1649 bool Sparse<T>::is_dense (void) const): New functions definition |
|
1650 |
|
1651 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
1652 so it actually is cached, but disable |
|
1653 |
|
1654 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
1655 for compatiability |
|
1656 |
|
1657 2005-01-18 David Bateman <dbateman@free.fr> |
|
1658 |
|
1659 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
1660 Modify calculation of number elements to skip between copied blocks. |
|
1661 |
|
1662 2005-01-07 David Bateman <dbateman@free.fr> |
|
1663 |
|
1664 * Sparse.h : Reverse definitions of numel and nelem. |
|
1665 * Sparse.cc (assign1): Use numel and not nelem |
|
1666 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
1667 |
|
1668 2005-01-07 David Bateman <dbateman@free.fr> |
|
1669 |
|
1670 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
1671 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
1672 ComplexDET |
|
1673 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
1674 by DET |
|
1675 * dSparse.h (determinant): ditto |
|
1676 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
1677 SparseComplexDET by ComplexDET |
|
1678 * CSparse.h (determinant): ditto |
|
1679 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
1680 SparseCmplxDET.cc: delete files |
|
1681 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
1682 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
1683 |
|
1684 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
1685 local variable to avoid variable shadowing. |
|
1686 * dSparse.cc (SparseMatrix::solve): ditto. |
|
1687 |
|
1688 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
1689 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
1690 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
1691 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
1692 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
1693 sparse-sort.h: Remove additional licensing clause with authors |
|
1694 permission. |
|
1695 |
|
1696 2004-12-30 John W. Eaton <jwe@octave.org> |
|
1697 |
|
1698 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
1699 Loop counter is int, not size_t. |
|
1700 |
|
1701 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
1702 |
|
1703 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
1704 |
|
1705 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
1706 Delete unused variables. |
|
1707 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
1708 variables and variables that might be clobbered by longjmp. |
|
1709 |
|
1710 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
1711 min, max): Delete unused variables. |
|
1712 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
1713 variables and variables that might be clobbered by longjmp. |
|
1714 |
|
1715 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
1716 |
|
1717 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
1718 Loop counter is int, not size_t. |
|
1719 |
|
1720 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
1721 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
1722 |
|
1723 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
1724 lists consistently. |
|
1725 |
|
1726 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
1727 |
|
1728 2004-12-29 John W. Eaton <jwe@octave.org> |
|
1729 |
|
1730 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
1731 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
1732 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
1733 $(UMFPACK_EXTRAS) to the list. |
|
1734 (DISTDIRS): New variable. |
|
1735 (dist): Handle $(DISTDIRS). |
|
1736 |
|
1737 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
1738 Andy Adler <adler@site.uottawa.ca>. |
|
1739 |
|
1740 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
1741 |
|
1742 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
1743 without directory prefix. |
|
1744 |
|
1745 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
1746 $(UMFPACK_OBJ) to the list. |
|
1747 |
|
1748 * COLAMD: New directory. |
|
1749 * COLAMD.files: New file. |
|
1750 * Makefile.in: Include COLAMD.files. |
|
1751 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
1752 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
1753 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
1754 |
|
1755 * UMFPACK: New directory. |
|
1756 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
1757 New files. |
|
1758 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
1759 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
1760 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
1761 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
1762 |
|
1763 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
1764 (INCLUDES): Add it to the list. |
|
1765 (SPARSE_MX_OP_SRC): New variable. |
|
1766 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
1767 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
1768 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
1769 |
|
1770 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
1771 * Makefile.in (DISTFILES): Add them to the lists. |
|
1772 |
|
1773 * oct-spparms.h, sparse-sort.h: New files. |
|
1774 * Makefile.in (INCLUDES): Add them to the list. |
|
1775 |
|
1776 * oct-spparms.cc, sparse-sort.cc: New files. |
|
1777 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
1778 |
|
1779 * sparse-base-lu.cc: New file. |
|
1780 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
1781 |
|
1782 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
1783 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
1784 SparsedbleLU.cc: New files. |
|
1785 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
1786 |
|
1787 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
1788 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
1789 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
1790 Sparse-op-defs.h: New files. |
|
1791 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
1792 |
|
1793 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
1794 Sparse-C.cc: New files. |
|
1795 * Makefile.in (TI_SRC): Add them to the list. |
|
1796 |
5149
|
1797 2005-02-18 John W. Eaton <jwe@octave.org> |
|
1798 |
|
1799 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
1800 Pass current directory to octave_env::make_absolute. |
|
1801 Save value returned from octave_env::make_absolute in local var. |
|
1802 Pass const char*, not std::string as first arg of resolvepath. |
|
1803 Provide decl for resolved_len. |
|
1804 |
5148
|
1805 2005-02-18 John W. Eaton <jwe@octave.org> |
|
1806 |
|
1807 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
1808 than number of dimenensions of permuted matrix. |
|
1809 |
|
1810 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
1811 * Array-util.cc (calc_permutated_idx): Likewise. |
|
1812 |
5139
|
1813 2005-02-10 David Bateman <dbateman@free.fr> |
|
1814 |
|
1815 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
1816 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
1817 |
5137
|
1818 2005-02-09 John W. Eaton <jwe@octave.org> |
|
1819 |
5138
|
1820 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
1821 * file-ops.h: Provide decls. |
|
1822 |
5137
|
1823 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
1824 |
5136
|
1825 2005-02-08 John W. Eaton <jwe@octave.org> |
|
1826 |
|
1827 * Array-util.cc (freeze): Improve error message. |
|
1828 |
5120
|
1829 2005-01-26 David Bateman <dbateman@free.fr> |
|
1830 |
5121
|
1831 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
1832 special case for fast concatenation. |
5120
|
1833 |
5110
|
1834 2005-01-18 John W. Eaton <jwe@octave.org> |
|
1835 |
|
1836 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
1837 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
1838 |
|
1839 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
1840 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
1841 |
5108
|
1842 2005-01-18 David Bateman <dbateman@free.fr> |
|
1843 |
|
1844 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
1845 Modify calculation of number elements to skip between copied blocks. |
|
1846 |
|
1847 2005-01-18 John W. Eaton <jwe@octave.org> |
|
1848 |
|
1849 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
1850 error handler, to warn about resizing. |
|
1851 |
5105
|
1852 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
1853 |
|
1854 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
1855 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
1856 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
1857 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
1858 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
1859 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
1860 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
1861 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
1862 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
1863 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
1864 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
1865 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
1866 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
1867 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
1868 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
1869 Delete #pragma implementation. |
|
1870 |
|
1871 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
1872 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
1873 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
1874 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
1875 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
1876 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
1877 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
1878 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
1879 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
1880 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
1881 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
1882 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
1883 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
1884 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
1885 Delete #pragma interface. |
|
1886 |
5098
|
1887 2004-12-17 John W. Eaton <jwe@octave.org> |
|
1888 |
|
1889 * lo-cieee.c (lo_ieee_signbit): New function. |
|
1890 * lo-ieee.h: Provide decl. |
|
1891 Don't define lo_ieee_signbit as a macro here. |
|
1892 From Orion Poplawski <orion@cora.nwra.com>. |
|
1893 |
5085
|
1894 2004-11-18 John W. Eaton <jwe@octave.org> |
|
1895 |
|
1896 * int32NDArray.cc (pow): Delete instantiation. |
|
1897 * int16NDArray.cc (pow): Likewise. |
|
1898 * int8NDArray.cc (pow): Likewise. |
|
1899 * uint32NDArray.cc (pow): Likewise. |
|
1900 * uint16NDArray.cc (pow): Likewise. |
|
1901 * uint8NDArray.cc (pow): Likewise. |
|
1902 |
5081
|
1903 2004-11-17 John W. Eaton <jwe@octave.org> |
|
1904 |
5085
|
1905 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
1906 Now static. |
|
1907 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
1908 DEFAULT_TEXMFDBS): Delete unused macros. |
|
1909 |
5081
|
1910 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
1911 if idx_arg is N-d. |
|
1912 |
5073
|
1913 2004-11-09 David Bateman <dbateman@free.fr> |
|
1914 |
|
1915 * dNDArray.cc (concat): Delete. |
|
1916 (NDArray::concat): New methods. |
|
1917 * dNDArray.h: Provide decls. |
|
1918 |
|
1919 * CNDArray.cc (concat): Delete. |
|
1920 (ComplexNDArray::concat): New methods. |
|
1921 * CNDArray.h: Provide decls. |
|
1922 |
|
1923 * boolNDArray.cc (concat): Delete. |
|
1924 (boolNDArray::concat): New methods. |
|
1925 * boolNDArray.h: Provide decls. |
|
1926 |
|
1927 * chNDArray.cc (concat): Delete. |
|
1928 (charNDArray::concat): New methods. |
|
1929 * chNDArray.h: Provide decls. |
|
1930 |
|
1931 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
1932 Delete macros. |
|
1933 |
|
1934 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
1935 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
1936 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
1937 |
|
1938 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
1939 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
1940 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
1941 |
|
1942 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
1943 * intNDArray.h: Provide decl. |
|
1944 |
5072
|
1945 2004-11-08 John W. Eaton <jwe@octave.org> |
|
1946 |
|
1947 * oct-inttypes.cc: New file. |
|
1948 * Makefile.in (TI_SRC): Add it to the list. |
|
1949 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
1950 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
1951 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
1952 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
1953 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
1954 New macros for comparison operations. Avoid potential |
|
1955 problems with default conversions when comparing signed and |
|
1956 unsigned values. |
|
1957 |
5061
|
1958 2004-11-03 John W. Eaton <jwe@octave.org> |
|
1959 |
|
1960 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
1961 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
1962 |
5052
|
1963 2004-10-19 John W. Eaton <jwe@octave.org> |
|
1964 |
|
1965 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
1966 |
5047
|
1967 2004-10-18 John W. Eaton <jwe@octave.org> |
|
1968 |
|
1969 * Array.cc (assign2): Save result of squeeze operation. |
|
1970 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
1971 |
5095
|
1972 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
1973 |
|
1974 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
1975 flag whether transform in- or out-of-place. |
|
1976 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
1977 (octave_fftw_planner::create_plan): Use it. |
|
1978 |
5039
|
1979 2004-09-24 John W. Eaton <jwe@octave.org> |
|
1980 |
|
1981 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
1982 any empty matrix, not just []. |
|
1983 |
5030
|
1984 2004-09-23 John W. Eaton <jwe@octave.org> |
|
1985 |
|
1986 * mx-ops: Include scalar zero value in type definitions. |
|
1987 Delete zero information from ops section. |
|
1988 * mk-ops.awk: Use type-specific zero info. |
|
1989 |
|
1990 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
1991 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
1992 LHS and RHS. |
|
1993 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
1994 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
1995 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
1996 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
1997 |
|
1998 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
1999 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
2000 tree_to_mat_idx. |
|
2001 |
|
2002 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
2003 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
2004 Likewise for the "if (b_val & one)" test. |
|
2005 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
2006 |
5029
|
2007 2004-09-23 David Bateman <dbateman@free.fr> |
|
2008 |
|
2009 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
2010 New macros. Use them to define mixed intX-double and double-intX ops. |
|
2011 |
5021
|
2012 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
2013 |
|
2014 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
2015 Fix doc string layout to avoid overfull hbox in printed output. |
|
2016 |
5015
|
2017 2004-09-21 John W. Eaton <jwe@octave.org> |
|
2018 |
|
2019 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
2020 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
2021 For "native", set actual native format. |
|
2022 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
2023 |
5008
|
2024 2004-09-17 David Bateman <dbateman@free.fr> |
|
2025 |
|
2026 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
2027 calculation of the unitary matrix optional. |
|
2028 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
2029 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
2030 |
4998
|
2031 2004-09-15 David Bateman <dbateman@free.fr> |
|
2032 |
|
2033 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
2034 New function to set the comparison function for the sort. |
|
2035 |
4985
|
2036 2004-09-10 John W. Eaton <jwe@octave.org> |
|
2037 |
|
2038 * lo-mappers.cc (xround): Fix typo. |
|
2039 |
4979
|
2040 2004-09-08 John W. Eaton <jwe@octave.org> |
|
2041 |
|
2042 * Array.h (Array::~Array): Declare virtual. |
|
2043 |
|
2044 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
2045 initializaion list. Don't set rep->count since the rep |
|
2046 constructor does that. |
|
2047 |
4968
|
2048 2004-09-07 John W. Eaton <jwe@octave.org> |
|
2049 |
4970
|
2050 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
2051 (oct_data_conv::data_type_as_string): Likewise. |
|
2052 |
|
2053 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
2054 |
4968
|
2055 * Range.cc (round): Delete unused function. |
|
2056 |
|
2057 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
2058 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
2059 |
|
2060 * oct-inttypes.h: Include <cmath> here. |
|
2061 |
4964
|
2062 2004-09-03 David Bateman <dbateman@free.fr> |
|
2063 |
|
2064 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
2065 New functions for boolean matrix concatenation. |
|
2066 * boolNDArray.h: Provide decls. |
|
2067 |
4963
|
2068 2004-09-03 John W. Eaton <jwe@octave.org> |
|
2069 |
4964
|
2070 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
2071 to avoid signed/unsigned int comparison problems. |
|
2072 |
|
2073 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
2074 for mixed integer and double types. |
|
2075 |
|
2076 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
2077 separately, and only if needed. |
|
2078 |
4963
|
2079 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
2080 static_cast for type conversion. |
|
2081 |
4953
|
2082 2004-09-01 John W. Eaton <jwe@octave.org> |
|
2083 |
|
2084 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
2085 operator /): Handle mixed integer/double ops. If op generates a |
|
2086 NaN, set result to 0. |
|
2087 (octave_int::operator - (void)): Convert to double, then negate, |
|
2088 then fit to range. |
|
2089 |
|
2090 * mx-ops: Define integer types. Include declarations for mixed |
|
2091 integer/double ops. |
|
2092 |
4952
|
2093 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2094 |
|
2095 * oct-inttypes.h (pow): Args now const reference. |
|
2096 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
2097 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
2098 New member functions. |
|
2099 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
2100 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
2101 Define in terms of >>=. |
|
2102 (operator << (const octave_int<T1>& x, const T2& y)): |
|
2103 Define in terms of <<=. |
|
2104 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
2105 we get proper saturation properties. |
|
2106 |
|
2107 2004-08-31 David Bateman <dbateman@free.fr> |
|
2108 |
|
2109 * oct-inttypes.h (pow (constT, T)): New template. |
|
2110 |
|
2111 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
2112 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
2113 |
4949
|
2114 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2115 |
|
2116 * oct-inttypes.h (octave_int::byte_size): New function. |
|
2117 |
4944
|
2118 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2119 |
4946
|
2120 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
2121 |
4944
|
2122 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
2123 Explicitly number enum elements. |
|
2124 |
|
2125 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
2126 std::string&, int&, oct_data_conv::data_type&, |
|
2127 oct_data_conv::data_type&)): New function. |
|
2128 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
2129 oct_data_conv::data_type&)): New function. |
|
2130 (oct_data_conv::data_type_as_string): New function. |
|
2131 |
|
2132 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
2133 (write_int, do_write, Matrix::write): Delete. |
|
2134 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
2135 |
|
2136 * byte-swap.h: Use template functions and specialization. |
|
2137 Change all uses. |
|
2138 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2139 |
4943
|
2140 2004-08-30 John W. Eaton <jwe@octave.org> |
|
2141 |
|
2142 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
2143 specializations to avoid warnings about signed/unsigned comparisons. |
|
2144 |
|
2145 2004-08-28 John W. Eaton <jwe@octave.org> |
|
2146 |
|
2147 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
2148 size_t, int, oct_mach_info::float_format)): New function. |
|
2149 (GET_SIZED_INT_TYPE): New macro. |
|
2150 (string_to_data_type): Use it to return sized types corresponding |
|
2151 to Octave array data types. |
|
2152 (strip_spaces): New function. |
|
2153 (do_double_format_conversion, do_float_format_conversion): Pass |
|
2154 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
2155 float format. |
|
2156 (do_double_format_conversion, |
|
2157 IEEE_big_double_to_IEEE_little_double, |
|
2158 VAX_D_double_to_IEEE_little_double, |
|
2159 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
2160 IEEE_little_double_to_IEEE_big_double, |
|
2161 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
2162 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
2163 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
2164 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
2165 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
2166 Cray_to_VAX_G_double): |
|
2167 Pass data as void*, not double*. |
|
2168 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
2169 VAX_D_float_to_IEEE_little_float, |
|
2170 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
2171 IEEE_little_float_to_IEEE_big_float, |
|
2172 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
2173 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
2174 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
2175 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
2176 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
2177 Cray_to_VAX_G_float): |
|
2178 Pass data as void*, not float*. |
|
2179 |
|
2180 2004-08-27 John W. Eaton <jwe@octave.org> |
|
2181 |
|
2182 * byte-swap.h (swap_bytes): New template versions, with |
|
2183 specializations. |
|
2184 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2185 Change all uses. |
|
2186 |
4940
|
2187 2004-08-24 David Bateman <dbateman@free.fr> |
|
2188 |
|
2189 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
2190 empty instead of checking final matrix. |
|
2191 * dNDArray.cc (concat): Likewise. |
|
2192 * CNDArray.cc (concat): Likewise. |
|
2193 |
|
2194 2004-08-23 David Bateman <dbateman@free.fr> |
|
2195 |
|
2196 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
2197 non-existent dimensions. |
|
2198 |
4938
|
2199 2004-08-09 John W. Eaton <jwe@octave.org> |
|
2200 |
|
2201 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
2202 (const octave_int<U>&)): New member function. |
|
2203 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
2204 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
2205 Now member functions instead of static in idx-vector.cc. |
|
2206 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
2207 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
2208 New template constructors. |
|
2209 |
4932
|
2210 2004-08-05 John W. Eaton <jwe@octave.org> |
|
2211 |
4933
|
2212 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
2213 |
4932
|
2214 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
2215 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
2216 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
2217 |
4929
|
2218 2004-08-03 John W. Eaton <jwe@octave.org> |
|
2219 |
|
2220 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
2221 arrays with more than two dimensions and only one non-singleton |
|
2222 dimension, return a column vector. |
|
2223 |
4921
|
2224 2004-07-28 John W. Eaton <jwe@octave.org> |
|
2225 |
|
2226 * oct-cmplx.h (pow (const Complex&, const double&): |
|
2227 Convert second arg to complex to avoid libstdc++ bug. |
|
2228 |
4920
|
2229 2004-07-27 John W. Eaton <jwe@octave.org> |
|
2230 |
|
2231 * oct-inttypes.h (bitshift): New arg, MASK. |
|
2232 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
2233 |
4916
|
2234 2004-07-23 John W. Eaton <jwe@octave.org> |
|
2235 |
|
2236 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
2237 |
4915
|
2238 2004-07-23 David Bateman <dbateman@free.fr> |
|
2239 |
|
2240 * Array.cc, Array.h (cat_ra): Delete. |
|
2241 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
2242 (INSTANTIATE_ARRAY_CAT): Delete. |
|
2243 |
|
2244 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2245 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
2246 |
|
2247 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
2248 |
|
2249 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2250 chNDArray.h (concat): New function used for concatenation that does |
|
2251 an indexed copy of one array into another. |
|
2252 |
|
2253 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
2254 |
|
2255 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2256 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
2257 insertion of one NDArray into another. |
|
2258 |
|
2259 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
2260 macros to define the int/uint concatenation functions. |
|
2261 |
|
2262 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2263 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
2264 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
2265 |
|
2266 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2267 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
2268 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
2269 functions. |
|
2270 |
4911
|
2271 2004-07-22 David Bateman <dbateman@free.fr> |
|
2272 |
|
2273 * oct-sort.h: Don't include oct-obj.h. |
|
2274 |
|
2275 * lo-specfun.cc (is_integer_value): New function. |
|
2276 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
2277 integer orders that cause overflow for small arguments. |
|
2278 |
4909
|
2279 2004-07-12 John W. Eaton <jwe@octave.org> |
|
2280 |
|
2281 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
2282 (bitshift (const octave_int<T>&, int)): New function. |
|
2283 |
4902
|
2284 2004-06-14 John W. Eaton <jwe@octave.org> |
|
2285 |
|
2286 * mx-base.h: Include headers for new int types. |
|
2287 |
|
2288 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
2289 NDArray::NDArray (const charNDArray&)): Delete. |
|
2290 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
2291 constructor. |
|
2292 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
2293 |
|
2294 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
2295 return type conversion. |
|
2296 |
|
2297 * ComplexNDArray.h, ComplexNDArray.cc |
|
2298 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
2299 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
2300 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
2301 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
2302 |
|
2303 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
2304 |
|
2305 * MArrayN.h: |
|
2306 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
2307 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
2308 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
2309 New constructors. |
|
2310 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
2311 ArrayN<T>::squeeze): |
|
2312 New forwarding functions for return type conversion. |
|
2313 |
|
2314 * ArrayN.h: |
|
2315 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
2316 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
2317 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
2318 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
2319 const dim_vector&)): New constructors. |
|
2320 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
2321 ArrayN<T>::transpose): |
|
2322 New forwarding functions for return type conversion. |
|
2323 |
|
2324 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
2325 New constructor. |
|
2326 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
2327 |
|
2328 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
2329 |
|
2330 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2331 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
2332 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
2333 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
2334 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
2335 * Makefile.in: Add them to the appropriate lists. |
|
2336 |
4899
|
2337 2004-06-04 John W. Eaton <jwe@octave.org> |
|
2338 |
|
2339 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
2340 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
2341 resize op. Change all uses. |
|
2342 |
4898
|
2343 2004-06-03 David Bateman <dbateman@free.fr> |
|
2344 |
|
2345 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
2346 greater than the existing number of dimensions in lvalue. |
|
2347 |
4887
|
2348 2004-04-30 David Bateman <dbateman@free.fr> |
|
2349 |
|
2350 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
2351 New arg, fill_value. |
|
2352 (dim_vector::resize): Allow optional fill_value argument. |
|
2353 |
|
2354 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
2355 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
2356 more than one element in idx_vector. Resize the return value to |
|
2357 the size of Array<idx_vector>. |
|
2358 |
|
2359 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
2360 idx_vector that is shorter than a dim_vector. |
|
2361 |
4882
|
2362 2004-04-23 John W. Eaton <jwe@octave.org> |
|
2363 |
|
2364 * oct-sort.cc: Don't include oct-obj.h. |
|
2365 |
4876
|
2366 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2367 |
|
2368 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
2369 Don't set invalid dimensions on return value. |
|
2370 |
4871
|
2371 2004-04-21 John W. Eaton <jwe@octave.org> |
|
2372 |
|
2373 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
2374 |
4850
|
2375 2004-04-06 David Bateman <dbateman@free.fr> |
|
2376 |
4870
|
2377 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
2378 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
2379 Make their behavior equivalent except for filling vs. not filling. |
|
2380 |
4850
|
2381 * oct-sort.cc: New template class for arbitrary sorting. |
|
2382 * oct-sort.h: Declaration of sort class. |
|
2383 * Makefile: Add them to the appropriate lists. |
|
2384 |
4845
|
2385 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2386 |
|
2387 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
2388 |
4844
|
2389 2004-04-02 David Bateman <dbateman@free.fr> |
|
2390 |
|
2391 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
2392 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
2393 New N-d array versions. |
4844
|
2394 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
2395 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
2396 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
2397 |
|
2398 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
2399 New functions. |
|
2400 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
2401 |
|
2402 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
2403 New functions. |
|
2404 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
2405 Provide decls. |
|
2406 |
4842
|
2407 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
2408 |
|
2409 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
2410 work vector, not just when using a numerical Jacobian. |
|
2411 |
4834
|
2412 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2413 |
4835
|
2414 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
2415 Omit empty result args. |
|
2416 |
4834
|
2417 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
2418 Move here from Array.h, check that size of array arg is not |
|
2419 smaller than the size defined by the new dimensions. |
|
2420 |
4832
|
2421 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2422 |
|
2423 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
2424 a scalar or vector with an N-d array. |
|
2425 |
4826
|
2426 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2427 |
4828
|
2428 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
2429 matrix, return object that is the same size as the index. |
|
2430 |
4826
|
2431 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
2432 Eliminate MT_RESULT args. Return value is always size of args. |
|
2433 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
2434 Eliminate EMPTY_RESULT arg. |
|
2435 Return value is always size of matrix or N-d array arg. |
|
2436 (TBM, FBM, NBM): Delete unused macros. |
|
2437 |
4821
|
2438 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2439 |
|
2440 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
2441 if all LHS dimensions are zero. For one index case, freeze and |
|
2442 sort idx_vec before checking length, and do nothing if |
|
2443 num_to_delete is zero. |
4822
|
2444 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
2445 |
4816
|
2446 2004-03-04 David Bateman <dbateman@free.fr> |
|
2447 |
|
2448 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
2449 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
2450 |
4811
|
2451 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
2452 |
|
2453 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
2454 element. |
|
2455 |
|
2456 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2457 |
|
2458 * Range.h (Range::Range): Add cache to member initialization list. |
|
2459 (Range::clear_cache): New private function. |
|
2460 |
|
2461 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
2462 Use clear cache. Don't do anything if range does not change. |
|
2463 * Range.cc (Range::sort): Likewise. |
|
2464 |
4810
|
2465 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
2466 |
|
2467 * Range.cc (Range::matrix_value): Cache result. |
|
2468 (Range::sort): Clear cache. |
|
2469 * Range.h (Range::cache): New data member. |
|
2470 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
2471 (Range::print_range): Delete. |
4808
|
2472 |
|
2473 2004-03-02 David Bateman <dbateman@free.fr> |
|
2474 |
|
2475 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
2476 changes between them. Faster for small fft's. |
|
2477 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
2478 New member variables. |
|
2479 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
2480 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
2481 Change all uses. |
|
2482 (CHECK_SIMD_ALIGNMENT): New macro. |
|
2483 (octave_fftw_planner::create_plan): Use it. |
|
2484 |
4806
|
2485 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
2486 |
|
2487 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
2488 |
|
2489 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
2490 |
|
2491 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
2492 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
2493 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
2494 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
2495 |
|
2496 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
2497 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
2498 |
4800
|
2499 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2500 |
4802
|
2501 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
2502 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
2503 octave_rl_get_event_hook): Omit casts. |
|
2504 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
2505 Return value for function pointer typedef is now int. |
|
2506 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
2507 command_editor::event_hook_fcn): Likewise. |
|
2508 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
2509 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
2510 Return type is now int. Return 0. |
|
2511 |
4800
|
2512 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
2513 Query Lapack for workspace size. |
|
2514 |
4796
|
2515 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2516 |
|
2517 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
2518 Fix thinko in extending dimensions. |
|
2519 |
4791
|
2520 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2521 |
|
2522 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
2523 Don't compute values beyond the limits of the range. |
|
2524 (operator << (std::ostream&, const Range&)): Likewise. |
|
2525 |
4786
|
2526 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2527 |
4788
|
2528 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
2529 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
2530 From Paul Kienzle <pkienzle@users.sf.net>. |
|
2531 |
4786
|
2532 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
2533 Rename from Array<T>::insert. |
|
2534 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
2535 Reinstate old Array<T>::insert function under this name. |
|
2536 (Array<T>::insert (const Array<T>&, int, int)): |
|
2537 New function. Dispatch to insert2 or insertN as appropriate. |
|
2538 |
4785
|
2539 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2540 |
|
2541 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
2542 Sprinkle with OCTAVE_QUIT. |
|
2543 |
5095
|
2544 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
2545 |
|
2546 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
2547 Add support for FFTW 3.x. Include the ability to |
|
2548 use the real to complex transform for fft's of real matrices |
|
2549 (octave_fftw_planner::create_plan2d): Delete. |
|
2550 (octave_fftw::fft2d): Delete. |
|
2551 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
2552 New static functions. |
|
2553 * oct-fftw.h: Update decls. |
|
2554 |
|
2555 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
2556 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
2557 transforms. 1D FFT of a matrix done as single call rather than |
|
2558 loop. Update for FFTW 3.x |
|
2559 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
2560 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
2561 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
2562 |
|
2563 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
2564 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
2565 functions for Nd arrays. |
|
2566 * dNArray.h Provide decls. |
|
2567 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
2568 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
2569 fourier transform functions for complex Nd arrays. |
|
2570 * CNArray.h: Provide decls. |
|
2571 |
4765
|
2572 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
2573 |
|
2574 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
2575 Make it work for N-d arrays. |
|
2576 |
|
2577 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
2578 New function. |
|
2579 |
|
2580 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
2581 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
2582 New functions. |
|
2583 * CNDArray.h: Provide decls. |
|
2584 |
4759
|
2585 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2586 |
4760
|
2587 * Makefile.in (LINK_DEPS): Always define. |
|
2588 |
4759
|
2589 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
2590 least two dimensions. |
|
2591 |
4758
|
2592 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
2593 |
|
2594 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
2595 * dNDArray.cc (NDArray::cat): New function. |
|
2596 * dNDArray.h: Provide decls. |
|
2597 * CNDArray.cc (complexNDArray::cat): New function. |
|
2598 * CNDArray.h: Provide decls. |
|
2599 * chNDArray.cc (charNDArray::cat): New function. |
|
2600 * chNDArray.h: Provide decls. |
|
2601 |
4756
|
2602 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2603 |
|
2604 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
2605 (Array<T>assign2): Also call maybe_delete_elements for single |
|
2606 index when rows and columns or LHS are both greater than 1. |
|
2607 |
4755
|
2608 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
2609 |
|
2610 * Array.cc (Array<T>::maybe_delete_elements): |
|
2611 Check for index out of bounds. Handle one index. |
|
2612 |
|
2613 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
2614 dim_vector (0) to create empty return vector. |
|
2615 |
4749
|
2616 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2617 |
|
2618 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
2619 non-empty LHS when the number of lhs dimensions is less than the |
|
2620 number of indices. Detect error if attempting to resize non-empty |
|
2621 LHS with colon indices. |
|
2622 |
4745
|
2623 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2624 |
4747
|
2625 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
2626 values unless the length of the new array is greater than 0. |
|
2627 (Array<T>::resize_no_fill): Likewise. |
|
2628 |
|
2629 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
2630 is equal to dimensions(i). |
|
2631 |
|
2632 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
2633 get_zero_len_size, number_of_elements): |
|
2634 Delete unused functions. |
|
2635 |
|
2636 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
2637 number_of_elements function. |
|
2638 * Array.cc (Array<T>::indexN): Likewise. |
|
2639 |
|
2640 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
2641 of equal_arrays function. |
|
2642 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
2643 dim_vector::any_zero instead of any_zero_len function. |
|
2644 |
|
2645 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
2646 Don't skip reshaping and resizing if RHS is empty. |
|
2647 |
4746
|
2648 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
2649 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
2650 Delete unused variables is_colon and is_colon_equiv. |
4746
|
2651 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
2652 LHS is not yet defined. |
4745
|
2653 Error for resizing if number of indices is less than number of LHS |
|
2654 dimensions. |
|
2655 |
4746
|
2656 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
2657 Fortran-style indexing. |
|
2658 |
4743
|
2659 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2660 |
|
2661 * Array.cc (Array<T>::assignN): Simplify. |
|
2662 Allow assignments to succeed if number if indices is less than the |
|
2663 number of RHS dimensions. |
|
2664 |
4738
|
2665 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
2666 |
4741
|
2667 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
2668 when number of indices is less than number of dimensions. |
|
2669 |
|
2670 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
2671 Remove unsued variable lhs_inc. |
|
2672 |
4740
|
2673 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
2674 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
2675 |
|
2676 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
2677 |
4738
|
2678 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
2679 == n_dims before checking to see if all indices are colon_equiv. |
|
2680 |
4736
|
2681 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2682 |
|
2683 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
2684 deleting elements. |
4737
|
2685 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
2686 at least ndims elements. |
4736
|
2687 |
4735
|
2688 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
2689 |
|
2690 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
2691 oriented differently from the index. |
|
2692 |
|
2693 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
2694 least two dimensions. |
|
2695 |
4733
|
2696 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2697 |
4735
|
2698 * dim-vector.h (dim_vector::squeeze): New function. |
|
2699 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
2700 deciding whether the assignment conforms. |
|
2701 |
4733
|
2702 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
2703 comparing rhs_dims and frozen_len sans trailing singletons. |
|
2704 |
4732
|
2705 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2706 |
|
2707 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
2708 Call error handler and return conversion_error == true if arg is |
|
2709 not integer. |
|
2710 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
2711 |
4730
|
2712 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2713 |
|
2714 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
2715 reference arg const. |
|
2716 |
|
2717 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2718 |
|
2719 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
2720 |
4729
|
2721 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
2722 |
|
2723 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
2724 Now bool, to match definition in Array-flags.cc. |
|
2725 |
4725
|
2726 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2727 |
4726
|
2728 * file-ops.cc: Include <vector> instead of <memory> for new |
|
2729 definition of OCTAVE_LOCAL_BUFFER. |
|
2730 |
4725
|
2731 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
2732 New arg, calc_eigenvectors. |
|
2733 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
2734 Based on patch from David Bateman <dbateman@free.fr>. |
|
2735 |
4716
|
2736 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2737 |
|
2738 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
2739 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
2740 |
|
2741 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
2742 |
4711
|
2743 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
2744 |
4714
|
2745 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
2746 Simplify calculation of number of elements in retval. |
|
2747 |
4711
|
2748 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
2749 filling when RHS is scalar and dimension lengths agree. |
|
2750 |
4710
|
2751 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2752 |
4713
|
2753 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
2754 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
2755 |
4707
|
2756 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
2757 |
4709
|
2758 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
2759 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
2760 |
4702
|
2761 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
2762 |
4703
|
2763 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
2764 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
2765 |
|
2766 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
2767 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
2768 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
2769 Make sure index is in bounds. |
4702
|
2770 |
4698
|
2771 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2772 |
|
2773 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
2774 octave_NaN, and octav_NA values are always initialized. Check |
|
2775 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
2776 to decide whether to do IEEE initialization. |
|
2777 |
4687
|
2778 2004-01-06 David Bateman <dbateman@free.fr> |
|
2779 |
|
2780 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
2781 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
2782 ComplexNDArray::too_large_for_float): New functions |
|
2783 |
|
2784 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
2785 * CNDArray.h: Provide decls. |
|
2786 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
2787 * dNDArray.h: Provide decls. |
|
2788 |
4673
|
2789 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2790 |
4674
|
2791 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
2792 they are already defined in boolNDArray.cc. |
|
2793 |
4673
|
2794 * Array-util.cc (get_zero_len_size): Delete. |
|
2795 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
2796 Handle zero-length result dimensions the same as empty original |
|
2797 indices. |
|
2798 |
|
2799 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2800 |
|
2801 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
2802 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
2803 New functions. |
|
2804 * Array.cc (ArrayN<T>::indexN): Use it. |
|
2805 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
2806 |
4669
|
2807 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2808 |
|
2809 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
2810 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
2811 |
|
2812 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2813 |
|
2814 * mk-ops.awk: Also emit #include "Array-util.h". |
|
2815 |
|
2816 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
2817 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
2818 |
|
2819 * MArray-misc.cc: Delete. |
|
2820 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
2821 |
|
2822 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
2823 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
2824 |
4655
|
2825 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2826 |
4663
|
2827 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
2828 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
2829 |
|
2830 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
2831 two-arg getgrnam version. |
|
2832 |
4657
|
2833 * Array.cc (assignN): Allow single indexing to work. |
4661
|
2834 (Array<T>::range_error (const char*, const Array<int>&)): |
|
2835 Report index values. |
|
2836 |
|
2837 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
2838 * ODESSA.cc (odessa_j): Likewise. |
|
2839 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
2840 * DASPK.cc (ddaspk_psol): Likewise. |
|
2841 * lo-mappers.cc (imag): Likewise. |
4663
|
2842 * Array-util.cc (get_zero_len_size): Likewise. |
|
2843 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
2844 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
2845 |
4655
|
2846 * dim-vector.h (dim_vector::all_ones): New function. |
|
2847 |
4646
|
2848 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2849 |
4653
|
2850 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
2851 zeros, not orig_rows or orig_columns. |
|
2852 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
2853 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
2854 |
|
2855 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
2856 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
2857 |
|
2858 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
2859 Use initialization lists for constructors. |
|
2860 |
4651
|
2861 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
2862 Omit special case for ra_idx.capacity () == 1. |
|
2863 Always allow single index for matrix args with optional warning. |
|
2864 |
4650
|
2865 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
2866 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
2867 |
4648
|
2868 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
2869 * Makefile.in (TI_SRC): Add it to the list. |
|
2870 |
4646
|
2871 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
2872 type and the names of the left and right operands. Change all uses. |
|
2873 |
|
2874 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
2875 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
2876 |
4645
|
2877 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2878 |
|
2879 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
2880 just length. |
|
2881 |
|
2882 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
2883 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
2884 non-dependent member functions and data as needed. |
|
2885 |
|
2886 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
2887 |
|
2888 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
2889 * Array3.h (Array3<T>::operator =): Likewise. |
|
2890 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
2891 Include Array.h, not Array2.h. |
|
2892 |
4634
|
2893 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2894 |
4636
|
2895 * str-vec.cc (list_in_columns): Fix previous change. |
|
2896 |
4635
|
2897 * dim-vector.h (dim_vector::num_ones): New function. |
|
2898 * Array.cc (maybe_delete_elements): Use it instead of |
|
2899 num_ones (const Array<int>&). |
|
2900 |
|
2901 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
2902 |
4634
|
2903 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
2904 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
2905 New functions. |
|
2906 * dNDArray.h: Provide decls. |
|
2907 |
|
2908 * dMatrix.h (Matrix::any_element_is_negative, |
|
2909 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
2910 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
2911 Simplify. |
|
2912 |
|
2913 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
2914 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
2915 |
|
2916 * dNDArray.cc (real, imag): New functions. |
|
2917 * dNDArray.h: Provide decls. |
|
2918 |
4630
|
2919 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2920 |
|
2921 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
2922 |
4625
|
2923 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2924 |
|
2925 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
2926 * MArray.h (resize): Delete. |
|
2927 * MArray2.h (resize): Delete. |
|
2928 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
2929 * ODESSA (ODESSA::integrate): Likewise. |
|
2930 |
4616
|
2931 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2932 |
|
2933 * Makefile.in (dist): Depend on stamp-prereq. |
|
2934 |
4605
|
2935 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
2936 |
|
2937 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
2938 Kluge to make it work. |
4604
|
2939 |
|
2940 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
2941 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
2942 |
|
2943 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
2944 default_command_editor::do_generate_filename_completions, |
|
2945 command_editor::generate_filename_completions): New functions. |
|
2946 * cmd-edit.h: Provide decls. |
|
2947 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
2948 function. |
|
2949 * oct-rl-edit.h: Provide decl. |
|
2950 |
4593
|
2951 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2952 |
4594
|
2953 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
2954 INSTANTIATE_ARRAY): New macros. |
|
2955 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
2956 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
2957 |
4593
|
2958 * Array.h (Array<T>::ipermute): New function. |
|
2959 |
|
2960 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
2961 |
|
2962 * Array.cc (Array<T>::permute): New function. |
|
2963 * Array.h: Provide decl. |
|
2964 |
|
2965 * Array-util.cc (calc_permutated_idx): New function. |
|
2966 * Array-util.h: Provide decl. |
|
2967 |
4587
|
2968 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2969 |
4592
|
2970 * Array.cc (Array<T>::index2): Return value has orientation of |
|
2971 indexed value if indexing a vector with a bool matrix. |
|
2972 |
4589
|
2973 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
2974 |
4588
|
2975 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
2976 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
2977 |
|
2978 * ArrayN-inline.h: Delete. |
|
2979 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
2980 * Makefile.in: Fix the appropriate lists. |
|
2981 |
4587
|
2982 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
2983 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
2984 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
2985 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
2986 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
2987 Avoid -Wshadow warnings. |
|
2988 |
|
2989 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
2990 |
|
2991 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
2992 |
|
2993 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
2994 |
|
2995 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2996 |
|
2997 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
2998 |
4584
|
2999 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
3000 |
|
3001 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
3002 |
|
3003 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
3004 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
3005 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
3006 Return NDArray. Handle N-d arrays. |
|
3007 |
4575
|
3008 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3009 |
4583
|
3010 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
3011 that upcase Fortran names by calling dlsode instead of lsode. |
|
3012 |
|
3013 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
3014 that upcase Fortran names by calling dodessa instead of odessa. |
|
3015 |
4577
|
3016 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
3017 non-const args for symlink system call. |
|
3018 (file_ops::readlink): Likewise, for readlink. |
|
3019 |
4575
|
3020 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
3021 |
4574
|
3022 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3023 |
|
3024 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
3025 Change all uses. |
|
3026 |
4569
|
3027 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
3028 |
|
3029 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
3030 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
3031 * dNDArray.h: Provide decls. |
|
3032 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
3033 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
3034 ComplexNDArray::abs): New functions. |
|
3035 * CNDArray.h: Provide decls. |
|
3036 |
|
3037 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
3038 Generalize to handle other reduction operations. |
|
3039 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
3040 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
3041 |
4565
|
3042 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3043 |
4567
|
3044 * Array.cc (Array<T>::reshape): New function. |
|
3045 * Array.h: Provide decl. |
|
3046 |
|
3047 * dim-vector.h (dim_vector::numel): New function. |
|
3048 |
4565
|
3049 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
3050 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
3051 |
4559
|
3052 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3053 |
|
3054 * dim-vector.h (dim_vector::any_zero): New function. |
|
3055 (dim_vector::str): New default arg, sep. |
|
3056 |
|
3057 * Array.h (Array<T>::numel): New function. |
|
3058 |
4556
|
3059 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
3060 |
|
3061 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
3062 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
3063 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
3064 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3065 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
3066 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
3067 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
3068 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3069 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
3070 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
3071 |
4552
|
3072 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3073 |
4553
|
3074 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
3075 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
3076 |
4552
|
3077 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
3078 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3079 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
3080 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
3081 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3082 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3083 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
3084 Use new F77 arg macros in declarations of external Fortran |
|
3085 subroutines and for calling them. |
|
3086 |
4548
|
3087 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3088 |
|
3089 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
3090 Allow number of dimensions to change. |
|
3091 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
3092 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
3093 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
3094 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
3095 (Array<T>::transpose): Require ndims to be 2. |
|
3096 (Array<T>::index2): Likewise. |
|
3097 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
3098 (Array<T>::maybe_delete_elements_2): Likewise. |
|
3099 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
3100 (Array<T>::index1): Use resize_and_fill. |
|
3101 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
3102 |
|
3103 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
3104 |
|
3105 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
3106 (MArray2<T>::resize (int, int, const T&)): New function. |
|
3107 |
|
3108 * MArray.h (MArray<T>::resize (int)): New function. |
|
3109 (MArray<T>::resize (int, const T&)): New function. |
|
3110 |
|
3111 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
3112 |
|
3113 * DASPK-opts.in: Use single-arg resize for initial condition |
|
3114 heuristics. |
|
3115 |
|
3116 * dim-vector.h (class dim_vector): Now reference counted. |
|
3117 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
3118 |
4544
|
3119 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3120 |
4545
|
3121 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
3122 |
4544
|
3123 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
3124 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
3125 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
3126 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
3127 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
3128 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
3129 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
3130 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
3131 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
3132 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
3133 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
3134 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
3135 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
3136 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
3137 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
3138 files are now automatically generated. |
|
3139 |
|
3140 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
3141 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
3142 Add rules to generate these files and mx-ops.h. |
|
3143 (stamp-prereq): Depend on these files. |
|
3144 |
|
3145 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
3146 * Makefile.in (DISTFILES): Add them to the list. |
|
3147 |
4543
|
3148 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3149 |
|
3150 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
3151 NDArray::NDArray (const charNDArray)): New constructors. |
|
3152 (NDArray::operator !): New function. |
|
3153 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3154 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3155 |
|
3156 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3157 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3158 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
3159 New constructors. |
|
3160 (ComplexNDArray::operator !): New function. |
|
3161 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3162 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3163 |
|
3164 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
3165 |
|
3166 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
3167 Provide NDND_CMP_OPS. |
|
3168 |
|
3169 * MArrayN.cc (operator +=, operator -=): New functions. |
|
3170 Provide product and quotient functions. |
|
3171 |
|
3172 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
3173 dim_vector&)): New function. |
|
3174 |
|
3175 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
3176 operator ==, operator !=): New functions. |
|
3177 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
3178 |
|
3179 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
3180 No need to save old dimensions. |
|
3181 |
|
3182 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
3183 (octave_rand::nd_array): New function. |
|
3184 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
3185 |
|
3186 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
3187 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
3188 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
3189 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
3190 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
3191 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
3192 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
3193 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
3194 NDND_OP_DECLS): New macros. |
|
3195 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
3196 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
3197 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
3198 |
|
3199 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
3200 boolNDArray, class charNDArray): New forward decls. |
|
3201 |
4534
|
3202 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3203 |
|
3204 * Array.cc (assign2): No error (but don't do anything either) for |
|
3205 expressions like x([],j) = scalar. |
|
3206 |
4532
|
3207 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3208 |
4533
|
3209 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
3210 |
4532
|
3211 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
3212 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
3213 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
3214 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
3215 |
|
3216 * dim-vector.h (rows, cols): Delete unused data members. |
|
3217 |
|
3218 * Array.cc (Array<T>::get_size): Fix thinko. |
|
3219 |
|
3220 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3221 |
|
3222 * Array.cc (Array<T>::squeeze): New function. |
|
3223 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
3224 * dNDArray.h (NDArray::squeeze): Likewise. |
|
3225 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
3226 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
3227 |
4530
|
3228 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
3229 |
|
3230 * Array.cc (ArrayN<T>::indexN): New definition. |
|
3231 * Array.h (Array<T>::indexN): Provide decl. |
|
3232 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
3233 Call indexN if more than 2 indices. |
|
3234 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
3235 Make it (mostly) work. |
|
3236 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
3237 New functions. |
|
3238 |
4527
|
3239 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3240 |
|
3241 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
3242 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
3243 versions with eof arg. |
|
3244 |
4518
|
3245 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3246 |
|
3247 * Array.h (dimensions): Now public. |
|
3248 template <class LT, class RT> |
|
3249 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
3250 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
3251 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
3252 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
3253 resize_no_fill (int), |
|
3254 resize_no_fill (int, int), |
|
3255 resize_no_fill (int, int, int), |
|
3256 resize_no_fill (const dim_vector&), |
|
3257 resize_and_fill (int, const T&), |
|
3258 resize_and_fill (int, int, const T&), |
|
3259 resize_and_fill (int, int, int, const T&), |
|
3260 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
3261 |
|
3262 * Array.cc: Include <climits>. |
|
3263 |
4513
|
3264 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3265 |
4517
|
3266 * Array.cc: Merge Array-idx.h. |
|
3267 * Array-idx.h: Delete. |
|
3268 |
4514
|
3269 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
3270 |
4513
|
3271 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
3272 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
3273 just special cases of the general purpose N-d Array object). |
|
3274 |
|
3275 * dim-vector.h: New file. Use dim_vector objects instead of |
|
3276 ints or Array<int> objects to represent the size of Array |
|
3277 objects. |
|
3278 |
|
3279 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
3280 |
|
3281 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
3282 |
|
3283 * mx-base.h: Include NDArray header files. |
|
3284 |
|
3285 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
3286 |
|
3287 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3288 Array-s.cc: Also instantiate ArrayN objects. |
|
3289 Don't instantiate assign funcitons for Array2 objects. |
|
3290 |
|
3291 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
3292 liboctave_error_handler, not cerr. |
|
3293 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
3294 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
3295 * dMatrix.cc (Matrix::diag): Likewise. |
|
3296 |
|
3297 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
3298 Omit checks for HEAVYWEIGHT_INDEXING. |
|
3299 |
|
3300 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3301 |
|
3302 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
3303 |
|
3304 * CNDARray.h, CNDArray.cc: New files. |
|
3305 * Makefile.in: Add them to the appropriate lists. |
|
3306 |
|
3307 * dNDArray.h: Rename from NDArray.h. |
|
3308 * dNDArray.cc: Rename from NDArray.cc. |
|
3309 * Makefile.in: Rename them here too. |
|
3310 |
4507
|
3311 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
3312 |
|
3313 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
3314 |
|
3315 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
3316 * Makefile.in: Add them to the appropriate lists. |
|
3317 |
5095
|
3318 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
3319 |
|
3320 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
3321 biry): Always request scaled results from AMOS functions and |
|
3322 perform reverse scaling on results if scaled result not requested |
|
3323 by user. |
|
3324 |
|
3325 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3326 |
|
3327 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
3328 |
4505
|
3329 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3330 |
|
3331 * Array-d.cc: Instantiate assign functions. |
|
3332 |
4504
|
3333 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
3334 |
|
3335 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
3336 (get_elt_idx): Index ra_idx correctly. |
|
3337 |
|
3338 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
3339 bounds if it is exactly on the bound. |
|
3340 |
|
3341 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
3342 * ArrayN.h: Provide decl. |
|
3343 |
|
3344 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
3345 |
|
3346 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
3347 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
3348 (idx_vector::orig_dimensions): New function. |
|
3349 |
4497
|
3350 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3351 |
|
3352 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
3353 |
4496
|
3354 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
3355 |
|
3356 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
3357 (is_in, how_many_lgt, all_ones): New functions. |
|
3358 |
4493
|
3359 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3360 |
|
3361 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
3362 |
|
3363 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
3364 |
|
3365 * ArrayN-inline.h: New file. |
|
3366 (index_in_bounds, increment_index): Move here. |
|
3367 * ArrayN.cc: From here. |
|
3368 |
|
3369 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
3370 * ArrayN-idx.h (assign): New function. |
|
3371 |
4490
|
3372 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3373 |
|
3374 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
3375 Also zero imaginary part of result if real part of input value is |
|
3376 zero. |
|
3377 |
4478
|
3378 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
3379 |
|
3380 * mx-base.h: Include ArrayN.h. |
|
3381 |
4476
|
3382 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
3383 |
|
3384 * ArrayN.cc (operator <<): Corrected output. |
|
3385 |
4474
|
3386 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3387 |
|
3388 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
3389 |
5095
|
3390 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
3391 |
|
3392 * ArrayN.cc (operator <<): Improve output readability. |
|
3393 |
4493
|
3394 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
3395 |
|
3396 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
3397 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
3398 Initialize old_len before changing size. |
|
3399 |
4472
|
3400 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3401 |
|
3402 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
3403 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
3404 |
4469
|
3405 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3406 |
|
3407 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
3408 way. Handle NA in an R-compatible way. |
|
3409 |
|
3410 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
3411 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
3412 |
|
3413 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
3414 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
3415 |
|
3416 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
3417 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
3418 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
3419 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
3420 |
4461
|
3421 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3422 |
|
3423 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
3424 Pass true for resize_ok arg to freeze. |
|
3425 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
3426 Likewise. |
|
3427 |
|
3428 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
3429 resize_ok arg is now bool. |
|
3430 * idx-vector.h (idx_vector::freeze): Likewise. |
|
3431 |
|
3432 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
3433 Rename from liboctave_rre_flag. Now bool. |
|
3434 (liboctave_wfi_flag): Now bool. |
|
3435 |
|
3436 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
3437 |
5095
|
3438 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
3439 |
|
3440 * Array.h (resize_fill_value): Now a top-level template function. |
|
3441 Accept object as argument. Change all uses. |
|
3442 |
4455
|
3443 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3444 |
|
3445 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
3446 |
|
3447 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
3448 liboctave_dfi_flag. |
|
3449 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
3450 X undefined or empty, always create a row vector. |
|
3451 |
|
3452 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
3453 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
3454 |
4437
|
3455 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3456 |
|
3457 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
3458 Magic colon indexing always produces an object with one column. |
|
3459 |
5095
|
3460 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
3461 |
|
3462 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
3463 |
|
3464 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
3465 |
4431
|
3466 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3467 |
|
3468 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
3469 neg_zero is true, also return true for negative zero. |
|
3470 |
4429
|
3471 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3472 |
|
3473 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
3474 Handle step limit. |
|
3475 * DASSL-opts.in: New option for step limit. |
|
3476 |
5095
|
3477 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
3478 |
|
3479 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
3480 |
4428
|
3481 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3482 |
|
3483 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
3484 Store step limit in iwork(20), not iwork(18). |
|
3485 |
5095
|
3486 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
3487 |
|
3488 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
3489 |
4412
|
3490 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3491 |
4413
|
3492 * Makefile.in: Handle DESTDIR. |
|
3493 |
4412
|
3494 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
3495 (kpse_path_iterator::set_end): Don't miss last element when not |
|
3496 followed by a colon. |
|
3497 |
4409
|
3498 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3499 |
|
3500 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
3501 |
|
3502 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3503 |
|
3504 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
3505 (find_first_of): Also do an absolute search on each |
|
3506 name before looking in the path. |
|
3507 |
4407
|
3508 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3509 |
|
3510 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
3511 directory separator. |
|
3512 |
4399
|
3513 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3514 |
|
3515 * pathsearch.cc: Include kpse.cc here. |
|
3516 |
|
3517 * kpse.cc: All functions are now static. Massive surgery to |
|
3518 condense kpathsearch library to a single file of just the |
|
3519 essentials for Octave and convert to using C++ strings (no more |
|
3520 calls to malloc, very few calls to new, so there should be much |
|
3521 less potential for introducing memory leaks now). |
|
3522 |
|
3523 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
3524 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
3525 |
|
3526 * kpse.h, kpse-config.h: Delete. |
|
3527 * Makefile.in (INCLUDES): Delete them from the list. |
|
3528 |
4392
|
3529 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3530 |
|
3531 * str-vec.cc (string_vector::append (const std::string&), |
|
3532 string_vector::append (const string_vector&)): New methods. |
|
3533 |
4386
|
3534 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3535 |
4389
|
3536 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
3537 |
4387
|
3538 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
3539 |
4386
|
3540 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
3541 (READABLE): Now a static function to avoid warnings from MinGW |
|
3542 compiler. |
|
3543 |
4384
|
3544 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3545 |
4385
|
3546 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
3547 static. Include most of kpse-xfns.h directly, removing |
|
3548 unnecessary bits. |
|
3549 |
4384
|
3550 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
3551 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
3552 |
4378
|
3553 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3554 |
|
3555 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
3556 * Makefile.in: Add them to the appropriates lists. |
|
3557 |
|
3558 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
3559 |
|
3560 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
3561 for new locations of kpathsea objects. |
|
3562 Delete kpathsea targets. |
|
3563 |
|
3564 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
3565 |
|
3566 * kpse.cc: New file. |
|
3567 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
3568 |
|
3569 * kpse.c: New file. |
|
3570 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
3571 |
|
3572 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
3573 * Makefile.in (INCLUDES): Add them to the list. |
|
3574 |
|
3575 * oct-kpse.h: Delete. |
|
3576 * Makefile.in (INCLUDES): Delete it from the list. |
|
3577 |
4374
|
3578 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3579 |
|
3580 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
3581 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
3582 Likewise. |
|
3583 From Quentin H. Spencer <qspencer@ieee.org>. |
|
3584 |
4365
|
3585 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3586 |
|
3587 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
3588 |
4349
|
3589 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3590 |
4352
|
3591 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
3592 without placement delete. |
|
3593 |
4349
|
3594 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
3595 imaginary parts. |
|
3596 |
|
3597 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
3598 |
5095
|
3599 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
3600 |
|
3601 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
3602 Use Lapack instead of Linpack. |
5315
|
3603 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
3604 ComplexMatrix::solve): Likewise. |
|
3605 |
|
3606 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
3607 calc_cond. If 0, skip condition number calculation. |
|
3608 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
3609 Likewise. |
|
3610 |
|
3611 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
3612 * dbleLU.cc (LU::LU): Likewise. |
|
3613 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
3614 |
|
3615 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3616 |
|
3617 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
3618 |
4323
|
3619 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3620 |
|
3621 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
3622 Additional compatibility fix. |
|
3623 |
|
3624 2003-02-13 Arno Klaassen <arno@scito.com> |
|
3625 |
|
3626 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
3627 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
3628 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
3629 |
4322
|
3630 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3631 |
|
3632 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
3633 Compatibility fix. |
|
3634 |
4316
|
3635 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3636 |
|
3637 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
3638 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
3639 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
3640 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
3641 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
3642 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
3643 |
|
3644 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
3645 with make_unique and xelem. |
|
3646 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
3647 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
3648 ComplexMatrix::extract, ComplexMatrix::row, |
|
3649 ComplexMatrix::column): Likewise. |
|
3650 * dColVector.cc (ColumnVector::insert): Likewise. |
|
3651 * dRowVector.cc (RowVector::insert): Likewise. |
|
3652 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
3653 Matrix::row, Matrix::column): Likewise. |
|
3654 |
4313
|
3655 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3656 |
|
3657 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
3658 |
4309
|
3659 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3660 |
|
3661 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
3662 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
3663 * CMatrix.h, dMatrix.h: Provide decls. |
|
3664 |
4307
|
3665 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3666 |
|
3667 * oct-rand.h, oct-rand.cc: New files. |
|
3668 * Makefile.in: Add them to the appropriate lists. |
|
3669 |
4306
|
3670 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3671 |
|
3672 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
3673 |
4299
|
3674 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
3675 |
|
3676 * oct-syscalls.cc: Include signal.h. |
|
3677 |
4294
|
3678 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3679 |
|
3680 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
3681 * oct-syscalls.h: Provide decl. |
|
3682 |
|
3683 |
4293
|
3684 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3685 |
|
3686 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
3687 there is nothing to read. |
|
3688 |
4290
|
3689 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3690 |
|
3691 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
3692 |
4286
|
3693 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3694 |
4288
|
3695 * getopt.h: Update to version from kpathsearch, so we will install |
|
3696 the version that we are using. |
|
3697 |
|
3698 * getopt.c, getopt1.c: Delete. |
|
3699 (INCLUDES): Delete them from the list. We'll get these files from |
|
3700 kpathsearch. |
|
3701 |
4286
|
3702 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
3703 ../kpathsea/STATIC/*.o. |
|
3704 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
3705 |
4270
|
3706 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3707 |
4282
|
3708 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
3709 unreachable code. |
|
3710 |
4279
|
3711 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
3712 to correspond to placement new operator. |
|
3713 |
4278
|
3714 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
3715 (DET::value_will_underflow): Likewise. |
|
3716 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
3717 (ComplexDET::value_will_underflow): Likewise. |
|
3718 |
4276
|
3719 * Makefile.in (distclean): Also remove stamp-prereq. |
|
3720 |
4306
|
3721 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
3722 RHS and index are empty matrices, don't do anything. |
4270
|
3723 |
4242
|
3724 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3725 |
|
3726 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
3727 delete_c_names): New helper functions. |
|
3728 (dir_path::find_first_of): New function. |
|
3729 (dir_path::find_all_first_of): Likewise. |
|
3730 * pathsearch.h: Provide decls. |
|
3731 |
|
3732 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
3733 (octave_kpse_all_path_find_first_of): Likewise. |
|
3734 * oct-kpse.h: Provide decls. |
|
3735 |
4231
|
3736 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3737 |
|
3738 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
3739 * ODESSA-opts.in: Likewise. |
|
3740 |
|
3741 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
3742 * LSODE-opts.in: Likewise. |
|
3743 |
4229
|
3744 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3745 |
4230
|
3746 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
3747 in all constructors. |
|
3748 |
4229
|
3749 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
3750 (LINK_DEPS): Not here. |
|
3751 |
4219
|
3752 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3753 |
4220
|
3754 * str-vec.cc (string_vector::compare): New static member function. |
|
3755 * str-vec.h: Provide decl. |
|
3756 (string_vector::sort): Use it. |
|
3757 (str_vec_compare): Delete static function. |
|
3758 |
4219
|
3759 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
3760 a placement operator new. |
|
3761 |
4209
|
3762 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3763 |
4210
|
3764 * Matrix.h: Include mx-ops.h too. |
4209
|
3765 * mx-ops.h: New file. |
|
3766 |
4192
|
3767 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3768 |
|
3769 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
3770 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
3771 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
3772 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
3773 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
3774 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
3775 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
3776 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
3777 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
3778 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
3779 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
3780 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
3781 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
3782 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
3783 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
3784 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
3785 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
3786 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
3787 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
3788 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
3789 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
3790 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
3791 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
3792 |
4184
|
3793 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3794 |
|
3795 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
3796 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
3797 |
4180
|
3798 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3799 |
|
3800 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
3801 fortran code that should run fast enough that it is not worth all |
|
3802 the setup costs of F77_XFCN. |
|
3803 |
|
3804 * Quad.cc (user_function): Surround body of function with |
|
3805 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
3806 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
3807 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
3808 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
3809 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
3810 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
3811 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
3812 |
4164
|
3813 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3814 |
|
3815 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
3816 of ! defined (linux). |
|
3817 |
5095
|
3818 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
3819 |
|
3820 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
3821 (make_shlib): Instantiate octave_dyld_shlib. |
|
3822 |
4152
|
3823 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3824 |
4153
|
3825 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
3826 |
4152
|
3827 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
3828 |
|
3829 * Array.h: Include <cstddef> here. |
|
3830 |
4142
|
3831 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3832 |
4144
|
3833 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
3834 using them. Accept inequality contraint option of 0. Assign |
|
3835 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
3836 abs_tol and rel_tol. |
|
3837 |
4143
|
3838 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
3839 static function. |
|
3840 (command_editor::do_filename_completion_desired): New virtual function. |
|
3841 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
3842 * oct-rl-edit.h: Provide decl. |
|
3843 |
4142
|
3844 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
3845 avoid OS X linker bug. |
|
3846 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
3847 |
4139
|
3848 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3849 |
4141
|
3850 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
3851 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
3852 solvers. |
|
3853 * ODESSA.cc: Fix all callers. |
|
3854 |
4139
|
3855 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
3856 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
3857 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
3858 |
4136
|
3859 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3860 |
|
3861 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
3862 |
4132
|
3863 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3864 |
4133
|
3865 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
3866 (ddasrt_f): Combine loops. |
|
3867 |
4132
|
3868 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
3869 instead of empty vector if user termninates iteration. |
|
3870 |
4130
|
3871 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3872 |
|
3873 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
3874 octave_read_complex, octave_write_double, octave_write_complex): |
|
3875 New functions. |
|
3876 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
3877 Use octave_write_complex. |
|
3878 (operator >> (std::istream&, const ComplexMatrix&)): |
|
3879 Use octave_read_complex. |
|
3880 * dMatrix.cc (operator << (std::ostream&, double)): |
|
3881 Use octave_write_double. |
|
3882 (operator >> (std::istream&, double)): Use octave_read_double. |
|
3883 |
4126
|
3884 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3885 |
|
3886 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
3887 * oct-kpse.h: Delete decl. |
|
3888 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
3889 ::octave_kpse_clear_dir_cache. |
|
3890 |
4123
|
3891 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3892 |
4124
|
3893 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
3894 earlier than 3.0. |
|
3895 |
4123
|
3896 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
3897 (liboctave.$(SHLEXT)): Not here. |
|
3898 |
5095
|
3899 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
3900 |
|
3901 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
3902 |
4108
|
3903 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3904 |
|
3905 * Makefile.in (install-lib): Don't bother with versions for |
|
3906 $(SHLBIN) files. |
|
3907 |
5095
|
3908 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
3909 |
|
3910 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
3911 |
4102
|
3912 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3913 |
|
3914 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
3915 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
3916 New functions. |
|
3917 |
|
3918 * Makefile.in (install): No need to use cd to create links. |
|
3919 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
3920 |
5095
|
3921 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
3922 |
|
3923 * Makefile.in: Merge liboctave with liboct-readline and |
|
3924 liboct-pathsearch. |
|
3925 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
3926 (libraries): Depend on versioned library. |
|
3927 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
3928 build unversioned library, symbolic link adds version info. |
|
3929 (install, uninstall): Handle link and load forms of the library |
|
3930 separately. |
|
3931 |
4101
|
3932 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3933 |
|
3934 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
3935 __CYGWIN__. |
|
3936 |
|
3937 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
3938 file_ops::dir_sep_chars): New static functions to replace |
|
3939 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
3940 |
|
3941 * oct-env.cc (octave_env::do_set_program_name): |
|
3942 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
3943 (octave_env::do_base_pathname): Likewise. |
|
3944 (octave_env::do_make_absolute): Likewise. |
|
3945 |
|
3946 * oct-env.cc (octave_env::do_make_absolute): |
|
3947 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
3948 (octave_env::do_get_home_directory): Likewise. |
|
3949 |
|
3950 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
3951 that information here too. |
|
3952 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
3953 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
3954 |
|
3955 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
3956 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
3957 |
4097
|
3958 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3959 |
|
3960 * oct-env.h (octave_env::current_directory): Now mutable. |
|
3961 (octave_env:do_getcwd): Now const. |
|
3962 |
|
3963 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
3964 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
3965 OCTAVE_CURRENT_DIR_STR): New macros. |
|
3966 * oct-env.cc (is_dir_sep): Delete. |
|
3967 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
3968 (octave_env::do_set_program_name): Likewise. |
|
3969 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
3970 instead of checking for '/'. |
|
3971 (octave_env::pathname_backup): Likewise. |
|
3972 (octave_env::do_absolute_pathname): Likewise. |
|
3973 (octave_env::do_make_absolute): Likewise. |
|
3974 If dot_path is empty, use getcwd to set current_dir. |
|
3975 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
3976 instead of "/". |
|
3977 |
5095
|
3978 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
3979 |
|
3980 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
3981 |
5095
|
3982 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
3983 |
|
3984 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
3985 absolute path names under MinGW as well. |
|
3986 |
|
3987 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3988 |
|
3989 * oct-env.cc: Include <cctype> too. |
|
3990 |
4087
|
3991 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3992 |
|
3993 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
3994 filenames. |
|
3995 (octave_env::do_make_absolute): Check for absolute name with |
|
3996 do_absolute_path. |
4088
|
3997 (octave_env::do_chdir): Likewise. |
|
3998 (is_dir_sep): New function. |
4087
|
3999 |
5095
|
4000 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
4001 |
4086
|
4002 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
4003 systems. |
4085
|
4004 |
4083
|
4005 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4006 |
|
4007 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
4008 |
4080
|
4009 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4010 |
4081
|
4011 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
4012 |
4080
|
4013 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4014 |
5095
|
4015 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
4016 |
|
4017 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
4018 gr_gid too. |
|
4019 |
4072
|
4020 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4021 |
4074
|
4022 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
4023 lo_ieee_* functions. |
4072
|
4024 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
4025 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
4026 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
4027 * lo-cieee.c: New file. |
4074
|
4028 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
4029 * lo-ieee.h: Now all extern "C". |
4074
|
4030 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
4031 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
4032 |
4072
|
4033 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
4034 Now extern. |
|
4035 |
4066
|
4036 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4037 |
|
4038 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4039 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4040 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4041 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4042 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4043 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4044 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4045 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4046 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4047 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4048 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4049 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4050 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4051 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4052 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4053 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4054 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4055 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4056 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4057 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4058 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4059 oct-alloc.cc: |
|
4060 If __GNUG__, use pragma interface/implementation. Allow this to |
|
4061 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
4062 |
5095
|
4063 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
4064 |
4066
|
4065 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
4066 system readlink function is not available. |
|
4067 |
4065
|
4068 * lo-mappers.cc (xerf, xerfc): Delete. |
|
4069 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
4070 |
4064
|
4071 * lo-mappers.cc: Remove unused #define M_PI. |
|
4072 * lo-specfun.cc: Add #define M_PI if needed. |
|
4073 |
4062
|
4074 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4075 |
|
4076 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
4077 that geteuid doesn't exist. |
|
4078 |
|
4079 * LP.h: Rename LP class to octave_LP. |
|
4080 LPsolve.h: Change all uses. |
|
4081 |
|
4082 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
4083 incorrect token-pasting op. |
|
4084 |
|
4085 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
4086 define lstat. |
|
4087 |
4061
|
4088 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4089 |
|
4090 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4091 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4092 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4093 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4094 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4095 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4096 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4097 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4098 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4099 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4100 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4101 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4102 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4103 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4104 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4105 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4106 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4107 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4108 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4109 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4110 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4111 oct-alloc.cc: |
|
4112 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
4113 to decide whether to use the interface/implementation pragmas. |
|
4114 |
4058
|
4115 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4116 |
|
4117 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
4118 |
4055
|
4119 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
4120 |
|
4121 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
4122 qualified names. |
|
4123 |
4051
|
4124 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4125 |
4054
|
4126 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
4127 ArrayN.cc: Add typename where needed. |
4053
|
4128 |
4051
|
4129 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
4130 strstream classes directly. |
|
4131 * DASRT.cc: Likewise. |
|
4132 * DASSL.cc: Likewise. |
|
4133 * LSODE.cc: Likewise. |
|
4134 * ODESSA.cc: Likewise. |
|
4135 |
|
4136 * cmd-hist.cc: Don't include <strstream>. |
|
4137 * oct-shlib.cc: Likewise. |
|
4138 |
|
4139 * lo-sstream.h: New file. |
|
4140 |
4049
|
4141 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4142 |
|
4143 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
4144 New data members. |
|
4145 (LSODE::sanity_checked): Delete unused data member. |
|
4146 |
|
4147 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
4148 prel_tol, pinfo, piwork, prwork): New data members. |
|
4149 * DASSL.h (DASSL): Likewise. |
|
4150 |
|
4151 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
4152 |
|
4153 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
4154 initialization, changes in options, etc. |
|
4155 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
4156 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4157 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
4158 |
4047
|
4159 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4160 |
4049
|
4161 * DAEFunc.h (DAEFunc::reset): New data member. |
|
4162 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
4163 |
|
4164 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
4165 (base_diff_eqn::clear_stop_time): Likewise. |
|
4166 |
4047
|
4167 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
4168 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
4169 |
5095
|
4170 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
4171 |
|
4172 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
4173 * DASRT-opts.in, DASRT.h: Likewise. |
|
4174 * DASSL-opts.in, DASSL.h: Likewise. |
|
4175 * LSODE-opts.in, LSODE.h: Likewise. |
|
4176 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
4177 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
4178 |
4038
|
4179 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4180 |
4042
|
4181 * LSODE.cc (LSODE::error_message): Also return current T on |
|
4182 failures when that makes sense. |
4043
|
4183 * DASSL.cc (DASSL::error_message): Likewise. |
|
4184 * DASRT.cc (DASRT::error_message): Likewise. |
|
4185 * DASPK.cc (DASPK::error_message): Likewise. |
|
4186 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
4187 |
4038
|
4188 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
4189 $(LIBKPATHSEA) here. |
|
4190 |
4025
|
4191 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4192 |
|
4193 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
4194 (lo_ieee_is_NaN_or_NA): New function. |
|
4195 (octave_NA): New global value. |
|
4196 (octave_ieee_init): Initialize it. |
|
4197 * lo-mappers.cc (octave_is_NA): New function. |
|
4198 (octave_is_NaN_or_NA): New function. |
|
4199 (xisnan): Return false if NaN looks like a missing value. |
|
4200 (xisnan (const Complex&)): Use xisnan here. |
|
4201 |
4015
|
4202 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4203 |
4017
|
4204 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
4205 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
4206 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
4207 Default value for dim is -1, not 0. |
|
4208 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
4209 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
4210 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
4211 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
4212 |
4015
|
4213 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
4214 New macros. |
|
4215 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
4216 MX_BASE_REDUCTION_OP. |
|
4217 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
4218 |
4014
|
4219 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4220 |
4015
|
4221 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
4222 Return boolMatrix, not Matrix. |
|
4223 |
|
4224 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
4225 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
4226 (Matrix::all): Replace guts with MX_ALL_OP. |
|
4227 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
4228 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
4229 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
4230 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
4231 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
4232 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
4233 |
|
4234 * dMatrix.h (Matrix::any): New arg, dim. |
|
4235 (Matrix::all): Likewise. |
|
4236 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
4237 (ComplexMatrix::all): Likewise. |
|
4238 * boolMatrix.h (boolMatrix::any): Likewise. |
|
4239 (boolMatrix::all): Likewise. |
|
4240 * chMatrix.h (charMatrix::any): Likewise. |
|
4241 (charMatrix::all): Likewise. |
|
4242 |
4014
|
4243 * Makefile.in: Use $@-t instead of $@.t. |
|
4244 |
4004
|
4245 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4246 |
|
4247 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
4248 Use it in matrix versions to avoid spewing multiple errors. |
|
4249 Call xgammainc instead of dgamit. |
|
4250 |
3998
|
4251 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4252 |
|
4253 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
4254 Get rows and columns right in loop. |
|
4255 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
4256 |
|
4257 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4258 |
|
4259 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
4260 * DASRT.cc (DASRT::integrate): Likewise. |
|
4261 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4262 |
|
4263 * Quad.cc: Don't pass tolerances in constructors. |
|
4264 |
|
4265 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
4266 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
4267 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
4268 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
4269 from corresponding .in files. |
|
4270 * LSODE.h, Quad.h: Replace options class definitions with included |
|
4271 file. |
|
4272 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
4273 create OPTS_INC files from OPTS_INC_SRC files. |
|
4274 (stamp-prereq): New target. |
|
4275 (libraries): Depend on stamp-prereq. |
|
4276 Include stamp-prereq along with $(MAKEDEPS). |
|
4277 |
3997
|
4278 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4279 |
|
4280 * base-de.h (base_diff_eqn::istate): New data member. |
|
4281 (base_diff_eqn::integration_state): New member function. |
|
4282 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
4283 data members and functions. |
|
4284 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
4285 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
4286 |
3990
|
4287 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4288 |
3995
|
4289 * base-de.h (base_diff_eqn::stop_time, |
|
4290 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
4291 base_diff_eqn::integration_error): New data members. |
|
4292 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
4293 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
4294 base_diff_eqn::error_message): New member functions. |
|
4295 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
4296 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
4297 members and functions. |
|
4298 |
3992
|
4299 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
4300 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
4301 (DASRT::integrate): Don't forget to set nn. |
3992
|
4302 |
3991
|
4303 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
4304 * DASSL.cc (ddassl_j): Make it work. |
|
4305 * DASPK.cc (ddaspk_j): Likewise. |
|
4306 |
3990
|
4307 * DAE.cc: Delete. |
|
4308 |
|
4309 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
4310 solving with root finding. |
|
4311 * Makefile.in: Add them to the appropriate lists. |
|
4312 |
|
4313 * base-dae.h: New file. |
|
4314 * Makefile.in (INCLUDES): Add it to the list. |
|
4315 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
4316 |
3984
|
4317 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4318 |
|
4319 * ODE.h: Move integrate and do_integrate method declarations and |
|
4320 definitions here. |
|
4321 * base-de.h: From here. |
|
4322 |
|
4323 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
4324 * Makefile.in: Add them to the appropriate lists. |
|
4325 (LIBOCTAVE_CXX_SOURCES): |
|
4326 |
3971
|
4327 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4328 |
|
4329 * NLEqn.cc (NLEqn::error_message): New function. |
|
4330 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
4331 |
3970
|
4332 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4333 |
|
4334 * lo-utils.cc (octave_fgetl): New function. |
|
4335 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
4336 |
3959
|
4337 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4338 |
|
4339 * LSODE.cc (LSODE::error_message): New function. |
|
4340 * LSODE.h: Provide decl. |
|
4341 (LSODE::integration_state): New function. |
|
4342 (LSODE::integration_ok): New function. |
|
4343 |
3952
|
4344 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4345 |
3955
|
4346 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
4347 (LSODE_options::set_integration_method, |
|
4348 LSODE_options::integration_method): New functions. |
3954
|
4349 |
3952
|
4350 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
4351 Change all uses. |
|
4352 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
4353 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
4354 New function. |
|
4355 |
|
4356 * Array.h (Array::fortran_vec): New const version. |
|
4357 |
3951
|
4358 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4359 |
|
4360 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
4361 (gnu_readline::history_search_forward): Likewise. |
|
4362 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
4363 to extern "C" functions to octave_rl_ad_defun. |
|
4364 |
5095
|
4365 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
4366 |
|
4367 * DASPK.cc (ddaspk_psol): Return value. |
|
4368 * oct-rl-edit.c: Use /* ... */ to comment. |
|
4369 |
3945
|
4370 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4371 |
|
4372 * DASSL.h (DASSL_options::init): Undo previous change. |
|
4373 (DASSL_options::set_absolute_tolerance): Likewise. |
|
4374 * LSODE.h (LSODE_options::init): Likewise. |
|
4375 (LSODE_options::set_absolute_tolerance): Likewise. |
|
4376 |
|
4377 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
4378 sqrt(eps), not eps^2. |
|
4379 DASPK_options::set_absolute_tolerance): Likewise. |
|
4380 |
5095
|
4381 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
4382 |
|
4383 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
4384 object. |
|
4385 |
3933
|
4386 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4387 |
|
4388 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
4389 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
4390 (octave_rl_set_basic_word_break_characters, |
|
4391 octave_rl_set_completer_word_break_characters): New functions. |
|
4392 * oct-rl-edit.h: Provide decls. |
|
4393 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
4394 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
4395 (command_editor::set_basic_quote_characters, |
|
4396 command_editor::set_completion_append_character): New static functions. |
|
4397 * cmd-edit.h: Provide decls. |
|
4398 (command_editor::do_set_basic_word_break_characters, |
|
4399 command_editor::do_set_completer_word_break_characters): |
|
4400 New virtual functions. |
|
4401 |
|
4402 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
4403 (resize_fill_value): New static function. |
|
4404 |
|
4405 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
4406 resize_fill_value. |
|
4407 * Array2-idx.h (Array2<T>::index): Likewise. |
|
4408 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
4409 |
|
4410 * Array2.cc (Array<T>::print_info): New function. |
|
4411 * Array2.h: Provide decl. |
|
4412 |
|
4413 * Array.cc (Array<T>::print_info): New function. |
|
4414 * Array.h: Provide decl. |
|
4415 |
3928
|
4416 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4417 |
|
4418 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
4419 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
4420 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
4421 |
|
4422 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
4423 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
4424 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
4425 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
4426 |
5095
|
4427 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
4428 |
|
4429 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
4430 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
4431 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
4432 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
4433 |
3919
|
4434 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4435 |
|
4436 * DASSL.h (DASSL_options::init): Undo previous change. |
|
4437 (DASSL_options::set_absolute_tolerance): Likewise. |
|
4438 |
3912
|
4439 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4440 |
|
4441 * DASPK.h, DASPK.cc: New files. |
|
4442 * Makefile.in: Add them to the appropriate lists. |
|
4443 |
3904
|
4444 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4445 |
|
4446 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
4447 Simplify indexing when one or both of the indices are empty. |
|
4448 |
3896
|
4449 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4450 |
|
4451 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
4452 (DASSL_options::set_absolute_tolerance): Likewise. |
|
4453 * LSODE.h (LSODE_options::init): Likewise. |
|
4454 (LSODE_options::set_absolute_tolerance): Likewise. |
|
4455 |
5095
|
4456 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
4457 |
|
4458 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
4459 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
4460 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
4461 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
4462 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
4463 * file-stat.h: Likewise. |
|
4464 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
4465 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
4466 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
4467 * strftime.c: Likewise. |
|
4468 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
4469 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
4470 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
4471 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
4472 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
4473 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
4474 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
4475 |
5095
|
4476 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
4477 |
|
4478 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
4479 internally when the user requests it. |
|
4480 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
4481 * dbleQR.cc (QR::init): Ditto. |
|
4482 * dbleQRP.cc (QRP::init): Ditto. |
|
4483 |
3874
|
4484 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4485 |
|
4486 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
4487 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
4488 (octave_fftw::ifft2d): Likewise. |
|
4489 |
5095
|
4490 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
4491 |
|
4492 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
4493 |
3867
|
4494 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4495 |
|
4496 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
4497 (LS_DO_WRITE): Likewise. |
|
4498 |
3864
|
4499 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4500 |
|
4501 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
4502 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
4503 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
4504 |
|
4505 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
4506 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
4507 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
4508 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
4509 |
|
4510 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
4511 DIM == -1 now means no orientation for vector sums. |
|
4512 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
4513 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
4514 |
3858
|
4515 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4516 |
|
4517 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
4518 have zero elements. |
|
4519 |
3854
|
4520 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4521 |
3857
|
4522 * Makefile.in: Split out readline and pathsearch functionality |
|
4523 into separate liboct-readline and liboct-pathsearch libraries. |
|
4524 |
3854
|
4525 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
4526 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
4527 to do nothing for this call to rl_clear_screen. |
3854
|
4528 |
3849
|
4529 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4530 |
|
4531 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
4532 function. |
|
4533 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
4534 |
3838
|
4535 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4536 |
|
4537 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
4538 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
4539 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
4540 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
4541 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
4542 |
3836
|
4543 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4544 |
|
4545 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
4546 |
|
4547 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
4548 Array-b.cc: Instantiate three arg assign functions. |
|
4549 |
|
4550 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
4551 New arg, resize_fill_value. |
|
4552 * ArrayN.h: Provide declaration. |
|
4553 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
4554 three arg version. |
|
4555 |
|
4556 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
4557 New arg, resize_fill_value. |
|
4558 * Array3.h: Provide declaration. |
|
4559 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
4560 three arg version. |
|
4561 |
|
4562 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
4563 New arg, resize_fill_value. |
|
4564 * Array2.h: Provide declaration. |
|
4565 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
4566 three arg version. |
|
4567 |
|
4568 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
4569 New arg, resize_fill_value. |
|
4570 * Array.h: Provide declaration. |
|
4571 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
4572 three arg version. |
|
4573 |
3833
|
4574 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4575 |
|
4576 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
4577 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
4578 to the empty string. |
|
4579 |
3832
|
4580 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4581 |
|
4582 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
4583 Don't check for rep != a.rep. |
|
4584 |
3827
|
4585 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
4586 |
|
4587 * oct-fftw.h, oct-fftw.cc: New files. |
|
4588 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
4589 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
4590 ifourier2d}): Use fftw if available. |
|
4591 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
4592 Likewise. |
|
4593 |
3821
|
4594 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4595 |
|
4596 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
4597 (install-inc): Don't use mk-includedir-link. |
|
4598 |
3803
|
4599 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4600 |
|
4601 * lo-cutils.c (octave_gethostname): New function. |
|
4602 * lo-utils.h: Provide declaration. |
|
4603 * oct-env.cc (octave_env::do_get_host_name): |
|
4604 Call octave_gethostname, instead of gethostname. |
|
4605 |
|
4606 * lo-cutils.c (gethostname): Define here. |
|
4607 * lo-sysdep.cc: Not here. |
|
4608 |
3786
|
4609 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4610 |
|
4611 * lo-cutils.c: Don't declare strptime. |
|
4612 (oct_strptime): Cast return type of strptime to char*. |
|
4613 |
3777
|
4614 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4615 |
3779
|
4616 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
4617 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
4618 (octave_rl_read_init_file): Ditto. |
|
4619 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
4620 free_undo_list. |
|
4621 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
4622 completion_matches. |
|
4623 (octave_rl_enable_paren_matching): New function. |
|
4624 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
4625 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
4626 |
3777
|
4627 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
4628 tanh (const Complex&)): Declare and define if not |
|
4629 CXX_ISO_COMPLIANT_LIBRARY. |
|
4630 |
3776
|
4631 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4632 |
|
4633 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
4634 CXX_ISO_COMPLIANT_LIBRARY. |
|
4635 |
3775
|
4636 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
4637 |
3776
|
4638 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
4639 CXX_ISO_COMPLIANT_LIBRARY. |
|
4640 |
3775
|
4641 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
4642 archive libraries containing templates. |
|
4643 |
|
4644 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
4645 get_zero_len_size, all_colon_equiv): Inline. |
|
4646 (ArrayN<T>::index): Rename idx to arr_idx. |
|
4647 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
4648 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
4649 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
4650 |
|
4651 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4652 |
|
4653 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
4654 log10 (const Complex&)): Delete. |
|
4655 |
|
4656 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
4657 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
4658 sinh, sqrt, tan, and tanh. |
|
4659 |
3769
|
4660 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4661 |
|
4662 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
4663 Add std:: namespace qualifier as needed. |
|
4664 |
|
4665 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
4666 Change all uses to match. |
|
4667 |
3767
|
4668 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4669 |
|
4670 * lo-cutils.c: Don't delcare strptime. |
|
4671 |
3760
|
4672 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4673 |
|
4674 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
4675 Return correct size result for empty matrix case. |
|
4676 |
3757
|
4677 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4678 |
|
4679 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
4680 If args are equal in magnitude, return first arg instead of |
|
4681 second. |
|
4682 |
3752
|
4683 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4684 |
3755
|
4685 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
4686 then try harder to compute correct number of elements. |
3753
|
4687 |
3752
|
4688 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
4689 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
4690 |
3750
|
4691 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4692 |
3751
|
4693 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
4694 Rename n_intervals to be n_elt. |
|
4695 |
3750
|
4696 * strptime.c: Surround everything after including config.h in |
|
4697 #ifndef HAVE_STRPTIME ... #endif. |
|
4698 |
3742
|
4699 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4700 |
|
4701 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
4702 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
4703 |
3741
|
4704 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4705 |
|
4706 * MArray-defs.h: Protect against multiple inclusion. |
|
4707 |
3739
|
4708 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4709 |
|
4710 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
4711 end of the list, to be compatible with previous versions of Octave. |
|
4712 |
3736
|
4713 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
4714 |
|
4715 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
4716 since mktime is supposed to `normalize' the results for us. |
|
4717 |
3731
|
4718 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
4719 |
|
4720 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
4721 and vectors. Use xelem for faster access to elements when copying. |
3731
|
4722 |
3726
|
4723 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4724 |
|
4725 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
4726 Correct indexing for operation across rows. |
|
4727 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
4728 |
3725
|
4729 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
4730 |
|
4731 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
4732 elements if arg is a colon. |
|
4733 |
5095
|
4734 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
4735 |
3795
|
4736 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
4737 (Matrix::cumsum (int) const): Likewise. |
|
4738 (Matrix::prod (int) const): Likewise. |
|
4739 (Matrix::sum (int) const): Likewise. |
|
4740 (Matrix::sumsq (int) const): Likewise. |
|
4741 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
4742 (ComplexMatrix::cumsum (int) const): Likewise. |
|
4743 (ComplexMatrix::prod (int) const): Likewise. |
|
4744 (ComplexMatrix::sum (int) const): Likewise. |
|
4745 (ComplexMatrix::sumsq (int) const): Likewise. |
|
4746 |
3722
|
4747 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4748 |
|
4749 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
4750 size if Array<T>::index returns an empty array. |
|
4751 |
3710
|
4752 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4753 |
|
4754 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
4755 file_ops::readlink): New functions. |
|
4756 |
3709
|
4757 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4758 |
|
4759 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
4760 indexed, always return an object the same size as the index arg. |
|
4761 |
|
4762 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
4763 empty format. |
|
4764 |
3706
|
4765 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4766 |
|
4767 * lo-cutils.c (oct_strptime): New function. |
|
4768 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
4769 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
4770 |
3702
|
4771 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4772 |
3703
|
4773 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
4774 |
3702
|
4775 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
4776 |
3689
|
4777 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4778 |
|
4779 * dMatrix.h (read_int): Provide declaration. |
|
4780 |
3688
|
4781 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
4782 |
|
4783 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
4784 (write_doubles): Ditto. |
|
4785 * data-conv.h: Ditto. |
|
4786 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
4787 |
3685
|
4788 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4789 |
|
4790 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
4791 * boolMatrix.cc: Define them here. |
|
4792 |
3680
|
4793 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4794 |
|
4795 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
4796 previously undefined and set size of x to size of bool index. |
|
4797 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
4798 Allow z_len to be zero. |
|
4799 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
4800 If frozen, don't assert that frozen_at_z_len == z_len. |
|
4801 |
3670
|
4802 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4803 |
|
4804 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
4805 instead of rl_clear_screen. |
|
4806 |
3665
|
4807 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4808 |
|
4809 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
4810 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
4811 * Makefile.in: Add them to the appropriate lists. |
|
4812 |
3657
|
4813 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4814 |
|
4815 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
4816 |
3635
|
4817 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4818 |
|
4819 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
4820 |
3615
|
4821 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4822 |
|
4823 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
4824 before rebuilding. |
|
4825 |
5095
|
4826 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
4827 |
5261
|
4828 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
4829 (libraries): Depend only on library targets, not archive members. |
|
4830 |
3613
|
4831 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4832 |
|
4833 * Makefile.in: (objects): New target. |
|
4834 |
|
4835 * lo-cutils.c: New file. |
|
4836 * Makefile.in (SOURCES): Add it to the list. |
|
4837 * lo-utils.h: Declare octave_qsort here. |
|
4838 * Array.h (Array::qsort): Use it here. |
|
4839 |
3607
|
4840 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4841 |
|
4842 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
4843 |
3598
|
4844 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4845 |
|
4846 * oct-rl-hist.c (octave_history_list): Do something when not |
|
4847 printing line numbers. Fix reallocation of retval. |
|
4848 |
3597
|
4849 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4850 |
|
4851 * Makefile.in (install-inc): Install files in |
|
4852 $(octincludedir)/octave. |
|
4853 (uninstall): Remove them from the correct directory too. |
|
4854 |
|
4855 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
4856 they are not already defined. |
|
4857 |
3588
|
4858 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4859 |
|
4860 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
4861 Delete declarations and definitions of mixed-type vector-vector ops. |
|
4862 |
3585
|
4863 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4864 |
|
4865 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
4866 matrix and vector objects. |
|
4867 |
|
4868 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
4869 return type from second arg type. |
|
4870 (MDM_BIN_OP): Likewise, for first arg type. |
|
4871 |
|
4872 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
4873 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
4874 |
|
4875 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
4876 request ColumnVector to ComplexColumnVector, and Matrix to |
|
4877 ComplexMatrix conversions. |
|
4878 |
|
4879 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
4880 initial value using ComplexMatrix constructor. |
|
4881 |
|
4882 * CColVector.cc (product, quotient, |
|
4883 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
4884 Fix type of returned value. |
|
4885 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
4886 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
4887 |
|
4888 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
4889 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
4890 dRowVector.h: Declare some constructors explicit, to disallow |
|
4891 potentially problematic automatic type conversions. |
|
4892 |
3580
|
4893 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4894 |
3582
|
4895 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
4896 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
4897 More new files. |
|
4898 * Makefile.in: Add them to the appropriate lists. |
|
4899 |
|
4900 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
4901 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
4902 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
4903 vx-s-crv.cc:, New files. |
|
4904 * Makefile.in: Add them to the appropriate lists. |
|
4905 |
|
4906 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
4907 Delete scalar by vector and vector by scalar binary ops. |
|
4908 |
3580
|
4909 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
4910 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
4911 |
3573
|
4912 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4913 |
3578
|
4914 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
4915 rl_event_hook before casting to void **. |
|
4916 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
4917 |
3574
|
4918 * MArray-defs.h: Many new macros to make declaration and |
|
4919 definition of operators more consistent. |
|
4920 |
|
4921 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
4922 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
4923 |
3569
|
4924 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4925 |
3572
|
4926 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
4927 (Matrix::ifourier2d): Likewise. |
|
4928 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
4929 (ComplexMatrix::ifourier2d): Likewise. |
|
4930 |
3569
|
4931 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
4932 |
3504
|
4933 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4934 |
3519
|
4935 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
4936 readline library. |
|
4937 * Makefile.in: Add them to the appropriate lists. |
|
4938 |
|
4939 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
4940 readline history library. |
|
4941 * Makefile.in: Add them to the appropriate lists. |
|
4942 |
3517
|
4943 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
4944 (LS_DO_READ): Likewise, for istream::read. |
3518
|
4945 (write_doubles): Likewise. |
|
4946 (read_doubles): Likewise. |
3517
|
4947 |
3516
|
4948 * oct-env.cc (octave_env::do_polite_directory_format): |
|
4949 Use operator== and substr method to do limited-length string |
|
4950 comparison. |
|
4951 |
3513
|
4952 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
4953 |
3511
|
4954 * Quad.h: Use do_integrate as name of pure virtual function. |
|
4955 |
3508
|
4956 * base-de.h: Use tt instead of t as arg names. |
3511
|
4957 Add method with tcrit arg. |
|
4958 |
3509
|
4959 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
4960 |
3507
|
4961 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
4962 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
4963 * Quad.cc (quad_fcn_ptr): Ditto. |
|
4964 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
4965 |
3505
|
4966 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
4967 * Makefile.in: Add them to the appropriate lists. |
3505
|
4968 |
|
4969 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
4970 * Makefile.in: Add them to the appropriate lists. |
3505
|
4971 |
3504
|
4972 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
4973 |
|
4974 * CDiagMatrix.h: Delete decls for friend operators that are |
|
4975 handled by MDiagArray2 class. Move others outside class decl and |
|
4976 strip friend status. |
|
4977 * dDiagMatrix.h: Likewise. |
|
4978 |
|
4979 * MArray.h: Delete decls for friend operators inside class decl. |
|
4980 * MArray2.h: Ditto. |
|
4981 * MDiagArray2.h: Ditto. |
|
4982 |
|
4983 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
4984 necessary parameters. Don't allocate memory in the macro. Change |
|
4985 all uses. |
|
4986 |
|
4987 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
4988 * CMatrix.h (class ComplexMatrix): Ditto. |
|
4989 |
|
4990 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
4991 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
4992 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
4993 avoid type conflicts. Change all uses. |
|
4994 |
|
4995 * strptime.c (__mon_yday): Fix size of array decl. |
|
4996 |
|
4997 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
4998 |
|
4999 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
5000 default value for second arg. |
|
5001 |
|
5002 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
5003 references to ArrayRep. |
|
5004 |
3503
|
5005 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5006 |
3504
|
5007 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
5008 |
|
5009 * All source files: Include iostream, fstream, strstream, |
|
5010 etc. as needed instead of using forward declarations for these |
3504
|
5011 classes. Add std:: qualifier as needed. |
3503
|
5012 |
3498
|
5013 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5014 |
|
5015 * oct-time.cc: Declare strptime extern "C". |
|
5016 |
3496
|
5017 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5018 |
|
5019 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
5020 |
3488
|
5021 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5022 |
3492
|
5023 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
5024 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
5025 to get total size to be allocated. |
|
5026 |
3488
|
5027 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
5028 as bool, not int. |
|
5029 |
3482
|
5030 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5031 |
|
5032 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5033 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
5034 as A, even when do_fortran_indexing is not enabled. |
|
5035 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
5036 |
3473
|
5037 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5038 |
3480
|
5039 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
5040 function pointer as final arg. Passed function (if any) will be |
|
5041 called for singularity errors. |
|
5042 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
5043 |
|
5044 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
5045 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
5046 |
3475
|
5047 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
5048 No longer bother with infinity or quiet_nan. |
|
5049 |
3473
|
5050 * Array2.cc (Array2<T>::get_size): New function. |
|
5051 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
5052 |
3472
|
5053 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5054 |
|
5055 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
5056 New function. |
|
5057 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5058 Use it when indexing with one arg instead of faking a second one. |
|
5059 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
5060 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
5061 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
5062 rows or columns. |
|
5063 |
|
5064 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
5065 vector that is all true values with a length equal to n as colon |
|
5066 equivalent. |
|
5067 |
3470
|
5068 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5069 |
|
5070 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
5071 |
5095
|
5072 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
5073 |
|
5074 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
5075 operations directly in step 2 and reverse step 2. |
|
5076 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
5077 operations directly in step 2 and reverse step 2. |
|
5078 |
3465
|
5079 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5080 |
|
5081 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
5082 |
|
5083 * strptime.c: New file, from glibc 2.1.2. |
|
5084 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
5085 |
3419
|
5086 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5087 |
|
5088 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
5089 |
3415
|
5090 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5091 |
|
5092 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
5093 NULL directory list returned from kpse_element_dirs |
|
5094 |
3375
|
5095 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5096 |
|
5097 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
5098 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
5099 directly, instead of calling ZGESV. |
|
5100 |
3358
|
5101 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5102 |
|
5103 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
5104 (string_to_data_type): Use it to improve lookup of data types. |
|
5105 |
3354
|
5106 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5107 |
|
5108 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
5109 * Array2.h (is_symmetric): Delete declaration. |
|
5110 |
3347
|
5111 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5112 |
|
5113 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
5114 |
3344
|
5115 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5116 |
|
5117 * oct-time.cc (Fstrftime): Undo previous change. |
|
5118 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5119 |
3334
|
5120 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5121 |
3336
|
5122 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
5123 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
5124 |
3334
|
5125 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
5126 Don't forget to pass length of third string argument to dgeesx. |
|
5127 |
|
5128 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
5129 of third string argument to zgeesx. |
|
5130 |
3333
|
5131 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5132 |
|
5133 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
5134 On errors, simply return `T ()'. |
|
5135 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
5136 |
5095
|
5137 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
5138 |
|
5139 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
5140 AEPBALANCE class. |
|
5141 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
5142 |
3325
|
5143 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5144 |
|
5145 * oct-shlib.cc, oct-shlib.h: New files. |
|
5146 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5147 |
3322
|
5148 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5149 |
|
5150 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
5151 * dRowVector.cc (linspace): Ditto. |
|
5152 |
|
5153 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
5154 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5155 |
3312
|
5156 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5157 |
|
5158 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
5159 to evaluate the Jacobian, set info(4), not iwork(4). |
|
5160 Set rwork(1) to the maximum step size, not rwork(2). |
|
5161 |
3290
|
5162 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5163 |
|
5164 * oct-time.cc: Include <climits>. |
|
5165 |
3281
|
5166 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5167 |
|
5168 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
5169 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
5170 (gnu_readline::do_resize_terminal): New function. |
|
5171 |
3268
|
5172 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5173 |
|
5174 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
5175 * lo-ieee.c: Likewise. |
|
5176 Delete extern "C" declarations for infinity and quiet_nan. |
|
5177 |
3262
|
5178 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5179 |
3263
|
5180 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
5181 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
5182 `inline', not `static inline'. |
|
5183 |
3262
|
5184 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
5185 then cast to const int * to compare. |
|
5186 |
3257
|
5187 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5188 |
|
5189 * DAEFunc.h: Remove useless preprocessor conditional. |
|
5190 |
3255
|
5191 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5192 |
3257
|
5193 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
5194 Use octave_time object instead of time_t. |
|
5195 |
|
5196 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
5197 file_stat::fs_ctime): Now octave_time objects. |
|
5198 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
5199 Return octave_time objects. |
|
5200 (file_stat::is_newer): Args are now octave_time objects instead of |
|
5201 time_t. |
|
5202 |
3255
|
5203 * oct-time.h (octave_time::as_double): Delete. |
|
5204 (octave_time::operator double ()): New function. |
|
5205 (octave_time::operator time_t ()): New function. |
|
5206 (octave_time::ctime): New function. |
|
5207 (octave_base_tm::strftime): Renamed from format_as_string. |
|
5208 (octave_base_tm::asctime): New function. |
|
5209 (operator == (const octave_time&, const octave_time&), |
|
5210 operator != (const octave_time&, const octave_time&), |
|
5211 operator < (const octave_time&, const octave_time&), |
|
5212 operator <= (const octave_time&, const octave_time&), |
|
5213 operator > (const octave_time&, const octave_time&), |
|
5214 operator >= (const octave_time&, const octave_time&)): |
|
5215 New comparison functions. |
|
5216 |
|
5217 * strftime.c: Move here from src directory. |
|
5218 * Makefile.in (SOURCES): Add it to the list. |
|
5219 |
|
5220 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
5221 |
3253
|
5222 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5223 |
|
5224 * oct-time.h, oct-time.cc: New files. |
|
5225 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5226 |
|
5227 * systime.h: Move here from src directory. |
|
5228 * Makefile.in (INCLUDES): Add it to the list. |
|
5229 |
3248
|
5230 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5231 |
|
5232 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
5233 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
5234 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
5235 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
5236 |
|
5237 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
5238 |
3243
|
5239 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5240 |
|
5241 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
5242 |
|
5243 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5244 |
|
5245 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
5246 column vector for A(:), for compatibility with Matlab. |
|
5247 |
|
5248 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5249 |
|
5250 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
5251 iopt when there are optional inputs in rwork or iwork. |
|
5252 |
3238
|
5253 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5254 |
|
5255 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
5256 creating static libs. |
|
5257 |
5095
|
5258 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
5259 |
|
5260 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
5261 and uint32 data types. |
|
5262 |
|
5263 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5264 |
|
5265 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
5266 for Linux. Remove old Linux-specific code. |
|
5267 |
3233
|
5268 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5269 |
|
5270 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
5271 Don't require lengths to be equal. |
|
5272 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
5273 ComplexRowVector& a)): Likewise |
|
5274 |
5095
|
5275 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
5276 |
|
5277 * statdefs.h: Only define mode_t if not already defined. |
|
5278 |
5095
|
5279 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
5280 |
|
5281 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
5282 when appropriate. |
|
5283 |
|
5284 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5285 |
|
5286 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
5287 before calling rl_initialize. |
|
5288 |
3220
|
5289 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5290 |
|
5291 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
5292 Update Bessel function support to use library by D. E. Amos. |
|
5293 |
3219
|
5294 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5295 |
|
5296 * cmd-edit.h (command_editor::readline): Add new variation that |
|
5297 allows EOF information to be passed back to caller. |
|
5298 |
|
5299 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
5300 amount of data to read is unspecified. |
|
5301 |
3215
|
5302 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5303 |
3219
|
5304 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
5305 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
5306 |
3215
|
5307 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
5308 Add volatile qualifier to void* arg. |
|
5309 Cast volatile void* arg to volatile char*. |
|
5310 |
|
5311 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5312 |
|
5313 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
5314 (command_editor::do_restore_event_hook): Ditto. |
|
5315 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
5316 (command_editor::restore_event_hook): Ditto. |
|
5317 (gnu_readline::do_set_event_hook): Ditto. |
|
5318 (gnu_readline::do_restore_event_hook): Ditto. |
|
5319 (gnu_readline::previous_event_hook): New data member. |
|
5320 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
5321 |
3206
|
5322 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5323 |
|
5324 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
5325 |
|
5326 * Makefile.in (stmp-pic): New target. |
|
5327 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
5328 (clean): Remove stmp-pic |
|
5329 |
|
5330 * Makefile.in: Undo previous change to avoid optmization when |
|
5331 compiling lo-ieee.cc. |
|
5332 |
|
5333 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5334 |
|
5335 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
5336 imaginary parts. |
|
5337 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
5338 |
3203
|
5339 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5340 |
|
5341 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
5342 |
3196
|
5343 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5344 |
|
5345 * pathsearch.h (dir_path::default_path): New data member. |
|
5346 * pathsearch.cc (dir_path::init): Use it. |
|
5347 |
|
5348 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
5349 |
3189
|
5350 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5351 |
|
5352 * chMatrix.cc (charMatrix::extract): New function. |
|
5353 (charMatrix::charMatrix (char c)): New constructor. |
|
5354 |
|
5355 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5356 |
|
5357 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
5358 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
5359 (gnu_readline::do_read_init_file): Likewise. |
|
5360 |
3185
|
5361 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5362 |
|
5363 * oct-env.cc (octave_env::do_get_home_directory): |
|
5364 If HOME can't be found, set it to "/". |
|
5365 (octave_env::do_get_user_name) |
|
5366 If user name can't be found, set it to "unknown". |
|
5367 (octave_env::do_get_host_name) |
|
5368 If host name can't be found, set it to "unknown". |
|
5369 |
|
5370 * pathsearch.h (dir_path::rehash): New function. |
|
5371 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
5372 diretcory cache before doing initialization. |
|
5373 |
3180
|
5374 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5375 |
3185
|
5376 * dMatrix.cc (Qzval): Delete. |
|
5377 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
5378 * dMatrix.h (Qzval): Delete declaration. |
|
5379 |
|
5380 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
5381 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
5382 * mx-ext.h: Don't include dbleGEPBAL. |
|
5383 |
3180
|
5384 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
5385 static_cast. |
|
5386 |
|
5387 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5388 |
|
5389 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
5390 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
5391 |
|
5392 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5393 |
|
5394 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
5395 HUGE_VAL and NAN. |
|
5396 |
|
5397 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5398 |
|
5399 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5400 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
5401 |
|
5402 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5403 |
|
5404 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
5405 Alloctate space before attempting to use it. |
|
5406 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
5407 |
5095
|
5408 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
5409 |
|
5410 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
5411 |
|
5412 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5413 |
|
5414 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
5415 have the same size as the operands. |
|
5416 |
|
5417 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5418 |
|
5419 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
5420 call to ddassl, set integration_error to 1 before calling the |
|
5421 error handler and returning. |
|
5422 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
5423 |
3177
|
5424 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5425 |
|
5426 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
5427 do_fortran_indexing is set, A([]) = scalar. |
|
5428 * Array-idx.h (assign): Allow A([]) = scalar. |
|
5429 |
3176
|
5430 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5431 |
|
5432 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
5433 if dm_nc == 0. |
|
5434 |
3174
|
5435 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5436 |
|
5437 * pathsearch.h (dir_path::p_orig): New field. |
|
5438 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
5439 expansion on the original path here. |
|
5440 (dir_path::find_all): Don't do anything if not initialized. |
|
5441 |
3164
|
5442 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5443 |
|
5444 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
5445 is not set. |
|
5446 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
5447 |
|
5448 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
5449 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
5450 \int_0^x exp(-t) t^(a-1) dt. |
|
5451 |
|
5452 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5453 |
|
5454 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
5455 Array-s.cc: Change return types of all `assign' explicit |
|
5456 instantiations to be int, not void, to match the template decl in |
|
5457 Array.h. |
|
5458 |
3162
|
5459 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5460 |
|
5461 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
5462 |
3156
|
5463 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5464 |
|
5465 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
5466 * lo-mappers.cc: Not here. |
|
5467 |
|
5468 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
5469 * lo-mappers.h: Not here. |
|
5470 |
|
5471 * lo-specfun.h: Never declare gamma or lgamma. |
|
5472 |
3154
|
5473 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5474 |
|
5475 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
5476 empty matrix of any dimension. |
|
5477 |
3145
|
5478 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5479 |
3147
|
5480 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
5481 |
3146
|
5482 * lo-specfun.cc: Don't include dbleBessel.h. |
|
5483 |
|
5484 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
5485 |
3145
|
5486 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
5487 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
5488 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
5489 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
5490 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
5491 |
|
5492 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
5493 Don't cast arg in call to swap_8_bytes. |
|
5494 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
5495 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
5496 swap_4_bytes. |
|
5497 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
5498 |
|
5499 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
5500 * prog-args.cc (prog_args::getopt): Likewise. |
|
5501 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
5502 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
5503 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
5504 Likewise. |
|
5505 |
|
5506 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
5507 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
5508 |
3141
|
5509 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5510 |
|
5511 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
5512 Use $(mk-libdir-link). |
|
5513 |
|
5514 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
5515 not SAFE_STAT and SAFE_LSTAT. |
|
5516 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
5517 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
5518 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
5519 safe-lstat.h, and safe-lstat.cc. |
|
5520 |
3136
|
5521 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5522 |
|
5523 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
5524 |
3130
|
5525 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5526 |
|
5527 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
5528 trace is negative. |
|
5529 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
5530 the real part of the trace is negative. |
|
5531 |
|
5532 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5533 |
|
5534 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
5535 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
5536 |
|
5537 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
5538 to succeed. |
|
5539 |
3125
|
5540 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5541 |
|
5542 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
5543 (make_uniq): Likewise. |
|
5544 |
|
5545 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5546 |
|
5547 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
5548 |
3119
|
5549 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5550 |
3121
|
5551 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
5552 |
|
5553 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
5554 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5555 |
3121
|
5556 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
5557 oct-math.h: Delete. |
|
5558 * Makefile.in (SOURCES): Delete them from the list. |
|
5559 |
3112
|
5560 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5561 |
|
5562 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
5563 |
5095
|
5564 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
5565 |
|
5566 Changes to make support egcs snapshots that implement explicit |
|
5567 specification of template functions according to CD2. |
|
5568 |
|
5569 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
5570 template function specs for template friends. |
|
5571 * MArray2.h: Likewise. |
|
5572 * MDiagArray2.h: Likewise. |
|
5573 |
3095
|
5574 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5575 |
|
5576 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
5577 |
3092
|
5578 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
5579 |
|
5580 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
5581 to complex<double>(int) instead of complex<double>(double). |
|
5582 |
|
5583 * lo-mappers.cc (atanh): Ditto. |
|
5584 |
3079
|
5585 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5586 |
|
5587 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
5588 * idx-vector.h (idx_vector::sort): Ditto. |
|
5589 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
5590 trying to delete elements specified by the index vectors. |
|
5591 |
3075
|
5592 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5593 |
|
5594 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
5595 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
5596 |
3074
|
5597 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5598 |
|
5599 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
5600 |
3069
|
5601 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5602 |
|
5603 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
5604 Call error handler if we can't find the current directory. |
|
5605 |
3068
|
5606 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5607 |
3069
|
5608 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
5609 (xfinite (double)): Ditto. |
|
5610 |
3068
|
5611 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
5612 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
5613 |
3056
|
5614 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5615 |
|
5616 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
5617 compatible with Matlab. |
|
5618 |
3050
|
5619 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5620 |
|
5621 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
5622 single colon. |
|
5623 |
3040
|
5624 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5625 |
3049
|
5626 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
5627 (xgamma): Likewise, for calling xdgamma. |
|
5628 |
3042
|
5629 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
5630 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
5631 |
3040
|
5632 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
5633 to do better job expanding tildes. |
|
5634 |
|
5635 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
5636 Use temporary variable to compute length. |
|
5637 |
3029
|
5638 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5639 |
3034
|
5640 * Makefile.in: Make building of static library optional. |
3036
|
5641 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
5642 |
3029
|
5643 * Makefile.in (stamp-picdir): Delete. |
|
5644 (pic): New target. Don't worry so much about creating pic |
|
5645 directory only when it is really needed. |
|
5646 (stamp-interp): Delete. |
|
5647 (libraries): New target. Depend on shared library directly. |
|
5648 |
3024
|
5649 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5650 |
|
5651 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
5652 New static function. |
|
5653 |
3012
|
5654 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5655 |
|
5656 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
5657 |
3004
|
5658 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5659 |
|
5660 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
5661 set_basic_quote_characters, to match new version of readline. |
|
5662 |
|
5663 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
5664 for restoring terminal state through rl_deprep_term_function, now |
|
5665 declared in readline.h |
|
5666 (rl_deprep_terminal): Delete declaration. |
|
5667 |
2993
|
5668 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5669 |
|
5670 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
5671 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
5672 |
2968
|
5673 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5674 |
|
5675 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
5676 New static function. |
|
5677 |
2964
|
5678 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5679 |
2966
|
5680 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
5681 the vector is not sorted. |
|
5682 |
2964
|
5683 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
5684 * dMatrix.cc (Matrix::operator !): Likewise |
|
5685 |
2941
|
5686 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5687 |
|
5688 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
5689 |
|
5690 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
5691 |
|
5692 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
5693 |
2938
|
5694 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5695 |
2941
|
5696 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
5697 (install-inc): Use it. |
|
5698 |
2938
|
5699 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
5700 Handle errors and missing functions consistently. |
|
5701 |
|
5702 * oct-group.h, oct-group.cc: New files. |
|
5703 |
|
5704 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
5705 |
|
5706 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
5707 |
2934
|
5708 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5709 |
|
5710 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
5711 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
5712 |
|
5713 * oct-passwd.h, oct-passwd.cc: New files. |
|
5714 |
2926
|
5715 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5716 |
|
5717 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
5718 |
|
5719 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
5720 (instance_ok ()): New function. |
|
5721 |
|
5722 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
5723 |
|
5724 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
5725 |
|
5726 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
5727 src/utils.h and src/utils.cc. |
|
5728 (octave_fgets): New function, extracted from src/input.cc. |
|
5729 |
|
5730 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
5731 GNU readline, and allow Octave to work without GNU readline. |
|
5732 |
|
5733 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
5734 system-dependent functions. |
|
5735 |
|
5736 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
5737 |
|
5738 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
5739 from file-ops.h and file-ops.cc and move here. |
|
5740 |
|
5741 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
5742 tilde_expand functions here from src/dirfns.cc. |
|
5743 |
|
5744 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5745 |
|
5746 * pathlen.h: New file, from ../src. |
|
5747 |
2917
|
5748 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5749 |
|
5750 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
5751 out-of-bounds indexing of the index array. |
|
5752 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
5753 |
2850
|
5754 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5755 |
|
5756 * LSODE.h (x_step_limit): New field. |
|
5757 (LSODE_options::init): Initialize it. |
|
5758 (LSODE_options::copy): Copy it. |
|
5759 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
5760 New functions. |
|
5761 (LSODE::working_too_hard): Delete. |
|
5762 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
5763 |
2844
|
5764 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5765 |
|
5766 * MArray-b.cc: Delete. |
|
5767 * Makefile.in: Delete it from the lists. |
|
5768 |
|
5769 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
5770 MArray2, since most of the numeric ops don't really make sense. |
|
5771 |
2829
|
5772 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5773 |
2832
|
5774 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
5775 |
|
5776 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
5777 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
5778 |
2830
|
5779 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
5780 idx_vector::freeze): Delete prefer_zero_one arg. |
|
5781 * Array-idx.h, Array2-idx.h: Change all callers. |
|
5782 |
|
5783 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
5784 |
2829
|
5785 * mx-op-defs.h: New file for operator definitions. |
|
5786 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
5787 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
5788 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
5789 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
5790 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
5791 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
5792 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
5793 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
5794 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
5795 mx-s-cm.cc, mx-s-dm.cc: |
|
5796 New files for mixed-type operations. |
|
5797 * Makefiles.in: Add them to the appropriate lists. |
|
5798 |
|
5799 * mx-inlines.cc: Add bool by bool EQ ops. |
|
5800 |
|
5801 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
5802 boolMatrix types. |
|
5803 (idx_vector::maybe_convert_one_zero_to_idx, |
|
5804 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
5805 Delete second arg, prefer_zero_one. Change all callers. |
|
5806 |
|
5807 * boolMatrix.h, boolMatrix.cc: New files. |
|
5808 * mx-base.h: Include boolMatrix.h here. |
|
5809 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
5810 |
|
5811 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
5812 |
|
5813 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
5814 operator-, operator*, product, and quotient functions. |
|
5815 Add constructor for boolMatrix type. |
|
5816 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
5817 product, and quotient functions. |
|
5818 |
|
5819 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
5820 operator-, and product functions. |
|
5821 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
5822 |
|
5823 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
5824 |
2815
|
5825 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5826 |
|
5827 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
5828 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
5829 (EIG::symmetric_init (const Matrix&)): New function. |
|
5830 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
5831 |
|
5832 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
5833 |
|
5834 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5835 |
|
5836 * Array2.cc (is_symmetric): New function. |
|
5837 * Array2.h (is_square): New function. |
|
5838 |
2811
|
5839 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5840 |
|
5841 * Makefile.in (install-strip): New target. |
|
5842 |
2804
|
5843 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5844 |
|
5845 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
5846 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
5847 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
5848 dbleSVD.cc: Don't include mx-inlines.cc. |
|
5849 |
|
5850 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
5851 duplicate code. |
|
5852 |
2800
|
5853 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5854 |
2804
|
5855 * dbleQR.h (QR): Delete extra comma at end of list. |
|
5856 |
|
5857 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
5858 |
|
5859 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
5860 |
|
5861 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
5862 idx_vecotr_rep:: qualifiers. |
|
5863 |
|
5864 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
5865 |
|
5866 * data-conv.h (save_type): Delete extra comma at end of list. |
|
5867 |
2800
|
5868 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
5869 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
5870 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
5871 old C-style `(T) val' casts. |
|
5872 |
2795
|
5873 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5874 |
|
5875 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
5876 just breaking out of the innermost loop. |
|
5877 * CMatrix.cc (operator >>): Likewise. |
|
5878 |
2779
|
5879 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
5880 |
|
5881 * Version 2.0.5 released. |
|
5882 |
2767
|
5883 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5884 |
|
5885 * CmplxQR.cc (ComplexQR::init): New function. |
|
5886 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
5887 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
5888 Get sizes right in all cases. |
|
5889 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
5890 |
|
5891 * dbleQR.cc (QR::init): New function. |
|
5892 (QR::QR): Use it. Use initializer list too. |
|
5893 * dbleQRP.cc (QRP::init): New function. |
|
5894 Get sizes right in all cases. |
|
5895 (QR::QRP): Use it. Use initializer list too. |
|
5896 |
2759
|
5897 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5898 |
|
5899 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
5900 Recognize "vaxg", not "vax_g". |
|
5901 |
2713
|
5902 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5903 |
2714
|
5904 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
5905 dimension in check for colon equivalent index. |
|
5906 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
5907 index whose value is 0 is also colon eqivalent for n == 1. |
|
5908 |
2713
|
5909 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
5910 system-specific tests first. |
|
5911 |
2709
|
5912 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
5913 |
|
5914 * Version 2.0.4 released. |
|
5915 |
|
5916 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5917 |
|
5918 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
5919 |
2693
|
5920 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
5921 |
|
5922 * Version 2.0.3 released. |
|
5923 |
2686
|
5924 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5925 |
|
5926 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
5927 |
2673
|
5928 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5929 |
2676
|
5930 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
5931 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
5932 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
5933 (stamp-picdir): Silence noise about making pic. |
|
5934 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
5935 |
2673
|
5936 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
5937 Fix typo in last change. |
|
5938 |
|
5939 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
5940 Convert from friend (moved from dColVector.cc). |
|
5941 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
5942 Likewise (moved from dMatrix.cc). |
|
5943 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
5944 Likewise (moved from dRowVector.cc). |
|
5945 |
|
5946 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
5947 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
5948 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
5949 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
5950 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
5951 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
5952 |
|
5953 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
5954 * dMatrix.cc (Matrix::apply): Likewise. |
|
5955 * dRowVector.cc (RowVector::apply): Likewise. |
|
5956 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
5957 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
5958 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
5959 |
2668
|
5960 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5961 |
|
5962 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
5963 |
|
5964 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5965 |
|
5966 * file-ops.cc (oct_unlink (const string&, string&)): |
|
5967 New two-arg version. |
|
5968 (oct_rmdir (const string&, string&)): New two-arg version. |
|
5969 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
5970 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
5971 (oct_rename (const string&, const string&, string&)): |
|
5972 New three-arg version. |
|
5973 |
2663
|
5974 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5975 |
|
5976 * idx-vector.h (idx_vector::orig_empty): New function. |
|
5977 |
|
5978 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
5979 Don't always resize to [](0x0) if one of the indices is empty or |
|
5980 zero. |
|
5981 |
2658
|
5982 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5983 |
|
5984 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
5985 Set line_in_file here too. |
|
5986 (command_history::read_range): New arg, must_exist. |
|
5987 |
2651
|
5988 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5989 |
|
5990 * f2c-main.c: Change C++-style comments to C-style comments. |
|
5991 |
2638
|
5992 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5993 |
|
5994 * Makefile.in (install-inc): Create a relative symbolic link. |
|
5995 |
2634
|
5996 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5997 |
|
5998 * Version 2.0.2 released. |
|
5999 |
2624
|
6000 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6001 |
|
6002 * Makefile.in (bin-dist): New target. |
|
6003 |
2621
|
6004 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6005 |
|
6006 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
6007 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
6008 |
2613
|
6009 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6010 |
|
6011 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6012 If the number of columns is zero, also set the number of rows to zero. |
|
6013 (charMatrix::charMatrix (const char *)): Likewise. |
|
6014 |
2602
|
6015 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6016 |
|
6017 * Version 2.0.1 released. |
|
6018 |
2601
|
6019 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6020 |
|
6021 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
6022 columns for resizing when the number of rows is specified but the |
|
6023 number of columns is not. |
|
6024 |
2598
|
6025 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6026 |
2599
|
6027 * Range.cc (operator -): New function. |
|
6028 |
2598
|
6029 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
6030 |
2589
|
6031 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6032 |
|
6033 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
6034 know if the assignment conforms. |
|
6035 |
2583
|
6036 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6037 |
|
6038 * Version 2.0 released. |
|
6039 |
2570
|
6040 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6041 |
2575
|
6042 * Array2-idx.h (assign): If index is a colon, set number of |
|
6043 elements to the lhs dimension if the lhs dimension is greater than |
|
6044 zero. Otherwise, set it to the rhs dimension. |
|
6045 |
|
6046 * Version 1.94. |
|
6047 |
2570
|
6048 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
6049 If index is colon, set number of elements to lhs dimension, not |
|
6050 rhs dimension. |
|
6051 |
2563
|
6052 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6053 |
2566
|
6054 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
6055 * sun-utils.cc: Delete. |
|
6056 * f2c-main.c: New file |
|
6057 |
|
6058 * Makefile.in: Fix file name lists. |
|
6059 |
2563
|
6060 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
6061 |
2561
|
6062 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6063 |
|
6064 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
6065 Create result using Complex constructor, not multiplication. |
|
6066 Order elements as they are returned from Eispack. |
|
6067 |
2559
|
6068 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6069 |
2560
|
6070 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
6071 Only include nan.h if SCO is defined. Define _IEEE before |
|
6072 including it and undefine it afterward. |
|
6073 [SCO] (isnan): Don't mistake Inf as NaN. |
|
6074 |
2559
|
6075 * Array-idx.h (assign): Only resize if assignment conforms. |
|
6076 |
2551
|
6077 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6078 |
|
6079 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
6080 * lo-error.h: Delete (moved to libcruft/misc). |
|
6081 |
|
6082 * Version 1.93. |
|
6083 |
2546
|
6084 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6085 |
2549
|
6086 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
6087 be the same as they are in fnmatch.h. |
|
6088 |
2546
|
6089 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
6090 |
|
6091 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
6092 (SOURCES): Delete f77-fcn.c. |
|
6093 |
2522
|
6094 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6095 |
|
6096 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
6097 |
2512
|
6098 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6099 |
|
6100 * Version 1.92. |
|
6101 |
2508
|
6102 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6103 |
2512
|
6104 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
6105 lines that have only carriage return or newline. |
|
6106 |
2508
|
6107 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
6108 |
2500
|
6109 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6110 |
|
6111 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
6112 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
6113 |
2493
|
6114 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6115 |
|
6116 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
6117 from vectors of C strings. |
|
6118 |
|
6119 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
6120 vector. |
|
6121 (glob_match::match): Allow match string to be a string vector. |
|
6122 (glob_match::glob): New function. |
|
6123 |
|
6124 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
6125 |
|
6126 * Array-b.cc: New file. |
|
6127 * Makefile.in (TI_SRC): Add it to the list. |
|
6128 |
2492
|
6129 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6130 |
|
6131 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
6132 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
6133 want the version from the build directory. (Maybe this should be |
|
6134 done for all the include files, not just those that are |
|
6135 auto-generated? Hmm.) |
|
6136 |
2481
|
6137 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6138 |
2482
|
6139 * Version 1.91. |
|
6140 |
2481
|
6141 * Array3.cc (Array3<T>::resize): Make it work. |
|
6142 |
|
6143 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6144 |
|
6145 * oct-alloc.h, oct-alloc.cc: New files. |
|
6146 * Makefile.in: Add them to the lists. |
|
6147 |
|
6148 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6149 |
|
6150 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
6151 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
6152 |
2466
|
6153 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6154 |
|
6155 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
6156 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
6157 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
6158 underlying macro is not defined. |
|
6159 |
|
6160 * oct-math.h (lgamma, gamma): Delete declarations. |
|
6161 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
6162 Protect declarations with #ifdef HAVE_*. |
|
6163 |
2440
|
6164 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6165 |
2452
|
6166 * Version 1.90. |
|
6167 |
|
6168 * Makefile.in (DISTFILES): Add ChangeLog. |
|
6169 |
2444
|
6170 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
6171 |
|
6172 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
6173 |
2443
|
6174 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
6175 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
6176 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
6177 |
2440
|
6178 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
6179 since that is now accepatble syntax, even for built-in types. |
|
6180 * Array2.h (T Array2<T>::checkelem): Likewise |
|
6181 |
2433
|
6182 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6183 |
|
6184 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
6185 message and return -1. |
|
6186 |
2428
|
6187 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6188 |
2431
|
6189 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
6190 cast them to const string * in the body of the function. |
|
6191 |
|
6192 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
6193 string from buf. |
|
6194 |
2428
|
6195 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
6196 GCC_ATTRIBUTE_UNUSED. |
|
6197 * Array2.h (Array2::checkelem): Likewise. |
|
6198 |
2424
|
6199 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6200 |
|
6201 * Quad.h (Quad): Define virtual destructor. |
|
6202 |
2408
|
6203 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6204 |
|
6205 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
6206 |
2401
|
6207 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6208 |
|
6209 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
6210 and MAIN__ extern "C". |
|
6211 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
6212 |
2391
|
6213 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6214 |
|
6215 * MArray-misc.cc: New file. |
|
6216 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
6217 |
|
6218 * mx-inlines.cc (equal): Return bool, not int. |
|
6219 |
|
6220 * idx-vector.h (idx_vector (double)): New constructor. |
|
6221 |
|
6222 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
6223 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
6224 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
6225 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
6226 CRowVector.cc: Logical operators return bool, not int. |
|
6227 |
|
6228 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
6229 New function. |
|
6230 |
|
6231 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
6232 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
6233 Matrix::all_elements_are_inf_or_nan): New functions. |
|
6234 |
|
6235 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
6236 |
|
6237 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
6238 for errors. Simplify macros by converting FCN to string for error |
|
6239 messages. |
|
6240 |
|
6241 * Array-idx.h (Array<T>::index): New function. Don't call |
|
6242 clear_index() here. |
|
6243 (Array<T>::value): Call it, do call clear_index() here. |
|
6244 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
6245 one and two arg index functions. |
|
6246 |
|
6247 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6248 |
|
6249 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
6250 separate implementation file. |
|
6251 |
2354
|
6252 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6253 |
2358
|
6254 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
6255 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
6256 |
2356
|
6257 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
6258 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
6259 them uniq. |
|
6260 |
2354
|
6261 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
6262 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
6263 Rewrite. Also return index as a reference arg. |
|
6264 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
6265 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
6266 Delete. |
|
6267 |
|
6268 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
6269 Matrix::column_max, Matrix::column_min): |
|
6270 Rewrite. Also return index as a reference arg. |
|
6271 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
6272 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
6273 |
|
6274 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6275 |
|
6276 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
6277 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
6278 Matrix::column_min_loc, Matrix::column_max, |
|
6279 Matrix::column_max_loc): Ignore leading NaNs. |
|
6280 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
6281 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
6282 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
6283 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
6284 leading NaNs. |
|
6285 |
2352
|
6286 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6287 |
|
6288 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
6289 starting at n, not 0. |
|
6290 |
2349
|
6291 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6292 |
|
6293 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
6294 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
6295 |
|
6296 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
6297 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
6298 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
6299 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
6300 New constructors. |
|
6301 |
|
6302 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
6303 New constructor. |
|
6304 |
2343
|
6305 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6306 |
|
6307 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
6308 derivative vectors are the same size. |
2344
|
6309 * DASSL.cc (do_integrate): Likewise. |
2343
|
6310 |
2330
|
6311 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6312 |
|
6313 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
6314 iostreams and handler data format conversions. Delete old methods |
|
6315 that used stdio. |
|
6316 |
|
6317 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
6318 |
|
6319 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6320 |
|
6321 * mach-info.h: Rename from float-fmt.h. |
|
6322 * mach-info.cc: Rename from float-fmt.cc. |
|
6323 Handle machine information using a singlton class. |
|
6324 * Makefile.in: Update appropriate lists. |
|
6325 |
|
6326 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6327 |
|
6328 * Array-flags.cc: Provide definitions for the flags even if |
|
6329 OCTAVE_SOURCE is not defined. |
|
6330 |
|
6331 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
6332 operator(), not elem(). |
|
6333 * Array3.h: Move indexing methods here from Array3.cc. |
|
6334 |
|
6335 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6336 |
|
6337 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
6338 |
|
6339 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
6340 INSTALL_DATA for shared libs. |
|
6341 |
|
6342 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6343 |
|
6344 * Quad.cc: Include lo-error.h here too. |
|
6345 |
|
6346 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6347 |
|
6348 * file-ops.h: Include sys/types.h here. |
|
6349 |
|
6350 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6351 |
|
6352 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
6353 |
|
6354 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
6355 elements in result. |
|
6356 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
6357 rows and columns in result. |
|
6358 |
|
6359 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6360 |
|
6361 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
6362 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
6363 |
|
6364 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6365 |
|
6366 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
6367 |
|
6368 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6369 |
|
6370 * Makefile.in (uninstall): Also delete shared library. |
|
6371 Split install into install-libs and install-includes. |
|
6372 (install-inc): If linkdir is a directory, leave it alone. |
|
6373 |
|
6374 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
6375 |
|
6376 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6377 |
|
6378 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
6379 * Array2-idx.h (assign): Likewise. |
|
6380 |
|
6381 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6382 |
|
6383 * Array2.cc (Array2<T>::range_error): New functions. |
|
6384 |
|
6385 * Array.h (class Array<T>): elem() and operator() are now |
|
6386 equivalent, and do bounds checking by default. |
|
6387 * Array2.cc (class Array2<T>): Likewise. |
|
6388 |
|
6389 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6390 |
|
6391 * Makefile.in (maintainer-clean, distclean): Also delete |
|
6392 stamp-picdir, stamp-shared, and pic directory. |
|
6393 (stamp-prereq): New target. |
|
6394 |
|
6395 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6396 |
|
6397 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
6398 New function. |
|
6399 |
|
6400 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
6401 * Array.h (Array<T>::checkelem): Use them. |
|
6402 |
|
6403 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
6404 elements too. |
|
6405 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
6406 |
|
6407 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
6408 |
|
6409 * Makefile.in (distclean): Delete so_locations, which is created |
|
6410 on DEC Alpha systems. |
|
6411 |
|
6412 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6413 |
|
6414 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
6415 already defined. |
|
6416 |
|
6417 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6418 |
|
6419 * pathsearch.cc: Include config.h. |
|
6420 |
|
6421 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6422 |
|
6423 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
6424 allow M(I, J) = scalar if I or J is empty. |
|
6425 |
|
6426 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
6427 and Array3-idx.h). |
|
6428 |
|
6429 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6430 |
|
6431 * lo-error.h: Make comments C friendly. |
|
6432 |
|
6433 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6434 |
|
6435 * Array2.h (make_unique): Move all indexing functions here. |
|
6436 * Array2.cc: From here. |
|
6437 |
|
6438 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
6439 whether operator() calls elem or checkelem. |
|
6440 |
|
6441 * Array.h (make_unique): New private function. |
|
6442 Move all indexing functions here. |
|
6443 * Array.cc: From here. |
|
6444 |
|
6445 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
6446 it too. |
|
6447 |
|
6448 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
6449 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
6450 MArray-C.cc: Include config.h. |
|
6451 |
|
6452 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
6453 Don't define HEAVYWEIGHT_INDEXING here. |
|
6454 |
|
6455 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6456 |
|
6457 * base-lu.h, base-lu.cc: New files. |
|
6458 * Makefile.in: Add them to the appropriate lists. |
|
6459 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
6460 |
|
6461 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6462 |
|
6463 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
6464 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
6465 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
6466 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
6467 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
6468 |
|
6469 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
6470 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
6471 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
6472 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
6473 Simplify using new macros. |
|
6474 |
|
6475 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6476 |
|
6477 * Makefile.in (install): If $(includedir) ends in version string, |
|
6478 make link to name that does not include version info. |
|
6479 |
|
6480 * lo-ieee.cc: Include <cmath> here. |
|
6481 |
|
6482 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6483 |
|
6484 * lo-ieee.cc, lo-ieee.h: New files. |
|
6485 * lo-mappers.cc, lo-mappers.h: New files. |
|
6486 * lo-utils.cc, lo-utils.h: New files. |
|
6487 * Makefile.in: Add them to the appropriate lists. |
|
6488 |
|
6489 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6490 |
|
6491 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
6492 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
6493 |
|
6494 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
6495 float-fmt.cc: New files. |
|
6496 * Makefile.in: Include them in the appropriate lists. |
|
6497 |
|
6498 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6499 |
|
6500 * dMatrix.cc (Qzval): New function. |
|
6501 |
|
6502 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6503 |
|
6504 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
6505 char*. |
|
6506 |
|
6507 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
6508 Use F77_XFCN to call Fortran subroutine. |
|
6509 * dColVector.cc, CColVector.cc: Likewise. |
|
6510 * dRowVector.cc, CRowVector.cc: Likewise. |
|
6511 * NPSOL.h, NPSOL.cc: Likewise. |
|
6512 * CmplxCHOL.cc: Likewise. |
|
6513 * dbleCHOL.cc: Likewise. |
|
6514 * CMatrix.cc: Likewise. |
|
6515 * dMatrix.cc: Likewise. |
|
6516 * QPSOL.cc: Likewise. |
|
6517 * LSODE.cc: Likewise. |
|
6518 |
|
6519 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6520 |
|
6521 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
6522 |
|
6523 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
6524 workspace. Use F77_XFCN to call Fortran subroutine. |
|
6525 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
6526 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
6527 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
6528 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
6529 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
6530 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
6531 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
6532 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
6533 * EIG.h, EIG.cc; Likewise. |
|
6534 * CollocWt.cc: Likewise. |
|
6535 * NLEqn.cc: Likewise. |
|
6536 * Quad.cc: Likewise. |
|
6537 |
|
6538 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6539 |
|
6540 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
6541 Use F77_XFCN to call Fortran subroutine. |
|
6542 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
6543 * dbleQR.h, dbleQR.cc: Ditto. |
|
6544 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
6545 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
6546 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
6547 |
|
6548 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
6549 (struct DIR): delete forward declaration. |
|
6550 (dir_entry::operator = (const dir_entry$)): Protect against |
|
6551 copying same object. |
|
6552 * dir-ops.cc: Cast dir appropriately. |
|
6553 |
|
6554 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6555 |
|
6556 * lo-error.cc: Moved to libcruft/misc. |
|
6557 * Makefile.in: Delete it from the list. |
|
6558 |
|
6559 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
6560 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
6561 |
|
6562 * Array-flags.h: New file. |
|
6563 * Array-idx.h: Include it here. |
|
6564 * Makefile.in (MATRIX_INC): Add it to the list. |
|
6565 |
|
6566 * Array-flags.cc: Renamed from Array-ext.cc. |
|
6567 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
6568 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
6569 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
6570 (liboctave_rre_flag): Renamed from rre_flag. |
|
6571 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
6572 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
6573 |
|
6574 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
6575 (stamp-shared): Use them here. |
|
6576 |
|
6577 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6578 |
|
6579 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
6580 argument value. |
|
6581 |
|
6582 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6583 |
|
6584 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
6585 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
6586 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
6587 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
6588 Clean up constructors, assigment operator. |
|
6589 |
|
6590 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6591 |
|
6592 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
6593 Check f77_exception_encountered on return. |
|
6594 |
|
6595 * f77-fcn.c (f77_exception_encountered): New variable. |
|
6596 (F77_XFCN): Set it. |
|
6597 * f77-fcn.h: Provide declaration. |
|
6598 |
|
6599 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
6600 |
|
6601 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
6602 |
|
6603 * NLEqn.h (NLEqn_options::set_options): New function. |
|
6604 * Quad.h (Quad_options::set_options): Likewise. |
|
6605 |
|
6606 * LP.h (class LP): Add accessors for LP data. |
|
6607 |
|
6608 * NLEqn.h (NLEqn::n): Delete. |
|
6609 |
|
6610 * NLEqn.h (class NLEqn::n): Likewise. |
|
6611 |
|
6612 * NLP.h (class NLP): Add accessors for NLP data. |
|
6613 |
|
6614 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
6615 access functions here. |
|
6616 * NPSOL.cc.cc: From here. |
|
6617 |
|
6618 * QLD.h (class QLD): Add destructor definition. |
|
6619 * Objective.h (class Objective): Likewise. |
|
6620 * ODEFunc.h (class ODEFunc): Likewise. |
|
6621 * NLFunc.h (class NLFunc): Likewise. |
|
6622 * NLEqn.h (class NLEqn): Likewise. |
|
6623 * NLConst.h (class NLConst): Likewise. |
|
6624 * LinConst.h (class LinConst): Likewise. |
|
6625 * LSODE.h (class LSODE_options): Likewise. |
|
6626 * CollocWt.h (class CollocWt): Likewise. |
|
6627 * Bounds.h (class Bounds): Likewise. |
|
6628 |
|
6629 * QLD.cc (QLD::set_default_options): Delete. |
|
6630 |
|
6631 * QP.h (QP): Add accessors for QP data. |
|
6632 Add copy constructor, operator =, and destructor definitions. |
|
6633 |
|
6634 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
6635 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
6636 DAEFunc.h, CollocWt.h, Bounds.h: |
|
6637 Clean up constructors, assigment operator. |
|
6638 |
|
6639 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
6640 counting to avoid duplicating the data immediately. |
|
6641 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
6642 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
6643 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
6644 |
|
6645 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6646 |
|
6647 * prog-args.h (prog_args::option_argument): New enum. |
|
6648 |
|
6649 * f77-fcn.h: Rename from f77-uscore.h. |
|
6650 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
6651 * f77-fcn.c: New file. |
|
6652 * Makefile.in (SOURCES): Add it to the list. |
|
6653 |
|
6654 * ODEFunc.h: Clean up. |
|
6655 |
|
6656 * DASSL.cc, DASSL.h: New files. |
|
6657 * Makefile.in: Add them to the appropriate lists. |
|
6658 |
|
6659 * LSODE.cc, LSODE.h: New files. |
|
6660 * Makefile.in: Add them to the appropriate lists. |
|
6661 |
|
6662 * ODE.cc: Delete. |
|
6663 * Makefile.in (SOURCES): Remove from list. |
|
6664 |
|
6665 * base-de.h, DAE.cc: New files. |
|
6666 * Makefile.in: Add them to the appropriate lists. |
|
6667 * ODE.h: Only define interface for ODE classes. |
|
6668 * DAE.h: Only define interface for ODE classes. |
|
6669 |
|
6670 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
6671 (LPsolve::set_default_options)): Delete |
|
6672 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
6673 destructor. |
|
6674 |
|
6675 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
6676 |
|
6677 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
6678 (QPSOL::operator =): Call base class operator = instead of assuming |
|
6679 we know what to copy. |
|
6680 |
|
6681 * base-min.h (size): New function. |
|
6682 |
|
6683 * NLP.h (NLP::size): Delete. |
|
6684 (NLP::NLP (const NLP&)): New constructor. |
|
6685 (NLP::operator =): Call base class operator = instead of assuming |
|
6686 we know what to copy. |
|
6687 |
|
6688 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
6689 (class NPSOL): Add operator = and destructor. |
|
6690 |
|
6691 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
6692 |
|
6693 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6694 |
|
6695 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
6696 |
|
6697 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6698 |
|
6699 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
6700 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
6701 |
|
6702 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6703 |
|
6704 * prog-args.h, prog-args.cc: New files. |
|
6705 * Makefile.in: Add them to lists. |
|
6706 |
|
6707 * getopt.h, getopt.c, getopt1.c: New files. |
|
6708 * Makefile.in: Add them to the lists. |
|
6709 |
|
6710 * oct-term.h, oct-term.cc: New files. |
|
6711 * Makefile.in: Add them to the lists. |
|
6712 |
|
6713 * str-vec.cc: New file. |
|
6714 * Makefile.in (SOURCES): Add it to the list. |
|
6715 |
|
6716 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
6717 |
|
6718 * tempname.c, tempnam.c: Move here from src directory. |
|
6719 * Makefile.in: Add to lists. |
|
6720 |
|
6721 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6722 |
|
6723 * cmd-hist.h, cmd-hist.cc: New files. |
|
6724 * Makefile.in: Add them to lists. |
|
6725 |
|
6726 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6727 |
|
6728 * oct-glob.h, oct-glob.cc: New files. |
|
6729 * Makefile.in: Add them to lists. |
|
6730 |
|
6731 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6732 |
|
6733 * pathsearch.h, pathsearch.cc: New files. |
|
6734 * Makefile.in: Add them to lists. |
|
6735 |
|
6736 * dir-ops.h, dir-ops.cc: New files. |
|
6737 * sysdir.h: Move here from src directory. |
|
6738 * Makefile.in: Add them to lists. |
|
6739 |
|
6740 * Array.h (Array::qsort): Return *this, not void. |
|
6741 * str-vec.h (string_vector::qsort): Likewise. |
|
6742 |
|
6743 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
6744 unnecessary NULs. |
|
6745 |
|
6746 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6747 |
|
6748 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
6749 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
6750 Files moved here from src directory. |
|
6751 * Makefile.in: Add them to lists. Include appropriate rules. |
|
6752 |
|
6753 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
6754 Use pointers, not references (this is C code!). |
|
6755 |
|
6756 * oct-math.h: New file. |
|
6757 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
6758 Files moved here from src directory. |
|
6759 * Makefile.in: Add them to lists. |
|
6760 |
|
6761 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6762 |
|
6763 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
6764 |
|
6765 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
6766 Convert to use string class instead of char*. |
|
6767 |
|
6768 * str-vec.h, Array-str.cc: New files. |
|
6769 |
|
6770 * Array.h (Array::qsort): New function. |
|
6771 |
|
6772 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6773 |
|
6774 * Array.h: Nest ArrayRep class inside Array class. |
|
6775 Refer to ArrayRep, not ArrayRep<T>. |
|
6776 Move all ArrayRep functions inline. |
|
6777 Don't declare other Array classes as friends of ArrayRep. |
|
6778 * Array.cc: Delete ArrayRep functions. |
|
6779 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
6780 |
|
6781 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
6782 Don't instantiate ArrayRep objects. |
|
6783 |
|
6784 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6785 |
|
6786 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6787 New constructor. |
|
6788 |
|
6789 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6790 |
|
6791 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
6792 for balance_job arg. |
|
6793 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
6794 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
6795 |
|
6796 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
6797 |
|
6798 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6799 |
|
6800 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
6801 |
|
6802 * chMatrix.cc (row_as_string): Undo previous change. |
|
6803 |
|
6804 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6805 |
|
6806 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
6807 is expected to save string if necessary. |
|
6808 |
|
6809 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6810 |
|
6811 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
6812 platforms. |
|
6813 |
|
6814 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
6815 a.rep, don't mess with count. |
|
6816 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
6817 don't do anything if reps are the same. |
|
6818 (Array3<T>& operator = (const Array3<T>&) |
|
6819 |
|
6820 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
6821 Declare private with no definition to prevent misuse. |
|
6822 |
|
6823 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
6824 Get range check right. |
|
6825 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
6826 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
6827 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
6828 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
6829 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
6830 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
6831 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
6832 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
6833 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
6834 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
6835 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
6836 * dColVector.cc |
|
6837 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
6838 * CRowVector.cc |
|
6839 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
6840 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
6841 * CColVector.cc |
|
6842 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
6843 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
6844 |
|
6845 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
6846 Also fill in zeros, not just the diagonal. |
|
6847 |
|
6848 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
6849 Use END parameter properly. |
|
6850 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
6851 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
6852 |
|
6853 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
6854 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
6855 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
6856 Don't copy count. Set it to 1. |
|
6857 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
6858 |
|
6859 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
6860 don't set rep->count to 1 here (now handled by ArrayRep |
|
6861 constructors). |
|
6862 (Array<T>::Array (void)): Ditto. |
|
6863 (Array<T>::Array (int)): Ditto. |
|
6864 (Array<T>::T& elem (int)): Ditto. |
|
6865 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
6866 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
6867 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
6868 (Array<T>::resize (int)): Ditto. |
|
6869 (Array<T>::resize (int, const T&)) :Ditto. |
|
6870 (Array<T>::fortran_vec (void)): Ditto. |
|
6871 (Array2<T>::resize (int, int)): Ditto. |
|
6872 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
6873 (DiagArray<T>::resize (int, int)): Ditto. |
|
6874 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
6875 |
|
6876 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6877 |
|
6878 * Array-ch.cc: Rename from Array-c.cc. |
|
6879 * MArray-ch.cc: Rename from MArray-c.cc. |
|
6880 * chMatrix.cc: Rename from cMatrix.cc. |
|
6881 * chMatrix.h: Rename from cMatrix.h. |
|
6882 * Makefile.in (TI_SRC): Use new names here. |
|
6883 * mx-base.h: Likewise. |
|
6884 |
|
6885 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6886 |
|
6887 * Makefile.in: Handle shared libraries. |
|
6888 |
|
6889 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6890 |
|
6891 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
6892 Correctly compute length of return value. Correct rows and |
|
6893 columns in zgemv call. |
|
6894 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
6895 |
|
6896 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6897 |
|
6898 * Makefile.in (stamp-picdir): New target. |
|
6899 (all): Depend on it. |
|
6900 |
|
6901 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6902 |
|
6903 * Makefile.in (INCLUDES): Remove QLD.h. |
|
6904 (SOURCES): Remove QLD.cc. |
|
6905 |
|
6906 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6907 |
|
6908 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
6909 If force is nonzero, invert even if matrix is singular. |
|
6910 (ComplexMatrix::inverse): Likewise. |
|
6911 |
|
6912 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
6913 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
6914 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
6915 Include "oct-cmplx.h" instead of <Complex.h>. |
|
6916 |
|
6917 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
6918 for class Complex. |
|
6919 |
|
6920 * oct-cmplx.h: New file. |
|
6921 * Makefile.in (INCLUDES): Add it to the list. |
|
6922 |
|
6923 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
6924 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
6925 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
6926 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
6927 Avoid g++ bugs. |
|
6928 |
|
6929 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6930 |
|
6931 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
6932 |
|
6933 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
6934 |
|
6935 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6936 |
|
6937 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
6938 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
6939 |
|
6940 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6941 |
|
6942 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
6943 index vector object with Array, not ArrayRep. |
|
6944 |
|
6945 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6946 |
|
6947 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
6948 if index is a colon and resizing is maybe needed. |
|
6949 |
|
6950 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6951 |
|
6952 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
6953 if we have a vector of 1's. |
|
6954 |
|
6955 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
6956 current orientation, require index and rhs to conform unless |
|
6957 do_fortran_indexing flag is set. |
|
6958 |
|
6959 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6960 |
|
6961 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
6962 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
6963 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
6964 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
6965 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
6966 Massive changes to support additional data types. Only charMatrix |
|
6967 is currently used in Octave. |
|
6968 |
|
6969 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6970 |
|
6971 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
6972 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
6973 Simply call Array2<Complex> version. |
|
6974 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
6975 call Array2<double> version. |
|
6976 |
|
6977 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
6978 |
|
6979 * Array.h, Array.cc: Massive overhaul to support new way of |
|
6980 handling indexing. |
|
6981 * idx-vector.h, idx-vector.cc: Likewise. |
|
6982 * Array-ext.cc, Array-idx.h: New files. |
|
6983 * Makefile.in: Add them to the appropriate lists. |
|
6984 |
|
6985 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6986 |
|
6987 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
6988 |
|
6989 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6990 |
|
6991 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
6992 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
6993 |
|
6994 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
6995 |
|
6996 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
6997 |
|
6998 * Array.h: Move simple member functions here. |
|
6999 * Array.cc: From here. |
|
7000 |
|
7001 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7002 |
|
7003 * Range.cc (tfloor, tceil, round): New static functions. |
|
7004 (Range::nelem_internal): Rewrite to use better method. |
|
7005 |
|
7006 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
7007 (type_computed): New var. |
|
7008 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7009 Handle possible error condition. |
|
7010 (init): Allow for SVD::sigma_only, save type computed. |
|
7011 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7012 Handle possible error condition. |
|
7013 (init): Allow for SVD::sigma_only, save type computed. |
|
7014 |
|
7015 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7016 |
|
7017 * Nearly all non-matrix .h and .cc files: |
|
7018 Move short function bodies into class declarations for inlining. |
|
7019 Generally clean up. |
|
7020 |
|
7021 * base-min.h: New file. |
|
7022 * LP.h (class LP): Derive from base_minimizer. |
|
7023 * QLP.h (class QLP): Derive from base_minimizer. |
|
7024 * NLP.h (class NLP): Derive from base_minimizer. |
|
7025 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
7026 |
|
7027 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
7028 NLFunc.cc, Objective.cc and QP.cc from list. |
|
7029 |
|
7030 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7031 |
|
7032 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
7033 (SCHUR::SCHUR): Delete unused parameter ord. |
|
7034 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
7035 |
|
7036 * CRowVector.cc |
|
7037 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
7038 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
7039 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
7040 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
7041 Actually do something. |
|
7042 |
|
7043 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
7044 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
7045 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
7046 |
|
7047 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
7048 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
7049 tolerances. |
|
7050 |
|
7051 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
7052 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
7053 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
7054 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
7055 * QPSOL.cc (qphess): Likewise. |
|
7056 |
|
7057 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7058 |
|
7059 * dMatrix.cc: Include <cstring>. |
|
7060 |
|
7061 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
7062 that return bogus values after calling the error handler. |
|
7063 |
|
7064 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7065 |
|
7066 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
7067 |
|
7068 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
7069 |
|
7070 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7071 |
|
7072 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
7073 (dassl_j): Likewise. |
|
7074 |
|
7075 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
7076 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
7077 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
7078 Update for change in for loop variable scope for gcc 2.7.0. |
|
7079 |
|
7080 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7081 |
|
7082 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7083 not set. |
|
7084 |
|
7085 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
7086 |
|
7087 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
7088 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
7089 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
7090 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
7091 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
7092 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
7093 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
7094 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
7095 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
7096 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
7097 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
7098 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
7099 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
7100 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
7101 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
7102 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
7103 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
7104 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
7105 NLP.h: Use pragma interface/implementation. Don't surround |
|
7106 contents in extern "C++". |
|
7107 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
7108 |
|
7109 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7110 |
|
7111 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
7112 identifiers. |
|
7113 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7114 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7115 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7116 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7117 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7118 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7119 Quad.cc: Change usage of F77_FCN to match new definition |
|
7120 |
|
7121 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7122 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7123 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7124 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7125 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7126 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7127 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
7128 args by reference instead of pointer. Change all callers. |
|
7129 |
|
7130 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7131 |
|
7132 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
7133 functions. Make += and -= operators friend functions. |
|
7134 |
|
7135 * Array.h (Array2::~Array2, Array3::~Array3, |
|
7136 DiagArray::~DiagArray): New functions. |
|
7137 |
|
7138 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7139 |
|
7140 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
7141 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
7142 |
|
7143 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7144 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7145 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7146 dRowVector.h dRowVector.cc: |
|
7147 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
7148 Array2, and DiagArray2. |
|
7149 Don't use functions defined in mx-kludge.cc for arithmetic |
|
7150 like-type operations on arrays. |
|
7151 |
|
7152 * MArray.cc: Use the classes defined here like-type mathematical |
|
7153 operations on Array objects. Abuse CPP more. |
|
7154 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
7155 (EXTRAS): Delete it from this list. |
|
7156 |
|
7157 * MArray-C.cc, MArray-d.cc: New files. |
|
7158 * Makefile.in (TI_SRC): Add them to the list. |
|
7159 |
|
7160 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7161 |
|
7162 * mx-kludge.cc: Abuse CPP even more. |
|
7163 |
|
7164 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7165 |
|
7166 * Objective.h (objective_function): Add missing const. |
|
7167 (gradient_function): Likewise. |
|
7168 |
|
7169 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7170 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7171 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7172 dRowVector.h dRowVector.cc: |
|
7173 Reorganize to declare and define friends where they should be, |
|
7174 based on the use of private constructors. |
|
7175 |
|
7176 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7177 |
|
7178 * CRowVector.h (linspace): Add declaration. |
|
7179 * dRowVector.h (linspace): Likewise. |
|
7180 |
|
7181 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
7182 Force result of rcond + 1.0 to be stored. |
|
7183 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
7184 ComplexMatrix::solve): Likewise. |
|
7185 |
|
7186 See ChangeLog.1 in the top level directory for earlier changes. |