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