7334
|
1 2007-12-21 John W. Eaton <jwe@octave.org> |
|
2 |
|
3 Version 3.0.0 released. |
|
4 |
7322
|
5 2007-12-18 David Bateman <dbateman@free.fr> |
|
6 |
|
7 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index |
|
8 (idx_vector&, int) const): Fix case indexing of non zero scalar |
|
9 stored as a sparse matrix. |
|
10 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, |
|
11 idx_vector&, int) const): For the non permutated indexing case, |
|
12 fix link list calculation and use. |
|
13 |
7321
|
14 2007-12-17 John W. Eaton <jwe@octave.org> |
|
15 |
|
16 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by |
|
17 N-d array. |
|
18 |
7318
|
19 2007-12-17 David Bateman <dbateman@free.fr> |
|
20 |
|
21 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row |
|
22 index. |
|
23 |
7299
|
24 2007-12-11 John W. Eaton <jwe@octave.org> |
|
25 |
|
26 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): |
|
27 If indexing scalar with empty matrix, return empty array with same |
|
28 size as index. |
|
29 |
7272
|
30 2007-12-10 John W. Eaton <jwe@octave.org> |
|
31 |
7279
|
32 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
|
33 and assignment operator. |
|
34 (NLEqn::function_value): New function. |
|
35 * NLEqn.cc (NLEqn::solve): If solution is successful, compute |
|
36 function value. |
|
37 |
7272
|
38 * file-ops.cc (file_ops::concat): New function. |
|
39 * file-ops.h: Provide decl. |
|
40 |
7270
|
41 2007-12-07 John W. Eaton <jwe@octave.org> |
|
42 |
|
43 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it |
|
44 is not 0. |
|
45 |
7269
|
46 2007-12-07 David Bateman <dbateman@free.fr> |
|
47 |
|
48 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, |
|
49 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
|
50 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
|
51 indexing where possible rather than the elem method. |
|
52 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, |
|
53 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): |
|
54 Replace for new version of SPARSE_BASE_REDUCTION_OP. |
|
55 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim |
|
56 = 0 directly. |
|
57 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) |
|
58 const): Replace ROW_EXPR and COL_EXPR functions for new version of |
|
59 SPARSE_BASE_REDUCTION_OP. |
|
60 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): |
|
61 Specialize the initial value, and only treat dim = 0 directly. |
|
62 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): |
|
63 ditto. |
|
64 (SparseMatrix SparseMatrix::prod (int) const): ditto. |
|
65 |
7265
|
66 2007-12-06 John W. Eaton <jwe@octave.org> |
|
67 |
|
68 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal |
|
69 data for npp and dpp after assignments. |
|
70 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. |
|
71 |
7253
|
72 2007-12-04 John W. Eaton <jwe@octave.org> |
|
73 |
|
74 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
75 Do nothing if one index is empty. |
|
76 |
7246
|
77 2007-12-04 David Bateman <dbateman@free.fr> |
|
78 |
|
79 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
80 Resize matrix as well if one dimension of lhs is zero and the rhs |
|
81 index exceeds the lhs index. |
|
82 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): |
|
83 Don't resize to a smaller matrix for empty matrices with a max rhs |
|
84 index smaller than the non zero lhs index. |
|
85 |
|
86 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> |
|
87 |
|
88 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. |
|
89 |
7241
|
90 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
|
91 |
|
92 * Array-util.cc (permute_vector_compare): Move here from Array.cc. |
|
93 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. |
|
94 * Array.cc (permute_vector, permute_vector_compare): Delete. |
|
95 |
7238
|
96 2007-12-03 David Bateman <dbateman@free.fr> |
|
97 |
|
98 * Sparse.cc (template <class LT, class RT> int assign |
|
99 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to |
|
100 rhs values if both no. rows and columns are zero. |
|
101 |
7231
|
102 2007-11-30 John W. Eaton <jwe@octave.org> |
|
103 |
7234
|
104 * oct-sort.cc, oct-sort.h: Style fixes. |
|
105 |
7231
|
106 * lo-math.h: New file. |
|
107 * Makefile.in (INCLUDES): Add it to the list. |
|
108 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, |
|
109 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, |
|
110 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, |
|
111 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, |
|
112 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, |
|
113 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, |
|
114 liboctave/lo-mappers.cc, liboctave/oct-time.cc, |
|
115 liboctave/oct-time.h, liboctave/randgamma.c, |
|
116 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h |
|
117 instead of cmath or math.h. |
|
118 * lo-mappers.h: Don't include sunmath.h here. |
|
119 |
7198
|
120 2007-11-26 John W. Eaton <jwe@octave.org> |
|
121 |
|
122 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): |
|
123 Eliminate unnecessary second arg from call to tree_to_mat_idx. |
|
124 |
|
125 * oct-inttypes.h (operator bool, operator char): Delete. |
|
126 (bool_value, char_value, double_value, float_value): New functions. |
|
127 |
7189
|
128 2007-11-26 David Bateman <dbateman@free.fr> |
|
129 |
|
130 * intNDArray.cc (template <class T> intNDArray<T> |
|
131 intNDArray<T>::max (int) const, template <class T> intNDArray<T> |
|
132 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, |
|
133 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
|
134 template <class T> intNDArray<T> intNDArray<T>::min |
|
135 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
|
136 classes. |
|
137 * intNDArray.h (class intNDArray): Add min/max methods |
|
138 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, |
|
139 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of |
|
140 min/max functions. |
|
141 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
142 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
143 (MINMAX_DECLS(T)): Declare the min/max functions for integer |
|
144 types. |
|
145 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
146 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
147 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer |
|
148 types. |
|
149 |
|
150 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, |
|
151 const T& rfv) const): If ndims != 2 call ND version of index. |
|
152 |
7176
|
153 2007-11-14 John W. Eaton <jwe@octave.org> |
|
154 |
7178
|
155 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
|
156 |
7176
|
157 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
|
158 correction to half-integer values. From Eric Chassande-Mottin |
|
159 <echassandemottin@gmail.com>. |
|
160 |
7124
|
161 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
|
162 |
|
163 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve |
|
164 ambiguities related to math functions (in C++ mode). |
|
165 |
7102
|
166 2007-11-06 David Bateman <dbateman@free.fr> |
|
167 |
7113
|
168 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
|
169 New method. |
|
170 * intNDarray.h (intNDArray sum (int) const): Declare it. |
|
171 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): |
|
172 New method. |
|
173 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. |
7102
|
174 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
|
175 norm to avoid issues of over- and underflow. From Rolf Fabian |
|
176 <Rolf.Fabian@gmx.de>. |
|
177 |
7081
|
178 2007-10-30 David Bateman <dbateman@free.fr> |
|
179 |
|
180 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. |
|
181 |
7079
|
182 2007-10-30 John W. Eaton <jwe@octave.org> |
|
183 |
|
184 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. |
|
185 * dMatrix.cc (lssolve): Compute size of iwork array. |
|
186 |
7076
|
187 2007-10-29 David Bateman <dbateman@free.fr> |
|
188 |
|
189 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
190 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
191 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
192 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
193 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
194 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
195 declarations. |
|
196 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
197 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
198 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
199 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
200 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
201 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
202 methods. |
|
203 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
204 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
205 octave_idx_type&, double&) const): Also return rcond from the |
|
206 singular values returned by XGELSD. |
|
207 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
208 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
209 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
210 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
211 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
212 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
213 declarations. |
|
214 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
215 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
216 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
217 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
218 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
219 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
220 methods. |
|
221 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
222 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
223 octave_idx_type&, double&) const): Also return rcond from the |
|
224 singular values returned by XGELSD. |
|
225 |
7072
|
226 2007-10-26 David Bateman <dbateman@free.fr> |
|
227 |
|
228 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient |
|
229 matrices to avoid reliability issues with xGELSY. |
|
230 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
7071
|
231 |
7065
|
232 2007-10-25 John W. Eaton <jwe@octave.org> |
|
233 |
|
234 * oct-time.cc (octave_gmtime::init, octave_localtime::init): |
|
235 Call unix_time on arg instead of relying on conversion operator. |
|
236 |
|
237 * oct-time.h (octave_time::double_value): New function. |
|
238 (octave_time::operator double () const): Delete. |
|
239 (octave_time::operator time_t () const): Delete. |
|
240 |
7058
|
241 2007-10-24 John W. Eaton <jwe@octave.org> |
|
242 |
|
243 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. |
|
244 |
7052
|
245 2007-10-23 John W. Eaton <jwe@octave.org> |
|
246 |
|
247 * CRowVector.cc (operator * const ComplexRowVector&, const |
|
248 ComplexColumnVector&)): Delete spurious code left from patch. |
|
249 |
7048
|
250 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
|
251 |
|
252 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, |
|
253 sparse-sort.cc: Include <cstring>. |
|
254 |
7036
|
255 2007-10-17 John W. Eaton <jwe@octave.org> |
|
256 |
|
257 * oct-sparse.h: Don't include metis.h. |
|
258 |
|
259 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. |
|
260 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
261 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, |
|
262 p_type>::sparse_base_chol_rep::init): Likewise. |
|
263 |
7033
|
264 2007-10-16 John W. Eaton <jwe@octave.org> |
|
265 |
|
266 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the |
|
267 matrix is hermitian or calc_cond is true. |
|
268 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
269 |
7016
|
270 2007-10-12 John W. Eaton <jwe@octave.org> |
|
271 |
|
272 * Change copyright notices in all files that are part of Octave to |
|
273 GPLv3 or any later version. |
|
274 |
7007
|
275 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
|
276 |
|
277 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. |
|
278 |
7001
|
279 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
|
280 |
|
281 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. |
|
282 |
7000
|
283 2007-10-10 John W. Eaton <jwe@octave.org> |
|
284 |
|
285 * LPsolve.h, LPsolve.cc: Delete. |
|
286 * Makefile.in: Remove them from the INCLUDES and |
|
287 LIBOCTAVE_CXX_SOURCES lists. |
|
288 |
6989
|
289 2007-10-09 John W. Eaton <jwe@octave.org> |
|
290 |
6996
|
291 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
|
292 and t.tm_year to INT_MIN before call to oct_strptime. Adjust |
|
293 values to zero after call if they remain unchanged. |
|
294 |
6989
|
295 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
|
296 * dNDArray.cc (NDArray::all_elements_are_zero): New function. |
|
297 |
6988
|
298 2007-10-09 David Bateman <dbateman@free.fr> |
|
299 |
6995
|
300 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
|
301 valud and mon and year are also filled in. |
|
302 |
6990
|
303 * Array2.h (Array2<T>::Array2(const dim_vector&), |
|
304 Array2<T>::Array(const dim_vector&, const T&)): Check that |
|
305 dim_vector is 2 dimensional. |
|
306 |
6988
|
307 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
|
308 int)): Remove a for loop in the random indexing case at the |
|
309 expense of maintaining a set of linked lists of indices that point |
|
310 to the same column in the original matrix. |
|
311 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs |
|
312 and use it on the RHS of expressions to avoid unnecessary calls to |
|
313 make_unique. |
|
314 |
6979
|
315 2007-10-08 David Bateman <dbateman@free.fr> |
|
316 |
|
317 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, |
|
318 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs |
|
319 for readline compatible functions. |
|
320 (octave_rl_redisplay): Redisplay the current line of text. |
|
321 (octave_rl_newline): Change interface to the same |
|
322 as used by the equivalent readline function itself. |
|
323 (octave_rl_filename_quoting_desired, |
|
324 octave_rl_set_filename_quote_characters, |
|
325 octave_rl_set_completer_quote_characters, |
|
326 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
327 octave_rl_set_char_is_quoted_function): New functions to control |
|
328 readline filename quoting and line acceptace. |
|
329 * oct-rl-edit.c (octave_rl_newline): Change interface to the same |
|
330 as used by the equivalent readline function itself. |
|
331 (octave_rl_redisplay): Redisplay the current line of text. |
|
332 (octave_rl_filename_quoting_desired, |
|
333 octave_rl_set_filename_quote_characters, |
|
334 octave_rl_set_completer_quote_characters, |
|
335 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
336 octave_rl_set_char_is_quoted_function): New functions to control |
|
337 readline filename quoting and line acceptace. |
|
338 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, |
|
339 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs |
|
340 to map C++ function to readline compatible functions. |
|
341 (set_filename_quote_characters): New function to set the |
|
342 characters to if they appear in a filename that force the filename |
|
343 to be quoted. |
|
344 (set_completer_quote_characters): The characters that the readline |
|
345 completion function considers as quotation characters. |
|
346 (set_quoting_function, set_dequoting_function, |
|
347 set_char_is_quoted_function, set_user_accept_line_function): |
|
348 Functions to set the Octave functions to perform quoting and the |
|
349 acceptance of a line of text by readline. |
|
350 (get_quoting_function, get_dequoting_function, |
|
351 get_char_is_quoted_function, get_user_accept_line_function): |
|
352 Functions to get the above functions. |
|
353 (accept_line): New method for the command_editor to accept a line |
|
354 of text. |
|
355 (file_quoting_desired): Function to set whether readline should |
|
356 attempt to quote filenames. |
|
357 (do_set_filename_quoting_characters, |
|
358 do_set_completer_quote_characters, do_set_quoting_function, |
|
359 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
360 do_set_user_accept_line_function, do_get_quoting_function, |
|
361 do_get_dequoting_function, do_get_char_is_quoted_function, |
|
362 do_get_user_accept_line_function, do_filename_quoting_desired): |
|
363 Virtual functions to control the behavior of readline quoting and |
|
364 acceptance of lines. |
|
365 (do_accept_line): Virtual function for the accept line function. |
|
366 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
|
367 do_completer_quote_characters, do_set_quoting_function, |
|
368 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
369 do_set_user_accept_line_function, do_get_quoting_function, |
|
370 do_get_dequoting_function, do_get_user_accept_line_function, |
|
371 do_accept_line, do_filename_quoting_desired, command_quoter, |
|
372 command_dequoter, command_char_is_quoted, command_accept_line): |
|
373 New functions in gnu_readline class to control filename quoting |
|
374 and line acceptance. |
|
375 (quoting_function, dequoting_function, char_is_quoted_function, |
|
376 user_accept_line_function): private variable to store functions |
|
377 supplied for readline quoting and line acceptance. |
|
378 (gnu_readline::gnu_readline): Also set the new function pointers |
|
379 to zero. |
|
380 (gnu_readline::do_newline): Adapt to new octave_rl_newline |
|
381 interface. |
|
382 (gnu_readeline::operate_and_get_next): Use new accept_line |
|
383 function rather than newline. |
|
384 (default_ommand_editor::do_accept_line): New method. |
|
385 (class command_editor set_filename_quote_characters, |
|
386 set_completer_quote_characters, set_quoting_function, |
|
387 set_dequoting_function, set_char_is_quoted_function, |
|
388 set_user_accept_line_function, get_quoting_function, |
|
389 get_dequoting_function, get_user_accept_line_function, |
|
390 accept_line, filename_quoting_desired): New functions checking |
|
391 instance before calling virtual function. |
|
392 |
|
393 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, |
|
394 Array2.h: Add dim_vector constructors. |
|
395 * charNDArray.h (charNDArray (const dim_vector&)): Add missing |
|
396 const to dim_vector constructors. |
|
397 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
|
398 (octave_idx_type)): New methods to constructor diagonal matrices. |
|
399 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag |
|
400 (octave_idx_type)): Declare them. |
|
401 |
|
402 |
6969
|
403 2007-10-06 John W. Eaton <jwe@octave.org> |
|
404 |
|
405 * lo-specfun.cc: (zlgamma): Delete. |
|
406 (xgamma): Use C library gamma function if available. |
|
407 (xlgamma): Use C library lgamma function if available. |
|
408 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X |
|
409 other than NaN or Inf. |
|
410 |
6961
|
411 2007-10-05 John W. Eaton <jwe@octave.org> |
|
412 |
|
413 * lo-specfun.cc (zlgamma): New function. |
|
414 |
6959
|
415 2007-10-04 John W. Eaton <jwe@octave.org> |
|
416 |
|
417 * oct-sort.cc (octave_sort<T>::binarysort): Remove register |
|
418 qualifiers on local variables. |
|
419 |
6958
|
420 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
|
421 |
|
422 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less |
|
423 than log(realmax) to avoid issues with NaN. |
|
424 |
6940
|
425 2007-10-01 John W. Eaton <jwe@octave.org> |
|
426 |
6941
|
427 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
|
428 initialize wday and yday. |
|
429 From Matthias Drochner <m.drochner@fz-juelich.de>. |
|
430 |
6940
|
431 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
|
432 insert extra '\001' when decoding \[ and \]. |
|
433 |
6926
|
434 2007-09-26 David Bateman <dbateman@free.fr> |
|
435 |
|
436 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with |
|
437 is much faster and no less accurate. |
|
438 * CMatrix.cc (lssolve): ditto. |
|
439 |
6924
|
440 2007-09-25 David Bateman <dbateman@free.fr> |
|
441 |
|
442 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow |
|
443 zero dimensioned matrices. |
|
444 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
|
445 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
446 ditto. |
|
447 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
448 ditto. |
|
449 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. |
|
450 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, |
|
451 qrsolve): ditto. |
|
452 * sparse-dmsolve.cc (dmsolve): ditto. |
|
453 |
6922
|
454 2007-09-21 John W. Eaton <jwe@octave.org> |
|
455 |
|
456 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
457 Also allow resizing empty LHS if it is 1x0 or 0xN. |
|
458 |
6916
|
459 2007-09-19 John W. Eaton <jwe@octave.org> |
|
460 |
|
461 * cmd-edit.cc (command_editor::remove_startup_hook): |
|
462 Fix cut-and-paste error. |
6917
|
463 (gnu_readline::set_startup_hook): Only set hook function if new |
|
464 function is different from the current one. |
6916
|
465 |
6913
|
466 2007-09-18 John W. Eaton <jwe@octave.org> |
|
467 |
|
468 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, |
|
469 command_editor::event_hook_set): New static data. |
|
470 (default_command_editor::set_startup_hook, |
|
471 gnu_readline::set_startup_hook, |
|
472 default_command_editor::restore_startup_hook, |
|
473 gnu_readline_restore_event_hook): |
|
474 Rename from do_set_startup_hook and do_set_event_hook. |
|
475 (gnu_readline::operate_and_get_next): Call |
|
476 command_editor::add_startup_hook, not |
|
477 command_editor::set_startup_hook. |
|
478 (command_editor::startup_handler, command_editor::event_handler): |
|
479 New functions. |
|
480 (command_editor::add_startup_hook, command_editor::add_event_hook, |
|
481 command_editor::remove_startup_hook, |
|
482 command_editor::remove_event_hook): Rename from set_startup_hook |
|
483 and restore_startup_hook. Handle hook sets here. |
|
484 * cmd-edit.cc (gnu_history::do_goto_mark): |
|
485 Call remove_startup_hook instead of restore_startup_hook. |
|
486 |
6907
|
487 2007-09-17 John W. Eaton <jwe@octave.org> |
|
488 |
|
489 * lo-utils.cc (octave_read_complex, octave_read_double): Skip |
|
490 leading whitespace. |
|
491 |
6897
|
492 2007-09-13 John W. Eaton <jwe@octave.org> |
|
493 |
|
494 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
495 octave_read_complex): Use istream::get instead of >> to read |
|
496 individual characters. |
|
497 |
6884
|
498 2007-09-10 John W. Eaton <jwe@octave.org> |
|
499 |
|
500 * Array.cc (assign1): Don't call make_unique for invalid assignment. |
|
501 |
|
502 2007-09-10 David Bateman <dbateman@free.fr> |
|
503 |
|
504 * Array.h (Array<T>::make_unique): Make public so that the |
|
505 ::assign functions can access it directly. |
|
506 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), |
|
507 Array<T>::maybe_delete_elements_1(idx_vector&), |
|
508 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), |
|
509 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): |
|
510 Use xelem for non const RHS to avoid call to make_unique. |
|
511 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use |
|
512 xelem for LHS and call lhs.make_unique() only once. Special case |
|
513 the is_colon index case and use Array<T>::xelem(octave_idx_type) |
|
514 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and |
|
515 bring the additional multiplication out of the inner loop. |
|
516 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
517 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
518 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
|
519 (const Range& r)): Don't use init_state() method but special case |
|
520 as with a Range can avoid exhaustive search. |
|
521 |
6881
|
522 2007-09-07 John W. Eaton <jwe@octave.org> |
|
523 |
|
524 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of |
|
525 manipulating rep directly. |
|
526 |
|
527 * Array.h (idx, idx_count): Declare mutable. |
|
528 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): |
|
529 Now const. |
|
530 |
6867
|
531 2007-09-06 David Bateman <dbateman@free.fr> |
|
532 |
6868
|
533 * Array-util.cc (increment_index): dimensions can have singleton |
|
534 trailing dimensions. |
6867
|
535 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
|
536 Modify use of Array<int> to Array<octave_idx_type> and adjust |
|
537 where necessary. |
|
538 * Array.cc (range_error): ditto. |
|
539 * MArrayN.h (permute, ipermute): ditto. |
|
540 * ArrayN.h (permute, ipermute): ditto. |
|
541 * so-array.cc (streamoff_array::compute_index): ditto. |
|
542 * so-array.h (compute_index): ditto. |
|
543 * CMattrix.cc (ComplexMatrix::exmpm): ditto. |
|
544 |
6840
|
545 2007-08-29 David Bateman <dbateman@free.fr> |
|
546 |
|
547 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
|
548 octave_idx_type&, double&, int, int)): Calculate with LU even for |
|
549 matrices marked as singular. |
|
550 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( |
|
551 MatrixType &, octave_idx_type&, double&, int, int)): ditto. |
|
552 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, |
|
553 double&, int, int)): ditto. If rcond==0 force matrix of infinities. |
|
554 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, |
|
555 octave_idx_type&, double&, int, int)): ditto. |
|
556 |
6838
|
557 2007-08-27 John W. Eaton <jwe@octave.org> |
|
558 |
|
559 * oct-env.cc (octave_env::rooted_relative_pathname, |
|
560 octave_env::do_rooted_relative_pathname): New functions. |
|
561 * oct-env.h: Provide decls. |
|
562 |
6823
|
563 2007-08-24 David Bateman <dbateman@free.fr> |
|
564 |
|
565 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
|
566 const Array<octave_idx_type>&)): New method. |
|
567 (MSparse (const dim_vector&, octave_idx_type)): Ditto. |
|
568 * dSparse.h (SparseMatrix& SparseMatrix::insert (const |
|
569 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
570 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
571 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const |
|
572 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
573 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
574 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
575 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
576 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
577 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
578 SparseMatrix&, const Array<octave_idx_type>&), |
|
579 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
580 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
581 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
582 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
583 SparseMatrix&, const Array<octave_idx_type>&), |
|
584 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
585 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
586 |
6817
|
587 2007-08-19 David Bateman <dbateman@free.fr> |
|
588 |
|
589 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. |
|
590 |
6813
|
591 2007-08-14 John W. Eaton <jwe@octave.org> |
|
592 |
|
593 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. |
|
594 Simplify. |
6814
|
595 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813
|
596 |
6810
|
597 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
|
598 |
|
599 * file-stat.cc (file_stat::update_internal) [__WIN32__]: |
|
600 Remove trailing dir separator when stat'ing directory except for |
|
601 root directory. |
|
602 |
6796
|
603 2007-07-25 David Bateman <dbateman@free.fr> |
|
604 |
|
605 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" |
|
606 to work. |
|
607 |
6764
|
608 2007-06-04 David Bateman <dbateman@free.fr> |
|
609 |
|
610 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), |
|
611 octave_int<T>& operator >>= (const T2&)): Make shift operators |
|
612 perform a twos complement arithmetic shift for both signed and |
|
613 unsigned integers regardless of compiler implementations. |
|
614 |
6708
|
615 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
|
616 |
6719
|
617 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
|
618 use cs_complex_t(0,0) for the complex zero. |
|
619 |
6708
|
620 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
|
621 Sprinkle class instantiations with OCTAVE_API as needed. |
|
622 |
|
623 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, |
|
624 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. |
|
625 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, |
|
626 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, |
|
627 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, |
|
628 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, |
|
629 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, |
|
630 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, |
|
631 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, |
|
632 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, |
|
633 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, |
|
634 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, |
|
635 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, |
|
636 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, |
|
637 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, |
|
638 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
|
639 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, |
|
640 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, |
|
641 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, |
|
642 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, |
|
643 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, |
|
644 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, |
|
645 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, |
|
646 INSTANTIATE_SPARSE_FRIENDS): Ditto. |
|
647 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, |
|
648 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, |
|
649 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, |
|
650 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
651 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
652 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, |
|
653 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, |
|
654 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, |
|
655 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, |
|
656 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, |
|
657 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, |
|
658 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, |
|
659 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, |
|
660 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, |
|
661 SPARSE_SMM_OP_DECLS): Ditto. |
|
662 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, |
|
663 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. |
|
664 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, |
|
665 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, |
|
666 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, |
|
667 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, |
|
668 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, |
|
669 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, |
|
670 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, |
|
671 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, |
|
672 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
673 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, |
|
674 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, |
|
675 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, |
|
676 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. |
|
677 |
6699
|
678 2007-06-12 John W. Eaton <jwe@octave.org> |
|
679 |
|
680 * dMatrix.cc (Matrix::expm): Special case for scalar arg. |
|
681 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
6697
|
682 |
6693
|
683 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
|
684 |
6709
|
685 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
|
686 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing |
|
687 with file_ops::dir_sep_char. |
6694
|
688 |
6693
|
689 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
|
690 |
6689
|
691 2007-06-04 David Bateman <dbateman@free.fr> |
|
692 |
6699
|
693 * file-ops.cc: Typo. |
|
694 |
6689
|
695 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
|
696 dimensions is greater than 2, collapse to 2-D. |
|
697 |
6685
|
698 2007-06-02 David Bateman <dbateman@free.fr> |
|
699 |
|
700 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. |
|
701 |
6680
|
702 2007-05-31 John W. Eaton <jwe@octave.org> |
|
703 |
|
704 * Array.cc (Array::get_size): Throw std::bad_alloc exception if |
|
705 the computed size is too large for the size of Octave's index type. |
|
706 |
6662
|
707 2007-05-23 John W. Eaton <jwe@octave.org> |
|
708 |
|
709 * oct-sparse.h: Don't surround included files with extern "C" { ... }. |
|
710 |
6629
|
711 2007-05-16 David Bateman <dbateman@free.fr> |
|
712 |
|
713 * dRowVector.cc (linspace): Return second argument if fewer than |
|
714 two values are requested. |
|
715 * CRowVector.cc (linspace): Likewise. |
|
716 |
6596
|
717 2007-04-27 John W. Eaton <jwe@octave.org> |
|
718 |
|
719 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). |
|
720 |
6583
|
721 2007-04-25 John W. Eaton <jwe@octave.org> |
|
722 |
|
723 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. |
|
724 |
6553
|
725 2007-04-20 John W. Eaton <jwe@octave.org> |
|
726 |
|
727 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, |
|
728 not rhs_len == 1. |
|
729 |
6536
|
730 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
|
731 |
|
732 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. |
|
733 |
6525
|
734 2007-04-13 John W. Eaton <jwe@octave.org> |
|
735 |
|
736 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early |
|
737 for empty matrix. Only check for colon index equivalence if not empty. |
|
738 |
6513
|
739 2007-04-10 John W. Eaton <jwe@octave.org> |
|
740 |
|
741 * SparseCmplxQR.cc |
|
742 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
|
743 Move GCC_ATTR_UNUSED before the parameter decl. |
|
744 From Luis Ortiz <lortiz@interactivesupercomputing.com>. |
|
745 |
6508
|
746 2007-04-06 John W. Eaton <jwe@octave.org> |
|
747 |
|
748 * MArray-defs.h (MARRAY_NORM_BODY): New macro. |
|
749 * MArray.h (MArray<T>::norm): New function. |
|
750 * MArray.cc: Provide decl. |
|
751 * MArray-d.cc (MArray<double>::norm): Define double specialization. |
|
752 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. |
|
753 |
6490
|
754 2007-04-04 John W. Eaton <jwe@octave.org> |
|
755 |
|
756 * Range.cc (Range::nelem_internal): Likewise. |
|
757 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. |
|
758 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. |
|
759 From Scott Pakin <pakin@lanl.gov>. |
|
760 |
6486
|
761 2007-04-04 David Bateman <dbateman@free.fr> |
|
762 |
|
763 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate |
|
764 the condition number for positive definite matrices. |
|
765 * CMatrix.cc (ComplexMatrix::inverse): Ditto. |
|
766 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. |
|
767 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. |
|
768 (octave_idx_type init (const Matrix&, bool)): Ditto. |
|
769 (CHOL(const CHOL&)): Copy xrcond. |
|
770 (CHOL& operator = (const CHOL&)): Copy xrcond. |
|
771 (xrcond): New private data member. |
|
772 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, |
|
773 calc_cond. |
|
774 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto |
|
775 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. |
|
776 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. |
|
777 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. |
|
778 (xrcond): New private data member. |
|
779 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is |
|
780 true, calculate the condition number with dpocon. |
|
781 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If |
|
782 calc_cond is true, calculate the condition number with zpocon. |
|
783 |
6481
|
784 2007-04-03 John W. Eaton <jwe@octave.org> |
|
785 |
6482
|
786 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
|
787 |
|
788 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and |
|
789 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid |
|
790 "maybe clobbered by vfork" warning. |
|
791 |
6483
|
792 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482
|
793 if/else. |
|
794 |
|
795 * oct-spparms.h (octave_sparse_params): Define copy constructor |
|
796 and destructor. |
|
797 |
6481
|
798 * Array.cc (assignN): Don't resize dimension if corresponding |
|
799 index is empty. |
|
800 |
6479
|
801 2007-04-02 John W. Eaton <jwe@octave.org> |
|
802 |
|
803 * dMatrix.h (Matrix::inverse): Reinstate versions without |
|
804 MatrixType argument. |
|
805 * CMatrix.h (ComplexMatrix::inverse): Likewise. |
|
806 |
6467
|
807 2007-03-27 John W. Eaton <jwe@octave.org> |
|
808 |
|
809 * Makefile.in (DISTDIRS): Delete variable. |
|
810 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). |
|
811 |
6460
|
812 2007-03-26 David Bateman <dbateman@free.fr> |
|
813 |
|
814 * MatrixType.cc: Replace all uses of the method |
|
815 octave_sparse_params::get_key ("bandden") with |
|
816 octave_sparse_params::get_bandden (void). |
|
817 (MatrixType::MatrixType (void)): Undo previous change but use |
|
818 octave_sparse_params::get_bandden (void). |
|
819 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New |
|
820 methods. |
|
821 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): |
|
822 Declare them. |
|
823 |
6458
|
824 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
825 David Bateman <dbateman@free.fr> |
|
826 |
|
827 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): |
|
828 Check that all elements are ints before doing anything. Simplify |
|
829 calculation of index values. |
|
830 |
6457
|
831 2007-03-26 David Bateman <dbateman@free.fr> |
|
832 |
|
833 * Range.cc (Range::all_elements_are_ints): Improve check. |
|
834 |
6456
|
835 2007-03-26 John W. Eaton <jwe@octave.org> |
|
836 |
|
837 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. |
|
838 * chNDArray.h, chMatrix.h: Provide decls. |
|
839 |
|
840 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
841 |
|
842 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize |
|
843 sp_bandden to zero for performance reasons as it's not used. |
6452
|
844 |
6435
|
845 2007-03-23 David Bateman <dbateman@free.fr> |
|
846 |
|
847 * oct-rand.cc (octave_rand::seed): Seed differently for big and |
|
848 little endian. |
|
849 |
6414
|
850 2007-03-15 John W. Eaton <jwe@octave.org> |
|
851 |
|
852 * lo-mappers.cc (acos): Use formula similar to what we use for asin. |
|
853 From Alexander Barth <abarth@marine.usf.edu>. |
|
854 |
6402
|
855 2007-03-12 John W. Eaton <jwe@octave.org> |
|
856 |
|
857 * oct-inttypes.h (octave_int::octave_int (double)): |
|
858 New Specialization. Round arg. |
|
859 (operator / (const octave_int<T1>&, const octave_int<T2>&)): |
|
860 Round result before converting type. |
|
861 |
6388
|
862 2007-03-07 John W. Eaton <jwe@octave.org> |
|
863 |
6392
|
864 * Array.cc (assign1): Avoid resizing if there is an error. |
|
865 |
6390
|
866 * dMatrix.cc, CMatrix.cc (operator *): Only check |
|
867 f77_exception_encountered immediately after calls that use F77_XFCN. |
|
868 |
6389
|
869 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
870 Only allow resizing empty LHS if it is 0x0. |
|
871 |
6388
|
872 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
|
873 const T&)): Handle case of more indices than dimensions. |
|
874 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more |
|
875 cases to be handled by assignN. |
|
876 (assignN (Array<LT>&, const Array<RT>&, const LT&)): |
|
877 Special cases for 2-d array assignments for speed. |
|
878 Improve handling of scalar RHS and empty indices. |
6384
|
879 |
6383
|
880 2007-03-05 David Bateman <dbateman@free.fr> |
|
881 |
|
882 * oct-md5.c (oct_md5_file (const std::string&)): New function. |
|
883 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. |
|
884 |
6379
|
885 2007-03-02 John W. Eaton <jwe@octave.org> |
|
886 |
|
887 * str-vec.h (string_vector::empty): Return bool, not int. |
|
888 |
6375
|
889 2007-03-01 David Bateman <dbateman@free.fr> |
|
890 |
|
891 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
|
892 an independent implementation of RFC1321. |
|
893 * oct-md5.h, oct-md5: New files for treating std::string class |
|
894 with MD5. |
|
895 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h |
|
896 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc |
|
897 (LIBOCTAVE_C_SOURCES): Add md5.c |
|
898 |
6366
|
899 2007-02-27 John W. Eaton <jwe@octave.org> |
|
900 |
|
901 * Makefile.in (uninstall): Delete files listed in |
|
902 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). |
|
903 From Thomas Treichl <Thomas.Treichl@gmx.net>. |
|
904 |
6536
|
905 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363
|
906 |
|
907 * file-ops.cc (file_ops::recursive_rmdir): |
|
908 Close dir_entry object before calling rmdir. |
|
909 |
6536
|
910 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358
|
911 |
|
912 * Makefile.in: Use $(LN_S) instead of ln or ln -s. |
|
913 |
6359
|
914 * sparse-util.h (SparseCholPrint, SparseCholError): |
|
915 Tag with OCTAVE_API. |
|
916 |
6326
|
917 2007-02-18 David Bateman <dbateman@free.fr> |
|
918 |
|
919 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to |
|
920 calling setall and reset to the current generator after. |
|
921 |
6323
|
922 2007-02-16 John W. Eaton <jwe@octave.org> |
|
923 |
|
924 * oct-shlib.h (octave_shlib::relative): New data member. |
|
925 (octave_shlib::mark_relative, octave_shlib::is_relative): |
|
926 New functions. |
|
927 |
6321
|
928 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
|
929 |
|
930 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on |
|
931 windows platform. |
|
932 * lo-sysdep.h (octave_popen2): Declare it. |
|
933 * oct-syscalls.cc (octave_syscalls::popen2): New function. |
|
934 * oct-syscalls.h (octave_syscalls::popen2): Declare it. |
|
935 |
6306
|
936 2007-02-14 John W. Eaton <jwe@octave.org> |
|
937 |
|
938 * kpse.cc (expand_elt): Omit special treatment for //. |
|
939 |
6273
|
940 2007-02-06 John W. Eaton <jwe@octave.org> |
|
941 |
|
942 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: |
|
943 Don't delete value returned from realpath. |
|
944 |
6271
|
945 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
|
946 |
|
947 * file-ops.cc (file_ops::canonicalize_file_name): |
|
948 Provide implementation if realpath function is available. |
|
949 |
6256
|
950 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
|
951 |
|
952 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. |
|
953 |
6244
|
954 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
|
955 |
|
956 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on |
|
957 Windows systems. |
|
958 |
6242
|
959 2007-01-16 John W. Eaton <jwe@octave.org> |
|
960 |
|
961 * dSparse.cc: Fix dgbtrf decl for --enable-64. |
|
962 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 |
|
963 |
|
964 * oct-fftw.h (fftw_planner): Provide decl. |
|
965 |
6241
|
966 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
|
967 |
|
968 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. |
|
969 |
6236
|
970 2007-01-10 John W. Eaton <jwe@octave.org> |
|
971 |
|
972 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not |
|
973 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". |
|
974 |
6231
|
975 2007-01-08 David Bateman <dbateman@free.fr> |
|
976 |
|
977 * oct-sparse.h: Replace sparsesuite with suitesparse and |
|
978 SPARSESUITE with SUITESPARSE to match upstream name. |
|
979 |
6228
|
980 2007-01-05 David Bateman <dbateman@free.fr> |
|
981 |
|
982 * oct-fftw.cc: (octave_fftw_planner::method (void), |
|
983 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
|
984 set the FFTW wisdom method used. |
|
985 (octave_fftw_planner::create_plan) Modify to allow different |
|
986 methods to be used. |
|
987 (octave_fftw_planner): Move class definition from here. |
|
988 * oct-fftw.h (octave_fftw_planner): To here. Add method methods |
|
989 and FftwMethod enum. |
|
990 |
6221
|
991 2007-01-03 David Bateman <dbateman@free.fr> |
|
992 |
|
993 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, |
|
994 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as |
|
995 sparse matrices are special cased. |
|
996 |
|
997 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed |
|
998 matrix, sparse matrix operations. |
|
999 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, |
|
1000 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, |
|
1001 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, |
|
1002 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
|
1003 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, |
|
1004 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
|
1005 sparse matrices are special cased. |
|
1006 |
6217
|
1007 2006-12-22 David Bateman <dbateman@free.fr> |
|
1008 |
|
1009 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. |
|
1010 |
6216
|
1011 2006-12-22 John W. Eaton <jwe@octave.org> |
|
1012 |
|
1013 * dim-vector.h (dim_vector::dim_vector): Always start with at |
|
1014 least 2 dimensions. |
|
1015 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. |
|
1016 |
6208
|
1017 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
|
1018 |
|
1019 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. |
|
1020 |
|
1021 * file-ops.cc (ops::canonicalize_file_name): Provide partial |
6217
|
1022 implementation for Windows. |
6208
|
1023 |
6207
|
1024 2006-12-06 David Bateman <dbateman@free.fr> |
|
1025 |
6208
|
1026 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
|
1027 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. |
6207
|
1028 |
|
1029 * dMatrrix.cc (finverse): Old inverse method renamed inverse. |
|
1030 (tinverse): New method for triangular matrices. |
|
1031 (inverse): New function with matrix type probing. |
|
1032 * dMatrix.h (finverse, tinverse, inverse): New and modified |
|
1033 declarations. |
6208
|
1034 * CMatrix.cc: Ditto. |
|
1035 * CMatrix.h: Ditto. |
6207
|
1036 |
6205
|
1037 2006-12-06 John W. Eaton <jwe@octave.org> |
|
1038 |
|
1039 * strptime.c (day_of_the_week): Use code from current glibc sources. |
|
1040 |
6202
|
1041 2006-12-05 John W. Eaton <jwe@octave.org> |
|
1042 |
|
1043 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not |
|
1044 followed by 'I' or 'i', try reading number after putting |
|
1045 characters back on input stream. |
|
1046 |
6198
|
1047 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
|
1048 |
|
1049 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of |
|
1050 loop is n, not L. |
|
1051 |
6194
|
1052 2006-11-30 John W. Eaton <jwe@octave.org> |
|
1053 |
|
1054 * lo-utils.cc (octave_read_double, read_inf_nan_na): |
|
1055 Also recognize [+-][Ii]nf. |
|
1056 |
6187
|
1057 2006-11-28 David Bateman <dbateman@free.fr> |
6186
|
1058 |
|
1059 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite |
|
1060 sub-directory. |
|
1061 |
6204
|
1062 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
|
1063 well when calling tinverse for lower triangular matrices. |
|
1064 * CSparse.cc (SparseComplexMatrix::inverse): |
|
1065 Ditto. |
6185
|
1066 |
6183
|
1067 2006-11-21 John W. Eaton <jwe@octave.org> |
|
1068 |
|
1069 * oct-env.cc (do_absolute_pathname): Undo previous change. |
|
1070 |
6182
|
1071 2006-11-20 John W. Eaton <jwe@octave.org> |
|
1072 |
|
1073 * oct-env.cc (octave_env::do_absolute_pathname): Also return true |
|
1074 for ".", and names beginning with "./" or "../". |
|
1075 |
6162
|
1076 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
|
1077 |
|
1078 * CMatrix.cc, dMatrix.cc: New tests. |
|
1079 |
6153
|
1080 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1081 |
|
1082 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. |
|
1083 |
6152
|
1084 2006-11-11 John W. Eaton <jwe@octave.org> |
|
1085 |
|
1086 * Makefile.in ($(OPTS_INC), mx-ops.h): |
|
1087 Use $(simple-move-if-change-rule) here. |
|
1088 |
6148
|
1089 2006-11-09 David Bateman <dbateman@free.fr> |
|
1090 |
|
1091 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to |
|
1092 octave_idx_type, not int. |
|
1093 |
6145
|
1094 2006-11-08 John W. Eaton <jwe@octave.org> |
|
1095 |
|
1096 * dir-ops.cc (dir_entry::read): Avoid rewinddir. |
|
1097 |
6141
|
1098 2006-11-06 John W. Eaton <jwe@octave.org> |
|
1099 |
|
1100 * Array.cc (assignN): Exit early if invalid indices are found. |
|
1101 |
6140
|
1102 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
|
1103 |
|
1104 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. |
|
1105 |
6137
|
1106 2006-11-03 John W. Eaton <jwe@octave.org> |
|
1107 |
|
1108 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. |
|
1109 (DLL_CDEFS): Rename from XTRA_CDEFS. |
|
1110 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. |
|
1111 |
6123
|
1112 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
|
1113 |
|
1114 * oct-shlib.cc: Undefine min and max after including windows.h. |
|
1115 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. |
|
1116 * lo-sysdep.h: Move opendir, readdir, etc. decls here from |
|
1117 lo-sysdep.cc. |
|
1118 |
6113
|
1119 2006-10-27 John W. Eaton <jwe@octave.org> |
|
1120 |
6119
|
1121 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
|
1122 |
|
1123 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1124 |
|
1125 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, |
|
1126 NDS_CMP_OPS2): New macros. |
6113
|
1127 |
6111
|
1128 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1129 |
6119
|
1130 * mx-ops (core-type): New field for integer types. |
|
1131 * mk-ops.awk: Handle core-type for integer comparison ops. |
|
1132 |
6111
|
1133 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
|
1134 Move here from src/cutils.c. |
|
1135 * lo-utils.h: Provide decls. |
|
1136 * strcasecmp.c: Move here from src/strcasecmp.c. |
|
1137 * strncase.c: Move here from src/strncase.c. |
|
1138 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. |
|
1139 |
6106
|
1140 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1141 |
|
1142 * kpse.cc [! MSVC]: Don't include win32lib.h. |
|
1143 |
6708
|
1144 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
|
1145 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, |
|
1146 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, |
|
1147 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, |
|
1148 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, |
|
1149 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, |
|
1150 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, |
|
1151 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
|
1152 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
|
1153 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, |
|
1154 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, |
|
1155 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, |
|
1156 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, |
|
1157 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
|
1158 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, |
|
1159 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
|
1160 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, |
|
1161 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, |
|
1162 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, |
|
1163 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, |
|
1164 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, |
|
1165 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, |
|
1166 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. |
6108
|
1167 |
6105
|
1168 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1169 |
|
1170 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit |
|
1171 type qualification for OP. |
|
1172 |
6101
|
1173 2006-10-26 David Bateman <dbateman@free.fr> |
|
1174 |
|
1175 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, |
|
1176 octave_idx_type)): Be more careful with the size of the input |
|
1177 matrix, and therefore don't create or read non existent data. |
|
1178 |
6092
|
1179 2006-10-25 John W. Eaton <jwe@octave.org> |
|
1180 |
|
1181 * Sparse.cc (assign): Clear lhs index after error. |
|
1182 |
6093
|
1183 2006-10-25 David Bateman <dbateman@free.fr> |
6092
|
1184 |
|
1185 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1186 Fix previous patch so it works. |
|
1187 |
6087
|
1188 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
|
1189 |
6095
|
1190 * glob-match.h (glob_match::glob_match (const std::string&, |
|
1191 unsigned int)): Delete initializer for first arg. |
|
1192 |
6093
|
1193 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
|
1194 New functions. |
|
1195 |
6087
|
1196 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
|
1197 |
6096
|
1198 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
|
1199 same code as __MINGW32__. |
|
1200 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG |
|
1201 the same as for __MINGW32__. |
|
1202 |
|
1203 * randpoisson.c: Undefine INFINITE before redefining. |
|
1204 |
6079
|
1205 2006-10-24 David Bateman <dbateman@free.fr> |
|
1206 |
|
1207 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the |
|
1208 lhs at the point we know the assignment can succeed if the lhs is |
|
1209 empty. |
|
1210 |
6072
|
1211 2006-10-23 John W. Eaton <jwe@octave.org> |
|
1212 |
|
1213 * Array.cc (assign2): Don't require vector assignments to be oriented. |
|
1214 |
6061
|
1215 2006-10-17 John W. Eaton <jwe@octave.org> |
|
1216 |
|
1217 * lo-cieee.c: If isnan is not available but _isnan is, then define |
|
1218 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite |
|
1219 and _copysign. |
|
1220 |
6059
|
1221 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051
|
1222 |
6061
|
1223 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
|
1224 |
6708
|
1225 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
|
1226 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061
|
1227 |
6058
|
1228 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
|
1229 |
6059
|
1230 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1231 |
6051
|
1232 * Makefile.in: Adapt rules to use $(LIBPRE). |
|
1233 |
6027
|
1234 2006-10-03 David Bateman <dbateman@free.fr> |
|
1235 |
|
1236 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 |
|
1237 or p == 0. |
|
1238 |
6018
|
1239 2006-10-02 John W. Eaton <jwe@octave.org> |
|
1240 |
|
1241 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. |
|
1242 * CmplxDET.cc (ComplexDET::initialize2): Likewise. |
|
1243 |
5996
|
1244 2006-09-22 David Bateman <dbateman@free.fr> |
|
1245 |
|
1246 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5997
|
1247 Remove spurious warning. |
5996
|
1248 |
5992
|
1249 2006-09-15 John W. Eaton <jwe@octave.org> |
|
1250 |
|
1251 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
|
1252 Handle resizing. |
|
1253 |
|
1254 * intNDArray.h (intNDArray<T>:elt_type): New typedef. |
|
1255 |
5983
|
1256 2006-09-11 John W. Eaton <jwe@octave.org> |
|
1257 |
|
1258 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): |
|
1259 Handle M*v and rv*cv special cases. |
|
1260 * CMatrix.cc (operator * (const ComplexMatrix&, const |
|
1261 ComplexMatrix&))): Likewise. |
|
1262 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. |
|
1263 |
|
1264 * dRowVector.cc (operator * (const RowVector&, const |
|
1265 ColumnVector&)): Call xddot here instead of using a Fortran |
|
1266 function directly. |
|
1267 * CRowVector.cc (operator * (const ComplexRowVector&, const |
|
1268 ComplexColumnVector&)): Call xzdotu here. |
|
1269 |
|
1270 2006-09-05 John W. Eaton <jwe@octave.org> |
|
1271 |
|
1272 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare |
|
1273 elements to '\0', not ' '. |
|
1274 |
5972
|
1275 2006-08-25 John W. Eaton <jwe@octave.org> |
|
1276 |
|
1277 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. |
|
1278 |
5958
|
1279 2006-08-23 John W. Eaton <jwe@octave.org> |
|
1280 |
|
1281 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. |
|
1282 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. |
|
1283 |
5955
|
1284 2006-08-22 John W. Eaton <jwe@octave.org> |
|
1285 |
5956
|
1286 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
|
1287 * dMatrix.cc (Matrix::save_ascii): New function. |
|
1288 |
5955
|
1289 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
|
1290 If array is empty, return value is same size as array. |
|
1291 (MX_ND_REDUCTION): Correctly detect empty arrays. |
|
1292 If array is empty, produce correctly sized return value. |
|
1293 |
5940
|
1294 2006-08-18 John W. Eaton <jwe@octave.org> |
|
1295 |
5943
|
1296 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
|
1297 * dMatrix.h: Provide decl. |
|
1298 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. |
|
1299 * dNDArray.h: Provide decl. |
|
1300 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): |
|
1301 New function. |
|
1302 * intNDArray.h: Provide decl. |
|
1303 |
5940
|
1304 * Array.cc (Array<T>::permute): Only rearrange values if array is |
|
1305 not empty. |
|
1306 |
5904
|
1307 2006-07-26 John W. Eaton <jwe@octave.org> |
|
1308 |
|
1309 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, |
|
1310 DET::value_will_overflow): Use xlog2 instead of log2. |
|
1311 (DET::initialize2, DET::initialize10): Use xround instead of round. |
|
1312 (DET::initialize2, DET::value): Use xexp2 instead of exp2. |
|
1313 * CmplxDET.cc (ComplexDET::initialize10, |
|
1314 ComplexDET::value_will_underflow, |
|
1315 ComplexDET::value_will_overflow): Use xlog2 instead of log2. |
|
1316 (ComplexDET::initialize2, ComplexDET::initialize10): |
|
1317 Use xround instead of round. |
|
1318 (ComplexDET::initialize2, ComplexDET::value): |
|
1319 Use xexp2 instead of exp2. |
|
1320 |
|
1321 * lo-mappers.cc (M_LOG10E): Delete unused macro. |
|
1322 (xlog2, xexp2): New functions. |
|
1323 * lo-mappers.h: Provide decls. |
|
1324 |
5900
|
1325 2006-07-22 John W. Eaton <jwe@octave.org> |
|
1326 |
|
1327 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, |
|
1328 Sparse<T>::mex_get_jc): New functions. |
|
1329 |
|
1330 2006-07-21 John W. Eaton <jwe@octave.org> |
|
1331 |
|
1332 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. |
|
1333 * Array.h (Array<T>::mex_get_data): New function. |
|
1334 |
5898
|
1335 2006-07-19 John W. Eaton <jwe@octave.org> |
|
1336 |
|
1337 * oct-inttypes.h (octave_int::operator bool (void)): New function. |
|
1338 |
5893
|
1339 2006-07-16 John W. Eaton <jwe@octave.org> |
|
1340 |
|
1341 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): |
|
1342 Rename from SparseParams. Use same implementation method as other |
|
1343 singleton classes in Octave. Change all uses of |
|
1344 Voctave_sparse_controls to use static functions from |
|
1345 octave_sparse_params class instead. |
|
1346 |
|
1347 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, |
|
1348 SparseParams::get_key): Pass std::string arg by const reference, |
|
1349 not const value. |
|
1350 |
5892
|
1351 2006-07-15 John W. Eaton <jwe@octave.org> |
|
1352 |
|
1353 * data-conv.cc: Instantiante swap_bytes templates here. |
|
1354 |
|
1355 * MatrixType.cc (MatrixType::MatrixType): |
|
1356 Use complete initializer lists in constructors. |
|
1357 |
5880
|
1358 2006-07-06 John W. Eaton <jwe@octave.org> |
|
1359 |
|
1360 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): |
|
1361 New constructor. |
|
1362 * str-vec.h: Provide decl. |
|
1363 |
5876
|
1364 2006-07-01 David Bateman <dbateman@free.fr> |
|
1365 |
|
1366 * dSparse.cc (tinverse): Check for rows with no elements and zero |
|
1367 elements on the diagonal. Allow both Upper and Lower triangular |
|
1368 matrices to be treated. |
|
1369 * CSparse.cc (tinverse): ditto. |
|
1370 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit |
|
1371 constant assignment. |
|
1372 |
5870
|
1373 2006-06-30 John W. Eaton <jwe@octave.org> |
|
1374 |
5872
|
1375 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
|
1376 * cmd-edit.cc (editor::read_init_file): Ditto. |
|
1377 * dir-ops.cc (dir_entry::open): Ditto. |
5871
|
1378 * file-stat.cc (stat::update_internal): Ditto. |
5872
|
1379 * cmd-hist.cc (command_history::set_file): Ditto. |
5871
|
1380 |
5870
|
1381 * data-conv.cc (data_conv::string_to_data_type): |
|
1382 Correctly handle leading "*". |
|
1383 |
5869
|
1384 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
|
1385 |
|
1386 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds |
|
1387 array access. |
|
1388 |
5866
|
1389 2006-06-27 John W. Eaton <jwe@octave.org> |
|
1390 |
|
1391 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. |
|
1392 |
5864
|
1393 2006-06-21 John W. Eaton <jwe@octave.org> |
|
1394 |
|
1395 * oct-shlib.cc (octave_dlopen_shlib::close, |
|
1396 octave_shl_load_shlib::close, octave_w32_shlib::close): |
|
1397 Skip do_close_hook if cl_hook is 0. |
|
1398 |
5863
|
1399 2006-06-16 John W. Eaton <jwe@octave.org> |
|
1400 |
|
1401 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. |
|
1402 * randmtzig.h: Don't inlcude config.h. |
|
1403 |
5837
|
1404 2006-05-31 David Bateman <dbateman@free.fr> |
|
1405 |
|
1406 * Array.cc (assignN): Maybe reshape LHS before doing assignment. |
|
1407 |
5828
|
1408 2006-05-23 John W. Eaton <jwe@octave.org> |
|
1409 |
|
1410 * oct-types.h.in: Include stdint.h or inttypes.h for integer |
|
1411 typedefs, or define them if those files are not available. |
|
1412 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, |
|
1413 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, |
|
1414 octave_uint64_t): Delete typedefs. Replace all uses of these |
|
1415 types with int8_t, int16_t, etc. |
|
1416 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): |
|
1417 Delete definitions. Replace all uses of these macros with int8_t, |
|
1418 int16_t, etc. |
|
1419 * randmtzig.h: Delete integer typedefs. |
|
1420 |
5822
|
1421 2006-05-18 John W. Eaton <jwe@octave.org> |
|
1422 |
|
1423 * EIG.cc (EIG::init): Trap Inf and NaN values here. |
|
1424 From Keith Goodman <kwgoodman@gmail.com>. |
|
1425 |
5813
|
1426 2006-05-08 David Bateman <dbateman@free.fr> |
|
1427 |
|
1428 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous |
|
1429 modification. |
|
1430 |
5797
|
1431 2006-05-09 David Bateman <dbateman@free.fr> |
|
1432 |
|
1433 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, |
|
1434 ov-cx-sparse. and error_state. |
|
1435 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. |
|
1436 |
5795
|
1437 2006-05-08 David Bateman <dbateman@free.fr> |
|
1438 |
|
1439 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in |
|
1440 first pass and use to determine which algorithm to use on a |
|
1441 column-by-column basis. |
|
1442 |
5792
|
1443 2006-05-04 David Bateman <dbateman@free.fr> |
|
1444 |
|
1445 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
|
1446 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of |
|
1447 CXSparse or later |
|
1448 |
5785
|
1449 2006-05-03 David Bateman <dbateman@free.fr> |
|
1450 |
|
1451 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): |
|
1452 External declaration of lapack triangular and Cholesky codes. |
|
1453 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
|
1454 ComplexMatrix::fsolve): New private solver codes for |
|
1455 upper, lower and LU/Cholesky solvers. |
|
1456 (ComplexMatrix::solve): New versions for cached matrix |
|
1457 type. Adapt old versions to call new versions |
|
1458 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1459 new solvers. |
|
1460 (solve): New versions for cached matrix type. |
|
1461 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): |
|
1462 External declaration of lapack triangular and Cholesky codes. |
|
1463 (Matrix::utsolve, Matrix::ltsolve, |
|
1464 Matrix::fsolve): New private solver codes for |
|
1465 upper, lower and LU/Cholesky solvers. |
|
1466 (Matrix::solve): New versions for cached matrix |
|
1467 type. Adapt old versions to call new versions |
|
1468 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1469 new solvers. |
|
1470 (solve): New versions for cached matrix type. |
|
1471 * CSparse.cc: Replace all uses of SparseType with MatrixType. |
|
1472 * CSparse.h: ditto. |
|
1473 * dSparse.cc: ditto. |
|
1474 * dSparse.h: ditto. |
|
1475 * SparseCmplxCHOL.cc: ditto. |
|
1476 * SparsedbleCHOL.cc: ditto. |
|
1477 * sparse-dmsolve.cc: ditto. |
|
1478 * SparseType.cc, SparseType.h: delete. |
|
1479 * MatrixType.cc: New file for class to cache matrix type, based on |
|
1480 old SparseType class but caching matrix and sparse types. |
|
1481 * MatrixType.h: ditto. |
|
1482 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and |
|
1483 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc |
|
1484 respectively. |
|
1485 * mx-base.h: Include MatrixTye.h as header file. |
|
1486 |
5781
|
1487 2006-05-01 John W. Eaton <jwe@octave.org> |
|
1488 |
|
1489 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): |
|
1490 Delete WARN_FUTURE arg. Change all uses. |
|
1491 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. |
|
1492 Change all uses. Use current_liboctave_warning_with_id_handler. |
|
1493 (octave_base_shlib::open): Delete arg. Change all derived classes |
|
1494 and uses. |
|
1495 |
|
1496 2006-04-29 John W. Eaton <jwe@octave.org> |
|
1497 |
|
1498 * Array-flags.cc, Array-flags.h: Delete. |
|
1499 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. |
|
1500 (MATRIX_INC): Remove Array-flags.h from the list. |
|
1501 |
|
1502 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. |
|
1503 Use current_liboctave_warning_with_id_handler |
|
1504 with warning ID Octave:resize-on-range-error. |
|
1505 * idx-vector.h: Fix decl. |
|
1506 * Array.cc, Sparse.cc: Change all callers. |
|
1507 |
|
1508 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, |
|
1509 assign2, assignN): Use current_liboctave_warning_with_id_handler |
|
1510 with warning ID Octave:fortran-indexing instead of |
|
1511 liboctave_wfi_flag. |
|
1512 * Sparse.cc (assign, Sparse<T>::index): Likewise. |
|
1513 |
5777
|
1514 2006-04-26 John W. Eaton <jwe@octave.org> |
|
1515 |
|
1516 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): |
|
1517 New static data. |
|
1518 * pathsearch.h: Provide decls. |
|
1519 (dir_path::is_path_sep): New function. |
|
1520 |
5766
|
1521 2006-04-18 John W. Eaton <jwe@octave.org> |
|
1522 |
|
1523 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): |
|
1524 Omit inline from decl. |
|
1525 |
|
1526 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid |
|
1527 local array with variable dimension. |
|
1528 |
5764
|
1529 2006-04-16 John W. Eaton <jwe@octave.org> |
|
1530 |
5765
|
1531 * lo-sstream.h: Delete. |
|
1532 * Makefile.in (INCLUDES): Remove it from the list. |
|
1533 |
|
1534 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. |
|
1535 * Sparse.cc (Sparse::range_error): Likewise. |
|
1536 * DASSL.cc (DASSL::error_message): Likewise. |
|
1537 * LSODE.cc (LSODE::error_message): Likewise. |
|
1538 * DASRT.cc (DASRT::error_message): Likewise. |
|
1539 * DASPK.cc (DASPK::error_message): Likewise. |
|
1540 * Array.cc (Array::range_error): Likewise. |
|
1541 |
5764
|
1542 * kpse.cc (kpse_hash): Rename from hash. |
|
1543 (hash_lookup): Call kpse_hash instead of hash. |
|
1544 |
|
1545 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> |
|
1546 to avoid local array with variable dimension. |
|
1547 |
5760
|
1548 2006-04-13 David Bateman <dbateman@free.fr> |
|
1549 |
|
1550 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1551 Optimize assignment. |
|
1552 |
|
1553 2006-04-13 John W. Eaton <jwe@octave.org> |
|
1554 |
|
1555 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1556 Eliminate unnecessary casts. |
|
1557 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. |
|
1558 |
|
1559 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. |
|
1560 (log_search, dir_links): Use static_cast instead of C-style cast. |
|
1561 |
|
1562 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. |
|
1563 * oct-alloc.cc (allocator::grow): Likewise. |
|
1564 * CSparse.cc (SparseComplexMatrix::determinant, |
|
1565 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): |
|
1566 Likewise. |
|
1567 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. |
|
1568 |
|
1569 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): |
|
1570 Use static_cast instead of C-style cast. |
|
1571 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
1572 * dSparse.cc (SparseMatrix::fsolve): Likewise. |
|
1573 |
|
1574 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. |
|
1575 Use OCTAVE_LOCAL_BUFFER instead of new/delete. |
|
1576 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. |
|
1577 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): |
|
1578 Use reinterpret_cast instead of X_CAST. |
|
1579 |
|
1580 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast |
|
1581 return value here. |
|
1582 |
5752
|
1583 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
|
1584 |
|
1585 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. |
|
1586 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. |
|
1587 |
5730
|
1588 2006-04-03 David Bateman <dbateman@free.fr> |
|
1589 |
5731
|
1590 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
|
1591 to avoid copy of original matrix. |
|
1592 |
5730
|
1593 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
|
1594 randmtzig.h to the list. |
|
1595 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
|
1596 randmtzig.c to the list. |
|
1597 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
|
1598 (use_old_generators): New variable. |
|
1599 (old_initialized): Rename from initialized. |
|
1600 (new_initialized): New variable. |
|
1601 (oct_init_by_entropy): New function. |
|
1602 (maybe_initialize): Initialize new or old generator depending on |
|
1603 value of use_old_generators. |
|
1604 (octave_rand::state): New functions. |
|
1605 (octave_rand::distribution): Add gamma, exponential and poisson |
|
1606 distributions. |
|
1607 (octave_rand::exponential_distribution, |
|
1608 octave_rand::poisson_distribution, |
|
1609 octave_rand::gamma_distribution): New methods to select |
|
1610 exponential, poisson or gamma distribution. |
|
1611 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1612 octave_rand::vector): Add new distributions. |
|
1613 * oct-rand.h: Provide decls for new functions. |
|
1614 (octave_rand::matrix, octave_rand::scalar, octave_rand:: |
|
1615 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1616 octave_rand::vector): New arg A, for gamma and poisson distributions. |
|
1617 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, |
|
1618 randmtzig.h: New files. |
|
1619 |
5717
|
1620 2006-03-24 John W. Eaton <jwe@octave.org> |
|
1621 |
|
1622 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
|
1623 Array<octave_idx_type>, so fortran_vec returns pointer to |
|
1624 octave_idx_type, not pointer to int. |
|
1625 |
|
1626 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), |
|
1627 ComplexMatrix::column (char*)): Delete. |
|
1628 * dMatrix.cc, dMatrix.h (Matrix::row (char*), |
|
1629 Matrix::column (char*)): Delete. |
|
1630 |
5713
|
1631 2006-03-21 David Bateman <dbateman@free.fr> |
|
1632 |
|
1633 * SparseQR.h: Publish externally used friends. |
|
1634 * SparseCmplxQR.h: ditto. |
|
1635 |
5700
|
1636 2006-03-21 John W. Eaton <jwe@octave.org> |
|
1637 |
|
1638 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for |
|
1639 call to xdbetai. |
|
1640 |
5697
|
1641 2006-03-21 David Bateman <dbateman@free.fr> |
|
1642 |
5701
|
1643 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
|
1644 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. |
5700
|
1645 |
|
1646 * dSparse.cc (solve): Add argument singular_fallback, to allow |
|
1647 fallback to QR solvers to be optional. |
|
1648 * CSparse.cc (solve): Ditto. |
|
1649 * dSparse.h (solve): update declaration for new argument. |
|
1650 * CSparse.h (solve): Ditto. |
|
1651 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument |
|
1652 to bypass QR solvers when solving the well determined part of |
|
1653 the problem. |
5697
|
1654 |
5690
|
1655 2006-03-17 John W. Eaton <jwe@octave.org> |
|
1656 |
|
1657 * str-vec.cc (vector::list_in_columns): New optional arg, width. |
|
1658 |
5681
|
1659 2006-03-16 David Bateman <dbateman@free.fr> |
|
1660 |
|
1661 * CSparse.cc: Change use of nzmax to nnz to allow automatic |
|
1662 reduction of matrix size, except for a couple of cases where nzmax |
|
1663 is needed. |
|
1664 (zpbcon): Correct declaration of lapack zpbcon function. |
|
1665 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add |
|
1666 an argument to allow the calculation of condition number to be |
|
1667 optional. |
|
1668 (bsolve): Add code for the calculation of the condition number |
|
1669 using zpbcon and zgbcon. |
|
1670 (dsolve): Bug fix for rectangular matrices with sparse RHS. |
|
1671 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as |
|
1672 singular if singularity is detected. |
|
1673 (solve): Use optional argument to disable calculation of |
|
1674 condition number for all but fsolve, for speed. Add code to |
|
1675 allow rectnagular matrices or matrices identified as singular |
|
1676 to be treated. |
|
1677 (lssolve): delete. |
|
1678 (operator *): Don't recast real matrices as complex, but |
|
1679 rather use the macro directly on the real data. |
|
1680 * dSparse.cc: ditto. |
|
1681 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, |
|
1682 fsolve, factorize): Update declaration for new argument to |
|
1683 calculate the condition number. |
|
1684 (lssolve): delete. |
|
1685 * dSparse.h: ditto. |
|
1686 * Msparse.h: Change use of nxmax to nnz to allow automatic |
|
1687 reduction of matrix size, except for a couple of cases where |
|
1688 nzmax is needed. |
|
1689 * Sparse.cc: Change use of nxmax to nnz to allow automatic |
|
1690 reduction of matrix size, except for a couple of cases where |
|
1691 nzmax is needed. |
|
1692 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): |
|
1693 Special case strict permutations for speed. |
|
1694 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic |
|
1695 reduction of matrix size, except for a couple of cases where |
|
1696 nzmax is needed. |
|
1697 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update |
|
1698 macros to allow mixed complex/real arguments. |
|
1699 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero |
|
1700 value. |
|
1701 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
|
1702 * SparseType.cc (SparseType::SparseType ()): Correct detection |
|
1703 of permutated triangular matrices to avoid seg-faults. Disable |
|
1704 detection of underdetermined lower and over-determined upper |
|
1705 matrix due to problems with non minimum norm solutions. |
|
1706 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. |
|
1707 * Makefile.in: add sparse-dmsolve.cc to targets. |
|
1708 |
5675
|
1709 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
|
1710 |
|
1711 * oct-time.cc (octave_strptime::init): Return useful character count. |
|
1712 |
5648
|
1713 2006-03-08 David Bateman <dbateman@free.fr> |
|
1714 |
|
1715 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for |
|
1716 g++ 4.x stl_vector.h issue with C99 double _Complex type. |
|
1717 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. |
|
1718 * SparseQR.cc: ditto. |
|
1719 * SparseQR.h: ditto. |
|
1720 * oct-sparse.h: ditto. |
|
1721 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): |
|
1722 Declare info variable as volatile. |
|
1723 |
|
1724 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. |
|
1725 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. |
|
1726 |
5634
|
1727 2006-03-01 John W. Eaton <jwe@octave.org> |
|
1728 |
|
1729 * CMatrix.cc (ComplexMatrix::determinant): |
|
1730 Scale result by factors of 2, not 10. |
|
1731 * dMatrix.cc (Matrix::determinant): Likewise. |
|
1732 |
|
1733 * dbleDET.h (DET::DET): Use initializer list. |
|
1734 (DET::coefficient2, DET::coefficient10, DET::exponent2, |
|
1735 DET::exponent10): New functions. |
|
1736 (DET::det): Delete. |
|
1737 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. |
|
1738 Store value internally with double and int instead of 2-element |
|
1739 double vector. |
|
1740 (DET::initialize2, DET::initialize10): Provide decls. |
|
1741 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
|
1742 Return bool value, not int. |
|
1743 (DET::initialize2, DET::initialize10): New functions. |
|
1744 |
|
1745 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. |
|
1746 (ComplexDET::coefficient2, ComplexDET::coefficient10, |
|
1747 ComplexDET::exponent2, ComplexDET::exponent10): New functions. |
|
1748 (ComplexDET::det): Delete. |
|
1749 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, |
|
1750 ComplexDET::base2): New data members. |
|
1751 Store value internally with Complex and int instead of 2-element |
|
1752 Complex vector. |
|
1753 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. |
|
1754 * dbleComplexDET.cc (ComplexDET::value_will_overflow, |
|
1755 ComplexDET::value_will_underflow): Return bool value, not int. |
|
1756 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. |
|
1757 |
5632
|
1758 2006-02-24 John W. Eaton <jwe@octave.org> |
|
1759 |
|
1760 * Array.cc (assignN): Clear index before reshaping. |
|
1761 |
|
1762 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. |
|
1763 |
5630
|
1764 2006-02-20 David Bateman <dbateman@free.fr> |
|
1765 |
|
1766 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
|
1767 matrix must be square in diagonal, permuted diagonal, triangular |
|
1768 and permuted triangular back/forward substitution code. Change |
|
1769 ambiguous use of no. rows and columns. |
|
1770 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. |
|
1771 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), |
|
1772 SparseType::SparseType(const SparseComplexMatrix&)): Recognize |
|
1773 rectangular diagonal, permuted diagonal, triangular and permuted |
|
1774 triangular matrices. |
|
1775 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): |
|
1776 Treat case where third argument is zero. |
|
1777 |
5621
|
1778 2006-02-15 John W. Eaton <jwe@octave.org> |
|
1779 |
5622
|
1780 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
|
1781 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
|
1782 |
5621
|
1783 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
|
1784 |
5619
|
1785 2006-02-13 David Bateman <dbateman@free.fr> |
|
1786 |
|
1787 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, |
|
1788 ccolamd and cxsparse |
|
1789 |
5617
|
1790 2006-02-13 John W. Eaton <jwe@octave.org> |
|
1791 |
5618
|
1792 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
|
1793 while loop condition. |
|
1794 (kpse_path_iterator::operator =): Declare as private function but |
|
1795 don't define to prevent attempts to use assignment operator. |
|
1796 Don't define ST_NLINK_TRICK for Cygwin systems. |
5617
|
1797 |
5615
|
1798 2006-02-10 John W. Eaton <jwe@octave.org> |
|
1799 |
|
1800 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative |
|
1801 product of all dimensions in CP_SZ. |
|
1802 |
5611
|
1803 2006-02-09 John W. Eaton <jwe@octave.org> |
|
1804 |
|
1805 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative |
5615
|
1806 product of all dimensions in CP_SZ. |
5611
|
1807 |
5610
|
1808 2006-02-09 David Bateman <dbateman@free.fr> |
|
1809 |
|
1810 * SparseQR.cc: new file for real sparse QR class. |
|
1811 * SparseQR.h: declaration. |
|
1812 * SparseCmplxQR.cc: new file for complex sparse QR class. |
|
1813 * SparseCmplxQR.h: declaration. |
|
1814 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1815 (factorize, fsolve): Enable code code lssolve. |
|
1816 (lssolve): disable unused args, write based in above sparse QR class. |
|
1817 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1818 (factorize, fsolve): Enable code code lssolve. |
|
1819 (lssolve): disable unused args, write based in above sparse QR class. |
|
1820 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. |
|
1821 Include CXSparse headers. |
|
1822 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. |
|
1823 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. |
|
1824 |
5607
|
1825 2006-02-08 John W. Eaton <jwe@octave.org> |
|
1826 |
|
1827 * Array-util.h (calc_permutated_idx): Delete. |
|
1828 * Array.cc (permute_vector): New data structure. |
|
1829 (permute_vector_compare): New function. |
|
1830 (Array<T>::permute): Rewrite to avoid calc_permutated_index for |
|
1831 improved performance. |
|
1832 |
5606
|
1833 2006-02-04 David Bateman <dbateman@free.fr> |
|
1834 |
|
1835 * COLAMD: Remove all files, as now unused. |
|
1836 |
5604
|
1837 2006-01-31 John W. Eaton <jwe@octave.org> |
|
1838 |
|
1839 * Sparse.h (Sparse<T>::nzmax): New function. |
|
1840 (Sparse<T>::nnz): Rename from nonzero. |
|
1841 Change all uses of old nnz function to be nzmax. Change all uses |
|
1842 of nonzero to be nnz. |
|
1843 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. |
|
1844 |
5603
|
1845 2006-01-21 David Bateman <dbateman@free.fr> |
|
1846 |
|
1847 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
|
1848 (bool octave_idx_vector_comp): New function. |
|
1849 (template class octave_sort<octave_idx_vector_sort *>): Instantiate |
|
1850 indexed idx_vector sorting function. |
|
1851 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. |
|
1852 (class octave_idx_vector_sort): New class for indexed idx_vector |
|
1853 sorting. |
|
1854 (bool octave_idx_vector_comp): Declaration. |
|
1855 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of |
|
1856 unordered LHS indexes in assignment using new octave_idx_vector_sort |
|
1857 class. |
|
1858 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. |
|
1859 |
5602
|
1860 2006-01-30 John W. Eaton <jwe@octave.org> |
|
1861 |
|
1862 * so-array.h (streamoff_array::nnz): New funtion. |
|
1863 * boolNDArray.h (boolNDArray::nnz): New function. |
|
1864 * MArrayN.h (MArrayN<T>::nnz): New function. |
|
1865 * MArray.h (MArray<T>::nnz): New function. |
|
1866 |
5587
|
1867 2006-01-04 David Bateman <dbateman@free.fr> |
|
1868 |
|
1869 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in |
|
1870 elements not being sorted in return matrix. Sort them, and make |
|
1871 solver select between two algorithms to further improve the |
|
1872 performance. |
|
1873 * dSparse.cc: include oct-sort.h. |
|
1874 * CSparse.cc: ditto. |
|
1875 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. |
|
1876 |
5586
|
1877 2005-12-28 David Bateman <dbateman@free.fr> |
|
1878 |
5587
|
1879 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
|
1880 faster in all cases, and significantly so for low density or small |
|
1881 order problems. |
5586
|
1882 |
5552
|
1883 2005-11-30 John W. Eaton <jwe@octave.org> |
|
1884 |
|
1885 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork |
|
1886 before setting any values in either array. |
|
1887 |
5547
|
1888 2005-11-29 John W. Eaton <jwe@octave.org> |
|
1889 |
|
1890 * oct-uname.h, oct-uname.cc: New files. |
|
1891 * Makefile.in: Add them to the appropriate lists. |
|
1892 |
5535
|
1893 2005-11-11 John W. Eaton <jwe@octave.org> |
|
1894 |
|
1895 * Array.cc (Array<T>::indexN): Simplify. |
|
1896 |
5533
|
1897 2005-11-09 John W. Eaton <jwe@octave.org> |
|
1898 |
|
1899 * oct-inttypes.h (octave_int::operator char (void) const): |
|
1900 New conversion op. |
|
1901 |
5527
|
1902 2005-11-01 John W. Eaton <jwe@octave.org> |
|
1903 |
|
1904 * Makefile.in (distclean): Also remove oct-types.h. |
|
1905 From Quentin Spencer <qspencer@ieee.org>. |
|
1906 |
5526
|
1907 2005-10-31 David Bateman <dbateman@free.fr> |
|
1908 |
|
1909 * dSparse.cc, CSparse.cc: Use C++ true/false instead of |
|
1910 preprocessor defined TRUE/FALSE. |
|
1911 |
5523
|
1912 2005-10-30 John W. Eaton <jwe@octave.org> |
|
1913 |
|
1914 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. |
|
1915 (MX_ND_CUMULATIVE_OP): Likewise. |
|
1916 |
5519
|
1917 2005-10-29 John W. Eaton <jwe@octave.org> |
|
1918 |
5520
|
1919 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
|
1920 things up. Simplify. |
|
1921 |
5519
|
1922 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
|
1923 case for "vector_equivalent". |
|
1924 |
|
1925 * Array-util.cc (vector_equivalent): Arg is now dim_vector. |
|
1926 |
5518
|
1927 2005-10-28 John W. Eaton <jwe@octave.org> |
|
1928 |
|
1929 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. |
|
1930 From Quentin Spencer <qspencer@ieee.org>. |
|
1931 |
|
1932 * sparse-base-chol.cc: Use C++ true/false instead of |
|
1933 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. |
|
1934 |
5516
|
1935 2005-10-27 John W. Eaton <jwe@octave.org> |
|
1936 |
|
1937 * Array.cc (assignN): Reshape to final size instead of resizing. |
|
1938 |
5512
|
1939 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1940 |
|
1941 * oct-sparse.h: New file. |
|
1942 * oct-sparse.h.in: Delete. |
|
1943 |
5511
|
1944 2005-10-26 David Bateman <dbateman@free.fr> |
|
1945 |
|
1946 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD |
|
1947 * sparse-base-chol.cc: ditto. |
|
1948 |
5508
|
1949 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1950 |
|
1951 Changes for GCC 4.1, tip from Arno J. Klaassen |
|
1952 <arno@heho.snv.jussieu.fr>: |
|
1953 |
5509
|
1954 * dSparse.h (real (const SparseComplexMatrix&)): |
|
1955 Publish externally used friend function. |
|
1956 (imag (const SparseComplexMatrix&)): Likewise. |
|
1957 |
5508
|
1958 * dColVector.h (real (const ComplexColumnVector&)): |
|
1959 Publish externally used friend function. |
|
1960 (imag (const ComplexColumnVector&)): Likewise. |
|
1961 |
|
1962 * dNDArray.h (real (const ComplexNDArray&)): |
|
1963 Publish externally used friend function. |
|
1964 (imag (const ComplexNDArray&)): Likewise. |
|
1965 |
|
1966 * dMatrix.h (operator * (const ComplexMatrix&)): |
|
1967 Move decl outside class. No need to be friend. |
|
1968 (real (const ComplexMatrix&)): Publish externally used friend function. |
|
1969 (imag (const ComplexMatrix&)): Likewise. |
|
1970 |
|
1971 * CMatrix.h: (operator * (const ColumnVector&, const |
|
1972 ComplexRowVector&)): Move decl outside class. No need to be friend. |
|
1973 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. |
|
1974 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): |
|
1975 Likewise. |
|
1976 |
5506
|
1977 2005-10-23 David Bateman <dbateman@free.fr> |
|
1978 |
|
1979 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
|
1980 elements need to be removed. |
|
1981 |
|
1982 * oct-sparse.h.in: Include metis headers and some macros for long/int |
|
1983 versions of cholmod. |
|
1984 |
|
1985 * CSparse.cc (tinverse): New private function for the inversion of |
|
1986 an upper triangular matrix. |
|
1987 (dinverse): ditto for diagonal matrices. |
|
1988 (inverse): Add SparseType as an argument. Implement matrix inverse |
|
1989 using tinverse and dinverse. |
|
1990 (fsolve): Use cholmod to implement Cholesky solver. |
|
1991 * CSparse.h (tinverse, dinverse): Declarations |
|
1992 (inverse): Alter declaration to include SparseType. |
|
1993 |
|
1994 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. |
|
1995 * dSparse.h (tinverse, dinverse, inverse): ditto. |
|
1996 |
|
1997 * SparseType.cc: Fix complex constructor for hermitian matrices. |
|
1998 |
|
1999 * sparse-util.cc: New file for sparse utility functions. |
|
2000 * sparse-util.h: New file with declarations of sparse utility |
|
2001 functions. |
|
2002 |
|
2003 * sparse-base-chol.cc: New file with sparse cholesky class based |
|
2004 on cholmod. |
|
2005 * sparse-base-chol.h: New file with declaration of sparse cholesky |
|
2006 class based on cholmod. |
|
2007 |
|
2008 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. |
|
2009 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. |
|
2010 |
|
2011 * SparsedbleCHOL.cc: ditto. |
|
2012 * SparsedbleCHOL.h: ditto. |
|
2013 |
|
2014 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. |
|
2015 (INCLUDES): Include sparse-util.h |
|
2016 (TEMPLATE_SRC): Include sparse-base-chol.cc |
|
2017 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc |
|
2018 |
5489
|
2019 2005-10-12 John W. Eaton <jwe@octave.org> |
|
2020 |
|
2021 * oct-env.cc (octave_env::have_x11_display): New function. |
|
2022 * oct-env.h: Provide decl. |
|
2023 |
5476
|
2024 2005-09-29 John W. Eaton <jwe@octave.org> |
|
2025 |
|
2026 * file-stat.h (file_stat::mode): New function. |
|
2027 |
|
2028 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, |
|
2029 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
2030 file_stat::is_reg, file_stat::is_sock): New static functions. |
|
2031 * file-stat.h: Provide decls. |
|
2032 |
|
2033 2005-09-28 John W. Eaton <jwe@octave.org> |
|
2034 |
|
2035 * file-ops.cc (file_ops::recursive_rmdir): New function. |
|
2036 * file-ops.h: Provide decl. |
|
2037 |
5454
|
2038 2005-09-19 David Bateman <dbateman@free.fr> |
|
2039 |
|
2040 * oct-env.cc (octave_env::do_get_home_directory): |
|
2041 Also check HOMEDRIVE under mingw. |
|
2042 |
5455
|
2043 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
|
2044 |
5453
|
2045 2005-09-16 John W. Eaton <jwe@octave.org> |
|
2046 |
|
2047 * oct-syscalls.cc: Include lo-utils.h here. |
|
2048 (octave_syscalls::waitpid): Call octave_waitpid here. |
|
2049 |
|
2050 * lo-cutils.c (octave_waitpid): New function. |
|
2051 * lo-utils.h: Provide decl. Include syswait.h here, not in |
|
2052 oct-syscalls.cc |
|
2053 |
|
2054 |
|
2055 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining |
|
2056 waitpid in src/sysdep.h. Make this header C-compatible. |
|
2057 |
|
2058 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. |
|
2059 Change all uses. |
|
2060 |
5451
|
2061 2005-09-15 John W. Eaton <jwe@octave.org> |
|
2062 |
|
2063 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. |
|
2064 |
|
2065 * oct-sparse.h.in: New file. |
|
2066 * Makefile.in (DISTFILES): Include it in the list. |
|
2067 (INCLUDES): Add oct-sparse.h to the list. |
|
2068 |
|
2069 2005-09-15 David Bateman <dbateman@free.fr> |
|
2070 |
|
2071 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
|
2072 headers. Remove include of umfpack.h. |
|
2073 * CSparse.cc : ditto. |
|
2074 * SparsedbleLU.cc : ditto. |
|
2075 * SparseCmplxLU.cc : ditto. |
|
2076 |
|
2077 * COLAMD : Remove colamd files from octave. |
|
2078 * COLAMD.files : delete. |
|
2079 * COLAMD.README : delete. |
|
2080 * Makefile.in: Remove COLAMD. Add LIBGLOB. |
|
2081 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
|
2082 under mingw. |
|
2083 |
|
2084 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR |
|
2085 in definition. |
|
2086 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with |
|
2087 change of cast not allowed under g++ 3.x. |
|
2088 * lo-utils.h (octave_w32_library_search): Declaration. |
|
2089 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. |
|
2090 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. |
|
2091 |
5442
|
2092 2005-09-07 John W. Eaton <jwe@octave.org> |
|
2093 |
|
2094 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update |
|
2095 based on current code in Bash. Handle a few more escape |
|
2096 sequences. Do a better job of decoding \W. |
|
2097 |
5438
|
2098 2005-09-04 David Bateman <dbateman@free.fr> |
|
2099 |
|
2100 * COLAMD: Update version of colamd to v2.4. |
|
2101 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
2102 colamd.c for long version. |
|
2103 |
5429
|
2104 2005-08-25 David Bateman <dbateman@free.fr> |
|
2105 |
|
2106 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
2107 mixed sparse/full multiply. |
|
2108 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
2109 mixed sparse/full multiply. |
|
2110 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
2111 mixed sparse/full multiply operators. |
|
2112 |
5420
|
2113 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
2114 |
|
2115 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
2116 avoid warnings for unsigned types. |
|
2117 |
5404
|
2118 2005-07-07 John W. Eaton <jwe@octave.org> |
|
2119 |
|
2120 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
2121 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
2122 |
5392
|
2123 2005-06-15 John W. Eaton <jwe@octave.org> |
|
2124 |
5394
|
2125 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
2126 Flush stdout here. |
|
2127 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
2128 |
5392
|
2129 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
2130 |
5386
|
2131 2005-06-14 John W. Eaton <jwe@octave.org> |
|
2132 |
5389
|
2133 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
2134 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
2135 octave_is_NaN_or_NA to xisnan. |
|
2136 |
|
2137 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
2138 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
2139 |
|
2140 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
2141 lo_ieee_isnan. |
|
2142 |
5387
|
2143 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
2144 value is greater than FLT_MAX. |
|
2145 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2146 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
2147 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
2148 |
|
2149 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
2150 values too. |
|
2151 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2152 |
|
2153 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
2154 NA, Inf values. |
|
2155 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
2156 |
5385
|
2157 2005-06-14 David Bateman <dbateman@free.fr> |
|
2158 |
5387
|
2159 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
2160 NA values. |
|
2161 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
2162 |
5379
|
2163 2005-06-02 John W. Eaton <jwe@octave.org> |
|
2164 |
|
2165 * Array.cc (assignN): Try harder to correctly resize previously |
|
2166 empty LHS. |
|
2167 |
5351
|
2168 2005-05-16 David Bateman <dbateman@free.fr> |
|
2169 |
|
2170 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
2171 * CSparse.h: ditto. |
|
2172 |
5346
|
2173 2005-05-10 David Bateman <dbateman@free.fr> |
|
2174 |
|
2175 * dSparse.cc (determinant): Free numeric factorization after |
|
2176 sucessful calculation. |
|
2177 * CSparse.cc (determinant): ditto. |
|
2178 |
5340
|
2179 2005-05-06 John W. Eaton <jwe@octave.org> |
|
2180 |
|
2181 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
2182 chol_mat. |
|
2183 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
2184 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
2185 Provide decls. |
|
2186 |
|
2187 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
2188 indexing chol_mat. |
|
2189 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
2190 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
2191 Provide decls. |
|
2192 |
5338
|
2193 2005-05-05 John W. Eaton <jwe@octave.org> |
|
2194 |
|
2195 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
2196 retval before return. |
|
2197 |
5336
|
2198 2005-05-04 John W. Eaton <jwe@octave.org> |
|
2199 |
|
2200 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
2201 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
2202 |
5330
|
2203 2005-05-02 John W. Eaton <jwe@octave.org> |
|
2204 |
|
2205 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
2206 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
2207 |
5322
|
2208 2005-04-29 David Bateman <dbateman@free.fr> |
|
2209 |
5330
|
2210 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
2211 double. Correct indexing for upper diagonal elements for sparse |
|
2212 tridiagonal. |
5322
|
2213 * CSparse.cc (trisolve): ditto. |
|
2214 |
5330
|
2215 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
2216 UMFPACK for 64-bit. |
5322
|
2217 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
2218 UMFPACK_ZNAME(*). |
|
2219 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
2220 |
5330
|
2221 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
2222 UMFPACK for 64-bit. |
5322
|
2223 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
2224 UMFPACK_DNAME(*). |
|
2225 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
2226 |
5330
|
2227 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
2228 triangular back/forward substitution code. |
5322
|
2229 * CSparse.cc (ltsolve, utsolve): ditto. |
|
2230 |
5330
|
2231 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
2232 from spparms("spumoni",1). |
5322
|
2233 * CSparse.cc (solve): ditto |
|
2234 |
5330
|
2235 * SparseType.cc (SparseType(void)): Print info for |
|
2236 spparms("spumoni",1). |
5322
|
2237 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
2238 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
2239 const octave_idx_type, const octave_idx_type)): New constructors. |
|
2240 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
2241 Detect row permuted lower triangular and column permuted upper |
|
2242 triangular matrices. Remove one of the permutation vectors.. |
5322
|
2243 |
|
2244 * SparseType.h: Simplify the permutation code. |
|
2245 (SparseType(const matrix_type), SparseType |
|
2246 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
2247 SparseType(const matrix_type, const octave_idx_type, |
|
2248 const octave_idx_type)): Declarations. |
|
2249 |
5304
|
2250 2005-04-25 John W. Eaton <jwe@octave.org> |
|
2251 |
|
2252 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
2253 array and its contents. |
|
2254 |
5303
|
2255 2005-04-22 John W. Eaton <jwe@octave.org> |
|
2256 |
|
2257 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
2258 const here now that rl_terminal_name is declared const char*. |
|
2259 |
5294
|
2260 2005-04-21 John W. Eaton <jwe@octave.org> |
|
2261 |
|
2262 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
2263 |
5285
|
2264 2005-04-19 John W. Eaton <jwe@octave.org> |
|
2265 |
|
2266 * Array.cc (assignN): Don't crash if the index list is empty. |
|
2267 |
5282
|
2268 2005-04-14 David Bateman <dbateman@free.fr> |
|
2269 |
|
2270 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
2271 * SparsedbleLU.cc: Ditto. |
|
2272 * SparseCmplxLU.h: Definition. |
|
2273 * SparsedbleLU.h: ditto. |
|
2274 |
|
2275 * SparseType.cc (transpose): New function. |
|
2276 * SparseType.h (transpose): Definition. |
|
2277 |
5278
|
2278 2005-04-11 John W. Eaton <jwe@octave.org> |
|
2279 |
|
2280 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
2281 fortran code that could end up calling XSTOPX. |
|
2282 |
5277
|
2283 2005-04-10 David Bateman <dbateman@free.fr> |
|
2284 |
|
2285 * Makefile.in: include oct-types in INCLUDES so that it is |
|
2286 installed |
|
2287 |
5275
|
2288 2005-04-08 John W. Eaton <jwe@octave.org> |
|
2289 |
5276
|
2290 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
2291 |
5275
|
2292 * Initial merge of 64-bit changes from Clinton Chee: |
|
2293 |
|
2294 2005-04-07 John W. Eaton <jwe@octave.org> |
|
2295 |
|
2296 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
2297 |
|
2298 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
2299 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
2300 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
2301 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
2302 Use octave_idx_type instead of int where needed. |
|
2303 |
|
2304 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2305 |
|
2306 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
2307 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2308 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2309 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
2310 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
2311 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2312 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
2313 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
2314 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
2315 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
2316 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
2317 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
2318 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
2319 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
2320 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
2321 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
2322 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
2323 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
2324 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
2325 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
2326 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
2327 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
2328 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
2329 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
2330 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
2331 str-vec.cc, str-vec.h: |
|
2332 Use octave_idx_type instead of int where needed. |
|
2333 |
|
2334 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2335 |
|
2336 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
2337 |
|
2338 * oct-types.h.in: New file. |
|
2339 |
|
2340 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2341 |
|
2342 * lo-utils.cc (NINTbig): New function. |
|
2343 * lo-utils.h: Provide decl. |
|
2344 |
5269
|
2345 2005-04-06 David Bateman <dbateman@free.fr> |
|
2346 |
|
2347 * Makefile.in: Link to UMFPACK_LIBS. |
|
2348 |
5265
|
2349 2005-04-05 John W. Eaton <jwe@octave.org> |
|
2350 |
|
2351 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
2352 |
5264
|
2353 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2354 |
|
2355 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
2356 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
2357 when resizing A. When performing the assignment, just check that |
|
2358 the number of elements in RHS matches the number of elements |
|
2359 indexed by IDX-LIST. |
|
2360 |
5260
|
2361 2005-03-30 John W. Eaton <jwe@octave.org> |
|
2362 |
5261
|
2363 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
2364 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
2365 |
|
2366 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
2367 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
2368 wrappers from oct-cmplx.h. |
5260
|
2369 |
|
2370 * oct-cmplx.h: Provide typedef only. |
|
2371 |
|
2372 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
2373 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
2374 Likewise. |
|
2375 |
5247
|
2376 2005-03-26 John W. Eaton <jwe@octave.org> |
|
2377 |
|
2378 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
2379 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
2380 |
5209
|
2381 2005-03-15 John W. Eaton <jwe@octave.org> |
|
2382 |
|
2383 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
2384 |
5203
|
2385 2005-03-14 John W. Eaton <jwe@octave.org> |
|
2386 |
|
2387 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
2388 (DISTDIRS): Don't include UMFPACK. |
|
2389 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
2390 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
2391 flags for these files. |
|
2392 Don't include include $(srcdir)/UMFPACK.files. |
|
2393 Don't include include $(srcdir)/UMFPACK.rules. |
|
2394 |
|
2395 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
2396 Delete files. |
|
2397 * UMFPACK: Delete directory tree. |
|
2398 |
|
2399 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
2400 * CSparse.cc: Likewise. |
|
2401 * SparsedbleLU.cc: Likewise. |
|
2402 * SparseCmplxLU.cc: Likewise. |
|
2403 |
|
2404 2005-03-14 David Bateman <dbateman@free.org> |
|
2405 |
|
2406 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
2407 Allow compilation to succeed if UMFPACK is not available. |
|
2408 |
5196
|
2409 2005-03-09 John W. Eaton <jwe@octave.org> |
|
2410 |
|
2411 * Makefile.in (bin-dist): Delete target. |
|
2412 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
2413 |
5173
|
2414 2005-03-01 John W. Eaton <jwe@octave.org> |
|
2415 |
|
2416 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
2417 * Makefile.in: Remove them from the lists. |
|
2418 |
5169
|
2419 2005-02-28 John W. Eaton <jwe@octave.org> |
|
2420 |
|
2421 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
2422 |
5167
|
2423 2005-02-27 David Bateman <dbateman@free.org> |
|
2424 |
5169
|
2425 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
2426 in the sparse matrix. |
5167
|
2427 |
5164
|
2428 2005-02-25 John W. Eaton <jwe@octave.org> |
|
2429 |
|
2430 Sparse merge. |
|
2431 |
|
2432 2005-02-13 David Bateman <dbateman@free.fr> |
|
2433 |
|
2434 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
2435 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
2436 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
2437 solver into separate functions for the diagonal, upper, lower |
|
2438 triangular, tridiagonal, banded and full cases. |
|
2439 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
2440 version that probes the matrix type and another that assumes the type |
|
2441 is passed. |
|
2442 |
|
2443 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
2444 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
2445 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
2446 (SparseMatrix::solve): Likewise |
|
2447 |
|
2448 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2449 Declaration of new functions |
|
2450 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2451 Likewise |
|
2452 |
|
2453 * CSparse.cc (operator !): Reverse the sense of the test. |
|
2454 * dSpase.cc (operator !): Likewise |
|
2455 |
|
2456 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2457 triangular_col_perm, sparse_info): Remove matrix type code |
|
2458 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2459 triangular_col_perm, sparse_info): Likewise |
|
2460 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2461 triangular_col_perm, sparse_info): Likewise |
|
2462 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2463 triangular_col_perm, sparse_info): Likewise |
|
2464 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2465 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
2466 |
|
2467 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
2468 |
|
2469 * SparseType.h: New class for the matrix type used in solvers |
|
2470 * SparseType.cc: methods of sparse matrix type class |
|
2471 |
|
2472 * Makefile.in: Add SparseType.cc |
|
2473 |
|
2474 2005-02-01 David Bateman <dbateman@free.fr> |
|
2475 |
|
2476 * UMFPACK: Update to version 4.4 |
|
2477 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
2478 keep octave specific test files |
|
2479 |
|
2480 2005-01-23 David Bateman <dbateman@free.fr> |
|
2481 |
|
2482 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
2483 tridiagonal and banded cholesky solvers. Remove calculation of |
|
2484 condition number for banded solvers. |
|
2485 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
2486 |
|
2487 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
2488 new functions. |
|
2489 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2490 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2491 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2492 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
2493 ditto |
|
2494 |
|
2495 * Sparse.cc (int Sparse<T>::type (int) const, |
|
2496 bool Sparse<T>::is_dense (void) const): New functions definition |
|
2497 |
|
2498 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
2499 so it actually is cached, but disable |
|
2500 |
|
2501 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
2502 for compatiability |
|
2503 |
|
2504 2005-01-18 David Bateman <dbateman@free.fr> |
|
2505 |
|
2506 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2507 Modify calculation of number elements to skip between copied blocks. |
|
2508 |
|
2509 2005-01-07 David Bateman <dbateman@free.fr> |
|
2510 |
|
2511 * Sparse.h : Reverse definitions of numel and nelem. |
|
2512 * Sparse.cc (assign1): Use numel and not nelem |
|
2513 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
2514 |
|
2515 2005-01-07 David Bateman <dbateman@free.fr> |
|
2516 |
|
2517 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
2518 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
2519 ComplexDET |
|
2520 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
2521 by DET |
|
2522 * dSparse.h (determinant): ditto |
|
2523 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
2524 SparseComplexDET by ComplexDET |
|
2525 * CSparse.h (determinant): ditto |
|
2526 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
2527 SparseCmplxDET.cc: delete files |
|
2528 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
2529 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
2530 |
|
2531 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
2532 local variable to avoid variable shadowing. |
|
2533 * dSparse.cc (SparseMatrix::solve): ditto. |
|
2534 |
|
2535 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
2536 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
2537 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
2538 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
2539 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
2540 sparse-sort.h: Remove additional licensing clause with authors |
|
2541 permission. |
|
2542 |
|
2543 2004-12-30 John W. Eaton <jwe@octave.org> |
|
2544 |
|
2545 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
2546 Loop counter is int, not size_t. |
|
2547 |
|
2548 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
2549 |
|
2550 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
2551 |
|
2552 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
2553 Delete unused variables. |
|
2554 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
2555 variables and variables that might be clobbered by longjmp. |
|
2556 |
|
2557 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
2558 min, max): Delete unused variables. |
|
2559 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
2560 variables and variables that might be clobbered by longjmp. |
|
2561 |
|
2562 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
2563 |
|
2564 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
2565 Loop counter is int, not size_t. |
|
2566 |
|
2567 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
2568 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
2569 |
|
2570 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
2571 lists consistently. |
|
2572 |
|
2573 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
2574 |
|
2575 2004-12-29 John W. Eaton <jwe@octave.org> |
|
2576 |
|
2577 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
2578 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
2579 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
2580 $(UMFPACK_EXTRAS) to the list. |
|
2581 (DISTDIRS): New variable. |
|
2582 (dist): Handle $(DISTDIRS). |
|
2583 |
|
2584 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
2585 Andy Adler <adler@site.uottawa.ca>. |
|
2586 |
|
2587 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
2588 |
|
2589 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
2590 without directory prefix. |
|
2591 |
|
2592 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
2593 $(UMFPACK_OBJ) to the list. |
|
2594 |
|
2595 * COLAMD: New directory. |
|
2596 * COLAMD.files: New file. |
|
2597 * Makefile.in: Include COLAMD.files. |
|
2598 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
2599 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
2600 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
2601 |
|
2602 * UMFPACK: New directory. |
|
2603 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
2604 New files. |
|
2605 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
2606 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
2607 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
2608 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
2609 |
|
2610 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
2611 (INCLUDES): Add it to the list. |
|
2612 (SPARSE_MX_OP_SRC): New variable. |
|
2613 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
2614 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2615 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2616 |
|
2617 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
2618 * Makefile.in (DISTFILES): Add them to the lists. |
|
2619 |
|
2620 * oct-spparms.h, sparse-sort.h: New files. |
|
2621 * Makefile.in (INCLUDES): Add them to the list. |
|
2622 |
|
2623 * oct-spparms.cc, sparse-sort.cc: New files. |
|
2624 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
2625 |
|
2626 * sparse-base-lu.cc: New file. |
|
2627 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
2628 |
|
2629 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
2630 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
2631 SparsedbleLU.cc: New files. |
|
2632 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
2633 |
|
2634 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
2635 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
2636 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
2637 Sparse-op-defs.h: New files. |
|
2638 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
2639 |
|
2640 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
2641 Sparse-C.cc: New files. |
|
2642 * Makefile.in (TI_SRC): Add them to the list. |
|
2643 |
5149
|
2644 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2645 |
|
2646 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
2647 Pass current directory to octave_env::make_absolute. |
|
2648 Save value returned from octave_env::make_absolute in local var. |
|
2649 Pass const char*, not std::string as first arg of resolvepath. |
|
2650 Provide decl for resolved_len. |
|
2651 |
5148
|
2652 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2653 |
|
2654 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
2655 than number of dimenensions of permuted matrix. |
|
2656 |
|
2657 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
2658 * Array-util.cc (calc_permutated_idx): Likewise. |
|
2659 |
5139
|
2660 2005-02-10 David Bateman <dbateman@free.fr> |
|
2661 |
|
2662 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
2663 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
2664 |
5137
|
2665 2005-02-09 John W. Eaton <jwe@octave.org> |
|
2666 |
5138
|
2667 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
2668 * file-ops.h: Provide decls. |
|
2669 |
5137
|
2670 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
2671 |
5136
|
2672 2005-02-08 John W. Eaton <jwe@octave.org> |
|
2673 |
|
2674 * Array-util.cc (freeze): Improve error message. |
|
2675 |
5120
|
2676 2005-01-26 David Bateman <dbateman@free.fr> |
|
2677 |
5121
|
2678 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
2679 special case for fast concatenation. |
5120
|
2680 |
5110
|
2681 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2682 |
|
2683 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
2684 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
2685 |
|
2686 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
2687 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
2688 |
5108
|
2689 2005-01-18 David Bateman <dbateman@free.fr> |
|
2690 |
|
2691 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2692 Modify calculation of number elements to skip between copied blocks. |
|
2693 |
|
2694 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2695 |
|
2696 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
2697 error handler, to warn about resizing. |
|
2698 |
5105
|
2699 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
2700 |
|
2701 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
2702 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
2703 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
2704 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2705 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
2706 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
2707 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
2708 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
2709 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
2710 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
2711 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
2712 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
2713 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
2714 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
2715 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
2716 Delete #pragma implementation. |
|
2717 |
|
2718 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
2719 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
2720 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
2721 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
2722 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
2723 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
2724 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
2725 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
2726 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
2727 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2728 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
2729 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
2730 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
2731 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
2732 Delete #pragma interface. |
|
2733 |
5098
|
2734 2004-12-17 John W. Eaton <jwe@octave.org> |
|
2735 |
|
2736 * lo-cieee.c (lo_ieee_signbit): New function. |
|
2737 * lo-ieee.h: Provide decl. |
|
2738 Don't define lo_ieee_signbit as a macro here. |
|
2739 From Orion Poplawski <orion@cora.nwra.com>. |
|
2740 |
5085
|
2741 2004-11-18 John W. Eaton <jwe@octave.org> |
|
2742 |
|
2743 * int32NDArray.cc (pow): Delete instantiation. |
|
2744 * int16NDArray.cc (pow): Likewise. |
|
2745 * int8NDArray.cc (pow): Likewise. |
|
2746 * uint32NDArray.cc (pow): Likewise. |
|
2747 * uint16NDArray.cc (pow): Likewise. |
|
2748 * uint8NDArray.cc (pow): Likewise. |
|
2749 |
5081
|
2750 2004-11-17 John W. Eaton <jwe@octave.org> |
|
2751 |
5085
|
2752 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
2753 Now static. |
|
2754 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
2755 DEFAULT_TEXMFDBS): Delete unused macros. |
|
2756 |
5081
|
2757 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
2758 if idx_arg is N-d. |
|
2759 |
5073
|
2760 2004-11-09 David Bateman <dbateman@free.fr> |
|
2761 |
|
2762 * dNDArray.cc (concat): Delete. |
|
2763 (NDArray::concat): New methods. |
|
2764 * dNDArray.h: Provide decls. |
|
2765 |
|
2766 * CNDArray.cc (concat): Delete. |
|
2767 (ComplexNDArray::concat): New methods. |
|
2768 * CNDArray.h: Provide decls. |
|
2769 |
|
2770 * boolNDArray.cc (concat): Delete. |
|
2771 (boolNDArray::concat): New methods. |
|
2772 * boolNDArray.h: Provide decls. |
|
2773 |
|
2774 * chNDArray.cc (concat): Delete. |
|
2775 (charNDArray::concat): New methods. |
|
2776 * chNDArray.h: Provide decls. |
|
2777 |
|
2778 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
2779 Delete macros. |
|
2780 |
|
2781 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2782 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2783 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
2784 |
|
2785 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
2786 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2787 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
2788 |
|
2789 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
2790 * intNDArray.h: Provide decl. |
|
2791 |
5072
|
2792 2004-11-08 John W. Eaton <jwe@octave.org> |
|
2793 |
|
2794 * oct-inttypes.cc: New file. |
|
2795 * Makefile.in (TI_SRC): Add it to the list. |
|
2796 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
2797 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
2798 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
2799 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
2800 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
2801 New macros for comparison operations. Avoid potential |
|
2802 problems with default conversions when comparing signed and |
|
2803 unsigned values. |
|
2804 |
5061
|
2805 2004-11-03 John W. Eaton <jwe@octave.org> |
|
2806 |
|
2807 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
2808 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
2809 |
5052
|
2810 2004-10-19 John W. Eaton <jwe@octave.org> |
|
2811 |
|
2812 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
2813 |
5047
|
2814 2004-10-18 John W. Eaton <jwe@octave.org> |
|
2815 |
|
2816 * Array.cc (assign2): Save result of squeeze operation. |
|
2817 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
2818 |
5095
|
2819 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
2820 |
|
2821 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
2822 flag whether transform in- or out-of-place. |
|
2823 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
2824 (octave_fftw_planner::create_plan): Use it. |
|
2825 |
5039
|
2826 2004-09-24 John W. Eaton <jwe@octave.org> |
|
2827 |
|
2828 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
2829 any empty matrix, not just []. |
|
2830 |
5030
|
2831 2004-09-23 John W. Eaton <jwe@octave.org> |
|
2832 |
|
2833 * mx-ops: Include scalar zero value in type definitions. |
|
2834 Delete zero information from ops section. |
|
2835 * mk-ops.awk: Use type-specific zero info. |
|
2836 |
|
2837 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
2838 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
2839 LHS and RHS. |
|
2840 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
2841 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
2842 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
2843 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
2844 |
|
2845 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
2846 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
2847 tree_to_mat_idx. |
|
2848 |
|
2849 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
2850 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
2851 Likewise for the "if (b_val & one)" test. |
|
2852 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
2853 |
5029
|
2854 2004-09-23 David Bateman <dbateman@free.fr> |
|
2855 |
|
2856 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
2857 New macros. Use them to define mixed intX-double and double-intX ops. |
|
2858 |
5021
|
2859 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
2860 |
|
2861 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
2862 Fix doc string layout to avoid overfull hbox in printed output. |
|
2863 |
5015
|
2864 2004-09-21 John W. Eaton <jwe@octave.org> |
|
2865 |
|
2866 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
2867 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
2868 For "native", set actual native format. |
|
2869 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
2870 |
5008
|
2871 2004-09-17 David Bateman <dbateman@free.fr> |
|
2872 |
|
2873 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
2874 calculation of the unitary matrix optional. |
|
2875 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
2876 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
2877 |
4998
|
2878 2004-09-15 David Bateman <dbateman@free.fr> |
|
2879 |
|
2880 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
2881 New function to set the comparison function for the sort. |
|
2882 |
4985
|
2883 2004-09-10 John W. Eaton <jwe@octave.org> |
|
2884 |
|
2885 * lo-mappers.cc (xround): Fix typo. |
|
2886 |
4979
|
2887 2004-09-08 John W. Eaton <jwe@octave.org> |
|
2888 |
|
2889 * Array.h (Array::~Array): Declare virtual. |
|
2890 |
|
2891 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
2892 initializaion list. Don't set rep->count since the rep |
|
2893 constructor does that. |
|
2894 |
4968
|
2895 2004-09-07 John W. Eaton <jwe@octave.org> |
|
2896 |
4970
|
2897 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
2898 (oct_data_conv::data_type_as_string): Likewise. |
|
2899 |
|
2900 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
2901 |
4968
|
2902 * Range.cc (round): Delete unused function. |
|
2903 |
|
2904 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
2905 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
2906 |
|
2907 * oct-inttypes.h: Include <cmath> here. |
|
2908 |
4964
|
2909 2004-09-03 David Bateman <dbateman@free.fr> |
|
2910 |
|
2911 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
2912 New functions for boolean matrix concatenation. |
|
2913 * boolNDArray.h: Provide decls. |
|
2914 |
4963
|
2915 2004-09-03 John W. Eaton <jwe@octave.org> |
|
2916 |
4964
|
2917 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
2918 to avoid signed/unsigned int comparison problems. |
|
2919 |
|
2920 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
2921 for mixed integer and double types. |
|
2922 |
|
2923 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
2924 separately, and only if needed. |
|
2925 |
4963
|
2926 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
2927 static_cast for type conversion. |
|
2928 |
4953
|
2929 2004-09-01 John W. Eaton <jwe@octave.org> |
|
2930 |
|
2931 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
2932 operator /): Handle mixed integer/double ops. If op generates a |
|
2933 NaN, set result to 0. |
|
2934 (octave_int::operator - (void)): Convert to double, then negate, |
|
2935 then fit to range. |
|
2936 |
|
2937 * mx-ops: Define integer types. Include declarations for mixed |
|
2938 integer/double ops. |
|
2939 |
4952
|
2940 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2941 |
|
2942 * oct-inttypes.h (pow): Args now const reference. |
|
2943 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
2944 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
2945 New member functions. |
|
2946 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
2947 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
2948 Define in terms of >>=. |
|
2949 (operator << (const octave_int<T1>& x, const T2& y)): |
|
2950 Define in terms of <<=. |
|
2951 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
2952 we get proper saturation properties. |
|
2953 |
|
2954 2004-08-31 David Bateman <dbateman@free.fr> |
|
2955 |
|
2956 * oct-inttypes.h (pow (constT, T)): New template. |
|
2957 |
|
2958 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
2959 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
2960 |
4949
|
2961 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2962 |
|
2963 * oct-inttypes.h (octave_int::byte_size): New function. |
|
2964 |
4944
|
2965 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2966 |
4946
|
2967 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
2968 |
4944
|
2969 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
2970 Explicitly number enum elements. |
|
2971 |
|
2972 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
2973 std::string&, int&, oct_data_conv::data_type&, |
|
2974 oct_data_conv::data_type&)): New function. |
|
2975 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
2976 oct_data_conv::data_type&)): New function. |
|
2977 (oct_data_conv::data_type_as_string): New function. |
|
2978 |
|
2979 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
2980 (write_int, do_write, Matrix::write): Delete. |
|
2981 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
2982 |
|
2983 * byte-swap.h: Use template functions and specialization. |
|
2984 Change all uses. |
|
2985 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2986 |
4943
|
2987 2004-08-30 John W. Eaton <jwe@octave.org> |
|
2988 |
|
2989 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
2990 specializations to avoid warnings about signed/unsigned comparisons. |
|
2991 |
|
2992 2004-08-28 John W. Eaton <jwe@octave.org> |
|
2993 |
|
2994 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
2995 size_t, int, oct_mach_info::float_format)): New function. |
|
2996 (GET_SIZED_INT_TYPE): New macro. |
|
2997 (string_to_data_type): Use it to return sized types corresponding |
|
2998 to Octave array data types. |
|
2999 (strip_spaces): New function. |
|
3000 (do_double_format_conversion, do_float_format_conversion): Pass |
|
3001 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
3002 float format. |
|
3003 (do_double_format_conversion, |
|
3004 IEEE_big_double_to_IEEE_little_double, |
|
3005 VAX_D_double_to_IEEE_little_double, |
|
3006 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
3007 IEEE_little_double_to_IEEE_big_double, |
|
3008 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
3009 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
3010 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
3011 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
3012 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
3013 Cray_to_VAX_G_double): |
|
3014 Pass data as void*, not double*. |
|
3015 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
3016 VAX_D_float_to_IEEE_little_float, |
|
3017 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
3018 IEEE_little_float_to_IEEE_big_float, |
|
3019 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
3020 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
3021 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
3022 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
3023 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
3024 Cray_to_VAX_G_float): |
|
3025 Pass data as void*, not float*. |
|
3026 |
|
3027 2004-08-27 John W. Eaton <jwe@octave.org> |
|
3028 |
|
3029 * byte-swap.h (swap_bytes): New template versions, with |
|
3030 specializations. |
|
3031 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
3032 Change all uses. |
|
3033 |
4940
|
3034 2004-08-24 David Bateman <dbateman@free.fr> |
|
3035 |
|
3036 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
3037 empty instead of checking final matrix. |
|
3038 * dNDArray.cc (concat): Likewise. |
|
3039 * CNDArray.cc (concat): Likewise. |
|
3040 |
|
3041 2004-08-23 David Bateman <dbateman@free.fr> |
|
3042 |
|
3043 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
3044 non-existent dimensions. |
|
3045 |
4938
|
3046 2004-08-09 John W. Eaton <jwe@octave.org> |
|
3047 |
|
3048 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
3049 (const octave_int<U>&)): New member function. |
|
3050 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
3051 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
3052 Now member functions instead of static in idx-vector.cc. |
|
3053 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
3054 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
3055 New template constructors. |
|
3056 |
4932
|
3057 2004-08-05 John W. Eaton <jwe@octave.org> |
|
3058 |
4933
|
3059 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
3060 |
4932
|
3061 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
3062 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
3063 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
3064 |
4929
|
3065 2004-08-03 John W. Eaton <jwe@octave.org> |
|
3066 |
|
3067 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
3068 arrays with more than two dimensions and only one non-singleton |
|
3069 dimension, return a column vector. |
|
3070 |
4921
|
3071 2004-07-28 John W. Eaton <jwe@octave.org> |
|
3072 |
|
3073 * oct-cmplx.h (pow (const Complex&, const double&): |
|
3074 Convert second arg to complex to avoid libstdc++ bug. |
|
3075 |
4920
|
3076 2004-07-27 John W. Eaton <jwe@octave.org> |
|
3077 |
|
3078 * oct-inttypes.h (bitshift): New arg, MASK. |
|
3079 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
3080 |
4916
|
3081 2004-07-23 John W. Eaton <jwe@octave.org> |
|
3082 |
|
3083 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
3084 |
4915
|
3085 2004-07-23 David Bateman <dbateman@free.fr> |
|
3086 |
|
3087 * Array.cc, Array.h (cat_ra): Delete. |
|
3088 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
3089 (INSTANTIATE_ARRAY_CAT): Delete. |
|
3090 |
|
3091 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3092 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
3093 |
|
3094 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
3095 |
|
3096 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3097 chNDArray.h (concat): New function used for concatenation that does |
|
3098 an indexed copy of one array into another. |
|
3099 |
|
3100 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
3101 |
|
3102 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3103 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
3104 insertion of one NDArray into another. |
|
3105 |
|
3106 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
3107 macros to define the int/uint concatenation functions. |
|
3108 |
|
3109 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
3110 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
3111 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
3112 |
|
3113 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
3114 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
3115 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
3116 functions. |
|
3117 |
4911
|
3118 2004-07-22 David Bateman <dbateman@free.fr> |
|
3119 |
|
3120 * oct-sort.h: Don't include oct-obj.h. |
|
3121 |
|
3122 * lo-specfun.cc (is_integer_value): New function. |
|
3123 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
3124 integer orders that cause overflow for small arguments. |
|
3125 |
4909
|
3126 2004-07-12 John W. Eaton <jwe@octave.org> |
|
3127 |
|
3128 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
3129 (bitshift (const octave_int<T>&, int)): New function. |
|
3130 |
4902
|
3131 2004-06-14 John W. Eaton <jwe@octave.org> |
|
3132 |
|
3133 * mx-base.h: Include headers for new int types. |
|
3134 |
|
3135 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
3136 NDArray::NDArray (const charNDArray&)): Delete. |
|
3137 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
3138 constructor. |
|
3139 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3140 |
|
3141 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
3142 return type conversion. |
|
3143 |
|
3144 * ComplexNDArray.h, ComplexNDArray.cc |
|
3145 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
3146 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3147 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3148 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
3149 |
|
3150 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3151 |
|
3152 * MArrayN.h: |
|
3153 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
3154 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
3155 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
3156 New constructors. |
|
3157 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3158 ArrayN<T>::squeeze): |
|
3159 New forwarding functions for return type conversion. |
|
3160 |
|
3161 * ArrayN.h: |
|
3162 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
3163 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
3164 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
3165 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
3166 const dim_vector&)): New constructors. |
|
3167 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3168 ArrayN<T>::transpose): |
|
3169 New forwarding functions for return type conversion. |
|
3170 |
|
3171 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
3172 New constructor. |
|
3173 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
3174 |
|
3175 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
3176 |
|
3177 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
3178 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
3179 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
3180 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
3181 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
3182 * Makefile.in: Add them to the appropriate lists. |
|
3183 |
4899
|
3184 2004-06-04 John W. Eaton <jwe@octave.org> |
|
3185 |
|
3186 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
3187 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
3188 resize op. Change all uses. |
|
3189 |
4898
|
3190 2004-06-03 David Bateman <dbateman@free.fr> |
|
3191 |
|
3192 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
3193 greater than the existing number of dimensions in lvalue. |
|
3194 |
4887
|
3195 2004-04-30 David Bateman <dbateman@free.fr> |
|
3196 |
|
3197 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
3198 New arg, fill_value. |
|
3199 (dim_vector::resize): Allow optional fill_value argument. |
|
3200 |
|
3201 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3202 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
3203 more than one element in idx_vector. Resize the return value to |
|
3204 the size of Array<idx_vector>. |
|
3205 |
|
3206 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
3207 idx_vector that is shorter than a dim_vector. |
|
3208 |
4882
|
3209 2004-04-23 John W. Eaton <jwe@octave.org> |
|
3210 |
|
3211 * oct-sort.cc: Don't include oct-obj.h. |
|
3212 |
4876
|
3213 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3214 |
|
3215 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
3216 Don't set invalid dimensions on return value. |
|
3217 |
4871
|
3218 2004-04-21 John W. Eaton <jwe@octave.org> |
|
3219 |
|
3220 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
3221 |
4850
|
3222 2004-04-06 David Bateman <dbateman@free.fr> |
|
3223 |
4870
|
3224 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
3225 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
3226 Make their behavior equivalent except for filling vs. not filling. |
|
3227 |
4850
|
3228 * oct-sort.cc: New template class for arbitrary sorting. |
|
3229 * oct-sort.h: Declaration of sort class. |
|
3230 * Makefile: Add them to the appropriate lists. |
|
3231 |
4845
|
3232 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3233 |
|
3234 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
3235 |
4844
|
3236 2004-04-02 David Bateman <dbateman@free.fr> |
|
3237 |
|
3238 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
3239 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
3240 New N-d array versions. |
4844
|
3241 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
3242 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
3243 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
3244 |
|
3245 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
3246 New functions. |
|
3247 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
3248 |
|
3249 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3250 New functions. |
|
3251 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3252 Provide decls. |
|
3253 |
4842
|
3254 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
3255 |
|
3256 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
3257 work vector, not just when using a numerical Jacobian. |
|
3258 |
4834
|
3259 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3260 |
4835
|
3261 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
3262 Omit empty result args. |
|
3263 |
4834
|
3264 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
3265 Move here from Array.h, check that size of array arg is not |
|
3266 smaller than the size defined by the new dimensions. |
|
3267 |
4832
|
3268 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3269 |
|
3270 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
3271 a scalar or vector with an N-d array. |
|
3272 |
4826
|
3273 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3274 |
4828
|
3275 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
3276 matrix, return object that is the same size as the index. |
|
3277 |
4826
|
3278 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
3279 Eliminate MT_RESULT args. Return value is always size of args. |
|
3280 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
3281 Eliminate EMPTY_RESULT arg. |
|
3282 Return value is always size of matrix or N-d array arg. |
|
3283 (TBM, FBM, NBM): Delete unused macros. |
|
3284 |
4821
|
3285 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3286 |
|
3287 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
3288 if all LHS dimensions are zero. For one index case, freeze and |
|
3289 sort idx_vec before checking length, and do nothing if |
|
3290 num_to_delete is zero. |
4822
|
3291 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
3292 |
4816
|
3293 2004-03-04 David Bateman <dbateman@free.fr> |
|
3294 |
|
3295 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
3296 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
3297 |
4811
|
3298 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
3299 |
|
3300 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
3301 element. |
|
3302 |
|
3303 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3304 |
|
3305 * Range.h (Range::Range): Add cache to member initialization list. |
|
3306 (Range::clear_cache): New private function. |
|
3307 |
|
3308 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
3309 Use clear cache. Don't do anything if range does not change. |
|
3310 * Range.cc (Range::sort): Likewise. |
|
3311 |
4810
|
3312 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
3313 |
|
3314 * Range.cc (Range::matrix_value): Cache result. |
|
3315 (Range::sort): Clear cache. |
|
3316 * Range.h (Range::cache): New data member. |
|
3317 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
3318 (Range::print_range): Delete. |
4808
|
3319 |
|
3320 2004-03-02 David Bateman <dbateman@free.fr> |
|
3321 |
|
3322 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
3323 changes between them. Faster for small fft's. |
|
3324 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
3325 New member variables. |
|
3326 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
3327 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
3328 Change all uses. |
|
3329 (CHECK_SIMD_ALIGNMENT): New macro. |
|
3330 (octave_fftw_planner::create_plan): Use it. |
|
3331 |
4806
|
3332 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
3333 |
|
3334 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
3335 |
|
3336 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
3337 |
|
3338 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
3339 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
3340 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
3341 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
3342 |
|
3343 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
3344 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
3345 |
4800
|
3346 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3347 |
4802
|
3348 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
3349 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
3350 octave_rl_get_event_hook): Omit casts. |
|
3351 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
3352 Return value for function pointer typedef is now int. |
|
3353 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
3354 command_editor::event_hook_fcn): Likewise. |
|
3355 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
3356 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
3357 Return type is now int. Return 0. |
|
3358 |
4800
|
3359 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
3360 Query Lapack for workspace size. |
|
3361 |
4796
|
3362 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3363 |
|
3364 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
3365 Fix thinko in extending dimensions. |
|
3366 |
4791
|
3367 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3368 |
|
3369 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
3370 Don't compute values beyond the limits of the range. |
|
3371 (operator << (std::ostream&, const Range&)): Likewise. |
|
3372 |
4786
|
3373 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3374 |
4788
|
3375 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
3376 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
3377 From Paul Kienzle <pkienzle@users.sf.net>. |
|
3378 |
4786
|
3379 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
3380 Rename from Array<T>::insert. |
|
3381 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
3382 Reinstate old Array<T>::insert function under this name. |
|
3383 (Array<T>::insert (const Array<T>&, int, int)): |
|
3384 New function. Dispatch to insert2 or insertN as appropriate. |
|
3385 |
4785
|
3386 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3387 |
|
3388 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3389 Sprinkle with OCTAVE_QUIT. |
|
3390 |
5095
|
3391 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
3392 |
|
3393 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
3394 Add support for FFTW 3.x. Include the ability to |
|
3395 use the real to complex transform for fft's of real matrices |
|
3396 (octave_fftw_planner::create_plan2d): Delete. |
|
3397 (octave_fftw::fft2d): Delete. |
|
3398 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3399 New static functions. |
|
3400 * oct-fftw.h: Update decls. |
|
3401 |
|
3402 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
3403 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
3404 transforms. 1D FFT of a matrix done as single call rather than |
|
3405 loop. Update for FFTW 3.x |
|
3406 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
3407 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
3408 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
3409 |
|
3410 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
3411 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
3412 functions for Nd arrays. |
|
3413 * dNArray.h Provide decls. |
|
3414 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
3415 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
3416 fourier transform functions for complex Nd arrays. |
|
3417 * CNArray.h: Provide decls. |
|
3418 |
4765
|
3419 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
3420 |
|
3421 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
3422 Make it work for N-d arrays. |
|
3423 |
|
3424 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
3425 New function. |
|
3426 |
|
3427 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
3428 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
3429 New functions. |
|
3430 * CNDArray.h: Provide decls. |
|
3431 |
4759
|
3432 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3433 |
4760
|
3434 * Makefile.in (LINK_DEPS): Always define. |
|
3435 |
4759
|
3436 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
3437 least two dimensions. |
|
3438 |
4758
|
3439 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3440 |
|
3441 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
3442 * dNDArray.cc (NDArray::cat): New function. |
|
3443 * dNDArray.h: Provide decls. |
|
3444 * CNDArray.cc (complexNDArray::cat): New function. |
|
3445 * CNDArray.h: Provide decls. |
|
3446 * chNDArray.cc (charNDArray::cat): New function. |
|
3447 * chNDArray.h: Provide decls. |
|
3448 |
4756
|
3449 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3450 |
|
3451 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
3452 (Array<T>assign2): Also call maybe_delete_elements for single |
|
3453 index when rows and columns or LHS are both greater than 1. |
|
3454 |
4755
|
3455 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3456 |
|
3457 * Array.cc (Array<T>::maybe_delete_elements): |
|
3458 Check for index out of bounds. Handle one index. |
|
3459 |
|
3460 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
3461 dim_vector (0) to create empty return vector. |
|
3462 |
4749
|
3463 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3464 |
|
3465 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
3466 non-empty LHS when the number of lhs dimensions is less than the |
|
3467 number of indices. Detect error if attempting to resize non-empty |
|
3468 LHS with colon indices. |
|
3469 |
4745
|
3470 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3471 |
4747
|
3472 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
3473 values unless the length of the new array is greater than 0. |
|
3474 (Array<T>::resize_no_fill): Likewise. |
|
3475 |
|
3476 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
3477 is equal to dimensions(i). |
|
3478 |
|
3479 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
3480 get_zero_len_size, number_of_elements): |
|
3481 Delete unused functions. |
|
3482 |
|
3483 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
3484 number_of_elements function. |
|
3485 * Array.cc (Array<T>::indexN): Likewise. |
|
3486 |
|
3487 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
3488 of equal_arrays function. |
|
3489 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
3490 dim_vector::any_zero instead of any_zero_len function. |
|
3491 |
|
3492 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
3493 Don't skip reshaping and resizing if RHS is empty. |
|
3494 |
4746
|
3495 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
3496 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
3497 Delete unused variables is_colon and is_colon_equiv. |
4746
|
3498 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
3499 LHS is not yet defined. |
4745
|
3500 Error for resizing if number of indices is less than number of LHS |
|
3501 dimensions. |
|
3502 |
4746
|
3503 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
3504 Fortran-style indexing. |
|
3505 |
4743
|
3506 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3507 |
|
3508 * Array.cc (Array<T>::assignN): Simplify. |
|
3509 Allow assignments to succeed if number if indices is less than the |
|
3510 number of RHS dimensions. |
|
3511 |
4738
|
3512 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3513 |
4741
|
3514 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
3515 when number of indices is less than number of dimensions. |
|
3516 |
|
3517 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
3518 Remove unsued variable lhs_inc. |
|
3519 |
4740
|
3520 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
3521 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
3522 |
|
3523 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
3524 |
4738
|
3525 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
3526 == n_dims before checking to see if all indices are colon_equiv. |
|
3527 |
4736
|
3528 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3529 |
|
3530 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
3531 deleting elements. |
4737
|
3532 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
3533 at least ndims elements. |
4736
|
3534 |
4735
|
3535 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3536 |
|
3537 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
3538 oriented differently from the index. |
|
3539 |
|
3540 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
3541 least two dimensions. |
|
3542 |
4733
|
3543 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3544 |
4735
|
3545 * dim-vector.h (dim_vector::squeeze): New function. |
|
3546 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
3547 deciding whether the assignment conforms. |
|
3548 |
4733
|
3549 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
3550 comparing rhs_dims and frozen_len sans trailing singletons. |
|
3551 |
4732
|
3552 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3553 |
|
3554 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
3555 Call error handler and return conversion_error == true if arg is |
|
3556 not integer. |
|
3557 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
3558 |
4730
|
3559 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3560 |
|
3561 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
3562 reference arg const. |
|
3563 |
|
3564 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3565 |
|
3566 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
3567 |
4729
|
3568 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
3569 |
|
3570 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
3571 Now bool, to match definition in Array-flags.cc. |
|
3572 |
4725
|
3573 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3574 |
4726
|
3575 * file-ops.cc: Include <vector> instead of <memory> for new |
|
3576 definition of OCTAVE_LOCAL_BUFFER. |
|
3577 |
4725
|
3578 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
3579 New arg, calc_eigenvectors. |
|
3580 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
3581 Based on patch from David Bateman <dbateman@free.fr>. |
|
3582 |
4716
|
3583 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3584 |
|
3585 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
3586 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
3587 |
|
3588 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
3589 |
4711
|
3590 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3591 |
4714
|
3592 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
3593 Simplify calculation of number of elements in retval. |
|
3594 |
4711
|
3595 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
3596 filling when RHS is scalar and dimension lengths agree. |
|
3597 |
4710
|
3598 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3599 |
4713
|
3600 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
3601 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
3602 |
4707
|
3603 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3604 |
4709
|
3605 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
3606 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
3607 |
4702
|
3608 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
3609 |
4703
|
3610 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
3611 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
3612 |
|
3613 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
3614 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
3615 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
3616 Make sure index is in bounds. |
4702
|
3617 |
4698
|
3618 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3619 |
|
3620 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
3621 octave_NaN, and octav_NA values are always initialized. Check |
|
3622 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
3623 to decide whether to do IEEE initialization. |
|
3624 |
4687
|
3625 2004-01-06 David Bateman <dbateman@free.fr> |
|
3626 |
|
3627 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
3628 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
3629 ComplexNDArray::too_large_for_float): New functions |
|
3630 |
|
3631 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
3632 * CNDArray.h: Provide decls. |
|
3633 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
3634 * dNDArray.h: Provide decls. |
|
3635 |
4673
|
3636 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3637 |
4674
|
3638 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
3639 they are already defined in boolNDArray.cc. |
|
3640 |
4673
|
3641 * Array-util.cc (get_zero_len_size): Delete. |
|
3642 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3643 Handle zero-length result dimensions the same as empty original |
|
3644 indices. |
|
3645 |
|
3646 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3647 |
|
3648 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
3649 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
3650 New functions. |
|
3651 * Array.cc (ArrayN<T>::indexN): Use it. |
|
3652 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
3653 |
4669
|
3654 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3655 |
|
3656 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
3657 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
3658 |
|
3659 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3660 |
|
3661 * mk-ops.awk: Also emit #include "Array-util.h". |
|
3662 |
|
3663 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
3664 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
3665 |
|
3666 * MArray-misc.cc: Delete. |
|
3667 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
3668 |
|
3669 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
3670 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
3671 |
4655
|
3672 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3673 |
4663
|
3674 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
3675 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
3676 |
|
3677 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
3678 two-arg getgrnam version. |
|
3679 |
4657
|
3680 * Array.cc (assignN): Allow single indexing to work. |
4661
|
3681 (Array<T>::range_error (const char*, const Array<int>&)): |
|
3682 Report index values. |
|
3683 |
|
3684 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
3685 * ODESSA.cc (odessa_j): Likewise. |
|
3686 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
3687 * DASPK.cc (ddaspk_psol): Likewise. |
|
3688 * lo-mappers.cc (imag): Likewise. |
4663
|
3689 * Array-util.cc (get_zero_len_size): Likewise. |
|
3690 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
3691 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
3692 |
4655
|
3693 * dim-vector.h (dim_vector::all_ones): New function. |
|
3694 |
4646
|
3695 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3696 |
4653
|
3697 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
3698 zeros, not orig_rows or orig_columns. |
|
3699 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
3700 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
3701 |
|
3702 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
3703 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
3704 |
|
3705 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
3706 Use initialization lists for constructors. |
|
3707 |
4651
|
3708 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
3709 Omit special case for ra_idx.capacity () == 1. |
|
3710 Always allow single index for matrix args with optional warning. |
|
3711 |
4650
|
3712 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
3713 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
3714 |
4648
|
3715 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
3716 * Makefile.in (TI_SRC): Add it to the list. |
|
3717 |
4646
|
3718 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
3719 type and the names of the left and right operands. Change all uses. |
|
3720 |
|
3721 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
3722 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
3723 |
4645
|
3724 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3725 |
|
3726 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
3727 just length. |
|
3728 |
|
3729 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
3730 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
3731 non-dependent member functions and data as needed. |
|
3732 |
|
3733 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
3734 |
|
3735 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
3736 * Array3.h (Array3<T>::operator =): Likewise. |
|
3737 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
3738 Include Array.h, not Array2.h. |
|
3739 |
4634
|
3740 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3741 |
4636
|
3742 * str-vec.cc (list_in_columns): Fix previous change. |
|
3743 |
4635
|
3744 * dim-vector.h (dim_vector::num_ones): New function. |
|
3745 * Array.cc (maybe_delete_elements): Use it instead of |
|
3746 num_ones (const Array<int>&). |
|
3747 |
|
3748 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
3749 |
4634
|
3750 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
3751 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
3752 New functions. |
|
3753 * dNDArray.h: Provide decls. |
|
3754 |
|
3755 * dMatrix.h (Matrix::any_element_is_negative, |
|
3756 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
3757 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
3758 Simplify. |
|
3759 |
|
3760 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
3761 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
3762 |
|
3763 * dNDArray.cc (real, imag): New functions. |
|
3764 * dNDArray.h: Provide decls. |
|
3765 |
4630
|
3766 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3767 |
|
3768 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
3769 |
4625
|
3770 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3771 |
|
3772 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
3773 * MArray.h (resize): Delete. |
|
3774 * MArray2.h (resize): Delete. |
|
3775 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
3776 * ODESSA (ODESSA::integrate): Likewise. |
|
3777 |
4616
|
3778 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3779 |
|
3780 * Makefile.in (dist): Depend on stamp-prereq. |
|
3781 |
4605
|
3782 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
3783 |
|
3784 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
3785 Kluge to make it work. |
4604
|
3786 |
|
3787 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
3788 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
3789 |
|
3790 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
3791 default_command_editor::do_generate_filename_completions, |
|
3792 command_editor::generate_filename_completions): New functions. |
|
3793 * cmd-edit.h: Provide decls. |
|
3794 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
3795 function. |
|
3796 * oct-rl-edit.h: Provide decl. |
|
3797 |
4593
|
3798 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3799 |
4594
|
3800 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
3801 INSTANTIATE_ARRAY): New macros. |
|
3802 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3803 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
3804 |
4593
|
3805 * Array.h (Array<T>::ipermute): New function. |
|
3806 |
|
3807 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
3808 |
|
3809 * Array.cc (Array<T>::permute): New function. |
|
3810 * Array.h: Provide decl. |
|
3811 |
|
3812 * Array-util.cc (calc_permutated_idx): New function. |
|
3813 * Array-util.h: Provide decl. |
|
3814 |
4587
|
3815 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3816 |
4592
|
3817 * Array.cc (Array<T>::index2): Return value has orientation of |
|
3818 indexed value if indexing a vector with a bool matrix. |
|
3819 |
4589
|
3820 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
3821 |
4588
|
3822 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
3823 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
3824 |
|
3825 * ArrayN-inline.h: Delete. |
|
3826 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
3827 * Makefile.in: Fix the appropriate lists. |
|
3828 |
4587
|
3829 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
3830 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
3831 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
3832 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
3833 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
3834 Avoid -Wshadow warnings. |
|
3835 |
|
3836 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
3837 |
|
3838 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
3839 |
|
3840 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
3841 |
|
3842 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3843 |
|
3844 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
3845 |
4584
|
3846 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
3847 |
|
3848 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
3849 |
|
3850 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
3851 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
3852 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
3853 Return NDArray. Handle N-d arrays. |
|
3854 |
4575
|
3855 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3856 |
4583
|
3857 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
3858 that upcase Fortran names by calling dlsode instead of lsode. |
|
3859 |
|
3860 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
3861 that upcase Fortran names by calling dodessa instead of odessa. |
|
3862 |
4577
|
3863 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
3864 non-const args for symlink system call. |
|
3865 (file_ops::readlink): Likewise, for readlink. |
|
3866 |
4575
|
3867 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
3868 |
4574
|
3869 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3870 |
|
3871 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
3872 Change all uses. |
|
3873 |
4569
|
3874 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
3875 |
|
3876 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
3877 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
3878 * dNDArray.h: Provide decls. |
|
3879 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
3880 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
3881 ComplexNDArray::abs): New functions. |
|
3882 * CNDArray.h: Provide decls. |
|
3883 |
|
3884 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
3885 Generalize to handle other reduction operations. |
|
3886 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
3887 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
3888 |
4565
|
3889 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3890 |
4567
|
3891 * Array.cc (Array<T>::reshape): New function. |
|
3892 * Array.h: Provide decl. |
|
3893 |
|
3894 * dim-vector.h (dim_vector::numel): New function. |
|
3895 |
4565
|
3896 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
3897 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
3898 |
4559
|
3899 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3900 |
|
3901 * dim-vector.h (dim_vector::any_zero): New function. |
|
3902 (dim_vector::str): New default arg, sep. |
|
3903 |
|
3904 * Array.h (Array<T>::numel): New function. |
|
3905 |
4556
|
3906 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
3907 |
|
3908 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
3909 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
3910 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
3911 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3912 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
3913 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
3914 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
3915 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3916 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
3917 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
3918 |
4552
|
3919 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3920 |
4553
|
3921 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
3922 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
3923 |
4552
|
3924 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
3925 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3926 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
3927 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
3928 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3929 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3930 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
3931 Use new F77 arg macros in declarations of external Fortran |
|
3932 subroutines and for calling them. |
|
3933 |
4548
|
3934 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3935 |
|
3936 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
3937 Allow number of dimensions to change. |
|
3938 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
3939 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
3940 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
3941 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
3942 (Array<T>::transpose): Require ndims to be 2. |
|
3943 (Array<T>::index2): Likewise. |
|
3944 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
3945 (Array<T>::maybe_delete_elements_2): Likewise. |
|
3946 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
3947 (Array<T>::index1): Use resize_and_fill. |
|
3948 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
3949 |
|
3950 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
3951 |
|
3952 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
3953 (MArray2<T>::resize (int, int, const T&)): New function. |
|
3954 |
|
3955 * MArray.h (MArray<T>::resize (int)): New function. |
|
3956 (MArray<T>::resize (int, const T&)): New function. |
|
3957 |
|
3958 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
3959 |
|
3960 * DASPK-opts.in: Use single-arg resize for initial condition |
|
3961 heuristics. |
|
3962 |
|
3963 * dim-vector.h (class dim_vector): Now reference counted. |
|
3964 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
3965 |
4544
|
3966 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3967 |
4545
|
3968 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
3969 |
4544
|
3970 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
3971 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
3972 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
3973 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
3974 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
3975 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
3976 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
3977 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
3978 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
3979 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
3980 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
3981 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
3982 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
3983 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
3984 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
3985 files are now automatically generated. |
|
3986 |
|
3987 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
3988 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
3989 Add rules to generate these files and mx-ops.h. |
|
3990 (stamp-prereq): Depend on these files. |
|
3991 |
|
3992 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
3993 * Makefile.in (DISTFILES): Add them to the list. |
|
3994 |
4543
|
3995 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3996 |
|
3997 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
3998 NDArray::NDArray (const charNDArray)): New constructors. |
|
3999 (NDArray::operator !): New function. |
|
4000 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
4001 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
4002 |
|
4003 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
4004 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
4005 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
4006 New constructors. |
|
4007 (ComplexNDArray::operator !): New function. |
|
4008 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
4009 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
4010 |
|
4011 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
4012 |
|
4013 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
4014 Provide NDND_CMP_OPS. |
|
4015 |
|
4016 * MArrayN.cc (operator +=, operator -=): New functions. |
|
4017 Provide product and quotient functions. |
|
4018 |
|
4019 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
4020 dim_vector&)): New function. |
|
4021 |
|
4022 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
4023 operator ==, operator !=): New functions. |
|
4024 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
4025 |
|
4026 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
4027 No need to save old dimensions. |
|
4028 |
|
4029 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
4030 (octave_rand::nd_array): New function. |
|
4031 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
4032 |
|
4033 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
4034 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
4035 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
4036 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
4037 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
4038 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
4039 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
4040 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
4041 NDND_OP_DECLS): New macros. |
|
4042 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
4043 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
4044 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
4045 |
|
4046 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
4047 boolNDArray, class charNDArray): New forward decls. |
|
4048 |
4534
|
4049 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4050 |
|
4051 * Array.cc (assign2): No error (but don't do anything either) for |
|
4052 expressions like x([],j) = scalar. |
|
4053 |
4532
|
4054 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4055 |
4533
|
4056 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
4057 |
4532
|
4058 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
4059 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
4060 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
4061 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
4062 |
|
4063 * dim-vector.h (rows, cols): Delete unused data members. |
|
4064 |
|
4065 * Array.cc (Array<T>::get_size): Fix thinko. |
|
4066 |
|
4067 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4068 |
|
4069 * Array.cc (Array<T>::squeeze): New function. |
|
4070 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
4071 * dNDArray.h (NDArray::squeeze): Likewise. |
|
4072 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
4073 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
4074 |
4530
|
4075 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
4076 |
|
4077 * Array.cc (ArrayN<T>::indexN): New definition. |
|
4078 * Array.h (Array<T>::indexN): Provide decl. |
|
4079 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
4080 Call indexN if more than 2 indices. |
|
4081 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
4082 Make it (mostly) work. |
|
4083 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
4084 New functions. |
|
4085 |
4527
|
4086 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4087 |
|
4088 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
4089 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
4090 versions with eof arg. |
|
4091 |
4518
|
4092 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4093 |
|
4094 * Array.h (dimensions): Now public. |
|
4095 template <class LT, class RT> |
|
4096 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
4097 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
4098 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
4099 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
4100 resize_no_fill (int), |
|
4101 resize_no_fill (int, int), |
|
4102 resize_no_fill (int, int, int), |
|
4103 resize_no_fill (const dim_vector&), |
|
4104 resize_and_fill (int, const T&), |
|
4105 resize_and_fill (int, int, const T&), |
|
4106 resize_and_fill (int, int, int, const T&), |
|
4107 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
4108 |
|
4109 * Array.cc: Include <climits>. |
|
4110 |
4513
|
4111 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4112 |
4517
|
4113 * Array.cc: Merge Array-idx.h. |
|
4114 * Array-idx.h: Delete. |
|
4115 |
4514
|
4116 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
4117 |
4513
|
4118 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
4119 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
4120 just special cases of the general purpose N-d Array object). |
|
4121 |
|
4122 * dim-vector.h: New file. Use dim_vector objects instead of |
|
4123 ints or Array<int> objects to represent the size of Array |
|
4124 objects. |
|
4125 |
|
4126 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
4127 |
|
4128 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
4129 |
|
4130 * mx-base.h: Include NDArray header files. |
|
4131 |
|
4132 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
4133 |
|
4134 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
4135 Array-s.cc: Also instantiate ArrayN objects. |
|
4136 Don't instantiate assign funcitons for Array2 objects. |
|
4137 |
|
4138 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
4139 liboctave_error_handler, not cerr. |
|
4140 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
4141 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
4142 * dMatrix.cc (Matrix::diag): Likewise. |
|
4143 |
|
4144 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
4145 Omit checks for HEAVYWEIGHT_INDEXING. |
|
4146 |
|
4147 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4148 |
|
4149 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
4150 |
|
4151 * CNDARray.h, CNDArray.cc: New files. |
|
4152 * Makefile.in: Add them to the appropriate lists. |
|
4153 |
|
4154 * dNDArray.h: Rename from NDArray.h. |
|
4155 * dNDArray.cc: Rename from NDArray.cc. |
|
4156 * Makefile.in: Rename them here too. |
|
4157 |
4507
|
4158 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
4159 |
|
4160 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
4161 |
|
4162 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
4163 * Makefile.in: Add them to the appropriate lists. |
|
4164 |
5095
|
4165 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
4166 |
|
4167 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
4168 biry): Always request scaled results from AMOS functions and |
|
4169 perform reverse scaling on results if scaled result not requested |
|
4170 by user. |
|
4171 |
|
4172 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4173 |
|
4174 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4175 |
4505
|
4176 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4177 |
|
4178 * Array-d.cc: Instantiate assign functions. |
|
4179 |
4504
|
4180 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
4181 |
|
4182 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
4183 (get_elt_idx): Index ra_idx correctly. |
|
4184 |
|
4185 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
4186 bounds if it is exactly on the bound. |
|
4187 |
|
4188 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
4189 * ArrayN.h: Provide decl. |
|
4190 |
|
4191 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
4192 |
|
4193 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
4194 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
4195 (idx_vector::orig_dimensions): New function. |
|
4196 |
4497
|
4197 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4198 |
|
4199 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4200 |
4496
|
4201 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
4202 |
|
4203 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
4204 (is_in, how_many_lgt, all_ones): New functions. |
|
4205 |
4493
|
4206 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4207 |
|
4208 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
4209 |
|
4210 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
4211 |
|
4212 * ArrayN-inline.h: New file. |
|
4213 (index_in_bounds, increment_index): Move here. |
|
4214 * ArrayN.cc: From here. |
|
4215 |
|
4216 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
4217 * ArrayN-idx.h (assign): New function. |
|
4218 |
4490
|
4219 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4220 |
|
4221 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
4222 Also zero imaginary part of result if real part of input value is |
|
4223 zero. |
|
4224 |
4478
|
4225 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4226 |
|
4227 * mx-base.h: Include ArrayN.h. |
|
4228 |
4476
|
4229 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4230 |
|
4231 * ArrayN.cc (operator <<): Corrected output. |
|
4232 |
4474
|
4233 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4234 |
|
4235 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
4236 |
5095
|
4237 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
4238 |
|
4239 * ArrayN.cc (operator <<): Improve output readability. |
|
4240 |
4493
|
4241 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
4242 |
|
4243 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
4244 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
4245 Initialize old_len before changing size. |
|
4246 |
4472
|
4247 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4248 |
|
4249 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
4250 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
4251 |
4469
|
4252 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4253 |
|
4254 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
4255 way. Handle NA in an R-compatible way. |
|
4256 |
|
4257 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
4258 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
4259 |
|
4260 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
4261 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
4262 |
|
4263 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
4264 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
4265 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
4266 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
4267 |
4461
|
4268 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4269 |
|
4270 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
4271 Pass true for resize_ok arg to freeze. |
|
4272 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
4273 Likewise. |
|
4274 |
|
4275 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
4276 resize_ok arg is now bool. |
|
4277 * idx-vector.h (idx_vector::freeze): Likewise. |
|
4278 |
|
4279 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
4280 Rename from liboctave_rre_flag. Now bool. |
|
4281 (liboctave_wfi_flag): Now bool. |
|
4282 |
|
4283 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
4284 |
5095
|
4285 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
4286 |
|
4287 * Array.h (resize_fill_value): Now a top-level template function. |
|
4288 Accept object as argument. Change all uses. |
|
4289 |
4455
|
4290 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4291 |
|
4292 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
4293 |
|
4294 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
4295 liboctave_dfi_flag. |
|
4296 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
4297 X undefined or empty, always create a row vector. |
|
4298 |
|
4299 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
4300 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
4301 |
4437
|
4302 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4303 |
|
4304 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4305 Magic colon indexing always produces an object with one column. |
|
4306 |
5095
|
4307 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
4308 |
|
4309 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
4310 |
|
4311 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
4312 |
4431
|
4313 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4314 |
|
4315 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
4316 neg_zero is true, also return true for negative zero. |
|
4317 |
4429
|
4318 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4319 |
|
4320 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
4321 Handle step limit. |
|
4322 * DASSL-opts.in: New option for step limit. |
|
4323 |
5095
|
4324 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
4325 |
|
4326 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
4327 |
4428
|
4328 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4329 |
|
4330 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
4331 Store step limit in iwork(20), not iwork(18). |
|
4332 |
5095
|
4333 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
4334 |
|
4335 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
4336 |
4412
|
4337 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4338 |
4413
|
4339 * Makefile.in: Handle DESTDIR. |
|
4340 |
4412
|
4341 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
4342 (kpse_path_iterator::set_end): Don't miss last element when not |
|
4343 followed by a colon. |
|
4344 |
4409
|
4345 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4346 |
|
4347 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
4348 |
|
4349 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4350 |
|
4351 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
4352 (find_first_of): Also do an absolute search on each |
|
4353 name before looking in the path. |
|
4354 |
4407
|
4355 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4356 |
|
4357 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
4358 directory separator. |
|
4359 |
4399
|
4360 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4361 |
|
4362 * pathsearch.cc: Include kpse.cc here. |
|
4363 |
|
4364 * kpse.cc: All functions are now static. Massive surgery to |
|
4365 condense kpathsearch library to a single file of just the |
|
4366 essentials for Octave and convert to using C++ strings (no more |
|
4367 calls to malloc, very few calls to new, so there should be much |
|
4368 less potential for introducing memory leaks now). |
|
4369 |
|
4370 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
4371 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
4372 |
|
4373 * kpse.h, kpse-config.h: Delete. |
|
4374 * Makefile.in (INCLUDES): Delete them from the list. |
|
4375 |
4392
|
4376 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4377 |
|
4378 * str-vec.cc (string_vector::append (const std::string&), |
|
4379 string_vector::append (const string_vector&)): New methods. |
|
4380 |
4386
|
4381 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4382 |
4389
|
4383 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
4384 |
4387
|
4385 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
4386 |
4386
|
4387 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
4388 (READABLE): Now a static function to avoid warnings from MinGW |
|
4389 compiler. |
|
4390 |
4384
|
4391 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4392 |
4385
|
4393 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
4394 static. Include most of kpse-xfns.h directly, removing |
|
4395 unnecessary bits. |
|
4396 |
4384
|
4397 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
4398 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
4399 |
4378
|
4400 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4401 |
|
4402 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
4403 * Makefile.in: Add them to the appropriates lists. |
|
4404 |
|
4405 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
4406 |
|
4407 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
4408 for new locations of kpathsea objects. |
|
4409 Delete kpathsea targets. |
|
4410 |
|
4411 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
4412 |
|
4413 * kpse.cc: New file. |
|
4414 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
4415 |
|
4416 * kpse.c: New file. |
|
4417 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
4418 |
|
4419 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
4420 * Makefile.in (INCLUDES): Add them to the list. |
|
4421 |
|
4422 * oct-kpse.h: Delete. |
|
4423 * Makefile.in (INCLUDES): Delete it from the list. |
|
4424 |
4374
|
4425 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4426 |
|
4427 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
4428 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
4429 Likewise. |
|
4430 From Quentin H. Spencer <qspencer@ieee.org>. |
|
4431 |
4365
|
4432 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4433 |
|
4434 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
4435 |
4349
|
4436 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4437 |
4352
|
4438 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
4439 without placement delete. |
|
4440 |
4349
|
4441 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
4442 imaginary parts. |
|
4443 |
|
4444 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
4445 |
5095
|
4446 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
4447 |
|
4448 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
4449 Use Lapack instead of Linpack. |
5315
|
4450 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
4451 ComplexMatrix::solve): Likewise. |
|
4452 |
|
4453 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
4454 calc_cond. If 0, skip condition number calculation. |
|
4455 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
4456 Likewise. |
|
4457 |
|
4458 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
4459 * dbleLU.cc (LU::LU): Likewise. |
|
4460 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
4461 |
|
4462 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4463 |
|
4464 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
4465 |
4323
|
4466 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4467 |
|
4468 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
4469 Additional compatibility fix. |
|
4470 |
|
4471 2003-02-13 Arno Klaassen <arno@scito.com> |
|
4472 |
|
4473 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4474 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
4475 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
4476 |
4322
|
4477 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4478 |
|
4479 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4480 Compatibility fix. |
|
4481 |
4316
|
4482 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4483 |
|
4484 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
4485 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
4486 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
4487 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
4488 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
4489 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
4490 |
|
4491 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
4492 with make_unique and xelem. |
|
4493 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
4494 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
4495 ComplexMatrix::extract, ComplexMatrix::row, |
|
4496 ComplexMatrix::column): Likewise. |
|
4497 * dColVector.cc (ColumnVector::insert): Likewise. |
|
4498 * dRowVector.cc (RowVector::insert): Likewise. |
|
4499 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
4500 Matrix::row, Matrix::column): Likewise. |
|
4501 |
4313
|
4502 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4503 |
|
4504 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
4505 |
4309
|
4506 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4507 |
|
4508 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
4509 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
4510 * CMatrix.h, dMatrix.h: Provide decls. |
|
4511 |
4307
|
4512 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4513 |
|
4514 * oct-rand.h, oct-rand.cc: New files. |
|
4515 * Makefile.in: Add them to the appropriate lists. |
|
4516 |
4306
|
4517 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4518 |
|
4519 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
4520 |
4299
|
4521 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
4522 |
|
4523 * oct-syscalls.cc: Include signal.h. |
|
4524 |
4294
|
4525 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4526 |
|
4527 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
4528 * oct-syscalls.h: Provide decl. |
|
4529 |
|
4530 |
4293
|
4531 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4532 |
|
4533 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
4534 there is nothing to read. |
|
4535 |
4290
|
4536 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4537 |
|
4538 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
4539 |
4286
|
4540 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4541 |
4288
|
4542 * getopt.h: Update to version from kpathsearch, so we will install |
|
4543 the version that we are using. |
|
4544 |
|
4545 * getopt.c, getopt1.c: Delete. |
|
4546 (INCLUDES): Delete them from the list. We'll get these files from |
|
4547 kpathsearch. |
|
4548 |
4286
|
4549 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
4550 ../kpathsea/STATIC/*.o. |
|
4551 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
4552 |
4270
|
4553 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4554 |
4282
|
4555 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
4556 unreachable code. |
|
4557 |
4279
|
4558 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
4559 to correspond to placement new operator. |
|
4560 |
4278
|
4561 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
4562 (DET::value_will_underflow): Likewise. |
|
4563 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
4564 (ComplexDET::value_will_underflow): Likewise. |
|
4565 |
4276
|
4566 * Makefile.in (distclean): Also remove stamp-prereq. |
|
4567 |
4306
|
4568 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
4569 RHS and index are empty matrices, don't do anything. |
4270
|
4570 |
4242
|
4571 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4572 |
|
4573 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
4574 delete_c_names): New helper functions. |
|
4575 (dir_path::find_first_of): New function. |
|
4576 (dir_path::find_all_first_of): Likewise. |
|
4577 * pathsearch.h: Provide decls. |
|
4578 |
|
4579 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
4580 (octave_kpse_all_path_find_first_of): Likewise. |
|
4581 * oct-kpse.h: Provide decls. |
|
4582 |
4231
|
4583 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4584 |
|
4585 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
4586 * ODESSA-opts.in: Likewise. |
|
4587 |
|
4588 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
4589 * LSODE-opts.in: Likewise. |
|
4590 |
4229
|
4591 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4592 |
4230
|
4593 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
4594 in all constructors. |
|
4595 |
4229
|
4596 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
4597 (LINK_DEPS): Not here. |
|
4598 |
4219
|
4599 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4600 |
4220
|
4601 * str-vec.cc (string_vector::compare): New static member function. |
|
4602 * str-vec.h: Provide decl. |
|
4603 (string_vector::sort): Use it. |
|
4604 (str_vec_compare): Delete static function. |
|
4605 |
4219
|
4606 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
4607 a placement operator new. |
|
4608 |
4209
|
4609 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4610 |
4210
|
4611 * Matrix.h: Include mx-ops.h too. |
4209
|
4612 * mx-ops.h: New file. |
|
4613 |
4192
|
4614 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4615 |
|
4616 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
4617 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
4618 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
4619 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
4620 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4621 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4622 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
4623 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
4624 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
4625 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
4626 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
4627 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
4628 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
4629 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
4630 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
4631 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
4632 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
4633 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
4634 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
4635 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
4636 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
4637 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
4638 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
4639 |
4184
|
4640 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4641 |
|
4642 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
4643 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
4644 |
4180
|
4645 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4646 |
|
4647 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
4648 fortran code that should run fast enough that it is not worth all |
|
4649 the setup costs of F77_XFCN. |
|
4650 |
|
4651 * Quad.cc (user_function): Surround body of function with |
|
4652 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
4653 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
4654 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
4655 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
4656 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
4657 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
4658 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
4659 |
4164
|
4660 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4661 |
|
4662 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
4663 of ! defined (linux). |
|
4664 |
5095
|
4665 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
4666 |
|
4667 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
4668 (make_shlib): Instantiate octave_dyld_shlib. |
|
4669 |
4152
|
4670 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4671 |
4153
|
4672 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
4673 |
4152
|
4674 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
4675 |
|
4676 * Array.h: Include <cstddef> here. |
|
4677 |
4142
|
4678 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4679 |
4144
|
4680 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
4681 using them. Accept inequality contraint option of 0. Assign |
|
4682 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
4683 abs_tol and rel_tol. |
|
4684 |
4143
|
4685 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
4686 static function. |
|
4687 (command_editor::do_filename_completion_desired): New virtual function. |
|
4688 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
4689 * oct-rl-edit.h: Provide decl. |
|
4690 |
4142
|
4691 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
4692 avoid OS X linker bug. |
|
4693 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
4694 |
4139
|
4695 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4696 |
4141
|
4697 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
4698 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
4699 solvers. |
|
4700 * ODESSA.cc: Fix all callers. |
|
4701 |
4139
|
4702 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
4703 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
4704 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
4705 |
4136
|
4706 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4707 |
|
4708 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
4709 |
4132
|
4710 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4711 |
4133
|
4712 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
4713 (ddasrt_f): Combine loops. |
|
4714 |
4132
|
4715 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
4716 instead of empty vector if user termninates iteration. |
|
4717 |
4130
|
4718 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4719 |
|
4720 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
4721 octave_read_complex, octave_write_double, octave_write_complex): |
|
4722 New functions. |
|
4723 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
4724 Use octave_write_complex. |
|
4725 (operator >> (std::istream&, const ComplexMatrix&)): |
|
4726 Use octave_read_complex. |
|
4727 * dMatrix.cc (operator << (std::ostream&, double)): |
|
4728 Use octave_write_double. |
|
4729 (operator >> (std::istream&, double)): Use octave_read_double. |
|
4730 |
4126
|
4731 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4732 |
|
4733 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
4734 * oct-kpse.h: Delete decl. |
|
4735 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
4736 ::octave_kpse_clear_dir_cache. |
|
4737 |
4123
|
4738 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4739 |
4124
|
4740 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
4741 earlier than 3.0. |
|
4742 |
4123
|
4743 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
4744 (liboctave.$(SHLEXT)): Not here. |
|
4745 |
5095
|
4746 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
4747 |
|
4748 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
4749 |
4108
|
4750 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4751 |
|
4752 * Makefile.in (install-lib): Don't bother with versions for |
|
4753 $(SHLBIN) files. |
|
4754 |
5095
|
4755 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
4756 |
|
4757 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
4758 |
4102
|
4759 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4760 |
|
4761 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
4762 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
4763 New functions. |
|
4764 |
|
4765 * Makefile.in (install): No need to use cd to create links. |
|
4766 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
4767 |
5095
|
4768 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
4769 |
|
4770 * Makefile.in: Merge liboctave with liboct-readline and |
|
4771 liboct-pathsearch. |
|
4772 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
4773 (libraries): Depend on versioned library. |
|
4774 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
4775 build unversioned library, symbolic link adds version info. |
|
4776 (install, uninstall): Handle link and load forms of the library |
|
4777 separately. |
|
4778 |
4101
|
4779 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4780 |
|
4781 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
4782 __CYGWIN__. |
|
4783 |
|
4784 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
4785 file_ops::dir_sep_chars): New static functions to replace |
|
4786 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
4787 |
|
4788 * oct-env.cc (octave_env::do_set_program_name): |
|
4789 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
4790 (octave_env::do_base_pathname): Likewise. |
|
4791 (octave_env::do_make_absolute): Likewise. |
|
4792 |
|
4793 * oct-env.cc (octave_env::do_make_absolute): |
|
4794 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
4795 (octave_env::do_get_home_directory): Likewise. |
|
4796 |
|
4797 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
4798 that information here too. |
|
4799 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
4800 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
4801 |
|
4802 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
4803 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
4804 |
4097
|
4805 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4806 |
|
4807 * oct-env.h (octave_env::current_directory): Now mutable. |
|
4808 (octave_env:do_getcwd): Now const. |
|
4809 |
|
4810 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
4811 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
4812 OCTAVE_CURRENT_DIR_STR): New macros. |
|
4813 * oct-env.cc (is_dir_sep): Delete. |
|
4814 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
4815 (octave_env::do_set_program_name): Likewise. |
|
4816 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
4817 instead of checking for '/'. |
|
4818 (octave_env::pathname_backup): Likewise. |
|
4819 (octave_env::do_absolute_pathname): Likewise. |
|
4820 (octave_env::do_make_absolute): Likewise. |
|
4821 If dot_path is empty, use getcwd to set current_dir. |
|
4822 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
4823 instead of "/". |
|
4824 |
5095
|
4825 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4826 |
|
4827 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
4828 |
5095
|
4829 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4830 |
|
4831 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
4832 absolute path names under MinGW as well. |
|
4833 |
|
4834 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4835 |
|
4836 * oct-env.cc: Include <cctype> too. |
|
4837 |
4087
|
4838 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4839 |
|
4840 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
4841 filenames. |
|
4842 (octave_env::do_make_absolute): Check for absolute name with |
|
4843 do_absolute_path. |
4088
|
4844 (octave_env::do_chdir): Likewise. |
|
4845 (is_dir_sep): New function. |
4087
|
4846 |
5095
|
4847 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
4848 |
4086
|
4849 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
4850 systems. |
4085
|
4851 |
4083
|
4852 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4853 |
|
4854 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
4855 |
4080
|
4856 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4857 |
4081
|
4858 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
4859 |
4080
|
4860 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4861 |
5095
|
4862 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
4863 |
|
4864 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
4865 gr_gid too. |
|
4866 |
4072
|
4867 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4868 |
4074
|
4869 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
4870 lo_ieee_* functions. |
4072
|
4871 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
4872 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
4873 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
4874 * lo-cieee.c: New file. |
4074
|
4875 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
4876 * lo-ieee.h: Now all extern "C". |
4074
|
4877 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
4878 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
4879 |
4072
|
4880 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
4881 Now extern. |
|
4882 |
4066
|
4883 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4884 |
|
4885 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4886 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4887 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4888 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4889 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4890 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4891 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4892 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4893 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4894 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4895 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4896 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4897 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4898 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4899 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4900 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4901 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4902 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4903 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4904 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4905 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4906 oct-alloc.cc: |
|
4907 If __GNUG__, use pragma interface/implementation. Allow this to |
|
4908 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
4909 |
5095
|
4910 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
4911 |
4066
|
4912 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
4913 system readlink function is not available. |
|
4914 |
4065
|
4915 * lo-mappers.cc (xerf, xerfc): Delete. |
|
4916 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
4917 |
4064
|
4918 * lo-mappers.cc: Remove unused #define M_PI. |
|
4919 * lo-specfun.cc: Add #define M_PI if needed. |
|
4920 |
4062
|
4921 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4922 |
|
4923 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
4924 that geteuid doesn't exist. |
|
4925 |
|
4926 * LP.h: Rename LP class to octave_LP. |
|
4927 LPsolve.h: Change all uses. |
|
4928 |
|
4929 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
4930 incorrect token-pasting op. |
|
4931 |
|
4932 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
4933 define lstat. |
|
4934 |
4061
|
4935 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4936 |
|
4937 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4938 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4939 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4940 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4941 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4942 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4943 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4944 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4945 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4946 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4947 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4948 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4949 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4950 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4951 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4952 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4953 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4954 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4955 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4956 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4957 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4958 oct-alloc.cc: |
|
4959 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
4960 to decide whether to use the interface/implementation pragmas. |
|
4961 |
4058
|
4962 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4963 |
|
4964 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
4965 |
4055
|
4966 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
4967 |
|
4968 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
4969 qualified names. |
|
4970 |
4051
|
4971 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4972 |
4054
|
4973 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
4974 ArrayN.cc: Add typename where needed. |
4053
|
4975 |
4051
|
4976 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
4977 strstream classes directly. |
|
4978 * DASRT.cc: Likewise. |
|
4979 * DASSL.cc: Likewise. |
|
4980 * LSODE.cc: Likewise. |
|
4981 * ODESSA.cc: Likewise. |
|
4982 |
|
4983 * cmd-hist.cc: Don't include <strstream>. |
|
4984 * oct-shlib.cc: Likewise. |
|
4985 |
|
4986 * lo-sstream.h: New file. |
|
4987 |
4049
|
4988 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4989 |
|
4990 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
4991 New data members. |
|
4992 (LSODE::sanity_checked): Delete unused data member. |
|
4993 |
|
4994 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
4995 prel_tol, pinfo, piwork, prwork): New data members. |
|
4996 * DASSL.h (DASSL): Likewise. |
|
4997 |
|
4998 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
4999 |
|
5000 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
5001 initialization, changes in options, etc. |
|
5002 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
5003 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
5004 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
5005 |
4047
|
5006 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5007 |
4049
|
5008 * DAEFunc.h (DAEFunc::reset): New data member. |
|
5009 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
5010 |
|
5011 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
5012 (base_diff_eqn::clear_stop_time): Likewise. |
|
5013 |
4047
|
5014 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
5015 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
5016 |
5095
|
5017 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
5018 |
|
5019 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
5020 * DASRT-opts.in, DASRT.h: Likewise. |
|
5021 * DASSL-opts.in, DASSL.h: Likewise. |
|
5022 * LSODE-opts.in, LSODE.h: Likewise. |
|
5023 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
5024 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
5025 |
4038
|
5026 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5027 |
4042
|
5028 * LSODE.cc (LSODE::error_message): Also return current T on |
|
5029 failures when that makes sense. |
4043
|
5030 * DASSL.cc (DASSL::error_message): Likewise. |
|
5031 * DASRT.cc (DASRT::error_message): Likewise. |
|
5032 * DASPK.cc (DASPK::error_message): Likewise. |
|
5033 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
5034 |
4038
|
5035 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
5036 $(LIBKPATHSEA) here. |
|
5037 |
4025
|
5038 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5039 |
|
5040 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
5041 (lo_ieee_is_NaN_or_NA): New function. |
|
5042 (octave_NA): New global value. |
|
5043 (octave_ieee_init): Initialize it. |
|
5044 * lo-mappers.cc (octave_is_NA): New function. |
|
5045 (octave_is_NaN_or_NA): New function. |
|
5046 (xisnan): Return false if NaN looks like a missing value. |
|
5047 (xisnan (const Complex&)): Use xisnan here. |
|
5048 |
4015
|
5049 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5050 |
4017
|
5051 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
5052 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
5053 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
5054 Default value for dim is -1, not 0. |
|
5055 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
5056 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
5057 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
5058 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
5059 |
4015
|
5060 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
5061 New macros. |
|
5062 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
5063 MX_BASE_REDUCTION_OP. |
|
5064 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
5065 |
4014
|
5066 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5067 |
4015
|
5068 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
5069 Return boolMatrix, not Matrix. |
|
5070 |
|
5071 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
5072 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
5073 (Matrix::all): Replace guts with MX_ALL_OP. |
|
5074 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
5075 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
5076 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
5077 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
5078 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
5079 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
5080 |
|
5081 * dMatrix.h (Matrix::any): New arg, dim. |
|
5082 (Matrix::all): Likewise. |
|
5083 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
5084 (ComplexMatrix::all): Likewise. |
|
5085 * boolMatrix.h (boolMatrix::any): Likewise. |
|
5086 (boolMatrix::all): Likewise. |
|
5087 * chMatrix.h (charMatrix::any): Likewise. |
|
5088 (charMatrix::all): Likewise. |
|
5089 |
4014
|
5090 * Makefile.in: Use $@-t instead of $@.t. |
|
5091 |
4004
|
5092 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5093 |
|
5094 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
5095 Use it in matrix versions to avoid spewing multiple errors. |
|
5096 Call xgammainc instead of dgamit. |
|
5097 |
3998
|
5098 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5099 |
|
5100 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
5101 Get rows and columns right in loop. |
|
5102 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
5103 |
|
5104 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5105 |
|
5106 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
5107 * DASRT.cc (DASRT::integrate): Likewise. |
|
5108 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
5109 |
|
5110 * Quad.cc: Don't pass tolerances in constructors. |
|
5111 |
|
5112 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
5113 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
5114 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
5115 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
5116 from corresponding .in files. |
|
5117 * LSODE.h, Quad.h: Replace options class definitions with included |
|
5118 file. |
|
5119 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
5120 create OPTS_INC files from OPTS_INC_SRC files. |
|
5121 (stamp-prereq): New target. |
|
5122 (libraries): Depend on stamp-prereq. |
|
5123 Include stamp-prereq along with $(MAKEDEPS). |
|
5124 |
3997
|
5125 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5126 |
|
5127 * base-de.h (base_diff_eqn::istate): New data member. |
|
5128 (base_diff_eqn::integration_state): New member function. |
|
5129 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
5130 data members and functions. |
|
5131 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
5132 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
5133 |
3990
|
5134 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5135 |
3995
|
5136 * base-de.h (base_diff_eqn::stop_time, |
|
5137 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
5138 base_diff_eqn::integration_error): New data members. |
|
5139 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
5140 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
5141 base_diff_eqn::error_message): New member functions. |
|
5142 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
5143 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
5144 members and functions. |
|
5145 |
3992
|
5146 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
5147 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
5148 (DASRT::integrate): Don't forget to set nn. |
3992
|
5149 |
3991
|
5150 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
5151 * DASSL.cc (ddassl_j): Make it work. |
|
5152 * DASPK.cc (ddaspk_j): Likewise. |
|
5153 |
3990
|
5154 * DAE.cc: Delete. |
|
5155 |
|
5156 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
5157 solving with root finding. |
|
5158 * Makefile.in: Add them to the appropriate lists. |
|
5159 |
|
5160 * base-dae.h: New file. |
|
5161 * Makefile.in (INCLUDES): Add it to the list. |
|
5162 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
5163 |
3984
|
5164 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5165 |
|
5166 * ODE.h: Move integrate and do_integrate method declarations and |
|
5167 definitions here. |
|
5168 * base-de.h: From here. |
|
5169 |
|
5170 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
5171 * Makefile.in: Add them to the appropriate lists. |
|
5172 (LIBOCTAVE_CXX_SOURCES): |
|
5173 |
3971
|
5174 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5175 |
|
5176 * NLEqn.cc (NLEqn::error_message): New function. |
|
5177 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
5178 |
3970
|
5179 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5180 |
|
5181 * lo-utils.cc (octave_fgetl): New function. |
|
5182 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
5183 |
3959
|
5184 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5185 |
|
5186 * LSODE.cc (LSODE::error_message): New function. |
|
5187 * LSODE.h: Provide decl. |
|
5188 (LSODE::integration_state): New function. |
|
5189 (LSODE::integration_ok): New function. |
|
5190 |
3952
|
5191 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5192 |
3955
|
5193 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
5194 (LSODE_options::set_integration_method, |
|
5195 LSODE_options::integration_method): New functions. |
3954
|
5196 |
3952
|
5197 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
5198 Change all uses. |
|
5199 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
5200 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
5201 New function. |
|
5202 |
|
5203 * Array.h (Array::fortran_vec): New const version. |
|
5204 |
3951
|
5205 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5206 |
|
5207 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
5208 (gnu_readline::history_search_forward): Likewise. |
|
5209 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
5210 to extern "C" functions to octave_rl_ad_defun. |
|
5211 |
5095
|
5212 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
5213 |
|
5214 * DASPK.cc (ddaspk_psol): Return value. |
|
5215 * oct-rl-edit.c: Use /* ... */ to comment. |
|
5216 |
3945
|
5217 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5218 |
|
5219 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5220 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5221 * LSODE.h (LSODE_options::init): Likewise. |
|
5222 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5223 |
|
5224 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
5225 sqrt(eps), not eps^2. |
|
5226 DASPK_options::set_absolute_tolerance): Likewise. |
|
5227 |
5095
|
5228 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
5229 |
|
5230 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
5231 object. |
|
5232 |
3933
|
5233 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5234 |
|
5235 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
5236 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
5237 (octave_rl_set_basic_word_break_characters, |
|
5238 octave_rl_set_completer_word_break_characters): New functions. |
|
5239 * oct-rl-edit.h: Provide decls. |
|
5240 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
5241 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
5242 (command_editor::set_basic_quote_characters, |
|
5243 command_editor::set_completion_append_character): New static functions. |
|
5244 * cmd-edit.h: Provide decls. |
|
5245 (command_editor::do_set_basic_word_break_characters, |
|
5246 command_editor::do_set_completer_word_break_characters): |
|
5247 New virtual functions. |
|
5248 |
|
5249 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
5250 (resize_fill_value): New static function. |
|
5251 |
|
5252 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
5253 resize_fill_value. |
|
5254 * Array2-idx.h (Array2<T>::index): Likewise. |
|
5255 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
5256 |
|
5257 * Array2.cc (Array<T>::print_info): New function. |
|
5258 * Array2.h: Provide decl. |
|
5259 |
|
5260 * Array.cc (Array<T>::print_info): New function. |
|
5261 * Array.h: Provide decl. |
|
5262 |
3928
|
5263 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5264 |
|
5265 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
5266 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
5267 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
5268 |
|
5269 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
5270 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
5271 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
5272 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
5273 |
5095
|
5274 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
5275 |
|
5276 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
5277 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
5278 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
5279 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
5280 |
3919
|
5281 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5282 |
|
5283 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5284 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5285 |
3912
|
5286 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5287 |
|
5288 * DASPK.h, DASPK.cc: New files. |
|
5289 * Makefile.in: Add them to the appropriate lists. |
|
5290 |
3904
|
5291 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5292 |
|
5293 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
5294 Simplify indexing when one or both of the indices are empty. |
|
5295 |
3896
|
5296 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5297 |
|
5298 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
5299 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5300 * LSODE.h (LSODE_options::init): Likewise. |
|
5301 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5302 |
5095
|
5303 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
5304 |
|
5305 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
5306 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
5307 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
5308 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
5309 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
5310 * file-stat.h: Likewise. |
|
5311 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
5312 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
5313 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
5314 * strftime.c: Likewise. |
|
5315 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
5316 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
5317 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
5318 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
5319 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
5320 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
5321 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
5322 |
5095
|
5323 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
5324 |
|
5325 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
5326 internally when the user requests it. |
|
5327 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
5328 * dbleQR.cc (QR::init): Ditto. |
|
5329 * dbleQRP.cc (QRP::init): Ditto. |
|
5330 |
3874
|
5331 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5332 |
|
5333 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
5334 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
5335 (octave_fftw::ifft2d): Likewise. |
|
5336 |
5095
|
5337 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
5338 |
|
5339 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
5340 |
3867
|
5341 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5342 |
|
5343 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
5344 (LS_DO_WRITE): Likewise. |
|
5345 |
3864
|
5346 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5347 |
|
5348 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
5349 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
5350 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
5351 |
|
5352 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
5353 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
5354 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
5355 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
5356 |
|
5357 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
5358 DIM == -1 now means no orientation for vector sums. |
|
5359 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
5360 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
5361 |
3858
|
5362 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5363 |
|
5364 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
5365 have zero elements. |
|
5366 |
3854
|
5367 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5368 |
3857
|
5369 * Makefile.in: Split out readline and pathsearch functionality |
|
5370 into separate liboct-readline and liboct-pathsearch libraries. |
|
5371 |
3854
|
5372 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
5373 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
5374 to do nothing for this call to rl_clear_screen. |
3854
|
5375 |
3849
|
5376 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5377 |
|
5378 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
5379 function. |
|
5380 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
5381 |
3838
|
5382 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5383 |
|
5384 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
5385 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
5386 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
5387 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
5388 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
5389 |
3836
|
5390 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5391 |
|
5392 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
5393 |
|
5394 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
5395 Array-b.cc: Instantiate three arg assign functions. |
|
5396 |
|
5397 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
5398 New arg, resize_fill_value. |
|
5399 * ArrayN.h: Provide declaration. |
|
5400 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
5401 three arg version. |
|
5402 |
|
5403 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
5404 New arg, resize_fill_value. |
|
5405 * Array3.h: Provide declaration. |
|
5406 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
5407 three arg version. |
|
5408 |
|
5409 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
5410 New arg, resize_fill_value. |
|
5411 * Array2.h: Provide declaration. |
|
5412 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
5413 three arg version. |
|
5414 |
|
5415 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
5416 New arg, resize_fill_value. |
|
5417 * Array.h: Provide declaration. |
|
5418 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
5419 three arg version. |
|
5420 |
3833
|
5421 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5422 |
|
5423 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
5424 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
5425 to the empty string. |
|
5426 |
3832
|
5427 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5428 |
|
5429 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
5430 Don't check for rep != a.rep. |
|
5431 |
3827
|
5432 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
5433 |
|
5434 * oct-fftw.h, oct-fftw.cc: New files. |
|
5435 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
5436 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
5437 ifourier2d}): Use fftw if available. |
|
5438 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
5439 Likewise. |
|
5440 |
3821
|
5441 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5442 |
|
5443 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
5444 (install-inc): Don't use mk-includedir-link. |
|
5445 |
3803
|
5446 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5447 |
|
5448 * lo-cutils.c (octave_gethostname): New function. |
|
5449 * lo-utils.h: Provide declaration. |
|
5450 * oct-env.cc (octave_env::do_get_host_name): |
|
5451 Call octave_gethostname, instead of gethostname. |
|
5452 |
|
5453 * lo-cutils.c (gethostname): Define here. |
|
5454 * lo-sysdep.cc: Not here. |
|
5455 |
3786
|
5456 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5457 |
|
5458 * lo-cutils.c: Don't declare strptime. |
|
5459 (oct_strptime): Cast return type of strptime to char*. |
|
5460 |
3777
|
5461 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5462 |
3779
|
5463 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
5464 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
5465 (octave_rl_read_init_file): Ditto. |
|
5466 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
5467 free_undo_list. |
|
5468 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
5469 completion_matches. |
|
5470 (octave_rl_enable_paren_matching): New function. |
|
5471 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
5472 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
5473 |
3777
|
5474 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
5475 tanh (const Complex&)): Declare and define if not |
|
5476 CXX_ISO_COMPLIANT_LIBRARY. |
|
5477 |
3776
|
5478 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5479 |
|
5480 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
5481 CXX_ISO_COMPLIANT_LIBRARY. |
|
5482 |
3775
|
5483 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
5484 |
3776
|
5485 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
5486 CXX_ISO_COMPLIANT_LIBRARY. |
|
5487 |
3775
|
5488 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
5489 archive libraries containing templates. |
|
5490 |
|
5491 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
5492 get_zero_len_size, all_colon_equiv): Inline. |
|
5493 (ArrayN<T>::index): Rename idx to arr_idx. |
|
5494 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
5495 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
5496 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
5497 |
|
5498 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5499 |
|
5500 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
5501 log10 (const Complex&)): Delete. |
|
5502 |
|
5503 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
5504 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
5505 sinh, sqrt, tan, and tanh. |
|
5506 |
3769
|
5507 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5508 |
|
5509 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
5510 Add std:: namespace qualifier as needed. |
|
5511 |
|
5512 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
5513 Change all uses to match. |
|
5514 |
3767
|
5515 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5516 |
|
5517 * lo-cutils.c: Don't delcare strptime. |
|
5518 |
3760
|
5519 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5520 |
|
5521 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
5522 Return correct size result for empty matrix case. |
|
5523 |
3757
|
5524 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5525 |
|
5526 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
5527 If args are equal in magnitude, return first arg instead of |
|
5528 second. |
|
5529 |
3752
|
5530 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5531 |
3755
|
5532 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
5533 then try harder to compute correct number of elements. |
3753
|
5534 |
3752
|
5535 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
5536 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
5537 |
3750
|
5538 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5539 |
3751
|
5540 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
5541 Rename n_intervals to be n_elt. |
|
5542 |
3750
|
5543 * strptime.c: Surround everything after including config.h in |
|
5544 #ifndef HAVE_STRPTIME ... #endif. |
|
5545 |
3742
|
5546 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5547 |
|
5548 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
5549 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
5550 |
3741
|
5551 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5552 |
|
5553 * MArray-defs.h: Protect against multiple inclusion. |
|
5554 |
3739
|
5555 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5556 |
|
5557 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
5558 end of the list, to be compatible with previous versions of Octave. |
|
5559 |
3736
|
5560 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5561 |
|
5562 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
5563 since mktime is supposed to `normalize' the results for us. |
|
5564 |
3731
|
5565 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5566 |
|
5567 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
5568 and vectors. Use xelem for faster access to elements when copying. |
3731
|
5569 |
3726
|
5570 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5571 |
|
5572 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
5573 Correct indexing for operation across rows. |
|
5574 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
5575 |
3725
|
5576 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5577 |
|
5578 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
5579 elements if arg is a colon. |
|
5580 |
5095
|
5581 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
5582 |
3795
|
5583 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
5584 (Matrix::cumsum (int) const): Likewise. |
|
5585 (Matrix::prod (int) const): Likewise. |
|
5586 (Matrix::sum (int) const): Likewise. |
|
5587 (Matrix::sumsq (int) const): Likewise. |
|
5588 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
5589 (ComplexMatrix::cumsum (int) const): Likewise. |
|
5590 (ComplexMatrix::prod (int) const): Likewise. |
|
5591 (ComplexMatrix::sum (int) const): Likewise. |
|
5592 (ComplexMatrix::sumsq (int) const): Likewise. |
|
5593 |
3722
|
5594 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5595 |
|
5596 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
5597 size if Array<T>::index returns an empty array. |
|
5598 |
3710
|
5599 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5600 |
|
5601 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
5602 file_ops::readlink): New functions. |
|
5603 |
3709
|
5604 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5605 |
|
5606 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
5607 indexed, always return an object the same size as the index arg. |
|
5608 |
|
5609 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
5610 empty format. |
|
5611 |
3706
|
5612 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5613 |
|
5614 * lo-cutils.c (oct_strptime): New function. |
|
5615 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
5616 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
5617 |
3702
|
5618 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5619 |
3703
|
5620 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
5621 |
3702
|
5622 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
5623 |
3689
|
5624 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5625 |
|
5626 * dMatrix.h (read_int): Provide declaration. |
|
5627 |
3688
|
5628 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
5629 |
|
5630 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
5631 (write_doubles): Ditto. |
|
5632 * data-conv.h: Ditto. |
|
5633 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
5634 |
3685
|
5635 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5636 |
|
5637 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
5638 * boolMatrix.cc: Define them here. |
|
5639 |
3680
|
5640 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5641 |
|
5642 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
5643 previously undefined and set size of x to size of bool index. |
|
5644 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
5645 Allow z_len to be zero. |
|
5646 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
5647 If frozen, don't assert that frozen_at_z_len == z_len. |
|
5648 |
3670
|
5649 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5650 |
|
5651 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
5652 instead of rl_clear_screen. |
|
5653 |
3665
|
5654 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5655 |
|
5656 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
5657 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
5658 * Makefile.in: Add them to the appropriate lists. |
|
5659 |
3657
|
5660 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5661 |
|
5662 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
5663 |
3635
|
5664 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5665 |
|
5666 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
5667 |
3615
|
5668 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5669 |
|
5670 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
5671 before rebuilding. |
|
5672 |
5095
|
5673 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
5674 |
5261
|
5675 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
5676 (libraries): Depend only on library targets, not archive members. |
|
5677 |
3613
|
5678 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5679 |
|
5680 * Makefile.in: (objects): New target. |
|
5681 |
|
5682 * lo-cutils.c: New file. |
|
5683 * Makefile.in (SOURCES): Add it to the list. |
|
5684 * lo-utils.h: Declare octave_qsort here. |
|
5685 * Array.h (Array::qsort): Use it here. |
|
5686 |
3607
|
5687 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5688 |
|
5689 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
5690 |
3598
|
5691 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5692 |
|
5693 * oct-rl-hist.c (octave_history_list): Do something when not |
|
5694 printing line numbers. Fix reallocation of retval. |
|
5695 |
3597
|
5696 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5697 |
|
5698 * Makefile.in (install-inc): Install files in |
|
5699 $(octincludedir)/octave. |
|
5700 (uninstall): Remove them from the correct directory too. |
|
5701 |
|
5702 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
5703 they are not already defined. |
|
5704 |
3588
|
5705 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5706 |
|
5707 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
5708 Delete declarations and definitions of mixed-type vector-vector ops. |
|
5709 |
3585
|
5710 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5711 |
|
5712 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
5713 matrix and vector objects. |
|
5714 |
|
5715 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
5716 return type from second arg type. |
|
5717 (MDM_BIN_OP): Likewise, for first arg type. |
|
5718 |
|
5719 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
5720 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
5721 |
|
5722 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
5723 request ColumnVector to ComplexColumnVector, and Matrix to |
|
5724 ComplexMatrix conversions. |
|
5725 |
|
5726 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
5727 initial value using ComplexMatrix constructor. |
|
5728 |
|
5729 * CColVector.cc (product, quotient, |
|
5730 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
5731 Fix type of returned value. |
|
5732 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
5733 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
5734 |
|
5735 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
5736 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
5737 dRowVector.h: Declare some constructors explicit, to disallow |
|
5738 potentially problematic automatic type conversions. |
|
5739 |
3580
|
5740 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5741 |
3582
|
5742 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
5743 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
5744 More new files. |
|
5745 * Makefile.in: Add them to the appropriate lists. |
|
5746 |
|
5747 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
5748 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
5749 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
5750 vx-s-crv.cc:, New files. |
|
5751 * Makefile.in: Add them to the appropriate lists. |
|
5752 |
|
5753 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
5754 Delete scalar by vector and vector by scalar binary ops. |
|
5755 |
3580
|
5756 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
5757 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
5758 |
3573
|
5759 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5760 |
3578
|
5761 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
5762 rl_event_hook before casting to void **. |
|
5763 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
5764 |
3574
|
5765 * MArray-defs.h: Many new macros to make declaration and |
|
5766 definition of operators more consistent. |
|
5767 |
|
5768 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
5769 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
5770 |
3569
|
5771 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5772 |
3572
|
5773 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
5774 (Matrix::ifourier2d): Likewise. |
|
5775 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
5776 (ComplexMatrix::ifourier2d): Likewise. |
|
5777 |
3569
|
5778 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
5779 |
3504
|
5780 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5781 |
3519
|
5782 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
5783 readline library. |
|
5784 * Makefile.in: Add them to the appropriate lists. |
|
5785 |
|
5786 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
5787 readline history library. |
|
5788 * Makefile.in: Add them to the appropriate lists. |
|
5789 |
3517
|
5790 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
5791 (LS_DO_READ): Likewise, for istream::read. |
3518
|
5792 (write_doubles): Likewise. |
|
5793 (read_doubles): Likewise. |
3517
|
5794 |
3516
|
5795 * oct-env.cc (octave_env::do_polite_directory_format): |
|
5796 Use operator== and substr method to do limited-length string |
|
5797 comparison. |
|
5798 |
3513
|
5799 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
5800 |
3511
|
5801 * Quad.h: Use do_integrate as name of pure virtual function. |
|
5802 |
3508
|
5803 * base-de.h: Use tt instead of t as arg names. |
3511
|
5804 Add method with tcrit arg. |
|
5805 |
3509
|
5806 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
5807 |
3507
|
5808 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
5809 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
5810 * Quad.cc (quad_fcn_ptr): Ditto. |
|
5811 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
5812 |
3505
|
5813 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
5814 * Makefile.in: Add them to the appropriate lists. |
3505
|
5815 |
|
5816 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
5817 * Makefile.in: Add them to the appropriate lists. |
3505
|
5818 |
3504
|
5819 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
5820 |
|
5821 * CDiagMatrix.h: Delete decls for friend operators that are |
|
5822 handled by MDiagArray2 class. Move others outside class decl and |
|
5823 strip friend status. |
|
5824 * dDiagMatrix.h: Likewise. |
|
5825 |
|
5826 * MArray.h: Delete decls for friend operators inside class decl. |
|
5827 * MArray2.h: Ditto. |
|
5828 * MDiagArray2.h: Ditto. |
|
5829 |
|
5830 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
5831 necessary parameters. Don't allocate memory in the macro. Change |
|
5832 all uses. |
|
5833 |
|
5834 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
5835 * CMatrix.h (class ComplexMatrix): Ditto. |
|
5836 |
|
5837 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
5838 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
5839 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
5840 avoid type conflicts. Change all uses. |
|
5841 |
|
5842 * strptime.c (__mon_yday): Fix size of array decl. |
|
5843 |
|
5844 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
5845 |
|
5846 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
5847 default value for second arg. |
|
5848 |
|
5849 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
5850 references to ArrayRep. |
|
5851 |
3503
|
5852 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5853 |
3504
|
5854 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
5855 |
|
5856 * All source files: Include iostream, fstream, strstream, |
|
5857 etc. as needed instead of using forward declarations for these |
3504
|
5858 classes. Add std:: qualifier as needed. |
3503
|
5859 |
3498
|
5860 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5861 |
|
5862 * oct-time.cc: Declare strptime extern "C". |
|
5863 |
3496
|
5864 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5865 |
|
5866 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
5867 |
3488
|
5868 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5869 |
3492
|
5870 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
5871 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
5872 to get total size to be allocated. |
|
5873 |
3488
|
5874 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
5875 as bool, not int. |
|
5876 |
3482
|
5877 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5878 |
|
5879 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5880 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
5881 as A, even when do_fortran_indexing is not enabled. |
|
5882 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
5883 |
3473
|
5884 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5885 |
3480
|
5886 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
5887 function pointer as final arg. Passed function (if any) will be |
|
5888 called for singularity errors. |
|
5889 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
5890 |
|
5891 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
5892 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
5893 |
3475
|
5894 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
5895 No longer bother with infinity or quiet_nan. |
|
5896 |
3473
|
5897 * Array2.cc (Array2<T>::get_size): New function. |
|
5898 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
5899 |
3472
|
5900 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5901 |
|
5902 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
5903 New function. |
|
5904 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5905 Use it when indexing with one arg instead of faking a second one. |
|
5906 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
5907 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
5908 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
5909 rows or columns. |
|
5910 |
|
5911 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
5912 vector that is all true values with a length equal to n as colon |
|
5913 equivalent. |
|
5914 |
3470
|
5915 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5916 |
|
5917 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
5918 |
5095
|
5919 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
5920 |
|
5921 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
5922 operations directly in step 2 and reverse step 2. |
|
5923 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
5924 operations directly in step 2 and reverse step 2. |
|
5925 |
3465
|
5926 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5927 |
|
5928 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
5929 |
|
5930 * strptime.c: New file, from glibc 2.1.2. |
|
5931 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
5932 |
3419
|
5933 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5934 |
|
5935 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
5936 |
3415
|
5937 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5938 |
|
5939 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
5940 NULL directory list returned from kpse_element_dirs |
|
5941 |
3375
|
5942 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5943 |
|
5944 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
5945 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
5946 directly, instead of calling ZGESV. |
|
5947 |
3358
|
5948 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5949 |
|
5950 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
5951 (string_to_data_type): Use it to improve lookup of data types. |
|
5952 |
3354
|
5953 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5954 |
|
5955 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
5956 * Array2.h (is_symmetric): Delete declaration. |
|
5957 |
3347
|
5958 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5959 |
|
5960 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
5961 |
3344
|
5962 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5963 |
|
5964 * oct-time.cc (Fstrftime): Undo previous change. |
|
5965 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5966 |
3334
|
5967 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5968 |
3336
|
5969 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
5970 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
5971 |
3334
|
5972 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
5973 Don't forget to pass length of third string argument to dgeesx. |
|
5974 |
|
5975 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
5976 of third string argument to zgeesx. |
|
5977 |
3333
|
5978 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5979 |
|
5980 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
5981 On errors, simply return `T ()'. |
|
5982 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
5983 |
5095
|
5984 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
5985 |
|
5986 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
5987 AEPBALANCE class. |
|
5988 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
5989 |
3325
|
5990 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5991 |
|
5992 * oct-shlib.cc, oct-shlib.h: New files. |
|
5993 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5994 |
3322
|
5995 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5996 |
|
5997 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
5998 * dRowVector.cc (linspace): Ditto. |
|
5999 |
|
6000 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
6001 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
6002 |
3312
|
6003 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6004 |
|
6005 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
6006 to evaluate the Jacobian, set info(4), not iwork(4). |
|
6007 Set rwork(1) to the maximum step size, not rwork(2). |
|
6008 |
3290
|
6009 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6010 |
|
6011 * oct-time.cc: Include <climits>. |
|
6012 |
3281
|
6013 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6014 |
|
6015 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
6016 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
6017 (gnu_readline::do_resize_terminal): New function. |
|
6018 |
3268
|
6019 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6020 |
|
6021 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
6022 * lo-ieee.c: Likewise. |
|
6023 Delete extern "C" declarations for infinity and quiet_nan. |
|
6024 |
3262
|
6025 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6026 |
3263
|
6027 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
6028 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
6029 `inline', not `static inline'. |
|
6030 |
3262
|
6031 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
6032 then cast to const int * to compare. |
|
6033 |
3257
|
6034 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6035 |
|
6036 * DAEFunc.h: Remove useless preprocessor conditional. |
|
6037 |
3255
|
6038 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6039 |
3257
|
6040 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
6041 Use octave_time object instead of time_t. |
|
6042 |
|
6043 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
6044 file_stat::fs_ctime): Now octave_time objects. |
|
6045 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
6046 Return octave_time objects. |
|
6047 (file_stat::is_newer): Args are now octave_time objects instead of |
|
6048 time_t. |
|
6049 |
3255
|
6050 * oct-time.h (octave_time::as_double): Delete. |
|
6051 (octave_time::operator double ()): New function. |
|
6052 (octave_time::operator time_t ()): New function. |
|
6053 (octave_time::ctime): New function. |
|
6054 (octave_base_tm::strftime): Renamed from format_as_string. |
|
6055 (octave_base_tm::asctime): New function. |
|
6056 (operator == (const octave_time&, const octave_time&), |
|
6057 operator != (const octave_time&, const octave_time&), |
|
6058 operator < (const octave_time&, const octave_time&), |
|
6059 operator <= (const octave_time&, const octave_time&), |
|
6060 operator > (const octave_time&, const octave_time&), |
|
6061 operator >= (const octave_time&, const octave_time&)): |
|
6062 New comparison functions. |
|
6063 |
|
6064 * strftime.c: Move here from src directory. |
|
6065 * Makefile.in (SOURCES): Add it to the list. |
|
6066 |
|
6067 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
6068 |
3253
|
6069 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6070 |
|
6071 * oct-time.h, oct-time.cc: New files. |
|
6072 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6073 |
|
6074 * systime.h: Move here from src directory. |
|
6075 * Makefile.in (INCLUDES): Add it to the list. |
|
6076 |
3248
|
6077 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6078 |
|
6079 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
6080 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
6081 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
6082 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
6083 |
|
6084 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
6085 |
3243
|
6086 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6087 |
|
6088 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
6089 |
|
6090 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6091 |
|
6092 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
6093 column vector for A(:), for compatibility with Matlab. |
|
6094 |
|
6095 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6096 |
|
6097 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
6098 iopt when there are optional inputs in rwork or iwork. |
|
6099 |
3238
|
6100 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6101 |
|
6102 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
6103 creating static libs. |
|
6104 |
5095
|
6105 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
6106 |
|
6107 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
6108 and uint32 data types. |
|
6109 |
|
6110 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6111 |
|
6112 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
6113 for Linux. Remove old Linux-specific code. |
|
6114 |
3233
|
6115 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6116 |
|
6117 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
6118 Don't require lengths to be equal. |
|
6119 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
6120 ComplexRowVector& a)): Likewise |
|
6121 |
5095
|
6122 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
6123 |
|
6124 * statdefs.h: Only define mode_t if not already defined. |
|
6125 |
5095
|
6126 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
6127 |
|
6128 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
6129 when appropriate. |
|
6130 |
|
6131 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6132 |
|
6133 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
6134 before calling rl_initialize. |
|
6135 |
3220
|
6136 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6137 |
|
6138 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
6139 Update Bessel function support to use library by D. E. Amos. |
|
6140 |
3219
|
6141 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6142 |
|
6143 * cmd-edit.h (command_editor::readline): Add new variation that |
|
6144 allows EOF information to be passed back to caller. |
|
6145 |
|
6146 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
6147 amount of data to read is unspecified. |
|
6148 |
3215
|
6149 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6150 |
3219
|
6151 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
6152 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
6153 |
3215
|
6154 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
6155 Add volatile qualifier to void* arg. |
|
6156 Cast volatile void* arg to volatile char*. |
|
6157 |
|
6158 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6159 |
|
6160 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
6161 (command_editor::do_restore_event_hook): Ditto. |
|
6162 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
6163 (command_editor::restore_event_hook): Ditto. |
|
6164 (gnu_readline::do_set_event_hook): Ditto. |
|
6165 (gnu_readline::do_restore_event_hook): Ditto. |
|
6166 (gnu_readline::previous_event_hook): New data member. |
|
6167 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
6168 |
3206
|
6169 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6170 |
|
6171 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
6172 |
|
6173 * Makefile.in (stmp-pic): New target. |
|
6174 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
6175 (clean): Remove stmp-pic |
|
6176 |
|
6177 * Makefile.in: Undo previous change to avoid optmization when |
|
6178 compiling lo-ieee.cc. |
|
6179 |
|
6180 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6181 |
|
6182 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
6183 imaginary parts. |
|
6184 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
6185 |
3203
|
6186 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6187 |
|
6188 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
6189 |
3196
|
6190 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6191 |
|
6192 * pathsearch.h (dir_path::default_path): New data member. |
|
6193 * pathsearch.cc (dir_path::init): Use it. |
|
6194 |
|
6195 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
6196 |
3189
|
6197 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6198 |
|
6199 * chMatrix.cc (charMatrix::extract): New function. |
|
6200 (charMatrix::charMatrix (char c)): New constructor. |
|
6201 |
|
6202 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6203 |
|
6204 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
6205 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
6206 (gnu_readline::do_read_init_file): Likewise. |
|
6207 |
3185
|
6208 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6209 |
|
6210 * oct-env.cc (octave_env::do_get_home_directory): |
|
6211 If HOME can't be found, set it to "/". |
|
6212 (octave_env::do_get_user_name) |
|
6213 If user name can't be found, set it to "unknown". |
|
6214 (octave_env::do_get_host_name) |
|
6215 If host name can't be found, set it to "unknown". |
|
6216 |
|
6217 * pathsearch.h (dir_path::rehash): New function. |
|
6218 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
6219 diretcory cache before doing initialization. |
|
6220 |
3180
|
6221 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6222 |
3185
|
6223 * dMatrix.cc (Qzval): Delete. |
|
6224 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
6225 * dMatrix.h (Qzval): Delete declaration. |
|
6226 |
|
6227 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
6228 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
6229 * mx-ext.h: Don't include dbleGEPBAL. |
|
6230 |
3180
|
6231 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
6232 static_cast. |
|
6233 |
|
6234 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6235 |
|
6236 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
6237 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
6238 |
|
6239 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6240 |
|
6241 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
6242 HUGE_VAL and NAN. |
|
6243 |
|
6244 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6245 |
|
6246 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
6247 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
6248 |
|
6249 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6250 |
|
6251 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
6252 Alloctate space before attempting to use it. |
|
6253 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
6254 |
5095
|
6255 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
6256 |
|
6257 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
6258 |
|
6259 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6260 |
|
6261 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
6262 have the same size as the operands. |
|
6263 |
|
6264 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6265 |
|
6266 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
6267 call to ddassl, set integration_error to 1 before calling the |
|
6268 error handler and returning. |
|
6269 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
6270 |
3177
|
6271 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6272 |
|
6273 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
6274 do_fortran_indexing is set, A([]) = scalar. |
|
6275 * Array-idx.h (assign): Allow A([]) = scalar. |
|
6276 |
3176
|
6277 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6278 |
|
6279 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
6280 if dm_nc == 0. |
|
6281 |
3174
|
6282 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6283 |
|
6284 * pathsearch.h (dir_path::p_orig): New field. |
|
6285 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
6286 expansion on the original path here. |
|
6287 (dir_path::find_all): Don't do anything if not initialized. |
|
6288 |
3164
|
6289 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6290 |
|
6291 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
6292 is not set. |
|
6293 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
6294 |
|
6295 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
6296 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
6297 \int_0^x exp(-t) t^(a-1) dt. |
|
6298 |
|
6299 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6300 |
|
6301 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
6302 Array-s.cc: Change return types of all `assign' explicit |
|
6303 instantiations to be int, not void, to match the template decl in |
|
6304 Array.h. |
|
6305 |
3162
|
6306 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6307 |
|
6308 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
6309 |
3156
|
6310 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6311 |
|
6312 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
6313 * lo-mappers.cc: Not here. |
|
6314 |
|
6315 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
6316 * lo-mappers.h: Not here. |
|
6317 |
|
6318 * lo-specfun.h: Never declare gamma or lgamma. |
|
6319 |
3154
|
6320 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6321 |
|
6322 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
6323 empty matrix of any dimension. |
|
6324 |
3145
|
6325 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6326 |
3147
|
6327 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
6328 |
3146
|
6329 * lo-specfun.cc: Don't include dbleBessel.h. |
|
6330 |
|
6331 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
6332 |
3145
|
6333 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
6334 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
6335 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
6336 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
6337 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
6338 |
|
6339 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
6340 Don't cast arg in call to swap_8_bytes. |
|
6341 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
6342 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
6343 swap_4_bytes. |
|
6344 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
6345 |
|
6346 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
6347 * prog-args.cc (prog_args::getopt): Likewise. |
|
6348 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
6349 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
6350 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
6351 Likewise. |
|
6352 |
|
6353 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
6354 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
6355 |
3141
|
6356 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6357 |
|
6358 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
6359 Use $(mk-libdir-link). |
|
6360 |
|
6361 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
6362 not SAFE_STAT and SAFE_LSTAT. |
|
6363 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
6364 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
6365 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
6366 safe-lstat.h, and safe-lstat.cc. |
|
6367 |
3136
|
6368 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6369 |
|
6370 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
6371 |
3130
|
6372 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6373 |
|
6374 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
6375 trace is negative. |
|
6376 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
6377 the real part of the trace is negative. |
|
6378 |
|
6379 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6380 |
|
6381 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
6382 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
6383 |
|
6384 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
6385 to succeed. |
|
6386 |
3125
|
6387 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6388 |
|
6389 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
6390 (make_uniq): Likewise. |
|
6391 |
|
6392 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6393 |
|
6394 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
6395 |
3119
|
6396 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6397 |
3121
|
6398 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
6399 |
|
6400 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
6401 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6402 |
3121
|
6403 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
6404 oct-math.h: Delete. |
|
6405 * Makefile.in (SOURCES): Delete them from the list. |
|
6406 |
3112
|
6407 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6408 |
|
6409 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
6410 |
5095
|
6411 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
6412 |
|
6413 Changes to make support egcs snapshots that implement explicit |
|
6414 specification of template functions according to CD2. |
|
6415 |
|
6416 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
6417 template function specs for template friends. |
|
6418 * MArray2.h: Likewise. |
|
6419 * MDiagArray2.h: Likewise. |
|
6420 |
3095
|
6421 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6422 |
|
6423 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
6424 |
3092
|
6425 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
6426 |
|
6427 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
6428 to complex<double>(int) instead of complex<double>(double). |
|
6429 |
|
6430 * lo-mappers.cc (atanh): Ditto. |
|
6431 |
3079
|
6432 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6433 |
|
6434 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
6435 * idx-vector.h (idx_vector::sort): Ditto. |
|
6436 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
6437 trying to delete elements specified by the index vectors. |
|
6438 |
3075
|
6439 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6440 |
|
6441 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
6442 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
6443 |
3074
|
6444 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6445 |
|
6446 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
6447 |
3069
|
6448 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6449 |
|
6450 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
6451 Call error handler if we can't find the current directory. |
|
6452 |
3068
|
6453 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6454 |
3069
|
6455 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
6456 (xfinite (double)): Ditto. |
|
6457 |
3068
|
6458 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
6459 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
6460 |
3056
|
6461 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6462 |
|
6463 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
6464 compatible with Matlab. |
|
6465 |
3050
|
6466 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6467 |
|
6468 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
6469 single colon. |
|
6470 |
3040
|
6471 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6472 |
3049
|
6473 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
6474 (xgamma): Likewise, for calling xdgamma. |
|
6475 |
3042
|
6476 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
6477 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
6478 |
3040
|
6479 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
6480 to do better job expanding tildes. |
|
6481 |
|
6482 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
6483 Use temporary variable to compute length. |
|
6484 |
3029
|
6485 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6486 |
3034
|
6487 * Makefile.in: Make building of static library optional. |
3036
|
6488 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
6489 |
3029
|
6490 * Makefile.in (stamp-picdir): Delete. |
|
6491 (pic): New target. Don't worry so much about creating pic |
|
6492 directory only when it is really needed. |
|
6493 (stamp-interp): Delete. |
|
6494 (libraries): New target. Depend on shared library directly. |
|
6495 |
3024
|
6496 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6497 |
|
6498 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
6499 New static function. |
|
6500 |
3012
|
6501 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6502 |
|
6503 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
6504 |
3004
|
6505 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6506 |
|
6507 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
6508 set_basic_quote_characters, to match new version of readline. |
|
6509 |
|
6510 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
6511 for restoring terminal state through rl_deprep_term_function, now |
|
6512 declared in readline.h |
|
6513 (rl_deprep_terminal): Delete declaration. |
|
6514 |
2993
|
6515 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6516 |
|
6517 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
6518 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
6519 |
2968
|
6520 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6521 |
|
6522 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
6523 New static function. |
|
6524 |
2964
|
6525 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6526 |
2966
|
6527 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
6528 the vector is not sorted. |
|
6529 |
2964
|
6530 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
6531 * dMatrix.cc (Matrix::operator !): Likewise |
|
6532 |
2941
|
6533 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6534 |
|
6535 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
6536 |
|
6537 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
6538 |
|
6539 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
6540 |
2938
|
6541 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6542 |
2941
|
6543 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
6544 (install-inc): Use it. |
|
6545 |
2938
|
6546 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
6547 Handle errors and missing functions consistently. |
|
6548 |
|
6549 * oct-group.h, oct-group.cc: New files. |
|
6550 |
|
6551 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
6552 |
|
6553 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
6554 |
2934
|
6555 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6556 |
|
6557 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
6558 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
6559 |
|
6560 * oct-passwd.h, oct-passwd.cc: New files. |
|
6561 |
2926
|
6562 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6563 |
|
6564 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
6565 |
|
6566 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
6567 (instance_ok ()): New function. |
|
6568 |
|
6569 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
6570 |
|
6571 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
6572 |
|
6573 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
6574 src/utils.h and src/utils.cc. |
|
6575 (octave_fgets): New function, extracted from src/input.cc. |
|
6576 |
|
6577 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
6578 GNU readline, and allow Octave to work without GNU readline. |
|
6579 |
|
6580 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
6581 system-dependent functions. |
|
6582 |
|
6583 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
6584 |
|
6585 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
6586 from file-ops.h and file-ops.cc and move here. |
|
6587 |
|
6588 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
6589 tilde_expand functions here from src/dirfns.cc. |
|
6590 |
|
6591 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6592 |
|
6593 * pathlen.h: New file, from ../src. |
|
6594 |
2917
|
6595 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6596 |
|
6597 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
6598 out-of-bounds indexing of the index array. |
|
6599 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
6600 |
2850
|
6601 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6602 |
|
6603 * LSODE.h (x_step_limit): New field. |
|
6604 (LSODE_options::init): Initialize it. |
|
6605 (LSODE_options::copy): Copy it. |
|
6606 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
6607 New functions. |
|
6608 (LSODE::working_too_hard): Delete. |
|
6609 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
6610 |
2844
|
6611 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6612 |
|
6613 * MArray-b.cc: Delete. |
|
6614 * Makefile.in: Delete it from the lists. |
|
6615 |
|
6616 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
6617 MArray2, since most of the numeric ops don't really make sense. |
|
6618 |
2829
|
6619 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6620 |
2832
|
6621 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
6622 |
|
6623 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
6624 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
6625 |
2830
|
6626 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
6627 idx_vector::freeze): Delete prefer_zero_one arg. |
|
6628 * Array-idx.h, Array2-idx.h: Change all callers. |
|
6629 |
|
6630 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
6631 |
2829
|
6632 * mx-op-defs.h: New file for operator definitions. |
|
6633 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
6634 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
6635 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
6636 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
6637 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
6638 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
6639 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
6640 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
6641 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
6642 mx-s-cm.cc, mx-s-dm.cc: |
|
6643 New files for mixed-type operations. |
|
6644 * Makefiles.in: Add them to the appropriate lists. |
|
6645 |
|
6646 * mx-inlines.cc: Add bool by bool EQ ops. |
|
6647 |
|
6648 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
6649 boolMatrix types. |
|
6650 (idx_vector::maybe_convert_one_zero_to_idx, |
|
6651 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
6652 Delete second arg, prefer_zero_one. Change all callers. |
|
6653 |
|
6654 * boolMatrix.h, boolMatrix.cc: New files. |
|
6655 * mx-base.h: Include boolMatrix.h here. |
|
6656 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
6657 |
|
6658 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
6659 |
|
6660 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
6661 operator-, operator*, product, and quotient functions. |
|
6662 Add constructor for boolMatrix type. |
|
6663 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
6664 product, and quotient functions. |
|
6665 |
|
6666 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
6667 operator-, and product functions. |
|
6668 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
6669 |
|
6670 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
6671 |
2815
|
6672 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6673 |
|
6674 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
6675 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
6676 (EIG::symmetric_init (const Matrix&)): New function. |
|
6677 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
6678 |
|
6679 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
6680 |
|
6681 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6682 |
|
6683 * Array2.cc (is_symmetric): New function. |
|
6684 * Array2.h (is_square): New function. |
|
6685 |
2811
|
6686 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6687 |
|
6688 * Makefile.in (install-strip): New target. |
|
6689 |
2804
|
6690 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6691 |
|
6692 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
6693 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
6694 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
6695 dbleSVD.cc: Don't include mx-inlines.cc. |
|
6696 |
|
6697 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
6698 duplicate code. |
|
6699 |
2800
|
6700 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6701 |
2804
|
6702 * dbleQR.h (QR): Delete extra comma at end of list. |
|
6703 |
|
6704 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
6705 |
|
6706 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
6707 |
|
6708 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
6709 idx_vecotr_rep:: qualifiers. |
|
6710 |
|
6711 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
6712 |
|
6713 * data-conv.h (save_type): Delete extra comma at end of list. |
|
6714 |
2800
|
6715 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
6716 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
6717 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
6718 old C-style `(T) val' casts. |
|
6719 |
2795
|
6720 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6721 |
|
6722 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
6723 just breaking out of the innermost loop. |
|
6724 * CMatrix.cc (operator >>): Likewise. |
|
6725 |
2779
|
6726 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
6727 |
|
6728 * Version 2.0.5 released. |
|
6729 |
2767
|
6730 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6731 |
|
6732 * CmplxQR.cc (ComplexQR::init): New function. |
|
6733 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
6734 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
6735 Get sizes right in all cases. |
|
6736 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
6737 |
|
6738 * dbleQR.cc (QR::init): New function. |
|
6739 (QR::QR): Use it. Use initializer list too. |
|
6740 * dbleQRP.cc (QRP::init): New function. |
|
6741 Get sizes right in all cases. |
|
6742 (QR::QRP): Use it. Use initializer list too. |
|
6743 |
2759
|
6744 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6745 |
|
6746 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
6747 Recognize "vaxg", not "vax_g". |
|
6748 |
2713
|
6749 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6750 |
2714
|
6751 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
6752 dimension in check for colon equivalent index. |
|
6753 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
6754 index whose value is 0 is also colon eqivalent for n == 1. |
|
6755 |
2713
|
6756 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
6757 system-specific tests first. |
|
6758 |
2709
|
6759 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
6760 |
|
6761 * Version 2.0.4 released. |
|
6762 |
|
6763 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6764 |
|
6765 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
6766 |
2693
|
6767 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
6768 |
|
6769 * Version 2.0.3 released. |
|
6770 |
2686
|
6771 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6772 |
|
6773 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
6774 |
2673
|
6775 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6776 |
2676
|
6777 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
6778 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
6779 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
6780 (stamp-picdir): Silence noise about making pic. |
|
6781 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
6782 |
2673
|
6783 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6784 Fix typo in last change. |
|
6785 |
|
6786 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
6787 Convert from friend (moved from dColVector.cc). |
|
6788 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
6789 Likewise (moved from dMatrix.cc). |
|
6790 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
6791 Likewise (moved from dRowVector.cc). |
|
6792 |
|
6793 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
6794 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
6795 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
6796 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
6797 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
6798 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
6799 |
|
6800 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
6801 * dMatrix.cc (Matrix::apply): Likewise. |
|
6802 * dRowVector.cc (RowVector::apply): Likewise. |
|
6803 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
6804 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
6805 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
6806 |
2668
|
6807 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6808 |
|
6809 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
6810 |
|
6811 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6812 |
|
6813 * file-ops.cc (oct_unlink (const string&, string&)): |
|
6814 New two-arg version. |
|
6815 (oct_rmdir (const string&, string&)): New two-arg version. |
|
6816 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
6817 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
6818 (oct_rename (const string&, const string&, string&)): |
|
6819 New three-arg version. |
|
6820 |
2663
|
6821 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6822 |
|
6823 * idx-vector.h (idx_vector::orig_empty): New function. |
|
6824 |
|
6825 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6826 Don't always resize to [](0x0) if one of the indices is empty or |
|
6827 zero. |
|
6828 |
2658
|
6829 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6830 |
|
6831 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
6832 Set line_in_file here too. |
|
6833 (command_history::read_range): New arg, must_exist. |
|
6834 |
2651
|
6835 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6836 |
|
6837 * f2c-main.c: Change C++-style comments to C-style comments. |
|
6838 |
2638
|
6839 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6840 |
|
6841 * Makefile.in (install-inc): Create a relative symbolic link. |
|
6842 |
2634
|
6843 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6844 |
|
6845 * Version 2.0.2 released. |
|
6846 |
2624
|
6847 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6848 |
|
6849 * Makefile.in (bin-dist): New target. |
|
6850 |
2621
|
6851 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6852 |
|
6853 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
6854 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
6855 |
2613
|
6856 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6857 |
|
6858 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6859 If the number of columns is zero, also set the number of rows to zero. |
|
6860 (charMatrix::charMatrix (const char *)): Likewise. |
|
6861 |
2602
|
6862 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6863 |
|
6864 * Version 2.0.1 released. |
|
6865 |
2601
|
6866 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6867 |
|
6868 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
6869 columns for resizing when the number of rows is specified but the |
|
6870 number of columns is not. |
|
6871 |
2598
|
6872 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6873 |
2599
|
6874 * Range.cc (operator -): New function. |
|
6875 |
2598
|
6876 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
6877 |
2589
|
6878 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6879 |
|
6880 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
6881 know if the assignment conforms. |
|
6882 |
2583
|
6883 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6884 |
|
6885 * Version 2.0 released. |
|
6886 |
2570
|
6887 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6888 |
2575
|
6889 * Array2-idx.h (assign): If index is a colon, set number of |
|
6890 elements to the lhs dimension if the lhs dimension is greater than |
|
6891 zero. Otherwise, set it to the rhs dimension. |
|
6892 |
|
6893 * Version 1.94. |
|
6894 |
2570
|
6895 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
6896 If index is colon, set number of elements to lhs dimension, not |
|
6897 rhs dimension. |
|
6898 |
2563
|
6899 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6900 |
2566
|
6901 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
6902 * sun-utils.cc: Delete. |
|
6903 * f2c-main.c: New file |
|
6904 |
|
6905 * Makefile.in: Fix file name lists. |
|
6906 |
2563
|
6907 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
6908 |
2561
|
6909 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6910 |
|
6911 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
6912 Create result using Complex constructor, not multiplication. |
|
6913 Order elements as they are returned from Eispack. |
|
6914 |
2559
|
6915 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6916 |
2560
|
6917 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
6918 Only include nan.h if SCO is defined. Define _IEEE before |
|
6919 including it and undefine it afterward. |
|
6920 [SCO] (isnan): Don't mistake Inf as NaN. |
|
6921 |
2559
|
6922 * Array-idx.h (assign): Only resize if assignment conforms. |
|
6923 |
2551
|
6924 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6925 |
|
6926 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
6927 * lo-error.h: Delete (moved to libcruft/misc). |
|
6928 |
|
6929 * Version 1.93. |
|
6930 |
2546
|
6931 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6932 |
2549
|
6933 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
6934 be the same as they are in fnmatch.h. |
|
6935 |
2546
|
6936 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
6937 |
|
6938 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
6939 (SOURCES): Delete f77-fcn.c. |
|
6940 |
2522
|
6941 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6942 |
|
6943 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
6944 |
2512
|
6945 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6946 |
|
6947 * Version 1.92. |
|
6948 |
2508
|
6949 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6950 |
2512
|
6951 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
6952 lines that have only carriage return or newline. |
|
6953 |
2508
|
6954 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
6955 |
2500
|
6956 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6957 |
|
6958 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
6959 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
6960 |
2493
|
6961 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6962 |
|
6963 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
6964 from vectors of C strings. |
|
6965 |
|
6966 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
6967 vector. |
|
6968 (glob_match::match): Allow match string to be a string vector. |
|
6969 (glob_match::glob): New function. |
|
6970 |
|
6971 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
6972 |
|
6973 * Array-b.cc: New file. |
|
6974 * Makefile.in (TI_SRC): Add it to the list. |
|
6975 |
2492
|
6976 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6977 |
|
6978 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
6979 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
6980 want the version from the build directory. (Maybe this should be |
|
6981 done for all the include files, not just those that are |
|
6982 auto-generated? Hmm.) |
|
6983 |
2481
|
6984 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6985 |
2482
|
6986 * Version 1.91. |
|
6987 |
2481
|
6988 * Array3.cc (Array3<T>::resize): Make it work. |
|
6989 |
|
6990 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6991 |
|
6992 * oct-alloc.h, oct-alloc.cc: New files. |
|
6993 * Makefile.in: Add them to the lists. |
|
6994 |
|
6995 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6996 |
|
6997 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
6998 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
6999 |
2466
|
7000 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7001 |
|
7002 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
7003 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
7004 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
7005 underlying macro is not defined. |
|
7006 |
|
7007 * oct-math.h (lgamma, gamma): Delete declarations. |
|
7008 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
7009 Protect declarations with #ifdef HAVE_*. |
|
7010 |
2440
|
7011 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7012 |
2452
|
7013 * Version 1.90. |
|
7014 |
|
7015 * Makefile.in (DISTFILES): Add ChangeLog. |
|
7016 |
2444
|
7017 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
7018 |
|
7019 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
7020 |
2443
|
7021 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
7022 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
7023 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
7024 |
2440
|
7025 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
7026 since that is now accepatble syntax, even for built-in types. |
|
7027 * Array2.h (T Array2<T>::checkelem): Likewise |
|
7028 |
2433
|
7029 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7030 |
|
7031 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
7032 message and return -1. |
|
7033 |
2428
|
7034 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7035 |
2431
|
7036 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
7037 cast them to const string * in the body of the function. |
|
7038 |
|
7039 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
7040 string from buf. |
|
7041 |
2428
|
7042 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
7043 GCC_ATTRIBUTE_UNUSED. |
|
7044 * Array2.h (Array2::checkelem): Likewise. |
|
7045 |
2424
|
7046 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7047 |
|
7048 * Quad.h (Quad): Define virtual destructor. |
|
7049 |
2408
|
7050 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7051 |
|
7052 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
7053 |
2401
|
7054 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7055 |
|
7056 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
7057 and MAIN__ extern "C". |
|
7058 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
7059 |
2391
|
7060 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7061 |
|
7062 * MArray-misc.cc: New file. |
|
7063 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
7064 |
|
7065 * mx-inlines.cc (equal): Return bool, not int. |
|
7066 |
|
7067 * idx-vector.h (idx_vector (double)): New constructor. |
|
7068 |
|
7069 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
7070 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
7071 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
7072 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
7073 CRowVector.cc: Logical operators return bool, not int. |
|
7074 |
|
7075 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
7076 New function. |
|
7077 |
|
7078 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
7079 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
7080 Matrix::all_elements_are_inf_or_nan): New functions. |
|
7081 |
|
7082 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
7083 |
|
7084 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
7085 for errors. Simplify macros by converting FCN to string for error |
|
7086 messages. |
|
7087 |
|
7088 * Array-idx.h (Array<T>::index): New function. Don't call |
|
7089 clear_index() here. |
|
7090 (Array<T>::value): Call it, do call clear_index() here. |
|
7091 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
7092 one and two arg index functions. |
|
7093 |
|
7094 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7095 |
|
7096 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
7097 separate implementation file. |
|
7098 |
2354
|
7099 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7100 |
2358
|
7101 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
7102 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
7103 |
2356
|
7104 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
7105 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
7106 them uniq. |
|
7107 |
2354
|
7108 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
7109 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
7110 Rewrite. Also return index as a reference arg. |
|
7111 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
7112 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
7113 Delete. |
|
7114 |
|
7115 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
7116 Matrix::column_max, Matrix::column_min): |
|
7117 Rewrite. Also return index as a reference arg. |
|
7118 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
7119 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
7120 |
|
7121 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7122 |
|
7123 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
7124 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
7125 Matrix::column_min_loc, Matrix::column_max, |
|
7126 Matrix::column_max_loc): Ignore leading NaNs. |
|
7127 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
7128 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
7129 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
7130 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
7131 leading NaNs. |
|
7132 |
2352
|
7133 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7134 |
|
7135 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
7136 starting at n, not 0. |
|
7137 |
2349
|
7138 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7139 |
|
7140 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
7141 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
7142 |
|
7143 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
7144 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
7145 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
7146 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
7147 New constructors. |
|
7148 |
|
7149 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
7150 New constructor. |
|
7151 |
2343
|
7152 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7153 |
|
7154 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
7155 derivative vectors are the same size. |
2344
|
7156 * DASSL.cc (do_integrate): Likewise. |
2343
|
7157 |
2330
|
7158 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7159 |
|
7160 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
7161 iostreams and handler data format conversions. Delete old methods |
|
7162 that used stdio. |
|
7163 |
|
7164 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
7165 |
|
7166 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7167 |
|
7168 * mach-info.h: Rename from float-fmt.h. |
|
7169 * mach-info.cc: Rename from float-fmt.cc. |
|
7170 Handle machine information using a singlton class. |
|
7171 * Makefile.in: Update appropriate lists. |
|
7172 |
|
7173 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7174 |
|
7175 * Array-flags.cc: Provide definitions for the flags even if |
|
7176 OCTAVE_SOURCE is not defined. |
|
7177 |
|
7178 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
7179 operator(), not elem(). |
|
7180 * Array3.h: Move indexing methods here from Array3.cc. |
|
7181 |
|
7182 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7183 |
|
7184 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
7185 |
|
7186 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
7187 INSTALL_DATA for shared libs. |
|
7188 |
|
7189 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7190 |
|
7191 * Quad.cc: Include lo-error.h here too. |
|
7192 |
|
7193 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7194 |
|
7195 * file-ops.h: Include sys/types.h here. |
|
7196 |
|
7197 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7198 |
|
7199 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
7200 |
|
7201 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
7202 elements in result. |
|
7203 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
7204 rows and columns in result. |
|
7205 |
|
7206 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7207 |
|
7208 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
7209 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
7210 |
|
7211 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7212 |
|
7213 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
7214 |
|
7215 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7216 |
|
7217 * Makefile.in (uninstall): Also delete shared library. |
|
7218 Split install into install-libs and install-includes. |
|
7219 (install-inc): If linkdir is a directory, leave it alone. |
|
7220 |
|
7221 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
7222 |
|
7223 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7224 |
|
7225 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
7226 * Array2-idx.h (assign): Likewise. |
|
7227 |
|
7228 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7229 |
|
7230 * Array2.cc (Array2<T>::range_error): New functions. |
|
7231 |
|
7232 * Array.h (class Array<T>): elem() and operator() are now |
|
7233 equivalent, and do bounds checking by default. |
|
7234 * Array2.cc (class Array2<T>): Likewise. |
|
7235 |
|
7236 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7237 |
|
7238 * Makefile.in (maintainer-clean, distclean): Also delete |
|
7239 stamp-picdir, stamp-shared, and pic directory. |
|
7240 (stamp-prereq): New target. |
|
7241 |
|
7242 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7243 |
|
7244 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
7245 New function. |
|
7246 |
|
7247 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
7248 * Array.h (Array<T>::checkelem): Use them. |
|
7249 |
|
7250 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
7251 elements too. |
|
7252 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
7253 |
|
7254 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
7255 |
|
7256 * Makefile.in (distclean): Delete so_locations, which is created |
|
7257 on DEC Alpha systems. |
|
7258 |
|
7259 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7260 |
|
7261 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
7262 already defined. |
|
7263 |
|
7264 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7265 |
|
7266 * pathsearch.cc: Include config.h. |
|
7267 |
|
7268 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7269 |
|
7270 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
7271 allow M(I, J) = scalar if I or J is empty. |
|
7272 |
|
7273 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
7274 and Array3-idx.h). |
|
7275 |
|
7276 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7277 |
|
7278 * lo-error.h: Make comments C friendly. |
|
7279 |
|
7280 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7281 |
|
7282 * Array2.h (make_unique): Move all indexing functions here. |
|
7283 * Array2.cc: From here. |
|
7284 |
|
7285 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
7286 whether operator() calls elem or checkelem. |
|
7287 |
|
7288 * Array.h (make_unique): New private function. |
|
7289 Move all indexing functions here. |
|
7290 * Array.cc: From here. |
|
7291 |
|
7292 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
7293 it too. |
|
7294 |
|
7295 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
7296 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
7297 MArray-C.cc: Include config.h. |
|
7298 |
|
7299 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
7300 Don't define HEAVYWEIGHT_INDEXING here. |
|
7301 |
|
7302 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7303 |
|
7304 * base-lu.h, base-lu.cc: New files. |
|
7305 * Makefile.in: Add them to the appropriate lists. |
|
7306 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
7307 |
|
7308 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7309 |
|
7310 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
7311 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
7312 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
7313 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
7314 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
7315 |
|
7316 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
7317 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
7318 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
7319 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
7320 Simplify using new macros. |
|
7321 |
|
7322 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7323 |
|
7324 * Makefile.in (install): If $(includedir) ends in version string, |
|
7325 make link to name that does not include version info. |
|
7326 |
|
7327 * lo-ieee.cc: Include <cmath> here. |
|
7328 |
|
7329 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7330 |
|
7331 * lo-ieee.cc, lo-ieee.h: New files. |
|
7332 * lo-mappers.cc, lo-mappers.h: New files. |
|
7333 * lo-utils.cc, lo-utils.h: New files. |
|
7334 * Makefile.in: Add them to the appropriate lists. |
|
7335 |
|
7336 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7337 |
|
7338 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7339 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7340 |
|
7341 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
7342 float-fmt.cc: New files. |
|
7343 * Makefile.in: Include them in the appropriate lists. |
|
7344 |
|
7345 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7346 |
|
7347 * dMatrix.cc (Qzval): New function. |
|
7348 |
|
7349 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7350 |
|
7351 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
7352 char*. |
|
7353 |
|
7354 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
7355 Use F77_XFCN to call Fortran subroutine. |
|
7356 * dColVector.cc, CColVector.cc: Likewise. |
|
7357 * dRowVector.cc, CRowVector.cc: Likewise. |
|
7358 * NPSOL.h, NPSOL.cc: Likewise. |
|
7359 * CmplxCHOL.cc: Likewise. |
|
7360 * dbleCHOL.cc: Likewise. |
|
7361 * CMatrix.cc: Likewise. |
|
7362 * dMatrix.cc: Likewise. |
|
7363 * QPSOL.cc: Likewise. |
|
7364 * LSODE.cc: Likewise. |
|
7365 |
|
7366 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7367 |
|
7368 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
7369 |
|
7370 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
7371 workspace. Use F77_XFCN to call Fortran subroutine. |
|
7372 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
7373 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
7374 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
7375 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
7376 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
7377 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
7378 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
7379 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
7380 * EIG.h, EIG.cc; Likewise. |
|
7381 * CollocWt.cc: Likewise. |
|
7382 * NLEqn.cc: Likewise. |
|
7383 * Quad.cc: Likewise. |
|
7384 |
|
7385 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7386 |
|
7387 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
7388 Use F77_XFCN to call Fortran subroutine. |
|
7389 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
7390 * dbleQR.h, dbleQR.cc: Ditto. |
|
7391 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
7392 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
7393 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
7394 |
|
7395 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
7396 (struct DIR): delete forward declaration. |
|
7397 (dir_entry::operator = (const dir_entry$)): Protect against |
|
7398 copying same object. |
|
7399 * dir-ops.cc: Cast dir appropriately. |
|
7400 |
|
7401 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7402 |
|
7403 * lo-error.cc: Moved to libcruft/misc. |
|
7404 * Makefile.in: Delete it from the list. |
|
7405 |
|
7406 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
7407 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
7408 |
|
7409 * Array-flags.h: New file. |
|
7410 * Array-idx.h: Include it here. |
|
7411 * Makefile.in (MATRIX_INC): Add it to the list. |
|
7412 |
|
7413 * Array-flags.cc: Renamed from Array-ext.cc. |
|
7414 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
7415 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
7416 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
7417 (liboctave_rre_flag): Renamed from rre_flag. |
|
7418 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
7419 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
7420 |
|
7421 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
7422 (stamp-shared): Use them here. |
|
7423 |
|
7424 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7425 |
|
7426 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
7427 argument value. |
|
7428 |
|
7429 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7430 |
|
7431 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
7432 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
7433 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
7434 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
7435 Clean up constructors, assigment operator. |
|
7436 |
|
7437 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7438 |
|
7439 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
7440 Check f77_exception_encountered on return. |
|
7441 |
|
7442 * f77-fcn.c (f77_exception_encountered): New variable. |
|
7443 (F77_XFCN): Set it. |
|
7444 * f77-fcn.h: Provide declaration. |
|
7445 |
|
7446 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
7447 |
|
7448 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
7449 |
|
7450 * NLEqn.h (NLEqn_options::set_options): New function. |
|
7451 * Quad.h (Quad_options::set_options): Likewise. |
|
7452 |
|
7453 * LP.h (class LP): Add accessors for LP data. |
|
7454 |
|
7455 * NLEqn.h (NLEqn::n): Delete. |
|
7456 |
|
7457 * NLEqn.h (class NLEqn::n): Likewise. |
|
7458 |
|
7459 * NLP.h (class NLP): Add accessors for NLP data. |
|
7460 |
|
7461 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
7462 access functions here. |
|
7463 * NPSOL.cc.cc: From here. |
|
7464 |
|
7465 * QLD.h (class QLD): Add destructor definition. |
|
7466 * Objective.h (class Objective): Likewise. |
|
7467 * ODEFunc.h (class ODEFunc): Likewise. |
|
7468 * NLFunc.h (class NLFunc): Likewise. |
|
7469 * NLEqn.h (class NLEqn): Likewise. |
|
7470 * NLConst.h (class NLConst): Likewise. |
|
7471 * LinConst.h (class LinConst): Likewise. |
|
7472 * LSODE.h (class LSODE_options): Likewise. |
|
7473 * CollocWt.h (class CollocWt): Likewise. |
|
7474 * Bounds.h (class Bounds): Likewise. |
|
7475 |
|
7476 * QLD.cc (QLD::set_default_options): Delete. |
|
7477 |
|
7478 * QP.h (QP): Add accessors for QP data. |
|
7479 Add copy constructor, operator =, and destructor definitions. |
|
7480 |
|
7481 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
7482 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
7483 DAEFunc.h, CollocWt.h, Bounds.h: |
|
7484 Clean up constructors, assigment operator. |
|
7485 |
|
7486 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
7487 counting to avoid duplicating the data immediately. |
|
7488 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
7489 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
7490 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
7491 |
|
7492 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7493 |
|
7494 * prog-args.h (prog_args::option_argument): New enum. |
|
7495 |
|
7496 * f77-fcn.h: Rename from f77-uscore.h. |
|
7497 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
7498 * f77-fcn.c: New file. |
|
7499 * Makefile.in (SOURCES): Add it to the list. |
|
7500 |
|
7501 * ODEFunc.h: Clean up. |
|
7502 |
|
7503 * DASSL.cc, DASSL.h: New files. |
|
7504 * Makefile.in: Add them to the appropriate lists. |
|
7505 |
|
7506 * LSODE.cc, LSODE.h: New files. |
|
7507 * Makefile.in: Add them to the appropriate lists. |
|
7508 |
|
7509 * ODE.cc: Delete. |
|
7510 * Makefile.in (SOURCES): Remove from list. |
|
7511 |
|
7512 * base-de.h, DAE.cc: New files. |
|
7513 * Makefile.in: Add them to the appropriate lists. |
|
7514 * ODE.h: Only define interface for ODE classes. |
|
7515 * DAE.h: Only define interface for ODE classes. |
|
7516 |
|
7517 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
7518 (LPsolve::set_default_options)): Delete |
|
7519 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
7520 destructor. |
|
7521 |
|
7522 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
7523 |
|
7524 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
7525 (QPSOL::operator =): Call base class operator = instead of assuming |
|
7526 we know what to copy. |
|
7527 |
|
7528 * base-min.h (size): New function. |
|
7529 |
|
7530 * NLP.h (NLP::size): Delete. |
|
7531 (NLP::NLP (const NLP&)): New constructor. |
|
7532 (NLP::operator =): Call base class operator = instead of assuming |
|
7533 we know what to copy. |
|
7534 |
|
7535 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
7536 (class NPSOL): Add operator = and destructor. |
|
7537 |
|
7538 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
7539 |
|
7540 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7541 |
|
7542 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
7543 |
|
7544 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7545 |
|
7546 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
7547 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
7548 |
|
7549 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7550 |
|
7551 * prog-args.h, prog-args.cc: New files. |
|
7552 * Makefile.in: Add them to lists. |
|
7553 |
|
7554 * getopt.h, getopt.c, getopt1.c: New files. |
|
7555 * Makefile.in: Add them to the lists. |
|
7556 |
|
7557 * oct-term.h, oct-term.cc: New files. |
|
7558 * Makefile.in: Add them to the lists. |
|
7559 |
|
7560 * str-vec.cc: New file. |
|
7561 * Makefile.in (SOURCES): Add it to the list. |
|
7562 |
|
7563 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
7564 |
|
7565 * tempname.c, tempnam.c: Move here from src directory. |
|
7566 * Makefile.in: Add to lists. |
|
7567 |
|
7568 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7569 |
|
7570 * cmd-hist.h, cmd-hist.cc: New files. |
|
7571 * Makefile.in: Add them to lists. |
|
7572 |
|
7573 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7574 |
|
7575 * oct-glob.h, oct-glob.cc: New files. |
|
7576 * Makefile.in: Add them to lists. |
|
7577 |
|
7578 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7579 |
|
7580 * pathsearch.h, pathsearch.cc: New files. |
|
7581 * Makefile.in: Add them to lists. |
|
7582 |
|
7583 * dir-ops.h, dir-ops.cc: New files. |
|
7584 * sysdir.h: Move here from src directory. |
|
7585 * Makefile.in: Add them to lists. |
|
7586 |
|
7587 * Array.h (Array::qsort): Return *this, not void. |
|
7588 * str-vec.h (string_vector::qsort): Likewise. |
|
7589 |
|
7590 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
7591 unnecessary NULs. |
|
7592 |
|
7593 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7594 |
|
7595 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
7596 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
7597 Files moved here from src directory. |
|
7598 * Makefile.in: Add them to lists. Include appropriate rules. |
|
7599 |
|
7600 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7601 Use pointers, not references (this is C code!). |
|
7602 |
|
7603 * oct-math.h: New file. |
|
7604 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7605 Files moved here from src directory. |
|
7606 * Makefile.in: Add them to lists. |
|
7607 |
|
7608 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7609 |
|
7610 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
7611 |
|
7612 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
7613 Convert to use string class instead of char*. |
|
7614 |
|
7615 * str-vec.h, Array-str.cc: New files. |
|
7616 |
|
7617 * Array.h (Array::qsort): New function. |
|
7618 |
|
7619 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7620 |
|
7621 * Array.h: Nest ArrayRep class inside Array class. |
|
7622 Refer to ArrayRep, not ArrayRep<T>. |
|
7623 Move all ArrayRep functions inline. |
|
7624 Don't declare other Array classes as friends of ArrayRep. |
|
7625 * Array.cc: Delete ArrayRep functions. |
|
7626 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
7627 |
|
7628 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
7629 Don't instantiate ArrayRep objects. |
|
7630 |
|
7631 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7632 |
|
7633 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
7634 New constructor. |
|
7635 |
|
7636 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7637 |
|
7638 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
7639 for balance_job arg. |
|
7640 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
7641 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
7642 |
|
7643 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
7644 |
|
7645 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7646 |
|
7647 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
7648 |
|
7649 * chMatrix.cc (row_as_string): Undo previous change. |
|
7650 |
|
7651 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7652 |
|
7653 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
7654 is expected to save string if necessary. |
|
7655 |
|
7656 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7657 |
|
7658 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
7659 platforms. |
|
7660 |
|
7661 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
7662 a.rep, don't mess with count. |
|
7663 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
7664 don't do anything if reps are the same. |
|
7665 (Array3<T>& operator = (const Array3<T>&) |
|
7666 |
|
7667 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
7668 Declare private with no definition to prevent misuse. |
|
7669 |
|
7670 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
7671 Get range check right. |
|
7672 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
7673 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7674 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7675 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
7676 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
7677 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7678 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7679 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
7680 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
7681 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
7682 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
7683 * dColVector.cc |
|
7684 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7685 * CRowVector.cc |
|
7686 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
7687 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
7688 * CColVector.cc |
|
7689 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7690 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
7691 |
|
7692 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
7693 Also fill in zeros, not just the diagonal. |
|
7694 |
|
7695 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
7696 Use END parameter properly. |
|
7697 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
7698 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
7699 |
|
7700 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
7701 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
7702 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
7703 Don't copy count. Set it to 1. |
|
7704 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
7705 |
|
7706 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
7707 don't set rep->count to 1 here (now handled by ArrayRep |
|
7708 constructors). |
|
7709 (Array<T>::Array (void)): Ditto. |
|
7710 (Array<T>::Array (int)): Ditto. |
|
7711 (Array<T>::T& elem (int)): Ditto. |
|
7712 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
7713 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
7714 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
7715 (Array<T>::resize (int)): Ditto. |
|
7716 (Array<T>::resize (int, const T&)) :Ditto. |
|
7717 (Array<T>::fortran_vec (void)): Ditto. |
|
7718 (Array2<T>::resize (int, int)): Ditto. |
|
7719 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
7720 (DiagArray<T>::resize (int, int)): Ditto. |
|
7721 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
7722 |
|
7723 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7724 |
|
7725 * Array-ch.cc: Rename from Array-c.cc. |
|
7726 * MArray-ch.cc: Rename from MArray-c.cc. |
|
7727 * chMatrix.cc: Rename from cMatrix.cc. |
|
7728 * chMatrix.h: Rename from cMatrix.h. |
|
7729 * Makefile.in (TI_SRC): Use new names here. |
|
7730 * mx-base.h: Likewise. |
|
7731 |
|
7732 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7733 |
|
7734 * Makefile.in: Handle shared libraries. |
|
7735 |
|
7736 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7737 |
|
7738 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
7739 Correctly compute length of return value. Correct rows and |
|
7740 columns in zgemv call. |
|
7741 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
7742 |
|
7743 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7744 |
|
7745 * Makefile.in (stamp-picdir): New target. |
|
7746 (all): Depend on it. |
|
7747 |
|
7748 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7749 |
|
7750 * Makefile.in (INCLUDES): Remove QLD.h. |
|
7751 (SOURCES): Remove QLD.cc. |
|
7752 |
|
7753 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7754 |
|
7755 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
7756 If force is nonzero, invert even if matrix is singular. |
|
7757 (ComplexMatrix::inverse): Likewise. |
|
7758 |
|
7759 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
7760 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
7761 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
7762 Include "oct-cmplx.h" instead of <Complex.h>. |
|
7763 |
|
7764 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
7765 for class Complex. |
|
7766 |
|
7767 * oct-cmplx.h: New file. |
|
7768 * Makefile.in (INCLUDES): Add it to the list. |
|
7769 |
|
7770 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
7771 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
7772 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
7773 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
7774 Avoid g++ bugs. |
|
7775 |
|
7776 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7777 |
|
7778 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
7779 |
|
7780 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
7781 |
|
7782 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7783 |
|
7784 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
7785 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
7786 |
|
7787 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7788 |
|
7789 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
7790 index vector object with Array, not ArrayRep. |
|
7791 |
|
7792 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7793 |
|
7794 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
7795 if index is a colon and resizing is maybe needed. |
|
7796 |
|
7797 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7798 |
|
7799 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
7800 if we have a vector of 1's. |
|
7801 |
|
7802 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
7803 current orientation, require index and rhs to conform unless |
|
7804 do_fortran_indexing flag is set. |
|
7805 |
|
7806 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7807 |
|
7808 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
7809 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
7810 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
7811 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
7812 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
7813 Massive changes to support additional data types. Only charMatrix |
|
7814 is currently used in Octave. |
|
7815 |
|
7816 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7817 |
|
7818 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
7819 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
7820 Simply call Array2<Complex> version. |
|
7821 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
7822 call Array2<double> version. |
|
7823 |
|
7824 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
7825 |
|
7826 * Array.h, Array.cc: Massive overhaul to support new way of |
|
7827 handling indexing. |
|
7828 * idx-vector.h, idx-vector.cc: Likewise. |
|
7829 * Array-ext.cc, Array-idx.h: New files. |
|
7830 * Makefile.in: Add them to the appropriate lists. |
|
7831 |
|
7832 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7833 |
|
7834 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
7835 |
|
7836 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7837 |
|
7838 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
7839 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
7840 |
|
7841 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7842 |
|
7843 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
7844 |
|
7845 * Array.h: Move simple member functions here. |
|
7846 * Array.cc: From here. |
|
7847 |
|
7848 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7849 |
|
7850 * Range.cc (tfloor, tceil, round): New static functions. |
|
7851 (Range::nelem_internal): Rewrite to use better method. |
|
7852 |
|
7853 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
7854 (type_computed): New var. |
|
7855 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7856 Handle possible error condition. |
|
7857 (init): Allow for SVD::sigma_only, save type computed. |
|
7858 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7859 Handle possible error condition. |
|
7860 (init): Allow for SVD::sigma_only, save type computed. |
|
7861 |
|
7862 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7863 |
|
7864 * Nearly all non-matrix .h and .cc files: |
|
7865 Move short function bodies into class declarations for inlining. |
|
7866 Generally clean up. |
|
7867 |
|
7868 * base-min.h: New file. |
|
7869 * LP.h (class LP): Derive from base_minimizer. |
|
7870 * QLP.h (class QLP): Derive from base_minimizer. |
|
7871 * NLP.h (class NLP): Derive from base_minimizer. |
|
7872 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
7873 |
|
7874 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
7875 NLFunc.cc, Objective.cc and QP.cc from list. |
|
7876 |
|
7877 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7878 |
|
7879 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
7880 (SCHUR::SCHUR): Delete unused parameter ord. |
|
7881 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
7882 |
|
7883 * CRowVector.cc |
|
7884 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
7885 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
7886 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
7887 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
7888 Actually do something. |
|
7889 |
|
7890 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
7891 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
7892 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
7893 |
|
7894 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
7895 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
7896 tolerances. |
|
7897 |
|
7898 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
7899 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
7900 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
7901 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
7902 * QPSOL.cc (qphess): Likewise. |
|
7903 |
|
7904 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7905 |
|
7906 * dMatrix.cc: Include <cstring>. |
|
7907 |
|
7908 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
7909 that return bogus values after calling the error handler. |
|
7910 |
|
7911 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7912 |
|
7913 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
7914 |
|
7915 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
7916 |
|
7917 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7918 |
|
7919 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
7920 (dassl_j): Likewise. |
|
7921 |
|
7922 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
7923 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
7924 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
7925 Update for change in for loop variable scope for gcc 2.7.0. |
|
7926 |
|
7927 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7928 |
|
7929 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7930 not set. |
|
7931 |
|
7932 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
7933 |
|
7934 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
7935 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
7936 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
7937 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
7938 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
7939 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
7940 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
7941 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
7942 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
7943 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
7944 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
7945 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
7946 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
7947 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
7948 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
7949 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
7950 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
7951 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
7952 NLP.h: Use pragma interface/implementation. Don't surround |
|
7953 contents in extern "C++". |
|
7954 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
7955 |
|
7956 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7957 |
|
7958 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
7959 identifiers. |
|
7960 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7961 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7962 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7963 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7964 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7965 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7966 Quad.cc: Change usage of F77_FCN to match new definition |
|
7967 |
|
7968 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7969 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7970 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7971 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7972 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7973 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7974 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
7975 args by reference instead of pointer. Change all callers. |
|
7976 |
|
7977 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7978 |
|
7979 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
7980 functions. Make += and -= operators friend functions. |
|
7981 |
|
7982 * Array.h (Array2::~Array2, Array3::~Array3, |
|
7983 DiagArray::~DiagArray): New functions. |
|
7984 |
|
7985 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7986 |
|
7987 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
7988 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
7989 |
|
7990 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7991 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7992 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7993 dRowVector.h dRowVector.cc: |
|
7994 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
7995 Array2, and DiagArray2. |
|
7996 Don't use functions defined in mx-kludge.cc for arithmetic |
|
7997 like-type operations on arrays. |
|
7998 |
|
7999 * MArray.cc: Use the classes defined here like-type mathematical |
|
8000 operations on Array objects. Abuse CPP more. |
|
8001 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
8002 (EXTRAS): Delete it from this list. |
|
8003 |
|
8004 * MArray-C.cc, MArray-d.cc: New files. |
|
8005 * Makefile.in (TI_SRC): Add them to the list. |
|
8006 |
|
8007 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
8008 |
|
8009 * mx-kludge.cc: Abuse CPP even more. |
|
8010 |
|
8011 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
8012 |
|
8013 * Objective.h (objective_function): Add missing const. |
|
8014 (gradient_function): Likewise. |
|
8015 |
|
8016 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
8017 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
8018 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
8019 dRowVector.h dRowVector.cc: |
|
8020 Reorganize to declare and define friends where they should be, |
|
8021 based on the use of private constructors. |
|
8022 |
|
8023 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
8024 |
|
8025 * CRowVector.h (linspace): Add declaration. |
|
8026 * dRowVector.h (linspace): Likewise. |
|
8027 |
|
8028 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
8029 Force result of rcond + 1.0 to be stored. |
|
8030 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
8031 ComplexMatrix::solve): Likewise. |
|
8032 |
|
8033 See ChangeLog.1 in the top level directory for earlier changes. |