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