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