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