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