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