7265
|
1 2007-12-06 John W. Eaton <jwe@octave.org> |
|
2 |
|
3 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal |
|
4 data for npp and dpp after assignments. |
|
5 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. |
|
6 |
7253
|
7 2007-12-04 John W. Eaton <jwe@octave.org> |
|
8 |
|
9 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
10 Do nothing if one index is empty. |
|
11 |
7246
|
12 2007-12-04 David Bateman <dbateman@free.fr> |
|
13 |
|
14 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
15 Resize matrix as well if one dimension of lhs is zero and the rhs |
|
16 index exceeds the lhs index. |
|
17 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): |
|
18 Don't resize to a smaller matrix for empty matrices with a max rhs |
|
19 index smaller than the non zero lhs index. |
|
20 |
|
21 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> |
|
22 |
|
23 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. |
|
24 |
7241
|
25 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
|
26 |
|
27 * Array-util.cc (permute_vector_compare): Move here from Array.cc. |
|
28 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. |
|
29 * Array.cc (permute_vector, permute_vector_compare): Delete. |
|
30 |
7238
|
31 2007-12-03 David Bateman <dbateman@free.fr> |
|
32 |
|
33 * Sparse.cc (template <class LT, class RT> int assign |
|
34 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to |
|
35 rhs values if both no. rows and columns are zero. |
|
36 |
7231
|
37 2007-11-30 John W. Eaton <jwe@octave.org> |
|
38 |
7234
|
39 * oct-sort.cc, oct-sort.h: Style fixes. |
|
40 |
7231
|
41 * lo-math.h: New file. |
|
42 * Makefile.in (INCLUDES): Add it to the list. |
|
43 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, |
|
44 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, |
|
45 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, |
|
46 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, |
|
47 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, |
|
48 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, |
|
49 liboctave/lo-mappers.cc, liboctave/oct-time.cc, |
|
50 liboctave/oct-time.h, liboctave/randgamma.c, |
|
51 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h |
|
52 instead of cmath or math.h. |
|
53 * lo-mappers.h: Don't include sunmath.h here. |
|
54 |
7198
|
55 2007-11-26 John W. Eaton <jwe@octave.org> |
|
56 |
|
57 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): |
|
58 Eliminate unnecessary second arg from call to tree_to_mat_idx. |
|
59 |
|
60 * oct-inttypes.h (operator bool, operator char): Delete. |
|
61 (bool_value, char_value, double_value, float_value): New functions. |
|
62 |
7189
|
63 2007-11-26 David Bateman <dbateman@free.fr> |
|
64 |
|
65 * intNDArray.cc (template <class T> intNDArray<T> |
|
66 intNDArray<T>::max (int) const, template <class T> intNDArray<T> |
|
67 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, |
|
68 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
|
69 template <class T> intNDArray<T> intNDArray<T>::min |
|
70 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
|
71 classes. |
|
72 * intNDArray.h (class intNDArray): Add min/max methods |
|
73 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, |
|
74 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of |
|
75 min/max functions. |
|
76 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
77 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
78 (MINMAX_DECLS(T)): Declare the min/max functions for integer |
|
79 types. |
|
80 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
81 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
82 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer |
|
83 types. |
|
84 |
|
85 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, |
|
86 const T& rfv) const): If ndims != 2 call ND version of index. |
|
87 |
7176
|
88 2007-11-14 John W. Eaton <jwe@octave.org> |
|
89 |
7178
|
90 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
|
91 |
7176
|
92 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
|
93 correction to half-integer values. From Eric Chassande-Mottin |
|
94 <echassandemottin@gmail.com>. |
|
95 |
7124
|
96 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
|
97 |
|
98 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve |
|
99 ambiguities related to math functions (in C++ mode). |
|
100 |
7102
|
101 2007-11-06 David Bateman <dbateman@free.fr> |
|
102 |
7113
|
103 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
|
104 New method. |
|
105 * intNDarray.h (intNDArray sum (int) const): Declare it. |
|
106 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): |
|
107 New method. |
|
108 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. |
7102
|
109 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
|
110 norm to avoid issues of over- and underflow. From Rolf Fabian |
|
111 <Rolf.Fabian@gmx.de>. |
|
112 |
7081
|
113 2007-10-30 David Bateman <dbateman@free.fr> |
|
114 |
|
115 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. |
|
116 |
7079
|
117 2007-10-30 John W. Eaton <jwe@octave.org> |
|
118 |
|
119 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. |
|
120 * dMatrix.cc (lssolve): Compute size of iwork array. |
|
121 |
7076
|
122 2007-10-29 David Bateman <dbateman@free.fr> |
|
123 |
|
124 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
125 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
126 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
127 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
128 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
129 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
130 declarations. |
|
131 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
132 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
133 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
134 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
135 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
136 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
137 methods. |
|
138 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
139 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
140 octave_idx_type&, double&) const): Also return rcond from the |
|
141 singular values returned by XGELSD. |
|
142 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
143 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
144 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
145 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
146 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
147 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
148 declarations. |
|
149 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
150 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
151 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
152 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
153 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
154 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
155 methods. |
|
156 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
157 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
158 octave_idx_type&, double&) const): Also return rcond from the |
|
159 singular values returned by XGELSD. |
|
160 |
7072
|
161 2007-10-26 David Bateman <dbateman@free.fr> |
|
162 |
|
163 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient |
|
164 matrices to avoid reliability issues with xGELSY. |
|
165 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
7071
|
166 |
7065
|
167 2007-10-25 John W. Eaton <jwe@octave.org> |
|
168 |
|
169 * oct-time.cc (octave_gmtime::init, octave_localtime::init): |
|
170 Call unix_time on arg instead of relying on conversion operator. |
|
171 |
|
172 * oct-time.h (octave_time::double_value): New function. |
|
173 (octave_time::operator double () const): Delete. |
|
174 (octave_time::operator time_t () const): Delete. |
|
175 |
7058
|
176 2007-10-24 John W. Eaton <jwe@octave.org> |
|
177 |
|
178 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. |
|
179 |
7052
|
180 2007-10-23 John W. Eaton <jwe@octave.org> |
|
181 |
|
182 * CRowVector.cc (operator * const ComplexRowVector&, const |
|
183 ComplexColumnVector&)): Delete spurious code left from patch. |
|
184 |
7048
|
185 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
|
186 |
|
187 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, |
|
188 sparse-sort.cc: Include <cstring>. |
|
189 |
7036
|
190 2007-10-17 John W. Eaton <jwe@octave.org> |
|
191 |
|
192 * oct-sparse.h: Don't include metis.h. |
|
193 |
|
194 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. |
|
195 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
196 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, |
|
197 p_type>::sparse_base_chol_rep::init): Likewise. |
|
198 |
7033
|
199 2007-10-16 John W. Eaton <jwe@octave.org> |
|
200 |
|
201 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the |
|
202 matrix is hermitian or calc_cond is true. |
|
203 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
204 |
7016
|
205 2007-10-12 John W. Eaton <jwe@octave.org> |
|
206 |
|
207 * Change copyright notices in all files that are part of Octave to |
|
208 GPLv3 or any later version. |
|
209 |
7007
|
210 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
|
211 |
|
212 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. |
|
213 |
7001
|
214 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
|
215 |
|
216 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. |
|
217 |
7000
|
218 2007-10-10 John W. Eaton <jwe@octave.org> |
|
219 |
|
220 * LPsolve.h, LPsolve.cc: Delete. |
|
221 * Makefile.in: Remove them from the INCLUDES and |
|
222 LIBOCTAVE_CXX_SOURCES lists. |
|
223 |
6989
|
224 2007-10-09 John W. Eaton <jwe@octave.org> |
|
225 |
6996
|
226 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
|
227 and t.tm_year to INT_MIN before call to oct_strptime. Adjust |
|
228 values to zero after call if they remain unchanged. |
|
229 |
6989
|
230 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
|
231 * dNDArray.cc (NDArray::all_elements_are_zero): New function. |
|
232 |
6988
|
233 2007-10-09 David Bateman <dbateman@free.fr> |
|
234 |
6995
|
235 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
|
236 valud and mon and year are also filled in. |
|
237 |
6990
|
238 * Array2.h (Array2<T>::Array2(const dim_vector&), |
|
239 Array2<T>::Array(const dim_vector&, const T&)): Check that |
|
240 dim_vector is 2 dimensional. |
|
241 |
6988
|
242 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
|
243 int)): Remove a for loop in the random indexing case at the |
|
244 expense of maintaining a set of linked lists of indices that point |
|
245 to the same column in the original matrix. |
|
246 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs |
|
247 and use it on the RHS of expressions to avoid unnecessary calls to |
|
248 make_unique. |
|
249 |
6979
|
250 2007-10-08 David Bateman <dbateman@free.fr> |
|
251 |
|
252 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, |
|
253 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs |
|
254 for readline compatible functions. |
|
255 (octave_rl_redisplay): Redisplay the current line of text. |
|
256 (octave_rl_newline): Change interface to the same |
|
257 as used by the equivalent readline function itself. |
|
258 (octave_rl_filename_quoting_desired, |
|
259 octave_rl_set_filename_quote_characters, |
|
260 octave_rl_set_completer_quote_characters, |
|
261 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
262 octave_rl_set_char_is_quoted_function): New functions to control |
|
263 readline filename quoting and line acceptace. |
|
264 * oct-rl-edit.c (octave_rl_newline): Change interface to the same |
|
265 as used by the equivalent readline function itself. |
|
266 (octave_rl_redisplay): Redisplay the current line of text. |
|
267 (octave_rl_filename_quoting_desired, |
|
268 octave_rl_set_filename_quote_characters, |
|
269 octave_rl_set_completer_quote_characters, |
|
270 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
271 octave_rl_set_char_is_quoted_function): New functions to control |
|
272 readline filename quoting and line acceptace. |
|
273 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, |
|
274 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs |
|
275 to map C++ function to readline compatible functions. |
|
276 (set_filename_quote_characters): New function to set the |
|
277 characters to if they appear in a filename that force the filename |
|
278 to be quoted. |
|
279 (set_completer_quote_characters): The characters that the readline |
|
280 completion function considers as quotation characters. |
|
281 (set_quoting_function, set_dequoting_function, |
|
282 set_char_is_quoted_function, set_user_accept_line_function): |
|
283 Functions to set the Octave functions to perform quoting and the |
|
284 acceptance of a line of text by readline. |
|
285 (get_quoting_function, get_dequoting_function, |
|
286 get_char_is_quoted_function, get_user_accept_line_function): |
|
287 Functions to get the above functions. |
|
288 (accept_line): New method for the command_editor to accept a line |
|
289 of text. |
|
290 (file_quoting_desired): Function to set whether readline should |
|
291 attempt to quote filenames. |
|
292 (do_set_filename_quoting_characters, |
|
293 do_set_completer_quote_characters, do_set_quoting_function, |
|
294 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
295 do_set_user_accept_line_function, do_get_quoting_function, |
|
296 do_get_dequoting_function, do_get_char_is_quoted_function, |
|
297 do_get_user_accept_line_function, do_filename_quoting_desired): |
|
298 Virtual functions to control the behavior of readline quoting and |
|
299 acceptance of lines. |
|
300 (do_accept_line): Virtual function for the accept line function. |
|
301 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
|
302 do_completer_quote_characters, do_set_quoting_function, |
|
303 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
304 do_set_user_accept_line_function, do_get_quoting_function, |
|
305 do_get_dequoting_function, do_get_user_accept_line_function, |
|
306 do_accept_line, do_filename_quoting_desired, command_quoter, |
|
307 command_dequoter, command_char_is_quoted, command_accept_line): |
|
308 New functions in gnu_readline class to control filename quoting |
|
309 and line acceptance. |
|
310 (quoting_function, dequoting_function, char_is_quoted_function, |
|
311 user_accept_line_function): private variable to store functions |
|
312 supplied for readline quoting and line acceptance. |
|
313 (gnu_readline::gnu_readline): Also set the new function pointers |
|
314 to zero. |
|
315 (gnu_readline::do_newline): Adapt to new octave_rl_newline |
|
316 interface. |
|
317 (gnu_readeline::operate_and_get_next): Use new accept_line |
|
318 function rather than newline. |
|
319 (default_ommand_editor::do_accept_line): New method. |
|
320 (class command_editor set_filename_quote_characters, |
|
321 set_completer_quote_characters, set_quoting_function, |
|
322 set_dequoting_function, set_char_is_quoted_function, |
|
323 set_user_accept_line_function, get_quoting_function, |
|
324 get_dequoting_function, get_user_accept_line_function, |
|
325 accept_line, filename_quoting_desired): New functions checking |
|
326 instance before calling virtual function. |
|
327 |
|
328 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, |
|
329 Array2.h: Add dim_vector constructors. |
|
330 * charNDArray.h (charNDArray (const dim_vector&)): Add missing |
|
331 const to dim_vector constructors. |
|
332 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
|
333 (octave_idx_type)): New methods to constructor diagonal matrices. |
|
334 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag |
|
335 (octave_idx_type)): Declare them. |
|
336 |
|
337 |
6969
|
338 2007-10-06 John W. Eaton <jwe@octave.org> |
|
339 |
|
340 * lo-specfun.cc: (zlgamma): Delete. |
|
341 (xgamma): Use C library gamma function if available. |
|
342 (xlgamma): Use C library lgamma function if available. |
|
343 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X |
|
344 other than NaN or Inf. |
|
345 |
6961
|
346 2007-10-05 John W. Eaton <jwe@octave.org> |
|
347 |
|
348 * lo-specfun.cc (zlgamma): New function. |
|
349 |
6959
|
350 2007-10-04 John W. Eaton <jwe@octave.org> |
|
351 |
|
352 * oct-sort.cc (octave_sort<T>::binarysort): Remove register |
|
353 qualifiers on local variables. |
|
354 |
6958
|
355 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
|
356 |
|
357 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less |
|
358 than log(realmax) to avoid issues with NaN. |
|
359 |
6940
|
360 2007-10-01 John W. Eaton <jwe@octave.org> |
|
361 |
6941
|
362 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
|
363 initialize wday and yday. |
|
364 From Matthias Drochner <m.drochner@fz-juelich.de>. |
|
365 |
6940
|
366 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
|
367 insert extra '\001' when decoding \[ and \]. |
|
368 |
6926
|
369 2007-09-26 David Bateman <dbateman@free.fr> |
|
370 |
|
371 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with |
|
372 is much faster and no less accurate. |
|
373 * CMatrix.cc (lssolve): ditto. |
|
374 |
6924
|
375 2007-09-25 David Bateman <dbateman@free.fr> |
|
376 |
|
377 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow |
|
378 zero dimensioned matrices. |
|
379 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
|
380 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
381 ditto. |
|
382 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
383 ditto. |
|
384 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. |
|
385 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, |
|
386 qrsolve): ditto. |
|
387 * sparse-dmsolve.cc (dmsolve): ditto. |
|
388 |
6922
|
389 2007-09-21 John W. Eaton <jwe@octave.org> |
|
390 |
|
391 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
392 Also allow resizing empty LHS if it is 1x0 or 0xN. |
|
393 |
6916
|
394 2007-09-19 John W. Eaton <jwe@octave.org> |
|
395 |
|
396 * cmd-edit.cc (command_editor::remove_startup_hook): |
|
397 Fix cut-and-paste error. |
6917
|
398 (gnu_readline::set_startup_hook): Only set hook function if new |
|
399 function is different from the current one. |
6916
|
400 |
6913
|
401 2007-09-18 John W. Eaton <jwe@octave.org> |
|
402 |
|
403 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, |
|
404 command_editor::event_hook_set): New static data. |
|
405 (default_command_editor::set_startup_hook, |
|
406 gnu_readline::set_startup_hook, |
|
407 default_command_editor::restore_startup_hook, |
|
408 gnu_readline_restore_event_hook): |
|
409 Rename from do_set_startup_hook and do_set_event_hook. |
|
410 (gnu_readline::operate_and_get_next): Call |
|
411 command_editor::add_startup_hook, not |
|
412 command_editor::set_startup_hook. |
|
413 (command_editor::startup_handler, command_editor::event_handler): |
|
414 New functions. |
|
415 (command_editor::add_startup_hook, command_editor::add_event_hook, |
|
416 command_editor::remove_startup_hook, |
|
417 command_editor::remove_event_hook): Rename from set_startup_hook |
|
418 and restore_startup_hook. Handle hook sets here. |
|
419 * cmd-edit.cc (gnu_history::do_goto_mark): |
|
420 Call remove_startup_hook instead of restore_startup_hook. |
|
421 |
6907
|
422 2007-09-17 John W. Eaton <jwe@octave.org> |
|
423 |
|
424 * lo-utils.cc (octave_read_complex, octave_read_double): Skip |
|
425 leading whitespace. |
|
426 |
6897
|
427 2007-09-13 John W. Eaton <jwe@octave.org> |
|
428 |
|
429 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
430 octave_read_complex): Use istream::get instead of >> to read |
|
431 individual characters. |
|
432 |
6884
|
433 2007-09-10 John W. Eaton <jwe@octave.org> |
|
434 |
|
435 * Array.cc (assign1): Don't call make_unique for invalid assignment. |
|
436 |
|
437 2007-09-10 David Bateman <dbateman@free.fr> |
|
438 |
|
439 * Array.h (Array<T>::make_unique): Make public so that the |
|
440 ::assign functions can access it directly. |
|
441 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), |
|
442 Array<T>::maybe_delete_elements_1(idx_vector&), |
|
443 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), |
|
444 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): |
|
445 Use xelem for non const RHS to avoid call to make_unique. |
|
446 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use |
|
447 xelem for LHS and call lhs.make_unique() only once. Special case |
|
448 the is_colon index case and use Array<T>::xelem(octave_idx_type) |
|
449 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and |
|
450 bring the additional multiplication out of the inner loop. |
|
451 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
452 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
453 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
|
454 (const Range& r)): Don't use init_state() method but special case |
|
455 as with a Range can avoid exhaustive search. |
|
456 |
6881
|
457 2007-09-07 John W. Eaton <jwe@octave.org> |
|
458 |
|
459 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of |
|
460 manipulating rep directly. |
|
461 |
|
462 * Array.h (idx, idx_count): Declare mutable. |
|
463 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): |
|
464 Now const. |
|
465 |
6867
|
466 2007-09-06 David Bateman <dbateman@free.fr> |
|
467 |
6868
|
468 * Array-util.cc (increment_index): dimensions can have singleton |
|
469 trailing dimensions. |
6867
|
470 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
|
471 Modify use of Array<int> to Array<octave_idx_type> and adjust |
|
472 where necessary. |
|
473 * Array.cc (range_error): ditto. |
|
474 * MArrayN.h (permute, ipermute): ditto. |
|
475 * ArrayN.h (permute, ipermute): ditto. |
|
476 * so-array.cc (streamoff_array::compute_index): ditto. |
|
477 * so-array.h (compute_index): ditto. |
|
478 * CMattrix.cc (ComplexMatrix::exmpm): ditto. |
|
479 |
6840
|
480 2007-08-29 David Bateman <dbateman@free.fr> |
|
481 |
|
482 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
|
483 octave_idx_type&, double&, int, int)): Calculate with LU even for |
|
484 matrices marked as singular. |
|
485 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( |
|
486 MatrixType &, octave_idx_type&, double&, int, int)): ditto. |
|
487 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, |
|
488 double&, int, int)): ditto. If rcond==0 force matrix of infinities. |
|
489 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, |
|
490 octave_idx_type&, double&, int, int)): ditto. |
|
491 |
6838
|
492 2007-08-27 John W. Eaton <jwe@octave.org> |
|
493 |
|
494 * oct-env.cc (octave_env::rooted_relative_pathname, |
|
495 octave_env::do_rooted_relative_pathname): New functions. |
|
496 * oct-env.h: Provide decls. |
|
497 |
6823
|
498 2007-08-24 David Bateman <dbateman@free.fr> |
|
499 |
|
500 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
|
501 const Array<octave_idx_type>&)): New method. |
|
502 (MSparse (const dim_vector&, octave_idx_type)): Ditto. |
|
503 * dSparse.h (SparseMatrix& SparseMatrix::insert (const |
|
504 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
505 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
506 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const |
|
507 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
508 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
509 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
510 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
511 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
512 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
513 SparseMatrix&, const Array<octave_idx_type>&), |
|
514 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
515 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
516 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
517 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
518 SparseMatrix&, const Array<octave_idx_type>&), |
|
519 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
520 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
521 |
6817
|
522 2007-08-19 David Bateman <dbateman@free.fr> |
|
523 |
|
524 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. |
|
525 |
6813
|
526 2007-08-14 John W. Eaton <jwe@octave.org> |
|
527 |
|
528 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. |
|
529 Simplify. |
6814
|
530 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813
|
531 |
6810
|
532 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
|
533 |
|
534 * file-stat.cc (file_stat::update_internal) [__WIN32__]: |
|
535 Remove trailing dir separator when stat'ing directory except for |
|
536 root directory. |
|
537 |
6796
|
538 2007-07-25 David Bateman <dbateman@free.fr> |
|
539 |
|
540 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" |
|
541 to work. |
|
542 |
6764
|
543 2007-06-04 David Bateman <dbateman@free.fr> |
|
544 |
|
545 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), |
|
546 octave_int<T>& operator >>= (const T2&)): Make shift operators |
|
547 perform a twos complement arithmetic shift for both signed and |
|
548 unsigned integers regardless of compiler implementations. |
|
549 |
6708
|
550 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
|
551 |
6719
|
552 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
|
553 use cs_complex_t(0,0) for the complex zero. |
|
554 |
6708
|
555 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
|
556 Sprinkle class instantiations with OCTAVE_API as needed. |
|
557 |
|
558 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, |
|
559 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. |
|
560 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, |
|
561 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, |
|
562 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, |
|
563 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, |
|
564 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, |
|
565 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, |
|
566 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, |
|
567 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, |
|
568 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, |
|
569 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, |
|
570 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, |
|
571 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, |
|
572 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, |
|
573 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
|
574 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, |
|
575 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, |
|
576 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, |
|
577 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, |
|
578 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, |
|
579 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, |
|
580 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, |
|
581 INSTANTIATE_SPARSE_FRIENDS): Ditto. |
|
582 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, |
|
583 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, |
|
584 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, |
|
585 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
586 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
587 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, |
|
588 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, |
|
589 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, |
|
590 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, |
|
591 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, |
|
592 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, |
|
593 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, |
|
594 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, |
|
595 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, |
|
596 SPARSE_SMM_OP_DECLS): Ditto. |
|
597 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, |
|
598 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. |
|
599 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, |
|
600 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, |
|
601 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, |
|
602 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, |
|
603 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, |
|
604 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, |
|
605 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, |
|
606 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, |
|
607 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
608 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, |
|
609 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, |
|
610 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, |
|
611 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. |
|
612 |
6699
|
613 2007-06-12 John W. Eaton <jwe@octave.org> |
|
614 |
|
615 * dMatrix.cc (Matrix::expm): Special case for scalar arg. |
|
616 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
6697
|
617 |
6693
|
618 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
|
619 |
6709
|
620 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
|
621 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing |
|
622 with file_ops::dir_sep_char. |
6694
|
623 |
6693
|
624 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
|
625 |
6689
|
626 2007-06-04 David Bateman <dbateman@free.fr> |
|
627 |
6699
|
628 * file-ops.cc: Typo. |
|
629 |
6689
|
630 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
|
631 dimensions is greater than 2, collapse to 2-D. |
|
632 |
6685
|
633 2007-06-02 David Bateman <dbateman@free.fr> |
|
634 |
|
635 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. |
|
636 |
6680
|
637 2007-05-31 John W. Eaton <jwe@octave.org> |
|
638 |
|
639 * Array.cc (Array::get_size): Throw std::bad_alloc exception if |
|
640 the computed size is too large for the size of Octave's index type. |
|
641 |
6662
|
642 2007-05-23 John W. Eaton <jwe@octave.org> |
|
643 |
|
644 * oct-sparse.h: Don't surround included files with extern "C" { ... }. |
|
645 |
6629
|
646 2007-05-16 David Bateman <dbateman@free.fr> |
|
647 |
|
648 * dRowVector.cc (linspace): Return second argument if fewer than |
|
649 two values are requested. |
|
650 * CRowVector.cc (linspace): Likewise. |
|
651 |
6596
|
652 2007-04-27 John W. Eaton <jwe@octave.org> |
|
653 |
|
654 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). |
|
655 |
6583
|
656 2007-04-25 John W. Eaton <jwe@octave.org> |
|
657 |
|
658 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. |
|
659 |
6553
|
660 2007-04-20 John W. Eaton <jwe@octave.org> |
|
661 |
|
662 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, |
|
663 not rhs_len == 1. |
|
664 |
6536
|
665 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
|
666 |
|
667 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. |
|
668 |
6525
|
669 2007-04-13 John W. Eaton <jwe@octave.org> |
|
670 |
|
671 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early |
|
672 for empty matrix. Only check for colon index equivalence if not empty. |
|
673 |
6513
|
674 2007-04-10 John W. Eaton <jwe@octave.org> |
|
675 |
|
676 * SparseCmplxQR.cc |
|
677 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
|
678 Move GCC_ATTR_UNUSED before the parameter decl. |
|
679 From Luis Ortiz <lortiz@interactivesupercomputing.com>. |
|
680 |
6508
|
681 2007-04-06 John W. Eaton <jwe@octave.org> |
|
682 |
|
683 * MArray-defs.h (MARRAY_NORM_BODY): New macro. |
|
684 * MArray.h (MArray<T>::norm): New function. |
|
685 * MArray.cc: Provide decl. |
|
686 * MArray-d.cc (MArray<double>::norm): Define double specialization. |
|
687 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. |
|
688 |
6490
|
689 2007-04-04 John W. Eaton <jwe@octave.org> |
|
690 |
|
691 * Range.cc (Range::nelem_internal): Likewise. |
|
692 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. |
|
693 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. |
|
694 From Scott Pakin <pakin@lanl.gov>. |
|
695 |
6486
|
696 2007-04-04 David Bateman <dbateman@free.fr> |
|
697 |
|
698 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate |
|
699 the condition number for positive definite matrices. |
|
700 * CMatrix.cc (ComplexMatrix::inverse): Ditto. |
|
701 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. |
|
702 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. |
|
703 (octave_idx_type init (const Matrix&, bool)): Ditto. |
|
704 (CHOL(const CHOL&)): Copy xrcond. |
|
705 (CHOL& operator = (const CHOL&)): Copy xrcond. |
|
706 (xrcond): New private data member. |
|
707 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, |
|
708 calc_cond. |
|
709 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto |
|
710 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. |
|
711 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. |
|
712 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. |
|
713 (xrcond): New private data member. |
|
714 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is |
|
715 true, calculate the condition number with dpocon. |
|
716 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If |
|
717 calc_cond is true, calculate the condition number with zpocon. |
|
718 |
6481
|
719 2007-04-03 John W. Eaton <jwe@octave.org> |
|
720 |
6482
|
721 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
|
722 |
|
723 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and |
|
724 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid |
|
725 "maybe clobbered by vfork" warning. |
|
726 |
6483
|
727 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482
|
728 if/else. |
|
729 |
|
730 * oct-spparms.h (octave_sparse_params): Define copy constructor |
|
731 and destructor. |
|
732 |
6481
|
733 * Array.cc (assignN): Don't resize dimension if corresponding |
|
734 index is empty. |
|
735 |
6479
|
736 2007-04-02 John W. Eaton <jwe@octave.org> |
|
737 |
|
738 * dMatrix.h (Matrix::inverse): Reinstate versions without |
|
739 MatrixType argument. |
|
740 * CMatrix.h (ComplexMatrix::inverse): Likewise. |
|
741 |
6467
|
742 2007-03-27 John W. Eaton <jwe@octave.org> |
|
743 |
|
744 * Makefile.in (DISTDIRS): Delete variable. |
|
745 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). |
|
746 |
6460
|
747 2007-03-26 David Bateman <dbateman@free.fr> |
|
748 |
|
749 * MatrixType.cc: Replace all uses of the method |
|
750 octave_sparse_params::get_key ("bandden") with |
|
751 octave_sparse_params::get_bandden (void). |
|
752 (MatrixType::MatrixType (void)): Undo previous change but use |
|
753 octave_sparse_params::get_bandden (void). |
|
754 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New |
|
755 methods. |
|
756 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): |
|
757 Declare them. |
|
758 |
6458
|
759 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
760 David Bateman <dbateman@free.fr> |
|
761 |
|
762 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): |
|
763 Check that all elements are ints before doing anything. Simplify |
|
764 calculation of index values. |
|
765 |
6457
|
766 2007-03-26 David Bateman <dbateman@free.fr> |
|
767 |
|
768 * Range.cc (Range::all_elements_are_ints): Improve check. |
|
769 |
6456
|
770 2007-03-26 John W. Eaton <jwe@octave.org> |
|
771 |
|
772 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. |
|
773 * chNDArray.h, chMatrix.h: Provide decls. |
|
774 |
|
775 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
776 |
|
777 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize |
|
778 sp_bandden to zero for performance reasons as it's not used. |
6452
|
779 |
6435
|
780 2007-03-23 David Bateman <dbateman@free.fr> |
|
781 |
|
782 * oct-rand.cc (octave_rand::seed): Seed differently for big and |
|
783 little endian. |
|
784 |
6414
|
785 2007-03-15 John W. Eaton <jwe@octave.org> |
|
786 |
|
787 * lo-mappers.cc (acos): Use formula similar to what we use for asin. |
|
788 From Alexander Barth <abarth@marine.usf.edu>. |
|
789 |
6402
|
790 2007-03-12 John W. Eaton <jwe@octave.org> |
|
791 |
|
792 * oct-inttypes.h (octave_int::octave_int (double)): |
|
793 New Specialization. Round arg. |
|
794 (operator / (const octave_int<T1>&, const octave_int<T2>&)): |
|
795 Round result before converting type. |
|
796 |
6388
|
797 2007-03-07 John W. Eaton <jwe@octave.org> |
|
798 |
6392
|
799 * Array.cc (assign1): Avoid resizing if there is an error. |
|
800 |
6390
|
801 * dMatrix.cc, CMatrix.cc (operator *): Only check |
|
802 f77_exception_encountered immediately after calls that use F77_XFCN. |
|
803 |
6389
|
804 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
805 Only allow resizing empty LHS if it is 0x0. |
|
806 |
6388
|
807 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
|
808 const T&)): Handle case of more indices than dimensions. |
|
809 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more |
|
810 cases to be handled by assignN. |
|
811 (assignN (Array<LT>&, const Array<RT>&, const LT&)): |
|
812 Special cases for 2-d array assignments for speed. |
|
813 Improve handling of scalar RHS and empty indices. |
6384
|
814 |
6383
|
815 2007-03-05 David Bateman <dbateman@free.fr> |
|
816 |
|
817 * oct-md5.c (oct_md5_file (const std::string&)): New function. |
|
818 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. |
|
819 |
6379
|
820 2007-03-02 John W. Eaton <jwe@octave.org> |
|
821 |
|
822 * str-vec.h (string_vector::empty): Return bool, not int. |
|
823 |
6375
|
824 2007-03-01 David Bateman <dbateman@free.fr> |
|
825 |
|
826 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
|
827 an independent implementation of RFC1321. |
|
828 * oct-md5.h, oct-md5: New files for treating std::string class |
|
829 with MD5. |
|
830 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h |
|
831 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc |
|
832 (LIBOCTAVE_C_SOURCES): Add md5.c |
|
833 |
6366
|
834 2007-02-27 John W. Eaton <jwe@octave.org> |
|
835 |
|
836 * Makefile.in (uninstall): Delete files listed in |
|
837 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). |
|
838 From Thomas Treichl <Thomas.Treichl@gmx.net>. |
|
839 |
6536
|
840 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363
|
841 |
|
842 * file-ops.cc (file_ops::recursive_rmdir): |
|
843 Close dir_entry object before calling rmdir. |
|
844 |
6536
|
845 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358
|
846 |
|
847 * Makefile.in: Use $(LN_S) instead of ln or ln -s. |
|
848 |
6359
|
849 * sparse-util.h (SparseCholPrint, SparseCholError): |
|
850 Tag with OCTAVE_API. |
|
851 |
6326
|
852 2007-02-18 David Bateman <dbateman@free.fr> |
|
853 |
|
854 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to |
|
855 calling setall and reset to the current generator after. |
|
856 |
6323
|
857 2007-02-16 John W. Eaton <jwe@octave.org> |
|
858 |
|
859 * oct-shlib.h (octave_shlib::relative): New data member. |
|
860 (octave_shlib::mark_relative, octave_shlib::is_relative): |
|
861 New functions. |
|
862 |
6321
|
863 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
|
864 |
|
865 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on |
|
866 windows platform. |
|
867 * lo-sysdep.h (octave_popen2): Declare it. |
|
868 * oct-syscalls.cc (octave_syscalls::popen2): New function. |
|
869 * oct-syscalls.h (octave_syscalls::popen2): Declare it. |
|
870 |
6306
|
871 2007-02-14 John W. Eaton <jwe@octave.org> |
|
872 |
|
873 * kpse.cc (expand_elt): Omit special treatment for //. |
|
874 |
6273
|
875 2007-02-06 John W. Eaton <jwe@octave.org> |
|
876 |
|
877 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: |
|
878 Don't delete value returned from realpath. |
|
879 |
6271
|
880 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
|
881 |
|
882 * file-ops.cc (file_ops::canonicalize_file_name): |
|
883 Provide implementation if realpath function is available. |
|
884 |
6256
|
885 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
|
886 |
|
887 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. |
|
888 |
6244
|
889 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
|
890 |
|
891 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on |
|
892 Windows systems. |
|
893 |
6242
|
894 2007-01-16 John W. Eaton <jwe@octave.org> |
|
895 |
|
896 * dSparse.cc: Fix dgbtrf decl for --enable-64. |
|
897 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 |
|
898 |
|
899 * oct-fftw.h (fftw_planner): Provide decl. |
|
900 |
6241
|
901 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
|
902 |
|
903 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. |
|
904 |
6236
|
905 2007-01-10 John W. Eaton <jwe@octave.org> |
|
906 |
|
907 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not |
|
908 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". |
|
909 |
6231
|
910 2007-01-08 David Bateman <dbateman@free.fr> |
|
911 |
|
912 * oct-sparse.h: Replace sparsesuite with suitesparse and |
|
913 SPARSESUITE with SUITESPARSE to match upstream name. |
|
914 |
6228
|
915 2007-01-05 David Bateman <dbateman@free.fr> |
|
916 |
|
917 * oct-fftw.cc: (octave_fftw_planner::method (void), |
|
918 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
|
919 set the FFTW wisdom method used. |
|
920 (octave_fftw_planner::create_plan) Modify to allow different |
|
921 methods to be used. |
|
922 (octave_fftw_planner): Move class definition from here. |
|
923 * oct-fftw.h (octave_fftw_planner): To here. Add method methods |
|
924 and FftwMethod enum. |
|
925 |
6221
|
926 2007-01-03 David Bateman <dbateman@free.fr> |
|
927 |
|
928 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, |
|
929 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as |
|
930 sparse matrices are special cased. |
|
931 |
|
932 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed |
|
933 matrix, sparse matrix operations. |
|
934 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, |
|
935 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, |
|
936 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, |
|
937 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
|
938 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, |
|
939 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
|
940 sparse matrices are special cased. |
|
941 |
6217
|
942 2006-12-22 David Bateman <dbateman@free.fr> |
|
943 |
|
944 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. |
|
945 |
6216
|
946 2006-12-22 John W. Eaton <jwe@octave.org> |
|
947 |
|
948 * dim-vector.h (dim_vector::dim_vector): Always start with at |
|
949 least 2 dimensions. |
|
950 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. |
|
951 |
6208
|
952 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
|
953 |
|
954 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. |
|
955 |
|
956 * file-ops.cc (ops::canonicalize_file_name): Provide partial |
6217
|
957 implementation for Windows. |
6208
|
958 |
6207
|
959 2006-12-06 David Bateman <dbateman@free.fr> |
|
960 |
6208
|
961 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
|
962 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. |
6207
|
963 |
|
964 * dMatrrix.cc (finverse): Old inverse method renamed inverse. |
|
965 (tinverse): New method for triangular matrices. |
|
966 (inverse): New function with matrix type probing. |
|
967 * dMatrix.h (finverse, tinverse, inverse): New and modified |
|
968 declarations. |
6208
|
969 * CMatrix.cc: Ditto. |
|
970 * CMatrix.h: Ditto. |
6207
|
971 |
6205
|
972 2006-12-06 John W. Eaton <jwe@octave.org> |
|
973 |
|
974 * strptime.c (day_of_the_week): Use code from current glibc sources. |
|
975 |
6202
|
976 2006-12-05 John W. Eaton <jwe@octave.org> |
|
977 |
|
978 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not |
|
979 followed by 'I' or 'i', try reading number after putting |
|
980 characters back on input stream. |
|
981 |
6198
|
982 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
|
983 |
|
984 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of |
|
985 loop is n, not L. |
|
986 |
6194
|
987 2006-11-30 John W. Eaton <jwe@octave.org> |
|
988 |
|
989 * lo-utils.cc (octave_read_double, read_inf_nan_na): |
|
990 Also recognize [+-][Ii]nf. |
|
991 |
6187
|
992 2006-11-28 David Bateman <dbateman@free.fr> |
6186
|
993 |
|
994 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite |
|
995 sub-directory. |
|
996 |
6204
|
997 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
|
998 well when calling tinverse for lower triangular matrices. |
|
999 * CSparse.cc (SparseComplexMatrix::inverse): |
|
1000 Ditto. |
6185
|
1001 |
6183
|
1002 2006-11-21 John W. Eaton <jwe@octave.org> |
|
1003 |
|
1004 * oct-env.cc (do_absolute_pathname): Undo previous change. |
|
1005 |
6182
|
1006 2006-11-20 John W. Eaton <jwe@octave.org> |
|
1007 |
|
1008 * oct-env.cc (octave_env::do_absolute_pathname): Also return true |
|
1009 for ".", and names beginning with "./" or "../". |
|
1010 |
6162
|
1011 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
|
1012 |
|
1013 * CMatrix.cc, dMatrix.cc: New tests. |
|
1014 |
6153
|
1015 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1016 |
|
1017 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. |
|
1018 |
6152
|
1019 2006-11-11 John W. Eaton <jwe@octave.org> |
|
1020 |
|
1021 * Makefile.in ($(OPTS_INC), mx-ops.h): |
|
1022 Use $(simple-move-if-change-rule) here. |
|
1023 |
6148
|
1024 2006-11-09 David Bateman <dbateman@free.fr> |
|
1025 |
|
1026 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to |
|
1027 octave_idx_type, not int. |
|
1028 |
6145
|
1029 2006-11-08 John W. Eaton <jwe@octave.org> |
|
1030 |
|
1031 * dir-ops.cc (dir_entry::read): Avoid rewinddir. |
|
1032 |
6141
|
1033 2006-11-06 John W. Eaton <jwe@octave.org> |
|
1034 |
|
1035 * Array.cc (assignN): Exit early if invalid indices are found. |
|
1036 |
6140
|
1037 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
|
1038 |
|
1039 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. |
|
1040 |
6137
|
1041 2006-11-03 John W. Eaton <jwe@octave.org> |
|
1042 |
|
1043 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. |
|
1044 (DLL_CDEFS): Rename from XTRA_CDEFS. |
|
1045 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. |
|
1046 |
6123
|
1047 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
|
1048 |
|
1049 * oct-shlib.cc: Undefine min and max after including windows.h. |
|
1050 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. |
|
1051 * lo-sysdep.h: Move opendir, readdir, etc. decls here from |
|
1052 lo-sysdep.cc. |
|
1053 |
6113
|
1054 2006-10-27 John W. Eaton <jwe@octave.org> |
|
1055 |
6119
|
1056 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
|
1057 |
|
1058 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1059 |
|
1060 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, |
|
1061 NDS_CMP_OPS2): New macros. |
6113
|
1062 |
6111
|
1063 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1064 |
6119
|
1065 * mx-ops (core-type): New field for integer types. |
|
1066 * mk-ops.awk: Handle core-type for integer comparison ops. |
|
1067 |
6111
|
1068 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
|
1069 Move here from src/cutils.c. |
|
1070 * lo-utils.h: Provide decls. |
|
1071 * strcasecmp.c: Move here from src/strcasecmp.c. |
|
1072 * strncase.c: Move here from src/strncase.c. |
|
1073 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. |
|
1074 |
6106
|
1075 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1076 |
|
1077 * kpse.cc [! MSVC]: Don't include win32lib.h. |
|
1078 |
6708
|
1079 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
|
1080 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, |
|
1081 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, |
|
1082 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, |
|
1083 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, |
|
1084 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, |
|
1085 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, |
|
1086 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
|
1087 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
|
1088 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, |
|
1089 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, |
|
1090 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, |
|
1091 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, |
|
1092 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
|
1093 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, |
|
1094 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
|
1095 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, |
|
1096 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, |
|
1097 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, |
|
1098 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, |
|
1099 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, |
|
1100 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, |
|
1101 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. |
6108
|
1102 |
6105
|
1103 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1104 |
|
1105 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit |
|
1106 type qualification for OP. |
|
1107 |
6101
|
1108 2006-10-26 David Bateman <dbateman@free.fr> |
|
1109 |
|
1110 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, |
|
1111 octave_idx_type)): Be more careful with the size of the input |
|
1112 matrix, and therefore don't create or read non existent data. |
|
1113 |
6092
|
1114 2006-10-25 John W. Eaton <jwe@octave.org> |
|
1115 |
|
1116 * Sparse.cc (assign): Clear lhs index after error. |
|
1117 |
6093
|
1118 2006-10-25 David Bateman <dbateman@free.fr> |
6092
|
1119 |
|
1120 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1121 Fix previous patch so it works. |
|
1122 |
6087
|
1123 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
|
1124 |
6095
|
1125 * glob-match.h (glob_match::glob_match (const std::string&, |
|
1126 unsigned int)): Delete initializer for first arg. |
|
1127 |
6093
|
1128 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
|
1129 New functions. |
|
1130 |
6087
|
1131 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
|
1132 |
6096
|
1133 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
|
1134 same code as __MINGW32__. |
|
1135 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG |
|
1136 the same as for __MINGW32__. |
|
1137 |
|
1138 * randpoisson.c: Undefine INFINITE before redefining. |
|
1139 |
6079
|
1140 2006-10-24 David Bateman <dbateman@free.fr> |
|
1141 |
|
1142 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the |
|
1143 lhs at the point we know the assignment can succeed if the lhs is |
|
1144 empty. |
|
1145 |
6072
|
1146 2006-10-23 John W. Eaton <jwe@octave.org> |
|
1147 |
|
1148 * Array.cc (assign2): Don't require vector assignments to be oriented. |
|
1149 |
6061
|
1150 2006-10-17 John W. Eaton <jwe@octave.org> |
|
1151 |
|
1152 * lo-cieee.c: If isnan is not available but _isnan is, then define |
|
1153 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite |
|
1154 and _copysign. |
|
1155 |
6059
|
1156 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051
|
1157 |
6061
|
1158 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
|
1159 |
6708
|
1160 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
|
1161 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061
|
1162 |
6058
|
1163 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
|
1164 |
6059
|
1165 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1166 |
6051
|
1167 * Makefile.in: Adapt rules to use $(LIBPRE). |
|
1168 |
6027
|
1169 2006-10-03 David Bateman <dbateman@free.fr> |
|
1170 |
|
1171 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 |
|
1172 or p == 0. |
|
1173 |
6018
|
1174 2006-10-02 John W. Eaton <jwe@octave.org> |
|
1175 |
|
1176 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. |
|
1177 * CmplxDET.cc (ComplexDET::initialize2): Likewise. |
|
1178 |
5996
|
1179 2006-09-22 David Bateman <dbateman@free.fr> |
|
1180 |
|
1181 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5997
|
1182 Remove spurious warning. |
5996
|
1183 |
5992
|
1184 2006-09-15 John W. Eaton <jwe@octave.org> |
|
1185 |
|
1186 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
|
1187 Handle resizing. |
|
1188 |
|
1189 * intNDArray.h (intNDArray<T>:elt_type): New typedef. |
|
1190 |
5983
|
1191 2006-09-11 John W. Eaton <jwe@octave.org> |
|
1192 |
|
1193 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): |
|
1194 Handle M*v and rv*cv special cases. |
|
1195 * CMatrix.cc (operator * (const ComplexMatrix&, const |
|
1196 ComplexMatrix&))): Likewise. |
|
1197 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. |
|
1198 |
|
1199 * dRowVector.cc (operator * (const RowVector&, const |
|
1200 ColumnVector&)): Call xddot here instead of using a Fortran |
|
1201 function directly. |
|
1202 * CRowVector.cc (operator * (const ComplexRowVector&, const |
|
1203 ComplexColumnVector&)): Call xzdotu here. |
|
1204 |
|
1205 2006-09-05 John W. Eaton <jwe@octave.org> |
|
1206 |
|
1207 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare |
|
1208 elements to '\0', not ' '. |
|
1209 |
5972
|
1210 2006-08-25 John W. Eaton <jwe@octave.org> |
|
1211 |
|
1212 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. |
|
1213 |
5958
|
1214 2006-08-23 John W. Eaton <jwe@octave.org> |
|
1215 |
|
1216 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. |
|
1217 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. |
|
1218 |
5955
|
1219 2006-08-22 John W. Eaton <jwe@octave.org> |
|
1220 |
5956
|
1221 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
|
1222 * dMatrix.cc (Matrix::save_ascii): New function. |
|
1223 |
5955
|
1224 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
|
1225 If array is empty, return value is same size as array. |
|
1226 (MX_ND_REDUCTION): Correctly detect empty arrays. |
|
1227 If array is empty, produce correctly sized return value. |
|
1228 |
5940
|
1229 2006-08-18 John W. Eaton <jwe@octave.org> |
|
1230 |
5943
|
1231 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
|
1232 * dMatrix.h: Provide decl. |
|
1233 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. |
|
1234 * dNDArray.h: Provide decl. |
|
1235 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): |
|
1236 New function. |
|
1237 * intNDArray.h: Provide decl. |
|
1238 |
5940
|
1239 * Array.cc (Array<T>::permute): Only rearrange values if array is |
|
1240 not empty. |
|
1241 |
5904
|
1242 2006-07-26 John W. Eaton <jwe@octave.org> |
|
1243 |
|
1244 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, |
|
1245 DET::value_will_overflow): Use xlog2 instead of log2. |
|
1246 (DET::initialize2, DET::initialize10): Use xround instead of round. |
|
1247 (DET::initialize2, DET::value): Use xexp2 instead of exp2. |
|
1248 * CmplxDET.cc (ComplexDET::initialize10, |
|
1249 ComplexDET::value_will_underflow, |
|
1250 ComplexDET::value_will_overflow): Use xlog2 instead of log2. |
|
1251 (ComplexDET::initialize2, ComplexDET::initialize10): |
|
1252 Use xround instead of round. |
|
1253 (ComplexDET::initialize2, ComplexDET::value): |
|
1254 Use xexp2 instead of exp2. |
|
1255 |
|
1256 * lo-mappers.cc (M_LOG10E): Delete unused macro. |
|
1257 (xlog2, xexp2): New functions. |
|
1258 * lo-mappers.h: Provide decls. |
|
1259 |
5900
|
1260 2006-07-22 John W. Eaton <jwe@octave.org> |
|
1261 |
|
1262 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, |
|
1263 Sparse<T>::mex_get_jc): New functions. |
|
1264 |
|
1265 2006-07-21 John W. Eaton <jwe@octave.org> |
|
1266 |
|
1267 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. |
|
1268 * Array.h (Array<T>::mex_get_data): New function. |
|
1269 |
5898
|
1270 2006-07-19 John W. Eaton <jwe@octave.org> |
|
1271 |
|
1272 * oct-inttypes.h (octave_int::operator bool (void)): New function. |
|
1273 |
5893
|
1274 2006-07-16 John W. Eaton <jwe@octave.org> |
|
1275 |
|
1276 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): |
|
1277 Rename from SparseParams. Use same implementation method as other |
|
1278 singleton classes in Octave. Change all uses of |
|
1279 Voctave_sparse_controls to use static functions from |
|
1280 octave_sparse_params class instead. |
|
1281 |
|
1282 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, |
|
1283 SparseParams::get_key): Pass std::string arg by const reference, |
|
1284 not const value. |
|
1285 |
5892
|
1286 2006-07-15 John W. Eaton <jwe@octave.org> |
|
1287 |
|
1288 * data-conv.cc: Instantiante swap_bytes templates here. |
|
1289 |
|
1290 * MatrixType.cc (MatrixType::MatrixType): |
|
1291 Use complete initializer lists in constructors. |
|
1292 |
5880
|
1293 2006-07-06 John W. Eaton <jwe@octave.org> |
|
1294 |
|
1295 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): |
|
1296 New constructor. |
|
1297 * str-vec.h: Provide decl. |
|
1298 |
5876
|
1299 2006-07-01 David Bateman <dbateman@free.fr> |
|
1300 |
|
1301 * dSparse.cc (tinverse): Check for rows with no elements and zero |
|
1302 elements on the diagonal. Allow both Upper and Lower triangular |
|
1303 matrices to be treated. |
|
1304 * CSparse.cc (tinverse): ditto. |
|
1305 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit |
|
1306 constant assignment. |
|
1307 |
5870
|
1308 2006-06-30 John W. Eaton <jwe@octave.org> |
|
1309 |
5872
|
1310 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
|
1311 * cmd-edit.cc (editor::read_init_file): Ditto. |
|
1312 * dir-ops.cc (dir_entry::open): Ditto. |
5871
|
1313 * file-stat.cc (stat::update_internal): Ditto. |
5872
|
1314 * cmd-hist.cc (command_history::set_file): Ditto. |
5871
|
1315 |
5870
|
1316 * data-conv.cc (data_conv::string_to_data_type): |
|
1317 Correctly handle leading "*". |
|
1318 |
5869
|
1319 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
|
1320 |
|
1321 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds |
|
1322 array access. |
|
1323 |
5866
|
1324 2006-06-27 John W. Eaton <jwe@octave.org> |
|
1325 |
|
1326 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. |
|
1327 |
5864
|
1328 2006-06-21 John W. Eaton <jwe@octave.org> |
|
1329 |
|
1330 * oct-shlib.cc (octave_dlopen_shlib::close, |
|
1331 octave_shl_load_shlib::close, octave_w32_shlib::close): |
|
1332 Skip do_close_hook if cl_hook is 0. |
|
1333 |
5863
|
1334 2006-06-16 John W. Eaton <jwe@octave.org> |
|
1335 |
|
1336 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. |
|
1337 * randmtzig.h: Don't inlcude config.h. |
|
1338 |
5837
|
1339 2006-05-31 David Bateman <dbateman@free.fr> |
|
1340 |
|
1341 * Array.cc (assignN): Maybe reshape LHS before doing assignment. |
|
1342 |
5828
|
1343 2006-05-23 John W. Eaton <jwe@octave.org> |
|
1344 |
|
1345 * oct-types.h.in: Include stdint.h or inttypes.h for integer |
|
1346 typedefs, or define them if those files are not available. |
|
1347 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, |
|
1348 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, |
|
1349 octave_uint64_t): Delete typedefs. Replace all uses of these |
|
1350 types with int8_t, int16_t, etc. |
|
1351 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): |
|
1352 Delete definitions. Replace all uses of these macros with int8_t, |
|
1353 int16_t, etc. |
|
1354 * randmtzig.h: Delete integer typedefs. |
|
1355 |
5822
|
1356 2006-05-18 John W. Eaton <jwe@octave.org> |
|
1357 |
|
1358 * EIG.cc (EIG::init): Trap Inf and NaN values here. |
|
1359 From Keith Goodman <kwgoodman@gmail.com>. |
|
1360 |
5813
|
1361 2006-05-08 David Bateman <dbateman@free.fr> |
|
1362 |
|
1363 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous |
|
1364 modification. |
|
1365 |
5797
|
1366 2006-05-09 David Bateman <dbateman@free.fr> |
|
1367 |
|
1368 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, |
|
1369 ov-cx-sparse. and error_state. |
|
1370 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. |
|
1371 |
5795
|
1372 2006-05-08 David Bateman <dbateman@free.fr> |
|
1373 |
|
1374 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in |
|
1375 first pass and use to determine which algorithm to use on a |
|
1376 column-by-column basis. |
|
1377 |
5792
|
1378 2006-05-04 David Bateman <dbateman@free.fr> |
|
1379 |
|
1380 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
|
1381 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of |
|
1382 CXSparse or later |
|
1383 |
5785
|
1384 2006-05-03 David Bateman <dbateman@free.fr> |
|
1385 |
|
1386 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): |
|
1387 External declaration of lapack triangular and Cholesky codes. |
|
1388 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
|
1389 ComplexMatrix::fsolve): New private solver codes for |
|
1390 upper, lower and LU/Cholesky solvers. |
|
1391 (ComplexMatrix::solve): New versions for cached matrix |
|
1392 type. Adapt old versions to call new versions |
|
1393 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1394 new solvers. |
|
1395 (solve): New versions for cached matrix type. |
|
1396 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): |
|
1397 External declaration of lapack triangular and Cholesky codes. |
|
1398 (Matrix::utsolve, Matrix::ltsolve, |
|
1399 Matrix::fsolve): New private solver codes for |
|
1400 upper, lower and LU/Cholesky solvers. |
|
1401 (Matrix::solve): New versions for cached matrix |
|
1402 type. Adapt old versions to call new versions |
|
1403 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1404 new solvers. |
|
1405 (solve): New versions for cached matrix type. |
|
1406 * CSparse.cc: Replace all uses of SparseType with MatrixType. |
|
1407 * CSparse.h: ditto. |
|
1408 * dSparse.cc: ditto. |
|
1409 * dSparse.h: ditto. |
|
1410 * SparseCmplxCHOL.cc: ditto. |
|
1411 * SparsedbleCHOL.cc: ditto. |
|
1412 * sparse-dmsolve.cc: ditto. |
|
1413 * SparseType.cc, SparseType.h: delete. |
|
1414 * MatrixType.cc: New file for class to cache matrix type, based on |
|
1415 old SparseType class but caching matrix and sparse types. |
|
1416 * MatrixType.h: ditto. |
|
1417 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and |
|
1418 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc |
|
1419 respectively. |
|
1420 * mx-base.h: Include MatrixTye.h as header file. |
|
1421 |
5781
|
1422 2006-05-01 John W. Eaton <jwe@octave.org> |
|
1423 |
|
1424 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): |
|
1425 Delete WARN_FUTURE arg. Change all uses. |
|
1426 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. |
|
1427 Change all uses. Use current_liboctave_warning_with_id_handler. |
|
1428 (octave_base_shlib::open): Delete arg. Change all derived classes |
|
1429 and uses. |
|
1430 |
|
1431 2006-04-29 John W. Eaton <jwe@octave.org> |
|
1432 |
|
1433 * Array-flags.cc, Array-flags.h: Delete. |
|
1434 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. |
|
1435 (MATRIX_INC): Remove Array-flags.h from the list. |
|
1436 |
|
1437 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. |
|
1438 Use current_liboctave_warning_with_id_handler |
|
1439 with warning ID Octave:resize-on-range-error. |
|
1440 * idx-vector.h: Fix decl. |
|
1441 * Array.cc, Sparse.cc: Change all callers. |
|
1442 |
|
1443 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, |
|
1444 assign2, assignN): Use current_liboctave_warning_with_id_handler |
|
1445 with warning ID Octave:fortran-indexing instead of |
|
1446 liboctave_wfi_flag. |
|
1447 * Sparse.cc (assign, Sparse<T>::index): Likewise. |
|
1448 |
5777
|
1449 2006-04-26 John W. Eaton <jwe@octave.org> |
|
1450 |
|
1451 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): |
|
1452 New static data. |
|
1453 * pathsearch.h: Provide decls. |
|
1454 (dir_path::is_path_sep): New function. |
|
1455 |
5766
|
1456 2006-04-18 John W. Eaton <jwe@octave.org> |
|
1457 |
|
1458 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): |
|
1459 Omit inline from decl. |
|
1460 |
|
1461 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid |
|
1462 local array with variable dimension. |
|
1463 |
5764
|
1464 2006-04-16 John W. Eaton <jwe@octave.org> |
|
1465 |
5765
|
1466 * lo-sstream.h: Delete. |
|
1467 * Makefile.in (INCLUDES): Remove it from the list. |
|
1468 |
|
1469 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. |
|
1470 * Sparse.cc (Sparse::range_error): Likewise. |
|
1471 * DASSL.cc (DASSL::error_message): Likewise. |
|
1472 * LSODE.cc (LSODE::error_message): Likewise. |
|
1473 * DASRT.cc (DASRT::error_message): Likewise. |
|
1474 * DASPK.cc (DASPK::error_message): Likewise. |
|
1475 * Array.cc (Array::range_error): Likewise. |
|
1476 |
5764
|
1477 * kpse.cc (kpse_hash): Rename from hash. |
|
1478 (hash_lookup): Call kpse_hash instead of hash. |
|
1479 |
|
1480 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> |
|
1481 to avoid local array with variable dimension. |
|
1482 |
5760
|
1483 2006-04-13 David Bateman <dbateman@free.fr> |
|
1484 |
|
1485 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1486 Optimize assignment. |
|
1487 |
|
1488 2006-04-13 John W. Eaton <jwe@octave.org> |
|
1489 |
|
1490 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1491 Eliminate unnecessary casts. |
|
1492 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. |
|
1493 |
|
1494 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. |
|
1495 (log_search, dir_links): Use static_cast instead of C-style cast. |
|
1496 |
|
1497 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. |
|
1498 * oct-alloc.cc (allocator::grow): Likewise. |
|
1499 * CSparse.cc (SparseComplexMatrix::determinant, |
|
1500 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): |
|
1501 Likewise. |
|
1502 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. |
|
1503 |
|
1504 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): |
|
1505 Use static_cast instead of C-style cast. |
|
1506 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
1507 * dSparse.cc (SparseMatrix::fsolve): Likewise. |
|
1508 |
|
1509 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. |
|
1510 Use OCTAVE_LOCAL_BUFFER instead of new/delete. |
|
1511 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. |
|
1512 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): |
|
1513 Use reinterpret_cast instead of X_CAST. |
|
1514 |
|
1515 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast |
|
1516 return value here. |
|
1517 |
5752
|
1518 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
|
1519 |
|
1520 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. |
|
1521 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. |
|
1522 |
5730
|
1523 2006-04-03 David Bateman <dbateman@free.fr> |
|
1524 |
5731
|
1525 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
|
1526 to avoid copy of original matrix. |
|
1527 |
5730
|
1528 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
|
1529 randmtzig.h to the list. |
|
1530 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
|
1531 randmtzig.c to the list. |
|
1532 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
|
1533 (use_old_generators): New variable. |
|
1534 (old_initialized): Rename from initialized. |
|
1535 (new_initialized): New variable. |
|
1536 (oct_init_by_entropy): New function. |
|
1537 (maybe_initialize): Initialize new or old generator depending on |
|
1538 value of use_old_generators. |
|
1539 (octave_rand::state): New functions. |
|
1540 (octave_rand::distribution): Add gamma, exponential and poisson |
|
1541 distributions. |
|
1542 (octave_rand::exponential_distribution, |
|
1543 octave_rand::poisson_distribution, |
|
1544 octave_rand::gamma_distribution): New methods to select |
|
1545 exponential, poisson or gamma distribution. |
|
1546 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1547 octave_rand::vector): Add new distributions. |
|
1548 * oct-rand.h: Provide decls for new functions. |
|
1549 (octave_rand::matrix, octave_rand::scalar, octave_rand:: |
|
1550 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1551 octave_rand::vector): New arg A, for gamma and poisson distributions. |
|
1552 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, |
|
1553 randmtzig.h: New files. |
|
1554 |
5717
|
1555 2006-03-24 John W. Eaton <jwe@octave.org> |
|
1556 |
|
1557 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
|
1558 Array<octave_idx_type>, so fortran_vec returns pointer to |
|
1559 octave_idx_type, not pointer to int. |
|
1560 |
|
1561 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), |
|
1562 ComplexMatrix::column (char*)): Delete. |
|
1563 * dMatrix.cc, dMatrix.h (Matrix::row (char*), |
|
1564 Matrix::column (char*)): Delete. |
|
1565 |
5713
|
1566 2006-03-21 David Bateman <dbateman@free.fr> |
|
1567 |
|
1568 * SparseQR.h: Publish externally used friends. |
|
1569 * SparseCmplxQR.h: ditto. |
|
1570 |
5700
|
1571 2006-03-21 John W. Eaton <jwe@octave.org> |
|
1572 |
|
1573 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for |
|
1574 call to xdbetai. |
|
1575 |
5697
|
1576 2006-03-21 David Bateman <dbateman@free.fr> |
|
1577 |
5701
|
1578 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
|
1579 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. |
5700
|
1580 |
|
1581 * dSparse.cc (solve): Add argument singular_fallback, to allow |
|
1582 fallback to QR solvers to be optional. |
|
1583 * CSparse.cc (solve): Ditto. |
|
1584 * dSparse.h (solve): update declaration for new argument. |
|
1585 * CSparse.h (solve): Ditto. |
|
1586 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument |
|
1587 to bypass QR solvers when solving the well determined part of |
|
1588 the problem. |
5697
|
1589 |
5690
|
1590 2006-03-17 John W. Eaton <jwe@octave.org> |
|
1591 |
|
1592 * str-vec.cc (vector::list_in_columns): New optional arg, width. |
|
1593 |
5681
|
1594 2006-03-16 David Bateman <dbateman@free.fr> |
|
1595 |
|
1596 * CSparse.cc: Change use of nzmax to nnz to allow automatic |
|
1597 reduction of matrix size, except for a couple of cases where nzmax |
|
1598 is needed. |
|
1599 (zpbcon): Correct declaration of lapack zpbcon function. |
|
1600 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add |
|
1601 an argument to allow the calculation of condition number to be |
|
1602 optional. |
|
1603 (bsolve): Add code for the calculation of the condition number |
|
1604 using zpbcon and zgbcon. |
|
1605 (dsolve): Bug fix for rectangular matrices with sparse RHS. |
|
1606 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as |
|
1607 singular if singularity is detected. |
|
1608 (solve): Use optional argument to disable calculation of |
|
1609 condition number for all but fsolve, for speed. Add code to |
|
1610 allow rectnagular matrices or matrices identified as singular |
|
1611 to be treated. |
|
1612 (lssolve): delete. |
|
1613 (operator *): Don't recast real matrices as complex, but |
|
1614 rather use the macro directly on the real data. |
|
1615 * dSparse.cc: ditto. |
|
1616 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, |
|
1617 fsolve, factorize): Update declaration for new argument to |
|
1618 calculate the condition number. |
|
1619 (lssolve): delete. |
|
1620 * dSparse.h: ditto. |
|
1621 * Msparse.h: Change use of nxmax to nnz to allow automatic |
|
1622 reduction of matrix size, except for a couple of cases where |
|
1623 nzmax is needed. |
|
1624 * Sparse.cc: Change use of nxmax to nnz to allow automatic |
|
1625 reduction of matrix size, except for a couple of cases where |
|
1626 nzmax is needed. |
|
1627 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): |
|
1628 Special case strict permutations for speed. |
|
1629 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic |
|
1630 reduction of matrix size, except for a couple of cases where |
|
1631 nzmax is needed. |
|
1632 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update |
|
1633 macros to allow mixed complex/real arguments. |
|
1634 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero |
|
1635 value. |
|
1636 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
|
1637 * SparseType.cc (SparseType::SparseType ()): Correct detection |
|
1638 of permutated triangular matrices to avoid seg-faults. Disable |
|
1639 detection of underdetermined lower and over-determined upper |
|
1640 matrix due to problems with non minimum norm solutions. |
|
1641 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. |
|
1642 * Makefile.in: add sparse-dmsolve.cc to targets. |
|
1643 |
5675
|
1644 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
|
1645 |
|
1646 * oct-time.cc (octave_strptime::init): Return useful character count. |
|
1647 |
5648
|
1648 2006-03-08 David Bateman <dbateman@free.fr> |
|
1649 |
|
1650 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for |
|
1651 g++ 4.x stl_vector.h issue with C99 double _Complex type. |
|
1652 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. |
|
1653 * SparseQR.cc: ditto. |
|
1654 * SparseQR.h: ditto. |
|
1655 * oct-sparse.h: ditto. |
|
1656 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): |
|
1657 Declare info variable as volatile. |
|
1658 |
|
1659 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. |
|
1660 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. |
|
1661 |
5634
|
1662 2006-03-01 John W. Eaton <jwe@octave.org> |
|
1663 |
|
1664 * CMatrix.cc (ComplexMatrix::determinant): |
|
1665 Scale result by factors of 2, not 10. |
|
1666 * dMatrix.cc (Matrix::determinant): Likewise. |
|
1667 |
|
1668 * dbleDET.h (DET::DET): Use initializer list. |
|
1669 (DET::coefficient2, DET::coefficient10, DET::exponent2, |
|
1670 DET::exponent10): New functions. |
|
1671 (DET::det): Delete. |
|
1672 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. |
|
1673 Store value internally with double and int instead of 2-element |
|
1674 double vector. |
|
1675 (DET::initialize2, DET::initialize10): Provide decls. |
|
1676 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
|
1677 Return bool value, not int. |
|
1678 (DET::initialize2, DET::initialize10): New functions. |
|
1679 |
|
1680 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. |
|
1681 (ComplexDET::coefficient2, ComplexDET::coefficient10, |
|
1682 ComplexDET::exponent2, ComplexDET::exponent10): New functions. |
|
1683 (ComplexDET::det): Delete. |
|
1684 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, |
|
1685 ComplexDET::base2): New data members. |
|
1686 Store value internally with Complex and int instead of 2-element |
|
1687 Complex vector. |
|
1688 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. |
|
1689 * dbleComplexDET.cc (ComplexDET::value_will_overflow, |
|
1690 ComplexDET::value_will_underflow): Return bool value, not int. |
|
1691 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. |
|
1692 |
5632
|
1693 2006-02-24 John W. Eaton <jwe@octave.org> |
|
1694 |
|
1695 * Array.cc (assignN): Clear index before reshaping. |
|
1696 |
|
1697 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. |
|
1698 |
5630
|
1699 2006-02-20 David Bateman <dbateman@free.fr> |
|
1700 |
|
1701 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
|
1702 matrix must be square in diagonal, permuted diagonal, triangular |
|
1703 and permuted triangular back/forward substitution code. Change |
|
1704 ambiguous use of no. rows and columns. |
|
1705 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. |
|
1706 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), |
|
1707 SparseType::SparseType(const SparseComplexMatrix&)): Recognize |
|
1708 rectangular diagonal, permuted diagonal, triangular and permuted |
|
1709 triangular matrices. |
|
1710 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): |
|
1711 Treat case where third argument is zero. |
|
1712 |
5621
|
1713 2006-02-15 John W. Eaton <jwe@octave.org> |
|
1714 |
5622
|
1715 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
|
1716 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
|
1717 |
5621
|
1718 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
|
1719 |
5619
|
1720 2006-02-13 David Bateman <dbateman@free.fr> |
|
1721 |
|
1722 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, |
|
1723 ccolamd and cxsparse |
|
1724 |
5617
|
1725 2006-02-13 John W. Eaton <jwe@octave.org> |
|
1726 |
5618
|
1727 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
|
1728 while loop condition. |
|
1729 (kpse_path_iterator::operator =): Declare as private function but |
|
1730 don't define to prevent attempts to use assignment operator. |
|
1731 Don't define ST_NLINK_TRICK for Cygwin systems. |
5617
|
1732 |
5615
|
1733 2006-02-10 John W. Eaton <jwe@octave.org> |
|
1734 |
|
1735 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative |
|
1736 product of all dimensions in CP_SZ. |
|
1737 |
5611
|
1738 2006-02-09 John W. Eaton <jwe@octave.org> |
|
1739 |
|
1740 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative |
5615
|
1741 product of all dimensions in CP_SZ. |
5611
|
1742 |
5610
|
1743 2006-02-09 David Bateman <dbateman@free.fr> |
|
1744 |
|
1745 * SparseQR.cc: new file for real sparse QR class. |
|
1746 * SparseQR.h: declaration. |
|
1747 * SparseCmplxQR.cc: new file for complex sparse QR class. |
|
1748 * SparseCmplxQR.h: declaration. |
|
1749 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1750 (factorize, fsolve): Enable code code lssolve. |
|
1751 (lssolve): disable unused args, write based in above sparse QR class. |
|
1752 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1753 (factorize, fsolve): Enable code code lssolve. |
|
1754 (lssolve): disable unused args, write based in above sparse QR class. |
|
1755 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. |
|
1756 Include CXSparse headers. |
|
1757 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. |
|
1758 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. |
|
1759 |
5607
|
1760 2006-02-08 John W. Eaton <jwe@octave.org> |
|
1761 |
|
1762 * Array-util.h (calc_permutated_idx): Delete. |
|
1763 * Array.cc (permute_vector): New data structure. |
|
1764 (permute_vector_compare): New function. |
|
1765 (Array<T>::permute): Rewrite to avoid calc_permutated_index for |
|
1766 improved performance. |
|
1767 |
5606
|
1768 2006-02-04 David Bateman <dbateman@free.fr> |
|
1769 |
|
1770 * COLAMD: Remove all files, as now unused. |
|
1771 |
5604
|
1772 2006-01-31 John W. Eaton <jwe@octave.org> |
|
1773 |
|
1774 * Sparse.h (Sparse<T>::nzmax): New function. |
|
1775 (Sparse<T>::nnz): Rename from nonzero. |
|
1776 Change all uses of old nnz function to be nzmax. Change all uses |
|
1777 of nonzero to be nnz. |
|
1778 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. |
|
1779 |
5603
|
1780 2006-01-21 David Bateman <dbateman@free.fr> |
|
1781 |
|
1782 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
|
1783 (bool octave_idx_vector_comp): New function. |
|
1784 (template class octave_sort<octave_idx_vector_sort *>): Instantiate |
|
1785 indexed idx_vector sorting function. |
|
1786 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. |
|
1787 (class octave_idx_vector_sort): New class for indexed idx_vector |
|
1788 sorting. |
|
1789 (bool octave_idx_vector_comp): Declaration. |
|
1790 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of |
|
1791 unordered LHS indexes in assignment using new octave_idx_vector_sort |
|
1792 class. |
|
1793 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. |
|
1794 |
5602
|
1795 2006-01-30 John W. Eaton <jwe@octave.org> |
|
1796 |
|
1797 * so-array.h (streamoff_array::nnz): New funtion. |
|
1798 * boolNDArray.h (boolNDArray::nnz): New function. |
|
1799 * MArrayN.h (MArrayN<T>::nnz): New function. |
|
1800 * MArray.h (MArray<T>::nnz): New function. |
|
1801 |
5587
|
1802 2006-01-04 David Bateman <dbateman@free.fr> |
|
1803 |
|
1804 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in |
|
1805 elements not being sorted in return matrix. Sort them, and make |
|
1806 solver select between two algorithms to further improve the |
|
1807 performance. |
|
1808 * dSparse.cc: include oct-sort.h. |
|
1809 * CSparse.cc: ditto. |
|
1810 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. |
|
1811 |
5586
|
1812 2005-12-28 David Bateman <dbateman@free.fr> |
|
1813 |
5587
|
1814 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
|
1815 faster in all cases, and significantly so for low density or small |
|
1816 order problems. |
5586
|
1817 |
5552
|
1818 2005-11-30 John W. Eaton <jwe@octave.org> |
|
1819 |
|
1820 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork |
|
1821 before setting any values in either array. |
|
1822 |
5547
|
1823 2005-11-29 John W. Eaton <jwe@octave.org> |
|
1824 |
|
1825 * oct-uname.h, oct-uname.cc: New files. |
|
1826 * Makefile.in: Add them to the appropriate lists. |
|
1827 |
5535
|
1828 2005-11-11 John W. Eaton <jwe@octave.org> |
|
1829 |
|
1830 * Array.cc (Array<T>::indexN): Simplify. |
|
1831 |
5533
|
1832 2005-11-09 John W. Eaton <jwe@octave.org> |
|
1833 |
|
1834 * oct-inttypes.h (octave_int::operator char (void) const): |
|
1835 New conversion op. |
|
1836 |
5527
|
1837 2005-11-01 John W. Eaton <jwe@octave.org> |
|
1838 |
|
1839 * Makefile.in (distclean): Also remove oct-types.h. |
|
1840 From Quentin Spencer <qspencer@ieee.org>. |
|
1841 |
5526
|
1842 2005-10-31 David Bateman <dbateman@free.fr> |
|
1843 |
|
1844 * dSparse.cc, CSparse.cc: Use C++ true/false instead of |
|
1845 preprocessor defined TRUE/FALSE. |
|
1846 |
5523
|
1847 2005-10-30 John W. Eaton <jwe@octave.org> |
|
1848 |
|
1849 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. |
|
1850 (MX_ND_CUMULATIVE_OP): Likewise. |
|
1851 |
5519
|
1852 2005-10-29 John W. Eaton <jwe@octave.org> |
|
1853 |
5520
|
1854 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
|
1855 things up. Simplify. |
|
1856 |
5519
|
1857 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
|
1858 case for "vector_equivalent". |
|
1859 |
|
1860 * Array-util.cc (vector_equivalent): Arg is now dim_vector. |
|
1861 |
5518
|
1862 2005-10-28 John W. Eaton <jwe@octave.org> |
|
1863 |
|
1864 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. |
|
1865 From Quentin Spencer <qspencer@ieee.org>. |
|
1866 |
|
1867 * sparse-base-chol.cc: Use C++ true/false instead of |
|
1868 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. |
|
1869 |
5516
|
1870 2005-10-27 John W. Eaton <jwe@octave.org> |
|
1871 |
|
1872 * Array.cc (assignN): Reshape to final size instead of resizing. |
|
1873 |
5512
|
1874 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1875 |
|
1876 * oct-sparse.h: New file. |
|
1877 * oct-sparse.h.in: Delete. |
|
1878 |
5511
|
1879 2005-10-26 David Bateman <dbateman@free.fr> |
|
1880 |
|
1881 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD |
|
1882 * sparse-base-chol.cc: ditto. |
|
1883 |
5508
|
1884 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1885 |
|
1886 Changes for GCC 4.1, tip from Arno J. Klaassen |
|
1887 <arno@heho.snv.jussieu.fr>: |
|
1888 |
5509
|
1889 * dSparse.h (real (const SparseComplexMatrix&)): |
|
1890 Publish externally used friend function. |
|
1891 (imag (const SparseComplexMatrix&)): Likewise. |
|
1892 |
5508
|
1893 * dColVector.h (real (const ComplexColumnVector&)): |
|
1894 Publish externally used friend function. |
|
1895 (imag (const ComplexColumnVector&)): Likewise. |
|
1896 |
|
1897 * dNDArray.h (real (const ComplexNDArray&)): |
|
1898 Publish externally used friend function. |
|
1899 (imag (const ComplexNDArray&)): Likewise. |
|
1900 |
|
1901 * dMatrix.h (operator * (const ComplexMatrix&)): |
|
1902 Move decl outside class. No need to be friend. |
|
1903 (real (const ComplexMatrix&)): Publish externally used friend function. |
|
1904 (imag (const ComplexMatrix&)): Likewise. |
|
1905 |
|
1906 * CMatrix.h: (operator * (const ColumnVector&, const |
|
1907 ComplexRowVector&)): Move decl outside class. No need to be friend. |
|
1908 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. |
|
1909 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): |
|
1910 Likewise. |
|
1911 |
5506
|
1912 2005-10-23 David Bateman <dbateman@free.fr> |
|
1913 |
|
1914 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
|
1915 elements need to be removed. |
|
1916 |
|
1917 * oct-sparse.h.in: Include metis headers and some macros for long/int |
|
1918 versions of cholmod. |
|
1919 |
|
1920 * CSparse.cc (tinverse): New private function for the inversion of |
|
1921 an upper triangular matrix. |
|
1922 (dinverse): ditto for diagonal matrices. |
|
1923 (inverse): Add SparseType as an argument. Implement matrix inverse |
|
1924 using tinverse and dinverse. |
|
1925 (fsolve): Use cholmod to implement Cholesky solver. |
|
1926 * CSparse.h (tinverse, dinverse): Declarations |
|
1927 (inverse): Alter declaration to include SparseType. |
|
1928 |
|
1929 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. |
|
1930 * dSparse.h (tinverse, dinverse, inverse): ditto. |
|
1931 |
|
1932 * SparseType.cc: Fix complex constructor for hermitian matrices. |
|
1933 |
|
1934 * sparse-util.cc: New file for sparse utility functions. |
|
1935 * sparse-util.h: New file with declarations of sparse utility |
|
1936 functions. |
|
1937 |
|
1938 * sparse-base-chol.cc: New file with sparse cholesky class based |
|
1939 on cholmod. |
|
1940 * sparse-base-chol.h: New file with declaration of sparse cholesky |
|
1941 class based on cholmod. |
|
1942 |
|
1943 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. |
|
1944 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. |
|
1945 |
|
1946 * SparsedbleCHOL.cc: ditto. |
|
1947 * SparsedbleCHOL.h: ditto. |
|
1948 |
|
1949 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. |
|
1950 (INCLUDES): Include sparse-util.h |
|
1951 (TEMPLATE_SRC): Include sparse-base-chol.cc |
|
1952 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc |
|
1953 |
5489
|
1954 2005-10-12 John W. Eaton <jwe@octave.org> |
|
1955 |
|
1956 * oct-env.cc (octave_env::have_x11_display): New function. |
|
1957 * oct-env.h: Provide decl. |
|
1958 |
5476
|
1959 2005-09-29 John W. Eaton <jwe@octave.org> |
|
1960 |
|
1961 * file-stat.h (file_stat::mode): New function. |
|
1962 |
|
1963 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, |
|
1964 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
1965 file_stat::is_reg, file_stat::is_sock): New static functions. |
|
1966 * file-stat.h: Provide decls. |
|
1967 |
|
1968 2005-09-28 John W. Eaton <jwe@octave.org> |
|
1969 |
|
1970 * file-ops.cc (file_ops::recursive_rmdir): New function. |
|
1971 * file-ops.h: Provide decl. |
|
1972 |
5454
|
1973 2005-09-19 David Bateman <dbateman@free.fr> |
|
1974 |
|
1975 * oct-env.cc (octave_env::do_get_home_directory): |
|
1976 Also check HOMEDRIVE under mingw. |
|
1977 |
5455
|
1978 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
|
1979 |
5453
|
1980 2005-09-16 John W. Eaton <jwe@octave.org> |
|
1981 |
|
1982 * oct-syscalls.cc: Include lo-utils.h here. |
|
1983 (octave_syscalls::waitpid): Call octave_waitpid here. |
|
1984 |
|
1985 * lo-cutils.c (octave_waitpid): New function. |
|
1986 * lo-utils.h: Provide decl. Include syswait.h here, not in |
|
1987 oct-syscalls.cc |
|
1988 |
|
1989 |
|
1990 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining |
|
1991 waitpid in src/sysdep.h. Make this header C-compatible. |
|
1992 |
|
1993 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. |
|
1994 Change all uses. |
|
1995 |
5451
|
1996 2005-09-15 John W. Eaton <jwe@octave.org> |
|
1997 |
|
1998 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. |
|
1999 |
|
2000 * oct-sparse.h.in: New file. |
|
2001 * Makefile.in (DISTFILES): Include it in the list. |
|
2002 (INCLUDES): Add oct-sparse.h to the list. |
|
2003 |
|
2004 2005-09-15 David Bateman <dbateman@free.fr> |
|
2005 |
|
2006 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
|
2007 headers. Remove include of umfpack.h. |
|
2008 * CSparse.cc : ditto. |
|
2009 * SparsedbleLU.cc : ditto. |
|
2010 * SparseCmplxLU.cc : ditto. |
|
2011 |
|
2012 * COLAMD : Remove colamd files from octave. |
|
2013 * COLAMD.files : delete. |
|
2014 * COLAMD.README : delete. |
|
2015 * Makefile.in: Remove COLAMD. Add LIBGLOB. |
|
2016 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
|
2017 under mingw. |
|
2018 |
|
2019 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR |
|
2020 in definition. |
|
2021 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with |
|
2022 change of cast not allowed under g++ 3.x. |
|
2023 * lo-utils.h (octave_w32_library_search): Declaration. |
|
2024 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. |
|
2025 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. |
|
2026 |
5442
|
2027 2005-09-07 John W. Eaton <jwe@octave.org> |
|
2028 |
|
2029 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update |
|
2030 based on current code in Bash. Handle a few more escape |
|
2031 sequences. Do a better job of decoding \W. |
|
2032 |
5438
|
2033 2005-09-04 David Bateman <dbateman@free.fr> |
|
2034 |
|
2035 * COLAMD: Update version of colamd to v2.4. |
|
2036 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
2037 colamd.c for long version. |
|
2038 |
5429
|
2039 2005-08-25 David Bateman <dbateman@free.fr> |
|
2040 |
|
2041 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
2042 mixed sparse/full multiply. |
|
2043 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
2044 mixed sparse/full multiply. |
|
2045 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
2046 mixed sparse/full multiply operators. |
|
2047 |
5420
|
2048 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
2049 |
|
2050 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
2051 avoid warnings for unsigned types. |
|
2052 |
5404
|
2053 2005-07-07 John W. Eaton <jwe@octave.org> |
|
2054 |
|
2055 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
2056 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
2057 |
5392
|
2058 2005-06-15 John W. Eaton <jwe@octave.org> |
|
2059 |
5394
|
2060 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
2061 Flush stdout here. |
|
2062 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
2063 |
5392
|
2064 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
2065 |
5386
|
2066 2005-06-14 John W. Eaton <jwe@octave.org> |
|
2067 |
5389
|
2068 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
2069 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
2070 octave_is_NaN_or_NA to xisnan. |
|
2071 |
|
2072 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
2073 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
2074 |
|
2075 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
2076 lo_ieee_isnan. |
|
2077 |
5387
|
2078 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
2079 value is greater than FLT_MAX. |
|
2080 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2081 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
2082 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
2083 |
|
2084 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
2085 values too. |
|
2086 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2087 |
|
2088 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
2089 NA, Inf values. |
|
2090 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
2091 |
5385
|
2092 2005-06-14 David Bateman <dbateman@free.fr> |
|
2093 |
5387
|
2094 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
2095 NA values. |
|
2096 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
2097 |
5379
|
2098 2005-06-02 John W. Eaton <jwe@octave.org> |
|
2099 |
|
2100 * Array.cc (assignN): Try harder to correctly resize previously |
|
2101 empty LHS. |
|
2102 |
5351
|
2103 2005-05-16 David Bateman <dbateman@free.fr> |
|
2104 |
|
2105 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
2106 * CSparse.h: ditto. |
|
2107 |
5346
|
2108 2005-05-10 David Bateman <dbateman@free.fr> |
|
2109 |
|
2110 * dSparse.cc (determinant): Free numeric factorization after |
|
2111 sucessful calculation. |
|
2112 * CSparse.cc (determinant): ditto. |
|
2113 |
5340
|
2114 2005-05-06 John W. Eaton <jwe@octave.org> |
|
2115 |
|
2116 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
2117 chol_mat. |
|
2118 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
2119 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
2120 Provide decls. |
|
2121 |
|
2122 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
2123 indexing chol_mat. |
|
2124 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
2125 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
2126 Provide decls. |
|
2127 |
5338
|
2128 2005-05-05 John W. Eaton <jwe@octave.org> |
|
2129 |
|
2130 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
2131 retval before return. |
|
2132 |
5336
|
2133 2005-05-04 John W. Eaton <jwe@octave.org> |
|
2134 |
|
2135 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
2136 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
2137 |
5330
|
2138 2005-05-02 John W. Eaton <jwe@octave.org> |
|
2139 |
|
2140 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
2141 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
2142 |
5322
|
2143 2005-04-29 David Bateman <dbateman@free.fr> |
|
2144 |
5330
|
2145 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
2146 double. Correct indexing for upper diagonal elements for sparse |
|
2147 tridiagonal. |
5322
|
2148 * CSparse.cc (trisolve): ditto. |
|
2149 |
5330
|
2150 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
2151 UMFPACK for 64-bit. |
5322
|
2152 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
2153 UMFPACK_ZNAME(*). |
|
2154 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
2155 |
5330
|
2156 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
2157 UMFPACK for 64-bit. |
5322
|
2158 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
2159 UMFPACK_DNAME(*). |
|
2160 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
2161 |
5330
|
2162 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
2163 triangular back/forward substitution code. |
5322
|
2164 * CSparse.cc (ltsolve, utsolve): ditto. |
|
2165 |
5330
|
2166 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
2167 from spparms("spumoni",1). |
5322
|
2168 * CSparse.cc (solve): ditto |
|
2169 |
5330
|
2170 * SparseType.cc (SparseType(void)): Print info for |
|
2171 spparms("spumoni",1). |
5322
|
2172 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
2173 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
2174 const octave_idx_type, const octave_idx_type)): New constructors. |
|
2175 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
2176 Detect row permuted lower triangular and column permuted upper |
|
2177 triangular matrices. Remove one of the permutation vectors.. |
5322
|
2178 |
|
2179 * SparseType.h: Simplify the permutation code. |
|
2180 (SparseType(const matrix_type), SparseType |
|
2181 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
2182 SparseType(const matrix_type, const octave_idx_type, |
|
2183 const octave_idx_type)): Declarations. |
|
2184 |
5304
|
2185 2005-04-25 John W. Eaton <jwe@octave.org> |
|
2186 |
|
2187 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
2188 array and its contents. |
|
2189 |
5303
|
2190 2005-04-22 John W. Eaton <jwe@octave.org> |
|
2191 |
|
2192 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
2193 const here now that rl_terminal_name is declared const char*. |
|
2194 |
5294
|
2195 2005-04-21 John W. Eaton <jwe@octave.org> |
|
2196 |
|
2197 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
2198 |
5285
|
2199 2005-04-19 John W. Eaton <jwe@octave.org> |
|
2200 |
|
2201 * Array.cc (assignN): Don't crash if the index list is empty. |
|
2202 |
5282
|
2203 2005-04-14 David Bateman <dbateman@free.fr> |
|
2204 |
|
2205 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
2206 * SparsedbleLU.cc: Ditto. |
|
2207 * SparseCmplxLU.h: Definition. |
|
2208 * SparsedbleLU.h: ditto. |
|
2209 |
|
2210 * SparseType.cc (transpose): New function. |
|
2211 * SparseType.h (transpose): Definition. |
|
2212 |
5278
|
2213 2005-04-11 John W. Eaton <jwe@octave.org> |
|
2214 |
|
2215 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
2216 fortran code that could end up calling XSTOPX. |
|
2217 |
5277
|
2218 2005-04-10 David Bateman <dbateman@free.fr> |
|
2219 |
|
2220 * Makefile.in: include oct-types in INCLUDES so that it is |
|
2221 installed |
|
2222 |
5275
|
2223 2005-04-08 John W. Eaton <jwe@octave.org> |
|
2224 |
5276
|
2225 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
2226 |
5275
|
2227 * Initial merge of 64-bit changes from Clinton Chee: |
|
2228 |
|
2229 2005-04-07 John W. Eaton <jwe@octave.org> |
|
2230 |
|
2231 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
2232 |
|
2233 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
2234 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
2235 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
2236 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
2237 Use octave_idx_type instead of int where needed. |
|
2238 |
|
2239 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2240 |
|
2241 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
2242 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2243 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2244 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
2245 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
2246 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2247 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
2248 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
2249 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
2250 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
2251 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
2252 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
2253 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
2254 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
2255 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
2256 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
2257 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
2258 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
2259 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
2260 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
2261 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
2262 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
2263 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
2264 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
2265 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
2266 str-vec.cc, str-vec.h: |
|
2267 Use octave_idx_type instead of int where needed. |
|
2268 |
|
2269 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2270 |
|
2271 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
2272 |
|
2273 * oct-types.h.in: New file. |
|
2274 |
|
2275 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2276 |
|
2277 * lo-utils.cc (NINTbig): New function. |
|
2278 * lo-utils.h: Provide decl. |
|
2279 |
5269
|
2280 2005-04-06 David Bateman <dbateman@free.fr> |
|
2281 |
|
2282 * Makefile.in: Link to UMFPACK_LIBS. |
|
2283 |
5265
|
2284 2005-04-05 John W. Eaton <jwe@octave.org> |
|
2285 |
|
2286 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
2287 |
5264
|
2288 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2289 |
|
2290 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
2291 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
2292 when resizing A. When performing the assignment, just check that |
|
2293 the number of elements in RHS matches the number of elements |
|
2294 indexed by IDX-LIST. |
|
2295 |
5260
|
2296 2005-03-30 John W. Eaton <jwe@octave.org> |
|
2297 |
5261
|
2298 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
2299 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
2300 |
|
2301 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
2302 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
2303 wrappers from oct-cmplx.h. |
5260
|
2304 |
|
2305 * oct-cmplx.h: Provide typedef only. |
|
2306 |
|
2307 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
2308 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
2309 Likewise. |
|
2310 |
5247
|
2311 2005-03-26 John W. Eaton <jwe@octave.org> |
|
2312 |
|
2313 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
2314 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
2315 |
5209
|
2316 2005-03-15 John W. Eaton <jwe@octave.org> |
|
2317 |
|
2318 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
2319 |
5203
|
2320 2005-03-14 John W. Eaton <jwe@octave.org> |
|
2321 |
|
2322 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
2323 (DISTDIRS): Don't include UMFPACK. |
|
2324 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
2325 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
2326 flags for these files. |
|
2327 Don't include include $(srcdir)/UMFPACK.files. |
|
2328 Don't include include $(srcdir)/UMFPACK.rules. |
|
2329 |
|
2330 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
2331 Delete files. |
|
2332 * UMFPACK: Delete directory tree. |
|
2333 |
|
2334 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
2335 * CSparse.cc: Likewise. |
|
2336 * SparsedbleLU.cc: Likewise. |
|
2337 * SparseCmplxLU.cc: Likewise. |
|
2338 |
|
2339 2005-03-14 David Bateman <dbateman@free.org> |
|
2340 |
|
2341 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
2342 Allow compilation to succeed if UMFPACK is not available. |
|
2343 |
5196
|
2344 2005-03-09 John W. Eaton <jwe@octave.org> |
|
2345 |
|
2346 * Makefile.in (bin-dist): Delete target. |
|
2347 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
2348 |
5173
|
2349 2005-03-01 John W. Eaton <jwe@octave.org> |
|
2350 |
|
2351 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
2352 * Makefile.in: Remove them from the lists. |
|
2353 |
5169
|
2354 2005-02-28 John W. Eaton <jwe@octave.org> |
|
2355 |
|
2356 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
2357 |
5167
|
2358 2005-02-27 David Bateman <dbateman@free.org> |
|
2359 |
5169
|
2360 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
2361 in the sparse matrix. |
5167
|
2362 |
5164
|
2363 2005-02-25 John W. Eaton <jwe@octave.org> |
|
2364 |
|
2365 Sparse merge. |
|
2366 |
|
2367 2005-02-13 David Bateman <dbateman@free.fr> |
|
2368 |
|
2369 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
2370 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
2371 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
2372 solver into separate functions for the diagonal, upper, lower |
|
2373 triangular, tridiagonal, banded and full cases. |
|
2374 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
2375 version that probes the matrix type and another that assumes the type |
|
2376 is passed. |
|
2377 |
|
2378 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
2379 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
2380 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
2381 (SparseMatrix::solve): Likewise |
|
2382 |
|
2383 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2384 Declaration of new functions |
|
2385 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2386 Likewise |
|
2387 |
|
2388 * CSparse.cc (operator !): Reverse the sense of the test. |
|
2389 * dSpase.cc (operator !): Likewise |
|
2390 |
|
2391 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2392 triangular_col_perm, sparse_info): Remove matrix type code |
|
2393 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2394 triangular_col_perm, sparse_info): Likewise |
|
2395 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2396 triangular_col_perm, sparse_info): Likewise |
|
2397 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2398 triangular_col_perm, sparse_info): Likewise |
|
2399 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2400 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
2401 |
|
2402 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
2403 |
|
2404 * SparseType.h: New class for the matrix type used in solvers |
|
2405 * SparseType.cc: methods of sparse matrix type class |
|
2406 |
|
2407 * Makefile.in: Add SparseType.cc |
|
2408 |
|
2409 2005-02-01 David Bateman <dbateman@free.fr> |
|
2410 |
|
2411 * UMFPACK: Update to version 4.4 |
|
2412 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
2413 keep octave specific test files |
|
2414 |
|
2415 2005-01-23 David Bateman <dbateman@free.fr> |
|
2416 |
|
2417 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
2418 tridiagonal and banded cholesky solvers. Remove calculation of |
|
2419 condition number for banded solvers. |
|
2420 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
2421 |
|
2422 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
2423 new functions. |
|
2424 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2425 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2426 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2427 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
2428 ditto |
|
2429 |
|
2430 * Sparse.cc (int Sparse<T>::type (int) const, |
|
2431 bool Sparse<T>::is_dense (void) const): New functions definition |
|
2432 |
|
2433 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
2434 so it actually is cached, but disable |
|
2435 |
|
2436 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
2437 for compatiability |
|
2438 |
|
2439 2005-01-18 David Bateman <dbateman@free.fr> |
|
2440 |
|
2441 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2442 Modify calculation of number elements to skip between copied blocks. |
|
2443 |
|
2444 2005-01-07 David Bateman <dbateman@free.fr> |
|
2445 |
|
2446 * Sparse.h : Reverse definitions of numel and nelem. |
|
2447 * Sparse.cc (assign1): Use numel and not nelem |
|
2448 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
2449 |
|
2450 2005-01-07 David Bateman <dbateman@free.fr> |
|
2451 |
|
2452 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
2453 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
2454 ComplexDET |
|
2455 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
2456 by DET |
|
2457 * dSparse.h (determinant): ditto |
|
2458 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
2459 SparseComplexDET by ComplexDET |
|
2460 * CSparse.h (determinant): ditto |
|
2461 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
2462 SparseCmplxDET.cc: delete files |
|
2463 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
2464 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
2465 |
|
2466 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
2467 local variable to avoid variable shadowing. |
|
2468 * dSparse.cc (SparseMatrix::solve): ditto. |
|
2469 |
|
2470 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
2471 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
2472 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
2473 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
2474 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
2475 sparse-sort.h: Remove additional licensing clause with authors |
|
2476 permission. |
|
2477 |
|
2478 2004-12-30 John W. Eaton <jwe@octave.org> |
|
2479 |
|
2480 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
2481 Loop counter is int, not size_t. |
|
2482 |
|
2483 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
2484 |
|
2485 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
2486 |
|
2487 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
2488 Delete unused variables. |
|
2489 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
2490 variables and variables that might be clobbered by longjmp. |
|
2491 |
|
2492 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
2493 min, max): Delete unused variables. |
|
2494 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
2495 variables and variables that might be clobbered by longjmp. |
|
2496 |
|
2497 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
2498 |
|
2499 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
2500 Loop counter is int, not size_t. |
|
2501 |
|
2502 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
2503 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
2504 |
|
2505 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
2506 lists consistently. |
|
2507 |
|
2508 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
2509 |
|
2510 2004-12-29 John W. Eaton <jwe@octave.org> |
|
2511 |
|
2512 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
2513 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
2514 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
2515 $(UMFPACK_EXTRAS) to the list. |
|
2516 (DISTDIRS): New variable. |
|
2517 (dist): Handle $(DISTDIRS). |
|
2518 |
|
2519 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
2520 Andy Adler <adler@site.uottawa.ca>. |
|
2521 |
|
2522 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
2523 |
|
2524 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
2525 without directory prefix. |
|
2526 |
|
2527 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
2528 $(UMFPACK_OBJ) to the list. |
|
2529 |
|
2530 * COLAMD: New directory. |
|
2531 * COLAMD.files: New file. |
|
2532 * Makefile.in: Include COLAMD.files. |
|
2533 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
2534 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
2535 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
2536 |
|
2537 * UMFPACK: New directory. |
|
2538 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
2539 New files. |
|
2540 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
2541 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
2542 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
2543 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
2544 |
|
2545 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
2546 (INCLUDES): Add it to the list. |
|
2547 (SPARSE_MX_OP_SRC): New variable. |
|
2548 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
2549 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2550 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2551 |
|
2552 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
2553 * Makefile.in (DISTFILES): Add them to the lists. |
|
2554 |
|
2555 * oct-spparms.h, sparse-sort.h: New files. |
|
2556 * Makefile.in (INCLUDES): Add them to the list. |
|
2557 |
|
2558 * oct-spparms.cc, sparse-sort.cc: New files. |
|
2559 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
2560 |
|
2561 * sparse-base-lu.cc: New file. |
|
2562 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
2563 |
|
2564 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
2565 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
2566 SparsedbleLU.cc: New files. |
|
2567 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
2568 |
|
2569 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
2570 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
2571 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
2572 Sparse-op-defs.h: New files. |
|
2573 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
2574 |
|
2575 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
2576 Sparse-C.cc: New files. |
|
2577 * Makefile.in (TI_SRC): Add them to the list. |
|
2578 |
5149
|
2579 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2580 |
|
2581 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
2582 Pass current directory to octave_env::make_absolute. |
|
2583 Save value returned from octave_env::make_absolute in local var. |
|
2584 Pass const char*, not std::string as first arg of resolvepath. |
|
2585 Provide decl for resolved_len. |
|
2586 |
5148
|
2587 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2588 |
|
2589 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
2590 than number of dimenensions of permuted matrix. |
|
2591 |
|
2592 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
2593 * Array-util.cc (calc_permutated_idx): Likewise. |
|
2594 |
5139
|
2595 2005-02-10 David Bateman <dbateman@free.fr> |
|
2596 |
|
2597 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
2598 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
2599 |
5137
|
2600 2005-02-09 John W. Eaton <jwe@octave.org> |
|
2601 |
5138
|
2602 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
2603 * file-ops.h: Provide decls. |
|
2604 |
5137
|
2605 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
2606 |
5136
|
2607 2005-02-08 John W. Eaton <jwe@octave.org> |
|
2608 |
|
2609 * Array-util.cc (freeze): Improve error message. |
|
2610 |
5120
|
2611 2005-01-26 David Bateman <dbateman@free.fr> |
|
2612 |
5121
|
2613 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
2614 special case for fast concatenation. |
5120
|
2615 |
5110
|
2616 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2617 |
|
2618 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
2619 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
2620 |
|
2621 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
2622 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
2623 |
5108
|
2624 2005-01-18 David Bateman <dbateman@free.fr> |
|
2625 |
|
2626 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2627 Modify calculation of number elements to skip between copied blocks. |
|
2628 |
|
2629 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2630 |
|
2631 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
2632 error handler, to warn about resizing. |
|
2633 |
5105
|
2634 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
2635 |
|
2636 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
2637 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
2638 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
2639 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2640 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
2641 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
2642 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
2643 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
2644 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
2645 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
2646 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
2647 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
2648 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
2649 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
2650 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
2651 Delete #pragma implementation. |
|
2652 |
|
2653 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
2654 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
2655 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
2656 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
2657 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
2658 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
2659 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
2660 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
2661 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
2662 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2663 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
2664 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
2665 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
2666 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
2667 Delete #pragma interface. |
|
2668 |
5098
|
2669 2004-12-17 John W. Eaton <jwe@octave.org> |
|
2670 |
|
2671 * lo-cieee.c (lo_ieee_signbit): New function. |
|
2672 * lo-ieee.h: Provide decl. |
|
2673 Don't define lo_ieee_signbit as a macro here. |
|
2674 From Orion Poplawski <orion@cora.nwra.com>. |
|
2675 |
5085
|
2676 2004-11-18 John W. Eaton <jwe@octave.org> |
|
2677 |
|
2678 * int32NDArray.cc (pow): Delete instantiation. |
|
2679 * int16NDArray.cc (pow): Likewise. |
|
2680 * int8NDArray.cc (pow): Likewise. |
|
2681 * uint32NDArray.cc (pow): Likewise. |
|
2682 * uint16NDArray.cc (pow): Likewise. |
|
2683 * uint8NDArray.cc (pow): Likewise. |
|
2684 |
5081
|
2685 2004-11-17 John W. Eaton <jwe@octave.org> |
|
2686 |
5085
|
2687 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
2688 Now static. |
|
2689 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
2690 DEFAULT_TEXMFDBS): Delete unused macros. |
|
2691 |
5081
|
2692 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
2693 if idx_arg is N-d. |
|
2694 |
5073
|
2695 2004-11-09 David Bateman <dbateman@free.fr> |
|
2696 |
|
2697 * dNDArray.cc (concat): Delete. |
|
2698 (NDArray::concat): New methods. |
|
2699 * dNDArray.h: Provide decls. |
|
2700 |
|
2701 * CNDArray.cc (concat): Delete. |
|
2702 (ComplexNDArray::concat): New methods. |
|
2703 * CNDArray.h: Provide decls. |
|
2704 |
|
2705 * boolNDArray.cc (concat): Delete. |
|
2706 (boolNDArray::concat): New methods. |
|
2707 * boolNDArray.h: Provide decls. |
|
2708 |
|
2709 * chNDArray.cc (concat): Delete. |
|
2710 (charNDArray::concat): New methods. |
|
2711 * chNDArray.h: Provide decls. |
|
2712 |
|
2713 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
2714 Delete macros. |
|
2715 |
|
2716 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2717 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2718 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
2719 |
|
2720 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
2721 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2722 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
2723 |
|
2724 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
2725 * intNDArray.h: Provide decl. |
|
2726 |
5072
|
2727 2004-11-08 John W. Eaton <jwe@octave.org> |
|
2728 |
|
2729 * oct-inttypes.cc: New file. |
|
2730 * Makefile.in (TI_SRC): Add it to the list. |
|
2731 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
2732 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
2733 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
2734 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
2735 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
2736 New macros for comparison operations. Avoid potential |
|
2737 problems with default conversions when comparing signed and |
|
2738 unsigned values. |
|
2739 |
5061
|
2740 2004-11-03 John W. Eaton <jwe@octave.org> |
|
2741 |
|
2742 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
2743 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
2744 |
5052
|
2745 2004-10-19 John W. Eaton <jwe@octave.org> |
|
2746 |
|
2747 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
2748 |
5047
|
2749 2004-10-18 John W. Eaton <jwe@octave.org> |
|
2750 |
|
2751 * Array.cc (assign2): Save result of squeeze operation. |
|
2752 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
2753 |
5095
|
2754 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
2755 |
|
2756 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
2757 flag whether transform in- or out-of-place. |
|
2758 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
2759 (octave_fftw_planner::create_plan): Use it. |
|
2760 |
5039
|
2761 2004-09-24 John W. Eaton <jwe@octave.org> |
|
2762 |
|
2763 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
2764 any empty matrix, not just []. |
|
2765 |
5030
|
2766 2004-09-23 John W. Eaton <jwe@octave.org> |
|
2767 |
|
2768 * mx-ops: Include scalar zero value in type definitions. |
|
2769 Delete zero information from ops section. |
|
2770 * mk-ops.awk: Use type-specific zero info. |
|
2771 |
|
2772 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
2773 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
2774 LHS and RHS. |
|
2775 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
2776 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
2777 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
2778 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
2779 |
|
2780 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
2781 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
2782 tree_to_mat_idx. |
|
2783 |
|
2784 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
2785 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
2786 Likewise for the "if (b_val & one)" test. |
|
2787 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
2788 |
5029
|
2789 2004-09-23 David Bateman <dbateman@free.fr> |
|
2790 |
|
2791 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
2792 New macros. Use them to define mixed intX-double and double-intX ops. |
|
2793 |
5021
|
2794 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
2795 |
|
2796 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
2797 Fix doc string layout to avoid overfull hbox in printed output. |
|
2798 |
5015
|
2799 2004-09-21 John W. Eaton <jwe@octave.org> |
|
2800 |
|
2801 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
2802 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
2803 For "native", set actual native format. |
|
2804 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
2805 |
5008
|
2806 2004-09-17 David Bateman <dbateman@free.fr> |
|
2807 |
|
2808 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
2809 calculation of the unitary matrix optional. |
|
2810 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
2811 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
2812 |
4998
|
2813 2004-09-15 David Bateman <dbateman@free.fr> |
|
2814 |
|
2815 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
2816 New function to set the comparison function for the sort. |
|
2817 |
4985
|
2818 2004-09-10 John W. Eaton <jwe@octave.org> |
|
2819 |
|
2820 * lo-mappers.cc (xround): Fix typo. |
|
2821 |
4979
|
2822 2004-09-08 John W. Eaton <jwe@octave.org> |
|
2823 |
|
2824 * Array.h (Array::~Array): Declare virtual. |
|
2825 |
|
2826 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
2827 initializaion list. Don't set rep->count since the rep |
|
2828 constructor does that. |
|
2829 |
4968
|
2830 2004-09-07 John W. Eaton <jwe@octave.org> |
|
2831 |
4970
|
2832 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
2833 (oct_data_conv::data_type_as_string): Likewise. |
|
2834 |
|
2835 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
2836 |
4968
|
2837 * Range.cc (round): Delete unused function. |
|
2838 |
|
2839 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
2840 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
2841 |
|
2842 * oct-inttypes.h: Include <cmath> here. |
|
2843 |
4964
|
2844 2004-09-03 David Bateman <dbateman@free.fr> |
|
2845 |
|
2846 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
2847 New functions for boolean matrix concatenation. |
|
2848 * boolNDArray.h: Provide decls. |
|
2849 |
4963
|
2850 2004-09-03 John W. Eaton <jwe@octave.org> |
|
2851 |
4964
|
2852 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
2853 to avoid signed/unsigned int comparison problems. |
|
2854 |
|
2855 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
2856 for mixed integer and double types. |
|
2857 |
|
2858 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
2859 separately, and only if needed. |
|
2860 |
4963
|
2861 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
2862 static_cast for type conversion. |
|
2863 |
4953
|
2864 2004-09-01 John W. Eaton <jwe@octave.org> |
|
2865 |
|
2866 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
2867 operator /): Handle mixed integer/double ops. If op generates a |
|
2868 NaN, set result to 0. |
|
2869 (octave_int::operator - (void)): Convert to double, then negate, |
|
2870 then fit to range. |
|
2871 |
|
2872 * mx-ops: Define integer types. Include declarations for mixed |
|
2873 integer/double ops. |
|
2874 |
4952
|
2875 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2876 |
|
2877 * oct-inttypes.h (pow): Args now const reference. |
|
2878 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
2879 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
2880 New member functions. |
|
2881 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
2882 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
2883 Define in terms of >>=. |
|
2884 (operator << (const octave_int<T1>& x, const T2& y)): |
|
2885 Define in terms of <<=. |
|
2886 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
2887 we get proper saturation properties. |
|
2888 |
|
2889 2004-08-31 David Bateman <dbateman@free.fr> |
|
2890 |
|
2891 * oct-inttypes.h (pow (constT, T)): New template. |
|
2892 |
|
2893 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
2894 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
2895 |
4949
|
2896 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2897 |
|
2898 * oct-inttypes.h (octave_int::byte_size): New function. |
|
2899 |
4944
|
2900 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2901 |
4946
|
2902 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
2903 |
4944
|
2904 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
2905 Explicitly number enum elements. |
|
2906 |
|
2907 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
2908 std::string&, int&, oct_data_conv::data_type&, |
|
2909 oct_data_conv::data_type&)): New function. |
|
2910 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
2911 oct_data_conv::data_type&)): New function. |
|
2912 (oct_data_conv::data_type_as_string): New function. |
|
2913 |
|
2914 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
2915 (write_int, do_write, Matrix::write): Delete. |
|
2916 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
2917 |
|
2918 * byte-swap.h: Use template functions and specialization. |
|
2919 Change all uses. |
|
2920 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2921 |
4943
|
2922 2004-08-30 John W. Eaton <jwe@octave.org> |
|
2923 |
|
2924 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
2925 specializations to avoid warnings about signed/unsigned comparisons. |
|
2926 |
|
2927 2004-08-28 John W. Eaton <jwe@octave.org> |
|
2928 |
|
2929 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
2930 size_t, int, oct_mach_info::float_format)): New function. |
|
2931 (GET_SIZED_INT_TYPE): New macro. |
|
2932 (string_to_data_type): Use it to return sized types corresponding |
|
2933 to Octave array data types. |
|
2934 (strip_spaces): New function. |
|
2935 (do_double_format_conversion, do_float_format_conversion): Pass |
|
2936 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
2937 float format. |
|
2938 (do_double_format_conversion, |
|
2939 IEEE_big_double_to_IEEE_little_double, |
|
2940 VAX_D_double_to_IEEE_little_double, |
|
2941 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
2942 IEEE_little_double_to_IEEE_big_double, |
|
2943 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
2944 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
2945 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
2946 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
2947 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
2948 Cray_to_VAX_G_double): |
|
2949 Pass data as void*, not double*. |
|
2950 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
2951 VAX_D_float_to_IEEE_little_float, |
|
2952 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
2953 IEEE_little_float_to_IEEE_big_float, |
|
2954 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
2955 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
2956 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
2957 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
2958 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
2959 Cray_to_VAX_G_float): |
|
2960 Pass data as void*, not float*. |
|
2961 |
|
2962 2004-08-27 John W. Eaton <jwe@octave.org> |
|
2963 |
|
2964 * byte-swap.h (swap_bytes): New template versions, with |
|
2965 specializations. |
|
2966 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2967 Change all uses. |
|
2968 |
4940
|
2969 2004-08-24 David Bateman <dbateman@free.fr> |
|
2970 |
|
2971 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
2972 empty instead of checking final matrix. |
|
2973 * dNDArray.cc (concat): Likewise. |
|
2974 * CNDArray.cc (concat): Likewise. |
|
2975 |
|
2976 2004-08-23 David Bateman <dbateman@free.fr> |
|
2977 |
|
2978 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
2979 non-existent dimensions. |
|
2980 |
4938
|
2981 2004-08-09 John W. Eaton <jwe@octave.org> |
|
2982 |
|
2983 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
2984 (const octave_int<U>&)): New member function. |
|
2985 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
2986 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
2987 Now member functions instead of static in idx-vector.cc. |
|
2988 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
2989 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
2990 New template constructors. |
|
2991 |
4932
|
2992 2004-08-05 John W. Eaton <jwe@octave.org> |
|
2993 |
4933
|
2994 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
2995 |
4932
|
2996 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
2997 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
2998 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
2999 |
4929
|
3000 2004-08-03 John W. Eaton <jwe@octave.org> |
|
3001 |
|
3002 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
3003 arrays with more than two dimensions and only one non-singleton |
|
3004 dimension, return a column vector. |
|
3005 |
4921
|
3006 2004-07-28 John W. Eaton <jwe@octave.org> |
|
3007 |
|
3008 * oct-cmplx.h (pow (const Complex&, const double&): |
|
3009 Convert second arg to complex to avoid libstdc++ bug. |
|
3010 |
4920
|
3011 2004-07-27 John W. Eaton <jwe@octave.org> |
|
3012 |
|
3013 * oct-inttypes.h (bitshift): New arg, MASK. |
|
3014 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
3015 |
4916
|
3016 2004-07-23 John W. Eaton <jwe@octave.org> |
|
3017 |
|
3018 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
3019 |
4915
|
3020 2004-07-23 David Bateman <dbateman@free.fr> |
|
3021 |
|
3022 * Array.cc, Array.h (cat_ra): Delete. |
|
3023 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
3024 (INSTANTIATE_ARRAY_CAT): Delete. |
|
3025 |
|
3026 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3027 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
3028 |
|
3029 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
3030 |
|
3031 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3032 chNDArray.h (concat): New function used for concatenation that does |
|
3033 an indexed copy of one array into another. |
|
3034 |
|
3035 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
3036 |
|
3037 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3038 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
3039 insertion of one NDArray into another. |
|
3040 |
|
3041 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
3042 macros to define the int/uint concatenation functions. |
|
3043 |
|
3044 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
3045 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
3046 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
3047 |
|
3048 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
3049 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
3050 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
3051 functions. |
|
3052 |
4911
|
3053 2004-07-22 David Bateman <dbateman@free.fr> |
|
3054 |
|
3055 * oct-sort.h: Don't include oct-obj.h. |
|
3056 |
|
3057 * lo-specfun.cc (is_integer_value): New function. |
|
3058 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
3059 integer orders that cause overflow for small arguments. |
|
3060 |
4909
|
3061 2004-07-12 John W. Eaton <jwe@octave.org> |
|
3062 |
|
3063 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
3064 (bitshift (const octave_int<T>&, int)): New function. |
|
3065 |
4902
|
3066 2004-06-14 John W. Eaton <jwe@octave.org> |
|
3067 |
|
3068 * mx-base.h: Include headers for new int types. |
|
3069 |
|
3070 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
3071 NDArray::NDArray (const charNDArray&)): Delete. |
|
3072 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
3073 constructor. |
|
3074 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3075 |
|
3076 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
3077 return type conversion. |
|
3078 |
|
3079 * ComplexNDArray.h, ComplexNDArray.cc |
|
3080 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
3081 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3082 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3083 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
3084 |
|
3085 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3086 |
|
3087 * MArrayN.h: |
|
3088 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
3089 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
3090 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
3091 New constructors. |
|
3092 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3093 ArrayN<T>::squeeze): |
|
3094 New forwarding functions for return type conversion. |
|
3095 |
|
3096 * ArrayN.h: |
|
3097 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
3098 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
3099 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
3100 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
3101 const dim_vector&)): New constructors. |
|
3102 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3103 ArrayN<T>::transpose): |
|
3104 New forwarding functions for return type conversion. |
|
3105 |
|
3106 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
3107 New constructor. |
|
3108 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
3109 |
|
3110 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
3111 |
|
3112 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
3113 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
3114 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
3115 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
3116 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
3117 * Makefile.in: Add them to the appropriate lists. |
|
3118 |
4899
|
3119 2004-06-04 John W. Eaton <jwe@octave.org> |
|
3120 |
|
3121 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
3122 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
3123 resize op. Change all uses. |
|
3124 |
4898
|
3125 2004-06-03 David Bateman <dbateman@free.fr> |
|
3126 |
|
3127 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
3128 greater than the existing number of dimensions in lvalue. |
|
3129 |
4887
|
3130 2004-04-30 David Bateman <dbateman@free.fr> |
|
3131 |
|
3132 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
3133 New arg, fill_value. |
|
3134 (dim_vector::resize): Allow optional fill_value argument. |
|
3135 |
|
3136 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3137 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
3138 more than one element in idx_vector. Resize the return value to |
|
3139 the size of Array<idx_vector>. |
|
3140 |
|
3141 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
3142 idx_vector that is shorter than a dim_vector. |
|
3143 |
4882
|
3144 2004-04-23 John W. Eaton <jwe@octave.org> |
|
3145 |
|
3146 * oct-sort.cc: Don't include oct-obj.h. |
|
3147 |
4876
|
3148 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3149 |
|
3150 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
3151 Don't set invalid dimensions on return value. |
|
3152 |
4871
|
3153 2004-04-21 John W. Eaton <jwe@octave.org> |
|
3154 |
|
3155 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
3156 |
4850
|
3157 2004-04-06 David Bateman <dbateman@free.fr> |
|
3158 |
4870
|
3159 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
3160 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
3161 Make their behavior equivalent except for filling vs. not filling. |
|
3162 |
4850
|
3163 * oct-sort.cc: New template class for arbitrary sorting. |
|
3164 * oct-sort.h: Declaration of sort class. |
|
3165 * Makefile: Add them to the appropriate lists. |
|
3166 |
4845
|
3167 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3168 |
|
3169 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
3170 |
4844
|
3171 2004-04-02 David Bateman <dbateman@free.fr> |
|
3172 |
|
3173 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
3174 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
3175 New N-d array versions. |
4844
|
3176 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
3177 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
3178 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
3179 |
|
3180 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
3181 New functions. |
|
3182 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
3183 |
|
3184 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3185 New functions. |
|
3186 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3187 Provide decls. |
|
3188 |
4842
|
3189 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
3190 |
|
3191 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
3192 work vector, not just when using a numerical Jacobian. |
|
3193 |
4834
|
3194 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3195 |
4835
|
3196 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
3197 Omit empty result args. |
|
3198 |
4834
|
3199 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
3200 Move here from Array.h, check that size of array arg is not |
|
3201 smaller than the size defined by the new dimensions. |
|
3202 |
4832
|
3203 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3204 |
|
3205 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
3206 a scalar or vector with an N-d array. |
|
3207 |
4826
|
3208 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3209 |
4828
|
3210 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
3211 matrix, return object that is the same size as the index. |
|
3212 |
4826
|
3213 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
3214 Eliminate MT_RESULT args. Return value is always size of args. |
|
3215 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
3216 Eliminate EMPTY_RESULT arg. |
|
3217 Return value is always size of matrix or N-d array arg. |
|
3218 (TBM, FBM, NBM): Delete unused macros. |
|
3219 |
4821
|
3220 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3221 |
|
3222 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
3223 if all LHS dimensions are zero. For one index case, freeze and |
|
3224 sort idx_vec before checking length, and do nothing if |
|
3225 num_to_delete is zero. |
4822
|
3226 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
3227 |
4816
|
3228 2004-03-04 David Bateman <dbateman@free.fr> |
|
3229 |
|
3230 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
3231 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
3232 |
4811
|
3233 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
3234 |
|
3235 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
3236 element. |
|
3237 |
|
3238 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3239 |
|
3240 * Range.h (Range::Range): Add cache to member initialization list. |
|
3241 (Range::clear_cache): New private function. |
|
3242 |
|
3243 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
3244 Use clear cache. Don't do anything if range does not change. |
|
3245 * Range.cc (Range::sort): Likewise. |
|
3246 |
4810
|
3247 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
3248 |
|
3249 * Range.cc (Range::matrix_value): Cache result. |
|
3250 (Range::sort): Clear cache. |
|
3251 * Range.h (Range::cache): New data member. |
|
3252 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
3253 (Range::print_range): Delete. |
4808
|
3254 |
|
3255 2004-03-02 David Bateman <dbateman@free.fr> |
|
3256 |
|
3257 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
3258 changes between them. Faster for small fft's. |
|
3259 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
3260 New member variables. |
|
3261 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
3262 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
3263 Change all uses. |
|
3264 (CHECK_SIMD_ALIGNMENT): New macro. |
|
3265 (octave_fftw_planner::create_plan): Use it. |
|
3266 |
4806
|
3267 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
3268 |
|
3269 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
3270 |
|
3271 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
3272 |
|
3273 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
3274 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
3275 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
3276 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
3277 |
|
3278 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
3279 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
3280 |
4800
|
3281 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3282 |
4802
|
3283 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
3284 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
3285 octave_rl_get_event_hook): Omit casts. |
|
3286 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
3287 Return value for function pointer typedef is now int. |
|
3288 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
3289 command_editor::event_hook_fcn): Likewise. |
|
3290 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
3291 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
3292 Return type is now int. Return 0. |
|
3293 |
4800
|
3294 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
3295 Query Lapack for workspace size. |
|
3296 |
4796
|
3297 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3298 |
|
3299 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
3300 Fix thinko in extending dimensions. |
|
3301 |
4791
|
3302 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3303 |
|
3304 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
3305 Don't compute values beyond the limits of the range. |
|
3306 (operator << (std::ostream&, const Range&)): Likewise. |
|
3307 |
4786
|
3308 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3309 |
4788
|
3310 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
3311 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
3312 From Paul Kienzle <pkienzle@users.sf.net>. |
|
3313 |
4786
|
3314 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
3315 Rename from Array<T>::insert. |
|
3316 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
3317 Reinstate old Array<T>::insert function under this name. |
|
3318 (Array<T>::insert (const Array<T>&, int, int)): |
|
3319 New function. Dispatch to insert2 or insertN as appropriate. |
|
3320 |
4785
|
3321 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3322 |
|
3323 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3324 Sprinkle with OCTAVE_QUIT. |
|
3325 |
5095
|
3326 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
3327 |
|
3328 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
3329 Add support for FFTW 3.x. Include the ability to |
|
3330 use the real to complex transform for fft's of real matrices |
|
3331 (octave_fftw_planner::create_plan2d): Delete. |
|
3332 (octave_fftw::fft2d): Delete. |
|
3333 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3334 New static functions. |
|
3335 * oct-fftw.h: Update decls. |
|
3336 |
|
3337 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
3338 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
3339 transforms. 1D FFT of a matrix done as single call rather than |
|
3340 loop. Update for FFTW 3.x |
|
3341 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
3342 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
3343 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
3344 |
|
3345 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
3346 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
3347 functions for Nd arrays. |
|
3348 * dNArray.h Provide decls. |
|
3349 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
3350 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
3351 fourier transform functions for complex Nd arrays. |
|
3352 * CNArray.h: Provide decls. |
|
3353 |
4765
|
3354 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
3355 |
|
3356 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
3357 Make it work for N-d arrays. |
|
3358 |
|
3359 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
3360 New function. |
|
3361 |
|
3362 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
3363 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
3364 New functions. |
|
3365 * CNDArray.h: Provide decls. |
|
3366 |
4759
|
3367 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3368 |
4760
|
3369 * Makefile.in (LINK_DEPS): Always define. |
|
3370 |
4759
|
3371 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
3372 least two dimensions. |
|
3373 |
4758
|
3374 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3375 |
|
3376 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
3377 * dNDArray.cc (NDArray::cat): New function. |
|
3378 * dNDArray.h: Provide decls. |
|
3379 * CNDArray.cc (complexNDArray::cat): New function. |
|
3380 * CNDArray.h: Provide decls. |
|
3381 * chNDArray.cc (charNDArray::cat): New function. |
|
3382 * chNDArray.h: Provide decls. |
|
3383 |
4756
|
3384 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3385 |
|
3386 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
3387 (Array<T>assign2): Also call maybe_delete_elements for single |
|
3388 index when rows and columns or LHS are both greater than 1. |
|
3389 |
4755
|
3390 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3391 |
|
3392 * Array.cc (Array<T>::maybe_delete_elements): |
|
3393 Check for index out of bounds. Handle one index. |
|
3394 |
|
3395 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
3396 dim_vector (0) to create empty return vector. |
|
3397 |
4749
|
3398 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3399 |
|
3400 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
3401 non-empty LHS when the number of lhs dimensions is less than the |
|
3402 number of indices. Detect error if attempting to resize non-empty |
|
3403 LHS with colon indices. |
|
3404 |
4745
|
3405 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3406 |
4747
|
3407 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
3408 values unless the length of the new array is greater than 0. |
|
3409 (Array<T>::resize_no_fill): Likewise. |
|
3410 |
|
3411 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
3412 is equal to dimensions(i). |
|
3413 |
|
3414 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
3415 get_zero_len_size, number_of_elements): |
|
3416 Delete unused functions. |
|
3417 |
|
3418 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
3419 number_of_elements function. |
|
3420 * Array.cc (Array<T>::indexN): Likewise. |
|
3421 |
|
3422 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
3423 of equal_arrays function. |
|
3424 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
3425 dim_vector::any_zero instead of any_zero_len function. |
|
3426 |
|
3427 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
3428 Don't skip reshaping and resizing if RHS is empty. |
|
3429 |
4746
|
3430 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
3431 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
3432 Delete unused variables is_colon and is_colon_equiv. |
4746
|
3433 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
3434 LHS is not yet defined. |
4745
|
3435 Error for resizing if number of indices is less than number of LHS |
|
3436 dimensions. |
|
3437 |
4746
|
3438 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
3439 Fortran-style indexing. |
|
3440 |
4743
|
3441 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3442 |
|
3443 * Array.cc (Array<T>::assignN): Simplify. |
|
3444 Allow assignments to succeed if number if indices is less than the |
|
3445 number of RHS dimensions. |
|
3446 |
4738
|
3447 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3448 |
4741
|
3449 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
3450 when number of indices is less than number of dimensions. |
|
3451 |
|
3452 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
3453 Remove unsued variable lhs_inc. |
|
3454 |
4740
|
3455 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
3456 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
3457 |
|
3458 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
3459 |
4738
|
3460 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
3461 == n_dims before checking to see if all indices are colon_equiv. |
|
3462 |
4736
|
3463 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3464 |
|
3465 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
3466 deleting elements. |
4737
|
3467 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
3468 at least ndims elements. |
4736
|
3469 |
4735
|
3470 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3471 |
|
3472 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
3473 oriented differently from the index. |
|
3474 |
|
3475 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
3476 least two dimensions. |
|
3477 |
4733
|
3478 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3479 |
4735
|
3480 * dim-vector.h (dim_vector::squeeze): New function. |
|
3481 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
3482 deciding whether the assignment conforms. |
|
3483 |
4733
|
3484 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
3485 comparing rhs_dims and frozen_len sans trailing singletons. |
|
3486 |
4732
|
3487 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3488 |
|
3489 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
3490 Call error handler and return conversion_error == true if arg is |
|
3491 not integer. |
|
3492 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
3493 |
4730
|
3494 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3495 |
|
3496 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
3497 reference arg const. |
|
3498 |
|
3499 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3500 |
|
3501 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
3502 |
4729
|
3503 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
3504 |
|
3505 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
3506 Now bool, to match definition in Array-flags.cc. |
|
3507 |
4725
|
3508 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3509 |
4726
|
3510 * file-ops.cc: Include <vector> instead of <memory> for new |
|
3511 definition of OCTAVE_LOCAL_BUFFER. |
|
3512 |
4725
|
3513 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
3514 New arg, calc_eigenvectors. |
|
3515 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
3516 Based on patch from David Bateman <dbateman@free.fr>. |
|
3517 |
4716
|
3518 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3519 |
|
3520 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
3521 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
3522 |
|
3523 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
3524 |
4711
|
3525 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3526 |
4714
|
3527 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
3528 Simplify calculation of number of elements in retval. |
|
3529 |
4711
|
3530 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
3531 filling when RHS is scalar and dimension lengths agree. |
|
3532 |
4710
|
3533 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3534 |
4713
|
3535 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
3536 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
3537 |
4707
|
3538 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3539 |
4709
|
3540 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
3541 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
3542 |
4702
|
3543 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
3544 |
4703
|
3545 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
3546 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
3547 |
|
3548 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
3549 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
3550 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
3551 Make sure index is in bounds. |
4702
|
3552 |
4698
|
3553 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3554 |
|
3555 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
3556 octave_NaN, and octav_NA values are always initialized. Check |
|
3557 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
3558 to decide whether to do IEEE initialization. |
|
3559 |
4687
|
3560 2004-01-06 David Bateman <dbateman@free.fr> |
|
3561 |
|
3562 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
3563 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
3564 ComplexNDArray::too_large_for_float): New functions |
|
3565 |
|
3566 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
3567 * CNDArray.h: Provide decls. |
|
3568 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
3569 * dNDArray.h: Provide decls. |
|
3570 |
4673
|
3571 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3572 |
4674
|
3573 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
3574 they are already defined in boolNDArray.cc. |
|
3575 |
4673
|
3576 * Array-util.cc (get_zero_len_size): Delete. |
|
3577 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3578 Handle zero-length result dimensions the same as empty original |
|
3579 indices. |
|
3580 |
|
3581 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3582 |
|
3583 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
3584 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
3585 New functions. |
|
3586 * Array.cc (ArrayN<T>::indexN): Use it. |
|
3587 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
3588 |
4669
|
3589 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3590 |
|
3591 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
3592 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
3593 |
|
3594 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3595 |
|
3596 * mk-ops.awk: Also emit #include "Array-util.h". |
|
3597 |
|
3598 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
3599 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
3600 |
|
3601 * MArray-misc.cc: Delete. |
|
3602 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
3603 |
|
3604 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
3605 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
3606 |
4655
|
3607 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3608 |
4663
|
3609 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
3610 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
3611 |
|
3612 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
3613 two-arg getgrnam version. |
|
3614 |
4657
|
3615 * Array.cc (assignN): Allow single indexing to work. |
4661
|
3616 (Array<T>::range_error (const char*, const Array<int>&)): |
|
3617 Report index values. |
|
3618 |
|
3619 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
3620 * ODESSA.cc (odessa_j): Likewise. |
|
3621 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
3622 * DASPK.cc (ddaspk_psol): Likewise. |
|
3623 * lo-mappers.cc (imag): Likewise. |
4663
|
3624 * Array-util.cc (get_zero_len_size): Likewise. |
|
3625 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
3626 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
3627 |
4655
|
3628 * dim-vector.h (dim_vector::all_ones): New function. |
|
3629 |
4646
|
3630 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3631 |
4653
|
3632 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
3633 zeros, not orig_rows or orig_columns. |
|
3634 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
3635 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
3636 |
|
3637 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
3638 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
3639 |
|
3640 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
3641 Use initialization lists for constructors. |
|
3642 |
4651
|
3643 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
3644 Omit special case for ra_idx.capacity () == 1. |
|
3645 Always allow single index for matrix args with optional warning. |
|
3646 |
4650
|
3647 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
3648 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
3649 |
4648
|
3650 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
3651 * Makefile.in (TI_SRC): Add it to the list. |
|
3652 |
4646
|
3653 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
3654 type and the names of the left and right operands. Change all uses. |
|
3655 |
|
3656 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
3657 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
3658 |
4645
|
3659 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3660 |
|
3661 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
3662 just length. |
|
3663 |
|
3664 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
3665 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
3666 non-dependent member functions and data as needed. |
|
3667 |
|
3668 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
3669 |
|
3670 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
3671 * Array3.h (Array3<T>::operator =): Likewise. |
|
3672 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
3673 Include Array.h, not Array2.h. |
|
3674 |
4634
|
3675 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3676 |
4636
|
3677 * str-vec.cc (list_in_columns): Fix previous change. |
|
3678 |
4635
|
3679 * dim-vector.h (dim_vector::num_ones): New function. |
|
3680 * Array.cc (maybe_delete_elements): Use it instead of |
|
3681 num_ones (const Array<int>&). |
|
3682 |
|
3683 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
3684 |
4634
|
3685 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
3686 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
3687 New functions. |
|
3688 * dNDArray.h: Provide decls. |
|
3689 |
|
3690 * dMatrix.h (Matrix::any_element_is_negative, |
|
3691 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
3692 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
3693 Simplify. |
|
3694 |
|
3695 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
3696 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
3697 |
|
3698 * dNDArray.cc (real, imag): New functions. |
|
3699 * dNDArray.h: Provide decls. |
|
3700 |
4630
|
3701 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3702 |
|
3703 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
3704 |
4625
|
3705 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3706 |
|
3707 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
3708 * MArray.h (resize): Delete. |
|
3709 * MArray2.h (resize): Delete. |
|
3710 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
3711 * ODESSA (ODESSA::integrate): Likewise. |
|
3712 |
4616
|
3713 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3714 |
|
3715 * Makefile.in (dist): Depend on stamp-prereq. |
|
3716 |
4605
|
3717 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
3718 |
|
3719 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
3720 Kluge to make it work. |
4604
|
3721 |
|
3722 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
3723 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
3724 |
|
3725 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
3726 default_command_editor::do_generate_filename_completions, |
|
3727 command_editor::generate_filename_completions): New functions. |
|
3728 * cmd-edit.h: Provide decls. |
|
3729 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
3730 function. |
|
3731 * oct-rl-edit.h: Provide decl. |
|
3732 |
4593
|
3733 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3734 |
4594
|
3735 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
3736 INSTANTIATE_ARRAY): New macros. |
|
3737 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3738 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
3739 |
4593
|
3740 * Array.h (Array<T>::ipermute): New function. |
|
3741 |
|
3742 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
3743 |
|
3744 * Array.cc (Array<T>::permute): New function. |
|
3745 * Array.h: Provide decl. |
|
3746 |
|
3747 * Array-util.cc (calc_permutated_idx): New function. |
|
3748 * Array-util.h: Provide decl. |
|
3749 |
4587
|
3750 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3751 |
4592
|
3752 * Array.cc (Array<T>::index2): Return value has orientation of |
|
3753 indexed value if indexing a vector with a bool matrix. |
|
3754 |
4589
|
3755 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
3756 |
4588
|
3757 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
3758 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
3759 |
|
3760 * ArrayN-inline.h: Delete. |
|
3761 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
3762 * Makefile.in: Fix the appropriate lists. |
|
3763 |
4587
|
3764 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
3765 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
3766 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
3767 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
3768 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
3769 Avoid -Wshadow warnings. |
|
3770 |
|
3771 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
3772 |
|
3773 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
3774 |
|
3775 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
3776 |
|
3777 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3778 |
|
3779 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
3780 |
4584
|
3781 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
3782 |
|
3783 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
3784 |
|
3785 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
3786 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
3787 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
3788 Return NDArray. Handle N-d arrays. |
|
3789 |
4575
|
3790 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3791 |
4583
|
3792 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
3793 that upcase Fortran names by calling dlsode instead of lsode. |
|
3794 |
|
3795 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
3796 that upcase Fortran names by calling dodessa instead of odessa. |
|
3797 |
4577
|
3798 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
3799 non-const args for symlink system call. |
|
3800 (file_ops::readlink): Likewise, for readlink. |
|
3801 |
4575
|
3802 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
3803 |
4574
|
3804 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3805 |
|
3806 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
3807 Change all uses. |
|
3808 |
4569
|
3809 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
3810 |
|
3811 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
3812 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
3813 * dNDArray.h: Provide decls. |
|
3814 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
3815 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
3816 ComplexNDArray::abs): New functions. |
|
3817 * CNDArray.h: Provide decls. |
|
3818 |
|
3819 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
3820 Generalize to handle other reduction operations. |
|
3821 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
3822 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
3823 |
4565
|
3824 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3825 |
4567
|
3826 * Array.cc (Array<T>::reshape): New function. |
|
3827 * Array.h: Provide decl. |
|
3828 |
|
3829 * dim-vector.h (dim_vector::numel): New function. |
|
3830 |
4565
|
3831 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
3832 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
3833 |
4559
|
3834 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3835 |
|
3836 * dim-vector.h (dim_vector::any_zero): New function. |
|
3837 (dim_vector::str): New default arg, sep. |
|
3838 |
|
3839 * Array.h (Array<T>::numel): New function. |
|
3840 |
4556
|
3841 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
3842 |
|
3843 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
3844 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
3845 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
3846 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3847 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
3848 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
3849 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
3850 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3851 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
3852 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
3853 |
4552
|
3854 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3855 |
4553
|
3856 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
3857 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
3858 |
4552
|
3859 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
3860 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3861 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
3862 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
3863 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3864 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3865 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
3866 Use new F77 arg macros in declarations of external Fortran |
|
3867 subroutines and for calling them. |
|
3868 |
4548
|
3869 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3870 |
|
3871 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
3872 Allow number of dimensions to change. |
|
3873 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
3874 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
3875 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
3876 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
3877 (Array<T>::transpose): Require ndims to be 2. |
|
3878 (Array<T>::index2): Likewise. |
|
3879 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
3880 (Array<T>::maybe_delete_elements_2): Likewise. |
|
3881 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
3882 (Array<T>::index1): Use resize_and_fill. |
|
3883 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
3884 |
|
3885 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
3886 |
|
3887 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
3888 (MArray2<T>::resize (int, int, const T&)): New function. |
|
3889 |
|
3890 * MArray.h (MArray<T>::resize (int)): New function. |
|
3891 (MArray<T>::resize (int, const T&)): New function. |
|
3892 |
|
3893 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
3894 |
|
3895 * DASPK-opts.in: Use single-arg resize for initial condition |
|
3896 heuristics. |
|
3897 |
|
3898 * dim-vector.h (class dim_vector): Now reference counted. |
|
3899 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
3900 |
4544
|
3901 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3902 |
4545
|
3903 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
3904 |
4544
|
3905 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
3906 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
3907 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
3908 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
3909 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
3910 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
3911 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
3912 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
3913 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
3914 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
3915 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
3916 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
3917 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
3918 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
3919 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
3920 files are now automatically generated. |
|
3921 |
|
3922 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
3923 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
3924 Add rules to generate these files and mx-ops.h. |
|
3925 (stamp-prereq): Depend on these files. |
|
3926 |
|
3927 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
3928 * Makefile.in (DISTFILES): Add them to the list. |
|
3929 |
4543
|
3930 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3931 |
|
3932 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
3933 NDArray::NDArray (const charNDArray)): New constructors. |
|
3934 (NDArray::operator !): New function. |
|
3935 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3936 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3937 |
|
3938 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3939 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3940 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
3941 New constructors. |
|
3942 (ComplexNDArray::operator !): New function. |
|
3943 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3944 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3945 |
|
3946 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
3947 |
|
3948 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
3949 Provide NDND_CMP_OPS. |
|
3950 |
|
3951 * MArrayN.cc (operator +=, operator -=): New functions. |
|
3952 Provide product and quotient functions. |
|
3953 |
|
3954 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
3955 dim_vector&)): New function. |
|
3956 |
|
3957 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
3958 operator ==, operator !=): New functions. |
|
3959 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
3960 |
|
3961 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
3962 No need to save old dimensions. |
|
3963 |
|
3964 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
3965 (octave_rand::nd_array): New function. |
|
3966 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
3967 |
|
3968 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
3969 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
3970 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
3971 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
3972 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
3973 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
3974 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
3975 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
3976 NDND_OP_DECLS): New macros. |
|
3977 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
3978 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
3979 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
3980 |
|
3981 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
3982 boolNDArray, class charNDArray): New forward decls. |
|
3983 |
4534
|
3984 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3985 |
|
3986 * Array.cc (assign2): No error (but don't do anything either) for |
|
3987 expressions like x([],j) = scalar. |
|
3988 |
4532
|
3989 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3990 |
4533
|
3991 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
3992 |
4532
|
3993 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
3994 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
3995 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
3996 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
3997 |
|
3998 * dim-vector.h (rows, cols): Delete unused data members. |
|
3999 |
|
4000 * Array.cc (Array<T>::get_size): Fix thinko. |
|
4001 |
|
4002 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4003 |
|
4004 * Array.cc (Array<T>::squeeze): New function. |
|
4005 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
4006 * dNDArray.h (NDArray::squeeze): Likewise. |
|
4007 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
4008 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
4009 |
4530
|
4010 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
4011 |
|
4012 * Array.cc (ArrayN<T>::indexN): New definition. |
|
4013 * Array.h (Array<T>::indexN): Provide decl. |
|
4014 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
4015 Call indexN if more than 2 indices. |
|
4016 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
4017 Make it (mostly) work. |
|
4018 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
4019 New functions. |
|
4020 |
4527
|
4021 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4022 |
|
4023 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
4024 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
4025 versions with eof arg. |
|
4026 |
4518
|
4027 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4028 |
|
4029 * Array.h (dimensions): Now public. |
|
4030 template <class LT, class RT> |
|
4031 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
4032 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
4033 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
4034 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
4035 resize_no_fill (int), |
|
4036 resize_no_fill (int, int), |
|
4037 resize_no_fill (int, int, int), |
|
4038 resize_no_fill (const dim_vector&), |
|
4039 resize_and_fill (int, const T&), |
|
4040 resize_and_fill (int, int, const T&), |
|
4041 resize_and_fill (int, int, int, const T&), |
|
4042 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
4043 |
|
4044 * Array.cc: Include <climits>. |
|
4045 |
4513
|
4046 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4047 |
4517
|
4048 * Array.cc: Merge Array-idx.h. |
|
4049 * Array-idx.h: Delete. |
|
4050 |
4514
|
4051 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
4052 |
4513
|
4053 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
4054 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
4055 just special cases of the general purpose N-d Array object). |
|
4056 |
|
4057 * dim-vector.h: New file. Use dim_vector objects instead of |
|
4058 ints or Array<int> objects to represent the size of Array |
|
4059 objects. |
|
4060 |
|
4061 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
4062 |
|
4063 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
4064 |
|
4065 * mx-base.h: Include NDArray header files. |
|
4066 |
|
4067 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
4068 |
|
4069 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
4070 Array-s.cc: Also instantiate ArrayN objects. |
|
4071 Don't instantiate assign funcitons for Array2 objects. |
|
4072 |
|
4073 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
4074 liboctave_error_handler, not cerr. |
|
4075 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
4076 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
4077 * dMatrix.cc (Matrix::diag): Likewise. |
|
4078 |
|
4079 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
4080 Omit checks for HEAVYWEIGHT_INDEXING. |
|
4081 |
|
4082 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4083 |
|
4084 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
4085 |
|
4086 * CNDARray.h, CNDArray.cc: New files. |
|
4087 * Makefile.in: Add them to the appropriate lists. |
|
4088 |
|
4089 * dNDArray.h: Rename from NDArray.h. |
|
4090 * dNDArray.cc: Rename from NDArray.cc. |
|
4091 * Makefile.in: Rename them here too. |
|
4092 |
4507
|
4093 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
4094 |
|
4095 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
4096 |
|
4097 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
4098 * Makefile.in: Add them to the appropriate lists. |
|
4099 |
5095
|
4100 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
4101 |
|
4102 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
4103 biry): Always request scaled results from AMOS functions and |
|
4104 perform reverse scaling on results if scaled result not requested |
|
4105 by user. |
|
4106 |
|
4107 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4108 |
|
4109 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4110 |
4505
|
4111 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4112 |
|
4113 * Array-d.cc: Instantiate assign functions. |
|
4114 |
4504
|
4115 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
4116 |
|
4117 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
4118 (get_elt_idx): Index ra_idx correctly. |
|
4119 |
|
4120 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
4121 bounds if it is exactly on the bound. |
|
4122 |
|
4123 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
4124 * ArrayN.h: Provide decl. |
|
4125 |
|
4126 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
4127 |
|
4128 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
4129 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
4130 (idx_vector::orig_dimensions): New function. |
|
4131 |
4497
|
4132 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4133 |
|
4134 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4135 |
4496
|
4136 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
4137 |
|
4138 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
4139 (is_in, how_many_lgt, all_ones): New functions. |
|
4140 |
4493
|
4141 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4142 |
|
4143 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
4144 |
|
4145 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
4146 |
|
4147 * ArrayN-inline.h: New file. |
|
4148 (index_in_bounds, increment_index): Move here. |
|
4149 * ArrayN.cc: From here. |
|
4150 |
|
4151 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
4152 * ArrayN-idx.h (assign): New function. |
|
4153 |
4490
|
4154 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4155 |
|
4156 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
4157 Also zero imaginary part of result if real part of input value is |
|
4158 zero. |
|
4159 |
4478
|
4160 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4161 |
|
4162 * mx-base.h: Include ArrayN.h. |
|
4163 |
4476
|
4164 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4165 |
|
4166 * ArrayN.cc (operator <<): Corrected output. |
|
4167 |
4474
|
4168 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4169 |
|
4170 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
4171 |
5095
|
4172 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
4173 |
|
4174 * ArrayN.cc (operator <<): Improve output readability. |
|
4175 |
4493
|
4176 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
4177 |
|
4178 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
4179 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
4180 Initialize old_len before changing size. |
|
4181 |
4472
|
4182 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4183 |
|
4184 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
4185 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
4186 |
4469
|
4187 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4188 |
|
4189 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
4190 way. Handle NA in an R-compatible way. |
|
4191 |
|
4192 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
4193 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
4194 |
|
4195 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
4196 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
4197 |
|
4198 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
4199 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
4200 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
4201 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
4202 |
4461
|
4203 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4204 |
|
4205 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
4206 Pass true for resize_ok arg to freeze. |
|
4207 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
4208 Likewise. |
|
4209 |
|
4210 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
4211 resize_ok arg is now bool. |
|
4212 * idx-vector.h (idx_vector::freeze): Likewise. |
|
4213 |
|
4214 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
4215 Rename from liboctave_rre_flag. Now bool. |
|
4216 (liboctave_wfi_flag): Now bool. |
|
4217 |
|
4218 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
4219 |
5095
|
4220 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
4221 |
|
4222 * Array.h (resize_fill_value): Now a top-level template function. |
|
4223 Accept object as argument. Change all uses. |
|
4224 |
4455
|
4225 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4226 |
|
4227 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
4228 |
|
4229 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
4230 liboctave_dfi_flag. |
|
4231 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
4232 X undefined or empty, always create a row vector. |
|
4233 |
|
4234 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
4235 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
4236 |
4437
|
4237 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4238 |
|
4239 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4240 Magic colon indexing always produces an object with one column. |
|
4241 |
5095
|
4242 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
4243 |
|
4244 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
4245 |
|
4246 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
4247 |
4431
|
4248 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4249 |
|
4250 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
4251 neg_zero is true, also return true for negative zero. |
|
4252 |
4429
|
4253 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4254 |
|
4255 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
4256 Handle step limit. |
|
4257 * DASSL-opts.in: New option for step limit. |
|
4258 |
5095
|
4259 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
4260 |
|
4261 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
4262 |
4428
|
4263 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4264 |
|
4265 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
4266 Store step limit in iwork(20), not iwork(18). |
|
4267 |
5095
|
4268 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
4269 |
|
4270 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
4271 |
4412
|
4272 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4273 |
4413
|
4274 * Makefile.in: Handle DESTDIR. |
|
4275 |
4412
|
4276 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
4277 (kpse_path_iterator::set_end): Don't miss last element when not |
|
4278 followed by a colon. |
|
4279 |
4409
|
4280 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4281 |
|
4282 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
4283 |
|
4284 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4285 |
|
4286 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
4287 (find_first_of): Also do an absolute search on each |
|
4288 name before looking in the path. |
|
4289 |
4407
|
4290 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4291 |
|
4292 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
4293 directory separator. |
|
4294 |
4399
|
4295 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4296 |
|
4297 * pathsearch.cc: Include kpse.cc here. |
|
4298 |
|
4299 * kpse.cc: All functions are now static. Massive surgery to |
|
4300 condense kpathsearch library to a single file of just the |
|
4301 essentials for Octave and convert to using C++ strings (no more |
|
4302 calls to malloc, very few calls to new, so there should be much |
|
4303 less potential for introducing memory leaks now). |
|
4304 |
|
4305 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
4306 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
4307 |
|
4308 * kpse.h, kpse-config.h: Delete. |
|
4309 * Makefile.in (INCLUDES): Delete them from the list. |
|
4310 |
4392
|
4311 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4312 |
|
4313 * str-vec.cc (string_vector::append (const std::string&), |
|
4314 string_vector::append (const string_vector&)): New methods. |
|
4315 |
4386
|
4316 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4317 |
4389
|
4318 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
4319 |
4387
|
4320 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
4321 |
4386
|
4322 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
4323 (READABLE): Now a static function to avoid warnings from MinGW |
|
4324 compiler. |
|
4325 |
4384
|
4326 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4327 |
4385
|
4328 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
4329 static. Include most of kpse-xfns.h directly, removing |
|
4330 unnecessary bits. |
|
4331 |
4384
|
4332 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
4333 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
4334 |
4378
|
4335 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4336 |
|
4337 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
4338 * Makefile.in: Add them to the appropriates lists. |
|
4339 |
|
4340 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
4341 |
|
4342 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
4343 for new locations of kpathsea objects. |
|
4344 Delete kpathsea targets. |
|
4345 |
|
4346 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
4347 |
|
4348 * kpse.cc: New file. |
|
4349 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
4350 |
|
4351 * kpse.c: New file. |
|
4352 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
4353 |
|
4354 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
4355 * Makefile.in (INCLUDES): Add them to the list. |
|
4356 |
|
4357 * oct-kpse.h: Delete. |
|
4358 * Makefile.in (INCLUDES): Delete it from the list. |
|
4359 |
4374
|
4360 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4361 |
|
4362 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
4363 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
4364 Likewise. |
|
4365 From Quentin H. Spencer <qspencer@ieee.org>. |
|
4366 |
4365
|
4367 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4368 |
|
4369 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
4370 |
4349
|
4371 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4372 |
4352
|
4373 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
4374 without placement delete. |
|
4375 |
4349
|
4376 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
4377 imaginary parts. |
|
4378 |
|
4379 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
4380 |
5095
|
4381 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
4382 |
|
4383 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
4384 Use Lapack instead of Linpack. |
5315
|
4385 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
4386 ComplexMatrix::solve): Likewise. |
|
4387 |
|
4388 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
4389 calc_cond. If 0, skip condition number calculation. |
|
4390 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
4391 Likewise. |
|
4392 |
|
4393 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
4394 * dbleLU.cc (LU::LU): Likewise. |
|
4395 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
4396 |
|
4397 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4398 |
|
4399 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
4400 |
4323
|
4401 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4402 |
|
4403 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
4404 Additional compatibility fix. |
|
4405 |
|
4406 2003-02-13 Arno Klaassen <arno@scito.com> |
|
4407 |
|
4408 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4409 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
4410 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
4411 |
4322
|
4412 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4413 |
|
4414 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4415 Compatibility fix. |
|
4416 |
4316
|
4417 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4418 |
|
4419 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
4420 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
4421 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
4422 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
4423 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
4424 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
4425 |
|
4426 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
4427 with make_unique and xelem. |
|
4428 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
4429 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
4430 ComplexMatrix::extract, ComplexMatrix::row, |
|
4431 ComplexMatrix::column): Likewise. |
|
4432 * dColVector.cc (ColumnVector::insert): Likewise. |
|
4433 * dRowVector.cc (RowVector::insert): Likewise. |
|
4434 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
4435 Matrix::row, Matrix::column): Likewise. |
|
4436 |
4313
|
4437 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4438 |
|
4439 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
4440 |
4309
|
4441 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4442 |
|
4443 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
4444 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
4445 * CMatrix.h, dMatrix.h: Provide decls. |
|
4446 |
4307
|
4447 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4448 |
|
4449 * oct-rand.h, oct-rand.cc: New files. |
|
4450 * Makefile.in: Add them to the appropriate lists. |
|
4451 |
4306
|
4452 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4453 |
|
4454 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
4455 |
4299
|
4456 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
4457 |
|
4458 * oct-syscalls.cc: Include signal.h. |
|
4459 |
4294
|
4460 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4461 |
|
4462 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
4463 * oct-syscalls.h: Provide decl. |
|
4464 |
|
4465 |
4293
|
4466 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4467 |
|
4468 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
4469 there is nothing to read. |
|
4470 |
4290
|
4471 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4472 |
|
4473 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
4474 |
4286
|
4475 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4476 |
4288
|
4477 * getopt.h: Update to version from kpathsearch, so we will install |
|
4478 the version that we are using. |
|
4479 |
|
4480 * getopt.c, getopt1.c: Delete. |
|
4481 (INCLUDES): Delete them from the list. We'll get these files from |
|
4482 kpathsearch. |
|
4483 |
4286
|
4484 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
4485 ../kpathsea/STATIC/*.o. |
|
4486 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
4487 |
4270
|
4488 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4489 |
4282
|
4490 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
4491 unreachable code. |
|
4492 |
4279
|
4493 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
4494 to correspond to placement new operator. |
|
4495 |
4278
|
4496 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
4497 (DET::value_will_underflow): Likewise. |
|
4498 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
4499 (ComplexDET::value_will_underflow): Likewise. |
|
4500 |
4276
|
4501 * Makefile.in (distclean): Also remove stamp-prereq. |
|
4502 |
4306
|
4503 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
4504 RHS and index are empty matrices, don't do anything. |
4270
|
4505 |
4242
|
4506 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4507 |
|
4508 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
4509 delete_c_names): New helper functions. |
|
4510 (dir_path::find_first_of): New function. |
|
4511 (dir_path::find_all_first_of): Likewise. |
|
4512 * pathsearch.h: Provide decls. |
|
4513 |
|
4514 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
4515 (octave_kpse_all_path_find_first_of): Likewise. |
|
4516 * oct-kpse.h: Provide decls. |
|
4517 |
4231
|
4518 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4519 |
|
4520 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
4521 * ODESSA-opts.in: Likewise. |
|
4522 |
|
4523 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
4524 * LSODE-opts.in: Likewise. |
|
4525 |
4229
|
4526 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4527 |
4230
|
4528 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
4529 in all constructors. |
|
4530 |
4229
|
4531 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
4532 (LINK_DEPS): Not here. |
|
4533 |
4219
|
4534 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4535 |
4220
|
4536 * str-vec.cc (string_vector::compare): New static member function. |
|
4537 * str-vec.h: Provide decl. |
|
4538 (string_vector::sort): Use it. |
|
4539 (str_vec_compare): Delete static function. |
|
4540 |
4219
|
4541 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
4542 a placement operator new. |
|
4543 |
4209
|
4544 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4545 |
4210
|
4546 * Matrix.h: Include mx-ops.h too. |
4209
|
4547 * mx-ops.h: New file. |
|
4548 |
4192
|
4549 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4550 |
|
4551 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
4552 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
4553 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
4554 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
4555 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4556 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4557 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
4558 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
4559 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
4560 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
4561 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
4562 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
4563 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
4564 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
4565 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
4566 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
4567 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
4568 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
4569 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
4570 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
4571 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
4572 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
4573 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
4574 |
4184
|
4575 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4576 |
|
4577 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
4578 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
4579 |
4180
|
4580 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4581 |
|
4582 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
4583 fortran code that should run fast enough that it is not worth all |
|
4584 the setup costs of F77_XFCN. |
|
4585 |
|
4586 * Quad.cc (user_function): Surround body of function with |
|
4587 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
4588 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
4589 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
4590 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
4591 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
4592 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
4593 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
4594 |
4164
|
4595 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4596 |
|
4597 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
4598 of ! defined (linux). |
|
4599 |
5095
|
4600 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
4601 |
|
4602 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
4603 (make_shlib): Instantiate octave_dyld_shlib. |
|
4604 |
4152
|
4605 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4606 |
4153
|
4607 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
4608 |
4152
|
4609 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
4610 |
|
4611 * Array.h: Include <cstddef> here. |
|
4612 |
4142
|
4613 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4614 |
4144
|
4615 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
4616 using them. Accept inequality contraint option of 0. Assign |
|
4617 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
4618 abs_tol and rel_tol. |
|
4619 |
4143
|
4620 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
4621 static function. |
|
4622 (command_editor::do_filename_completion_desired): New virtual function. |
|
4623 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
4624 * oct-rl-edit.h: Provide decl. |
|
4625 |
4142
|
4626 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
4627 avoid OS X linker bug. |
|
4628 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
4629 |
4139
|
4630 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4631 |
4141
|
4632 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
4633 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
4634 solvers. |
|
4635 * ODESSA.cc: Fix all callers. |
|
4636 |
4139
|
4637 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
4638 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
4639 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
4640 |
4136
|
4641 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4642 |
|
4643 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
4644 |
4132
|
4645 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4646 |
4133
|
4647 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
4648 (ddasrt_f): Combine loops. |
|
4649 |
4132
|
4650 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
4651 instead of empty vector if user termninates iteration. |
|
4652 |
4130
|
4653 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4654 |
|
4655 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
4656 octave_read_complex, octave_write_double, octave_write_complex): |
|
4657 New functions. |
|
4658 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
4659 Use octave_write_complex. |
|
4660 (operator >> (std::istream&, const ComplexMatrix&)): |
|
4661 Use octave_read_complex. |
|
4662 * dMatrix.cc (operator << (std::ostream&, double)): |
|
4663 Use octave_write_double. |
|
4664 (operator >> (std::istream&, double)): Use octave_read_double. |
|
4665 |
4126
|
4666 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4667 |
|
4668 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
4669 * oct-kpse.h: Delete decl. |
|
4670 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
4671 ::octave_kpse_clear_dir_cache. |
|
4672 |
4123
|
4673 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4674 |
4124
|
4675 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
4676 earlier than 3.0. |
|
4677 |
4123
|
4678 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
4679 (liboctave.$(SHLEXT)): Not here. |
|
4680 |
5095
|
4681 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
4682 |
|
4683 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
4684 |
4108
|
4685 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4686 |
|
4687 * Makefile.in (install-lib): Don't bother with versions for |
|
4688 $(SHLBIN) files. |
|
4689 |
5095
|
4690 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
4691 |
|
4692 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
4693 |
4102
|
4694 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4695 |
|
4696 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
4697 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
4698 New functions. |
|
4699 |
|
4700 * Makefile.in (install): No need to use cd to create links. |
|
4701 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
4702 |
5095
|
4703 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
4704 |
|
4705 * Makefile.in: Merge liboctave with liboct-readline and |
|
4706 liboct-pathsearch. |
|
4707 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
4708 (libraries): Depend on versioned library. |
|
4709 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
4710 build unversioned library, symbolic link adds version info. |
|
4711 (install, uninstall): Handle link and load forms of the library |
|
4712 separately. |
|
4713 |
4101
|
4714 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4715 |
|
4716 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
4717 __CYGWIN__. |
|
4718 |
|
4719 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
4720 file_ops::dir_sep_chars): New static functions to replace |
|
4721 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
4722 |
|
4723 * oct-env.cc (octave_env::do_set_program_name): |
|
4724 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
4725 (octave_env::do_base_pathname): Likewise. |
|
4726 (octave_env::do_make_absolute): Likewise. |
|
4727 |
|
4728 * oct-env.cc (octave_env::do_make_absolute): |
|
4729 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
4730 (octave_env::do_get_home_directory): Likewise. |
|
4731 |
|
4732 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
4733 that information here too. |
|
4734 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
4735 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
4736 |
|
4737 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
4738 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
4739 |
4097
|
4740 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4741 |
|
4742 * oct-env.h (octave_env::current_directory): Now mutable. |
|
4743 (octave_env:do_getcwd): Now const. |
|
4744 |
|
4745 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
4746 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
4747 OCTAVE_CURRENT_DIR_STR): New macros. |
|
4748 * oct-env.cc (is_dir_sep): Delete. |
|
4749 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
4750 (octave_env::do_set_program_name): Likewise. |
|
4751 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
4752 instead of checking for '/'. |
|
4753 (octave_env::pathname_backup): Likewise. |
|
4754 (octave_env::do_absolute_pathname): Likewise. |
|
4755 (octave_env::do_make_absolute): Likewise. |
|
4756 If dot_path is empty, use getcwd to set current_dir. |
|
4757 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
4758 instead of "/". |
|
4759 |
5095
|
4760 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4761 |
|
4762 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
4763 |
5095
|
4764 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4765 |
|
4766 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
4767 absolute path names under MinGW as well. |
|
4768 |
|
4769 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4770 |
|
4771 * oct-env.cc: Include <cctype> too. |
|
4772 |
4087
|
4773 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4774 |
|
4775 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
4776 filenames. |
|
4777 (octave_env::do_make_absolute): Check for absolute name with |
|
4778 do_absolute_path. |
4088
|
4779 (octave_env::do_chdir): Likewise. |
|
4780 (is_dir_sep): New function. |
4087
|
4781 |
5095
|
4782 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
4783 |
4086
|
4784 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
4785 systems. |
4085
|
4786 |
4083
|
4787 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4788 |
|
4789 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
4790 |
4080
|
4791 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4792 |
4081
|
4793 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
4794 |
4080
|
4795 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4796 |
5095
|
4797 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
4798 |
|
4799 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
4800 gr_gid too. |
|
4801 |
4072
|
4802 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4803 |
4074
|
4804 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
4805 lo_ieee_* functions. |
4072
|
4806 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
4807 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
4808 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
4809 * lo-cieee.c: New file. |
4074
|
4810 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
4811 * lo-ieee.h: Now all extern "C". |
4074
|
4812 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
4813 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
4814 |
4072
|
4815 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
4816 Now extern. |
|
4817 |
4066
|
4818 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4819 |
|
4820 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4821 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4822 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4823 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4824 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4825 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4826 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4827 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4828 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4829 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4830 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4831 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4832 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4833 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4834 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4835 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4836 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4837 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4838 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4839 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4840 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4841 oct-alloc.cc: |
|
4842 If __GNUG__, use pragma interface/implementation. Allow this to |
|
4843 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
4844 |
5095
|
4845 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
4846 |
4066
|
4847 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
4848 system readlink function is not available. |
|
4849 |
4065
|
4850 * lo-mappers.cc (xerf, xerfc): Delete. |
|
4851 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
4852 |
4064
|
4853 * lo-mappers.cc: Remove unused #define M_PI. |
|
4854 * lo-specfun.cc: Add #define M_PI if needed. |
|
4855 |
4062
|
4856 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4857 |
|
4858 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
4859 that geteuid doesn't exist. |
|
4860 |
|
4861 * LP.h: Rename LP class to octave_LP. |
|
4862 LPsolve.h: Change all uses. |
|
4863 |
|
4864 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
4865 incorrect token-pasting op. |
|
4866 |
|
4867 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
4868 define lstat. |
|
4869 |
4061
|
4870 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4871 |
|
4872 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4873 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4874 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4875 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4876 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4877 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4878 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4879 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4880 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4881 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4882 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4883 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4884 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4885 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4886 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4887 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4888 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4889 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4890 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4891 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4892 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4893 oct-alloc.cc: |
|
4894 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
4895 to decide whether to use the interface/implementation pragmas. |
|
4896 |
4058
|
4897 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4898 |
|
4899 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
4900 |
4055
|
4901 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
4902 |
|
4903 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
4904 qualified names. |
|
4905 |
4051
|
4906 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4907 |
4054
|
4908 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
4909 ArrayN.cc: Add typename where needed. |
4053
|
4910 |
4051
|
4911 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
4912 strstream classes directly. |
|
4913 * DASRT.cc: Likewise. |
|
4914 * DASSL.cc: Likewise. |
|
4915 * LSODE.cc: Likewise. |
|
4916 * ODESSA.cc: Likewise. |
|
4917 |
|
4918 * cmd-hist.cc: Don't include <strstream>. |
|
4919 * oct-shlib.cc: Likewise. |
|
4920 |
|
4921 * lo-sstream.h: New file. |
|
4922 |
4049
|
4923 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4924 |
|
4925 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
4926 New data members. |
|
4927 (LSODE::sanity_checked): Delete unused data member. |
|
4928 |
|
4929 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
4930 prel_tol, pinfo, piwork, prwork): New data members. |
|
4931 * DASSL.h (DASSL): Likewise. |
|
4932 |
|
4933 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
4934 |
|
4935 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
4936 initialization, changes in options, etc. |
|
4937 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
4938 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4939 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
4940 |
4047
|
4941 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4942 |
4049
|
4943 * DAEFunc.h (DAEFunc::reset): New data member. |
|
4944 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
4945 |
|
4946 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
4947 (base_diff_eqn::clear_stop_time): Likewise. |
|
4948 |
4047
|
4949 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
4950 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
4951 |
5095
|
4952 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
4953 |
|
4954 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
4955 * DASRT-opts.in, DASRT.h: Likewise. |
|
4956 * DASSL-opts.in, DASSL.h: Likewise. |
|
4957 * LSODE-opts.in, LSODE.h: Likewise. |
|
4958 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
4959 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
4960 |
4038
|
4961 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4962 |
4042
|
4963 * LSODE.cc (LSODE::error_message): Also return current T on |
|
4964 failures when that makes sense. |
4043
|
4965 * DASSL.cc (DASSL::error_message): Likewise. |
|
4966 * DASRT.cc (DASRT::error_message): Likewise. |
|
4967 * DASPK.cc (DASPK::error_message): Likewise. |
|
4968 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
4969 |
4038
|
4970 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
4971 $(LIBKPATHSEA) here. |
|
4972 |
4025
|
4973 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4974 |
|
4975 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
4976 (lo_ieee_is_NaN_or_NA): New function. |
|
4977 (octave_NA): New global value. |
|
4978 (octave_ieee_init): Initialize it. |
|
4979 * lo-mappers.cc (octave_is_NA): New function. |
|
4980 (octave_is_NaN_or_NA): New function. |
|
4981 (xisnan): Return false if NaN looks like a missing value. |
|
4982 (xisnan (const Complex&)): Use xisnan here. |
|
4983 |
4015
|
4984 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4985 |
4017
|
4986 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
4987 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
4988 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
4989 Default value for dim is -1, not 0. |
|
4990 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
4991 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
4992 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
4993 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
4994 |
4015
|
4995 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
4996 New macros. |
|
4997 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
4998 MX_BASE_REDUCTION_OP. |
|
4999 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
5000 |
4014
|
5001 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5002 |
4015
|
5003 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
5004 Return boolMatrix, not Matrix. |
|
5005 |
|
5006 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
5007 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
5008 (Matrix::all): Replace guts with MX_ALL_OP. |
|
5009 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
5010 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
5011 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
5012 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
5013 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
5014 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
5015 |
|
5016 * dMatrix.h (Matrix::any): New arg, dim. |
|
5017 (Matrix::all): Likewise. |
|
5018 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
5019 (ComplexMatrix::all): Likewise. |
|
5020 * boolMatrix.h (boolMatrix::any): Likewise. |
|
5021 (boolMatrix::all): Likewise. |
|
5022 * chMatrix.h (charMatrix::any): Likewise. |
|
5023 (charMatrix::all): Likewise. |
|
5024 |
4014
|
5025 * Makefile.in: Use $@-t instead of $@.t. |
|
5026 |
4004
|
5027 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5028 |
|
5029 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
5030 Use it in matrix versions to avoid spewing multiple errors. |
|
5031 Call xgammainc instead of dgamit. |
|
5032 |
3998
|
5033 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5034 |
|
5035 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
5036 Get rows and columns right in loop. |
|
5037 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
5038 |
|
5039 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5040 |
|
5041 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
5042 * DASRT.cc (DASRT::integrate): Likewise. |
|
5043 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
5044 |
|
5045 * Quad.cc: Don't pass tolerances in constructors. |
|
5046 |
|
5047 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
5048 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
5049 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
5050 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
5051 from corresponding .in files. |
|
5052 * LSODE.h, Quad.h: Replace options class definitions with included |
|
5053 file. |
|
5054 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
5055 create OPTS_INC files from OPTS_INC_SRC files. |
|
5056 (stamp-prereq): New target. |
|
5057 (libraries): Depend on stamp-prereq. |
|
5058 Include stamp-prereq along with $(MAKEDEPS). |
|
5059 |
3997
|
5060 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5061 |
|
5062 * base-de.h (base_diff_eqn::istate): New data member. |
|
5063 (base_diff_eqn::integration_state): New member function. |
|
5064 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
5065 data members and functions. |
|
5066 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
5067 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
5068 |
3990
|
5069 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5070 |
3995
|
5071 * base-de.h (base_diff_eqn::stop_time, |
|
5072 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
5073 base_diff_eqn::integration_error): New data members. |
|
5074 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
5075 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
5076 base_diff_eqn::error_message): New member functions. |
|
5077 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
5078 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
5079 members and functions. |
|
5080 |
3992
|
5081 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
5082 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
5083 (DASRT::integrate): Don't forget to set nn. |
3992
|
5084 |
3991
|
5085 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
5086 * DASSL.cc (ddassl_j): Make it work. |
|
5087 * DASPK.cc (ddaspk_j): Likewise. |
|
5088 |
3990
|
5089 * DAE.cc: Delete. |
|
5090 |
|
5091 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
5092 solving with root finding. |
|
5093 * Makefile.in: Add them to the appropriate lists. |
|
5094 |
|
5095 * base-dae.h: New file. |
|
5096 * Makefile.in (INCLUDES): Add it to the list. |
|
5097 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
5098 |
3984
|
5099 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5100 |
|
5101 * ODE.h: Move integrate and do_integrate method declarations and |
|
5102 definitions here. |
|
5103 * base-de.h: From here. |
|
5104 |
|
5105 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
5106 * Makefile.in: Add them to the appropriate lists. |
|
5107 (LIBOCTAVE_CXX_SOURCES): |
|
5108 |
3971
|
5109 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5110 |
|
5111 * NLEqn.cc (NLEqn::error_message): New function. |
|
5112 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
5113 |
3970
|
5114 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5115 |
|
5116 * lo-utils.cc (octave_fgetl): New function. |
|
5117 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
5118 |
3959
|
5119 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5120 |
|
5121 * LSODE.cc (LSODE::error_message): New function. |
|
5122 * LSODE.h: Provide decl. |
|
5123 (LSODE::integration_state): New function. |
|
5124 (LSODE::integration_ok): New function. |
|
5125 |
3952
|
5126 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5127 |
3955
|
5128 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
5129 (LSODE_options::set_integration_method, |
|
5130 LSODE_options::integration_method): New functions. |
3954
|
5131 |
3952
|
5132 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
5133 Change all uses. |
|
5134 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
5135 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
5136 New function. |
|
5137 |
|
5138 * Array.h (Array::fortran_vec): New const version. |
|
5139 |
3951
|
5140 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5141 |
|
5142 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
5143 (gnu_readline::history_search_forward): Likewise. |
|
5144 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
5145 to extern "C" functions to octave_rl_ad_defun. |
|
5146 |
5095
|
5147 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
5148 |
|
5149 * DASPK.cc (ddaspk_psol): Return value. |
|
5150 * oct-rl-edit.c: Use /* ... */ to comment. |
|
5151 |
3945
|
5152 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5153 |
|
5154 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5155 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5156 * LSODE.h (LSODE_options::init): Likewise. |
|
5157 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5158 |
|
5159 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
5160 sqrt(eps), not eps^2. |
|
5161 DASPK_options::set_absolute_tolerance): Likewise. |
|
5162 |
5095
|
5163 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
5164 |
|
5165 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
5166 object. |
|
5167 |
3933
|
5168 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5169 |
|
5170 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
5171 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
5172 (octave_rl_set_basic_word_break_characters, |
|
5173 octave_rl_set_completer_word_break_characters): New functions. |
|
5174 * oct-rl-edit.h: Provide decls. |
|
5175 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
5176 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
5177 (command_editor::set_basic_quote_characters, |
|
5178 command_editor::set_completion_append_character): New static functions. |
|
5179 * cmd-edit.h: Provide decls. |
|
5180 (command_editor::do_set_basic_word_break_characters, |
|
5181 command_editor::do_set_completer_word_break_characters): |
|
5182 New virtual functions. |
|
5183 |
|
5184 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
5185 (resize_fill_value): New static function. |
|
5186 |
|
5187 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
5188 resize_fill_value. |
|
5189 * Array2-idx.h (Array2<T>::index): Likewise. |
|
5190 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
5191 |
|
5192 * Array2.cc (Array<T>::print_info): New function. |
|
5193 * Array2.h: Provide decl. |
|
5194 |
|
5195 * Array.cc (Array<T>::print_info): New function. |
|
5196 * Array.h: Provide decl. |
|
5197 |
3928
|
5198 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5199 |
|
5200 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
5201 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
5202 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
5203 |
|
5204 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
5205 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
5206 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
5207 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
5208 |
5095
|
5209 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
5210 |
|
5211 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
5212 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
5213 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
5214 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
5215 |
3919
|
5216 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5217 |
|
5218 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5219 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5220 |
3912
|
5221 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5222 |
|
5223 * DASPK.h, DASPK.cc: New files. |
|
5224 * Makefile.in: Add them to the appropriate lists. |
|
5225 |
3904
|
5226 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5227 |
|
5228 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
5229 Simplify indexing when one or both of the indices are empty. |
|
5230 |
3896
|
5231 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5232 |
|
5233 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
5234 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5235 * LSODE.h (LSODE_options::init): Likewise. |
|
5236 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5237 |
5095
|
5238 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
5239 |
|
5240 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
5241 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
5242 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
5243 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
5244 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
5245 * file-stat.h: Likewise. |
|
5246 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
5247 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
5248 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
5249 * strftime.c: Likewise. |
|
5250 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
5251 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
5252 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
5253 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
5254 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
5255 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
5256 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
5257 |
5095
|
5258 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
5259 |
|
5260 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
5261 internally when the user requests it. |
|
5262 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
5263 * dbleQR.cc (QR::init): Ditto. |
|
5264 * dbleQRP.cc (QRP::init): Ditto. |
|
5265 |
3874
|
5266 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5267 |
|
5268 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
5269 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
5270 (octave_fftw::ifft2d): Likewise. |
|
5271 |
5095
|
5272 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
5273 |
|
5274 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
5275 |
3867
|
5276 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5277 |
|
5278 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
5279 (LS_DO_WRITE): Likewise. |
|
5280 |
3864
|
5281 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5282 |
|
5283 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
5284 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
5285 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
5286 |
|
5287 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
5288 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
5289 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
5290 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
5291 |
|
5292 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
5293 DIM == -1 now means no orientation for vector sums. |
|
5294 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
5295 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
5296 |
3858
|
5297 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5298 |
|
5299 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
5300 have zero elements. |
|
5301 |
3854
|
5302 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5303 |
3857
|
5304 * Makefile.in: Split out readline and pathsearch functionality |
|
5305 into separate liboct-readline and liboct-pathsearch libraries. |
|
5306 |
3854
|
5307 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
5308 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
5309 to do nothing for this call to rl_clear_screen. |
3854
|
5310 |
3849
|
5311 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5312 |
|
5313 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
5314 function. |
|
5315 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
5316 |
3838
|
5317 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5318 |
|
5319 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
5320 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
5321 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
5322 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
5323 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
5324 |
3836
|
5325 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5326 |
|
5327 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
5328 |
|
5329 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
5330 Array-b.cc: Instantiate three arg assign functions. |
|
5331 |
|
5332 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
5333 New arg, resize_fill_value. |
|
5334 * ArrayN.h: Provide declaration. |
|
5335 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
5336 three arg version. |
|
5337 |
|
5338 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
5339 New arg, resize_fill_value. |
|
5340 * Array3.h: Provide declaration. |
|
5341 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
5342 three arg version. |
|
5343 |
|
5344 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
5345 New arg, resize_fill_value. |
|
5346 * Array2.h: Provide declaration. |
|
5347 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
5348 three arg version. |
|
5349 |
|
5350 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
5351 New arg, resize_fill_value. |
|
5352 * Array.h: Provide declaration. |
|
5353 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
5354 three arg version. |
|
5355 |
3833
|
5356 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5357 |
|
5358 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
5359 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
5360 to the empty string. |
|
5361 |
3832
|
5362 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5363 |
|
5364 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
5365 Don't check for rep != a.rep. |
|
5366 |
3827
|
5367 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
5368 |
|
5369 * oct-fftw.h, oct-fftw.cc: New files. |
|
5370 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
5371 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
5372 ifourier2d}): Use fftw if available. |
|
5373 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
5374 Likewise. |
|
5375 |
3821
|
5376 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5377 |
|
5378 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
5379 (install-inc): Don't use mk-includedir-link. |
|
5380 |
3803
|
5381 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5382 |
|
5383 * lo-cutils.c (octave_gethostname): New function. |
|
5384 * lo-utils.h: Provide declaration. |
|
5385 * oct-env.cc (octave_env::do_get_host_name): |
|
5386 Call octave_gethostname, instead of gethostname. |
|
5387 |
|
5388 * lo-cutils.c (gethostname): Define here. |
|
5389 * lo-sysdep.cc: Not here. |
|
5390 |
3786
|
5391 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5392 |
|
5393 * lo-cutils.c: Don't declare strptime. |
|
5394 (oct_strptime): Cast return type of strptime to char*. |
|
5395 |
3777
|
5396 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5397 |
3779
|
5398 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
5399 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
5400 (octave_rl_read_init_file): Ditto. |
|
5401 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
5402 free_undo_list. |
|
5403 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
5404 completion_matches. |
|
5405 (octave_rl_enable_paren_matching): New function. |
|
5406 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
5407 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
5408 |
3777
|
5409 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
5410 tanh (const Complex&)): Declare and define if not |
|
5411 CXX_ISO_COMPLIANT_LIBRARY. |
|
5412 |
3776
|
5413 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5414 |
|
5415 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
5416 CXX_ISO_COMPLIANT_LIBRARY. |
|
5417 |
3775
|
5418 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
5419 |
3776
|
5420 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
5421 CXX_ISO_COMPLIANT_LIBRARY. |
|
5422 |
3775
|
5423 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
5424 archive libraries containing templates. |
|
5425 |
|
5426 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
5427 get_zero_len_size, all_colon_equiv): Inline. |
|
5428 (ArrayN<T>::index): Rename idx to arr_idx. |
|
5429 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
5430 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
5431 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
5432 |
|
5433 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5434 |
|
5435 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
5436 log10 (const Complex&)): Delete. |
|
5437 |
|
5438 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
5439 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
5440 sinh, sqrt, tan, and tanh. |
|
5441 |
3769
|
5442 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5443 |
|
5444 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
5445 Add std:: namespace qualifier as needed. |
|
5446 |
|
5447 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
5448 Change all uses to match. |
|
5449 |
3767
|
5450 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5451 |
|
5452 * lo-cutils.c: Don't delcare strptime. |
|
5453 |
3760
|
5454 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5455 |
|
5456 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
5457 Return correct size result for empty matrix case. |
|
5458 |
3757
|
5459 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5460 |
|
5461 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
5462 If args are equal in magnitude, return first arg instead of |
|
5463 second. |
|
5464 |
3752
|
5465 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5466 |
3755
|
5467 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
5468 then try harder to compute correct number of elements. |
3753
|
5469 |
3752
|
5470 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
5471 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
5472 |
3750
|
5473 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5474 |
3751
|
5475 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
5476 Rename n_intervals to be n_elt. |
|
5477 |
3750
|
5478 * strptime.c: Surround everything after including config.h in |
|
5479 #ifndef HAVE_STRPTIME ... #endif. |
|
5480 |
3742
|
5481 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5482 |
|
5483 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
5484 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
5485 |
3741
|
5486 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5487 |
|
5488 * MArray-defs.h: Protect against multiple inclusion. |
|
5489 |
3739
|
5490 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5491 |
|
5492 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
5493 end of the list, to be compatible with previous versions of Octave. |
|
5494 |
3736
|
5495 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5496 |
|
5497 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
5498 since mktime is supposed to `normalize' the results for us. |
|
5499 |
3731
|
5500 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5501 |
|
5502 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
5503 and vectors. Use xelem for faster access to elements when copying. |
3731
|
5504 |
3726
|
5505 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5506 |
|
5507 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
5508 Correct indexing for operation across rows. |
|
5509 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
5510 |
3725
|
5511 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5512 |
|
5513 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
5514 elements if arg is a colon. |
|
5515 |
5095
|
5516 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
5517 |
3795
|
5518 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
5519 (Matrix::cumsum (int) const): Likewise. |
|
5520 (Matrix::prod (int) const): Likewise. |
|
5521 (Matrix::sum (int) const): Likewise. |
|
5522 (Matrix::sumsq (int) const): Likewise. |
|
5523 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
5524 (ComplexMatrix::cumsum (int) const): Likewise. |
|
5525 (ComplexMatrix::prod (int) const): Likewise. |
|
5526 (ComplexMatrix::sum (int) const): Likewise. |
|
5527 (ComplexMatrix::sumsq (int) const): Likewise. |
|
5528 |
3722
|
5529 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5530 |
|
5531 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
5532 size if Array<T>::index returns an empty array. |
|
5533 |
3710
|
5534 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5535 |
|
5536 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
5537 file_ops::readlink): New functions. |
|
5538 |
3709
|
5539 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5540 |
|
5541 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
5542 indexed, always return an object the same size as the index arg. |
|
5543 |
|
5544 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
5545 empty format. |
|
5546 |
3706
|
5547 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5548 |
|
5549 * lo-cutils.c (oct_strptime): New function. |
|
5550 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
5551 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
5552 |
3702
|
5553 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5554 |
3703
|
5555 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
5556 |
3702
|
5557 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
5558 |
3689
|
5559 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5560 |
|
5561 * dMatrix.h (read_int): Provide declaration. |
|
5562 |
3688
|
5563 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
5564 |
|
5565 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
5566 (write_doubles): Ditto. |
|
5567 * data-conv.h: Ditto. |
|
5568 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
5569 |
3685
|
5570 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5571 |
|
5572 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
5573 * boolMatrix.cc: Define them here. |
|
5574 |
3680
|
5575 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5576 |
|
5577 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
5578 previously undefined and set size of x to size of bool index. |
|
5579 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
5580 Allow z_len to be zero. |
|
5581 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
5582 If frozen, don't assert that frozen_at_z_len == z_len. |
|
5583 |
3670
|
5584 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5585 |
|
5586 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
5587 instead of rl_clear_screen. |
|
5588 |
3665
|
5589 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5590 |
|
5591 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
5592 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
5593 * Makefile.in: Add them to the appropriate lists. |
|
5594 |
3657
|
5595 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5596 |
|
5597 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
5598 |
3635
|
5599 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5600 |
|
5601 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
5602 |
3615
|
5603 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5604 |
|
5605 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
5606 before rebuilding. |
|
5607 |
5095
|
5608 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
5609 |
5261
|
5610 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
5611 (libraries): Depend only on library targets, not archive members. |
|
5612 |
3613
|
5613 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5614 |
|
5615 * Makefile.in: (objects): New target. |
|
5616 |
|
5617 * lo-cutils.c: New file. |
|
5618 * Makefile.in (SOURCES): Add it to the list. |
|
5619 * lo-utils.h: Declare octave_qsort here. |
|
5620 * Array.h (Array::qsort): Use it here. |
|
5621 |
3607
|
5622 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5623 |
|
5624 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
5625 |
3598
|
5626 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5627 |
|
5628 * oct-rl-hist.c (octave_history_list): Do something when not |
|
5629 printing line numbers. Fix reallocation of retval. |
|
5630 |
3597
|
5631 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5632 |
|
5633 * Makefile.in (install-inc): Install files in |
|
5634 $(octincludedir)/octave. |
|
5635 (uninstall): Remove them from the correct directory too. |
|
5636 |
|
5637 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
5638 they are not already defined. |
|
5639 |
3588
|
5640 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5641 |
|
5642 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
5643 Delete declarations and definitions of mixed-type vector-vector ops. |
|
5644 |
3585
|
5645 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5646 |
|
5647 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
5648 matrix and vector objects. |
|
5649 |
|
5650 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
5651 return type from second arg type. |
|
5652 (MDM_BIN_OP): Likewise, for first arg type. |
|
5653 |
|
5654 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
5655 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
5656 |
|
5657 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
5658 request ColumnVector to ComplexColumnVector, and Matrix to |
|
5659 ComplexMatrix conversions. |
|
5660 |
|
5661 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
5662 initial value using ComplexMatrix constructor. |
|
5663 |
|
5664 * CColVector.cc (product, quotient, |
|
5665 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
5666 Fix type of returned value. |
|
5667 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
5668 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
5669 |
|
5670 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
5671 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
5672 dRowVector.h: Declare some constructors explicit, to disallow |
|
5673 potentially problematic automatic type conversions. |
|
5674 |
3580
|
5675 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5676 |
3582
|
5677 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
5678 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
5679 More new files. |
|
5680 * Makefile.in: Add them to the appropriate lists. |
|
5681 |
|
5682 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
5683 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
5684 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
5685 vx-s-crv.cc:, New files. |
|
5686 * Makefile.in: Add them to the appropriate lists. |
|
5687 |
|
5688 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
5689 Delete scalar by vector and vector by scalar binary ops. |
|
5690 |
3580
|
5691 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
5692 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
5693 |
3573
|
5694 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5695 |
3578
|
5696 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
5697 rl_event_hook before casting to void **. |
|
5698 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
5699 |
3574
|
5700 * MArray-defs.h: Many new macros to make declaration and |
|
5701 definition of operators more consistent. |
|
5702 |
|
5703 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
5704 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
5705 |
3569
|
5706 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5707 |
3572
|
5708 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
5709 (Matrix::ifourier2d): Likewise. |
|
5710 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
5711 (ComplexMatrix::ifourier2d): Likewise. |
|
5712 |
3569
|
5713 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
5714 |
3504
|
5715 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5716 |
3519
|
5717 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
5718 readline library. |
|
5719 * Makefile.in: Add them to the appropriate lists. |
|
5720 |
|
5721 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
5722 readline history library. |
|
5723 * Makefile.in: Add them to the appropriate lists. |
|
5724 |
3517
|
5725 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
5726 (LS_DO_READ): Likewise, for istream::read. |
3518
|
5727 (write_doubles): Likewise. |
|
5728 (read_doubles): Likewise. |
3517
|
5729 |
3516
|
5730 * oct-env.cc (octave_env::do_polite_directory_format): |
|
5731 Use operator== and substr method to do limited-length string |
|
5732 comparison. |
|
5733 |
3513
|
5734 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
5735 |
3511
|
5736 * Quad.h: Use do_integrate as name of pure virtual function. |
|
5737 |
3508
|
5738 * base-de.h: Use tt instead of t as arg names. |
3511
|
5739 Add method with tcrit arg. |
|
5740 |
3509
|
5741 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
5742 |
3507
|
5743 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
5744 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
5745 * Quad.cc (quad_fcn_ptr): Ditto. |
|
5746 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
5747 |
3505
|
5748 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
5749 * Makefile.in: Add them to the appropriate lists. |
3505
|
5750 |
|
5751 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
5752 * Makefile.in: Add them to the appropriate lists. |
3505
|
5753 |
3504
|
5754 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
5755 |
|
5756 * CDiagMatrix.h: Delete decls for friend operators that are |
|
5757 handled by MDiagArray2 class. Move others outside class decl and |
|
5758 strip friend status. |
|
5759 * dDiagMatrix.h: Likewise. |
|
5760 |
|
5761 * MArray.h: Delete decls for friend operators inside class decl. |
|
5762 * MArray2.h: Ditto. |
|
5763 * MDiagArray2.h: Ditto. |
|
5764 |
|
5765 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
5766 necessary parameters. Don't allocate memory in the macro. Change |
|
5767 all uses. |
|
5768 |
|
5769 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
5770 * CMatrix.h (class ComplexMatrix): Ditto. |
|
5771 |
|
5772 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
5773 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
5774 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
5775 avoid type conflicts. Change all uses. |
|
5776 |
|
5777 * strptime.c (__mon_yday): Fix size of array decl. |
|
5778 |
|
5779 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
5780 |
|
5781 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
5782 default value for second arg. |
|
5783 |
|
5784 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
5785 references to ArrayRep. |
|
5786 |
3503
|
5787 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5788 |
3504
|
5789 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
5790 |
|
5791 * All source files: Include iostream, fstream, strstream, |
|
5792 etc. as needed instead of using forward declarations for these |
3504
|
5793 classes. Add std:: qualifier as needed. |
3503
|
5794 |
3498
|
5795 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5796 |
|
5797 * oct-time.cc: Declare strptime extern "C". |
|
5798 |
3496
|
5799 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5800 |
|
5801 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
5802 |
3488
|
5803 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5804 |
3492
|
5805 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
5806 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
5807 to get total size to be allocated. |
|
5808 |
3488
|
5809 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
5810 as bool, not int. |
|
5811 |
3482
|
5812 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5813 |
|
5814 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5815 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
5816 as A, even when do_fortran_indexing is not enabled. |
|
5817 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
5818 |
3473
|
5819 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5820 |
3480
|
5821 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
5822 function pointer as final arg. Passed function (if any) will be |
|
5823 called for singularity errors. |
|
5824 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
5825 |
|
5826 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
5827 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
5828 |
3475
|
5829 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
5830 No longer bother with infinity or quiet_nan. |
|
5831 |
3473
|
5832 * Array2.cc (Array2<T>::get_size): New function. |
|
5833 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
5834 |
3472
|
5835 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5836 |
|
5837 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
5838 New function. |
|
5839 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5840 Use it when indexing with one arg instead of faking a second one. |
|
5841 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
5842 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
5843 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
5844 rows or columns. |
|
5845 |
|
5846 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
5847 vector that is all true values with a length equal to n as colon |
|
5848 equivalent. |
|
5849 |
3470
|
5850 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5851 |
|
5852 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
5853 |
5095
|
5854 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
5855 |
|
5856 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
5857 operations directly in step 2 and reverse step 2. |
|
5858 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
5859 operations directly in step 2 and reverse step 2. |
|
5860 |
3465
|
5861 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5862 |
|
5863 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
5864 |
|
5865 * strptime.c: New file, from glibc 2.1.2. |
|
5866 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
5867 |
3419
|
5868 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5869 |
|
5870 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
5871 |
3415
|
5872 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5873 |
|
5874 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
5875 NULL directory list returned from kpse_element_dirs |
|
5876 |
3375
|
5877 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5878 |
|
5879 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
5880 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
5881 directly, instead of calling ZGESV. |
|
5882 |
3358
|
5883 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5884 |
|
5885 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
5886 (string_to_data_type): Use it to improve lookup of data types. |
|
5887 |
3354
|
5888 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5889 |
|
5890 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
5891 * Array2.h (is_symmetric): Delete declaration. |
|
5892 |
3347
|
5893 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5894 |
|
5895 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
5896 |
3344
|
5897 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5898 |
|
5899 * oct-time.cc (Fstrftime): Undo previous change. |
|
5900 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5901 |
3334
|
5902 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5903 |
3336
|
5904 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
5905 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
5906 |
3334
|
5907 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
5908 Don't forget to pass length of third string argument to dgeesx. |
|
5909 |
|
5910 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
5911 of third string argument to zgeesx. |
|
5912 |
3333
|
5913 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5914 |
|
5915 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
5916 On errors, simply return `T ()'. |
|
5917 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
5918 |
5095
|
5919 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
5920 |
|
5921 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
5922 AEPBALANCE class. |
|
5923 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
5924 |
3325
|
5925 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5926 |
|
5927 * oct-shlib.cc, oct-shlib.h: New files. |
|
5928 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5929 |
3322
|
5930 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5931 |
|
5932 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
5933 * dRowVector.cc (linspace): Ditto. |
|
5934 |
|
5935 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
5936 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5937 |
3312
|
5938 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5939 |
|
5940 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
5941 to evaluate the Jacobian, set info(4), not iwork(4). |
|
5942 Set rwork(1) to the maximum step size, not rwork(2). |
|
5943 |
3290
|
5944 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5945 |
|
5946 * oct-time.cc: Include <climits>. |
|
5947 |
3281
|
5948 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5949 |
|
5950 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
5951 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
5952 (gnu_readline::do_resize_terminal): New function. |
|
5953 |
3268
|
5954 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5955 |
|
5956 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
5957 * lo-ieee.c: Likewise. |
|
5958 Delete extern "C" declarations for infinity and quiet_nan. |
|
5959 |
3262
|
5960 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5961 |
3263
|
5962 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
5963 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
5964 `inline', not `static inline'. |
|
5965 |
3262
|
5966 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
5967 then cast to const int * to compare. |
|
5968 |
3257
|
5969 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5970 |
|
5971 * DAEFunc.h: Remove useless preprocessor conditional. |
|
5972 |
3255
|
5973 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5974 |
3257
|
5975 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
5976 Use octave_time object instead of time_t. |
|
5977 |
|
5978 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
5979 file_stat::fs_ctime): Now octave_time objects. |
|
5980 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
5981 Return octave_time objects. |
|
5982 (file_stat::is_newer): Args are now octave_time objects instead of |
|
5983 time_t. |
|
5984 |
3255
|
5985 * oct-time.h (octave_time::as_double): Delete. |
|
5986 (octave_time::operator double ()): New function. |
|
5987 (octave_time::operator time_t ()): New function. |
|
5988 (octave_time::ctime): New function. |
|
5989 (octave_base_tm::strftime): Renamed from format_as_string. |
|
5990 (octave_base_tm::asctime): New function. |
|
5991 (operator == (const octave_time&, const octave_time&), |
|
5992 operator != (const octave_time&, const octave_time&), |
|
5993 operator < (const octave_time&, const octave_time&), |
|
5994 operator <= (const octave_time&, const octave_time&), |
|
5995 operator > (const octave_time&, const octave_time&), |
|
5996 operator >= (const octave_time&, const octave_time&)): |
|
5997 New comparison functions. |
|
5998 |
|
5999 * strftime.c: Move here from src directory. |
|
6000 * Makefile.in (SOURCES): Add it to the list. |
|
6001 |
|
6002 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
6003 |
3253
|
6004 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6005 |
|
6006 * oct-time.h, oct-time.cc: New files. |
|
6007 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6008 |
|
6009 * systime.h: Move here from src directory. |
|
6010 * Makefile.in (INCLUDES): Add it to the list. |
|
6011 |
3248
|
6012 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6013 |
|
6014 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
6015 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
6016 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
6017 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
6018 |
|
6019 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
6020 |
3243
|
6021 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6022 |
|
6023 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
6024 |
|
6025 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6026 |
|
6027 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
6028 column vector for A(:), for compatibility with Matlab. |
|
6029 |
|
6030 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6031 |
|
6032 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
6033 iopt when there are optional inputs in rwork or iwork. |
|
6034 |
3238
|
6035 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6036 |
|
6037 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
6038 creating static libs. |
|
6039 |
5095
|
6040 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
6041 |
|
6042 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
6043 and uint32 data types. |
|
6044 |
|
6045 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6046 |
|
6047 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
6048 for Linux. Remove old Linux-specific code. |
|
6049 |
3233
|
6050 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6051 |
|
6052 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
6053 Don't require lengths to be equal. |
|
6054 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
6055 ComplexRowVector& a)): Likewise |
|
6056 |
5095
|
6057 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
6058 |
|
6059 * statdefs.h: Only define mode_t if not already defined. |
|
6060 |
5095
|
6061 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
6062 |
|
6063 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
6064 when appropriate. |
|
6065 |
|
6066 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6067 |
|
6068 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
6069 before calling rl_initialize. |
|
6070 |
3220
|
6071 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6072 |
|
6073 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
6074 Update Bessel function support to use library by D. E. Amos. |
|
6075 |
3219
|
6076 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6077 |
|
6078 * cmd-edit.h (command_editor::readline): Add new variation that |
|
6079 allows EOF information to be passed back to caller. |
|
6080 |
|
6081 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
6082 amount of data to read is unspecified. |
|
6083 |
3215
|
6084 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6085 |
3219
|
6086 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
6087 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
6088 |
3215
|
6089 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
6090 Add volatile qualifier to void* arg. |
|
6091 Cast volatile void* arg to volatile char*. |
|
6092 |
|
6093 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6094 |
|
6095 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
6096 (command_editor::do_restore_event_hook): Ditto. |
|
6097 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
6098 (command_editor::restore_event_hook): Ditto. |
|
6099 (gnu_readline::do_set_event_hook): Ditto. |
|
6100 (gnu_readline::do_restore_event_hook): Ditto. |
|
6101 (gnu_readline::previous_event_hook): New data member. |
|
6102 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
6103 |
3206
|
6104 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6105 |
|
6106 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
6107 |
|
6108 * Makefile.in (stmp-pic): New target. |
|
6109 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
6110 (clean): Remove stmp-pic |
|
6111 |
|
6112 * Makefile.in: Undo previous change to avoid optmization when |
|
6113 compiling lo-ieee.cc. |
|
6114 |
|
6115 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6116 |
|
6117 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
6118 imaginary parts. |
|
6119 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
6120 |
3203
|
6121 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6122 |
|
6123 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
6124 |
3196
|
6125 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6126 |
|
6127 * pathsearch.h (dir_path::default_path): New data member. |
|
6128 * pathsearch.cc (dir_path::init): Use it. |
|
6129 |
|
6130 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
6131 |
3189
|
6132 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6133 |
|
6134 * chMatrix.cc (charMatrix::extract): New function. |
|
6135 (charMatrix::charMatrix (char c)): New constructor. |
|
6136 |
|
6137 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6138 |
|
6139 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
6140 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
6141 (gnu_readline::do_read_init_file): Likewise. |
|
6142 |
3185
|
6143 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6144 |
|
6145 * oct-env.cc (octave_env::do_get_home_directory): |
|
6146 If HOME can't be found, set it to "/". |
|
6147 (octave_env::do_get_user_name) |
|
6148 If user name can't be found, set it to "unknown". |
|
6149 (octave_env::do_get_host_name) |
|
6150 If host name can't be found, set it to "unknown". |
|
6151 |
|
6152 * pathsearch.h (dir_path::rehash): New function. |
|
6153 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
6154 diretcory cache before doing initialization. |
|
6155 |
3180
|
6156 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6157 |
3185
|
6158 * dMatrix.cc (Qzval): Delete. |
|
6159 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
6160 * dMatrix.h (Qzval): Delete declaration. |
|
6161 |
|
6162 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
6163 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
6164 * mx-ext.h: Don't include dbleGEPBAL. |
|
6165 |
3180
|
6166 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
6167 static_cast. |
|
6168 |
|
6169 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6170 |
|
6171 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
6172 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
6173 |
|
6174 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6175 |
|
6176 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
6177 HUGE_VAL and NAN. |
|
6178 |
|
6179 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6180 |
|
6181 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
6182 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
6183 |
|
6184 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6185 |
|
6186 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
6187 Alloctate space before attempting to use it. |
|
6188 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
6189 |
5095
|
6190 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
6191 |
|
6192 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
6193 |
|
6194 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6195 |
|
6196 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
6197 have the same size as the operands. |
|
6198 |
|
6199 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6200 |
|
6201 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
6202 call to ddassl, set integration_error to 1 before calling the |
|
6203 error handler and returning. |
|
6204 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
6205 |
3177
|
6206 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6207 |
|
6208 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
6209 do_fortran_indexing is set, A([]) = scalar. |
|
6210 * Array-idx.h (assign): Allow A([]) = scalar. |
|
6211 |
3176
|
6212 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6213 |
|
6214 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
6215 if dm_nc == 0. |
|
6216 |
3174
|
6217 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6218 |
|
6219 * pathsearch.h (dir_path::p_orig): New field. |
|
6220 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
6221 expansion on the original path here. |
|
6222 (dir_path::find_all): Don't do anything if not initialized. |
|
6223 |
3164
|
6224 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6225 |
|
6226 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
6227 is not set. |
|
6228 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
6229 |
|
6230 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
6231 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
6232 \int_0^x exp(-t) t^(a-1) dt. |
|
6233 |
|
6234 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6235 |
|
6236 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
6237 Array-s.cc: Change return types of all `assign' explicit |
|
6238 instantiations to be int, not void, to match the template decl in |
|
6239 Array.h. |
|
6240 |
3162
|
6241 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6242 |
|
6243 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
6244 |
3156
|
6245 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6246 |
|
6247 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
6248 * lo-mappers.cc: Not here. |
|
6249 |
|
6250 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
6251 * lo-mappers.h: Not here. |
|
6252 |
|
6253 * lo-specfun.h: Never declare gamma or lgamma. |
|
6254 |
3154
|
6255 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6256 |
|
6257 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
6258 empty matrix of any dimension. |
|
6259 |
3145
|
6260 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6261 |
3147
|
6262 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
6263 |
3146
|
6264 * lo-specfun.cc: Don't include dbleBessel.h. |
|
6265 |
|
6266 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
6267 |
3145
|
6268 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
6269 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
6270 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
6271 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
6272 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
6273 |
|
6274 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
6275 Don't cast arg in call to swap_8_bytes. |
|
6276 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
6277 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
6278 swap_4_bytes. |
|
6279 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
6280 |
|
6281 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
6282 * prog-args.cc (prog_args::getopt): Likewise. |
|
6283 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
6284 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
6285 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
6286 Likewise. |
|
6287 |
|
6288 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
6289 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
6290 |
3141
|
6291 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6292 |
|
6293 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
6294 Use $(mk-libdir-link). |
|
6295 |
|
6296 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
6297 not SAFE_STAT and SAFE_LSTAT. |
|
6298 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
6299 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
6300 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
6301 safe-lstat.h, and safe-lstat.cc. |
|
6302 |
3136
|
6303 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6304 |
|
6305 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
6306 |
3130
|
6307 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6308 |
|
6309 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
6310 trace is negative. |
|
6311 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
6312 the real part of the trace is negative. |
|
6313 |
|
6314 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6315 |
|
6316 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
6317 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
6318 |
|
6319 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
6320 to succeed. |
|
6321 |
3125
|
6322 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6323 |
|
6324 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
6325 (make_uniq): Likewise. |
|
6326 |
|
6327 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6328 |
|
6329 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
6330 |
3119
|
6331 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6332 |
3121
|
6333 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
6334 |
|
6335 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
6336 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6337 |
3121
|
6338 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
6339 oct-math.h: Delete. |
|
6340 * Makefile.in (SOURCES): Delete them from the list. |
|
6341 |
3112
|
6342 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6343 |
|
6344 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
6345 |
5095
|
6346 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
6347 |
|
6348 Changes to make support egcs snapshots that implement explicit |
|
6349 specification of template functions according to CD2. |
|
6350 |
|
6351 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
6352 template function specs for template friends. |
|
6353 * MArray2.h: Likewise. |
|
6354 * MDiagArray2.h: Likewise. |
|
6355 |
3095
|
6356 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6357 |
|
6358 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
6359 |
3092
|
6360 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
6361 |
|
6362 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
6363 to complex<double>(int) instead of complex<double>(double). |
|
6364 |
|
6365 * lo-mappers.cc (atanh): Ditto. |
|
6366 |
3079
|
6367 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6368 |
|
6369 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
6370 * idx-vector.h (idx_vector::sort): Ditto. |
|
6371 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
6372 trying to delete elements specified by the index vectors. |
|
6373 |
3075
|
6374 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6375 |
|
6376 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
6377 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
6378 |
3074
|
6379 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6380 |
|
6381 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
6382 |
3069
|
6383 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6384 |
|
6385 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
6386 Call error handler if we can't find the current directory. |
|
6387 |
3068
|
6388 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6389 |
3069
|
6390 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
6391 (xfinite (double)): Ditto. |
|
6392 |
3068
|
6393 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
6394 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
6395 |
3056
|
6396 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6397 |
|
6398 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
6399 compatible with Matlab. |
|
6400 |
3050
|
6401 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6402 |
|
6403 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
6404 single colon. |
|
6405 |
3040
|
6406 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6407 |
3049
|
6408 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
6409 (xgamma): Likewise, for calling xdgamma. |
|
6410 |
3042
|
6411 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
6412 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
6413 |
3040
|
6414 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
6415 to do better job expanding tildes. |
|
6416 |
|
6417 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
6418 Use temporary variable to compute length. |
|
6419 |
3029
|
6420 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6421 |
3034
|
6422 * Makefile.in: Make building of static library optional. |
3036
|
6423 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
6424 |
3029
|
6425 * Makefile.in (stamp-picdir): Delete. |
|
6426 (pic): New target. Don't worry so much about creating pic |
|
6427 directory only when it is really needed. |
|
6428 (stamp-interp): Delete. |
|
6429 (libraries): New target. Depend on shared library directly. |
|
6430 |
3024
|
6431 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6432 |
|
6433 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
6434 New static function. |
|
6435 |
3012
|
6436 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6437 |
|
6438 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
6439 |
3004
|
6440 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6441 |
|
6442 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
6443 set_basic_quote_characters, to match new version of readline. |
|
6444 |
|
6445 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
6446 for restoring terminal state through rl_deprep_term_function, now |
|
6447 declared in readline.h |
|
6448 (rl_deprep_terminal): Delete declaration. |
|
6449 |
2993
|
6450 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6451 |
|
6452 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
6453 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
6454 |
2968
|
6455 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6456 |
|
6457 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
6458 New static function. |
|
6459 |
2964
|
6460 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6461 |
2966
|
6462 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
6463 the vector is not sorted. |
|
6464 |
2964
|
6465 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
6466 * dMatrix.cc (Matrix::operator !): Likewise |
|
6467 |
2941
|
6468 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6469 |
|
6470 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
6471 |
|
6472 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
6473 |
|
6474 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
6475 |
2938
|
6476 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6477 |
2941
|
6478 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
6479 (install-inc): Use it. |
|
6480 |
2938
|
6481 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
6482 Handle errors and missing functions consistently. |
|
6483 |
|
6484 * oct-group.h, oct-group.cc: New files. |
|
6485 |
|
6486 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
6487 |
|
6488 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
6489 |
2934
|
6490 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6491 |
|
6492 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
6493 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
6494 |
|
6495 * oct-passwd.h, oct-passwd.cc: New files. |
|
6496 |
2926
|
6497 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6498 |
|
6499 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
6500 |
|
6501 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
6502 (instance_ok ()): New function. |
|
6503 |
|
6504 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
6505 |
|
6506 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
6507 |
|
6508 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
6509 src/utils.h and src/utils.cc. |
|
6510 (octave_fgets): New function, extracted from src/input.cc. |
|
6511 |
|
6512 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
6513 GNU readline, and allow Octave to work without GNU readline. |
|
6514 |
|
6515 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
6516 system-dependent functions. |
|
6517 |
|
6518 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
6519 |
|
6520 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
6521 from file-ops.h and file-ops.cc and move here. |
|
6522 |
|
6523 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
6524 tilde_expand functions here from src/dirfns.cc. |
|
6525 |
|
6526 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6527 |
|
6528 * pathlen.h: New file, from ../src. |
|
6529 |
2917
|
6530 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6531 |
|
6532 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
6533 out-of-bounds indexing of the index array. |
|
6534 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
6535 |
2850
|
6536 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6537 |
|
6538 * LSODE.h (x_step_limit): New field. |
|
6539 (LSODE_options::init): Initialize it. |
|
6540 (LSODE_options::copy): Copy it. |
|
6541 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
6542 New functions. |
|
6543 (LSODE::working_too_hard): Delete. |
|
6544 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
6545 |
2844
|
6546 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6547 |
|
6548 * MArray-b.cc: Delete. |
|
6549 * Makefile.in: Delete it from the lists. |
|
6550 |
|
6551 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
6552 MArray2, since most of the numeric ops don't really make sense. |
|
6553 |
2829
|
6554 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6555 |
2832
|
6556 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
6557 |
|
6558 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
6559 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
6560 |
2830
|
6561 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
6562 idx_vector::freeze): Delete prefer_zero_one arg. |
|
6563 * Array-idx.h, Array2-idx.h: Change all callers. |
|
6564 |
|
6565 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
6566 |
2829
|
6567 * mx-op-defs.h: New file for operator definitions. |
|
6568 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
6569 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
6570 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
6571 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
6572 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
6573 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
6574 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
6575 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
6576 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
6577 mx-s-cm.cc, mx-s-dm.cc: |
|
6578 New files for mixed-type operations. |
|
6579 * Makefiles.in: Add them to the appropriate lists. |
|
6580 |
|
6581 * mx-inlines.cc: Add bool by bool EQ ops. |
|
6582 |
|
6583 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
6584 boolMatrix types. |
|
6585 (idx_vector::maybe_convert_one_zero_to_idx, |
|
6586 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
6587 Delete second arg, prefer_zero_one. Change all callers. |
|
6588 |
|
6589 * boolMatrix.h, boolMatrix.cc: New files. |
|
6590 * mx-base.h: Include boolMatrix.h here. |
|
6591 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
6592 |
|
6593 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
6594 |
|
6595 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
6596 operator-, operator*, product, and quotient functions. |
|
6597 Add constructor for boolMatrix type. |
|
6598 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
6599 product, and quotient functions. |
|
6600 |
|
6601 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
6602 operator-, and product functions. |
|
6603 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
6604 |
|
6605 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
6606 |
2815
|
6607 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6608 |
|
6609 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
6610 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
6611 (EIG::symmetric_init (const Matrix&)): New function. |
|
6612 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
6613 |
|
6614 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
6615 |
|
6616 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6617 |
|
6618 * Array2.cc (is_symmetric): New function. |
|
6619 * Array2.h (is_square): New function. |
|
6620 |
2811
|
6621 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6622 |
|
6623 * Makefile.in (install-strip): New target. |
|
6624 |
2804
|
6625 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6626 |
|
6627 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
6628 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
6629 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
6630 dbleSVD.cc: Don't include mx-inlines.cc. |
|
6631 |
|
6632 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
6633 duplicate code. |
|
6634 |
2800
|
6635 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6636 |
2804
|
6637 * dbleQR.h (QR): Delete extra comma at end of list. |
|
6638 |
|
6639 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
6640 |
|
6641 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
6642 |
|
6643 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
6644 idx_vecotr_rep:: qualifiers. |
|
6645 |
|
6646 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
6647 |
|
6648 * data-conv.h (save_type): Delete extra comma at end of list. |
|
6649 |
2800
|
6650 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
6651 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
6652 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
6653 old C-style `(T) val' casts. |
|
6654 |
2795
|
6655 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6656 |
|
6657 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
6658 just breaking out of the innermost loop. |
|
6659 * CMatrix.cc (operator >>): Likewise. |
|
6660 |
2779
|
6661 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
6662 |
|
6663 * Version 2.0.5 released. |
|
6664 |
2767
|
6665 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6666 |
|
6667 * CmplxQR.cc (ComplexQR::init): New function. |
|
6668 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
6669 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
6670 Get sizes right in all cases. |
|
6671 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
6672 |
|
6673 * dbleQR.cc (QR::init): New function. |
|
6674 (QR::QR): Use it. Use initializer list too. |
|
6675 * dbleQRP.cc (QRP::init): New function. |
|
6676 Get sizes right in all cases. |
|
6677 (QR::QRP): Use it. Use initializer list too. |
|
6678 |
2759
|
6679 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6680 |
|
6681 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
6682 Recognize "vaxg", not "vax_g". |
|
6683 |
2713
|
6684 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6685 |
2714
|
6686 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
6687 dimension in check for colon equivalent index. |
|
6688 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
6689 index whose value is 0 is also colon eqivalent for n == 1. |
|
6690 |
2713
|
6691 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
6692 system-specific tests first. |
|
6693 |
2709
|
6694 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
6695 |
|
6696 * Version 2.0.4 released. |
|
6697 |
|
6698 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6699 |
|
6700 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
6701 |
2693
|
6702 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
6703 |
|
6704 * Version 2.0.3 released. |
|
6705 |
2686
|
6706 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6707 |
|
6708 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
6709 |
2673
|
6710 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6711 |
2676
|
6712 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
6713 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
6714 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
6715 (stamp-picdir): Silence noise about making pic. |
|
6716 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
6717 |
2673
|
6718 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6719 Fix typo in last change. |
|
6720 |
|
6721 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
6722 Convert from friend (moved from dColVector.cc). |
|
6723 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
6724 Likewise (moved from dMatrix.cc). |
|
6725 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
6726 Likewise (moved from dRowVector.cc). |
|
6727 |
|
6728 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
6729 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
6730 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
6731 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
6732 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
6733 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
6734 |
|
6735 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
6736 * dMatrix.cc (Matrix::apply): Likewise. |
|
6737 * dRowVector.cc (RowVector::apply): Likewise. |
|
6738 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
6739 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
6740 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
6741 |
2668
|
6742 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6743 |
|
6744 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
6745 |
|
6746 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6747 |
|
6748 * file-ops.cc (oct_unlink (const string&, string&)): |
|
6749 New two-arg version. |
|
6750 (oct_rmdir (const string&, string&)): New two-arg version. |
|
6751 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
6752 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
6753 (oct_rename (const string&, const string&, string&)): |
|
6754 New three-arg version. |
|
6755 |
2663
|
6756 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6757 |
|
6758 * idx-vector.h (idx_vector::orig_empty): New function. |
|
6759 |
|
6760 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6761 Don't always resize to [](0x0) if one of the indices is empty or |
|
6762 zero. |
|
6763 |
2658
|
6764 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6765 |
|
6766 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
6767 Set line_in_file here too. |
|
6768 (command_history::read_range): New arg, must_exist. |
|
6769 |
2651
|
6770 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6771 |
|
6772 * f2c-main.c: Change C++-style comments to C-style comments. |
|
6773 |
2638
|
6774 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6775 |
|
6776 * Makefile.in (install-inc): Create a relative symbolic link. |
|
6777 |
2634
|
6778 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6779 |
|
6780 * Version 2.0.2 released. |
|
6781 |
2624
|
6782 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6783 |
|
6784 * Makefile.in (bin-dist): New target. |
|
6785 |
2621
|
6786 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6787 |
|
6788 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
6789 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
6790 |
2613
|
6791 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6792 |
|
6793 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6794 If the number of columns is zero, also set the number of rows to zero. |
|
6795 (charMatrix::charMatrix (const char *)): Likewise. |
|
6796 |
2602
|
6797 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6798 |
|
6799 * Version 2.0.1 released. |
|
6800 |
2601
|
6801 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6802 |
|
6803 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
6804 columns for resizing when the number of rows is specified but the |
|
6805 number of columns is not. |
|
6806 |
2598
|
6807 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6808 |
2599
|
6809 * Range.cc (operator -): New function. |
|
6810 |
2598
|
6811 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
6812 |
2589
|
6813 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6814 |
|
6815 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
6816 know if the assignment conforms. |
|
6817 |
2583
|
6818 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6819 |
|
6820 * Version 2.0 released. |
|
6821 |
2570
|
6822 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6823 |
2575
|
6824 * Array2-idx.h (assign): If index is a colon, set number of |
|
6825 elements to the lhs dimension if the lhs dimension is greater than |
|
6826 zero. Otherwise, set it to the rhs dimension. |
|
6827 |
|
6828 * Version 1.94. |
|
6829 |
2570
|
6830 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
6831 If index is colon, set number of elements to lhs dimension, not |
|
6832 rhs dimension. |
|
6833 |
2563
|
6834 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6835 |
2566
|
6836 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
6837 * sun-utils.cc: Delete. |
|
6838 * f2c-main.c: New file |
|
6839 |
|
6840 * Makefile.in: Fix file name lists. |
|
6841 |
2563
|
6842 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
6843 |
2561
|
6844 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6845 |
|
6846 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
6847 Create result using Complex constructor, not multiplication. |
|
6848 Order elements as they are returned from Eispack. |
|
6849 |
2559
|
6850 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6851 |
2560
|
6852 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
6853 Only include nan.h if SCO is defined. Define _IEEE before |
|
6854 including it and undefine it afterward. |
|
6855 [SCO] (isnan): Don't mistake Inf as NaN. |
|
6856 |
2559
|
6857 * Array-idx.h (assign): Only resize if assignment conforms. |
|
6858 |
2551
|
6859 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6860 |
|
6861 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
6862 * lo-error.h: Delete (moved to libcruft/misc). |
|
6863 |
|
6864 * Version 1.93. |
|
6865 |
2546
|
6866 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6867 |
2549
|
6868 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
6869 be the same as they are in fnmatch.h. |
|
6870 |
2546
|
6871 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
6872 |
|
6873 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
6874 (SOURCES): Delete f77-fcn.c. |
|
6875 |
2522
|
6876 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6877 |
|
6878 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
6879 |
2512
|
6880 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6881 |
|
6882 * Version 1.92. |
|
6883 |
2508
|
6884 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6885 |
2512
|
6886 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
6887 lines that have only carriage return or newline. |
|
6888 |
2508
|
6889 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
6890 |
2500
|
6891 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6892 |
|
6893 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
6894 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
6895 |
2493
|
6896 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6897 |
|
6898 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
6899 from vectors of C strings. |
|
6900 |
|
6901 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
6902 vector. |
|
6903 (glob_match::match): Allow match string to be a string vector. |
|
6904 (glob_match::glob): New function. |
|
6905 |
|
6906 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
6907 |
|
6908 * Array-b.cc: New file. |
|
6909 * Makefile.in (TI_SRC): Add it to the list. |
|
6910 |
2492
|
6911 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6912 |
|
6913 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
6914 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
6915 want the version from the build directory. (Maybe this should be |
|
6916 done for all the include files, not just those that are |
|
6917 auto-generated? Hmm.) |
|
6918 |
2481
|
6919 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6920 |
2482
|
6921 * Version 1.91. |
|
6922 |
2481
|
6923 * Array3.cc (Array3<T>::resize): Make it work. |
|
6924 |
|
6925 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6926 |
|
6927 * oct-alloc.h, oct-alloc.cc: New files. |
|
6928 * Makefile.in: Add them to the lists. |
|
6929 |
|
6930 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6931 |
|
6932 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
6933 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
6934 |
2466
|
6935 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6936 |
|
6937 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
6938 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
6939 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
6940 underlying macro is not defined. |
|
6941 |
|
6942 * oct-math.h (lgamma, gamma): Delete declarations. |
|
6943 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
6944 Protect declarations with #ifdef HAVE_*. |
|
6945 |
2440
|
6946 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6947 |
2452
|
6948 * Version 1.90. |
|
6949 |
|
6950 * Makefile.in (DISTFILES): Add ChangeLog. |
|
6951 |
2444
|
6952 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
6953 |
|
6954 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
6955 |
2443
|
6956 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
6957 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
6958 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
6959 |
2440
|
6960 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
6961 since that is now accepatble syntax, even for built-in types. |
|
6962 * Array2.h (T Array2<T>::checkelem): Likewise |
|
6963 |
2433
|
6964 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6965 |
|
6966 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
6967 message and return -1. |
|
6968 |
2428
|
6969 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6970 |
2431
|
6971 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
6972 cast them to const string * in the body of the function. |
|
6973 |
|
6974 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
6975 string from buf. |
|
6976 |
2428
|
6977 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
6978 GCC_ATTRIBUTE_UNUSED. |
|
6979 * Array2.h (Array2::checkelem): Likewise. |
|
6980 |
2424
|
6981 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6982 |
|
6983 * Quad.h (Quad): Define virtual destructor. |
|
6984 |
2408
|
6985 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6986 |
|
6987 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
6988 |
2401
|
6989 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6990 |
|
6991 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
6992 and MAIN__ extern "C". |
|
6993 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
6994 |
2391
|
6995 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6996 |
|
6997 * MArray-misc.cc: New file. |
|
6998 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
6999 |
|
7000 * mx-inlines.cc (equal): Return bool, not int. |
|
7001 |
|
7002 * idx-vector.h (idx_vector (double)): New constructor. |
|
7003 |
|
7004 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
7005 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
7006 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
7007 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
7008 CRowVector.cc: Logical operators return bool, not int. |
|
7009 |
|
7010 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
7011 New function. |
|
7012 |
|
7013 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
7014 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
7015 Matrix::all_elements_are_inf_or_nan): New functions. |
|
7016 |
|
7017 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
7018 |
|
7019 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
7020 for errors. Simplify macros by converting FCN to string for error |
|
7021 messages. |
|
7022 |
|
7023 * Array-idx.h (Array<T>::index): New function. Don't call |
|
7024 clear_index() here. |
|
7025 (Array<T>::value): Call it, do call clear_index() here. |
|
7026 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
7027 one and two arg index functions. |
|
7028 |
|
7029 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7030 |
|
7031 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
7032 separate implementation file. |
|
7033 |
2354
|
7034 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7035 |
2358
|
7036 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
7037 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
7038 |
2356
|
7039 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
7040 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
7041 them uniq. |
|
7042 |
2354
|
7043 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
7044 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
7045 Rewrite. Also return index as a reference arg. |
|
7046 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
7047 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
7048 Delete. |
|
7049 |
|
7050 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
7051 Matrix::column_max, Matrix::column_min): |
|
7052 Rewrite. Also return index as a reference arg. |
|
7053 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
7054 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
7055 |
|
7056 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7057 |
|
7058 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
7059 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
7060 Matrix::column_min_loc, Matrix::column_max, |
|
7061 Matrix::column_max_loc): Ignore leading NaNs. |
|
7062 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
7063 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
7064 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
7065 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
7066 leading NaNs. |
|
7067 |
2352
|
7068 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7069 |
|
7070 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
7071 starting at n, not 0. |
|
7072 |
2349
|
7073 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7074 |
|
7075 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
7076 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
7077 |
|
7078 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
7079 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
7080 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
7081 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
7082 New constructors. |
|
7083 |
|
7084 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
7085 New constructor. |
|
7086 |
2343
|
7087 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7088 |
|
7089 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
7090 derivative vectors are the same size. |
2344
|
7091 * DASSL.cc (do_integrate): Likewise. |
2343
|
7092 |
2330
|
7093 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7094 |
|
7095 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
7096 iostreams and handler data format conversions. Delete old methods |
|
7097 that used stdio. |
|
7098 |
|
7099 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
7100 |
|
7101 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7102 |
|
7103 * mach-info.h: Rename from float-fmt.h. |
|
7104 * mach-info.cc: Rename from float-fmt.cc. |
|
7105 Handle machine information using a singlton class. |
|
7106 * Makefile.in: Update appropriate lists. |
|
7107 |
|
7108 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7109 |
|
7110 * Array-flags.cc: Provide definitions for the flags even if |
|
7111 OCTAVE_SOURCE is not defined. |
|
7112 |
|
7113 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
7114 operator(), not elem(). |
|
7115 * Array3.h: Move indexing methods here from Array3.cc. |
|
7116 |
|
7117 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7118 |
|
7119 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
7120 |
|
7121 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
7122 INSTALL_DATA for shared libs. |
|
7123 |
|
7124 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7125 |
|
7126 * Quad.cc: Include lo-error.h here too. |
|
7127 |
|
7128 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7129 |
|
7130 * file-ops.h: Include sys/types.h here. |
|
7131 |
|
7132 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7133 |
|
7134 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
7135 |
|
7136 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
7137 elements in result. |
|
7138 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
7139 rows and columns in result. |
|
7140 |
|
7141 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7142 |
|
7143 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
7144 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
7145 |
|
7146 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7147 |
|
7148 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
7149 |
|
7150 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7151 |
|
7152 * Makefile.in (uninstall): Also delete shared library. |
|
7153 Split install into install-libs and install-includes. |
|
7154 (install-inc): If linkdir is a directory, leave it alone. |
|
7155 |
|
7156 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
7157 |
|
7158 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7159 |
|
7160 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
7161 * Array2-idx.h (assign): Likewise. |
|
7162 |
|
7163 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7164 |
|
7165 * Array2.cc (Array2<T>::range_error): New functions. |
|
7166 |
|
7167 * Array.h (class Array<T>): elem() and operator() are now |
|
7168 equivalent, and do bounds checking by default. |
|
7169 * Array2.cc (class Array2<T>): Likewise. |
|
7170 |
|
7171 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7172 |
|
7173 * Makefile.in (maintainer-clean, distclean): Also delete |
|
7174 stamp-picdir, stamp-shared, and pic directory. |
|
7175 (stamp-prereq): New target. |
|
7176 |
|
7177 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7178 |
|
7179 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
7180 New function. |
|
7181 |
|
7182 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
7183 * Array.h (Array<T>::checkelem): Use them. |
|
7184 |
|
7185 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
7186 elements too. |
|
7187 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
7188 |
|
7189 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
7190 |
|
7191 * Makefile.in (distclean): Delete so_locations, which is created |
|
7192 on DEC Alpha systems. |
|
7193 |
|
7194 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7195 |
|
7196 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
7197 already defined. |
|
7198 |
|
7199 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7200 |
|
7201 * pathsearch.cc: Include config.h. |
|
7202 |
|
7203 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7204 |
|
7205 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
7206 allow M(I, J) = scalar if I or J is empty. |
|
7207 |
|
7208 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
7209 and Array3-idx.h). |
|
7210 |
|
7211 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7212 |
|
7213 * lo-error.h: Make comments C friendly. |
|
7214 |
|
7215 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7216 |
|
7217 * Array2.h (make_unique): Move all indexing functions here. |
|
7218 * Array2.cc: From here. |
|
7219 |
|
7220 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
7221 whether operator() calls elem or checkelem. |
|
7222 |
|
7223 * Array.h (make_unique): New private function. |
|
7224 Move all indexing functions here. |
|
7225 * Array.cc: From here. |
|
7226 |
|
7227 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
7228 it too. |
|
7229 |
|
7230 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
7231 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
7232 MArray-C.cc: Include config.h. |
|
7233 |
|
7234 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
7235 Don't define HEAVYWEIGHT_INDEXING here. |
|
7236 |
|
7237 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7238 |
|
7239 * base-lu.h, base-lu.cc: New files. |
|
7240 * Makefile.in: Add them to the appropriate lists. |
|
7241 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
7242 |
|
7243 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7244 |
|
7245 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
7246 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
7247 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
7248 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
7249 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
7250 |
|
7251 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
7252 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
7253 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
7254 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
7255 Simplify using new macros. |
|
7256 |
|
7257 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7258 |
|
7259 * Makefile.in (install): If $(includedir) ends in version string, |
|
7260 make link to name that does not include version info. |
|
7261 |
|
7262 * lo-ieee.cc: Include <cmath> here. |
|
7263 |
|
7264 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7265 |
|
7266 * lo-ieee.cc, lo-ieee.h: New files. |
|
7267 * lo-mappers.cc, lo-mappers.h: New files. |
|
7268 * lo-utils.cc, lo-utils.h: New files. |
|
7269 * Makefile.in: Add them to the appropriate lists. |
|
7270 |
|
7271 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7272 |
|
7273 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7274 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7275 |
|
7276 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
7277 float-fmt.cc: New files. |
|
7278 * Makefile.in: Include them in the appropriate lists. |
|
7279 |
|
7280 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7281 |
|
7282 * dMatrix.cc (Qzval): New function. |
|
7283 |
|
7284 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7285 |
|
7286 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
7287 char*. |
|
7288 |
|
7289 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
7290 Use F77_XFCN to call Fortran subroutine. |
|
7291 * dColVector.cc, CColVector.cc: Likewise. |
|
7292 * dRowVector.cc, CRowVector.cc: Likewise. |
|
7293 * NPSOL.h, NPSOL.cc: Likewise. |
|
7294 * CmplxCHOL.cc: Likewise. |
|
7295 * dbleCHOL.cc: Likewise. |
|
7296 * CMatrix.cc: Likewise. |
|
7297 * dMatrix.cc: Likewise. |
|
7298 * QPSOL.cc: Likewise. |
|
7299 * LSODE.cc: Likewise. |
|
7300 |
|
7301 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7302 |
|
7303 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
7304 |
|
7305 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
7306 workspace. Use F77_XFCN to call Fortran subroutine. |
|
7307 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
7308 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
7309 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
7310 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
7311 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
7312 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
7313 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
7314 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
7315 * EIG.h, EIG.cc; Likewise. |
|
7316 * CollocWt.cc: Likewise. |
|
7317 * NLEqn.cc: Likewise. |
|
7318 * Quad.cc: Likewise. |
|
7319 |
|
7320 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7321 |
|
7322 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
7323 Use F77_XFCN to call Fortran subroutine. |
|
7324 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
7325 * dbleQR.h, dbleQR.cc: Ditto. |
|
7326 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
7327 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
7328 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
7329 |
|
7330 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
7331 (struct DIR): delete forward declaration. |
|
7332 (dir_entry::operator = (const dir_entry$)): Protect against |
|
7333 copying same object. |
|
7334 * dir-ops.cc: Cast dir appropriately. |
|
7335 |
|
7336 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7337 |
|
7338 * lo-error.cc: Moved to libcruft/misc. |
|
7339 * Makefile.in: Delete it from the list. |
|
7340 |
|
7341 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
7342 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
7343 |
|
7344 * Array-flags.h: New file. |
|
7345 * Array-idx.h: Include it here. |
|
7346 * Makefile.in (MATRIX_INC): Add it to the list. |
|
7347 |
|
7348 * Array-flags.cc: Renamed from Array-ext.cc. |
|
7349 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
7350 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
7351 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
7352 (liboctave_rre_flag): Renamed from rre_flag. |
|
7353 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
7354 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
7355 |
|
7356 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
7357 (stamp-shared): Use them here. |
|
7358 |
|
7359 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7360 |
|
7361 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
7362 argument value. |
|
7363 |
|
7364 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7365 |
|
7366 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
7367 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
7368 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
7369 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
7370 Clean up constructors, assigment operator. |
|
7371 |
|
7372 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7373 |
|
7374 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
7375 Check f77_exception_encountered on return. |
|
7376 |
|
7377 * f77-fcn.c (f77_exception_encountered): New variable. |
|
7378 (F77_XFCN): Set it. |
|
7379 * f77-fcn.h: Provide declaration. |
|
7380 |
|
7381 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
7382 |
|
7383 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
7384 |
|
7385 * NLEqn.h (NLEqn_options::set_options): New function. |
|
7386 * Quad.h (Quad_options::set_options): Likewise. |
|
7387 |
|
7388 * LP.h (class LP): Add accessors for LP data. |
|
7389 |
|
7390 * NLEqn.h (NLEqn::n): Delete. |
|
7391 |
|
7392 * NLEqn.h (class NLEqn::n): Likewise. |
|
7393 |
|
7394 * NLP.h (class NLP): Add accessors for NLP data. |
|
7395 |
|
7396 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
7397 access functions here. |
|
7398 * NPSOL.cc.cc: From here. |
|
7399 |
|
7400 * QLD.h (class QLD): Add destructor definition. |
|
7401 * Objective.h (class Objective): Likewise. |
|
7402 * ODEFunc.h (class ODEFunc): Likewise. |
|
7403 * NLFunc.h (class NLFunc): Likewise. |
|
7404 * NLEqn.h (class NLEqn): Likewise. |
|
7405 * NLConst.h (class NLConst): Likewise. |
|
7406 * LinConst.h (class LinConst): Likewise. |
|
7407 * LSODE.h (class LSODE_options): Likewise. |
|
7408 * CollocWt.h (class CollocWt): Likewise. |
|
7409 * Bounds.h (class Bounds): Likewise. |
|
7410 |
|
7411 * QLD.cc (QLD::set_default_options): Delete. |
|
7412 |
|
7413 * QP.h (QP): Add accessors for QP data. |
|
7414 Add copy constructor, operator =, and destructor definitions. |
|
7415 |
|
7416 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
7417 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
7418 DAEFunc.h, CollocWt.h, Bounds.h: |
|
7419 Clean up constructors, assigment operator. |
|
7420 |
|
7421 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
7422 counting to avoid duplicating the data immediately. |
|
7423 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
7424 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
7425 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
7426 |
|
7427 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7428 |
|
7429 * prog-args.h (prog_args::option_argument): New enum. |
|
7430 |
|
7431 * f77-fcn.h: Rename from f77-uscore.h. |
|
7432 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
7433 * f77-fcn.c: New file. |
|
7434 * Makefile.in (SOURCES): Add it to the list. |
|
7435 |
|
7436 * ODEFunc.h: Clean up. |
|
7437 |
|
7438 * DASSL.cc, DASSL.h: New files. |
|
7439 * Makefile.in: Add them to the appropriate lists. |
|
7440 |
|
7441 * LSODE.cc, LSODE.h: New files. |
|
7442 * Makefile.in: Add them to the appropriate lists. |
|
7443 |
|
7444 * ODE.cc: Delete. |
|
7445 * Makefile.in (SOURCES): Remove from list. |
|
7446 |
|
7447 * base-de.h, DAE.cc: New files. |
|
7448 * Makefile.in: Add them to the appropriate lists. |
|
7449 * ODE.h: Only define interface for ODE classes. |
|
7450 * DAE.h: Only define interface for ODE classes. |
|
7451 |
|
7452 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
7453 (LPsolve::set_default_options)): Delete |
|
7454 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
7455 destructor. |
|
7456 |
|
7457 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
7458 |
|
7459 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
7460 (QPSOL::operator =): Call base class operator = instead of assuming |
|
7461 we know what to copy. |
|
7462 |
|
7463 * base-min.h (size): New function. |
|
7464 |
|
7465 * NLP.h (NLP::size): Delete. |
|
7466 (NLP::NLP (const NLP&)): New constructor. |
|
7467 (NLP::operator =): Call base class operator = instead of assuming |
|
7468 we know what to copy. |
|
7469 |
|
7470 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
7471 (class NPSOL): Add operator = and destructor. |
|
7472 |
|
7473 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
7474 |
|
7475 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7476 |
|
7477 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
7478 |
|
7479 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7480 |
|
7481 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
7482 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
7483 |
|
7484 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7485 |
|
7486 * prog-args.h, prog-args.cc: New files. |
|
7487 * Makefile.in: Add them to lists. |
|
7488 |
|
7489 * getopt.h, getopt.c, getopt1.c: New files. |
|
7490 * Makefile.in: Add them to the lists. |
|
7491 |
|
7492 * oct-term.h, oct-term.cc: New files. |
|
7493 * Makefile.in: Add them to the lists. |
|
7494 |
|
7495 * str-vec.cc: New file. |
|
7496 * Makefile.in (SOURCES): Add it to the list. |
|
7497 |
|
7498 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
7499 |
|
7500 * tempname.c, tempnam.c: Move here from src directory. |
|
7501 * Makefile.in: Add to lists. |
|
7502 |
|
7503 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7504 |
|
7505 * cmd-hist.h, cmd-hist.cc: New files. |
|
7506 * Makefile.in: Add them to lists. |
|
7507 |
|
7508 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7509 |
|
7510 * oct-glob.h, oct-glob.cc: New files. |
|
7511 * Makefile.in: Add them to lists. |
|
7512 |
|
7513 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7514 |
|
7515 * pathsearch.h, pathsearch.cc: New files. |
|
7516 * Makefile.in: Add them to lists. |
|
7517 |
|
7518 * dir-ops.h, dir-ops.cc: New files. |
|
7519 * sysdir.h: Move here from src directory. |
|
7520 * Makefile.in: Add them to lists. |
|
7521 |
|
7522 * Array.h (Array::qsort): Return *this, not void. |
|
7523 * str-vec.h (string_vector::qsort): Likewise. |
|
7524 |
|
7525 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
7526 unnecessary NULs. |
|
7527 |
|
7528 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7529 |
|
7530 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
7531 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
7532 Files moved here from src directory. |
|
7533 * Makefile.in: Add them to lists. Include appropriate rules. |
|
7534 |
|
7535 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7536 Use pointers, not references (this is C code!). |
|
7537 |
|
7538 * oct-math.h: New file. |
|
7539 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7540 Files moved here from src directory. |
|
7541 * Makefile.in: Add them to lists. |
|
7542 |
|
7543 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7544 |
|
7545 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
7546 |
|
7547 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
7548 Convert to use string class instead of char*. |
|
7549 |
|
7550 * str-vec.h, Array-str.cc: New files. |
|
7551 |
|
7552 * Array.h (Array::qsort): New function. |
|
7553 |
|
7554 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7555 |
|
7556 * Array.h: Nest ArrayRep class inside Array class. |
|
7557 Refer to ArrayRep, not ArrayRep<T>. |
|
7558 Move all ArrayRep functions inline. |
|
7559 Don't declare other Array classes as friends of ArrayRep. |
|
7560 * Array.cc: Delete ArrayRep functions. |
|
7561 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
7562 |
|
7563 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
7564 Don't instantiate ArrayRep objects. |
|
7565 |
|
7566 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7567 |
|
7568 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
7569 New constructor. |
|
7570 |
|
7571 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7572 |
|
7573 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
7574 for balance_job arg. |
|
7575 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
7576 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
7577 |
|
7578 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
7579 |
|
7580 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7581 |
|
7582 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
7583 |
|
7584 * chMatrix.cc (row_as_string): Undo previous change. |
|
7585 |
|
7586 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7587 |
|
7588 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
7589 is expected to save string if necessary. |
|
7590 |
|
7591 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7592 |
|
7593 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
7594 platforms. |
|
7595 |
|
7596 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
7597 a.rep, don't mess with count. |
|
7598 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
7599 don't do anything if reps are the same. |
|
7600 (Array3<T>& operator = (const Array3<T>&) |
|
7601 |
|
7602 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
7603 Declare private with no definition to prevent misuse. |
|
7604 |
|
7605 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
7606 Get range check right. |
|
7607 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
7608 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7609 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7610 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
7611 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
7612 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7613 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7614 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
7615 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
7616 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
7617 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
7618 * dColVector.cc |
|
7619 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7620 * CRowVector.cc |
|
7621 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
7622 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
7623 * CColVector.cc |
|
7624 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7625 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
7626 |
|
7627 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
7628 Also fill in zeros, not just the diagonal. |
|
7629 |
|
7630 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
7631 Use END parameter properly. |
|
7632 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
7633 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
7634 |
|
7635 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
7636 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
7637 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
7638 Don't copy count. Set it to 1. |
|
7639 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
7640 |
|
7641 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
7642 don't set rep->count to 1 here (now handled by ArrayRep |
|
7643 constructors). |
|
7644 (Array<T>::Array (void)): Ditto. |
|
7645 (Array<T>::Array (int)): Ditto. |
|
7646 (Array<T>::T& elem (int)): Ditto. |
|
7647 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
7648 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
7649 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
7650 (Array<T>::resize (int)): Ditto. |
|
7651 (Array<T>::resize (int, const T&)) :Ditto. |
|
7652 (Array<T>::fortran_vec (void)): Ditto. |
|
7653 (Array2<T>::resize (int, int)): Ditto. |
|
7654 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
7655 (DiagArray<T>::resize (int, int)): Ditto. |
|
7656 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
7657 |
|
7658 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7659 |
|
7660 * Array-ch.cc: Rename from Array-c.cc. |
|
7661 * MArray-ch.cc: Rename from MArray-c.cc. |
|
7662 * chMatrix.cc: Rename from cMatrix.cc. |
|
7663 * chMatrix.h: Rename from cMatrix.h. |
|
7664 * Makefile.in (TI_SRC): Use new names here. |
|
7665 * mx-base.h: Likewise. |
|
7666 |
|
7667 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7668 |
|
7669 * Makefile.in: Handle shared libraries. |
|
7670 |
|
7671 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7672 |
|
7673 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
7674 Correctly compute length of return value. Correct rows and |
|
7675 columns in zgemv call. |
|
7676 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
7677 |
|
7678 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7679 |
|
7680 * Makefile.in (stamp-picdir): New target. |
|
7681 (all): Depend on it. |
|
7682 |
|
7683 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7684 |
|
7685 * Makefile.in (INCLUDES): Remove QLD.h. |
|
7686 (SOURCES): Remove QLD.cc. |
|
7687 |
|
7688 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7689 |
|
7690 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
7691 If force is nonzero, invert even if matrix is singular. |
|
7692 (ComplexMatrix::inverse): Likewise. |
|
7693 |
|
7694 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
7695 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
7696 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
7697 Include "oct-cmplx.h" instead of <Complex.h>. |
|
7698 |
|
7699 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
7700 for class Complex. |
|
7701 |
|
7702 * oct-cmplx.h: New file. |
|
7703 * Makefile.in (INCLUDES): Add it to the list. |
|
7704 |
|
7705 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
7706 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
7707 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
7708 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
7709 Avoid g++ bugs. |
|
7710 |
|
7711 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7712 |
|
7713 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
7714 |
|
7715 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
7716 |
|
7717 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7718 |
|
7719 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
7720 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
7721 |
|
7722 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7723 |
|
7724 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
7725 index vector object with Array, not ArrayRep. |
|
7726 |
|
7727 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7728 |
|
7729 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
7730 if index is a colon and resizing is maybe needed. |
|
7731 |
|
7732 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7733 |
|
7734 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
7735 if we have a vector of 1's. |
|
7736 |
|
7737 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
7738 current orientation, require index and rhs to conform unless |
|
7739 do_fortran_indexing flag is set. |
|
7740 |
|
7741 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7742 |
|
7743 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
7744 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
7745 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
7746 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
7747 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
7748 Massive changes to support additional data types. Only charMatrix |
|
7749 is currently used in Octave. |
|
7750 |
|
7751 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7752 |
|
7753 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
7754 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
7755 Simply call Array2<Complex> version. |
|
7756 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
7757 call Array2<double> version. |
|
7758 |
|
7759 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
7760 |
|
7761 * Array.h, Array.cc: Massive overhaul to support new way of |
|
7762 handling indexing. |
|
7763 * idx-vector.h, idx-vector.cc: Likewise. |
|
7764 * Array-ext.cc, Array-idx.h: New files. |
|
7765 * Makefile.in: Add them to the appropriate lists. |
|
7766 |
|
7767 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7768 |
|
7769 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
7770 |
|
7771 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7772 |
|
7773 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
7774 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
7775 |
|
7776 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7777 |
|
7778 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
7779 |
|
7780 * Array.h: Move simple member functions here. |
|
7781 * Array.cc: From here. |
|
7782 |
|
7783 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7784 |
|
7785 * Range.cc (tfloor, tceil, round): New static functions. |
|
7786 (Range::nelem_internal): Rewrite to use better method. |
|
7787 |
|
7788 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
7789 (type_computed): New var. |
|
7790 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7791 Handle possible error condition. |
|
7792 (init): Allow for SVD::sigma_only, save type computed. |
|
7793 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7794 Handle possible error condition. |
|
7795 (init): Allow for SVD::sigma_only, save type computed. |
|
7796 |
|
7797 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7798 |
|
7799 * Nearly all non-matrix .h and .cc files: |
|
7800 Move short function bodies into class declarations for inlining. |
|
7801 Generally clean up. |
|
7802 |
|
7803 * base-min.h: New file. |
|
7804 * LP.h (class LP): Derive from base_minimizer. |
|
7805 * QLP.h (class QLP): Derive from base_minimizer. |
|
7806 * NLP.h (class NLP): Derive from base_minimizer. |
|
7807 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
7808 |
|
7809 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
7810 NLFunc.cc, Objective.cc and QP.cc from list. |
|
7811 |
|
7812 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7813 |
|
7814 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
7815 (SCHUR::SCHUR): Delete unused parameter ord. |
|
7816 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
7817 |
|
7818 * CRowVector.cc |
|
7819 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
7820 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
7821 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
7822 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
7823 Actually do something. |
|
7824 |
|
7825 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
7826 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
7827 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
7828 |
|
7829 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
7830 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
7831 tolerances. |
|
7832 |
|
7833 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
7834 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
7835 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
7836 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
7837 * QPSOL.cc (qphess): Likewise. |
|
7838 |
|
7839 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7840 |
|
7841 * dMatrix.cc: Include <cstring>. |
|
7842 |
|
7843 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
7844 that return bogus values after calling the error handler. |
|
7845 |
|
7846 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7847 |
|
7848 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
7849 |
|
7850 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
7851 |
|
7852 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7853 |
|
7854 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
7855 (dassl_j): Likewise. |
|
7856 |
|
7857 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
7858 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
7859 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
7860 Update for change in for loop variable scope for gcc 2.7.0. |
|
7861 |
|
7862 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7863 |
|
7864 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7865 not set. |
|
7866 |
|
7867 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
7868 |
|
7869 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
7870 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
7871 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
7872 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
7873 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
7874 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
7875 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
7876 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
7877 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
7878 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
7879 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
7880 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
7881 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
7882 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
7883 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
7884 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
7885 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
7886 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
7887 NLP.h: Use pragma interface/implementation. Don't surround |
|
7888 contents in extern "C++". |
|
7889 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
7890 |
|
7891 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7892 |
|
7893 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
7894 identifiers. |
|
7895 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7896 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7897 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7898 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7899 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7900 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7901 Quad.cc: Change usage of F77_FCN to match new definition |
|
7902 |
|
7903 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7904 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7905 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7906 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7907 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7908 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7909 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
7910 args by reference instead of pointer. Change all callers. |
|
7911 |
|
7912 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7913 |
|
7914 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
7915 functions. Make += and -= operators friend functions. |
|
7916 |
|
7917 * Array.h (Array2::~Array2, Array3::~Array3, |
|
7918 DiagArray::~DiagArray): New functions. |
|
7919 |
|
7920 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7921 |
|
7922 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
7923 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
7924 |
|
7925 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7926 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7927 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7928 dRowVector.h dRowVector.cc: |
|
7929 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
7930 Array2, and DiagArray2. |
|
7931 Don't use functions defined in mx-kludge.cc for arithmetic |
|
7932 like-type operations on arrays. |
|
7933 |
|
7934 * MArray.cc: Use the classes defined here like-type mathematical |
|
7935 operations on Array objects. Abuse CPP more. |
|
7936 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
7937 (EXTRAS): Delete it from this list. |
|
7938 |
|
7939 * MArray-C.cc, MArray-d.cc: New files. |
|
7940 * Makefile.in (TI_SRC): Add them to the list. |
|
7941 |
|
7942 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7943 |
|
7944 * mx-kludge.cc: Abuse CPP even more. |
|
7945 |
|
7946 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7947 |
|
7948 * Objective.h (objective_function): Add missing const. |
|
7949 (gradient_function): Likewise. |
|
7950 |
|
7951 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7952 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7953 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7954 dRowVector.h dRowVector.cc: |
|
7955 Reorganize to declare and define friends where they should be, |
|
7956 based on the use of private constructors. |
|
7957 |
|
7958 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7959 |
|
7960 * CRowVector.h (linspace): Add declaration. |
|
7961 * dRowVector.h (linspace): Likewise. |
|
7962 |
|
7963 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
7964 Force result of rcond + 1.0 to be stored. |
|
7965 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
7966 ComplexMatrix::solve): Likewise. |
|
7967 |
|
7968 See ChangeLog.1 in the top level directory for earlier changes. |