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