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