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