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