7269
|
1 2007-12-07 David Bateman <dbateman@free.fr> |
|
2 |
|
3 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, |
|
4 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, |
|
5 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse |
|
6 indexing where possible rather than the elem method. |
|
7 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, |
|
8 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): |
|
9 Replace for new version of SPARSE_BASE_REDUCTION_OP. |
|
10 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim |
|
11 = 0 directly. |
|
12 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) |
|
13 const): Replace ROW_EXPR and COL_EXPR functions for new version of |
|
14 SPARSE_BASE_REDUCTION_OP. |
|
15 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): |
|
16 Specialize the initial value, and only treat dim = 0 directly. |
|
17 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): |
|
18 ditto. |
|
19 (SparseMatrix SparseMatrix::prod (int) const): ditto. |
|
20 |
7265
|
21 2007-12-06 John W. Eaton <jwe@octave.org> |
|
22 |
|
23 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal |
|
24 data for npp and dpp after assignments. |
|
25 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. |
|
26 |
7253
|
27 2007-12-04 John W. Eaton <jwe@octave.org> |
|
28 |
|
29 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
30 Do nothing if one index is empty. |
|
31 |
7246
|
32 2007-12-04 David Bateman <dbateman@free.fr> |
|
33 |
|
34 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
35 Resize matrix as well if one dimension of lhs is zero and the rhs |
|
36 index exceeds the lhs index. |
|
37 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): |
|
38 Don't resize to a smaller matrix for empty matrices with a max rhs |
|
39 index smaller than the non zero lhs index. |
|
40 |
|
41 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> |
|
42 |
|
43 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. |
|
44 |
7241
|
45 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
|
46 |
|
47 * Array-util.cc (permute_vector_compare): Move here from Array.cc. |
|
48 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. |
|
49 * Array.cc (permute_vector, permute_vector_compare): Delete. |
|
50 |
7238
|
51 2007-12-03 David Bateman <dbateman@free.fr> |
|
52 |
|
53 * Sparse.cc (template <class LT, class RT> int assign |
|
54 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to |
|
55 rhs values if both no. rows and columns are zero. |
|
56 |
7231
|
57 2007-11-30 John W. Eaton <jwe@octave.org> |
|
58 |
7234
|
59 * oct-sort.cc, oct-sort.h: Style fixes. |
|
60 |
7231
|
61 * lo-math.h: New file. |
|
62 * Makefile.in (INCLUDES): Add it to the list. |
|
63 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, |
|
64 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, |
|
65 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, |
|
66 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, |
|
67 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, |
|
68 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, |
|
69 liboctave/lo-mappers.cc, liboctave/oct-time.cc, |
|
70 liboctave/oct-time.h, liboctave/randgamma.c, |
|
71 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h |
|
72 instead of cmath or math.h. |
|
73 * lo-mappers.h: Don't include sunmath.h here. |
|
74 |
7198
|
75 2007-11-26 John W. Eaton <jwe@octave.org> |
|
76 |
|
77 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): |
|
78 Eliminate unnecessary second arg from call to tree_to_mat_idx. |
|
79 |
|
80 * oct-inttypes.h (operator bool, operator char): Delete. |
|
81 (bool_value, char_value, double_value, float_value): New functions. |
|
82 |
7189
|
83 2007-11-26 David Bateman <dbateman@free.fr> |
|
84 |
|
85 * intNDArray.cc (template <class T> intNDArray<T> |
|
86 intNDArray<T>::max (int) const, template <class T> intNDArray<T> |
|
87 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, |
|
88 template <class T> intNDArray<T> intNDArray<T>::min (int) const, |
|
89 template <class T> intNDArray<T> intNDArray<T>::min |
|
90 (ArrayN<octave_idx_type>&, int) const): New methods for integer |
|
91 classes. |
|
92 * intNDArray.h (class intNDArray): Add min/max methods |
|
93 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, |
|
94 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of |
|
95 min/max functions. |
|
96 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
97 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
98 (MINMAX_DECLS(T)): Declare the min/max functions for integer |
|
99 types. |
|
100 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
101 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
102 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer |
|
103 types. |
|
104 |
|
105 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, |
|
106 const T& rfv) const): If ndims != 2 call ND version of index. |
|
107 |
7176
|
108 2007-11-14 John W. Eaton <jwe@octave.org> |
|
109 |
7178
|
110 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
|
111 |
7176
|
112 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
|
113 correction to half-integer values. From Eric Chassande-Mottin |
|
114 <echassandemottin@gmail.com>. |
|
115 |
7124
|
116 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
|
117 |
|
118 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve |
|
119 ambiguities related to math functions (in C++ mode). |
|
120 |
7102
|
121 2007-11-06 David Bateman <dbateman@free.fr> |
|
122 |
7113
|
123 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
|
124 New method. |
|
125 * intNDarray.h (intNDArray sum (int) const): Declare it. |
|
126 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): |
|
127 New method. |
|
128 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. |
7102
|
129 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
|
130 norm to avoid issues of over- and underflow. From Rolf Fabian |
|
131 <Rolf.Fabian@gmx.de>. |
|
132 |
7081
|
133 2007-10-30 David Bateman <dbateman@free.fr> |
|
134 |
|
135 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. |
|
136 |
7079
|
137 2007-10-30 John W. Eaton <jwe@octave.org> |
|
138 |
|
139 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. |
|
140 * dMatrix.cc (lssolve): Compute size of iwork array. |
|
141 |
7076
|
142 2007-10-29 David Bateman <dbateman@free.fr> |
|
143 |
|
144 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
145 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
146 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
147 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
148 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
149 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
150 declarations. |
|
151 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
152 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
153 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
154 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
155 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
156 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
157 methods. |
|
158 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
159 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
160 octave_idx_type&, double&) const): Also return rcond from the |
|
161 singular values returned by XGELSD. |
|
162 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, |
|
163 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
164 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
165 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
166 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
167 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
168 declarations. |
|
169 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, |
|
170 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, |
|
171 octave_idx_type&, octave_idx_type&, double&) const, lssolve |
|
172 (const ColumnVector&, octave_idx_type&, octave_idx_type&, |
|
173 double& rcond) const, lssolve (const ComplexColumnVector&, |
|
174 octave_idx_type&, octave_idx_type&, double& rcond) const): New |
|
175 methods. |
|
176 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, |
|
177 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, |
|
178 octave_idx_type&, double&) const): Also return rcond from the |
|
179 singular values returned by XGELSD. |
|
180 |
7072
|
181 2007-10-26 David Bateman <dbateman@free.fr> |
|
182 |
|
183 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient |
|
184 matrices to avoid reliability issues with xGELSY. |
|
185 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
7071
|
186 |
7065
|
187 2007-10-25 John W. Eaton <jwe@octave.org> |
|
188 |
|
189 * oct-time.cc (octave_gmtime::init, octave_localtime::init): |
|
190 Call unix_time on arg instead of relying on conversion operator. |
|
191 |
|
192 * oct-time.h (octave_time::double_value): New function. |
|
193 (octave_time::operator double () const): Delete. |
|
194 (octave_time::operator time_t () const): Delete. |
|
195 |
7058
|
196 2007-10-24 John W. Eaton <jwe@octave.org> |
|
197 |
|
198 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. |
|
199 |
7052
|
200 2007-10-23 John W. Eaton <jwe@octave.org> |
|
201 |
|
202 * CRowVector.cc (operator * const ComplexRowVector&, const |
|
203 ComplexColumnVector&)): Delete spurious code left from patch. |
|
204 |
7048
|
205 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
|
206 |
|
207 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, |
|
208 sparse-sort.cc: Include <cstring>. |
|
209 |
7036
|
210 2007-10-17 John W. Eaton <jwe@octave.org> |
|
211 |
|
212 * oct-sparse.h: Don't include metis.h. |
|
213 |
|
214 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. |
|
215 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
216 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, |
|
217 p_type>::sparse_base_chol_rep::init): Likewise. |
|
218 |
7033
|
219 2007-10-16 John W. Eaton <jwe@octave.org> |
|
220 |
|
221 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the |
|
222 matrix is hermitian or calc_cond is true. |
|
223 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
224 |
7016
|
225 2007-10-12 John W. Eaton <jwe@octave.org> |
|
226 |
|
227 * Change copyright notices in all files that are part of Octave to |
|
228 GPLv3 or any later version. |
|
229 |
7007
|
230 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
|
231 |
|
232 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. |
|
233 |
7001
|
234 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
|
235 |
|
236 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. |
|
237 |
7000
|
238 2007-10-10 John W. Eaton <jwe@octave.org> |
|
239 |
|
240 * LPsolve.h, LPsolve.cc: Delete. |
|
241 * Makefile.in: Remove them from the INCLUDES and |
|
242 LIBOCTAVE_CXX_SOURCES lists. |
|
243 |
6989
|
244 2007-10-09 John W. Eaton <jwe@octave.org> |
|
245 |
6996
|
246 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
|
247 and t.tm_year to INT_MIN before call to oct_strptime. Adjust |
|
248 values to zero after call if they remain unchanged. |
|
249 |
6989
|
250 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
|
251 * dNDArray.cc (NDArray::all_elements_are_zero): New function. |
|
252 |
6988
|
253 2007-10-09 David Bateman <dbateman@free.fr> |
|
254 |
6995
|
255 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
|
256 valud and mon and year are also filled in. |
|
257 |
6990
|
258 * Array2.h (Array2<T>::Array2(const dim_vector&), |
|
259 Array2<T>::Array(const dim_vector&, const T&)): Check that |
|
260 dim_vector is 2 dimensional. |
|
261 |
6988
|
262 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
|
263 int)): Remove a for loop in the random indexing case at the |
|
264 expense of maintaining a set of linked lists of indices that point |
|
265 to the same column in the original matrix. |
|
266 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs |
|
267 and use it on the RHS of expressions to avoid unnecessary calls to |
|
268 make_unique. |
|
269 |
6979
|
270 2007-10-08 David Bateman <dbateman@free.fr> |
|
271 |
|
272 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, |
|
273 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs |
|
274 for readline compatible functions. |
|
275 (octave_rl_redisplay): Redisplay the current line of text. |
|
276 (octave_rl_newline): Change interface to the same |
|
277 as used by the equivalent readline function itself. |
|
278 (octave_rl_filename_quoting_desired, |
|
279 octave_rl_set_filename_quote_characters, |
|
280 octave_rl_set_completer_quote_characters, |
|
281 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
282 octave_rl_set_char_is_quoted_function): New functions to control |
|
283 readline filename quoting and line acceptace. |
|
284 * oct-rl-edit.c (octave_rl_newline): Change interface to the same |
|
285 as used by the equivalent readline function itself. |
|
286 (octave_rl_redisplay): Redisplay the current line of text. |
|
287 (octave_rl_filename_quoting_desired, |
|
288 octave_rl_set_filename_quote_characters, |
|
289 octave_rl_set_completer_quote_characters, |
|
290 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
291 octave_rl_set_char_is_quoted_function): New functions to control |
|
292 readline filename quoting and line acceptace. |
|
293 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, |
|
294 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs |
|
295 to map C++ function to readline compatible functions. |
|
296 (set_filename_quote_characters): New function to set the |
|
297 characters to if they appear in a filename that force the filename |
|
298 to be quoted. |
|
299 (set_completer_quote_characters): The characters that the readline |
|
300 completion function considers as quotation characters. |
|
301 (set_quoting_function, set_dequoting_function, |
|
302 set_char_is_quoted_function, set_user_accept_line_function): |
|
303 Functions to set the Octave functions to perform quoting and the |
|
304 acceptance of a line of text by readline. |
|
305 (get_quoting_function, get_dequoting_function, |
|
306 get_char_is_quoted_function, get_user_accept_line_function): |
|
307 Functions to get the above functions. |
|
308 (accept_line): New method for the command_editor to accept a line |
|
309 of text. |
|
310 (file_quoting_desired): Function to set whether readline should |
|
311 attempt to quote filenames. |
|
312 (do_set_filename_quoting_characters, |
|
313 do_set_completer_quote_characters, do_set_quoting_function, |
|
314 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
315 do_set_user_accept_line_function, do_get_quoting_function, |
|
316 do_get_dequoting_function, do_get_char_is_quoted_function, |
|
317 do_get_user_accept_line_function, do_filename_quoting_desired): |
|
318 Virtual functions to control the behavior of readline quoting and |
|
319 acceptance of lines. |
|
320 (do_accept_line): Virtual function for the accept line function. |
|
321 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
|
322 do_completer_quote_characters, do_set_quoting_function, |
|
323 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
324 do_set_user_accept_line_function, do_get_quoting_function, |
|
325 do_get_dequoting_function, do_get_user_accept_line_function, |
|
326 do_accept_line, do_filename_quoting_desired, command_quoter, |
|
327 command_dequoter, command_char_is_quoted, command_accept_line): |
|
328 New functions in gnu_readline class to control filename quoting |
|
329 and line acceptance. |
|
330 (quoting_function, dequoting_function, char_is_quoted_function, |
|
331 user_accept_line_function): private variable to store functions |
|
332 supplied for readline quoting and line acceptance. |
|
333 (gnu_readline::gnu_readline): Also set the new function pointers |
|
334 to zero. |
|
335 (gnu_readline::do_newline): Adapt to new octave_rl_newline |
|
336 interface. |
|
337 (gnu_readeline::operate_and_get_next): Use new accept_line |
|
338 function rather than newline. |
|
339 (default_ommand_editor::do_accept_line): New method. |
|
340 (class command_editor set_filename_quote_characters, |
|
341 set_completer_quote_characters, set_quoting_function, |
|
342 set_dequoting_function, set_char_is_quoted_function, |
|
343 set_user_accept_line_function, get_quoting_function, |
|
344 get_dequoting_function, get_user_accept_line_function, |
|
345 accept_line, filename_quoting_desired): New functions checking |
|
346 instance before calling virtual function. |
|
347 |
|
348 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, |
|
349 Array2.h: Add dim_vector constructors. |
|
350 * charNDArray.h (charNDArray (const dim_vector&)): Add missing |
|
351 const to dim_vector constructors. |
|
352 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
|
353 (octave_idx_type)): New methods to constructor diagonal matrices. |
|
354 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag |
|
355 (octave_idx_type)): Declare them. |
|
356 |
|
357 |
6969
|
358 2007-10-06 John W. Eaton <jwe@octave.org> |
|
359 |
|
360 * lo-specfun.cc: (zlgamma): Delete. |
|
361 (xgamma): Use C library gamma function if available. |
|
362 (xlgamma): Use C library lgamma function if available. |
|
363 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X |
|
364 other than NaN or Inf. |
|
365 |
6961
|
366 2007-10-05 John W. Eaton <jwe@octave.org> |
|
367 |
|
368 * lo-specfun.cc (zlgamma): New function. |
|
369 |
6959
|
370 2007-10-04 John W. Eaton <jwe@octave.org> |
|
371 |
|
372 * oct-sort.cc (octave_sort<T>::binarysort): Remove register |
|
373 qualifiers on local variables. |
|
374 |
6958
|
375 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
|
376 |
|
377 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less |
|
378 than log(realmax) to avoid issues with NaN. |
|
379 |
6940
|
380 2007-10-01 John W. Eaton <jwe@octave.org> |
|
381 |
6941
|
382 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
|
383 initialize wday and yday. |
|
384 From Matthias Drochner <m.drochner@fz-juelich.de>. |
|
385 |
6940
|
386 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
|
387 insert extra '\001' when decoding \[ and \]. |
|
388 |
6926
|
389 2007-09-26 David Bateman <dbateman@free.fr> |
|
390 |
|
391 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with |
|
392 is much faster and no less accurate. |
|
393 * CMatrix.cc (lssolve): ditto. |
|
394 |
6924
|
395 2007-09-25 David Bateman <dbateman@free.fr> |
|
396 |
|
397 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow |
|
398 zero dimensioned matrices. |
|
399 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
|
400 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
401 ditto. |
|
402 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
403 ditto. |
|
404 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. |
|
405 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, |
|
406 qrsolve): ditto. |
|
407 * sparse-dmsolve.cc (dmsolve): ditto. |
|
408 |
6922
|
409 2007-09-21 John W. Eaton <jwe@octave.org> |
|
410 |
|
411 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
412 Also allow resizing empty LHS if it is 1x0 or 0xN. |
|
413 |
6916
|
414 2007-09-19 John W. Eaton <jwe@octave.org> |
|
415 |
|
416 * cmd-edit.cc (command_editor::remove_startup_hook): |
|
417 Fix cut-and-paste error. |
6917
|
418 (gnu_readline::set_startup_hook): Only set hook function if new |
|
419 function is different from the current one. |
6916
|
420 |
6913
|
421 2007-09-18 John W. Eaton <jwe@octave.org> |
|
422 |
|
423 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, |
|
424 command_editor::event_hook_set): New static data. |
|
425 (default_command_editor::set_startup_hook, |
|
426 gnu_readline::set_startup_hook, |
|
427 default_command_editor::restore_startup_hook, |
|
428 gnu_readline_restore_event_hook): |
|
429 Rename from do_set_startup_hook and do_set_event_hook. |
|
430 (gnu_readline::operate_and_get_next): Call |
|
431 command_editor::add_startup_hook, not |
|
432 command_editor::set_startup_hook. |
|
433 (command_editor::startup_handler, command_editor::event_handler): |
|
434 New functions. |
|
435 (command_editor::add_startup_hook, command_editor::add_event_hook, |
|
436 command_editor::remove_startup_hook, |
|
437 command_editor::remove_event_hook): Rename from set_startup_hook |
|
438 and restore_startup_hook. Handle hook sets here. |
|
439 * cmd-edit.cc (gnu_history::do_goto_mark): |
|
440 Call remove_startup_hook instead of restore_startup_hook. |
|
441 |
6907
|
442 2007-09-17 John W. Eaton <jwe@octave.org> |
|
443 |
|
444 * lo-utils.cc (octave_read_complex, octave_read_double): Skip |
|
445 leading whitespace. |
|
446 |
6897
|
447 2007-09-13 John W. Eaton <jwe@octave.org> |
|
448 |
|
449 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
450 octave_read_complex): Use istream::get instead of >> to read |
|
451 individual characters. |
|
452 |
6884
|
453 2007-09-10 John W. Eaton <jwe@octave.org> |
|
454 |
|
455 * Array.cc (assign1): Don't call make_unique for invalid assignment. |
|
456 |
|
457 2007-09-10 David Bateman <dbateman@free.fr> |
|
458 |
|
459 * Array.h (Array<T>::make_unique): Make public so that the |
|
460 ::assign functions can access it directly. |
|
461 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), |
|
462 Array<T>::maybe_delete_elements_1(idx_vector&), |
|
463 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), |
|
464 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): |
|
465 Use xelem for non const RHS to avoid call to make_unique. |
|
466 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use |
|
467 xelem for LHS and call lhs.make_unique() only once. Special case |
|
468 the is_colon index case and use Array<T>::xelem(octave_idx_type) |
|
469 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and |
|
470 bring the additional multiplication out of the inner loop. |
|
471 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
472 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
473 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
|
474 (const Range& r)): Don't use init_state() method but special case |
|
475 as with a Range can avoid exhaustive search. |
|
476 |
6881
|
477 2007-09-07 John W. Eaton <jwe@octave.org> |
|
478 |
|
479 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of |
|
480 manipulating rep directly. |
|
481 |
|
482 * Array.h (idx, idx_count): Declare mutable. |
|
483 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): |
|
484 Now const. |
|
485 |
6867
|
486 2007-09-06 David Bateman <dbateman@free.fr> |
|
487 |
6868
|
488 * Array-util.cc (increment_index): dimensions can have singleton |
|
489 trailing dimensions. |
6867
|
490 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
|
491 Modify use of Array<int> to Array<octave_idx_type> and adjust |
|
492 where necessary. |
|
493 * Array.cc (range_error): ditto. |
|
494 * MArrayN.h (permute, ipermute): ditto. |
|
495 * ArrayN.h (permute, ipermute): ditto. |
|
496 * so-array.cc (streamoff_array::compute_index): ditto. |
|
497 * so-array.h (compute_index): ditto. |
|
498 * CMattrix.cc (ComplexMatrix::exmpm): ditto. |
|
499 |
6840
|
500 2007-08-29 David Bateman <dbateman@free.fr> |
|
501 |
|
502 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
|
503 octave_idx_type&, double&, int, int)): Calculate with LU even for |
|
504 matrices marked as singular. |
|
505 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( |
|
506 MatrixType &, octave_idx_type&, double&, int, int)): ditto. |
|
507 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, |
|
508 double&, int, int)): ditto. If rcond==0 force matrix of infinities. |
|
509 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, |
|
510 octave_idx_type&, double&, int, int)): ditto. |
|
511 |
6838
|
512 2007-08-27 John W. Eaton <jwe@octave.org> |
|
513 |
|
514 * oct-env.cc (octave_env::rooted_relative_pathname, |
|
515 octave_env::do_rooted_relative_pathname): New functions. |
|
516 * oct-env.h: Provide decls. |
|
517 |
6823
|
518 2007-08-24 David Bateman <dbateman@free.fr> |
|
519 |
|
520 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
|
521 const Array<octave_idx_type>&)): New method. |
|
522 (MSparse (const dim_vector&, octave_idx_type)): Ditto. |
|
523 * dSparse.h (SparseMatrix& SparseMatrix::insert (const |
|
524 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
525 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
526 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const |
|
527 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
528 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
529 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
530 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
531 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
532 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
533 SparseMatrix&, const Array<octave_idx_type>&), |
|
534 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
535 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
536 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
537 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
538 SparseMatrix&, const Array<octave_idx_type>&), |
|
539 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
540 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
541 |
6817
|
542 2007-08-19 David Bateman <dbateman@free.fr> |
|
543 |
|
544 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. |
|
545 |
6813
|
546 2007-08-14 John W. Eaton <jwe@octave.org> |
|
547 |
|
548 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. |
|
549 Simplify. |
6814
|
550 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813
|
551 |
6810
|
552 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
|
553 |
|
554 * file-stat.cc (file_stat::update_internal) [__WIN32__]: |
|
555 Remove trailing dir separator when stat'ing directory except for |
|
556 root directory. |
|
557 |
6796
|
558 2007-07-25 David Bateman <dbateman@free.fr> |
|
559 |
|
560 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" |
|
561 to work. |
|
562 |
6764
|
563 2007-06-04 David Bateman <dbateman@free.fr> |
|
564 |
|
565 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), |
|
566 octave_int<T>& operator >>= (const T2&)): Make shift operators |
|
567 perform a twos complement arithmetic shift for both signed and |
|
568 unsigned integers regardless of compiler implementations. |
|
569 |
6708
|
570 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
|
571 |
6719
|
572 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
|
573 use cs_complex_t(0,0) for the complex zero. |
|
574 |
6708
|
575 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
|
576 Sprinkle class instantiations with OCTAVE_API as needed. |
|
577 |
|
578 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, |
|
579 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. |
|
580 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, |
|
581 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, |
|
582 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, |
|
583 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, |
|
584 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, |
|
585 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, |
|
586 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, |
|
587 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, |
|
588 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, |
|
589 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, |
|
590 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, |
|
591 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, |
|
592 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, |
|
593 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
|
594 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, |
|
595 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, |
|
596 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, |
|
597 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, |
|
598 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, |
|
599 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, |
|
600 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, |
|
601 INSTANTIATE_SPARSE_FRIENDS): Ditto. |
|
602 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, |
|
603 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, |
|
604 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, |
|
605 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
606 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
607 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, |
|
608 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, |
|
609 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, |
|
610 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, |
|
611 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, |
|
612 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, |
|
613 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, |
|
614 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, |
|
615 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, |
|
616 SPARSE_SMM_OP_DECLS): Ditto. |
|
617 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, |
|
618 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. |
|
619 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, |
|
620 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, |
|
621 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, |
|
622 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, |
|
623 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, |
|
624 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, |
|
625 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, |
|
626 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, |
|
627 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
628 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, |
|
629 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, |
|
630 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, |
|
631 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. |
|
632 |
6699
|
633 2007-06-12 John W. Eaton <jwe@octave.org> |
|
634 |
|
635 * dMatrix.cc (Matrix::expm): Special case for scalar arg. |
|
636 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
6697
|
637 |
6693
|
638 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
|
639 |
6709
|
640 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
|
641 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing |
|
642 with file_ops::dir_sep_char. |
6694
|
643 |
6693
|
644 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
|
645 |
6689
|
646 2007-06-04 David Bateman <dbateman@free.fr> |
|
647 |
6699
|
648 * file-ops.cc: Typo. |
|
649 |
6689
|
650 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
|
651 dimensions is greater than 2, collapse to 2-D. |
|
652 |
6685
|
653 2007-06-02 David Bateman <dbateman@free.fr> |
|
654 |
|
655 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. |
|
656 |
6680
|
657 2007-05-31 John W. Eaton <jwe@octave.org> |
|
658 |
|
659 * Array.cc (Array::get_size): Throw std::bad_alloc exception if |
|
660 the computed size is too large for the size of Octave's index type. |
|
661 |
6662
|
662 2007-05-23 John W. Eaton <jwe@octave.org> |
|
663 |
|
664 * oct-sparse.h: Don't surround included files with extern "C" { ... }. |
|
665 |
6629
|
666 2007-05-16 David Bateman <dbateman@free.fr> |
|
667 |
|
668 * dRowVector.cc (linspace): Return second argument if fewer than |
|
669 two values are requested. |
|
670 * CRowVector.cc (linspace): Likewise. |
|
671 |
6596
|
672 2007-04-27 John W. Eaton <jwe@octave.org> |
|
673 |
|
674 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). |
|
675 |
6583
|
676 2007-04-25 John W. Eaton <jwe@octave.org> |
|
677 |
|
678 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. |
|
679 |
6553
|
680 2007-04-20 John W. Eaton <jwe@octave.org> |
|
681 |
|
682 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, |
|
683 not rhs_len == 1. |
|
684 |
6536
|
685 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
|
686 |
|
687 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. |
|
688 |
6525
|
689 2007-04-13 John W. Eaton <jwe@octave.org> |
|
690 |
|
691 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early |
|
692 for empty matrix. Only check for colon index equivalence if not empty. |
|
693 |
6513
|
694 2007-04-10 John W. Eaton <jwe@octave.org> |
|
695 |
|
696 * SparseCmplxQR.cc |
|
697 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
|
698 Move GCC_ATTR_UNUSED before the parameter decl. |
|
699 From Luis Ortiz <lortiz@interactivesupercomputing.com>. |
|
700 |
6508
|
701 2007-04-06 John W. Eaton <jwe@octave.org> |
|
702 |
|
703 * MArray-defs.h (MARRAY_NORM_BODY): New macro. |
|
704 * MArray.h (MArray<T>::norm): New function. |
|
705 * MArray.cc: Provide decl. |
|
706 * MArray-d.cc (MArray<double>::norm): Define double specialization. |
|
707 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. |
|
708 |
6490
|
709 2007-04-04 John W. Eaton <jwe@octave.org> |
|
710 |
|
711 * Range.cc (Range::nelem_internal): Likewise. |
|
712 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. |
|
713 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. |
|
714 From Scott Pakin <pakin@lanl.gov>. |
|
715 |
6486
|
716 2007-04-04 David Bateman <dbateman@free.fr> |
|
717 |
|
718 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate |
|
719 the condition number for positive definite matrices. |
|
720 * CMatrix.cc (ComplexMatrix::inverse): Ditto. |
|
721 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. |
|
722 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. |
|
723 (octave_idx_type init (const Matrix&, bool)): Ditto. |
|
724 (CHOL(const CHOL&)): Copy xrcond. |
|
725 (CHOL& operator = (const CHOL&)): Copy xrcond. |
|
726 (xrcond): New private data member. |
|
727 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, |
|
728 calc_cond. |
|
729 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto |
|
730 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. |
|
731 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. |
|
732 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. |
|
733 (xrcond): New private data member. |
|
734 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is |
|
735 true, calculate the condition number with dpocon. |
|
736 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If |
|
737 calc_cond is true, calculate the condition number with zpocon. |
|
738 |
6481
|
739 2007-04-03 John W. Eaton <jwe@octave.org> |
|
740 |
6482
|
741 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
|
742 |
|
743 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and |
|
744 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid |
|
745 "maybe clobbered by vfork" warning. |
|
746 |
6483
|
747 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482
|
748 if/else. |
|
749 |
|
750 * oct-spparms.h (octave_sparse_params): Define copy constructor |
|
751 and destructor. |
|
752 |
6481
|
753 * Array.cc (assignN): Don't resize dimension if corresponding |
|
754 index is empty. |
|
755 |
6479
|
756 2007-04-02 John W. Eaton <jwe@octave.org> |
|
757 |
|
758 * dMatrix.h (Matrix::inverse): Reinstate versions without |
|
759 MatrixType argument. |
|
760 * CMatrix.h (ComplexMatrix::inverse): Likewise. |
|
761 |
6467
|
762 2007-03-27 John W. Eaton <jwe@octave.org> |
|
763 |
|
764 * Makefile.in (DISTDIRS): Delete variable. |
|
765 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). |
|
766 |
6460
|
767 2007-03-26 David Bateman <dbateman@free.fr> |
|
768 |
|
769 * MatrixType.cc: Replace all uses of the method |
|
770 octave_sparse_params::get_key ("bandden") with |
|
771 octave_sparse_params::get_bandden (void). |
|
772 (MatrixType::MatrixType (void)): Undo previous change but use |
|
773 octave_sparse_params::get_bandden (void). |
|
774 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New |
|
775 methods. |
|
776 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): |
|
777 Declare them. |
|
778 |
6458
|
779 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
780 David Bateman <dbateman@free.fr> |
|
781 |
|
782 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): |
|
783 Check that all elements are ints before doing anything. Simplify |
|
784 calculation of index values. |
|
785 |
6457
|
786 2007-03-26 David Bateman <dbateman@free.fr> |
|
787 |
|
788 * Range.cc (Range::all_elements_are_ints): Improve check. |
|
789 |
6456
|
790 2007-03-26 John W. Eaton <jwe@octave.org> |
|
791 |
|
792 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. |
|
793 * chNDArray.h, chMatrix.h: Provide decls. |
|
794 |
|
795 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
796 |
|
797 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize |
|
798 sp_bandden to zero for performance reasons as it's not used. |
6452
|
799 |
6435
|
800 2007-03-23 David Bateman <dbateman@free.fr> |
|
801 |
|
802 * oct-rand.cc (octave_rand::seed): Seed differently for big and |
|
803 little endian. |
|
804 |
6414
|
805 2007-03-15 John W. Eaton <jwe@octave.org> |
|
806 |
|
807 * lo-mappers.cc (acos): Use formula similar to what we use for asin. |
|
808 From Alexander Barth <abarth@marine.usf.edu>. |
|
809 |
6402
|
810 2007-03-12 John W. Eaton <jwe@octave.org> |
|
811 |
|
812 * oct-inttypes.h (octave_int::octave_int (double)): |
|
813 New Specialization. Round arg. |
|
814 (operator / (const octave_int<T1>&, const octave_int<T2>&)): |
|
815 Round result before converting type. |
|
816 |
6388
|
817 2007-03-07 John W. Eaton <jwe@octave.org> |
|
818 |
6392
|
819 * Array.cc (assign1): Avoid resizing if there is an error. |
|
820 |
6390
|
821 * dMatrix.cc, CMatrix.cc (operator *): Only check |
|
822 f77_exception_encountered immediately after calls that use F77_XFCN. |
|
823 |
6389
|
824 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
825 Only allow resizing empty LHS if it is 0x0. |
|
826 |
6388
|
827 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
|
828 const T&)): Handle case of more indices than dimensions. |
|
829 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more |
|
830 cases to be handled by assignN. |
|
831 (assignN (Array<LT>&, const Array<RT>&, const LT&)): |
|
832 Special cases for 2-d array assignments for speed. |
|
833 Improve handling of scalar RHS and empty indices. |
6384
|
834 |
6383
|
835 2007-03-05 David Bateman <dbateman@free.fr> |
|
836 |
|
837 * oct-md5.c (oct_md5_file (const std::string&)): New function. |
|
838 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. |
|
839 |
6379
|
840 2007-03-02 John W. Eaton <jwe@octave.org> |
|
841 |
|
842 * str-vec.h (string_vector::empty): Return bool, not int. |
|
843 |
6375
|
844 2007-03-01 David Bateman <dbateman@free.fr> |
|
845 |
|
846 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
|
847 an independent implementation of RFC1321. |
|
848 * oct-md5.h, oct-md5: New files for treating std::string class |
|
849 with MD5. |
|
850 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h |
|
851 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc |
|
852 (LIBOCTAVE_C_SOURCES): Add md5.c |
|
853 |
6366
|
854 2007-02-27 John W. Eaton <jwe@octave.org> |
|
855 |
|
856 * Makefile.in (uninstall): Delete files listed in |
|
857 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). |
|
858 From Thomas Treichl <Thomas.Treichl@gmx.net>. |
|
859 |
6536
|
860 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363
|
861 |
|
862 * file-ops.cc (file_ops::recursive_rmdir): |
|
863 Close dir_entry object before calling rmdir. |
|
864 |
6536
|
865 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358
|
866 |
|
867 * Makefile.in: Use $(LN_S) instead of ln or ln -s. |
|
868 |
6359
|
869 * sparse-util.h (SparseCholPrint, SparseCholError): |
|
870 Tag with OCTAVE_API. |
|
871 |
6326
|
872 2007-02-18 David Bateman <dbateman@free.fr> |
|
873 |
|
874 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to |
|
875 calling setall and reset to the current generator after. |
|
876 |
6323
|
877 2007-02-16 John W. Eaton <jwe@octave.org> |
|
878 |
|
879 * oct-shlib.h (octave_shlib::relative): New data member. |
|
880 (octave_shlib::mark_relative, octave_shlib::is_relative): |
|
881 New functions. |
|
882 |
6321
|
883 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
|
884 |
|
885 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on |
|
886 windows platform. |
|
887 * lo-sysdep.h (octave_popen2): Declare it. |
|
888 * oct-syscalls.cc (octave_syscalls::popen2): New function. |
|
889 * oct-syscalls.h (octave_syscalls::popen2): Declare it. |
|
890 |
6306
|
891 2007-02-14 John W. Eaton <jwe@octave.org> |
|
892 |
|
893 * kpse.cc (expand_elt): Omit special treatment for //. |
|
894 |
6273
|
895 2007-02-06 John W. Eaton <jwe@octave.org> |
|
896 |
|
897 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: |
|
898 Don't delete value returned from realpath. |
|
899 |
6271
|
900 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
|
901 |
|
902 * file-ops.cc (file_ops::canonicalize_file_name): |
|
903 Provide implementation if realpath function is available. |
|
904 |
6256
|
905 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
|
906 |
|
907 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. |
|
908 |
6244
|
909 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
|
910 |
|
911 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on |
|
912 Windows systems. |
|
913 |
6242
|
914 2007-01-16 John W. Eaton <jwe@octave.org> |
|
915 |
|
916 * dSparse.cc: Fix dgbtrf decl for --enable-64. |
|
917 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 |
|
918 |
|
919 * oct-fftw.h (fftw_planner): Provide decl. |
|
920 |
6241
|
921 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
|
922 |
|
923 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. |
|
924 |
6236
|
925 2007-01-10 John W. Eaton <jwe@octave.org> |
|
926 |
|
927 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not |
|
928 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". |
|
929 |
6231
|
930 2007-01-08 David Bateman <dbateman@free.fr> |
|
931 |
|
932 * oct-sparse.h: Replace sparsesuite with suitesparse and |
|
933 SPARSESUITE with SUITESPARSE to match upstream name. |
|
934 |
6228
|
935 2007-01-05 David Bateman <dbateman@free.fr> |
|
936 |
|
937 * oct-fftw.cc: (octave_fftw_planner::method (void), |
|
938 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
|
939 set the FFTW wisdom method used. |
|
940 (octave_fftw_planner::create_plan) Modify to allow different |
|
941 methods to be used. |
|
942 (octave_fftw_planner): Move class definition from here. |
|
943 * oct-fftw.h (octave_fftw_planner): To here. Add method methods |
|
944 and FftwMethod enum. |
|
945 |
6221
|
946 2007-01-03 David Bateman <dbateman@free.fr> |
|
947 |
|
948 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, |
|
949 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as |
|
950 sparse matrices are special cased. |
|
951 |
|
952 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed |
|
953 matrix, sparse matrix operations. |
|
954 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, |
|
955 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, |
|
956 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, |
|
957 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
|
958 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, |
|
959 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
|
960 sparse matrices are special cased. |
|
961 |
6217
|
962 2006-12-22 David Bateman <dbateman@free.fr> |
|
963 |
|
964 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. |
|
965 |
6216
|
966 2006-12-22 John W. Eaton <jwe@octave.org> |
|
967 |
|
968 * dim-vector.h (dim_vector::dim_vector): Always start with at |
|
969 least 2 dimensions. |
|
970 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. |
|
971 |
6208
|
972 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
|
973 |
|
974 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. |
|
975 |
|
976 * file-ops.cc (ops::canonicalize_file_name): Provide partial |
6217
|
977 implementation for Windows. |
6208
|
978 |
6207
|
979 2006-12-06 David Bateman <dbateman@free.fr> |
|
980 |
6208
|
981 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
|
982 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. |
6207
|
983 |
|
984 * dMatrrix.cc (finverse): Old inverse method renamed inverse. |
|
985 (tinverse): New method for triangular matrices. |
|
986 (inverse): New function with matrix type probing. |
|
987 * dMatrix.h (finverse, tinverse, inverse): New and modified |
|
988 declarations. |
6208
|
989 * CMatrix.cc: Ditto. |
|
990 * CMatrix.h: Ditto. |
6207
|
991 |
6205
|
992 2006-12-06 John W. Eaton <jwe@octave.org> |
|
993 |
|
994 * strptime.c (day_of_the_week): Use code from current glibc sources. |
|
995 |
6202
|
996 2006-12-05 John W. Eaton <jwe@octave.org> |
|
997 |
|
998 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not |
|
999 followed by 'I' or 'i', try reading number after putting |
|
1000 characters back on input stream. |
|
1001 |
6198
|
1002 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
|
1003 |
|
1004 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of |
|
1005 loop is n, not L. |
|
1006 |
6194
|
1007 2006-11-30 John W. Eaton <jwe@octave.org> |
|
1008 |
|
1009 * lo-utils.cc (octave_read_double, read_inf_nan_na): |
|
1010 Also recognize [+-][Ii]nf. |
|
1011 |
6187
|
1012 2006-11-28 David Bateman <dbateman@free.fr> |
6186
|
1013 |
|
1014 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite |
|
1015 sub-directory. |
|
1016 |
6204
|
1017 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
|
1018 well when calling tinverse for lower triangular matrices. |
|
1019 * CSparse.cc (SparseComplexMatrix::inverse): |
|
1020 Ditto. |
6185
|
1021 |
6183
|
1022 2006-11-21 John W. Eaton <jwe@octave.org> |
|
1023 |
|
1024 * oct-env.cc (do_absolute_pathname): Undo previous change. |
|
1025 |
6182
|
1026 2006-11-20 John W. Eaton <jwe@octave.org> |
|
1027 |
|
1028 * oct-env.cc (octave_env::do_absolute_pathname): Also return true |
|
1029 for ".", and names beginning with "./" or "../". |
|
1030 |
6162
|
1031 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
|
1032 |
|
1033 * CMatrix.cc, dMatrix.cc: New tests. |
|
1034 |
6153
|
1035 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1036 |
|
1037 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. |
|
1038 |
6152
|
1039 2006-11-11 John W. Eaton <jwe@octave.org> |
|
1040 |
|
1041 * Makefile.in ($(OPTS_INC), mx-ops.h): |
|
1042 Use $(simple-move-if-change-rule) here. |
|
1043 |
6148
|
1044 2006-11-09 David Bateman <dbateman@free.fr> |
|
1045 |
|
1046 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to |
|
1047 octave_idx_type, not int. |
|
1048 |
6145
|
1049 2006-11-08 John W. Eaton <jwe@octave.org> |
|
1050 |
|
1051 * dir-ops.cc (dir_entry::read): Avoid rewinddir. |
|
1052 |
6141
|
1053 2006-11-06 John W. Eaton <jwe@octave.org> |
|
1054 |
|
1055 * Array.cc (assignN): Exit early if invalid indices are found. |
|
1056 |
6140
|
1057 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
|
1058 |
|
1059 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. |
|
1060 |
6137
|
1061 2006-11-03 John W. Eaton <jwe@octave.org> |
|
1062 |
|
1063 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. |
|
1064 (DLL_CDEFS): Rename from XTRA_CDEFS. |
|
1065 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. |
|
1066 |
6123
|
1067 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
|
1068 |
|
1069 * oct-shlib.cc: Undefine min and max after including windows.h. |
|
1070 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. |
|
1071 * lo-sysdep.h: Move opendir, readdir, etc. decls here from |
|
1072 lo-sysdep.cc. |
|
1073 |
6113
|
1074 2006-10-27 John W. Eaton <jwe@octave.org> |
|
1075 |
6119
|
1076 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
|
1077 |
|
1078 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1079 |
|
1080 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, |
|
1081 NDS_CMP_OPS2): New macros. |
6113
|
1082 |
6111
|
1083 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1084 |
6119
|
1085 * mx-ops (core-type): New field for integer types. |
|
1086 * mk-ops.awk: Handle core-type for integer comparison ops. |
|
1087 |
6111
|
1088 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
|
1089 Move here from src/cutils.c. |
|
1090 * lo-utils.h: Provide decls. |
|
1091 * strcasecmp.c: Move here from src/strcasecmp.c. |
|
1092 * strncase.c: Move here from src/strncase.c. |
|
1093 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. |
|
1094 |
6106
|
1095 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
1096 |
|
1097 * kpse.cc [! MSVC]: Don't include win32lib.h. |
|
1098 |
6708
|
1099 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
|
1100 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, |
|
1101 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, |
|
1102 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, |
|
1103 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, |
|
1104 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, |
|
1105 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, |
|
1106 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
|
1107 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
|
1108 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, |
|
1109 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, |
|
1110 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, |
|
1111 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, |
|
1112 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
|
1113 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, |
|
1114 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
|
1115 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, |
|
1116 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, |
|
1117 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, |
|
1118 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, |
|
1119 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, |
|
1120 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, |
|
1121 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. |
6108
|
1122 |
6105
|
1123 2006-10-26 John W. Eaton <jwe@octave.org> |
|
1124 |
|
1125 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit |
|
1126 type qualification for OP. |
|
1127 |
6101
|
1128 2006-10-26 David Bateman <dbateman@free.fr> |
|
1129 |
|
1130 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, |
|
1131 octave_idx_type)): Be more careful with the size of the input |
|
1132 matrix, and therefore don't create or read non existent data. |
|
1133 |
6092
|
1134 2006-10-25 John W. Eaton <jwe@octave.org> |
|
1135 |
|
1136 * Sparse.cc (assign): Clear lhs index after error. |
|
1137 |
6093
|
1138 2006-10-25 David Bateman <dbateman@free.fr> |
6092
|
1139 |
|
1140 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1141 Fix previous patch so it works. |
|
1142 |
6087
|
1143 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
|
1144 |
6095
|
1145 * glob-match.h (glob_match::glob_match (const std::string&, |
|
1146 unsigned int)): Delete initializer for first arg. |
|
1147 |
6093
|
1148 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
|
1149 New functions. |
|
1150 |
6087
|
1151 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
|
1152 |
6096
|
1153 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
|
1154 same code as __MINGW32__. |
|
1155 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG |
|
1156 the same as for __MINGW32__. |
|
1157 |
|
1158 * randpoisson.c: Undefine INFINITE before redefining. |
|
1159 |
6079
|
1160 2006-10-24 David Bateman <dbateman@free.fr> |
|
1161 |
|
1162 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the |
|
1163 lhs at the point we know the assignment can succeed if the lhs is |
|
1164 empty. |
|
1165 |
6072
|
1166 2006-10-23 John W. Eaton <jwe@octave.org> |
|
1167 |
|
1168 * Array.cc (assign2): Don't require vector assignments to be oriented. |
|
1169 |
6061
|
1170 2006-10-17 John W. Eaton <jwe@octave.org> |
|
1171 |
|
1172 * lo-cieee.c: If isnan is not available but _isnan is, then define |
|
1173 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite |
|
1174 and _copysign. |
|
1175 |
6059
|
1176 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051
|
1177 |
6061
|
1178 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
|
1179 |
6708
|
1180 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
|
1181 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061
|
1182 |
6058
|
1183 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
|
1184 |
6059
|
1185 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1186 |
6051
|
1187 * Makefile.in: Adapt rules to use $(LIBPRE). |
|
1188 |
6027
|
1189 2006-10-03 David Bateman <dbateman@free.fr> |
|
1190 |
|
1191 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 |
|
1192 or p == 0. |
|
1193 |
6018
|
1194 2006-10-02 John W. Eaton <jwe@octave.org> |
|
1195 |
|
1196 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. |
|
1197 * CmplxDET.cc (ComplexDET::initialize2): Likewise. |
|
1198 |
5996
|
1199 2006-09-22 David Bateman <dbateman@free.fr> |
|
1200 |
|
1201 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5997
|
1202 Remove spurious warning. |
5996
|
1203 |
5992
|
1204 2006-09-15 John W. Eaton <jwe@octave.org> |
|
1205 |
|
1206 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
|
1207 Handle resizing. |
|
1208 |
|
1209 * intNDArray.h (intNDArray<T>:elt_type): New typedef. |
|
1210 |
5983
|
1211 2006-09-11 John W. Eaton <jwe@octave.org> |
|
1212 |
|
1213 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): |
|
1214 Handle M*v and rv*cv special cases. |
|
1215 * CMatrix.cc (operator * (const ComplexMatrix&, const |
|
1216 ComplexMatrix&))): Likewise. |
|
1217 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. |
|
1218 |
|
1219 * dRowVector.cc (operator * (const RowVector&, const |
|
1220 ColumnVector&)): Call xddot here instead of using a Fortran |
|
1221 function directly. |
|
1222 * CRowVector.cc (operator * (const ComplexRowVector&, const |
|
1223 ComplexColumnVector&)): Call xzdotu here. |
|
1224 |
|
1225 2006-09-05 John W. Eaton <jwe@octave.org> |
|
1226 |
|
1227 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare |
|
1228 elements to '\0', not ' '. |
|
1229 |
5972
|
1230 2006-08-25 John W. Eaton <jwe@octave.org> |
|
1231 |
|
1232 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. |
|
1233 |
5958
|
1234 2006-08-23 John W. Eaton <jwe@octave.org> |
|
1235 |
|
1236 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. |
|
1237 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. |
|
1238 |
5955
|
1239 2006-08-22 John W. Eaton <jwe@octave.org> |
|
1240 |
5956
|
1241 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
|
1242 * dMatrix.cc (Matrix::save_ascii): New function. |
|
1243 |
5955
|
1244 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
|
1245 If array is empty, return value is same size as array. |
|
1246 (MX_ND_REDUCTION): Correctly detect empty arrays. |
|
1247 If array is empty, produce correctly sized return value. |
|
1248 |
5940
|
1249 2006-08-18 John W. Eaton <jwe@octave.org> |
|
1250 |
5943
|
1251 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
|
1252 * dMatrix.h: Provide decl. |
|
1253 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. |
|
1254 * dNDArray.h: Provide decl. |
|
1255 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): |
|
1256 New function. |
|
1257 * intNDArray.h: Provide decl. |
|
1258 |
5940
|
1259 * Array.cc (Array<T>::permute): Only rearrange values if array is |
|
1260 not empty. |
|
1261 |
5904
|
1262 2006-07-26 John W. Eaton <jwe@octave.org> |
|
1263 |
|
1264 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, |
|
1265 DET::value_will_overflow): Use xlog2 instead of log2. |
|
1266 (DET::initialize2, DET::initialize10): Use xround instead of round. |
|
1267 (DET::initialize2, DET::value): Use xexp2 instead of exp2. |
|
1268 * CmplxDET.cc (ComplexDET::initialize10, |
|
1269 ComplexDET::value_will_underflow, |
|
1270 ComplexDET::value_will_overflow): Use xlog2 instead of log2. |
|
1271 (ComplexDET::initialize2, ComplexDET::initialize10): |
|
1272 Use xround instead of round. |
|
1273 (ComplexDET::initialize2, ComplexDET::value): |
|
1274 Use xexp2 instead of exp2. |
|
1275 |
|
1276 * lo-mappers.cc (M_LOG10E): Delete unused macro. |
|
1277 (xlog2, xexp2): New functions. |
|
1278 * lo-mappers.h: Provide decls. |
|
1279 |
5900
|
1280 2006-07-22 John W. Eaton <jwe@octave.org> |
|
1281 |
|
1282 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, |
|
1283 Sparse<T>::mex_get_jc): New functions. |
|
1284 |
|
1285 2006-07-21 John W. Eaton <jwe@octave.org> |
|
1286 |
|
1287 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. |
|
1288 * Array.h (Array<T>::mex_get_data): New function. |
|
1289 |
5898
|
1290 2006-07-19 John W. Eaton <jwe@octave.org> |
|
1291 |
|
1292 * oct-inttypes.h (octave_int::operator bool (void)): New function. |
|
1293 |
5893
|
1294 2006-07-16 John W. Eaton <jwe@octave.org> |
|
1295 |
|
1296 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): |
|
1297 Rename from SparseParams. Use same implementation method as other |
|
1298 singleton classes in Octave. Change all uses of |
|
1299 Voctave_sparse_controls to use static functions from |
|
1300 octave_sparse_params class instead. |
|
1301 |
|
1302 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, |
|
1303 SparseParams::get_key): Pass std::string arg by const reference, |
|
1304 not const value. |
|
1305 |
5892
|
1306 2006-07-15 John W. Eaton <jwe@octave.org> |
|
1307 |
|
1308 * data-conv.cc: Instantiante swap_bytes templates here. |
|
1309 |
|
1310 * MatrixType.cc (MatrixType::MatrixType): |
|
1311 Use complete initializer lists in constructors. |
|
1312 |
5880
|
1313 2006-07-06 John W. Eaton <jwe@octave.org> |
|
1314 |
|
1315 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): |
|
1316 New constructor. |
|
1317 * str-vec.h: Provide decl. |
|
1318 |
5876
|
1319 2006-07-01 David Bateman <dbateman@free.fr> |
|
1320 |
|
1321 * dSparse.cc (tinverse): Check for rows with no elements and zero |
|
1322 elements on the diagonal. Allow both Upper and Lower triangular |
|
1323 matrices to be treated. |
|
1324 * CSparse.cc (tinverse): ditto. |
|
1325 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit |
|
1326 constant assignment. |
|
1327 |
5870
|
1328 2006-06-30 John W. Eaton <jwe@octave.org> |
|
1329 |
5872
|
1330 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
|
1331 * cmd-edit.cc (editor::read_init_file): Ditto. |
|
1332 * dir-ops.cc (dir_entry::open): Ditto. |
5871
|
1333 * file-stat.cc (stat::update_internal): Ditto. |
5872
|
1334 * cmd-hist.cc (command_history::set_file): Ditto. |
5871
|
1335 |
5870
|
1336 * data-conv.cc (data_conv::string_to_data_type): |
|
1337 Correctly handle leading "*". |
|
1338 |
5869
|
1339 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
|
1340 |
|
1341 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds |
|
1342 array access. |
|
1343 |
5866
|
1344 2006-06-27 John W. Eaton <jwe@octave.org> |
|
1345 |
|
1346 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. |
|
1347 |
5864
|
1348 2006-06-21 John W. Eaton <jwe@octave.org> |
|
1349 |
|
1350 * oct-shlib.cc (octave_dlopen_shlib::close, |
|
1351 octave_shl_load_shlib::close, octave_w32_shlib::close): |
|
1352 Skip do_close_hook if cl_hook is 0. |
|
1353 |
5863
|
1354 2006-06-16 John W. Eaton <jwe@octave.org> |
|
1355 |
|
1356 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. |
|
1357 * randmtzig.h: Don't inlcude config.h. |
|
1358 |
5837
|
1359 2006-05-31 David Bateman <dbateman@free.fr> |
|
1360 |
|
1361 * Array.cc (assignN): Maybe reshape LHS before doing assignment. |
|
1362 |
5828
|
1363 2006-05-23 John W. Eaton <jwe@octave.org> |
|
1364 |
|
1365 * oct-types.h.in: Include stdint.h or inttypes.h for integer |
|
1366 typedefs, or define them if those files are not available. |
|
1367 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, |
|
1368 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, |
|
1369 octave_uint64_t): Delete typedefs. Replace all uses of these |
|
1370 types with int8_t, int16_t, etc. |
|
1371 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): |
|
1372 Delete definitions. Replace all uses of these macros with int8_t, |
|
1373 int16_t, etc. |
|
1374 * randmtzig.h: Delete integer typedefs. |
|
1375 |
5822
|
1376 2006-05-18 John W. Eaton <jwe@octave.org> |
|
1377 |
|
1378 * EIG.cc (EIG::init): Trap Inf and NaN values here. |
|
1379 From Keith Goodman <kwgoodman@gmail.com>. |
|
1380 |
5813
|
1381 2006-05-08 David Bateman <dbateman@free.fr> |
|
1382 |
|
1383 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous |
|
1384 modification. |
|
1385 |
5797
|
1386 2006-05-09 David Bateman <dbateman@free.fr> |
|
1387 |
|
1388 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, |
|
1389 ov-cx-sparse. and error_state. |
|
1390 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. |
|
1391 |
5795
|
1392 2006-05-08 David Bateman <dbateman@free.fr> |
|
1393 |
|
1394 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in |
|
1395 first pass and use to determine which algorithm to use on a |
|
1396 column-by-column basis. |
|
1397 |
5792
|
1398 2006-05-04 David Bateman <dbateman@free.fr> |
|
1399 |
|
1400 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
|
1401 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of |
|
1402 CXSparse or later |
|
1403 |
5785
|
1404 2006-05-03 David Bateman <dbateman@free.fr> |
|
1405 |
|
1406 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): |
|
1407 External declaration of lapack triangular and Cholesky codes. |
|
1408 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
|
1409 ComplexMatrix::fsolve): New private solver codes for |
|
1410 upper, lower and LU/Cholesky solvers. |
|
1411 (ComplexMatrix::solve): New versions for cached matrix |
|
1412 type. Adapt old versions to call new versions |
|
1413 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1414 new solvers. |
|
1415 (solve): New versions for cached matrix type. |
|
1416 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): |
|
1417 External declaration of lapack triangular and Cholesky codes. |
|
1418 (Matrix::utsolve, Matrix::ltsolve, |
|
1419 Matrix::fsolve): New private solver codes for |
|
1420 upper, lower and LU/Cholesky solvers. |
|
1421 (Matrix::solve): New versions for cached matrix |
|
1422 type. Adapt old versions to call new versions |
|
1423 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1424 new solvers. |
|
1425 (solve): New versions for cached matrix type. |
|
1426 * CSparse.cc: Replace all uses of SparseType with MatrixType. |
|
1427 * CSparse.h: ditto. |
|
1428 * dSparse.cc: ditto. |
|
1429 * dSparse.h: ditto. |
|
1430 * SparseCmplxCHOL.cc: ditto. |
|
1431 * SparsedbleCHOL.cc: ditto. |
|
1432 * sparse-dmsolve.cc: ditto. |
|
1433 * SparseType.cc, SparseType.h: delete. |
|
1434 * MatrixType.cc: New file for class to cache matrix type, based on |
|
1435 old SparseType class but caching matrix and sparse types. |
|
1436 * MatrixType.h: ditto. |
|
1437 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and |
|
1438 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc |
|
1439 respectively. |
|
1440 * mx-base.h: Include MatrixTye.h as header file. |
|
1441 |
5781
|
1442 2006-05-01 John W. Eaton <jwe@octave.org> |
|
1443 |
|
1444 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): |
|
1445 Delete WARN_FUTURE arg. Change all uses. |
|
1446 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. |
|
1447 Change all uses. Use current_liboctave_warning_with_id_handler. |
|
1448 (octave_base_shlib::open): Delete arg. Change all derived classes |
|
1449 and uses. |
|
1450 |
|
1451 2006-04-29 John W. Eaton <jwe@octave.org> |
|
1452 |
|
1453 * Array-flags.cc, Array-flags.h: Delete. |
|
1454 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. |
|
1455 (MATRIX_INC): Remove Array-flags.h from the list. |
|
1456 |
|
1457 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. |
|
1458 Use current_liboctave_warning_with_id_handler |
|
1459 with warning ID Octave:resize-on-range-error. |
|
1460 * idx-vector.h: Fix decl. |
|
1461 * Array.cc, Sparse.cc: Change all callers. |
|
1462 |
|
1463 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, |
|
1464 assign2, assignN): Use current_liboctave_warning_with_id_handler |
|
1465 with warning ID Octave:fortran-indexing instead of |
|
1466 liboctave_wfi_flag. |
|
1467 * Sparse.cc (assign, Sparse<T>::index): Likewise. |
|
1468 |
5777
|
1469 2006-04-26 John W. Eaton <jwe@octave.org> |
|
1470 |
|
1471 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): |
|
1472 New static data. |
|
1473 * pathsearch.h: Provide decls. |
|
1474 (dir_path::is_path_sep): New function. |
|
1475 |
5766
|
1476 2006-04-18 John W. Eaton <jwe@octave.org> |
|
1477 |
|
1478 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): |
|
1479 Omit inline from decl. |
|
1480 |
|
1481 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid |
|
1482 local array with variable dimension. |
|
1483 |
5764
|
1484 2006-04-16 John W. Eaton <jwe@octave.org> |
|
1485 |
5765
|
1486 * lo-sstream.h: Delete. |
|
1487 * Makefile.in (INCLUDES): Remove it from the list. |
|
1488 |
|
1489 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. |
|
1490 * Sparse.cc (Sparse::range_error): Likewise. |
|
1491 * DASSL.cc (DASSL::error_message): Likewise. |
|
1492 * LSODE.cc (LSODE::error_message): Likewise. |
|
1493 * DASRT.cc (DASRT::error_message): Likewise. |
|
1494 * DASPK.cc (DASPK::error_message): Likewise. |
|
1495 * Array.cc (Array::range_error): Likewise. |
|
1496 |
5764
|
1497 * kpse.cc (kpse_hash): Rename from hash. |
|
1498 (hash_lookup): Call kpse_hash instead of hash. |
|
1499 |
|
1500 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> |
|
1501 to avoid local array with variable dimension. |
|
1502 |
5760
|
1503 2006-04-13 David Bateman <dbateman@free.fr> |
|
1504 |
|
1505 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1506 Optimize assignment. |
|
1507 |
|
1508 2006-04-13 John W. Eaton <jwe@octave.org> |
|
1509 |
|
1510 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1511 Eliminate unnecessary casts. |
|
1512 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. |
|
1513 |
|
1514 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. |
|
1515 (log_search, dir_links): Use static_cast instead of C-style cast. |
|
1516 |
|
1517 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. |
|
1518 * oct-alloc.cc (allocator::grow): Likewise. |
|
1519 * CSparse.cc (SparseComplexMatrix::determinant, |
|
1520 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): |
|
1521 Likewise. |
|
1522 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. |
|
1523 |
|
1524 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): |
|
1525 Use static_cast instead of C-style cast. |
|
1526 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
1527 * dSparse.cc (SparseMatrix::fsolve): Likewise. |
|
1528 |
|
1529 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. |
|
1530 Use OCTAVE_LOCAL_BUFFER instead of new/delete. |
|
1531 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. |
|
1532 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): |
|
1533 Use reinterpret_cast instead of X_CAST. |
|
1534 |
|
1535 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast |
|
1536 return value here. |
|
1537 |
5752
|
1538 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
|
1539 |
|
1540 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. |
|
1541 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. |
|
1542 |
5730
|
1543 2006-04-03 David Bateman <dbateman@free.fr> |
|
1544 |
5731
|
1545 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
|
1546 to avoid copy of original matrix. |
|
1547 |
5730
|
1548 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
|
1549 randmtzig.h to the list. |
|
1550 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
|
1551 randmtzig.c to the list. |
|
1552 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
|
1553 (use_old_generators): New variable. |
|
1554 (old_initialized): Rename from initialized. |
|
1555 (new_initialized): New variable. |
|
1556 (oct_init_by_entropy): New function. |
|
1557 (maybe_initialize): Initialize new or old generator depending on |
|
1558 value of use_old_generators. |
|
1559 (octave_rand::state): New functions. |
|
1560 (octave_rand::distribution): Add gamma, exponential and poisson |
|
1561 distributions. |
|
1562 (octave_rand::exponential_distribution, |
|
1563 octave_rand::poisson_distribution, |
|
1564 octave_rand::gamma_distribution): New methods to select |
|
1565 exponential, poisson or gamma distribution. |
|
1566 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1567 octave_rand::vector): Add new distributions. |
|
1568 * oct-rand.h: Provide decls for new functions. |
|
1569 (octave_rand::matrix, octave_rand::scalar, octave_rand:: |
|
1570 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1571 octave_rand::vector): New arg A, for gamma and poisson distributions. |
|
1572 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, |
|
1573 randmtzig.h: New files. |
|
1574 |
5717
|
1575 2006-03-24 John W. Eaton <jwe@octave.org> |
|
1576 |
|
1577 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
|
1578 Array<octave_idx_type>, so fortran_vec returns pointer to |
|
1579 octave_idx_type, not pointer to int. |
|
1580 |
|
1581 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), |
|
1582 ComplexMatrix::column (char*)): Delete. |
|
1583 * dMatrix.cc, dMatrix.h (Matrix::row (char*), |
|
1584 Matrix::column (char*)): Delete. |
|
1585 |
5713
|
1586 2006-03-21 David Bateman <dbateman@free.fr> |
|
1587 |
|
1588 * SparseQR.h: Publish externally used friends. |
|
1589 * SparseCmplxQR.h: ditto. |
|
1590 |
5700
|
1591 2006-03-21 John W. Eaton <jwe@octave.org> |
|
1592 |
|
1593 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for |
|
1594 call to xdbetai. |
|
1595 |
5697
|
1596 2006-03-21 David Bateman <dbateman@free.fr> |
|
1597 |
5701
|
1598 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
|
1599 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. |
5700
|
1600 |
|
1601 * dSparse.cc (solve): Add argument singular_fallback, to allow |
|
1602 fallback to QR solvers to be optional. |
|
1603 * CSparse.cc (solve): Ditto. |
|
1604 * dSparse.h (solve): update declaration for new argument. |
|
1605 * CSparse.h (solve): Ditto. |
|
1606 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument |
|
1607 to bypass QR solvers when solving the well determined part of |
|
1608 the problem. |
5697
|
1609 |
5690
|
1610 2006-03-17 John W. Eaton <jwe@octave.org> |
|
1611 |
|
1612 * str-vec.cc (vector::list_in_columns): New optional arg, width. |
|
1613 |
5681
|
1614 2006-03-16 David Bateman <dbateman@free.fr> |
|
1615 |
|
1616 * CSparse.cc: Change use of nzmax to nnz to allow automatic |
|
1617 reduction of matrix size, except for a couple of cases where nzmax |
|
1618 is needed. |
|
1619 (zpbcon): Correct declaration of lapack zpbcon function. |
|
1620 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add |
|
1621 an argument to allow the calculation of condition number to be |
|
1622 optional. |
|
1623 (bsolve): Add code for the calculation of the condition number |
|
1624 using zpbcon and zgbcon. |
|
1625 (dsolve): Bug fix for rectangular matrices with sparse RHS. |
|
1626 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as |
|
1627 singular if singularity is detected. |
|
1628 (solve): Use optional argument to disable calculation of |
|
1629 condition number for all but fsolve, for speed. Add code to |
|
1630 allow rectnagular matrices or matrices identified as singular |
|
1631 to be treated. |
|
1632 (lssolve): delete. |
|
1633 (operator *): Don't recast real matrices as complex, but |
|
1634 rather use the macro directly on the real data. |
|
1635 * dSparse.cc: ditto. |
|
1636 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, |
|
1637 fsolve, factorize): Update declaration for new argument to |
|
1638 calculate the condition number. |
|
1639 (lssolve): delete. |
|
1640 * dSparse.h: ditto. |
|
1641 * Msparse.h: Change use of nxmax to nnz to allow automatic |
|
1642 reduction of matrix size, except for a couple of cases where |
|
1643 nzmax is needed. |
|
1644 * Sparse.cc: Change use of nxmax to nnz to allow automatic |
|
1645 reduction of matrix size, except for a couple of cases where |
|
1646 nzmax is needed. |
|
1647 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): |
|
1648 Special case strict permutations for speed. |
|
1649 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic |
|
1650 reduction of matrix size, except for a couple of cases where |
|
1651 nzmax is needed. |
|
1652 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update |
|
1653 macros to allow mixed complex/real arguments. |
|
1654 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero |
|
1655 value. |
|
1656 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
|
1657 * SparseType.cc (SparseType::SparseType ()): Correct detection |
|
1658 of permutated triangular matrices to avoid seg-faults. Disable |
|
1659 detection of underdetermined lower and over-determined upper |
|
1660 matrix due to problems with non minimum norm solutions. |
|
1661 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. |
|
1662 * Makefile.in: add sparse-dmsolve.cc to targets. |
|
1663 |
5675
|
1664 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
|
1665 |
|
1666 * oct-time.cc (octave_strptime::init): Return useful character count. |
|
1667 |
5648
|
1668 2006-03-08 David Bateman <dbateman@free.fr> |
|
1669 |
|
1670 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for |
|
1671 g++ 4.x stl_vector.h issue with C99 double _Complex type. |
|
1672 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. |
|
1673 * SparseQR.cc: ditto. |
|
1674 * SparseQR.h: ditto. |
|
1675 * oct-sparse.h: ditto. |
|
1676 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): |
|
1677 Declare info variable as volatile. |
|
1678 |
|
1679 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. |
|
1680 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. |
|
1681 |
5634
|
1682 2006-03-01 John W. Eaton <jwe@octave.org> |
|
1683 |
|
1684 * CMatrix.cc (ComplexMatrix::determinant): |
|
1685 Scale result by factors of 2, not 10. |
|
1686 * dMatrix.cc (Matrix::determinant): Likewise. |
|
1687 |
|
1688 * dbleDET.h (DET::DET): Use initializer list. |
|
1689 (DET::coefficient2, DET::coefficient10, DET::exponent2, |
|
1690 DET::exponent10): New functions. |
|
1691 (DET::det): Delete. |
|
1692 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. |
|
1693 Store value internally with double and int instead of 2-element |
|
1694 double vector. |
|
1695 (DET::initialize2, DET::initialize10): Provide decls. |
|
1696 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
|
1697 Return bool value, not int. |
|
1698 (DET::initialize2, DET::initialize10): New functions. |
|
1699 |
|
1700 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. |
|
1701 (ComplexDET::coefficient2, ComplexDET::coefficient10, |
|
1702 ComplexDET::exponent2, ComplexDET::exponent10): New functions. |
|
1703 (ComplexDET::det): Delete. |
|
1704 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, |
|
1705 ComplexDET::base2): New data members. |
|
1706 Store value internally with Complex and int instead of 2-element |
|
1707 Complex vector. |
|
1708 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. |
|
1709 * dbleComplexDET.cc (ComplexDET::value_will_overflow, |
|
1710 ComplexDET::value_will_underflow): Return bool value, not int. |
|
1711 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. |
|
1712 |
5632
|
1713 2006-02-24 John W. Eaton <jwe@octave.org> |
|
1714 |
|
1715 * Array.cc (assignN): Clear index before reshaping. |
|
1716 |
|
1717 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. |
|
1718 |
5630
|
1719 2006-02-20 David Bateman <dbateman@free.fr> |
|
1720 |
|
1721 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
|
1722 matrix must be square in diagonal, permuted diagonal, triangular |
|
1723 and permuted triangular back/forward substitution code. Change |
|
1724 ambiguous use of no. rows and columns. |
|
1725 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. |
|
1726 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), |
|
1727 SparseType::SparseType(const SparseComplexMatrix&)): Recognize |
|
1728 rectangular diagonal, permuted diagonal, triangular and permuted |
|
1729 triangular matrices. |
|
1730 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): |
|
1731 Treat case where third argument is zero. |
|
1732 |
5621
|
1733 2006-02-15 John W. Eaton <jwe@octave.org> |
|
1734 |
5622
|
1735 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
|
1736 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
|
1737 |
5621
|
1738 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
|
1739 |
5619
|
1740 2006-02-13 David Bateman <dbateman@free.fr> |
|
1741 |
|
1742 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, |
|
1743 ccolamd and cxsparse |
|
1744 |
5617
|
1745 2006-02-13 John W. Eaton <jwe@octave.org> |
|
1746 |
5618
|
1747 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
|
1748 while loop condition. |
|
1749 (kpse_path_iterator::operator =): Declare as private function but |
|
1750 don't define to prevent attempts to use assignment operator. |
|
1751 Don't define ST_NLINK_TRICK for Cygwin systems. |
5617
|
1752 |
5615
|
1753 2006-02-10 John W. Eaton <jwe@octave.org> |
|
1754 |
|
1755 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative |
|
1756 product of all dimensions in CP_SZ. |
|
1757 |
5611
|
1758 2006-02-09 John W. Eaton <jwe@octave.org> |
|
1759 |
|
1760 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative |
5615
|
1761 product of all dimensions in CP_SZ. |
5611
|
1762 |
5610
|
1763 2006-02-09 David Bateman <dbateman@free.fr> |
|
1764 |
|
1765 * SparseQR.cc: new file for real sparse QR class. |
|
1766 * SparseQR.h: declaration. |
|
1767 * SparseCmplxQR.cc: new file for complex sparse QR class. |
|
1768 * SparseCmplxQR.h: declaration. |
|
1769 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1770 (factorize, fsolve): Enable code code lssolve. |
|
1771 (lssolve): disable unused args, write based in above sparse QR class. |
|
1772 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1773 (factorize, fsolve): Enable code code lssolve. |
|
1774 (lssolve): disable unused args, write based in above sparse QR class. |
|
1775 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. |
|
1776 Include CXSparse headers. |
|
1777 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. |
|
1778 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. |
|
1779 |
5607
|
1780 2006-02-08 John W. Eaton <jwe@octave.org> |
|
1781 |
|
1782 * Array-util.h (calc_permutated_idx): Delete. |
|
1783 * Array.cc (permute_vector): New data structure. |
|
1784 (permute_vector_compare): New function. |
|
1785 (Array<T>::permute): Rewrite to avoid calc_permutated_index for |
|
1786 improved performance. |
|
1787 |
5606
|
1788 2006-02-04 David Bateman <dbateman@free.fr> |
|
1789 |
|
1790 * COLAMD: Remove all files, as now unused. |
|
1791 |
5604
|
1792 2006-01-31 John W. Eaton <jwe@octave.org> |
|
1793 |
|
1794 * Sparse.h (Sparse<T>::nzmax): New function. |
|
1795 (Sparse<T>::nnz): Rename from nonzero. |
|
1796 Change all uses of old nnz function to be nzmax. Change all uses |
|
1797 of nonzero to be nnz. |
|
1798 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. |
|
1799 |
5603
|
1800 2006-01-21 David Bateman <dbateman@free.fr> |
|
1801 |
|
1802 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
|
1803 (bool octave_idx_vector_comp): New function. |
|
1804 (template class octave_sort<octave_idx_vector_sort *>): Instantiate |
|
1805 indexed idx_vector sorting function. |
|
1806 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. |
|
1807 (class octave_idx_vector_sort): New class for indexed idx_vector |
|
1808 sorting. |
|
1809 (bool octave_idx_vector_comp): Declaration. |
|
1810 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of |
|
1811 unordered LHS indexes in assignment using new octave_idx_vector_sort |
|
1812 class. |
|
1813 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. |
|
1814 |
5602
|
1815 2006-01-30 John W. Eaton <jwe@octave.org> |
|
1816 |
|
1817 * so-array.h (streamoff_array::nnz): New funtion. |
|
1818 * boolNDArray.h (boolNDArray::nnz): New function. |
|
1819 * MArrayN.h (MArrayN<T>::nnz): New function. |
|
1820 * MArray.h (MArray<T>::nnz): New function. |
|
1821 |
5587
|
1822 2006-01-04 David Bateman <dbateman@free.fr> |
|
1823 |
|
1824 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in |
|
1825 elements not being sorted in return matrix. Sort them, and make |
|
1826 solver select between two algorithms to further improve the |
|
1827 performance. |
|
1828 * dSparse.cc: include oct-sort.h. |
|
1829 * CSparse.cc: ditto. |
|
1830 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. |
|
1831 |
5586
|
1832 2005-12-28 David Bateman <dbateman@free.fr> |
|
1833 |
5587
|
1834 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
|
1835 faster in all cases, and significantly so for low density or small |
|
1836 order problems. |
5586
|
1837 |
5552
|
1838 2005-11-30 John W. Eaton <jwe@octave.org> |
|
1839 |
|
1840 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork |
|
1841 before setting any values in either array. |
|
1842 |
5547
|
1843 2005-11-29 John W. Eaton <jwe@octave.org> |
|
1844 |
|
1845 * oct-uname.h, oct-uname.cc: New files. |
|
1846 * Makefile.in: Add them to the appropriate lists. |
|
1847 |
5535
|
1848 2005-11-11 John W. Eaton <jwe@octave.org> |
|
1849 |
|
1850 * Array.cc (Array<T>::indexN): Simplify. |
|
1851 |
5533
|
1852 2005-11-09 John W. Eaton <jwe@octave.org> |
|
1853 |
|
1854 * oct-inttypes.h (octave_int::operator char (void) const): |
|
1855 New conversion op. |
|
1856 |
5527
|
1857 2005-11-01 John W. Eaton <jwe@octave.org> |
|
1858 |
|
1859 * Makefile.in (distclean): Also remove oct-types.h. |
|
1860 From Quentin Spencer <qspencer@ieee.org>. |
|
1861 |
5526
|
1862 2005-10-31 David Bateman <dbateman@free.fr> |
|
1863 |
|
1864 * dSparse.cc, CSparse.cc: Use C++ true/false instead of |
|
1865 preprocessor defined TRUE/FALSE. |
|
1866 |
5523
|
1867 2005-10-30 John W. Eaton <jwe@octave.org> |
|
1868 |
|
1869 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. |
|
1870 (MX_ND_CUMULATIVE_OP): Likewise. |
|
1871 |
5519
|
1872 2005-10-29 John W. Eaton <jwe@octave.org> |
|
1873 |
5520
|
1874 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
|
1875 things up. Simplify. |
|
1876 |
5519
|
1877 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
|
1878 case for "vector_equivalent". |
|
1879 |
|
1880 * Array-util.cc (vector_equivalent): Arg is now dim_vector. |
|
1881 |
5518
|
1882 2005-10-28 John W. Eaton <jwe@octave.org> |
|
1883 |
|
1884 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. |
|
1885 From Quentin Spencer <qspencer@ieee.org>. |
|
1886 |
|
1887 * sparse-base-chol.cc: Use C++ true/false instead of |
|
1888 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. |
|
1889 |
5516
|
1890 2005-10-27 John W. Eaton <jwe@octave.org> |
|
1891 |
|
1892 * Array.cc (assignN): Reshape to final size instead of resizing. |
|
1893 |
5512
|
1894 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1895 |
|
1896 * oct-sparse.h: New file. |
|
1897 * oct-sparse.h.in: Delete. |
|
1898 |
5511
|
1899 2005-10-26 David Bateman <dbateman@free.fr> |
|
1900 |
|
1901 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD |
|
1902 * sparse-base-chol.cc: ditto. |
|
1903 |
5508
|
1904 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1905 |
|
1906 Changes for GCC 4.1, tip from Arno J. Klaassen |
|
1907 <arno@heho.snv.jussieu.fr>: |
|
1908 |
5509
|
1909 * dSparse.h (real (const SparseComplexMatrix&)): |
|
1910 Publish externally used friend function. |
|
1911 (imag (const SparseComplexMatrix&)): Likewise. |
|
1912 |
5508
|
1913 * dColVector.h (real (const ComplexColumnVector&)): |
|
1914 Publish externally used friend function. |
|
1915 (imag (const ComplexColumnVector&)): Likewise. |
|
1916 |
|
1917 * dNDArray.h (real (const ComplexNDArray&)): |
|
1918 Publish externally used friend function. |
|
1919 (imag (const ComplexNDArray&)): Likewise. |
|
1920 |
|
1921 * dMatrix.h (operator * (const ComplexMatrix&)): |
|
1922 Move decl outside class. No need to be friend. |
|
1923 (real (const ComplexMatrix&)): Publish externally used friend function. |
|
1924 (imag (const ComplexMatrix&)): Likewise. |
|
1925 |
|
1926 * CMatrix.h: (operator * (const ColumnVector&, const |
|
1927 ComplexRowVector&)): Move decl outside class. No need to be friend. |
|
1928 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. |
|
1929 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): |
|
1930 Likewise. |
|
1931 |
5506
|
1932 2005-10-23 David Bateman <dbateman@free.fr> |
|
1933 |
|
1934 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
|
1935 elements need to be removed. |
|
1936 |
|
1937 * oct-sparse.h.in: Include metis headers and some macros for long/int |
|
1938 versions of cholmod. |
|
1939 |
|
1940 * CSparse.cc (tinverse): New private function for the inversion of |
|
1941 an upper triangular matrix. |
|
1942 (dinverse): ditto for diagonal matrices. |
|
1943 (inverse): Add SparseType as an argument. Implement matrix inverse |
|
1944 using tinverse and dinverse. |
|
1945 (fsolve): Use cholmod to implement Cholesky solver. |
|
1946 * CSparse.h (tinverse, dinverse): Declarations |
|
1947 (inverse): Alter declaration to include SparseType. |
|
1948 |
|
1949 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. |
|
1950 * dSparse.h (tinverse, dinverse, inverse): ditto. |
|
1951 |
|
1952 * SparseType.cc: Fix complex constructor for hermitian matrices. |
|
1953 |
|
1954 * sparse-util.cc: New file for sparse utility functions. |
|
1955 * sparse-util.h: New file with declarations of sparse utility |
|
1956 functions. |
|
1957 |
|
1958 * sparse-base-chol.cc: New file with sparse cholesky class based |
|
1959 on cholmod. |
|
1960 * sparse-base-chol.h: New file with declaration of sparse cholesky |
|
1961 class based on cholmod. |
|
1962 |
|
1963 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. |
|
1964 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. |
|
1965 |
|
1966 * SparsedbleCHOL.cc: ditto. |
|
1967 * SparsedbleCHOL.h: ditto. |
|
1968 |
|
1969 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. |
|
1970 (INCLUDES): Include sparse-util.h |
|
1971 (TEMPLATE_SRC): Include sparse-base-chol.cc |
|
1972 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc |
|
1973 |
5489
|
1974 2005-10-12 John W. Eaton <jwe@octave.org> |
|
1975 |
|
1976 * oct-env.cc (octave_env::have_x11_display): New function. |
|
1977 * oct-env.h: Provide decl. |
|
1978 |
5476
|
1979 2005-09-29 John W. Eaton <jwe@octave.org> |
|
1980 |
|
1981 * file-stat.h (file_stat::mode): New function. |
|
1982 |
|
1983 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, |
|
1984 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
1985 file_stat::is_reg, file_stat::is_sock): New static functions. |
|
1986 * file-stat.h: Provide decls. |
|
1987 |
|
1988 2005-09-28 John W. Eaton <jwe@octave.org> |
|
1989 |
|
1990 * file-ops.cc (file_ops::recursive_rmdir): New function. |
|
1991 * file-ops.h: Provide decl. |
|
1992 |
5454
|
1993 2005-09-19 David Bateman <dbateman@free.fr> |
|
1994 |
|
1995 * oct-env.cc (octave_env::do_get_home_directory): |
|
1996 Also check HOMEDRIVE under mingw. |
|
1997 |
5455
|
1998 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
|
1999 |
5453
|
2000 2005-09-16 John W. Eaton <jwe@octave.org> |
|
2001 |
|
2002 * oct-syscalls.cc: Include lo-utils.h here. |
|
2003 (octave_syscalls::waitpid): Call octave_waitpid here. |
|
2004 |
|
2005 * lo-cutils.c (octave_waitpid): New function. |
|
2006 * lo-utils.h: Provide decl. Include syswait.h here, not in |
|
2007 oct-syscalls.cc |
|
2008 |
|
2009 |
|
2010 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining |
|
2011 waitpid in src/sysdep.h. Make this header C-compatible. |
|
2012 |
|
2013 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. |
|
2014 Change all uses. |
|
2015 |
5451
|
2016 2005-09-15 John W. Eaton <jwe@octave.org> |
|
2017 |
|
2018 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. |
|
2019 |
|
2020 * oct-sparse.h.in: New file. |
|
2021 * Makefile.in (DISTFILES): Include it in the list. |
|
2022 (INCLUDES): Add oct-sparse.h to the list. |
|
2023 |
|
2024 2005-09-15 David Bateman <dbateman@free.fr> |
|
2025 |
|
2026 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
|
2027 headers. Remove include of umfpack.h. |
|
2028 * CSparse.cc : ditto. |
|
2029 * SparsedbleLU.cc : ditto. |
|
2030 * SparseCmplxLU.cc : ditto. |
|
2031 |
|
2032 * COLAMD : Remove colamd files from octave. |
|
2033 * COLAMD.files : delete. |
|
2034 * COLAMD.README : delete. |
|
2035 * Makefile.in: Remove COLAMD. Add LIBGLOB. |
|
2036 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
|
2037 under mingw. |
|
2038 |
|
2039 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR |
|
2040 in definition. |
|
2041 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with |
|
2042 change of cast not allowed under g++ 3.x. |
|
2043 * lo-utils.h (octave_w32_library_search): Declaration. |
|
2044 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. |
|
2045 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. |
|
2046 |
5442
|
2047 2005-09-07 John W. Eaton <jwe@octave.org> |
|
2048 |
|
2049 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update |
|
2050 based on current code in Bash. Handle a few more escape |
|
2051 sequences. Do a better job of decoding \W. |
|
2052 |
5438
|
2053 2005-09-04 David Bateman <dbateman@free.fr> |
|
2054 |
|
2055 * COLAMD: Update version of colamd to v2.4. |
|
2056 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
2057 colamd.c for long version. |
|
2058 |
5429
|
2059 2005-08-25 David Bateman <dbateman@free.fr> |
|
2060 |
|
2061 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
2062 mixed sparse/full multiply. |
|
2063 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
2064 mixed sparse/full multiply. |
|
2065 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
2066 mixed sparse/full multiply operators. |
|
2067 |
5420
|
2068 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
2069 |
|
2070 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
2071 avoid warnings for unsigned types. |
|
2072 |
5404
|
2073 2005-07-07 John W. Eaton <jwe@octave.org> |
|
2074 |
|
2075 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
2076 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
2077 |
5392
|
2078 2005-06-15 John W. Eaton <jwe@octave.org> |
|
2079 |
5394
|
2080 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
2081 Flush stdout here. |
|
2082 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
2083 |
5392
|
2084 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
2085 |
5386
|
2086 2005-06-14 John W. Eaton <jwe@octave.org> |
|
2087 |
5389
|
2088 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
2089 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
2090 octave_is_NaN_or_NA to xisnan. |
|
2091 |
|
2092 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
2093 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
2094 |
|
2095 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
2096 lo_ieee_isnan. |
|
2097 |
5387
|
2098 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
2099 value is greater than FLT_MAX. |
|
2100 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2101 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
2102 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
2103 |
|
2104 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
2105 values too. |
|
2106 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
2107 |
|
2108 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
2109 NA, Inf values. |
|
2110 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
2111 |
5385
|
2112 2005-06-14 David Bateman <dbateman@free.fr> |
|
2113 |
5387
|
2114 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
2115 NA values. |
|
2116 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
2117 |
5379
|
2118 2005-06-02 John W. Eaton <jwe@octave.org> |
|
2119 |
|
2120 * Array.cc (assignN): Try harder to correctly resize previously |
|
2121 empty LHS. |
|
2122 |
5351
|
2123 2005-05-16 David Bateman <dbateman@free.fr> |
|
2124 |
|
2125 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
2126 * CSparse.h: ditto. |
|
2127 |
5346
|
2128 2005-05-10 David Bateman <dbateman@free.fr> |
|
2129 |
|
2130 * dSparse.cc (determinant): Free numeric factorization after |
|
2131 sucessful calculation. |
|
2132 * CSparse.cc (determinant): ditto. |
|
2133 |
5340
|
2134 2005-05-06 John W. Eaton <jwe@octave.org> |
|
2135 |
|
2136 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
2137 chol_mat. |
|
2138 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
2139 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
2140 Provide decls. |
|
2141 |
|
2142 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
2143 indexing chol_mat. |
|
2144 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
2145 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
2146 Provide decls. |
|
2147 |
5338
|
2148 2005-05-05 John W. Eaton <jwe@octave.org> |
|
2149 |
|
2150 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
2151 retval before return. |
|
2152 |
5336
|
2153 2005-05-04 John W. Eaton <jwe@octave.org> |
|
2154 |
|
2155 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
2156 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
2157 |
5330
|
2158 2005-05-02 John W. Eaton <jwe@octave.org> |
|
2159 |
|
2160 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
2161 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
2162 |
5322
|
2163 2005-04-29 David Bateman <dbateman@free.fr> |
|
2164 |
5330
|
2165 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
2166 double. Correct indexing for upper diagonal elements for sparse |
|
2167 tridiagonal. |
5322
|
2168 * CSparse.cc (trisolve): ditto. |
|
2169 |
5330
|
2170 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
2171 UMFPACK for 64-bit. |
5322
|
2172 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
2173 UMFPACK_ZNAME(*). |
|
2174 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
2175 |
5330
|
2176 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
2177 UMFPACK for 64-bit. |
5322
|
2178 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
2179 UMFPACK_DNAME(*). |
|
2180 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
2181 |
5330
|
2182 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
2183 triangular back/forward substitution code. |
5322
|
2184 * CSparse.cc (ltsolve, utsolve): ditto. |
|
2185 |
5330
|
2186 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
2187 from spparms("spumoni",1). |
5322
|
2188 * CSparse.cc (solve): ditto |
|
2189 |
5330
|
2190 * SparseType.cc (SparseType(void)): Print info for |
|
2191 spparms("spumoni",1). |
5322
|
2192 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
2193 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
2194 const octave_idx_type, const octave_idx_type)): New constructors. |
|
2195 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
2196 Detect row permuted lower triangular and column permuted upper |
|
2197 triangular matrices. Remove one of the permutation vectors.. |
5322
|
2198 |
|
2199 * SparseType.h: Simplify the permutation code. |
|
2200 (SparseType(const matrix_type), SparseType |
|
2201 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
2202 SparseType(const matrix_type, const octave_idx_type, |
|
2203 const octave_idx_type)): Declarations. |
|
2204 |
5304
|
2205 2005-04-25 John W. Eaton <jwe@octave.org> |
|
2206 |
|
2207 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
2208 array and its contents. |
|
2209 |
5303
|
2210 2005-04-22 John W. Eaton <jwe@octave.org> |
|
2211 |
|
2212 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
2213 const here now that rl_terminal_name is declared const char*. |
|
2214 |
5294
|
2215 2005-04-21 John W. Eaton <jwe@octave.org> |
|
2216 |
|
2217 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
2218 |
5285
|
2219 2005-04-19 John W. Eaton <jwe@octave.org> |
|
2220 |
|
2221 * Array.cc (assignN): Don't crash if the index list is empty. |
|
2222 |
5282
|
2223 2005-04-14 David Bateman <dbateman@free.fr> |
|
2224 |
|
2225 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
2226 * SparsedbleLU.cc: Ditto. |
|
2227 * SparseCmplxLU.h: Definition. |
|
2228 * SparsedbleLU.h: ditto. |
|
2229 |
|
2230 * SparseType.cc (transpose): New function. |
|
2231 * SparseType.h (transpose): Definition. |
|
2232 |
5278
|
2233 2005-04-11 John W. Eaton <jwe@octave.org> |
|
2234 |
|
2235 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
2236 fortran code that could end up calling XSTOPX. |
|
2237 |
5277
|
2238 2005-04-10 David Bateman <dbateman@free.fr> |
|
2239 |
|
2240 * Makefile.in: include oct-types in INCLUDES so that it is |
|
2241 installed |
|
2242 |
5275
|
2243 2005-04-08 John W. Eaton <jwe@octave.org> |
|
2244 |
5276
|
2245 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
2246 |
5275
|
2247 * Initial merge of 64-bit changes from Clinton Chee: |
|
2248 |
|
2249 2005-04-07 John W. Eaton <jwe@octave.org> |
|
2250 |
|
2251 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
2252 |
|
2253 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
2254 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
2255 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
2256 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
2257 Use octave_idx_type instead of int where needed. |
|
2258 |
|
2259 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2260 |
|
2261 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
2262 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2263 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2264 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
2265 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
2266 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2267 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
2268 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
2269 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
2270 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
2271 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
2272 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
2273 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
2274 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
2275 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
2276 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
2277 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
2278 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
2279 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
2280 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
2281 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
2282 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
2283 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
2284 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
2285 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
2286 str-vec.cc, str-vec.h: |
|
2287 Use octave_idx_type instead of int where needed. |
|
2288 |
|
2289 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2290 |
|
2291 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
2292 |
|
2293 * oct-types.h.in: New file. |
|
2294 |
|
2295 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2296 |
|
2297 * lo-utils.cc (NINTbig): New function. |
|
2298 * lo-utils.h: Provide decl. |
|
2299 |
5269
|
2300 2005-04-06 David Bateman <dbateman@free.fr> |
|
2301 |
|
2302 * Makefile.in: Link to UMFPACK_LIBS. |
|
2303 |
5265
|
2304 2005-04-05 John W. Eaton <jwe@octave.org> |
|
2305 |
|
2306 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
2307 |
5264
|
2308 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2309 |
|
2310 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
2311 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
2312 when resizing A. When performing the assignment, just check that |
|
2313 the number of elements in RHS matches the number of elements |
|
2314 indexed by IDX-LIST. |
|
2315 |
5260
|
2316 2005-03-30 John W. Eaton <jwe@octave.org> |
|
2317 |
5261
|
2318 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
2319 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
2320 |
|
2321 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
2322 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
2323 wrappers from oct-cmplx.h. |
5260
|
2324 |
|
2325 * oct-cmplx.h: Provide typedef only. |
|
2326 |
|
2327 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
2328 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
2329 Likewise. |
|
2330 |
5247
|
2331 2005-03-26 John W. Eaton <jwe@octave.org> |
|
2332 |
|
2333 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
2334 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
2335 |
5209
|
2336 2005-03-15 John W. Eaton <jwe@octave.org> |
|
2337 |
|
2338 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
2339 |
5203
|
2340 2005-03-14 John W. Eaton <jwe@octave.org> |
|
2341 |
|
2342 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
2343 (DISTDIRS): Don't include UMFPACK. |
|
2344 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
2345 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
2346 flags for these files. |
|
2347 Don't include include $(srcdir)/UMFPACK.files. |
|
2348 Don't include include $(srcdir)/UMFPACK.rules. |
|
2349 |
|
2350 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
2351 Delete files. |
|
2352 * UMFPACK: Delete directory tree. |
|
2353 |
|
2354 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
2355 * CSparse.cc: Likewise. |
|
2356 * SparsedbleLU.cc: Likewise. |
|
2357 * SparseCmplxLU.cc: Likewise. |
|
2358 |
|
2359 2005-03-14 David Bateman <dbateman@free.org> |
|
2360 |
|
2361 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
2362 Allow compilation to succeed if UMFPACK is not available. |
|
2363 |
5196
|
2364 2005-03-09 John W. Eaton <jwe@octave.org> |
|
2365 |
|
2366 * Makefile.in (bin-dist): Delete target. |
|
2367 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
2368 |
5173
|
2369 2005-03-01 John W. Eaton <jwe@octave.org> |
|
2370 |
|
2371 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
2372 * Makefile.in: Remove them from the lists. |
|
2373 |
5169
|
2374 2005-02-28 John W. Eaton <jwe@octave.org> |
|
2375 |
|
2376 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
2377 |
5167
|
2378 2005-02-27 David Bateman <dbateman@free.org> |
|
2379 |
5169
|
2380 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
2381 in the sparse matrix. |
5167
|
2382 |
5164
|
2383 2005-02-25 John W. Eaton <jwe@octave.org> |
|
2384 |
|
2385 Sparse merge. |
|
2386 |
|
2387 2005-02-13 David Bateman <dbateman@free.fr> |
|
2388 |
|
2389 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
2390 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
2391 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
2392 solver into separate functions for the diagonal, upper, lower |
|
2393 triangular, tridiagonal, banded and full cases. |
|
2394 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
2395 version that probes the matrix type and another that assumes the type |
|
2396 is passed. |
|
2397 |
|
2398 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
2399 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
2400 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
2401 (SparseMatrix::solve): Likewise |
|
2402 |
|
2403 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2404 Declaration of new functions |
|
2405 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2406 Likewise |
|
2407 |
|
2408 * CSparse.cc (operator !): Reverse the sense of the test. |
|
2409 * dSpase.cc (operator !): Likewise |
|
2410 |
|
2411 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2412 triangular_col_perm, sparse_info): Remove matrix type code |
|
2413 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2414 triangular_col_perm, sparse_info): Likewise |
|
2415 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2416 triangular_col_perm, sparse_info): Likewise |
|
2417 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2418 triangular_col_perm, sparse_info): Likewise |
|
2419 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2420 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
2421 |
|
2422 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
2423 |
|
2424 * SparseType.h: New class for the matrix type used in solvers |
|
2425 * SparseType.cc: methods of sparse matrix type class |
|
2426 |
|
2427 * Makefile.in: Add SparseType.cc |
|
2428 |
|
2429 2005-02-01 David Bateman <dbateman@free.fr> |
|
2430 |
|
2431 * UMFPACK: Update to version 4.4 |
|
2432 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
2433 keep octave specific test files |
|
2434 |
|
2435 2005-01-23 David Bateman <dbateman@free.fr> |
|
2436 |
|
2437 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
2438 tridiagonal and banded cholesky solvers. Remove calculation of |
|
2439 condition number for banded solvers. |
|
2440 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
2441 |
|
2442 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
2443 new functions. |
|
2444 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2445 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2446 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2447 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
2448 ditto |
|
2449 |
|
2450 * Sparse.cc (int Sparse<T>::type (int) const, |
|
2451 bool Sparse<T>::is_dense (void) const): New functions definition |
|
2452 |
|
2453 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
2454 so it actually is cached, but disable |
|
2455 |
|
2456 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
2457 for compatiability |
|
2458 |
|
2459 2005-01-18 David Bateman <dbateman@free.fr> |
|
2460 |
|
2461 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2462 Modify calculation of number elements to skip between copied blocks. |
|
2463 |
|
2464 2005-01-07 David Bateman <dbateman@free.fr> |
|
2465 |
|
2466 * Sparse.h : Reverse definitions of numel and nelem. |
|
2467 * Sparse.cc (assign1): Use numel and not nelem |
|
2468 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
2469 |
|
2470 2005-01-07 David Bateman <dbateman@free.fr> |
|
2471 |
|
2472 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
2473 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
2474 ComplexDET |
|
2475 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
2476 by DET |
|
2477 * dSparse.h (determinant): ditto |
|
2478 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
2479 SparseComplexDET by ComplexDET |
|
2480 * CSparse.h (determinant): ditto |
|
2481 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
2482 SparseCmplxDET.cc: delete files |
|
2483 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
2484 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
2485 |
|
2486 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
2487 local variable to avoid variable shadowing. |
|
2488 * dSparse.cc (SparseMatrix::solve): ditto. |
|
2489 |
|
2490 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
2491 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
2492 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
2493 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
2494 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
2495 sparse-sort.h: Remove additional licensing clause with authors |
|
2496 permission. |
|
2497 |
|
2498 2004-12-30 John W. Eaton <jwe@octave.org> |
|
2499 |
|
2500 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
2501 Loop counter is int, not size_t. |
|
2502 |
|
2503 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
2504 |
|
2505 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
2506 |
|
2507 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
2508 Delete unused variables. |
|
2509 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
2510 variables and variables that might be clobbered by longjmp. |
|
2511 |
|
2512 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
2513 min, max): Delete unused variables. |
|
2514 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
2515 variables and variables that might be clobbered by longjmp. |
|
2516 |
|
2517 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
2518 |
|
2519 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
2520 Loop counter is int, not size_t. |
|
2521 |
|
2522 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
2523 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
2524 |
|
2525 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
2526 lists consistently. |
|
2527 |
|
2528 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
2529 |
|
2530 2004-12-29 John W. Eaton <jwe@octave.org> |
|
2531 |
|
2532 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
2533 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
2534 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
2535 $(UMFPACK_EXTRAS) to the list. |
|
2536 (DISTDIRS): New variable. |
|
2537 (dist): Handle $(DISTDIRS). |
|
2538 |
|
2539 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
2540 Andy Adler <adler@site.uottawa.ca>. |
|
2541 |
|
2542 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
2543 |
|
2544 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
2545 without directory prefix. |
|
2546 |
|
2547 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
2548 $(UMFPACK_OBJ) to the list. |
|
2549 |
|
2550 * COLAMD: New directory. |
|
2551 * COLAMD.files: New file. |
|
2552 * Makefile.in: Include COLAMD.files. |
|
2553 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
2554 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
2555 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
2556 |
|
2557 * UMFPACK: New directory. |
|
2558 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
2559 New files. |
|
2560 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
2561 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
2562 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
2563 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
2564 |
|
2565 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
2566 (INCLUDES): Add it to the list. |
|
2567 (SPARSE_MX_OP_SRC): New variable. |
|
2568 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
2569 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2570 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2571 |
|
2572 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
2573 * Makefile.in (DISTFILES): Add them to the lists. |
|
2574 |
|
2575 * oct-spparms.h, sparse-sort.h: New files. |
|
2576 * Makefile.in (INCLUDES): Add them to the list. |
|
2577 |
|
2578 * oct-spparms.cc, sparse-sort.cc: New files. |
|
2579 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
2580 |
|
2581 * sparse-base-lu.cc: New file. |
|
2582 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
2583 |
|
2584 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
2585 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
2586 SparsedbleLU.cc: New files. |
|
2587 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
2588 |
|
2589 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
2590 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
2591 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
2592 Sparse-op-defs.h: New files. |
|
2593 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
2594 |
|
2595 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
2596 Sparse-C.cc: New files. |
|
2597 * Makefile.in (TI_SRC): Add them to the list. |
|
2598 |
5149
|
2599 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2600 |
|
2601 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
2602 Pass current directory to octave_env::make_absolute. |
|
2603 Save value returned from octave_env::make_absolute in local var. |
|
2604 Pass const char*, not std::string as first arg of resolvepath. |
|
2605 Provide decl for resolved_len. |
|
2606 |
5148
|
2607 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2608 |
|
2609 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
2610 than number of dimenensions of permuted matrix. |
|
2611 |
|
2612 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
2613 * Array-util.cc (calc_permutated_idx): Likewise. |
|
2614 |
5139
|
2615 2005-02-10 David Bateman <dbateman@free.fr> |
|
2616 |
|
2617 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
2618 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
2619 |
5137
|
2620 2005-02-09 John W. Eaton <jwe@octave.org> |
|
2621 |
5138
|
2622 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
2623 * file-ops.h: Provide decls. |
|
2624 |
5137
|
2625 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
2626 |
5136
|
2627 2005-02-08 John W. Eaton <jwe@octave.org> |
|
2628 |
|
2629 * Array-util.cc (freeze): Improve error message. |
|
2630 |
5120
|
2631 2005-01-26 David Bateman <dbateman@free.fr> |
|
2632 |
5121
|
2633 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
2634 special case for fast concatenation. |
5120
|
2635 |
5110
|
2636 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2637 |
|
2638 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
2639 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
2640 |
|
2641 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
2642 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
2643 |
5108
|
2644 2005-01-18 David Bateman <dbateman@free.fr> |
|
2645 |
|
2646 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2647 Modify calculation of number elements to skip between copied blocks. |
|
2648 |
|
2649 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2650 |
|
2651 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
2652 error handler, to warn about resizing. |
|
2653 |
5105
|
2654 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
2655 |
|
2656 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
2657 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
2658 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
2659 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2660 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
2661 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
2662 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
2663 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
2664 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
2665 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
2666 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
2667 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
2668 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
2669 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
2670 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
2671 Delete #pragma implementation. |
|
2672 |
|
2673 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
2674 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
2675 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
2676 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
2677 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
2678 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
2679 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
2680 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
2681 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
2682 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2683 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
2684 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
2685 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
2686 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
2687 Delete #pragma interface. |
|
2688 |
5098
|
2689 2004-12-17 John W. Eaton <jwe@octave.org> |
|
2690 |
|
2691 * lo-cieee.c (lo_ieee_signbit): New function. |
|
2692 * lo-ieee.h: Provide decl. |
|
2693 Don't define lo_ieee_signbit as a macro here. |
|
2694 From Orion Poplawski <orion@cora.nwra.com>. |
|
2695 |
5085
|
2696 2004-11-18 John W. Eaton <jwe@octave.org> |
|
2697 |
|
2698 * int32NDArray.cc (pow): Delete instantiation. |
|
2699 * int16NDArray.cc (pow): Likewise. |
|
2700 * int8NDArray.cc (pow): Likewise. |
|
2701 * uint32NDArray.cc (pow): Likewise. |
|
2702 * uint16NDArray.cc (pow): Likewise. |
|
2703 * uint8NDArray.cc (pow): Likewise. |
|
2704 |
5081
|
2705 2004-11-17 John W. Eaton <jwe@octave.org> |
|
2706 |
5085
|
2707 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
2708 Now static. |
|
2709 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
2710 DEFAULT_TEXMFDBS): Delete unused macros. |
|
2711 |
5081
|
2712 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
2713 if idx_arg is N-d. |
|
2714 |
5073
|
2715 2004-11-09 David Bateman <dbateman@free.fr> |
|
2716 |
|
2717 * dNDArray.cc (concat): Delete. |
|
2718 (NDArray::concat): New methods. |
|
2719 * dNDArray.h: Provide decls. |
|
2720 |
|
2721 * CNDArray.cc (concat): Delete. |
|
2722 (ComplexNDArray::concat): New methods. |
|
2723 * CNDArray.h: Provide decls. |
|
2724 |
|
2725 * boolNDArray.cc (concat): Delete. |
|
2726 (boolNDArray::concat): New methods. |
|
2727 * boolNDArray.h: Provide decls. |
|
2728 |
|
2729 * chNDArray.cc (concat): Delete. |
|
2730 (charNDArray::concat): New methods. |
|
2731 * chNDArray.h: Provide decls. |
|
2732 |
|
2733 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
2734 Delete macros. |
|
2735 |
|
2736 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2737 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2738 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
2739 |
|
2740 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
2741 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2742 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
2743 |
|
2744 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
2745 * intNDArray.h: Provide decl. |
|
2746 |
5072
|
2747 2004-11-08 John W. Eaton <jwe@octave.org> |
|
2748 |
|
2749 * oct-inttypes.cc: New file. |
|
2750 * Makefile.in (TI_SRC): Add it to the list. |
|
2751 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
2752 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
2753 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
2754 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
2755 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
2756 New macros for comparison operations. Avoid potential |
|
2757 problems with default conversions when comparing signed and |
|
2758 unsigned values. |
|
2759 |
5061
|
2760 2004-11-03 John W. Eaton <jwe@octave.org> |
|
2761 |
|
2762 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
2763 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
2764 |
5052
|
2765 2004-10-19 John W. Eaton <jwe@octave.org> |
|
2766 |
|
2767 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
2768 |
5047
|
2769 2004-10-18 John W. Eaton <jwe@octave.org> |
|
2770 |
|
2771 * Array.cc (assign2): Save result of squeeze operation. |
|
2772 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
2773 |
5095
|
2774 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
2775 |
|
2776 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
2777 flag whether transform in- or out-of-place. |
|
2778 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
2779 (octave_fftw_planner::create_plan): Use it. |
|
2780 |
5039
|
2781 2004-09-24 John W. Eaton <jwe@octave.org> |
|
2782 |
|
2783 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
2784 any empty matrix, not just []. |
|
2785 |
5030
|
2786 2004-09-23 John W. Eaton <jwe@octave.org> |
|
2787 |
|
2788 * mx-ops: Include scalar zero value in type definitions. |
|
2789 Delete zero information from ops section. |
|
2790 * mk-ops.awk: Use type-specific zero info. |
|
2791 |
|
2792 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
2793 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
2794 LHS and RHS. |
|
2795 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
2796 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
2797 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
2798 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
2799 |
|
2800 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
2801 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
2802 tree_to_mat_idx. |
|
2803 |
|
2804 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
2805 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
2806 Likewise for the "if (b_val & one)" test. |
|
2807 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
2808 |
5029
|
2809 2004-09-23 David Bateman <dbateman@free.fr> |
|
2810 |
|
2811 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
2812 New macros. Use them to define mixed intX-double and double-intX ops. |
|
2813 |
5021
|
2814 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
2815 |
|
2816 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
2817 Fix doc string layout to avoid overfull hbox in printed output. |
|
2818 |
5015
|
2819 2004-09-21 John W. Eaton <jwe@octave.org> |
|
2820 |
|
2821 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
2822 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
2823 For "native", set actual native format. |
|
2824 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
2825 |
5008
|
2826 2004-09-17 David Bateman <dbateman@free.fr> |
|
2827 |
|
2828 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
2829 calculation of the unitary matrix optional. |
|
2830 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
2831 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
2832 |
4998
|
2833 2004-09-15 David Bateman <dbateman@free.fr> |
|
2834 |
|
2835 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
2836 New function to set the comparison function for the sort. |
|
2837 |
4985
|
2838 2004-09-10 John W. Eaton <jwe@octave.org> |
|
2839 |
|
2840 * lo-mappers.cc (xround): Fix typo. |
|
2841 |
4979
|
2842 2004-09-08 John W. Eaton <jwe@octave.org> |
|
2843 |
|
2844 * Array.h (Array::~Array): Declare virtual. |
|
2845 |
|
2846 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
2847 initializaion list. Don't set rep->count since the rep |
|
2848 constructor does that. |
|
2849 |
4968
|
2850 2004-09-07 John W. Eaton <jwe@octave.org> |
|
2851 |
4970
|
2852 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
2853 (oct_data_conv::data_type_as_string): Likewise. |
|
2854 |
|
2855 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
2856 |
4968
|
2857 * Range.cc (round): Delete unused function. |
|
2858 |
|
2859 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
2860 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
2861 |
|
2862 * oct-inttypes.h: Include <cmath> here. |
|
2863 |
4964
|
2864 2004-09-03 David Bateman <dbateman@free.fr> |
|
2865 |
|
2866 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
2867 New functions for boolean matrix concatenation. |
|
2868 * boolNDArray.h: Provide decls. |
|
2869 |
4963
|
2870 2004-09-03 John W. Eaton <jwe@octave.org> |
|
2871 |
4964
|
2872 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
2873 to avoid signed/unsigned int comparison problems. |
|
2874 |
|
2875 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
2876 for mixed integer and double types. |
|
2877 |
|
2878 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
2879 separately, and only if needed. |
|
2880 |
4963
|
2881 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
2882 static_cast for type conversion. |
|
2883 |
4953
|
2884 2004-09-01 John W. Eaton <jwe@octave.org> |
|
2885 |
|
2886 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
2887 operator /): Handle mixed integer/double ops. If op generates a |
|
2888 NaN, set result to 0. |
|
2889 (octave_int::operator - (void)): Convert to double, then negate, |
|
2890 then fit to range. |
|
2891 |
|
2892 * mx-ops: Define integer types. Include declarations for mixed |
|
2893 integer/double ops. |
|
2894 |
4952
|
2895 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2896 |
|
2897 * oct-inttypes.h (pow): Args now const reference. |
|
2898 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
2899 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
2900 New member functions. |
|
2901 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
2902 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
2903 Define in terms of >>=. |
|
2904 (operator << (const octave_int<T1>& x, const T2& y)): |
|
2905 Define in terms of <<=. |
|
2906 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
2907 we get proper saturation properties. |
|
2908 |
|
2909 2004-08-31 David Bateman <dbateman@free.fr> |
|
2910 |
|
2911 * oct-inttypes.h (pow (constT, T)): New template. |
|
2912 |
|
2913 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
2914 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
2915 |
4949
|
2916 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2917 |
|
2918 * oct-inttypes.h (octave_int::byte_size): New function. |
|
2919 |
4944
|
2920 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2921 |
4946
|
2922 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
2923 |
4944
|
2924 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
2925 Explicitly number enum elements. |
|
2926 |
|
2927 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
2928 std::string&, int&, oct_data_conv::data_type&, |
|
2929 oct_data_conv::data_type&)): New function. |
|
2930 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
2931 oct_data_conv::data_type&)): New function. |
|
2932 (oct_data_conv::data_type_as_string): New function. |
|
2933 |
|
2934 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
2935 (write_int, do_write, Matrix::write): Delete. |
|
2936 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
2937 |
|
2938 * byte-swap.h: Use template functions and specialization. |
|
2939 Change all uses. |
|
2940 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2941 |
4943
|
2942 2004-08-30 John W. Eaton <jwe@octave.org> |
|
2943 |
|
2944 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
2945 specializations to avoid warnings about signed/unsigned comparisons. |
|
2946 |
|
2947 2004-08-28 John W. Eaton <jwe@octave.org> |
|
2948 |
|
2949 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
2950 size_t, int, oct_mach_info::float_format)): New function. |
|
2951 (GET_SIZED_INT_TYPE): New macro. |
|
2952 (string_to_data_type): Use it to return sized types corresponding |
|
2953 to Octave array data types. |
|
2954 (strip_spaces): New function. |
|
2955 (do_double_format_conversion, do_float_format_conversion): Pass |
|
2956 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
2957 float format. |
|
2958 (do_double_format_conversion, |
|
2959 IEEE_big_double_to_IEEE_little_double, |
|
2960 VAX_D_double_to_IEEE_little_double, |
|
2961 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
2962 IEEE_little_double_to_IEEE_big_double, |
|
2963 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
2964 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
2965 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
2966 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
2967 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
2968 Cray_to_VAX_G_double): |
|
2969 Pass data as void*, not double*. |
|
2970 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
2971 VAX_D_float_to_IEEE_little_float, |
|
2972 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
2973 IEEE_little_float_to_IEEE_big_float, |
|
2974 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
2975 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
2976 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
2977 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
2978 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
2979 Cray_to_VAX_G_float): |
|
2980 Pass data as void*, not float*. |
|
2981 |
|
2982 2004-08-27 John W. Eaton <jwe@octave.org> |
|
2983 |
|
2984 * byte-swap.h (swap_bytes): New template versions, with |
|
2985 specializations. |
|
2986 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2987 Change all uses. |
|
2988 |
4940
|
2989 2004-08-24 David Bateman <dbateman@free.fr> |
|
2990 |
|
2991 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
2992 empty instead of checking final matrix. |
|
2993 * dNDArray.cc (concat): Likewise. |
|
2994 * CNDArray.cc (concat): Likewise. |
|
2995 |
|
2996 2004-08-23 David Bateman <dbateman@free.fr> |
|
2997 |
|
2998 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
2999 non-existent dimensions. |
|
3000 |
4938
|
3001 2004-08-09 John W. Eaton <jwe@octave.org> |
|
3002 |
|
3003 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
3004 (const octave_int<U>&)): New member function. |
|
3005 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
3006 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
3007 Now member functions instead of static in idx-vector.cc. |
|
3008 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
3009 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
3010 New template constructors. |
|
3011 |
4932
|
3012 2004-08-05 John W. Eaton <jwe@octave.org> |
|
3013 |
4933
|
3014 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
3015 |
4932
|
3016 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
3017 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
3018 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
3019 |
4929
|
3020 2004-08-03 John W. Eaton <jwe@octave.org> |
|
3021 |
|
3022 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
3023 arrays with more than two dimensions and only one non-singleton |
|
3024 dimension, return a column vector. |
|
3025 |
4921
|
3026 2004-07-28 John W. Eaton <jwe@octave.org> |
|
3027 |
|
3028 * oct-cmplx.h (pow (const Complex&, const double&): |
|
3029 Convert second arg to complex to avoid libstdc++ bug. |
|
3030 |
4920
|
3031 2004-07-27 John W. Eaton <jwe@octave.org> |
|
3032 |
|
3033 * oct-inttypes.h (bitshift): New arg, MASK. |
|
3034 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
3035 |
4916
|
3036 2004-07-23 John W. Eaton <jwe@octave.org> |
|
3037 |
|
3038 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
3039 |
4915
|
3040 2004-07-23 David Bateman <dbateman@free.fr> |
|
3041 |
|
3042 * Array.cc, Array.h (cat_ra): Delete. |
|
3043 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
3044 (INSTANTIATE_ARRAY_CAT): Delete. |
|
3045 |
|
3046 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3047 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
3048 |
|
3049 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
3050 |
|
3051 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3052 chNDArray.h (concat): New function used for concatenation that does |
|
3053 an indexed copy of one array into another. |
|
3054 |
|
3055 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
3056 |
|
3057 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
3058 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
3059 insertion of one NDArray into another. |
|
3060 |
|
3061 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
3062 macros to define the int/uint concatenation functions. |
|
3063 |
|
3064 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
3065 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
3066 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
3067 |
|
3068 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
3069 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
3070 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
3071 functions. |
|
3072 |
4911
|
3073 2004-07-22 David Bateman <dbateman@free.fr> |
|
3074 |
|
3075 * oct-sort.h: Don't include oct-obj.h. |
|
3076 |
|
3077 * lo-specfun.cc (is_integer_value): New function. |
|
3078 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
3079 integer orders that cause overflow for small arguments. |
|
3080 |
4909
|
3081 2004-07-12 John W. Eaton <jwe@octave.org> |
|
3082 |
|
3083 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
3084 (bitshift (const octave_int<T>&, int)): New function. |
|
3085 |
4902
|
3086 2004-06-14 John W. Eaton <jwe@octave.org> |
|
3087 |
|
3088 * mx-base.h: Include headers for new int types. |
|
3089 |
|
3090 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
3091 NDArray::NDArray (const charNDArray&)): Delete. |
|
3092 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
3093 constructor. |
|
3094 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3095 |
|
3096 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
3097 return type conversion. |
|
3098 |
|
3099 * ComplexNDArray.h, ComplexNDArray.cc |
|
3100 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
3101 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3102 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3103 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
3104 |
|
3105 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
3106 |
|
3107 * MArrayN.h: |
|
3108 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
3109 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
3110 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
3111 New constructors. |
|
3112 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3113 ArrayN<T>::squeeze): |
|
3114 New forwarding functions for return type conversion. |
|
3115 |
|
3116 * ArrayN.h: |
|
3117 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
3118 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
3119 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
3120 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
3121 const dim_vector&)): New constructors. |
|
3122 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
3123 ArrayN<T>::transpose): |
|
3124 New forwarding functions for return type conversion. |
|
3125 |
|
3126 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
3127 New constructor. |
|
3128 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
3129 |
|
3130 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
3131 |
|
3132 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
3133 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
3134 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
3135 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
3136 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
3137 * Makefile.in: Add them to the appropriate lists. |
|
3138 |
4899
|
3139 2004-06-04 John W. Eaton <jwe@octave.org> |
|
3140 |
|
3141 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
3142 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
3143 resize op. Change all uses. |
|
3144 |
4898
|
3145 2004-06-03 David Bateman <dbateman@free.fr> |
|
3146 |
|
3147 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
3148 greater than the existing number of dimensions in lvalue. |
|
3149 |
4887
|
3150 2004-04-30 David Bateman <dbateman@free.fr> |
|
3151 |
|
3152 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
3153 New arg, fill_value. |
|
3154 (dim_vector::resize): Allow optional fill_value argument. |
|
3155 |
|
3156 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3157 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
3158 more than one element in idx_vector. Resize the return value to |
|
3159 the size of Array<idx_vector>. |
|
3160 |
|
3161 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
3162 idx_vector that is shorter than a dim_vector. |
|
3163 |
4882
|
3164 2004-04-23 John W. Eaton <jwe@octave.org> |
|
3165 |
|
3166 * oct-sort.cc: Don't include oct-obj.h. |
|
3167 |
4876
|
3168 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3169 |
|
3170 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
3171 Don't set invalid dimensions on return value. |
|
3172 |
4871
|
3173 2004-04-21 John W. Eaton <jwe@octave.org> |
|
3174 |
|
3175 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
3176 |
4850
|
3177 2004-04-06 David Bateman <dbateman@free.fr> |
|
3178 |
4870
|
3179 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
3180 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
3181 Make their behavior equivalent except for filling vs. not filling. |
|
3182 |
4850
|
3183 * oct-sort.cc: New template class for arbitrary sorting. |
|
3184 * oct-sort.h: Declaration of sort class. |
|
3185 * Makefile: Add them to the appropriate lists. |
|
3186 |
4845
|
3187 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3188 |
|
3189 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
3190 |
4844
|
3191 2004-04-02 David Bateman <dbateman@free.fr> |
|
3192 |
|
3193 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
3194 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
3195 New N-d array versions. |
4844
|
3196 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
3197 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
3198 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
3199 |
|
3200 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
3201 New functions. |
|
3202 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
3203 |
|
3204 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3205 New functions. |
|
3206 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3207 Provide decls. |
|
3208 |
4842
|
3209 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
3210 |
|
3211 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
3212 work vector, not just when using a numerical Jacobian. |
|
3213 |
4834
|
3214 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3215 |
4835
|
3216 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
3217 Omit empty result args. |
|
3218 |
4834
|
3219 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
3220 Move here from Array.h, check that size of array arg is not |
|
3221 smaller than the size defined by the new dimensions. |
|
3222 |
4832
|
3223 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3224 |
|
3225 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
3226 a scalar or vector with an N-d array. |
|
3227 |
4826
|
3228 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3229 |
4828
|
3230 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
3231 matrix, return object that is the same size as the index. |
|
3232 |
4826
|
3233 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
3234 Eliminate MT_RESULT args. Return value is always size of args. |
|
3235 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
3236 Eliminate EMPTY_RESULT arg. |
|
3237 Return value is always size of matrix or N-d array arg. |
|
3238 (TBM, FBM, NBM): Delete unused macros. |
|
3239 |
4821
|
3240 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3241 |
|
3242 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
3243 if all LHS dimensions are zero. For one index case, freeze and |
|
3244 sort idx_vec before checking length, and do nothing if |
|
3245 num_to_delete is zero. |
4822
|
3246 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
3247 |
4816
|
3248 2004-03-04 David Bateman <dbateman@free.fr> |
|
3249 |
|
3250 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
3251 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
3252 |
4811
|
3253 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
3254 |
|
3255 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
3256 element. |
|
3257 |
|
3258 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3259 |
|
3260 * Range.h (Range::Range): Add cache to member initialization list. |
|
3261 (Range::clear_cache): New private function. |
|
3262 |
|
3263 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
3264 Use clear cache. Don't do anything if range does not change. |
|
3265 * Range.cc (Range::sort): Likewise. |
|
3266 |
4810
|
3267 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
3268 |
|
3269 * Range.cc (Range::matrix_value): Cache result. |
|
3270 (Range::sort): Clear cache. |
|
3271 * Range.h (Range::cache): New data member. |
|
3272 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
3273 (Range::print_range): Delete. |
4808
|
3274 |
|
3275 2004-03-02 David Bateman <dbateman@free.fr> |
|
3276 |
|
3277 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
3278 changes between them. Faster for small fft's. |
|
3279 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
3280 New member variables. |
|
3281 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
3282 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
3283 Change all uses. |
|
3284 (CHECK_SIMD_ALIGNMENT): New macro. |
|
3285 (octave_fftw_planner::create_plan): Use it. |
|
3286 |
4806
|
3287 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
3288 |
|
3289 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
3290 |
|
3291 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
3292 |
|
3293 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
3294 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
3295 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
3296 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
3297 |
|
3298 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
3299 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
3300 |
4800
|
3301 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3302 |
4802
|
3303 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
3304 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
3305 octave_rl_get_event_hook): Omit casts. |
|
3306 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
3307 Return value for function pointer typedef is now int. |
|
3308 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
3309 command_editor::event_hook_fcn): Likewise. |
|
3310 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
3311 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
3312 Return type is now int. Return 0. |
|
3313 |
4800
|
3314 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
3315 Query Lapack for workspace size. |
|
3316 |
4796
|
3317 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3318 |
|
3319 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
3320 Fix thinko in extending dimensions. |
|
3321 |
4791
|
3322 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3323 |
|
3324 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
3325 Don't compute values beyond the limits of the range. |
|
3326 (operator << (std::ostream&, const Range&)): Likewise. |
|
3327 |
4786
|
3328 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3329 |
4788
|
3330 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
3331 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
3332 From Paul Kienzle <pkienzle@users.sf.net>. |
|
3333 |
4786
|
3334 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
3335 Rename from Array<T>::insert. |
|
3336 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
3337 Reinstate old Array<T>::insert function under this name. |
|
3338 (Array<T>::insert (const Array<T>&, int, int)): |
|
3339 New function. Dispatch to insert2 or insertN as appropriate. |
|
3340 |
4785
|
3341 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3342 |
|
3343 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3344 Sprinkle with OCTAVE_QUIT. |
|
3345 |
5095
|
3346 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
3347 |
|
3348 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
3349 Add support for FFTW 3.x. Include the ability to |
|
3350 use the real to complex transform for fft's of real matrices |
|
3351 (octave_fftw_planner::create_plan2d): Delete. |
|
3352 (octave_fftw::fft2d): Delete. |
|
3353 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3354 New static functions. |
|
3355 * oct-fftw.h: Update decls. |
|
3356 |
|
3357 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
3358 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
3359 transforms. 1D FFT of a matrix done as single call rather than |
|
3360 loop. Update for FFTW 3.x |
|
3361 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
3362 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
3363 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
3364 |
|
3365 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
3366 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
3367 functions for Nd arrays. |
|
3368 * dNArray.h Provide decls. |
|
3369 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
3370 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
3371 fourier transform functions for complex Nd arrays. |
|
3372 * CNArray.h: Provide decls. |
|
3373 |
4765
|
3374 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
3375 |
|
3376 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
3377 Make it work for N-d arrays. |
|
3378 |
|
3379 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
3380 New function. |
|
3381 |
|
3382 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
3383 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
3384 New functions. |
|
3385 * CNDArray.h: Provide decls. |
|
3386 |
4759
|
3387 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3388 |
4760
|
3389 * Makefile.in (LINK_DEPS): Always define. |
|
3390 |
4759
|
3391 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
3392 least two dimensions. |
|
3393 |
4758
|
3394 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3395 |
|
3396 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
3397 * dNDArray.cc (NDArray::cat): New function. |
|
3398 * dNDArray.h: Provide decls. |
|
3399 * CNDArray.cc (complexNDArray::cat): New function. |
|
3400 * CNDArray.h: Provide decls. |
|
3401 * chNDArray.cc (charNDArray::cat): New function. |
|
3402 * chNDArray.h: Provide decls. |
|
3403 |
4756
|
3404 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3405 |
|
3406 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
3407 (Array<T>assign2): Also call maybe_delete_elements for single |
|
3408 index when rows and columns or LHS are both greater than 1. |
|
3409 |
4755
|
3410 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3411 |
|
3412 * Array.cc (Array<T>::maybe_delete_elements): |
|
3413 Check for index out of bounds. Handle one index. |
|
3414 |
|
3415 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
3416 dim_vector (0) to create empty return vector. |
|
3417 |
4749
|
3418 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3419 |
|
3420 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
3421 non-empty LHS when the number of lhs dimensions is less than the |
|
3422 number of indices. Detect error if attempting to resize non-empty |
|
3423 LHS with colon indices. |
|
3424 |
4745
|
3425 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3426 |
4747
|
3427 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
3428 values unless the length of the new array is greater than 0. |
|
3429 (Array<T>::resize_no_fill): Likewise. |
|
3430 |
|
3431 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
3432 is equal to dimensions(i). |
|
3433 |
|
3434 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
3435 get_zero_len_size, number_of_elements): |
|
3436 Delete unused functions. |
|
3437 |
|
3438 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
3439 number_of_elements function. |
|
3440 * Array.cc (Array<T>::indexN): Likewise. |
|
3441 |
|
3442 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
3443 of equal_arrays function. |
|
3444 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
3445 dim_vector::any_zero instead of any_zero_len function. |
|
3446 |
|
3447 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
3448 Don't skip reshaping and resizing if RHS is empty. |
|
3449 |
4746
|
3450 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
3451 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
3452 Delete unused variables is_colon and is_colon_equiv. |
4746
|
3453 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
3454 LHS is not yet defined. |
4745
|
3455 Error for resizing if number of indices is less than number of LHS |
|
3456 dimensions. |
|
3457 |
4746
|
3458 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
3459 Fortran-style indexing. |
|
3460 |
4743
|
3461 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3462 |
|
3463 * Array.cc (Array<T>::assignN): Simplify. |
|
3464 Allow assignments to succeed if number if indices is less than the |
|
3465 number of RHS dimensions. |
|
3466 |
4738
|
3467 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3468 |
4741
|
3469 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
3470 when number of indices is less than number of dimensions. |
|
3471 |
|
3472 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
3473 Remove unsued variable lhs_inc. |
|
3474 |
4740
|
3475 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
3476 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
3477 |
|
3478 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
3479 |
4738
|
3480 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
3481 == n_dims before checking to see if all indices are colon_equiv. |
|
3482 |
4736
|
3483 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3484 |
|
3485 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
3486 deleting elements. |
4737
|
3487 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
3488 at least ndims elements. |
4736
|
3489 |
4735
|
3490 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3491 |
|
3492 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
3493 oriented differently from the index. |
|
3494 |
|
3495 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
3496 least two dimensions. |
|
3497 |
4733
|
3498 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3499 |
4735
|
3500 * dim-vector.h (dim_vector::squeeze): New function. |
|
3501 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
3502 deciding whether the assignment conforms. |
|
3503 |
4733
|
3504 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
3505 comparing rhs_dims and frozen_len sans trailing singletons. |
|
3506 |
4732
|
3507 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3508 |
|
3509 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
3510 Call error handler and return conversion_error == true if arg is |
|
3511 not integer. |
|
3512 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
3513 |
4730
|
3514 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3515 |
|
3516 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
3517 reference arg const. |
|
3518 |
|
3519 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3520 |
|
3521 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
3522 |
4729
|
3523 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
3524 |
|
3525 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
3526 Now bool, to match definition in Array-flags.cc. |
|
3527 |
4725
|
3528 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3529 |
4726
|
3530 * file-ops.cc: Include <vector> instead of <memory> for new |
|
3531 definition of OCTAVE_LOCAL_BUFFER. |
|
3532 |
4725
|
3533 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
3534 New arg, calc_eigenvectors. |
|
3535 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
3536 Based on patch from David Bateman <dbateman@free.fr>. |
|
3537 |
4716
|
3538 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3539 |
|
3540 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
3541 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
3542 |
|
3543 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
3544 |
4711
|
3545 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3546 |
4714
|
3547 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
3548 Simplify calculation of number of elements in retval. |
|
3549 |
4711
|
3550 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
3551 filling when RHS is scalar and dimension lengths agree. |
|
3552 |
4710
|
3553 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3554 |
4713
|
3555 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
3556 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
3557 |
4707
|
3558 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3559 |
4709
|
3560 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
3561 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
3562 |
4702
|
3563 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
3564 |
4703
|
3565 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
3566 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
3567 |
|
3568 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
3569 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
3570 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
3571 Make sure index is in bounds. |
4702
|
3572 |
4698
|
3573 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3574 |
|
3575 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
3576 octave_NaN, and octav_NA values are always initialized. Check |
|
3577 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
3578 to decide whether to do IEEE initialization. |
|
3579 |
4687
|
3580 2004-01-06 David Bateman <dbateman@free.fr> |
|
3581 |
|
3582 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
3583 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
3584 ComplexNDArray::too_large_for_float): New functions |
|
3585 |
|
3586 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
3587 * CNDArray.h: Provide decls. |
|
3588 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
3589 * dNDArray.h: Provide decls. |
|
3590 |
4673
|
3591 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3592 |
4674
|
3593 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
3594 they are already defined in boolNDArray.cc. |
|
3595 |
4673
|
3596 * Array-util.cc (get_zero_len_size): Delete. |
|
3597 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3598 Handle zero-length result dimensions the same as empty original |
|
3599 indices. |
|
3600 |
|
3601 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3602 |
|
3603 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
3604 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
3605 New functions. |
|
3606 * Array.cc (ArrayN<T>::indexN): Use it. |
|
3607 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
3608 |
4669
|
3609 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3610 |
|
3611 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
3612 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
3613 |
|
3614 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3615 |
|
3616 * mk-ops.awk: Also emit #include "Array-util.h". |
|
3617 |
|
3618 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
3619 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
3620 |
|
3621 * MArray-misc.cc: Delete. |
|
3622 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
3623 |
|
3624 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
3625 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
3626 |
4655
|
3627 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3628 |
4663
|
3629 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
3630 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
3631 |
|
3632 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
3633 two-arg getgrnam version. |
|
3634 |
4657
|
3635 * Array.cc (assignN): Allow single indexing to work. |
4661
|
3636 (Array<T>::range_error (const char*, const Array<int>&)): |
|
3637 Report index values. |
|
3638 |
|
3639 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
3640 * ODESSA.cc (odessa_j): Likewise. |
|
3641 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
3642 * DASPK.cc (ddaspk_psol): Likewise. |
|
3643 * lo-mappers.cc (imag): Likewise. |
4663
|
3644 * Array-util.cc (get_zero_len_size): Likewise. |
|
3645 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
3646 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
3647 |
4655
|
3648 * dim-vector.h (dim_vector::all_ones): New function. |
|
3649 |
4646
|
3650 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3651 |
4653
|
3652 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
3653 zeros, not orig_rows or orig_columns. |
|
3654 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
3655 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
3656 |
|
3657 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
3658 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
3659 |
|
3660 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
3661 Use initialization lists for constructors. |
|
3662 |
4651
|
3663 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
3664 Omit special case for ra_idx.capacity () == 1. |
|
3665 Always allow single index for matrix args with optional warning. |
|
3666 |
4650
|
3667 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
3668 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
3669 |
4648
|
3670 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
3671 * Makefile.in (TI_SRC): Add it to the list. |
|
3672 |
4646
|
3673 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
3674 type and the names of the left and right operands. Change all uses. |
|
3675 |
|
3676 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
3677 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
3678 |
4645
|
3679 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3680 |
|
3681 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
3682 just length. |
|
3683 |
|
3684 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
3685 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
3686 non-dependent member functions and data as needed. |
|
3687 |
|
3688 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
3689 |
|
3690 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
3691 * Array3.h (Array3<T>::operator =): Likewise. |
|
3692 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
3693 Include Array.h, not Array2.h. |
|
3694 |
4634
|
3695 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3696 |
4636
|
3697 * str-vec.cc (list_in_columns): Fix previous change. |
|
3698 |
4635
|
3699 * dim-vector.h (dim_vector::num_ones): New function. |
|
3700 * Array.cc (maybe_delete_elements): Use it instead of |
|
3701 num_ones (const Array<int>&). |
|
3702 |
|
3703 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
3704 |
4634
|
3705 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
3706 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
3707 New functions. |
|
3708 * dNDArray.h: Provide decls. |
|
3709 |
|
3710 * dMatrix.h (Matrix::any_element_is_negative, |
|
3711 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
3712 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
3713 Simplify. |
|
3714 |
|
3715 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
3716 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
3717 |
|
3718 * dNDArray.cc (real, imag): New functions. |
|
3719 * dNDArray.h: Provide decls. |
|
3720 |
4630
|
3721 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3722 |
|
3723 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
3724 |
4625
|
3725 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3726 |
|
3727 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
3728 * MArray.h (resize): Delete. |
|
3729 * MArray2.h (resize): Delete. |
|
3730 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
3731 * ODESSA (ODESSA::integrate): Likewise. |
|
3732 |
4616
|
3733 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3734 |
|
3735 * Makefile.in (dist): Depend on stamp-prereq. |
|
3736 |
4605
|
3737 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
3738 |
|
3739 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
3740 Kluge to make it work. |
4604
|
3741 |
|
3742 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
3743 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
3744 |
|
3745 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
3746 default_command_editor::do_generate_filename_completions, |
|
3747 command_editor::generate_filename_completions): New functions. |
|
3748 * cmd-edit.h: Provide decls. |
|
3749 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
3750 function. |
|
3751 * oct-rl-edit.h: Provide decl. |
|
3752 |
4593
|
3753 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3754 |
4594
|
3755 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
3756 INSTANTIATE_ARRAY): New macros. |
|
3757 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3758 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
3759 |
4593
|
3760 * Array.h (Array<T>::ipermute): New function. |
|
3761 |
|
3762 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
3763 |
|
3764 * Array.cc (Array<T>::permute): New function. |
|
3765 * Array.h: Provide decl. |
|
3766 |
|
3767 * Array-util.cc (calc_permutated_idx): New function. |
|
3768 * Array-util.h: Provide decl. |
|
3769 |
4587
|
3770 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3771 |
4592
|
3772 * Array.cc (Array<T>::index2): Return value has orientation of |
|
3773 indexed value if indexing a vector with a bool matrix. |
|
3774 |
4589
|
3775 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
3776 |
4588
|
3777 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
3778 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
3779 |
|
3780 * ArrayN-inline.h: Delete. |
|
3781 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
3782 * Makefile.in: Fix the appropriate lists. |
|
3783 |
4587
|
3784 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
3785 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
3786 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
3787 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
3788 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
3789 Avoid -Wshadow warnings. |
|
3790 |
|
3791 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
3792 |
|
3793 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
3794 |
|
3795 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
3796 |
|
3797 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3798 |
|
3799 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
3800 |
4584
|
3801 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
3802 |
|
3803 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
3804 |
|
3805 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
3806 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
3807 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
3808 Return NDArray. Handle N-d arrays. |
|
3809 |
4575
|
3810 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3811 |
4583
|
3812 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
3813 that upcase Fortran names by calling dlsode instead of lsode. |
|
3814 |
|
3815 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
3816 that upcase Fortran names by calling dodessa instead of odessa. |
|
3817 |
4577
|
3818 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
3819 non-const args for symlink system call. |
|
3820 (file_ops::readlink): Likewise, for readlink. |
|
3821 |
4575
|
3822 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
3823 |
4574
|
3824 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3825 |
|
3826 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
3827 Change all uses. |
|
3828 |
4569
|
3829 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
3830 |
|
3831 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
3832 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
3833 * dNDArray.h: Provide decls. |
|
3834 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
3835 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
3836 ComplexNDArray::abs): New functions. |
|
3837 * CNDArray.h: Provide decls. |
|
3838 |
|
3839 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
3840 Generalize to handle other reduction operations. |
|
3841 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
3842 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
3843 |
4565
|
3844 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3845 |
4567
|
3846 * Array.cc (Array<T>::reshape): New function. |
|
3847 * Array.h: Provide decl. |
|
3848 |
|
3849 * dim-vector.h (dim_vector::numel): New function. |
|
3850 |
4565
|
3851 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
3852 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
3853 |
4559
|
3854 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3855 |
|
3856 * dim-vector.h (dim_vector::any_zero): New function. |
|
3857 (dim_vector::str): New default arg, sep. |
|
3858 |
|
3859 * Array.h (Array<T>::numel): New function. |
|
3860 |
4556
|
3861 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
3862 |
|
3863 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
3864 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
3865 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
3866 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3867 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
3868 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
3869 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
3870 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3871 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
3872 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
3873 |
4552
|
3874 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3875 |
4553
|
3876 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
3877 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
3878 |
4552
|
3879 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
3880 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3881 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
3882 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
3883 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3884 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3885 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
3886 Use new F77 arg macros in declarations of external Fortran |
|
3887 subroutines and for calling them. |
|
3888 |
4548
|
3889 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3890 |
|
3891 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
3892 Allow number of dimensions to change. |
|
3893 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
3894 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
3895 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
3896 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
3897 (Array<T>::transpose): Require ndims to be 2. |
|
3898 (Array<T>::index2): Likewise. |
|
3899 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
3900 (Array<T>::maybe_delete_elements_2): Likewise. |
|
3901 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
3902 (Array<T>::index1): Use resize_and_fill. |
|
3903 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
3904 |
|
3905 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
3906 |
|
3907 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
3908 (MArray2<T>::resize (int, int, const T&)): New function. |
|
3909 |
|
3910 * MArray.h (MArray<T>::resize (int)): New function. |
|
3911 (MArray<T>::resize (int, const T&)): New function. |
|
3912 |
|
3913 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
3914 |
|
3915 * DASPK-opts.in: Use single-arg resize for initial condition |
|
3916 heuristics. |
|
3917 |
|
3918 * dim-vector.h (class dim_vector): Now reference counted. |
|
3919 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
3920 |
4544
|
3921 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3922 |
4545
|
3923 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
3924 |
4544
|
3925 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
3926 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
3927 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
3928 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
3929 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
3930 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
3931 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
3932 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
3933 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
3934 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
3935 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
3936 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
3937 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
3938 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
3939 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
3940 files are now automatically generated. |
|
3941 |
|
3942 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
3943 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
3944 Add rules to generate these files and mx-ops.h. |
|
3945 (stamp-prereq): Depend on these files. |
|
3946 |
|
3947 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
3948 * Makefile.in (DISTFILES): Add them to the list. |
|
3949 |
4543
|
3950 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3951 |
|
3952 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
3953 NDArray::NDArray (const charNDArray)): New constructors. |
|
3954 (NDArray::operator !): New function. |
|
3955 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3956 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3957 |
|
3958 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3959 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3960 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
3961 New constructors. |
|
3962 (ComplexNDArray::operator !): New function. |
|
3963 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3964 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3965 |
|
3966 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
3967 |
|
3968 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
3969 Provide NDND_CMP_OPS. |
|
3970 |
|
3971 * MArrayN.cc (operator +=, operator -=): New functions. |
|
3972 Provide product and quotient functions. |
|
3973 |
|
3974 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
3975 dim_vector&)): New function. |
|
3976 |
|
3977 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
3978 operator ==, operator !=): New functions. |
|
3979 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
3980 |
|
3981 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
3982 No need to save old dimensions. |
|
3983 |
|
3984 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
3985 (octave_rand::nd_array): New function. |
|
3986 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
3987 |
|
3988 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
3989 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
3990 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
3991 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
3992 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
3993 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
3994 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
3995 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
3996 NDND_OP_DECLS): New macros. |
|
3997 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
3998 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
3999 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
4000 |
|
4001 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
4002 boolNDArray, class charNDArray): New forward decls. |
|
4003 |
4534
|
4004 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4005 |
|
4006 * Array.cc (assign2): No error (but don't do anything either) for |
|
4007 expressions like x([],j) = scalar. |
|
4008 |
4532
|
4009 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4010 |
4533
|
4011 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
4012 |
4532
|
4013 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
4014 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
4015 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
4016 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
4017 |
|
4018 * dim-vector.h (rows, cols): Delete unused data members. |
|
4019 |
|
4020 * Array.cc (Array<T>::get_size): Fix thinko. |
|
4021 |
|
4022 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4023 |
|
4024 * Array.cc (Array<T>::squeeze): New function. |
|
4025 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
4026 * dNDArray.h (NDArray::squeeze): Likewise. |
|
4027 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
4028 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
4029 |
4530
|
4030 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
4031 |
|
4032 * Array.cc (ArrayN<T>::indexN): New definition. |
|
4033 * Array.h (Array<T>::indexN): Provide decl. |
|
4034 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
4035 Call indexN if more than 2 indices. |
|
4036 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
4037 Make it (mostly) work. |
|
4038 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
4039 New functions. |
|
4040 |
4527
|
4041 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4042 |
|
4043 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
4044 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
4045 versions with eof arg. |
|
4046 |
4518
|
4047 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4048 |
|
4049 * Array.h (dimensions): Now public. |
|
4050 template <class LT, class RT> |
|
4051 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
4052 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
4053 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
4054 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
4055 resize_no_fill (int), |
|
4056 resize_no_fill (int, int), |
|
4057 resize_no_fill (int, int, int), |
|
4058 resize_no_fill (const dim_vector&), |
|
4059 resize_and_fill (int, const T&), |
|
4060 resize_and_fill (int, int, const T&), |
|
4061 resize_and_fill (int, int, int, const T&), |
|
4062 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
4063 |
|
4064 * Array.cc: Include <climits>. |
|
4065 |
4513
|
4066 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4067 |
4517
|
4068 * Array.cc: Merge Array-idx.h. |
|
4069 * Array-idx.h: Delete. |
|
4070 |
4514
|
4071 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
4072 |
4513
|
4073 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
4074 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
4075 just special cases of the general purpose N-d Array object). |
|
4076 |
|
4077 * dim-vector.h: New file. Use dim_vector objects instead of |
|
4078 ints or Array<int> objects to represent the size of Array |
|
4079 objects. |
|
4080 |
|
4081 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
4082 |
|
4083 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
4084 |
|
4085 * mx-base.h: Include NDArray header files. |
|
4086 |
|
4087 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
4088 |
|
4089 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
4090 Array-s.cc: Also instantiate ArrayN objects. |
|
4091 Don't instantiate assign funcitons for Array2 objects. |
|
4092 |
|
4093 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
4094 liboctave_error_handler, not cerr. |
|
4095 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
4096 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
4097 * dMatrix.cc (Matrix::diag): Likewise. |
|
4098 |
|
4099 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
4100 Omit checks for HEAVYWEIGHT_INDEXING. |
|
4101 |
|
4102 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4103 |
|
4104 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
4105 |
|
4106 * CNDARray.h, CNDArray.cc: New files. |
|
4107 * Makefile.in: Add them to the appropriate lists. |
|
4108 |
|
4109 * dNDArray.h: Rename from NDArray.h. |
|
4110 * dNDArray.cc: Rename from NDArray.cc. |
|
4111 * Makefile.in: Rename them here too. |
|
4112 |
4507
|
4113 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
4114 |
|
4115 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
4116 |
|
4117 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
4118 * Makefile.in: Add them to the appropriate lists. |
|
4119 |
5095
|
4120 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
4121 |
|
4122 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
4123 biry): Always request scaled results from AMOS functions and |
|
4124 perform reverse scaling on results if scaled result not requested |
|
4125 by user. |
|
4126 |
|
4127 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4128 |
|
4129 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4130 |
4505
|
4131 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4132 |
|
4133 * Array-d.cc: Instantiate assign functions. |
|
4134 |
4504
|
4135 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
4136 |
|
4137 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
4138 (get_elt_idx): Index ra_idx correctly. |
|
4139 |
|
4140 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
4141 bounds if it is exactly on the bound. |
|
4142 |
|
4143 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
4144 * ArrayN.h: Provide decl. |
|
4145 |
|
4146 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
4147 |
|
4148 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
4149 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
4150 (idx_vector::orig_dimensions): New function. |
|
4151 |
4497
|
4152 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4153 |
|
4154 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
4155 |
4496
|
4156 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
4157 |
|
4158 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
4159 (is_in, how_many_lgt, all_ones): New functions. |
|
4160 |
4493
|
4161 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4162 |
|
4163 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
4164 |
|
4165 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
4166 |
|
4167 * ArrayN-inline.h: New file. |
|
4168 (index_in_bounds, increment_index): Move here. |
|
4169 * ArrayN.cc: From here. |
|
4170 |
|
4171 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
4172 * ArrayN-idx.h (assign): New function. |
|
4173 |
4490
|
4174 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4175 |
|
4176 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
4177 Also zero imaginary part of result if real part of input value is |
|
4178 zero. |
|
4179 |
4478
|
4180 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4181 |
|
4182 * mx-base.h: Include ArrayN.h. |
|
4183 |
4476
|
4184 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4185 |
|
4186 * ArrayN.cc (operator <<): Corrected output. |
|
4187 |
4474
|
4188 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4189 |
|
4190 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
4191 |
5095
|
4192 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
4193 |
|
4194 * ArrayN.cc (operator <<): Improve output readability. |
|
4195 |
4493
|
4196 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
4197 |
|
4198 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
4199 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
4200 Initialize old_len before changing size. |
|
4201 |
4472
|
4202 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4203 |
|
4204 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
4205 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
4206 |
4469
|
4207 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4208 |
|
4209 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
4210 way. Handle NA in an R-compatible way. |
|
4211 |
|
4212 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
4213 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
4214 |
|
4215 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
4216 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
4217 |
|
4218 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
4219 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
4220 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
4221 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
4222 |
4461
|
4223 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4224 |
|
4225 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
4226 Pass true for resize_ok arg to freeze. |
|
4227 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
4228 Likewise. |
|
4229 |
|
4230 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
4231 resize_ok arg is now bool. |
|
4232 * idx-vector.h (idx_vector::freeze): Likewise. |
|
4233 |
|
4234 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
4235 Rename from liboctave_rre_flag. Now bool. |
|
4236 (liboctave_wfi_flag): Now bool. |
|
4237 |
|
4238 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
4239 |
5095
|
4240 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
4241 |
|
4242 * Array.h (resize_fill_value): Now a top-level template function. |
|
4243 Accept object as argument. Change all uses. |
|
4244 |
4455
|
4245 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4246 |
|
4247 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
4248 |
|
4249 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
4250 liboctave_dfi_flag. |
|
4251 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
4252 X undefined or empty, always create a row vector. |
|
4253 |
|
4254 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
4255 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
4256 |
4437
|
4257 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4258 |
|
4259 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4260 Magic colon indexing always produces an object with one column. |
|
4261 |
5095
|
4262 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
4263 |
|
4264 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
4265 |
|
4266 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
4267 |
4431
|
4268 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4269 |
|
4270 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
4271 neg_zero is true, also return true for negative zero. |
|
4272 |
4429
|
4273 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4274 |
|
4275 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
4276 Handle step limit. |
|
4277 * DASSL-opts.in: New option for step limit. |
|
4278 |
5095
|
4279 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
4280 |
|
4281 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
4282 |
4428
|
4283 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4284 |
|
4285 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
4286 Store step limit in iwork(20), not iwork(18). |
|
4287 |
5095
|
4288 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
4289 |
|
4290 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
4291 |
4412
|
4292 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4293 |
4413
|
4294 * Makefile.in: Handle DESTDIR. |
|
4295 |
4412
|
4296 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
4297 (kpse_path_iterator::set_end): Don't miss last element when not |
|
4298 followed by a colon. |
|
4299 |
4409
|
4300 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4301 |
|
4302 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
4303 |
|
4304 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4305 |
|
4306 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
4307 (find_first_of): Also do an absolute search on each |
|
4308 name before looking in the path. |
|
4309 |
4407
|
4310 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4311 |
|
4312 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
4313 directory separator. |
|
4314 |
4399
|
4315 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4316 |
|
4317 * pathsearch.cc: Include kpse.cc here. |
|
4318 |
|
4319 * kpse.cc: All functions are now static. Massive surgery to |
|
4320 condense kpathsearch library to a single file of just the |
|
4321 essentials for Octave and convert to using C++ strings (no more |
|
4322 calls to malloc, very few calls to new, so there should be much |
|
4323 less potential for introducing memory leaks now). |
|
4324 |
|
4325 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
4326 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
4327 |
|
4328 * kpse.h, kpse-config.h: Delete. |
|
4329 * Makefile.in (INCLUDES): Delete them from the list. |
|
4330 |
4392
|
4331 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4332 |
|
4333 * str-vec.cc (string_vector::append (const std::string&), |
|
4334 string_vector::append (const string_vector&)): New methods. |
|
4335 |
4386
|
4336 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4337 |
4389
|
4338 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
4339 |
4387
|
4340 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
4341 |
4386
|
4342 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
4343 (READABLE): Now a static function to avoid warnings from MinGW |
|
4344 compiler. |
|
4345 |
4384
|
4346 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4347 |
4385
|
4348 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
4349 static. Include most of kpse-xfns.h directly, removing |
|
4350 unnecessary bits. |
|
4351 |
4384
|
4352 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
4353 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
4354 |
4378
|
4355 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4356 |
|
4357 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
4358 * Makefile.in: Add them to the appropriates lists. |
|
4359 |
|
4360 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
4361 |
|
4362 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
4363 for new locations of kpathsea objects. |
|
4364 Delete kpathsea targets. |
|
4365 |
|
4366 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
4367 |
|
4368 * kpse.cc: New file. |
|
4369 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
4370 |
|
4371 * kpse.c: New file. |
|
4372 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
4373 |
|
4374 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
4375 * Makefile.in (INCLUDES): Add them to the list. |
|
4376 |
|
4377 * oct-kpse.h: Delete. |
|
4378 * Makefile.in (INCLUDES): Delete it from the list. |
|
4379 |
4374
|
4380 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4381 |
|
4382 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
4383 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
4384 Likewise. |
|
4385 From Quentin H. Spencer <qspencer@ieee.org>. |
|
4386 |
4365
|
4387 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4388 |
|
4389 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
4390 |
4349
|
4391 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4392 |
4352
|
4393 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
4394 without placement delete. |
|
4395 |
4349
|
4396 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
4397 imaginary parts. |
|
4398 |
|
4399 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
4400 |
5095
|
4401 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
4402 |
|
4403 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
4404 Use Lapack instead of Linpack. |
5315
|
4405 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
4406 ComplexMatrix::solve): Likewise. |
|
4407 |
|
4408 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
4409 calc_cond. If 0, skip condition number calculation. |
|
4410 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
4411 Likewise. |
|
4412 |
|
4413 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
4414 * dbleLU.cc (LU::LU): Likewise. |
|
4415 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
4416 |
|
4417 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4418 |
|
4419 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
4420 |
4323
|
4421 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4422 |
|
4423 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
4424 Additional compatibility fix. |
|
4425 |
|
4426 2003-02-13 Arno Klaassen <arno@scito.com> |
|
4427 |
|
4428 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4429 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
4430 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
4431 |
4322
|
4432 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4433 |
|
4434 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4435 Compatibility fix. |
|
4436 |
4316
|
4437 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4438 |
|
4439 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
4440 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
4441 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
4442 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
4443 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
4444 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
4445 |
|
4446 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
4447 with make_unique and xelem. |
|
4448 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
4449 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
4450 ComplexMatrix::extract, ComplexMatrix::row, |
|
4451 ComplexMatrix::column): Likewise. |
|
4452 * dColVector.cc (ColumnVector::insert): Likewise. |
|
4453 * dRowVector.cc (RowVector::insert): Likewise. |
|
4454 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
4455 Matrix::row, Matrix::column): Likewise. |
|
4456 |
4313
|
4457 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4458 |
|
4459 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
4460 |
4309
|
4461 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4462 |
|
4463 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
4464 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
4465 * CMatrix.h, dMatrix.h: Provide decls. |
|
4466 |
4307
|
4467 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4468 |
|
4469 * oct-rand.h, oct-rand.cc: New files. |
|
4470 * Makefile.in: Add them to the appropriate lists. |
|
4471 |
4306
|
4472 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4473 |
|
4474 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
4475 |
4299
|
4476 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
4477 |
|
4478 * oct-syscalls.cc: Include signal.h. |
|
4479 |
4294
|
4480 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4481 |
|
4482 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
4483 * oct-syscalls.h: Provide decl. |
|
4484 |
|
4485 |
4293
|
4486 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4487 |
|
4488 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
4489 there is nothing to read. |
|
4490 |
4290
|
4491 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4492 |
|
4493 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
4494 |
4286
|
4495 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4496 |
4288
|
4497 * getopt.h: Update to version from kpathsearch, so we will install |
|
4498 the version that we are using. |
|
4499 |
|
4500 * getopt.c, getopt1.c: Delete. |
|
4501 (INCLUDES): Delete them from the list. We'll get these files from |
|
4502 kpathsearch. |
|
4503 |
4286
|
4504 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
4505 ../kpathsea/STATIC/*.o. |
|
4506 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
4507 |
4270
|
4508 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4509 |
4282
|
4510 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
4511 unreachable code. |
|
4512 |
4279
|
4513 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
4514 to correspond to placement new operator. |
|
4515 |
4278
|
4516 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
4517 (DET::value_will_underflow): Likewise. |
|
4518 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
4519 (ComplexDET::value_will_underflow): Likewise. |
|
4520 |
4276
|
4521 * Makefile.in (distclean): Also remove stamp-prereq. |
|
4522 |
4306
|
4523 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
4524 RHS and index are empty matrices, don't do anything. |
4270
|
4525 |
4242
|
4526 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4527 |
|
4528 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
4529 delete_c_names): New helper functions. |
|
4530 (dir_path::find_first_of): New function. |
|
4531 (dir_path::find_all_first_of): Likewise. |
|
4532 * pathsearch.h: Provide decls. |
|
4533 |
|
4534 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
4535 (octave_kpse_all_path_find_first_of): Likewise. |
|
4536 * oct-kpse.h: Provide decls. |
|
4537 |
4231
|
4538 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4539 |
|
4540 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
4541 * ODESSA-opts.in: Likewise. |
|
4542 |
|
4543 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
4544 * LSODE-opts.in: Likewise. |
|
4545 |
4229
|
4546 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4547 |
4230
|
4548 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
4549 in all constructors. |
|
4550 |
4229
|
4551 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
4552 (LINK_DEPS): Not here. |
|
4553 |
4219
|
4554 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4555 |
4220
|
4556 * str-vec.cc (string_vector::compare): New static member function. |
|
4557 * str-vec.h: Provide decl. |
|
4558 (string_vector::sort): Use it. |
|
4559 (str_vec_compare): Delete static function. |
|
4560 |
4219
|
4561 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
4562 a placement operator new. |
|
4563 |
4209
|
4564 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4565 |
4210
|
4566 * Matrix.h: Include mx-ops.h too. |
4209
|
4567 * mx-ops.h: New file. |
|
4568 |
4192
|
4569 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4570 |
|
4571 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
4572 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
4573 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
4574 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
4575 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4576 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4577 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
4578 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
4579 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
4580 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
4581 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
4582 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
4583 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
4584 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
4585 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
4586 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
4587 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
4588 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
4589 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
4590 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
4591 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
4592 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
4593 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
4594 |
4184
|
4595 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4596 |
|
4597 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
4598 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
4599 |
4180
|
4600 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4601 |
|
4602 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
4603 fortran code that should run fast enough that it is not worth all |
|
4604 the setup costs of F77_XFCN. |
|
4605 |
|
4606 * Quad.cc (user_function): Surround body of function with |
|
4607 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
4608 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
4609 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
4610 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
4611 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
4612 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
4613 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
4614 |
4164
|
4615 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4616 |
|
4617 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
4618 of ! defined (linux). |
|
4619 |
5095
|
4620 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
4621 |
|
4622 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
4623 (make_shlib): Instantiate octave_dyld_shlib. |
|
4624 |
4152
|
4625 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4626 |
4153
|
4627 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
4628 |
4152
|
4629 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
4630 |
|
4631 * Array.h: Include <cstddef> here. |
|
4632 |
4142
|
4633 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4634 |
4144
|
4635 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
4636 using them. Accept inequality contraint option of 0. Assign |
|
4637 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
4638 abs_tol and rel_tol. |
|
4639 |
4143
|
4640 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
4641 static function. |
|
4642 (command_editor::do_filename_completion_desired): New virtual function. |
|
4643 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
4644 * oct-rl-edit.h: Provide decl. |
|
4645 |
4142
|
4646 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
4647 avoid OS X linker bug. |
|
4648 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
4649 |
4139
|
4650 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4651 |
4141
|
4652 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
4653 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
4654 solvers. |
|
4655 * ODESSA.cc: Fix all callers. |
|
4656 |
4139
|
4657 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
4658 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
4659 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
4660 |
4136
|
4661 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4662 |
|
4663 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
4664 |
4132
|
4665 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4666 |
4133
|
4667 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
4668 (ddasrt_f): Combine loops. |
|
4669 |
4132
|
4670 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
4671 instead of empty vector if user termninates iteration. |
|
4672 |
4130
|
4673 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4674 |
|
4675 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
4676 octave_read_complex, octave_write_double, octave_write_complex): |
|
4677 New functions. |
|
4678 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
4679 Use octave_write_complex. |
|
4680 (operator >> (std::istream&, const ComplexMatrix&)): |
|
4681 Use octave_read_complex. |
|
4682 * dMatrix.cc (operator << (std::ostream&, double)): |
|
4683 Use octave_write_double. |
|
4684 (operator >> (std::istream&, double)): Use octave_read_double. |
|
4685 |
4126
|
4686 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4687 |
|
4688 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
4689 * oct-kpse.h: Delete decl. |
|
4690 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
4691 ::octave_kpse_clear_dir_cache. |
|
4692 |
4123
|
4693 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4694 |
4124
|
4695 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
4696 earlier than 3.0. |
|
4697 |
4123
|
4698 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
4699 (liboctave.$(SHLEXT)): Not here. |
|
4700 |
5095
|
4701 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
4702 |
|
4703 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
4704 |
4108
|
4705 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4706 |
|
4707 * Makefile.in (install-lib): Don't bother with versions for |
|
4708 $(SHLBIN) files. |
|
4709 |
5095
|
4710 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
4711 |
|
4712 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
4713 |
4102
|
4714 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4715 |
|
4716 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
4717 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
4718 New functions. |
|
4719 |
|
4720 * Makefile.in (install): No need to use cd to create links. |
|
4721 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
4722 |
5095
|
4723 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
4724 |
|
4725 * Makefile.in: Merge liboctave with liboct-readline and |
|
4726 liboct-pathsearch. |
|
4727 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
4728 (libraries): Depend on versioned library. |
|
4729 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
4730 build unversioned library, symbolic link adds version info. |
|
4731 (install, uninstall): Handle link and load forms of the library |
|
4732 separately. |
|
4733 |
4101
|
4734 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4735 |
|
4736 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
4737 __CYGWIN__. |
|
4738 |
|
4739 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
4740 file_ops::dir_sep_chars): New static functions to replace |
|
4741 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
4742 |
|
4743 * oct-env.cc (octave_env::do_set_program_name): |
|
4744 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
4745 (octave_env::do_base_pathname): Likewise. |
|
4746 (octave_env::do_make_absolute): Likewise. |
|
4747 |
|
4748 * oct-env.cc (octave_env::do_make_absolute): |
|
4749 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
4750 (octave_env::do_get_home_directory): Likewise. |
|
4751 |
|
4752 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
4753 that information here too. |
|
4754 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
4755 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
4756 |
|
4757 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
4758 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
4759 |
4097
|
4760 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4761 |
|
4762 * oct-env.h (octave_env::current_directory): Now mutable. |
|
4763 (octave_env:do_getcwd): Now const. |
|
4764 |
|
4765 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
4766 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
4767 OCTAVE_CURRENT_DIR_STR): New macros. |
|
4768 * oct-env.cc (is_dir_sep): Delete. |
|
4769 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
4770 (octave_env::do_set_program_name): Likewise. |
|
4771 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
4772 instead of checking for '/'. |
|
4773 (octave_env::pathname_backup): Likewise. |
|
4774 (octave_env::do_absolute_pathname): Likewise. |
|
4775 (octave_env::do_make_absolute): Likewise. |
|
4776 If dot_path is empty, use getcwd to set current_dir. |
|
4777 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
4778 instead of "/". |
|
4779 |
5095
|
4780 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4781 |
|
4782 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
4783 |
5095
|
4784 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4785 |
|
4786 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
4787 absolute path names under MinGW as well. |
|
4788 |
|
4789 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4790 |
|
4791 * oct-env.cc: Include <cctype> too. |
|
4792 |
4087
|
4793 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4794 |
|
4795 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
4796 filenames. |
|
4797 (octave_env::do_make_absolute): Check for absolute name with |
|
4798 do_absolute_path. |
4088
|
4799 (octave_env::do_chdir): Likewise. |
|
4800 (is_dir_sep): New function. |
4087
|
4801 |
5095
|
4802 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
4803 |
4086
|
4804 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
4805 systems. |
4085
|
4806 |
4083
|
4807 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4808 |
|
4809 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
4810 |
4080
|
4811 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4812 |
4081
|
4813 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
4814 |
4080
|
4815 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4816 |
5095
|
4817 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
4818 |
|
4819 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
4820 gr_gid too. |
|
4821 |
4072
|
4822 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4823 |
4074
|
4824 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
4825 lo_ieee_* functions. |
4072
|
4826 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
4827 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
4828 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
4829 * lo-cieee.c: New file. |
4074
|
4830 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
4831 * lo-ieee.h: Now all extern "C". |
4074
|
4832 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
4833 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
4834 |
4072
|
4835 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
4836 Now extern. |
|
4837 |
4066
|
4838 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4839 |
|
4840 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4841 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4842 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4843 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4844 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4845 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4846 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4847 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4848 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4849 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4850 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4851 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4852 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4853 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4854 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4855 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4856 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4857 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4858 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4859 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4860 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4861 oct-alloc.cc: |
|
4862 If __GNUG__, use pragma interface/implementation. Allow this to |
|
4863 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
4864 |
5095
|
4865 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
4866 |
4066
|
4867 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
4868 system readlink function is not available. |
|
4869 |
4065
|
4870 * lo-mappers.cc (xerf, xerfc): Delete. |
|
4871 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
4872 |
4064
|
4873 * lo-mappers.cc: Remove unused #define M_PI. |
|
4874 * lo-specfun.cc: Add #define M_PI if needed. |
|
4875 |
4062
|
4876 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4877 |
|
4878 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
4879 that geteuid doesn't exist. |
|
4880 |
|
4881 * LP.h: Rename LP class to octave_LP. |
|
4882 LPsolve.h: Change all uses. |
|
4883 |
|
4884 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
4885 incorrect token-pasting op. |
|
4886 |
|
4887 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
4888 define lstat. |
|
4889 |
4061
|
4890 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4891 |
|
4892 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4893 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4894 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4895 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4896 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4897 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4898 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4899 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4900 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4901 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4902 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4903 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4904 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4905 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4906 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4907 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4908 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4909 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4910 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4911 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4912 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4913 oct-alloc.cc: |
|
4914 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
4915 to decide whether to use the interface/implementation pragmas. |
|
4916 |
4058
|
4917 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4918 |
|
4919 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
4920 |
4055
|
4921 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
4922 |
|
4923 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
4924 qualified names. |
|
4925 |
4051
|
4926 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4927 |
4054
|
4928 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
4929 ArrayN.cc: Add typename where needed. |
4053
|
4930 |
4051
|
4931 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
4932 strstream classes directly. |
|
4933 * DASRT.cc: Likewise. |
|
4934 * DASSL.cc: Likewise. |
|
4935 * LSODE.cc: Likewise. |
|
4936 * ODESSA.cc: Likewise. |
|
4937 |
|
4938 * cmd-hist.cc: Don't include <strstream>. |
|
4939 * oct-shlib.cc: Likewise. |
|
4940 |
|
4941 * lo-sstream.h: New file. |
|
4942 |
4049
|
4943 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4944 |
|
4945 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
4946 New data members. |
|
4947 (LSODE::sanity_checked): Delete unused data member. |
|
4948 |
|
4949 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
4950 prel_tol, pinfo, piwork, prwork): New data members. |
|
4951 * DASSL.h (DASSL): Likewise. |
|
4952 |
|
4953 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
4954 |
|
4955 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
4956 initialization, changes in options, etc. |
|
4957 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
4958 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4959 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
4960 |
4047
|
4961 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4962 |
4049
|
4963 * DAEFunc.h (DAEFunc::reset): New data member. |
|
4964 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
4965 |
|
4966 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
4967 (base_diff_eqn::clear_stop_time): Likewise. |
|
4968 |
4047
|
4969 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
4970 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
4971 |
5095
|
4972 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
4973 |
|
4974 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
4975 * DASRT-opts.in, DASRT.h: Likewise. |
|
4976 * DASSL-opts.in, DASSL.h: Likewise. |
|
4977 * LSODE-opts.in, LSODE.h: Likewise. |
|
4978 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
4979 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
4980 |
4038
|
4981 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4982 |
4042
|
4983 * LSODE.cc (LSODE::error_message): Also return current T on |
|
4984 failures when that makes sense. |
4043
|
4985 * DASSL.cc (DASSL::error_message): Likewise. |
|
4986 * DASRT.cc (DASRT::error_message): Likewise. |
|
4987 * DASPK.cc (DASPK::error_message): Likewise. |
|
4988 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
4989 |
4038
|
4990 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
4991 $(LIBKPATHSEA) here. |
|
4992 |
4025
|
4993 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4994 |
|
4995 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
4996 (lo_ieee_is_NaN_or_NA): New function. |
|
4997 (octave_NA): New global value. |
|
4998 (octave_ieee_init): Initialize it. |
|
4999 * lo-mappers.cc (octave_is_NA): New function. |
|
5000 (octave_is_NaN_or_NA): New function. |
|
5001 (xisnan): Return false if NaN looks like a missing value. |
|
5002 (xisnan (const Complex&)): Use xisnan here. |
|
5003 |
4015
|
5004 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5005 |
4017
|
5006 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
5007 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
5008 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
5009 Default value for dim is -1, not 0. |
|
5010 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
5011 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
5012 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
5013 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
5014 |
4015
|
5015 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
5016 New macros. |
|
5017 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
5018 MX_BASE_REDUCTION_OP. |
|
5019 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
5020 |
4014
|
5021 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5022 |
4015
|
5023 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
5024 Return boolMatrix, not Matrix. |
|
5025 |
|
5026 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
5027 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
5028 (Matrix::all): Replace guts with MX_ALL_OP. |
|
5029 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
5030 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
5031 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
5032 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
5033 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
5034 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
5035 |
|
5036 * dMatrix.h (Matrix::any): New arg, dim. |
|
5037 (Matrix::all): Likewise. |
|
5038 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
5039 (ComplexMatrix::all): Likewise. |
|
5040 * boolMatrix.h (boolMatrix::any): Likewise. |
|
5041 (boolMatrix::all): Likewise. |
|
5042 * chMatrix.h (charMatrix::any): Likewise. |
|
5043 (charMatrix::all): Likewise. |
|
5044 |
4014
|
5045 * Makefile.in: Use $@-t instead of $@.t. |
|
5046 |
4004
|
5047 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5048 |
|
5049 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
5050 Use it in matrix versions to avoid spewing multiple errors. |
|
5051 Call xgammainc instead of dgamit. |
|
5052 |
3998
|
5053 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5054 |
|
5055 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
5056 Get rows and columns right in loop. |
|
5057 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
5058 |
|
5059 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5060 |
|
5061 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
5062 * DASRT.cc (DASRT::integrate): Likewise. |
|
5063 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
5064 |
|
5065 * Quad.cc: Don't pass tolerances in constructors. |
|
5066 |
|
5067 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
5068 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
5069 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
5070 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
5071 from corresponding .in files. |
|
5072 * LSODE.h, Quad.h: Replace options class definitions with included |
|
5073 file. |
|
5074 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
5075 create OPTS_INC files from OPTS_INC_SRC files. |
|
5076 (stamp-prereq): New target. |
|
5077 (libraries): Depend on stamp-prereq. |
|
5078 Include stamp-prereq along with $(MAKEDEPS). |
|
5079 |
3997
|
5080 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5081 |
|
5082 * base-de.h (base_diff_eqn::istate): New data member. |
|
5083 (base_diff_eqn::integration_state): New member function. |
|
5084 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
5085 data members and functions. |
|
5086 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
5087 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
5088 |
3990
|
5089 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5090 |
3995
|
5091 * base-de.h (base_diff_eqn::stop_time, |
|
5092 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
5093 base_diff_eqn::integration_error): New data members. |
|
5094 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
5095 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
5096 base_diff_eqn::error_message): New member functions. |
|
5097 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
5098 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
5099 members and functions. |
|
5100 |
3992
|
5101 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
5102 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
5103 (DASRT::integrate): Don't forget to set nn. |
3992
|
5104 |
3991
|
5105 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
5106 * DASSL.cc (ddassl_j): Make it work. |
|
5107 * DASPK.cc (ddaspk_j): Likewise. |
|
5108 |
3990
|
5109 * DAE.cc: Delete. |
|
5110 |
|
5111 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
5112 solving with root finding. |
|
5113 * Makefile.in: Add them to the appropriate lists. |
|
5114 |
|
5115 * base-dae.h: New file. |
|
5116 * Makefile.in (INCLUDES): Add it to the list. |
|
5117 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
5118 |
3984
|
5119 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5120 |
|
5121 * ODE.h: Move integrate and do_integrate method declarations and |
|
5122 definitions here. |
|
5123 * base-de.h: From here. |
|
5124 |
|
5125 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
5126 * Makefile.in: Add them to the appropriate lists. |
|
5127 (LIBOCTAVE_CXX_SOURCES): |
|
5128 |
3971
|
5129 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5130 |
|
5131 * NLEqn.cc (NLEqn::error_message): New function. |
|
5132 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
5133 |
3970
|
5134 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5135 |
|
5136 * lo-utils.cc (octave_fgetl): New function. |
|
5137 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
5138 |
3959
|
5139 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5140 |
|
5141 * LSODE.cc (LSODE::error_message): New function. |
|
5142 * LSODE.h: Provide decl. |
|
5143 (LSODE::integration_state): New function. |
|
5144 (LSODE::integration_ok): New function. |
|
5145 |
3952
|
5146 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5147 |
3955
|
5148 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
5149 (LSODE_options::set_integration_method, |
|
5150 LSODE_options::integration_method): New functions. |
3954
|
5151 |
3952
|
5152 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
5153 Change all uses. |
|
5154 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
5155 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
5156 New function. |
|
5157 |
|
5158 * Array.h (Array::fortran_vec): New const version. |
|
5159 |
3951
|
5160 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5161 |
|
5162 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
5163 (gnu_readline::history_search_forward): Likewise. |
|
5164 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
5165 to extern "C" functions to octave_rl_ad_defun. |
|
5166 |
5095
|
5167 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
5168 |
|
5169 * DASPK.cc (ddaspk_psol): Return value. |
|
5170 * oct-rl-edit.c: Use /* ... */ to comment. |
|
5171 |
3945
|
5172 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5173 |
|
5174 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5175 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5176 * LSODE.h (LSODE_options::init): Likewise. |
|
5177 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5178 |
|
5179 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
5180 sqrt(eps), not eps^2. |
|
5181 DASPK_options::set_absolute_tolerance): Likewise. |
|
5182 |
5095
|
5183 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
5184 |
|
5185 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
5186 object. |
|
5187 |
3933
|
5188 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5189 |
|
5190 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
5191 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
5192 (octave_rl_set_basic_word_break_characters, |
|
5193 octave_rl_set_completer_word_break_characters): New functions. |
|
5194 * oct-rl-edit.h: Provide decls. |
|
5195 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
5196 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
5197 (command_editor::set_basic_quote_characters, |
|
5198 command_editor::set_completion_append_character): New static functions. |
|
5199 * cmd-edit.h: Provide decls. |
|
5200 (command_editor::do_set_basic_word_break_characters, |
|
5201 command_editor::do_set_completer_word_break_characters): |
|
5202 New virtual functions. |
|
5203 |
|
5204 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
5205 (resize_fill_value): New static function. |
|
5206 |
|
5207 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
5208 resize_fill_value. |
|
5209 * Array2-idx.h (Array2<T>::index): Likewise. |
|
5210 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
5211 |
|
5212 * Array2.cc (Array<T>::print_info): New function. |
|
5213 * Array2.h: Provide decl. |
|
5214 |
|
5215 * Array.cc (Array<T>::print_info): New function. |
|
5216 * Array.h: Provide decl. |
|
5217 |
3928
|
5218 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5219 |
|
5220 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
5221 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
5222 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
5223 |
|
5224 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
5225 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
5226 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
5227 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
5228 |
5095
|
5229 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
5230 |
|
5231 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
5232 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
5233 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
5234 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
5235 |
3919
|
5236 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5237 |
|
5238 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5239 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5240 |
3912
|
5241 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5242 |
|
5243 * DASPK.h, DASPK.cc: New files. |
|
5244 * Makefile.in: Add them to the appropriate lists. |
|
5245 |
3904
|
5246 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5247 |
|
5248 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
5249 Simplify indexing when one or both of the indices are empty. |
|
5250 |
3896
|
5251 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5252 |
|
5253 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
5254 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5255 * LSODE.h (LSODE_options::init): Likewise. |
|
5256 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5257 |
5095
|
5258 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
5259 |
|
5260 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
5261 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
5262 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
5263 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
5264 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
5265 * file-stat.h: Likewise. |
|
5266 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
5267 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
5268 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
5269 * strftime.c: Likewise. |
|
5270 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
5271 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
5272 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
5273 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
5274 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
5275 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
5276 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
5277 |
5095
|
5278 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
5279 |
|
5280 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
5281 internally when the user requests it. |
|
5282 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
5283 * dbleQR.cc (QR::init): Ditto. |
|
5284 * dbleQRP.cc (QRP::init): Ditto. |
|
5285 |
3874
|
5286 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5287 |
|
5288 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
5289 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
5290 (octave_fftw::ifft2d): Likewise. |
|
5291 |
5095
|
5292 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
5293 |
|
5294 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
5295 |
3867
|
5296 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5297 |
|
5298 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
5299 (LS_DO_WRITE): Likewise. |
|
5300 |
3864
|
5301 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5302 |
|
5303 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
5304 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
5305 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
5306 |
|
5307 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
5308 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
5309 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
5310 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
5311 |
|
5312 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
5313 DIM == -1 now means no orientation for vector sums. |
|
5314 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
5315 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
5316 |
3858
|
5317 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5318 |
|
5319 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
5320 have zero elements. |
|
5321 |
3854
|
5322 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5323 |
3857
|
5324 * Makefile.in: Split out readline and pathsearch functionality |
|
5325 into separate liboct-readline and liboct-pathsearch libraries. |
|
5326 |
3854
|
5327 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
5328 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
5329 to do nothing for this call to rl_clear_screen. |
3854
|
5330 |
3849
|
5331 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5332 |
|
5333 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
5334 function. |
|
5335 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
5336 |
3838
|
5337 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5338 |
|
5339 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
5340 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
5341 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
5342 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
5343 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
5344 |
3836
|
5345 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5346 |
|
5347 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
5348 |
|
5349 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
5350 Array-b.cc: Instantiate three arg assign functions. |
|
5351 |
|
5352 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
5353 New arg, resize_fill_value. |
|
5354 * ArrayN.h: Provide declaration. |
|
5355 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
5356 three arg version. |
|
5357 |
|
5358 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
5359 New arg, resize_fill_value. |
|
5360 * Array3.h: Provide declaration. |
|
5361 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
5362 three arg version. |
|
5363 |
|
5364 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
5365 New arg, resize_fill_value. |
|
5366 * Array2.h: Provide declaration. |
|
5367 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
5368 three arg version. |
|
5369 |
|
5370 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
5371 New arg, resize_fill_value. |
|
5372 * Array.h: Provide declaration. |
|
5373 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
5374 three arg version. |
|
5375 |
3833
|
5376 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5377 |
|
5378 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
5379 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
5380 to the empty string. |
|
5381 |
3832
|
5382 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5383 |
|
5384 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
5385 Don't check for rep != a.rep. |
|
5386 |
3827
|
5387 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
5388 |
|
5389 * oct-fftw.h, oct-fftw.cc: New files. |
|
5390 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
5391 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
5392 ifourier2d}): Use fftw if available. |
|
5393 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
5394 Likewise. |
|
5395 |
3821
|
5396 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5397 |
|
5398 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
5399 (install-inc): Don't use mk-includedir-link. |
|
5400 |
3803
|
5401 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5402 |
|
5403 * lo-cutils.c (octave_gethostname): New function. |
|
5404 * lo-utils.h: Provide declaration. |
|
5405 * oct-env.cc (octave_env::do_get_host_name): |
|
5406 Call octave_gethostname, instead of gethostname. |
|
5407 |
|
5408 * lo-cutils.c (gethostname): Define here. |
|
5409 * lo-sysdep.cc: Not here. |
|
5410 |
3786
|
5411 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5412 |
|
5413 * lo-cutils.c: Don't declare strptime. |
|
5414 (oct_strptime): Cast return type of strptime to char*. |
|
5415 |
3777
|
5416 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5417 |
3779
|
5418 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
5419 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
5420 (octave_rl_read_init_file): Ditto. |
|
5421 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
5422 free_undo_list. |
|
5423 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
5424 completion_matches. |
|
5425 (octave_rl_enable_paren_matching): New function. |
|
5426 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
5427 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
5428 |
3777
|
5429 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
5430 tanh (const Complex&)): Declare and define if not |
|
5431 CXX_ISO_COMPLIANT_LIBRARY. |
|
5432 |
3776
|
5433 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5434 |
|
5435 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
5436 CXX_ISO_COMPLIANT_LIBRARY. |
|
5437 |
3775
|
5438 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
5439 |
3776
|
5440 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
5441 CXX_ISO_COMPLIANT_LIBRARY. |
|
5442 |
3775
|
5443 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
5444 archive libraries containing templates. |
|
5445 |
|
5446 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
5447 get_zero_len_size, all_colon_equiv): Inline. |
|
5448 (ArrayN<T>::index): Rename idx to arr_idx. |
|
5449 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
5450 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
5451 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
5452 |
|
5453 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5454 |
|
5455 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
5456 log10 (const Complex&)): Delete. |
|
5457 |
|
5458 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
5459 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
5460 sinh, sqrt, tan, and tanh. |
|
5461 |
3769
|
5462 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5463 |
|
5464 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
5465 Add std:: namespace qualifier as needed. |
|
5466 |
|
5467 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
5468 Change all uses to match. |
|
5469 |
3767
|
5470 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5471 |
|
5472 * lo-cutils.c: Don't delcare strptime. |
|
5473 |
3760
|
5474 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5475 |
|
5476 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
5477 Return correct size result for empty matrix case. |
|
5478 |
3757
|
5479 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5480 |
|
5481 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
5482 If args are equal in magnitude, return first arg instead of |
|
5483 second. |
|
5484 |
3752
|
5485 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5486 |
3755
|
5487 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
5488 then try harder to compute correct number of elements. |
3753
|
5489 |
3752
|
5490 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
5491 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
5492 |
3750
|
5493 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5494 |
3751
|
5495 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
5496 Rename n_intervals to be n_elt. |
|
5497 |
3750
|
5498 * strptime.c: Surround everything after including config.h in |
|
5499 #ifndef HAVE_STRPTIME ... #endif. |
|
5500 |
3742
|
5501 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5502 |
|
5503 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
5504 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
5505 |
3741
|
5506 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5507 |
|
5508 * MArray-defs.h: Protect against multiple inclusion. |
|
5509 |
3739
|
5510 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5511 |
|
5512 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
5513 end of the list, to be compatible with previous versions of Octave. |
|
5514 |
3736
|
5515 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5516 |
|
5517 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
5518 since mktime is supposed to `normalize' the results for us. |
|
5519 |
3731
|
5520 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5521 |
|
5522 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
5523 and vectors. Use xelem for faster access to elements when copying. |
3731
|
5524 |
3726
|
5525 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5526 |
|
5527 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
5528 Correct indexing for operation across rows. |
|
5529 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
5530 |
3725
|
5531 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5532 |
|
5533 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
5534 elements if arg is a colon. |
|
5535 |
5095
|
5536 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
5537 |
3795
|
5538 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
5539 (Matrix::cumsum (int) const): Likewise. |
|
5540 (Matrix::prod (int) const): Likewise. |
|
5541 (Matrix::sum (int) const): Likewise. |
|
5542 (Matrix::sumsq (int) const): Likewise. |
|
5543 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
5544 (ComplexMatrix::cumsum (int) const): Likewise. |
|
5545 (ComplexMatrix::prod (int) const): Likewise. |
|
5546 (ComplexMatrix::sum (int) const): Likewise. |
|
5547 (ComplexMatrix::sumsq (int) const): Likewise. |
|
5548 |
3722
|
5549 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5550 |
|
5551 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
5552 size if Array<T>::index returns an empty array. |
|
5553 |
3710
|
5554 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5555 |
|
5556 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
5557 file_ops::readlink): New functions. |
|
5558 |
3709
|
5559 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5560 |
|
5561 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
5562 indexed, always return an object the same size as the index arg. |
|
5563 |
|
5564 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
5565 empty format. |
|
5566 |
3706
|
5567 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5568 |
|
5569 * lo-cutils.c (oct_strptime): New function. |
|
5570 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
5571 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
5572 |
3702
|
5573 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5574 |
3703
|
5575 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
5576 |
3702
|
5577 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
5578 |
3689
|
5579 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5580 |
|
5581 * dMatrix.h (read_int): Provide declaration. |
|
5582 |
3688
|
5583 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
5584 |
|
5585 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
5586 (write_doubles): Ditto. |
|
5587 * data-conv.h: Ditto. |
|
5588 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
5589 |
3685
|
5590 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5591 |
|
5592 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
5593 * boolMatrix.cc: Define them here. |
|
5594 |
3680
|
5595 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5596 |
|
5597 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
5598 previously undefined and set size of x to size of bool index. |
|
5599 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
5600 Allow z_len to be zero. |
|
5601 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
5602 If frozen, don't assert that frozen_at_z_len == z_len. |
|
5603 |
3670
|
5604 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5605 |
|
5606 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
5607 instead of rl_clear_screen. |
|
5608 |
3665
|
5609 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5610 |
|
5611 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
5612 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
5613 * Makefile.in: Add them to the appropriate lists. |
|
5614 |
3657
|
5615 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5616 |
|
5617 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
5618 |
3635
|
5619 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5620 |
|
5621 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
5622 |
3615
|
5623 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5624 |
|
5625 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
5626 before rebuilding. |
|
5627 |
5095
|
5628 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
5629 |
5261
|
5630 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
5631 (libraries): Depend only on library targets, not archive members. |
|
5632 |
3613
|
5633 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5634 |
|
5635 * Makefile.in: (objects): New target. |
|
5636 |
|
5637 * lo-cutils.c: New file. |
|
5638 * Makefile.in (SOURCES): Add it to the list. |
|
5639 * lo-utils.h: Declare octave_qsort here. |
|
5640 * Array.h (Array::qsort): Use it here. |
|
5641 |
3607
|
5642 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5643 |
|
5644 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
5645 |
3598
|
5646 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5647 |
|
5648 * oct-rl-hist.c (octave_history_list): Do something when not |
|
5649 printing line numbers. Fix reallocation of retval. |
|
5650 |
3597
|
5651 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5652 |
|
5653 * Makefile.in (install-inc): Install files in |
|
5654 $(octincludedir)/octave. |
|
5655 (uninstall): Remove them from the correct directory too. |
|
5656 |
|
5657 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
5658 they are not already defined. |
|
5659 |
3588
|
5660 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5661 |
|
5662 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
5663 Delete declarations and definitions of mixed-type vector-vector ops. |
|
5664 |
3585
|
5665 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5666 |
|
5667 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
5668 matrix and vector objects. |
|
5669 |
|
5670 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
5671 return type from second arg type. |
|
5672 (MDM_BIN_OP): Likewise, for first arg type. |
|
5673 |
|
5674 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
5675 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
5676 |
|
5677 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
5678 request ColumnVector to ComplexColumnVector, and Matrix to |
|
5679 ComplexMatrix conversions. |
|
5680 |
|
5681 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
5682 initial value using ComplexMatrix constructor. |
|
5683 |
|
5684 * CColVector.cc (product, quotient, |
|
5685 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
5686 Fix type of returned value. |
|
5687 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
5688 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
5689 |
|
5690 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
5691 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
5692 dRowVector.h: Declare some constructors explicit, to disallow |
|
5693 potentially problematic automatic type conversions. |
|
5694 |
3580
|
5695 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5696 |
3582
|
5697 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
5698 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
5699 More new files. |
|
5700 * Makefile.in: Add them to the appropriate lists. |
|
5701 |
|
5702 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
5703 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
5704 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
5705 vx-s-crv.cc:, New files. |
|
5706 * Makefile.in: Add them to the appropriate lists. |
|
5707 |
|
5708 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
5709 Delete scalar by vector and vector by scalar binary ops. |
|
5710 |
3580
|
5711 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
5712 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
5713 |
3573
|
5714 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5715 |
3578
|
5716 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
5717 rl_event_hook before casting to void **. |
|
5718 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
5719 |
3574
|
5720 * MArray-defs.h: Many new macros to make declaration and |
|
5721 definition of operators more consistent. |
|
5722 |
|
5723 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
5724 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
5725 |
3569
|
5726 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5727 |
3572
|
5728 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
5729 (Matrix::ifourier2d): Likewise. |
|
5730 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
5731 (ComplexMatrix::ifourier2d): Likewise. |
|
5732 |
3569
|
5733 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
5734 |
3504
|
5735 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5736 |
3519
|
5737 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
5738 readline library. |
|
5739 * Makefile.in: Add them to the appropriate lists. |
|
5740 |
|
5741 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
5742 readline history library. |
|
5743 * Makefile.in: Add them to the appropriate lists. |
|
5744 |
3517
|
5745 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
5746 (LS_DO_READ): Likewise, for istream::read. |
3518
|
5747 (write_doubles): Likewise. |
|
5748 (read_doubles): Likewise. |
3517
|
5749 |
3516
|
5750 * oct-env.cc (octave_env::do_polite_directory_format): |
|
5751 Use operator== and substr method to do limited-length string |
|
5752 comparison. |
|
5753 |
3513
|
5754 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
5755 |
3511
|
5756 * Quad.h: Use do_integrate as name of pure virtual function. |
|
5757 |
3508
|
5758 * base-de.h: Use tt instead of t as arg names. |
3511
|
5759 Add method with tcrit arg. |
|
5760 |
3509
|
5761 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
5762 |
3507
|
5763 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
5764 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
5765 * Quad.cc (quad_fcn_ptr): Ditto. |
|
5766 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
5767 |
3505
|
5768 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
5769 * Makefile.in: Add them to the appropriate lists. |
3505
|
5770 |
|
5771 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
5772 * Makefile.in: Add them to the appropriate lists. |
3505
|
5773 |
3504
|
5774 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
5775 |
|
5776 * CDiagMatrix.h: Delete decls for friend operators that are |
|
5777 handled by MDiagArray2 class. Move others outside class decl and |
|
5778 strip friend status. |
|
5779 * dDiagMatrix.h: Likewise. |
|
5780 |
|
5781 * MArray.h: Delete decls for friend operators inside class decl. |
|
5782 * MArray2.h: Ditto. |
|
5783 * MDiagArray2.h: Ditto. |
|
5784 |
|
5785 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
5786 necessary parameters. Don't allocate memory in the macro. Change |
|
5787 all uses. |
|
5788 |
|
5789 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
5790 * CMatrix.h (class ComplexMatrix): Ditto. |
|
5791 |
|
5792 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
5793 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
5794 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
5795 avoid type conflicts. Change all uses. |
|
5796 |
|
5797 * strptime.c (__mon_yday): Fix size of array decl. |
|
5798 |
|
5799 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
5800 |
|
5801 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
5802 default value for second arg. |
|
5803 |
|
5804 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
5805 references to ArrayRep. |
|
5806 |
3503
|
5807 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5808 |
3504
|
5809 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
5810 |
|
5811 * All source files: Include iostream, fstream, strstream, |
|
5812 etc. as needed instead of using forward declarations for these |
3504
|
5813 classes. Add std:: qualifier as needed. |
3503
|
5814 |
3498
|
5815 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5816 |
|
5817 * oct-time.cc: Declare strptime extern "C". |
|
5818 |
3496
|
5819 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5820 |
|
5821 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
5822 |
3488
|
5823 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5824 |
3492
|
5825 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
5826 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
5827 to get total size to be allocated. |
|
5828 |
3488
|
5829 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
5830 as bool, not int. |
|
5831 |
3482
|
5832 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5833 |
|
5834 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5835 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
5836 as A, even when do_fortran_indexing is not enabled. |
|
5837 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
5838 |
3473
|
5839 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5840 |
3480
|
5841 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
5842 function pointer as final arg. Passed function (if any) will be |
|
5843 called for singularity errors. |
|
5844 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
5845 |
|
5846 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
5847 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
5848 |
3475
|
5849 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
5850 No longer bother with infinity or quiet_nan. |
|
5851 |
3473
|
5852 * Array2.cc (Array2<T>::get_size): New function. |
|
5853 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
5854 |
3472
|
5855 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5856 |
|
5857 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
5858 New function. |
|
5859 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5860 Use it when indexing with one arg instead of faking a second one. |
|
5861 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
5862 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
5863 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
5864 rows or columns. |
|
5865 |
|
5866 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
5867 vector that is all true values with a length equal to n as colon |
|
5868 equivalent. |
|
5869 |
3470
|
5870 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5871 |
|
5872 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
5873 |
5095
|
5874 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
5875 |
|
5876 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
5877 operations directly in step 2 and reverse step 2. |
|
5878 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
5879 operations directly in step 2 and reverse step 2. |
|
5880 |
3465
|
5881 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5882 |
|
5883 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
5884 |
|
5885 * strptime.c: New file, from glibc 2.1.2. |
|
5886 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
5887 |
3419
|
5888 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5889 |
|
5890 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
5891 |
3415
|
5892 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5893 |
|
5894 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
5895 NULL directory list returned from kpse_element_dirs |
|
5896 |
3375
|
5897 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5898 |
|
5899 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
5900 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
5901 directly, instead of calling ZGESV. |
|
5902 |
3358
|
5903 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5904 |
|
5905 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
5906 (string_to_data_type): Use it to improve lookup of data types. |
|
5907 |
3354
|
5908 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5909 |
|
5910 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
5911 * Array2.h (is_symmetric): Delete declaration. |
|
5912 |
3347
|
5913 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5914 |
|
5915 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
5916 |
3344
|
5917 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5918 |
|
5919 * oct-time.cc (Fstrftime): Undo previous change. |
|
5920 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5921 |
3334
|
5922 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5923 |
3336
|
5924 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
5925 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
5926 |
3334
|
5927 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
5928 Don't forget to pass length of third string argument to dgeesx. |
|
5929 |
|
5930 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
5931 of third string argument to zgeesx. |
|
5932 |
3333
|
5933 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5934 |
|
5935 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
5936 On errors, simply return `T ()'. |
|
5937 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
5938 |
5095
|
5939 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
5940 |
|
5941 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
5942 AEPBALANCE class. |
|
5943 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
5944 |
3325
|
5945 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5946 |
|
5947 * oct-shlib.cc, oct-shlib.h: New files. |
|
5948 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5949 |
3322
|
5950 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5951 |
|
5952 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
5953 * dRowVector.cc (linspace): Ditto. |
|
5954 |
|
5955 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
5956 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5957 |
3312
|
5958 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5959 |
|
5960 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
5961 to evaluate the Jacobian, set info(4), not iwork(4). |
|
5962 Set rwork(1) to the maximum step size, not rwork(2). |
|
5963 |
3290
|
5964 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5965 |
|
5966 * oct-time.cc: Include <climits>. |
|
5967 |
3281
|
5968 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5969 |
|
5970 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
5971 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
5972 (gnu_readline::do_resize_terminal): New function. |
|
5973 |
3268
|
5974 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5975 |
|
5976 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
5977 * lo-ieee.c: Likewise. |
|
5978 Delete extern "C" declarations for infinity and quiet_nan. |
|
5979 |
3262
|
5980 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5981 |
3263
|
5982 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
5983 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
5984 `inline', not `static inline'. |
|
5985 |
3262
|
5986 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
5987 then cast to const int * to compare. |
|
5988 |
3257
|
5989 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5990 |
|
5991 * DAEFunc.h: Remove useless preprocessor conditional. |
|
5992 |
3255
|
5993 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5994 |
3257
|
5995 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
5996 Use octave_time object instead of time_t. |
|
5997 |
|
5998 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
5999 file_stat::fs_ctime): Now octave_time objects. |
|
6000 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
6001 Return octave_time objects. |
|
6002 (file_stat::is_newer): Args are now octave_time objects instead of |
|
6003 time_t. |
|
6004 |
3255
|
6005 * oct-time.h (octave_time::as_double): Delete. |
|
6006 (octave_time::operator double ()): New function. |
|
6007 (octave_time::operator time_t ()): New function. |
|
6008 (octave_time::ctime): New function. |
|
6009 (octave_base_tm::strftime): Renamed from format_as_string. |
|
6010 (octave_base_tm::asctime): New function. |
|
6011 (operator == (const octave_time&, const octave_time&), |
|
6012 operator != (const octave_time&, const octave_time&), |
|
6013 operator < (const octave_time&, const octave_time&), |
|
6014 operator <= (const octave_time&, const octave_time&), |
|
6015 operator > (const octave_time&, const octave_time&), |
|
6016 operator >= (const octave_time&, const octave_time&)): |
|
6017 New comparison functions. |
|
6018 |
|
6019 * strftime.c: Move here from src directory. |
|
6020 * Makefile.in (SOURCES): Add it to the list. |
|
6021 |
|
6022 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
6023 |
3253
|
6024 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6025 |
|
6026 * oct-time.h, oct-time.cc: New files. |
|
6027 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6028 |
|
6029 * systime.h: Move here from src directory. |
|
6030 * Makefile.in (INCLUDES): Add it to the list. |
|
6031 |
3248
|
6032 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6033 |
|
6034 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
6035 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
6036 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
6037 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
6038 |
|
6039 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
6040 |
3243
|
6041 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6042 |
|
6043 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
6044 |
|
6045 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6046 |
|
6047 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
6048 column vector for A(:), for compatibility with Matlab. |
|
6049 |
|
6050 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6051 |
|
6052 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
6053 iopt when there are optional inputs in rwork or iwork. |
|
6054 |
3238
|
6055 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6056 |
|
6057 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
6058 creating static libs. |
|
6059 |
5095
|
6060 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
6061 |
|
6062 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
6063 and uint32 data types. |
|
6064 |
|
6065 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6066 |
|
6067 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
6068 for Linux. Remove old Linux-specific code. |
|
6069 |
3233
|
6070 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6071 |
|
6072 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
6073 Don't require lengths to be equal. |
|
6074 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
6075 ComplexRowVector& a)): Likewise |
|
6076 |
5095
|
6077 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
6078 |
|
6079 * statdefs.h: Only define mode_t if not already defined. |
|
6080 |
5095
|
6081 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
6082 |
|
6083 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
6084 when appropriate. |
|
6085 |
|
6086 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6087 |
|
6088 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
6089 before calling rl_initialize. |
|
6090 |
3220
|
6091 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6092 |
|
6093 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
6094 Update Bessel function support to use library by D. E. Amos. |
|
6095 |
3219
|
6096 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6097 |
|
6098 * cmd-edit.h (command_editor::readline): Add new variation that |
|
6099 allows EOF information to be passed back to caller. |
|
6100 |
|
6101 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
6102 amount of data to read is unspecified. |
|
6103 |
3215
|
6104 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6105 |
3219
|
6106 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
6107 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
6108 |
3215
|
6109 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
6110 Add volatile qualifier to void* arg. |
|
6111 Cast volatile void* arg to volatile char*. |
|
6112 |
|
6113 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6114 |
|
6115 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
6116 (command_editor::do_restore_event_hook): Ditto. |
|
6117 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
6118 (command_editor::restore_event_hook): Ditto. |
|
6119 (gnu_readline::do_set_event_hook): Ditto. |
|
6120 (gnu_readline::do_restore_event_hook): Ditto. |
|
6121 (gnu_readline::previous_event_hook): New data member. |
|
6122 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
6123 |
3206
|
6124 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6125 |
|
6126 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
6127 |
|
6128 * Makefile.in (stmp-pic): New target. |
|
6129 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
6130 (clean): Remove stmp-pic |
|
6131 |
|
6132 * Makefile.in: Undo previous change to avoid optmization when |
|
6133 compiling lo-ieee.cc. |
|
6134 |
|
6135 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6136 |
|
6137 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
6138 imaginary parts. |
|
6139 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
6140 |
3203
|
6141 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6142 |
|
6143 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
6144 |
3196
|
6145 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6146 |
|
6147 * pathsearch.h (dir_path::default_path): New data member. |
|
6148 * pathsearch.cc (dir_path::init): Use it. |
|
6149 |
|
6150 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
6151 |
3189
|
6152 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6153 |
|
6154 * chMatrix.cc (charMatrix::extract): New function. |
|
6155 (charMatrix::charMatrix (char c)): New constructor. |
|
6156 |
|
6157 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6158 |
|
6159 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
6160 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
6161 (gnu_readline::do_read_init_file): Likewise. |
|
6162 |
3185
|
6163 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6164 |
|
6165 * oct-env.cc (octave_env::do_get_home_directory): |
|
6166 If HOME can't be found, set it to "/". |
|
6167 (octave_env::do_get_user_name) |
|
6168 If user name can't be found, set it to "unknown". |
|
6169 (octave_env::do_get_host_name) |
|
6170 If host name can't be found, set it to "unknown". |
|
6171 |
|
6172 * pathsearch.h (dir_path::rehash): New function. |
|
6173 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
6174 diretcory cache before doing initialization. |
|
6175 |
3180
|
6176 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6177 |
3185
|
6178 * dMatrix.cc (Qzval): Delete. |
|
6179 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
6180 * dMatrix.h (Qzval): Delete declaration. |
|
6181 |
|
6182 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
6183 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
6184 * mx-ext.h: Don't include dbleGEPBAL. |
|
6185 |
3180
|
6186 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
6187 static_cast. |
|
6188 |
|
6189 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6190 |
|
6191 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
6192 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
6193 |
|
6194 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6195 |
|
6196 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
6197 HUGE_VAL and NAN. |
|
6198 |
|
6199 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6200 |
|
6201 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
6202 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
6203 |
|
6204 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6205 |
|
6206 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
6207 Alloctate space before attempting to use it. |
|
6208 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
6209 |
5095
|
6210 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
6211 |
|
6212 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
6213 |
|
6214 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6215 |
|
6216 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
6217 have the same size as the operands. |
|
6218 |
|
6219 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6220 |
|
6221 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
6222 call to ddassl, set integration_error to 1 before calling the |
|
6223 error handler and returning. |
|
6224 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
6225 |
3177
|
6226 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6227 |
|
6228 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
6229 do_fortran_indexing is set, A([]) = scalar. |
|
6230 * Array-idx.h (assign): Allow A([]) = scalar. |
|
6231 |
3176
|
6232 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6233 |
|
6234 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
6235 if dm_nc == 0. |
|
6236 |
3174
|
6237 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6238 |
|
6239 * pathsearch.h (dir_path::p_orig): New field. |
|
6240 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
6241 expansion on the original path here. |
|
6242 (dir_path::find_all): Don't do anything if not initialized. |
|
6243 |
3164
|
6244 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6245 |
|
6246 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
6247 is not set. |
|
6248 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
6249 |
|
6250 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
6251 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
6252 \int_0^x exp(-t) t^(a-1) dt. |
|
6253 |
|
6254 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6255 |
|
6256 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
6257 Array-s.cc: Change return types of all `assign' explicit |
|
6258 instantiations to be int, not void, to match the template decl in |
|
6259 Array.h. |
|
6260 |
3162
|
6261 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6262 |
|
6263 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
6264 |
3156
|
6265 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6266 |
|
6267 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
6268 * lo-mappers.cc: Not here. |
|
6269 |
|
6270 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
6271 * lo-mappers.h: Not here. |
|
6272 |
|
6273 * lo-specfun.h: Never declare gamma or lgamma. |
|
6274 |
3154
|
6275 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6276 |
|
6277 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
6278 empty matrix of any dimension. |
|
6279 |
3145
|
6280 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6281 |
3147
|
6282 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
6283 |
3146
|
6284 * lo-specfun.cc: Don't include dbleBessel.h. |
|
6285 |
|
6286 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
6287 |
3145
|
6288 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
6289 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
6290 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
6291 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
6292 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
6293 |
|
6294 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
6295 Don't cast arg in call to swap_8_bytes. |
|
6296 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
6297 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
6298 swap_4_bytes. |
|
6299 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
6300 |
|
6301 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
6302 * prog-args.cc (prog_args::getopt): Likewise. |
|
6303 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
6304 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
6305 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
6306 Likewise. |
|
6307 |
|
6308 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
6309 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
6310 |
3141
|
6311 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6312 |
|
6313 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
6314 Use $(mk-libdir-link). |
|
6315 |
|
6316 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
6317 not SAFE_STAT and SAFE_LSTAT. |
|
6318 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
6319 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
6320 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
6321 safe-lstat.h, and safe-lstat.cc. |
|
6322 |
3136
|
6323 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6324 |
|
6325 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
6326 |
3130
|
6327 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6328 |
|
6329 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
6330 trace is negative. |
|
6331 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
6332 the real part of the trace is negative. |
|
6333 |
|
6334 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6335 |
|
6336 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
6337 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
6338 |
|
6339 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
6340 to succeed. |
|
6341 |
3125
|
6342 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6343 |
|
6344 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
6345 (make_uniq): Likewise. |
|
6346 |
|
6347 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6348 |
|
6349 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
6350 |
3119
|
6351 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6352 |
3121
|
6353 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
6354 |
|
6355 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
6356 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6357 |
3121
|
6358 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
6359 oct-math.h: Delete. |
|
6360 * Makefile.in (SOURCES): Delete them from the list. |
|
6361 |
3112
|
6362 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6363 |
|
6364 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
6365 |
5095
|
6366 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
6367 |
|
6368 Changes to make support egcs snapshots that implement explicit |
|
6369 specification of template functions according to CD2. |
|
6370 |
|
6371 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
6372 template function specs for template friends. |
|
6373 * MArray2.h: Likewise. |
|
6374 * MDiagArray2.h: Likewise. |
|
6375 |
3095
|
6376 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6377 |
|
6378 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
6379 |
3092
|
6380 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
6381 |
|
6382 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
6383 to complex<double>(int) instead of complex<double>(double). |
|
6384 |
|
6385 * lo-mappers.cc (atanh): Ditto. |
|
6386 |
3079
|
6387 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6388 |
|
6389 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
6390 * idx-vector.h (idx_vector::sort): Ditto. |
|
6391 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
6392 trying to delete elements specified by the index vectors. |
|
6393 |
3075
|
6394 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6395 |
|
6396 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
6397 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
6398 |
3074
|
6399 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6400 |
|
6401 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
6402 |
3069
|
6403 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6404 |
|
6405 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
6406 Call error handler if we can't find the current directory. |
|
6407 |
3068
|
6408 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6409 |
3069
|
6410 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
6411 (xfinite (double)): Ditto. |
|
6412 |
3068
|
6413 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
6414 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
6415 |
3056
|
6416 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6417 |
|
6418 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
6419 compatible with Matlab. |
|
6420 |
3050
|
6421 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6422 |
|
6423 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
6424 single colon. |
|
6425 |
3040
|
6426 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6427 |
3049
|
6428 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
6429 (xgamma): Likewise, for calling xdgamma. |
|
6430 |
3042
|
6431 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
6432 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
6433 |
3040
|
6434 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
6435 to do better job expanding tildes. |
|
6436 |
|
6437 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
6438 Use temporary variable to compute length. |
|
6439 |
3029
|
6440 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6441 |
3034
|
6442 * Makefile.in: Make building of static library optional. |
3036
|
6443 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
6444 |
3029
|
6445 * Makefile.in (stamp-picdir): Delete. |
|
6446 (pic): New target. Don't worry so much about creating pic |
|
6447 directory only when it is really needed. |
|
6448 (stamp-interp): Delete. |
|
6449 (libraries): New target. Depend on shared library directly. |
|
6450 |
3024
|
6451 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6452 |
|
6453 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
6454 New static function. |
|
6455 |
3012
|
6456 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6457 |
|
6458 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
6459 |
3004
|
6460 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6461 |
|
6462 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
6463 set_basic_quote_characters, to match new version of readline. |
|
6464 |
|
6465 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
6466 for restoring terminal state through rl_deprep_term_function, now |
|
6467 declared in readline.h |
|
6468 (rl_deprep_terminal): Delete declaration. |
|
6469 |
2993
|
6470 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6471 |
|
6472 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
6473 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
6474 |
2968
|
6475 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6476 |
|
6477 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
6478 New static function. |
|
6479 |
2964
|
6480 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6481 |
2966
|
6482 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
6483 the vector is not sorted. |
|
6484 |
2964
|
6485 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
6486 * dMatrix.cc (Matrix::operator !): Likewise |
|
6487 |
2941
|
6488 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6489 |
|
6490 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
6491 |
|
6492 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
6493 |
|
6494 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
6495 |
2938
|
6496 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6497 |
2941
|
6498 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
6499 (install-inc): Use it. |
|
6500 |
2938
|
6501 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
6502 Handle errors and missing functions consistently. |
|
6503 |
|
6504 * oct-group.h, oct-group.cc: New files. |
|
6505 |
|
6506 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
6507 |
|
6508 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
6509 |
2934
|
6510 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6511 |
|
6512 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
6513 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
6514 |
|
6515 * oct-passwd.h, oct-passwd.cc: New files. |
|
6516 |
2926
|
6517 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6518 |
|
6519 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
6520 |
|
6521 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
6522 (instance_ok ()): New function. |
|
6523 |
|
6524 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
6525 |
|
6526 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
6527 |
|
6528 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
6529 src/utils.h and src/utils.cc. |
|
6530 (octave_fgets): New function, extracted from src/input.cc. |
|
6531 |
|
6532 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
6533 GNU readline, and allow Octave to work without GNU readline. |
|
6534 |
|
6535 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
6536 system-dependent functions. |
|
6537 |
|
6538 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
6539 |
|
6540 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
6541 from file-ops.h and file-ops.cc and move here. |
|
6542 |
|
6543 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
6544 tilde_expand functions here from src/dirfns.cc. |
|
6545 |
|
6546 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6547 |
|
6548 * pathlen.h: New file, from ../src. |
|
6549 |
2917
|
6550 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6551 |
|
6552 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
6553 out-of-bounds indexing of the index array. |
|
6554 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
6555 |
2850
|
6556 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6557 |
|
6558 * LSODE.h (x_step_limit): New field. |
|
6559 (LSODE_options::init): Initialize it. |
|
6560 (LSODE_options::copy): Copy it. |
|
6561 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
6562 New functions. |
|
6563 (LSODE::working_too_hard): Delete. |
|
6564 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
6565 |
2844
|
6566 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6567 |
|
6568 * MArray-b.cc: Delete. |
|
6569 * Makefile.in: Delete it from the lists. |
|
6570 |
|
6571 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
6572 MArray2, since most of the numeric ops don't really make sense. |
|
6573 |
2829
|
6574 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6575 |
2832
|
6576 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
6577 |
|
6578 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
6579 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
6580 |
2830
|
6581 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
6582 idx_vector::freeze): Delete prefer_zero_one arg. |
|
6583 * Array-idx.h, Array2-idx.h: Change all callers. |
|
6584 |
|
6585 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
6586 |
2829
|
6587 * mx-op-defs.h: New file for operator definitions. |
|
6588 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
6589 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
6590 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
6591 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
6592 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
6593 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
6594 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
6595 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
6596 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
6597 mx-s-cm.cc, mx-s-dm.cc: |
|
6598 New files for mixed-type operations. |
|
6599 * Makefiles.in: Add them to the appropriate lists. |
|
6600 |
|
6601 * mx-inlines.cc: Add bool by bool EQ ops. |
|
6602 |
|
6603 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
6604 boolMatrix types. |
|
6605 (idx_vector::maybe_convert_one_zero_to_idx, |
|
6606 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
6607 Delete second arg, prefer_zero_one. Change all callers. |
|
6608 |
|
6609 * boolMatrix.h, boolMatrix.cc: New files. |
|
6610 * mx-base.h: Include boolMatrix.h here. |
|
6611 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
6612 |
|
6613 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
6614 |
|
6615 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
6616 operator-, operator*, product, and quotient functions. |
|
6617 Add constructor for boolMatrix type. |
|
6618 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
6619 product, and quotient functions. |
|
6620 |
|
6621 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
6622 operator-, and product functions. |
|
6623 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
6624 |
|
6625 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
6626 |
2815
|
6627 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6628 |
|
6629 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
6630 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
6631 (EIG::symmetric_init (const Matrix&)): New function. |
|
6632 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
6633 |
|
6634 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
6635 |
|
6636 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6637 |
|
6638 * Array2.cc (is_symmetric): New function. |
|
6639 * Array2.h (is_square): New function. |
|
6640 |
2811
|
6641 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6642 |
|
6643 * Makefile.in (install-strip): New target. |
|
6644 |
2804
|
6645 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6646 |
|
6647 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
6648 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
6649 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
6650 dbleSVD.cc: Don't include mx-inlines.cc. |
|
6651 |
|
6652 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
6653 duplicate code. |
|
6654 |
2800
|
6655 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6656 |
2804
|
6657 * dbleQR.h (QR): Delete extra comma at end of list. |
|
6658 |
|
6659 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
6660 |
|
6661 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
6662 |
|
6663 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
6664 idx_vecotr_rep:: qualifiers. |
|
6665 |
|
6666 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
6667 |
|
6668 * data-conv.h (save_type): Delete extra comma at end of list. |
|
6669 |
2800
|
6670 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
6671 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
6672 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
6673 old C-style `(T) val' casts. |
|
6674 |
2795
|
6675 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6676 |
|
6677 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
6678 just breaking out of the innermost loop. |
|
6679 * CMatrix.cc (operator >>): Likewise. |
|
6680 |
2779
|
6681 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
6682 |
|
6683 * Version 2.0.5 released. |
|
6684 |
2767
|
6685 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6686 |
|
6687 * CmplxQR.cc (ComplexQR::init): New function. |
|
6688 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
6689 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
6690 Get sizes right in all cases. |
|
6691 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
6692 |
|
6693 * dbleQR.cc (QR::init): New function. |
|
6694 (QR::QR): Use it. Use initializer list too. |
|
6695 * dbleQRP.cc (QRP::init): New function. |
|
6696 Get sizes right in all cases. |
|
6697 (QR::QRP): Use it. Use initializer list too. |
|
6698 |
2759
|
6699 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6700 |
|
6701 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
6702 Recognize "vaxg", not "vax_g". |
|
6703 |
2713
|
6704 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6705 |
2714
|
6706 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
6707 dimension in check for colon equivalent index. |
|
6708 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
6709 index whose value is 0 is also colon eqivalent for n == 1. |
|
6710 |
2713
|
6711 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
6712 system-specific tests first. |
|
6713 |
2709
|
6714 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
6715 |
|
6716 * Version 2.0.4 released. |
|
6717 |
|
6718 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6719 |
|
6720 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
6721 |
2693
|
6722 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
6723 |
|
6724 * Version 2.0.3 released. |
|
6725 |
2686
|
6726 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6727 |
|
6728 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
6729 |
2673
|
6730 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6731 |
2676
|
6732 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
6733 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
6734 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
6735 (stamp-picdir): Silence noise about making pic. |
|
6736 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
6737 |
2673
|
6738 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6739 Fix typo in last change. |
|
6740 |
|
6741 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
6742 Convert from friend (moved from dColVector.cc). |
|
6743 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
6744 Likewise (moved from dMatrix.cc). |
|
6745 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
6746 Likewise (moved from dRowVector.cc). |
|
6747 |
|
6748 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
6749 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
6750 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
6751 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
6752 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
6753 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
6754 |
|
6755 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
6756 * dMatrix.cc (Matrix::apply): Likewise. |
|
6757 * dRowVector.cc (RowVector::apply): Likewise. |
|
6758 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
6759 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
6760 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
6761 |
2668
|
6762 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6763 |
|
6764 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
6765 |
|
6766 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6767 |
|
6768 * file-ops.cc (oct_unlink (const string&, string&)): |
|
6769 New two-arg version. |
|
6770 (oct_rmdir (const string&, string&)): New two-arg version. |
|
6771 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
6772 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
6773 (oct_rename (const string&, const string&, string&)): |
|
6774 New three-arg version. |
|
6775 |
2663
|
6776 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6777 |
|
6778 * idx-vector.h (idx_vector::orig_empty): New function. |
|
6779 |
|
6780 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6781 Don't always resize to [](0x0) if one of the indices is empty or |
|
6782 zero. |
|
6783 |
2658
|
6784 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6785 |
|
6786 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
6787 Set line_in_file here too. |
|
6788 (command_history::read_range): New arg, must_exist. |
|
6789 |
2651
|
6790 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6791 |
|
6792 * f2c-main.c: Change C++-style comments to C-style comments. |
|
6793 |
2638
|
6794 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6795 |
|
6796 * Makefile.in (install-inc): Create a relative symbolic link. |
|
6797 |
2634
|
6798 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6799 |
|
6800 * Version 2.0.2 released. |
|
6801 |
2624
|
6802 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6803 |
|
6804 * Makefile.in (bin-dist): New target. |
|
6805 |
2621
|
6806 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6807 |
|
6808 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
6809 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
6810 |
2613
|
6811 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6812 |
|
6813 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6814 If the number of columns is zero, also set the number of rows to zero. |
|
6815 (charMatrix::charMatrix (const char *)): Likewise. |
|
6816 |
2602
|
6817 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6818 |
|
6819 * Version 2.0.1 released. |
|
6820 |
2601
|
6821 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6822 |
|
6823 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
6824 columns for resizing when the number of rows is specified but the |
|
6825 number of columns is not. |
|
6826 |
2598
|
6827 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6828 |
2599
|
6829 * Range.cc (operator -): New function. |
|
6830 |
2598
|
6831 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
6832 |
2589
|
6833 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6834 |
|
6835 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
6836 know if the assignment conforms. |
|
6837 |
2583
|
6838 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6839 |
|
6840 * Version 2.0 released. |
|
6841 |
2570
|
6842 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6843 |
2575
|
6844 * Array2-idx.h (assign): If index is a colon, set number of |
|
6845 elements to the lhs dimension if the lhs dimension is greater than |
|
6846 zero. Otherwise, set it to the rhs dimension. |
|
6847 |
|
6848 * Version 1.94. |
|
6849 |
2570
|
6850 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
6851 If index is colon, set number of elements to lhs dimension, not |
|
6852 rhs dimension. |
|
6853 |
2563
|
6854 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6855 |
2566
|
6856 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
6857 * sun-utils.cc: Delete. |
|
6858 * f2c-main.c: New file |
|
6859 |
|
6860 * Makefile.in: Fix file name lists. |
|
6861 |
2563
|
6862 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
6863 |
2561
|
6864 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6865 |
|
6866 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
6867 Create result using Complex constructor, not multiplication. |
|
6868 Order elements as they are returned from Eispack. |
|
6869 |
2559
|
6870 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6871 |
2560
|
6872 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
6873 Only include nan.h if SCO is defined. Define _IEEE before |
|
6874 including it and undefine it afterward. |
|
6875 [SCO] (isnan): Don't mistake Inf as NaN. |
|
6876 |
2559
|
6877 * Array-idx.h (assign): Only resize if assignment conforms. |
|
6878 |
2551
|
6879 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6880 |
|
6881 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
6882 * lo-error.h: Delete (moved to libcruft/misc). |
|
6883 |
|
6884 * Version 1.93. |
|
6885 |
2546
|
6886 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6887 |
2549
|
6888 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
6889 be the same as they are in fnmatch.h. |
|
6890 |
2546
|
6891 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
6892 |
|
6893 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
6894 (SOURCES): Delete f77-fcn.c. |
|
6895 |
2522
|
6896 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6897 |
|
6898 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
6899 |
2512
|
6900 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6901 |
|
6902 * Version 1.92. |
|
6903 |
2508
|
6904 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6905 |
2512
|
6906 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
6907 lines that have only carriage return or newline. |
|
6908 |
2508
|
6909 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
6910 |
2500
|
6911 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6912 |
|
6913 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
6914 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
6915 |
2493
|
6916 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6917 |
|
6918 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
6919 from vectors of C strings. |
|
6920 |
|
6921 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
6922 vector. |
|
6923 (glob_match::match): Allow match string to be a string vector. |
|
6924 (glob_match::glob): New function. |
|
6925 |
|
6926 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
6927 |
|
6928 * Array-b.cc: New file. |
|
6929 * Makefile.in (TI_SRC): Add it to the list. |
|
6930 |
2492
|
6931 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6932 |
|
6933 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
6934 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
6935 want the version from the build directory. (Maybe this should be |
|
6936 done for all the include files, not just those that are |
|
6937 auto-generated? Hmm.) |
|
6938 |
2481
|
6939 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6940 |
2482
|
6941 * Version 1.91. |
|
6942 |
2481
|
6943 * Array3.cc (Array3<T>::resize): Make it work. |
|
6944 |
|
6945 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6946 |
|
6947 * oct-alloc.h, oct-alloc.cc: New files. |
|
6948 * Makefile.in: Add them to the lists. |
|
6949 |
|
6950 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6951 |
|
6952 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
6953 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
6954 |
2466
|
6955 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6956 |
|
6957 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
6958 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
6959 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
6960 underlying macro is not defined. |
|
6961 |
|
6962 * oct-math.h (lgamma, gamma): Delete declarations. |
|
6963 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
6964 Protect declarations with #ifdef HAVE_*. |
|
6965 |
2440
|
6966 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6967 |
2452
|
6968 * Version 1.90. |
|
6969 |
|
6970 * Makefile.in (DISTFILES): Add ChangeLog. |
|
6971 |
2444
|
6972 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
6973 |
|
6974 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
6975 |
2443
|
6976 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
6977 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
6978 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
6979 |
2440
|
6980 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
6981 since that is now accepatble syntax, even for built-in types. |
|
6982 * Array2.h (T Array2<T>::checkelem): Likewise |
|
6983 |
2433
|
6984 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6985 |
|
6986 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
6987 message and return -1. |
|
6988 |
2428
|
6989 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6990 |
2431
|
6991 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
6992 cast them to const string * in the body of the function. |
|
6993 |
|
6994 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
6995 string from buf. |
|
6996 |
2428
|
6997 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
6998 GCC_ATTRIBUTE_UNUSED. |
|
6999 * Array2.h (Array2::checkelem): Likewise. |
|
7000 |
2424
|
7001 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7002 |
|
7003 * Quad.h (Quad): Define virtual destructor. |
|
7004 |
2408
|
7005 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7006 |
|
7007 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
7008 |
2401
|
7009 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7010 |
|
7011 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
7012 and MAIN__ extern "C". |
|
7013 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
7014 |
2391
|
7015 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7016 |
|
7017 * MArray-misc.cc: New file. |
|
7018 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
7019 |
|
7020 * mx-inlines.cc (equal): Return bool, not int. |
|
7021 |
|
7022 * idx-vector.h (idx_vector (double)): New constructor. |
|
7023 |
|
7024 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
7025 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
7026 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
7027 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
7028 CRowVector.cc: Logical operators return bool, not int. |
|
7029 |
|
7030 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
7031 New function. |
|
7032 |
|
7033 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
7034 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
7035 Matrix::all_elements_are_inf_or_nan): New functions. |
|
7036 |
|
7037 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
7038 |
|
7039 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
7040 for errors. Simplify macros by converting FCN to string for error |
|
7041 messages. |
|
7042 |
|
7043 * Array-idx.h (Array<T>::index): New function. Don't call |
|
7044 clear_index() here. |
|
7045 (Array<T>::value): Call it, do call clear_index() here. |
|
7046 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
7047 one and two arg index functions. |
|
7048 |
|
7049 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7050 |
|
7051 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
7052 separate implementation file. |
|
7053 |
2354
|
7054 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7055 |
2358
|
7056 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
7057 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
7058 |
2356
|
7059 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
7060 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
7061 them uniq. |
|
7062 |
2354
|
7063 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
7064 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
7065 Rewrite. Also return index as a reference arg. |
|
7066 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
7067 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
7068 Delete. |
|
7069 |
|
7070 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
7071 Matrix::column_max, Matrix::column_min): |
|
7072 Rewrite. Also return index as a reference arg. |
|
7073 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
7074 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
7075 |
|
7076 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7077 |
|
7078 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
7079 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
7080 Matrix::column_min_loc, Matrix::column_max, |
|
7081 Matrix::column_max_loc): Ignore leading NaNs. |
|
7082 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
7083 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
7084 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
7085 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
7086 leading NaNs. |
|
7087 |
2352
|
7088 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7089 |
|
7090 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
7091 starting at n, not 0. |
|
7092 |
2349
|
7093 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7094 |
|
7095 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
7096 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
7097 |
|
7098 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
7099 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
7100 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
7101 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
7102 New constructors. |
|
7103 |
|
7104 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
7105 New constructor. |
|
7106 |
2343
|
7107 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7108 |
|
7109 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
7110 derivative vectors are the same size. |
2344
|
7111 * DASSL.cc (do_integrate): Likewise. |
2343
|
7112 |
2330
|
7113 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7114 |
|
7115 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
7116 iostreams and handler data format conversions. Delete old methods |
|
7117 that used stdio. |
|
7118 |
|
7119 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
7120 |
|
7121 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7122 |
|
7123 * mach-info.h: Rename from float-fmt.h. |
|
7124 * mach-info.cc: Rename from float-fmt.cc. |
|
7125 Handle machine information using a singlton class. |
|
7126 * Makefile.in: Update appropriate lists. |
|
7127 |
|
7128 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7129 |
|
7130 * Array-flags.cc: Provide definitions for the flags even if |
|
7131 OCTAVE_SOURCE is not defined. |
|
7132 |
|
7133 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
7134 operator(), not elem(). |
|
7135 * Array3.h: Move indexing methods here from Array3.cc. |
|
7136 |
|
7137 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7138 |
|
7139 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
7140 |
|
7141 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
7142 INSTALL_DATA for shared libs. |
|
7143 |
|
7144 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7145 |
|
7146 * Quad.cc: Include lo-error.h here too. |
|
7147 |
|
7148 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7149 |
|
7150 * file-ops.h: Include sys/types.h here. |
|
7151 |
|
7152 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7153 |
|
7154 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
7155 |
|
7156 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
7157 elements in result. |
|
7158 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
7159 rows and columns in result. |
|
7160 |
|
7161 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7162 |
|
7163 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
7164 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
7165 |
|
7166 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7167 |
|
7168 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
7169 |
|
7170 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7171 |
|
7172 * Makefile.in (uninstall): Also delete shared library. |
|
7173 Split install into install-libs and install-includes. |
|
7174 (install-inc): If linkdir is a directory, leave it alone. |
|
7175 |
|
7176 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
7177 |
|
7178 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7179 |
|
7180 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
7181 * Array2-idx.h (assign): Likewise. |
|
7182 |
|
7183 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7184 |
|
7185 * Array2.cc (Array2<T>::range_error): New functions. |
|
7186 |
|
7187 * Array.h (class Array<T>): elem() and operator() are now |
|
7188 equivalent, and do bounds checking by default. |
|
7189 * Array2.cc (class Array2<T>): Likewise. |
|
7190 |
|
7191 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7192 |
|
7193 * Makefile.in (maintainer-clean, distclean): Also delete |
|
7194 stamp-picdir, stamp-shared, and pic directory. |
|
7195 (stamp-prereq): New target. |
|
7196 |
|
7197 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7198 |
|
7199 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
7200 New function. |
|
7201 |
|
7202 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
7203 * Array.h (Array<T>::checkelem): Use them. |
|
7204 |
|
7205 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
7206 elements too. |
|
7207 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
7208 |
|
7209 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
7210 |
|
7211 * Makefile.in (distclean): Delete so_locations, which is created |
|
7212 on DEC Alpha systems. |
|
7213 |
|
7214 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7215 |
|
7216 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
7217 already defined. |
|
7218 |
|
7219 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7220 |
|
7221 * pathsearch.cc: Include config.h. |
|
7222 |
|
7223 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7224 |
|
7225 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
7226 allow M(I, J) = scalar if I or J is empty. |
|
7227 |
|
7228 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
7229 and Array3-idx.h). |
|
7230 |
|
7231 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7232 |
|
7233 * lo-error.h: Make comments C friendly. |
|
7234 |
|
7235 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7236 |
|
7237 * Array2.h (make_unique): Move all indexing functions here. |
|
7238 * Array2.cc: From here. |
|
7239 |
|
7240 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
7241 whether operator() calls elem or checkelem. |
|
7242 |
|
7243 * Array.h (make_unique): New private function. |
|
7244 Move all indexing functions here. |
|
7245 * Array.cc: From here. |
|
7246 |
|
7247 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
7248 it too. |
|
7249 |
|
7250 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
7251 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
7252 MArray-C.cc: Include config.h. |
|
7253 |
|
7254 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
7255 Don't define HEAVYWEIGHT_INDEXING here. |
|
7256 |
|
7257 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7258 |
|
7259 * base-lu.h, base-lu.cc: New files. |
|
7260 * Makefile.in: Add them to the appropriate lists. |
|
7261 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
7262 |
|
7263 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7264 |
|
7265 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
7266 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
7267 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
7268 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
7269 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
7270 |
|
7271 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
7272 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
7273 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
7274 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
7275 Simplify using new macros. |
|
7276 |
|
7277 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7278 |
|
7279 * Makefile.in (install): If $(includedir) ends in version string, |
|
7280 make link to name that does not include version info. |
|
7281 |
|
7282 * lo-ieee.cc: Include <cmath> here. |
|
7283 |
|
7284 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7285 |
|
7286 * lo-ieee.cc, lo-ieee.h: New files. |
|
7287 * lo-mappers.cc, lo-mappers.h: New files. |
|
7288 * lo-utils.cc, lo-utils.h: New files. |
|
7289 * Makefile.in: Add them to the appropriate lists. |
|
7290 |
|
7291 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7292 |
|
7293 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7294 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7295 |
|
7296 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
7297 float-fmt.cc: New files. |
|
7298 * Makefile.in: Include them in the appropriate lists. |
|
7299 |
|
7300 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7301 |
|
7302 * dMatrix.cc (Qzval): New function. |
|
7303 |
|
7304 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7305 |
|
7306 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
7307 char*. |
|
7308 |
|
7309 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
7310 Use F77_XFCN to call Fortran subroutine. |
|
7311 * dColVector.cc, CColVector.cc: Likewise. |
|
7312 * dRowVector.cc, CRowVector.cc: Likewise. |
|
7313 * NPSOL.h, NPSOL.cc: Likewise. |
|
7314 * CmplxCHOL.cc: Likewise. |
|
7315 * dbleCHOL.cc: Likewise. |
|
7316 * CMatrix.cc: Likewise. |
|
7317 * dMatrix.cc: Likewise. |
|
7318 * QPSOL.cc: Likewise. |
|
7319 * LSODE.cc: Likewise. |
|
7320 |
|
7321 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7322 |
|
7323 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
7324 |
|
7325 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
7326 workspace. Use F77_XFCN to call Fortran subroutine. |
|
7327 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
7328 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
7329 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
7330 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
7331 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
7332 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
7333 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
7334 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
7335 * EIG.h, EIG.cc; Likewise. |
|
7336 * CollocWt.cc: Likewise. |
|
7337 * NLEqn.cc: Likewise. |
|
7338 * Quad.cc: Likewise. |
|
7339 |
|
7340 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7341 |
|
7342 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
7343 Use F77_XFCN to call Fortran subroutine. |
|
7344 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
7345 * dbleQR.h, dbleQR.cc: Ditto. |
|
7346 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
7347 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
7348 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
7349 |
|
7350 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
7351 (struct DIR): delete forward declaration. |
|
7352 (dir_entry::operator = (const dir_entry$)): Protect against |
|
7353 copying same object. |
|
7354 * dir-ops.cc: Cast dir appropriately. |
|
7355 |
|
7356 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7357 |
|
7358 * lo-error.cc: Moved to libcruft/misc. |
|
7359 * Makefile.in: Delete it from the list. |
|
7360 |
|
7361 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
7362 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
7363 |
|
7364 * Array-flags.h: New file. |
|
7365 * Array-idx.h: Include it here. |
|
7366 * Makefile.in (MATRIX_INC): Add it to the list. |
|
7367 |
|
7368 * Array-flags.cc: Renamed from Array-ext.cc. |
|
7369 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
7370 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
7371 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
7372 (liboctave_rre_flag): Renamed from rre_flag. |
|
7373 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
7374 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
7375 |
|
7376 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
7377 (stamp-shared): Use them here. |
|
7378 |
|
7379 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7380 |
|
7381 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
7382 argument value. |
|
7383 |
|
7384 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7385 |
|
7386 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
7387 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
7388 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
7389 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
7390 Clean up constructors, assigment operator. |
|
7391 |
|
7392 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7393 |
|
7394 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
7395 Check f77_exception_encountered on return. |
|
7396 |
|
7397 * f77-fcn.c (f77_exception_encountered): New variable. |
|
7398 (F77_XFCN): Set it. |
|
7399 * f77-fcn.h: Provide declaration. |
|
7400 |
|
7401 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
7402 |
|
7403 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
7404 |
|
7405 * NLEqn.h (NLEqn_options::set_options): New function. |
|
7406 * Quad.h (Quad_options::set_options): Likewise. |
|
7407 |
|
7408 * LP.h (class LP): Add accessors for LP data. |
|
7409 |
|
7410 * NLEqn.h (NLEqn::n): Delete. |
|
7411 |
|
7412 * NLEqn.h (class NLEqn::n): Likewise. |
|
7413 |
|
7414 * NLP.h (class NLP): Add accessors for NLP data. |
|
7415 |
|
7416 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
7417 access functions here. |
|
7418 * NPSOL.cc.cc: From here. |
|
7419 |
|
7420 * QLD.h (class QLD): Add destructor definition. |
|
7421 * Objective.h (class Objective): Likewise. |
|
7422 * ODEFunc.h (class ODEFunc): Likewise. |
|
7423 * NLFunc.h (class NLFunc): Likewise. |
|
7424 * NLEqn.h (class NLEqn): Likewise. |
|
7425 * NLConst.h (class NLConst): Likewise. |
|
7426 * LinConst.h (class LinConst): Likewise. |
|
7427 * LSODE.h (class LSODE_options): Likewise. |
|
7428 * CollocWt.h (class CollocWt): Likewise. |
|
7429 * Bounds.h (class Bounds): Likewise. |
|
7430 |
|
7431 * QLD.cc (QLD::set_default_options): Delete. |
|
7432 |
|
7433 * QP.h (QP): Add accessors for QP data. |
|
7434 Add copy constructor, operator =, and destructor definitions. |
|
7435 |
|
7436 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
7437 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
7438 DAEFunc.h, CollocWt.h, Bounds.h: |
|
7439 Clean up constructors, assigment operator. |
|
7440 |
|
7441 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
7442 counting to avoid duplicating the data immediately. |
|
7443 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
7444 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
7445 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
7446 |
|
7447 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7448 |
|
7449 * prog-args.h (prog_args::option_argument): New enum. |
|
7450 |
|
7451 * f77-fcn.h: Rename from f77-uscore.h. |
|
7452 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
7453 * f77-fcn.c: New file. |
|
7454 * Makefile.in (SOURCES): Add it to the list. |
|
7455 |
|
7456 * ODEFunc.h: Clean up. |
|
7457 |
|
7458 * DASSL.cc, DASSL.h: New files. |
|
7459 * Makefile.in: Add them to the appropriate lists. |
|
7460 |
|
7461 * LSODE.cc, LSODE.h: New files. |
|
7462 * Makefile.in: Add them to the appropriate lists. |
|
7463 |
|
7464 * ODE.cc: Delete. |
|
7465 * Makefile.in (SOURCES): Remove from list. |
|
7466 |
|
7467 * base-de.h, DAE.cc: New files. |
|
7468 * Makefile.in: Add them to the appropriate lists. |
|
7469 * ODE.h: Only define interface for ODE classes. |
|
7470 * DAE.h: Only define interface for ODE classes. |
|
7471 |
|
7472 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
7473 (LPsolve::set_default_options)): Delete |
|
7474 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
7475 destructor. |
|
7476 |
|
7477 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
7478 |
|
7479 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
7480 (QPSOL::operator =): Call base class operator = instead of assuming |
|
7481 we know what to copy. |
|
7482 |
|
7483 * base-min.h (size): New function. |
|
7484 |
|
7485 * NLP.h (NLP::size): Delete. |
|
7486 (NLP::NLP (const NLP&)): New constructor. |
|
7487 (NLP::operator =): Call base class operator = instead of assuming |
|
7488 we know what to copy. |
|
7489 |
|
7490 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
7491 (class NPSOL): Add operator = and destructor. |
|
7492 |
|
7493 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
7494 |
|
7495 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7496 |
|
7497 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
7498 |
|
7499 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7500 |
|
7501 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
7502 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
7503 |
|
7504 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7505 |
|
7506 * prog-args.h, prog-args.cc: New files. |
|
7507 * Makefile.in: Add them to lists. |
|
7508 |
|
7509 * getopt.h, getopt.c, getopt1.c: New files. |
|
7510 * Makefile.in: Add them to the lists. |
|
7511 |
|
7512 * oct-term.h, oct-term.cc: New files. |
|
7513 * Makefile.in: Add them to the lists. |
|
7514 |
|
7515 * str-vec.cc: New file. |
|
7516 * Makefile.in (SOURCES): Add it to the list. |
|
7517 |
|
7518 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
7519 |
|
7520 * tempname.c, tempnam.c: Move here from src directory. |
|
7521 * Makefile.in: Add to lists. |
|
7522 |
|
7523 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7524 |
|
7525 * cmd-hist.h, cmd-hist.cc: New files. |
|
7526 * Makefile.in: Add them to lists. |
|
7527 |
|
7528 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7529 |
|
7530 * oct-glob.h, oct-glob.cc: New files. |
|
7531 * Makefile.in: Add them to lists. |
|
7532 |
|
7533 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7534 |
|
7535 * pathsearch.h, pathsearch.cc: New files. |
|
7536 * Makefile.in: Add them to lists. |
|
7537 |
|
7538 * dir-ops.h, dir-ops.cc: New files. |
|
7539 * sysdir.h: Move here from src directory. |
|
7540 * Makefile.in: Add them to lists. |
|
7541 |
|
7542 * Array.h (Array::qsort): Return *this, not void. |
|
7543 * str-vec.h (string_vector::qsort): Likewise. |
|
7544 |
|
7545 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
7546 unnecessary NULs. |
|
7547 |
|
7548 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7549 |
|
7550 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
7551 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
7552 Files moved here from src directory. |
|
7553 * Makefile.in: Add them to lists. Include appropriate rules. |
|
7554 |
|
7555 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7556 Use pointers, not references (this is C code!). |
|
7557 |
|
7558 * oct-math.h: New file. |
|
7559 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7560 Files moved here from src directory. |
|
7561 * Makefile.in: Add them to lists. |
|
7562 |
|
7563 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7564 |
|
7565 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
7566 |
|
7567 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
7568 Convert to use string class instead of char*. |
|
7569 |
|
7570 * str-vec.h, Array-str.cc: New files. |
|
7571 |
|
7572 * Array.h (Array::qsort): New function. |
|
7573 |
|
7574 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7575 |
|
7576 * Array.h: Nest ArrayRep class inside Array class. |
|
7577 Refer to ArrayRep, not ArrayRep<T>. |
|
7578 Move all ArrayRep functions inline. |
|
7579 Don't declare other Array classes as friends of ArrayRep. |
|
7580 * Array.cc: Delete ArrayRep functions. |
|
7581 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
7582 |
|
7583 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
7584 Don't instantiate ArrayRep objects. |
|
7585 |
|
7586 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7587 |
|
7588 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
7589 New constructor. |
|
7590 |
|
7591 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7592 |
|
7593 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
7594 for balance_job arg. |
|
7595 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
7596 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
7597 |
|
7598 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
7599 |
|
7600 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7601 |
|
7602 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
7603 |
|
7604 * chMatrix.cc (row_as_string): Undo previous change. |
|
7605 |
|
7606 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7607 |
|
7608 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
7609 is expected to save string if necessary. |
|
7610 |
|
7611 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7612 |
|
7613 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
7614 platforms. |
|
7615 |
|
7616 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
7617 a.rep, don't mess with count. |
|
7618 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
7619 don't do anything if reps are the same. |
|
7620 (Array3<T>& operator = (const Array3<T>&) |
|
7621 |
|
7622 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
7623 Declare private with no definition to prevent misuse. |
|
7624 |
|
7625 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
7626 Get range check right. |
|
7627 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
7628 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7629 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7630 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
7631 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
7632 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7633 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7634 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
7635 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
7636 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
7637 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
7638 * dColVector.cc |
|
7639 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7640 * CRowVector.cc |
|
7641 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
7642 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
7643 * CColVector.cc |
|
7644 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7645 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
7646 |
|
7647 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
7648 Also fill in zeros, not just the diagonal. |
|
7649 |
|
7650 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
7651 Use END parameter properly. |
|
7652 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
7653 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
7654 |
|
7655 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
7656 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
7657 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
7658 Don't copy count. Set it to 1. |
|
7659 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
7660 |
|
7661 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
7662 don't set rep->count to 1 here (now handled by ArrayRep |
|
7663 constructors). |
|
7664 (Array<T>::Array (void)): Ditto. |
|
7665 (Array<T>::Array (int)): Ditto. |
|
7666 (Array<T>::T& elem (int)): Ditto. |
|
7667 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
7668 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
7669 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
7670 (Array<T>::resize (int)): Ditto. |
|
7671 (Array<T>::resize (int, const T&)) :Ditto. |
|
7672 (Array<T>::fortran_vec (void)): Ditto. |
|
7673 (Array2<T>::resize (int, int)): Ditto. |
|
7674 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
7675 (DiagArray<T>::resize (int, int)): Ditto. |
|
7676 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
7677 |
|
7678 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7679 |
|
7680 * Array-ch.cc: Rename from Array-c.cc. |
|
7681 * MArray-ch.cc: Rename from MArray-c.cc. |
|
7682 * chMatrix.cc: Rename from cMatrix.cc. |
|
7683 * chMatrix.h: Rename from cMatrix.h. |
|
7684 * Makefile.in (TI_SRC): Use new names here. |
|
7685 * mx-base.h: Likewise. |
|
7686 |
|
7687 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7688 |
|
7689 * Makefile.in: Handle shared libraries. |
|
7690 |
|
7691 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7692 |
|
7693 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
7694 Correctly compute length of return value. Correct rows and |
|
7695 columns in zgemv call. |
|
7696 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
7697 |
|
7698 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7699 |
|
7700 * Makefile.in (stamp-picdir): New target. |
|
7701 (all): Depend on it. |
|
7702 |
|
7703 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7704 |
|
7705 * Makefile.in (INCLUDES): Remove QLD.h. |
|
7706 (SOURCES): Remove QLD.cc. |
|
7707 |
|
7708 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7709 |
|
7710 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
7711 If force is nonzero, invert even if matrix is singular. |
|
7712 (ComplexMatrix::inverse): Likewise. |
|
7713 |
|
7714 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
7715 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
7716 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
7717 Include "oct-cmplx.h" instead of <Complex.h>. |
|
7718 |
|
7719 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
7720 for class Complex. |
|
7721 |
|
7722 * oct-cmplx.h: New file. |
|
7723 * Makefile.in (INCLUDES): Add it to the list. |
|
7724 |
|
7725 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
7726 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
7727 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
7728 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
7729 Avoid g++ bugs. |
|
7730 |
|
7731 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7732 |
|
7733 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
7734 |
|
7735 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
7736 |
|
7737 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7738 |
|
7739 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
7740 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
7741 |
|
7742 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7743 |
|
7744 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
7745 index vector object with Array, not ArrayRep. |
|
7746 |
|
7747 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7748 |
|
7749 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
7750 if index is a colon and resizing is maybe needed. |
|
7751 |
|
7752 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7753 |
|
7754 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
7755 if we have a vector of 1's. |
|
7756 |
|
7757 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
7758 current orientation, require index and rhs to conform unless |
|
7759 do_fortran_indexing flag is set. |
|
7760 |
|
7761 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7762 |
|
7763 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
7764 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
7765 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
7766 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
7767 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
7768 Massive changes to support additional data types. Only charMatrix |
|
7769 is currently used in Octave. |
|
7770 |
|
7771 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7772 |
|
7773 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
7774 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
7775 Simply call Array2<Complex> version. |
|
7776 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
7777 call Array2<double> version. |
|
7778 |
|
7779 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
7780 |
|
7781 * Array.h, Array.cc: Massive overhaul to support new way of |
|
7782 handling indexing. |
|
7783 * idx-vector.h, idx-vector.cc: Likewise. |
|
7784 * Array-ext.cc, Array-idx.h: New files. |
|
7785 * Makefile.in: Add them to the appropriate lists. |
|
7786 |
|
7787 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7788 |
|
7789 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
7790 |
|
7791 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7792 |
|
7793 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
7794 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
7795 |
|
7796 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7797 |
|
7798 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
7799 |
|
7800 * Array.h: Move simple member functions here. |
|
7801 * Array.cc: From here. |
|
7802 |
|
7803 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7804 |
|
7805 * Range.cc (tfloor, tceil, round): New static functions. |
|
7806 (Range::nelem_internal): Rewrite to use better method. |
|
7807 |
|
7808 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
7809 (type_computed): New var. |
|
7810 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7811 Handle possible error condition. |
|
7812 (init): Allow for SVD::sigma_only, save type computed. |
|
7813 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7814 Handle possible error condition. |
|
7815 (init): Allow for SVD::sigma_only, save type computed. |
|
7816 |
|
7817 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7818 |
|
7819 * Nearly all non-matrix .h and .cc files: |
|
7820 Move short function bodies into class declarations for inlining. |
|
7821 Generally clean up. |
|
7822 |
|
7823 * base-min.h: New file. |
|
7824 * LP.h (class LP): Derive from base_minimizer. |
|
7825 * QLP.h (class QLP): Derive from base_minimizer. |
|
7826 * NLP.h (class NLP): Derive from base_minimizer. |
|
7827 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
7828 |
|
7829 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
7830 NLFunc.cc, Objective.cc and QP.cc from list. |
|
7831 |
|
7832 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7833 |
|
7834 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
7835 (SCHUR::SCHUR): Delete unused parameter ord. |
|
7836 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
7837 |
|
7838 * CRowVector.cc |
|
7839 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
7840 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
7841 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
7842 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
7843 Actually do something. |
|
7844 |
|
7845 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
7846 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
7847 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
7848 |
|
7849 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
7850 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
7851 tolerances. |
|
7852 |
|
7853 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
7854 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
7855 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
7856 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
7857 * QPSOL.cc (qphess): Likewise. |
|
7858 |
|
7859 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7860 |
|
7861 * dMatrix.cc: Include <cstring>. |
|
7862 |
|
7863 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
7864 that return bogus values after calling the error handler. |
|
7865 |
|
7866 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7867 |
|
7868 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
7869 |
|
7870 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
7871 |
|
7872 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7873 |
|
7874 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
7875 (dassl_j): Likewise. |
|
7876 |
|
7877 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
7878 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
7879 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
7880 Update for change in for loop variable scope for gcc 2.7.0. |
|
7881 |
|
7882 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7883 |
|
7884 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7885 not set. |
|
7886 |
|
7887 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
7888 |
|
7889 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
7890 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
7891 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
7892 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
7893 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
7894 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
7895 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
7896 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
7897 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
7898 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
7899 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
7900 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
7901 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
7902 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
7903 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
7904 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
7905 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
7906 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
7907 NLP.h: Use pragma interface/implementation. Don't surround |
|
7908 contents in extern "C++". |
|
7909 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
7910 |
|
7911 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7912 |
|
7913 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
7914 identifiers. |
|
7915 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7916 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7917 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7918 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7919 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7920 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7921 Quad.cc: Change usage of F77_FCN to match new definition |
|
7922 |
|
7923 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7924 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7925 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7926 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7927 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7928 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7929 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
7930 args by reference instead of pointer. Change all callers. |
|
7931 |
|
7932 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7933 |
|
7934 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
7935 functions. Make += and -= operators friend functions. |
|
7936 |
|
7937 * Array.h (Array2::~Array2, Array3::~Array3, |
|
7938 DiagArray::~DiagArray): New functions. |
|
7939 |
|
7940 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7941 |
|
7942 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
7943 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
7944 |
|
7945 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7946 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7947 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7948 dRowVector.h dRowVector.cc: |
|
7949 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
7950 Array2, and DiagArray2. |
|
7951 Don't use functions defined in mx-kludge.cc for arithmetic |
|
7952 like-type operations on arrays. |
|
7953 |
|
7954 * MArray.cc: Use the classes defined here like-type mathematical |
|
7955 operations on Array objects. Abuse CPP more. |
|
7956 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
7957 (EXTRAS): Delete it from this list. |
|
7958 |
|
7959 * MArray-C.cc, MArray-d.cc: New files. |
|
7960 * Makefile.in (TI_SRC): Add them to the list. |
|
7961 |
|
7962 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7963 |
|
7964 * mx-kludge.cc: Abuse CPP even more. |
|
7965 |
|
7966 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7967 |
|
7968 * Objective.h (objective_function): Add missing const. |
|
7969 (gradient_function): Likewise. |
|
7970 |
|
7971 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7972 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7973 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7974 dRowVector.h dRowVector.cc: |
|
7975 Reorganize to declare and define friends where they should be, |
|
7976 based on the use of private constructors. |
|
7977 |
|
7978 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7979 |
|
7980 * CRowVector.h (linspace): Add declaration. |
|
7981 * dRowVector.h (linspace): Likewise. |
|
7982 |
|
7983 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
7984 Force result of rcond + 1.0 to be stored. |
|
7985 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
7986 ComplexMatrix::solve): Likewise. |
|
7987 |
|
7988 See ChangeLog.1 in the top level directory for earlier changes. |