7071
|
1 2007-09-26 John W. Eaton <jwe@octave.org> |
|
2 |
|
3 * dMatrix.cc (lssolve): Revert change of 2007-09-26. |
|
4 * CMatrix.cc (lssolve): Ditto. |
|
5 |
7065
|
6 2007-10-25 John W. Eaton <jwe@octave.org> |
|
7 |
|
8 * oct-time.cc (octave_gmtime::init, octave_localtime::init): |
|
9 Call unix_time on arg instead of relying on conversion operator. |
|
10 |
|
11 * oct-time.h (octave_time::double_value): New function. |
|
12 (octave_time::operator double () const): Delete. |
|
13 (octave_time::operator time_t () const): Delete. |
|
14 |
7058
|
15 2007-10-24 John W. Eaton <jwe@octave.org> |
|
16 |
|
17 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. |
|
18 |
7052
|
19 2007-10-23 John W. Eaton <jwe@octave.org> |
|
20 |
|
21 * CRowVector.cc (operator * const ComplexRowVector&, const |
|
22 ComplexColumnVector&)): Delete spurious code left from patch. |
|
23 |
7048
|
24 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
|
25 |
|
26 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, |
|
27 sparse-sort.cc: Include <cstring>. |
|
28 |
7036
|
29 2007-10-17 John W. Eaton <jwe@octave.org> |
|
30 |
|
31 * oct-sparse.h: Don't include metis.h. |
|
32 |
|
33 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. |
|
34 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
35 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, |
|
36 p_type>::sparse_base_chol_rep::init): Likewise. |
|
37 |
7033
|
38 2007-10-16 John W. Eaton <jwe@octave.org> |
|
39 |
|
40 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the |
|
41 matrix is hermitian or calc_cond is true. |
|
42 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
43 |
7016
|
44 2007-10-12 John W. Eaton <jwe@octave.org> |
|
45 |
|
46 * Change copyright notices in all files that are part of Octave to |
|
47 GPLv3 or any later version. |
|
48 |
7007
|
49 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
|
50 |
|
51 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. |
|
52 |
7001
|
53 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
|
54 |
|
55 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. |
|
56 |
7000
|
57 2007-10-10 John W. Eaton <jwe@octave.org> |
|
58 |
|
59 * LPsolve.h, LPsolve.cc: Delete. |
|
60 * Makefile.in: Remove them from the INCLUDES and |
|
61 LIBOCTAVE_CXX_SOURCES lists. |
|
62 |
6989
|
63 2007-10-09 John W. Eaton <jwe@octave.org> |
|
64 |
6996
|
65 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
|
66 and t.tm_year to INT_MIN before call to oct_strptime. Adjust |
|
67 values to zero after call if they remain unchanged. |
|
68 |
6989
|
69 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
|
70 * dNDArray.cc (NDArray::all_elements_are_zero): New function. |
|
71 |
6988
|
72 2007-10-09 David Bateman <dbateman@free.fr> |
|
73 |
6995
|
74 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
|
75 valud and mon and year are also filled in. |
|
76 |
6990
|
77 * Array2.h (Array2<T>::Array2(const dim_vector&), |
|
78 Array2<T>::Array(const dim_vector&, const T&)): Check that |
|
79 dim_vector is 2 dimensional. |
|
80 |
6988
|
81 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
|
82 int)): Remove a for loop in the random indexing case at the |
|
83 expense of maintaining a set of linked lists of indices that point |
|
84 to the same column in the original matrix. |
|
85 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs |
|
86 and use it on the RHS of expressions to avoid unnecessary calls to |
|
87 make_unique. |
|
88 |
6979
|
89 2007-10-08 David Bateman <dbateman@free.fr> |
|
90 |
|
91 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, |
|
92 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs |
|
93 for readline compatible functions. |
|
94 (octave_rl_redisplay): Redisplay the current line of text. |
|
95 (octave_rl_newline): Change interface to the same |
|
96 as used by the equivalent readline function itself. |
|
97 (octave_rl_filename_quoting_desired, |
|
98 octave_rl_set_filename_quote_characters, |
|
99 octave_rl_set_completer_quote_characters, |
|
100 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
101 octave_rl_set_char_is_quoted_function): New functions to control |
|
102 readline filename quoting and line acceptace. |
|
103 * oct-rl-edit.c (octave_rl_newline): Change interface to the same |
|
104 as used by the equivalent readline function itself. |
|
105 (octave_rl_redisplay): Redisplay the current line of text. |
|
106 (octave_rl_filename_quoting_desired, |
|
107 octave_rl_set_filename_quote_characters, |
|
108 octave_rl_set_completer_quote_characters, |
|
109 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, |
|
110 octave_rl_set_char_is_quoted_function): New functions to control |
|
111 readline filename quoting and line acceptace. |
|
112 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, |
|
113 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs |
|
114 to map C++ function to readline compatible functions. |
|
115 (set_filename_quote_characters): New function to set the |
|
116 characters to if they appear in a filename that force the filename |
|
117 to be quoted. |
|
118 (set_completer_quote_characters): The characters that the readline |
|
119 completion function considers as quotation characters. |
|
120 (set_quoting_function, set_dequoting_function, |
|
121 set_char_is_quoted_function, set_user_accept_line_function): |
|
122 Functions to set the Octave functions to perform quoting and the |
|
123 acceptance of a line of text by readline. |
|
124 (get_quoting_function, get_dequoting_function, |
|
125 get_char_is_quoted_function, get_user_accept_line_function): |
|
126 Functions to get the above functions. |
|
127 (accept_line): New method for the command_editor to accept a line |
|
128 of text. |
|
129 (file_quoting_desired): Function to set whether readline should |
|
130 attempt to quote filenames. |
|
131 (do_set_filename_quoting_characters, |
|
132 do_set_completer_quote_characters, do_set_quoting_function, |
|
133 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
134 do_set_user_accept_line_function, do_get_quoting_function, |
|
135 do_get_dequoting_function, do_get_char_is_quoted_function, |
|
136 do_get_user_accept_line_function, do_filename_quoting_desired): |
|
137 Virtual functions to control the behavior of readline quoting and |
|
138 acceptance of lines. |
|
139 (do_accept_line): Virtual function for the accept line function. |
|
140 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, |
|
141 do_completer_quote_characters, do_set_quoting_function, |
|
142 do_set_dequoting_function, do_set_char_is_quoted_function, |
|
143 do_set_user_accept_line_function, do_get_quoting_function, |
|
144 do_get_dequoting_function, do_get_user_accept_line_function, |
|
145 do_accept_line, do_filename_quoting_desired, command_quoter, |
|
146 command_dequoter, command_char_is_quoted, command_accept_line): |
|
147 New functions in gnu_readline class to control filename quoting |
|
148 and line acceptance. |
|
149 (quoting_function, dequoting_function, char_is_quoted_function, |
|
150 user_accept_line_function): private variable to store functions |
|
151 supplied for readline quoting and line acceptance. |
|
152 (gnu_readline::gnu_readline): Also set the new function pointers |
|
153 to zero. |
|
154 (gnu_readline::do_newline): Adapt to new octave_rl_newline |
|
155 interface. |
|
156 (gnu_readeline::operate_and_get_next): Use new accept_line |
|
157 function rather than newline. |
|
158 (default_ommand_editor::do_accept_line): New method. |
|
159 (class command_editor set_filename_quote_characters, |
|
160 set_completer_quote_characters, set_quoting_function, |
|
161 set_dequoting_function, set_char_is_quoted_function, |
|
162 set_user_accept_line_function, get_quoting_function, |
|
163 get_dequoting_function, get_user_accept_line_function, |
|
164 accept_line, filename_quoting_desired): New functions checking |
|
165 instance before calling virtual function. |
|
166 |
|
167 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, |
|
168 Array2.h: Add dim_vector constructors. |
|
169 * charNDArray.h (charNDArray (const dim_vector&)): Add missing |
|
170 const to dim_vector constructors. |
|
171 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag |
|
172 (octave_idx_type)): New methods to constructor diagonal matrices. |
|
173 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag |
|
174 (octave_idx_type)): Declare them. |
|
175 |
|
176 |
6969
|
177 2007-10-06 John W. Eaton <jwe@octave.org> |
|
178 |
|
179 * lo-specfun.cc: (zlgamma): Delete. |
|
180 (xgamma): Use C library gamma function if available. |
|
181 (xlgamma): Use C library lgamma function if available. |
|
182 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X |
|
183 other than NaN or Inf. |
|
184 |
6961
|
185 2007-10-05 John W. Eaton <jwe@octave.org> |
|
186 |
|
187 * lo-specfun.cc (zlgamma): New function. |
|
188 |
6959
|
189 2007-10-04 John W. Eaton <jwe@octave.org> |
|
190 |
|
191 * oct-sort.cc (octave_sort<T>::binarysort): Remove register |
|
192 qualifiers on local variables. |
|
193 |
6958
|
194 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
|
195 |
|
196 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less |
|
197 than log(realmax) to avoid issues with NaN. |
|
198 |
6940
|
199 2007-10-01 John W. Eaton <jwe@octave.org> |
|
200 |
6941
|
201 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
|
202 initialize wday and yday. |
|
203 From Matthias Drochner <m.drochner@fz-juelich.de>. |
|
204 |
6940
|
205 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
|
206 insert extra '\001' when decoding \[ and \]. |
|
207 |
6926
|
208 2007-09-26 David Bateman <dbateman@free.fr> |
|
209 |
|
210 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with |
|
211 is much faster and no less accurate. |
|
212 * CMatrix.cc (lssolve): ditto. |
|
213 |
6924
|
214 2007-09-25 David Bateman <dbateman@free.fr> |
|
215 |
|
216 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow |
|
217 zero dimensioned matrices. |
|
218 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. |
|
219 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
220 ditto. |
|
221 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): |
|
222 ditto. |
|
223 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. |
|
224 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, |
|
225 qrsolve): ditto. |
|
226 * sparse-dmsolve.cc (dmsolve): ditto. |
|
227 |
6922
|
228 2007-09-21 John W. Eaton <jwe@octave.org> |
|
229 |
|
230 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
231 Also allow resizing empty LHS if it is 1x0 or 0xN. |
|
232 |
6916
|
233 2007-09-19 John W. Eaton <jwe@octave.org> |
|
234 |
|
235 * cmd-edit.cc (command_editor::remove_startup_hook): |
|
236 Fix cut-and-paste error. |
6917
|
237 (gnu_readline::set_startup_hook): Only set hook function if new |
|
238 function is different from the current one. |
6916
|
239 |
6913
|
240 2007-09-18 John W. Eaton <jwe@octave.org> |
|
241 |
|
242 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, |
|
243 command_editor::event_hook_set): New static data. |
|
244 (default_command_editor::set_startup_hook, |
|
245 gnu_readline::set_startup_hook, |
|
246 default_command_editor::restore_startup_hook, |
|
247 gnu_readline_restore_event_hook): |
|
248 Rename from do_set_startup_hook and do_set_event_hook. |
|
249 (gnu_readline::operate_and_get_next): Call |
|
250 command_editor::add_startup_hook, not |
|
251 command_editor::set_startup_hook. |
|
252 (command_editor::startup_handler, command_editor::event_handler): |
|
253 New functions. |
|
254 (command_editor::add_startup_hook, command_editor::add_event_hook, |
|
255 command_editor::remove_startup_hook, |
|
256 command_editor::remove_event_hook): Rename from set_startup_hook |
|
257 and restore_startup_hook. Handle hook sets here. |
|
258 * cmd-edit.cc (gnu_history::do_goto_mark): |
|
259 Call remove_startup_hook instead of restore_startup_hook. |
|
260 |
6907
|
261 2007-09-17 John W. Eaton <jwe@octave.org> |
|
262 |
|
263 * lo-utils.cc (octave_read_complex, octave_read_double): Skip |
|
264 leading whitespace. |
|
265 |
6897
|
266 2007-09-13 John W. Eaton <jwe@octave.org> |
|
267 |
|
268 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
269 octave_read_complex): Use istream::get instead of >> to read |
|
270 individual characters. |
|
271 |
6884
|
272 2007-09-10 John W. Eaton <jwe@octave.org> |
|
273 |
|
274 * Array.cc (assign1): Don't call make_unique for invalid assignment. |
|
275 |
|
276 2007-09-10 David Bateman <dbateman@free.fr> |
|
277 |
|
278 * Array.h (Array<T>::make_unique): Make public so that the |
|
279 ::assign functions can access it directly. |
|
280 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), |
|
281 Array<T>::maybe_delete_elements_1(idx_vector&), |
|
282 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), |
|
283 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): |
|
284 Use xelem for non const RHS to avoid call to make_unique. |
|
285 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use |
|
286 xelem for LHS and call lhs.make_unique() only once. Special case |
|
287 the is_colon index case and use Array<T>::xelem(octave_idx_type) |
|
288 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and |
|
289 bring the additional multiplication out of the inner loop. |
|
290 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
291 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. |
|
292 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep |
|
293 (const Range& r)): Don't use init_state() method but special case |
|
294 as with a Range can avoid exhaustive search. |
|
295 |
6881
|
296 2007-09-07 John W. Eaton <jwe@octave.org> |
|
297 |
|
298 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of |
|
299 manipulating rep directly. |
|
300 |
|
301 * Array.h (idx, idx_count): Declare mutable. |
|
302 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): |
|
303 Now const. |
|
304 |
6867
|
305 2007-09-06 David Bateman <dbateman@free.fr> |
|
306 |
6868
|
307 * Array-util.cc (increment_index): dimensions can have singleton |
|
308 trailing dimensions. |
6867
|
309 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
|
310 Modify use of Array<int> to Array<octave_idx_type> and adjust |
|
311 where necessary. |
|
312 * Array.cc (range_error): ditto. |
|
313 * MArrayN.h (permute, ipermute): ditto. |
|
314 * ArrayN.h (permute, ipermute): ditto. |
|
315 * so-array.cc (streamoff_array::compute_index): ditto. |
|
316 * so-array.h (compute_index): ditto. |
|
317 * CMattrix.cc (ComplexMatrix::exmpm): ditto. |
|
318 |
6840
|
319 2007-08-29 David Bateman <dbateman@free.fr> |
|
320 |
|
321 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, |
|
322 octave_idx_type&, double&, int, int)): Calculate with LU even for |
|
323 matrices marked as singular. |
|
324 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( |
|
325 MatrixType &, octave_idx_type&, double&, int, int)): ditto. |
|
326 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, |
|
327 double&, int, int)): ditto. If rcond==0 force matrix of infinities. |
|
328 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, |
|
329 octave_idx_type&, double&, int, int)): ditto. |
|
330 |
6838
|
331 2007-08-27 John W. Eaton <jwe@octave.org> |
|
332 |
|
333 * oct-env.cc (octave_env::rooted_relative_pathname, |
|
334 octave_env::do_rooted_relative_pathname): New functions. |
|
335 * oct-env.h: Provide decls. |
|
336 |
6823
|
337 2007-08-24 David Bateman <dbateman@free.fr> |
|
338 |
|
339 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, |
|
340 const Array<octave_idx_type>&)): New method. |
|
341 (MSparse (const dim_vector&, octave_idx_type)): Ditto. |
|
342 * dSparse.h (SparseMatrix& SparseMatrix::insert (const |
|
343 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
344 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
345 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const |
|
346 SparseMatrix&, const Array<octave_idx_type>&)): ditto. |
|
347 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
348 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
349 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const |
|
350 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. |
|
351 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
352 SparseMatrix&, const Array<octave_idx_type>&), |
|
353 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
354 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
355 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. |
|
356 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
357 SparseMatrix&, const Array<octave_idx_type>&), |
|
358 SparseComplexMatrix& SparseComplexMatrix::insert (const |
|
359 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. |
|
360 |
6817
|
361 2007-08-19 David Bateman <dbateman@free.fr> |
|
362 |
|
363 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. |
|
364 |
6813
|
365 2007-08-14 John W. Eaton <jwe@octave.org> |
|
366 |
|
367 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. |
|
368 Simplify. |
6814
|
369 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813
|
370 |
6810
|
371 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
|
372 |
|
373 * file-stat.cc (file_stat::update_internal) [__WIN32__]: |
|
374 Remove trailing dir separator when stat'ing directory except for |
|
375 root directory. |
|
376 |
6796
|
377 2007-07-25 David Bateman <dbateman@free.fr> |
|
378 |
|
379 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" |
|
380 to work. |
|
381 |
6764
|
382 2007-06-04 David Bateman <dbateman@free.fr> |
|
383 |
|
384 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), |
|
385 octave_int<T>& operator >>= (const T2&)): Make shift operators |
|
386 perform a twos complement arithmetic shift for both signed and |
|
387 unsigned integers regardless of compiler implementations. |
|
388 |
6708
|
389 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
|
390 |
6719
|
391 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
|
392 use cs_complex_t(0,0) for the complex zero. |
|
393 |
6708
|
394 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
|
395 Sprinkle class instantiations with OCTAVE_API as needed. |
|
396 |
|
397 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, |
|
398 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. |
|
399 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, |
|
400 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, |
|
401 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, |
|
402 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, |
|
403 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, |
|
404 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, |
|
405 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, |
|
406 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, |
|
407 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, |
|
408 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, |
|
409 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, |
|
410 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, |
|
411 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, |
|
412 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. |
|
413 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, |
|
414 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, |
|
415 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, |
|
416 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, |
|
417 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, |
|
418 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, |
|
419 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, |
|
420 INSTANTIATE_SPARSE_FRIENDS): Ditto. |
|
421 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, |
|
422 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, |
|
423 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, |
|
424 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
425 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, |
|
426 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, |
|
427 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, |
|
428 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, |
|
429 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, |
|
430 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, |
|
431 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, |
|
432 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, |
|
433 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, |
|
434 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, |
|
435 SPARSE_SMM_OP_DECLS): Ditto. |
|
436 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, |
|
437 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. |
|
438 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, |
|
439 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, |
|
440 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, |
|
441 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, |
|
442 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, |
|
443 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, |
|
444 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, |
|
445 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, |
|
446 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
447 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, |
|
448 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, |
|
449 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, |
|
450 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. |
|
451 |
6699
|
452 2007-06-12 John W. Eaton <jwe@octave.org> |
|
453 |
|
454 * dMatrix.cc (Matrix::expm): Special case for scalar arg. |
|
455 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
6697
|
456 |
6693
|
457 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
|
458 |
6709
|
459 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
|
460 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing |
|
461 with file_ops::dir_sep_char. |
6694
|
462 |
6693
|
463 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
|
464 |
6689
|
465 2007-06-04 David Bateman <dbateman@free.fr> |
|
466 |
6699
|
467 * file-ops.cc: Typo. |
|
468 |
6689
|
469 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
|
470 dimensions is greater than 2, collapse to 2-D. |
|
471 |
6685
|
472 2007-06-02 David Bateman <dbateman@free.fr> |
|
473 |
|
474 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. |
|
475 |
6680
|
476 2007-05-31 John W. Eaton <jwe@octave.org> |
|
477 |
|
478 * Array.cc (Array::get_size): Throw std::bad_alloc exception if |
|
479 the computed size is too large for the size of Octave's index type. |
|
480 |
6662
|
481 2007-05-23 John W. Eaton <jwe@octave.org> |
|
482 |
|
483 * oct-sparse.h: Don't surround included files with extern "C" { ... }. |
|
484 |
6629
|
485 2007-05-16 David Bateman <dbateman@free.fr> |
|
486 |
|
487 * dRowVector.cc (linspace): Return second argument if fewer than |
|
488 two values are requested. |
|
489 * CRowVector.cc (linspace): Likewise. |
|
490 |
6596
|
491 2007-04-27 John W. Eaton <jwe@octave.org> |
|
492 |
|
493 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). |
|
494 |
6583
|
495 2007-04-25 John W. Eaton <jwe@octave.org> |
|
496 |
|
497 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. |
|
498 |
6553
|
499 2007-04-20 John W. Eaton <jwe@octave.org> |
|
500 |
|
501 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, |
|
502 not rhs_len == 1. |
|
503 |
6536
|
504 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
|
505 |
|
506 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. |
|
507 |
6525
|
508 2007-04-13 John W. Eaton <jwe@octave.org> |
|
509 |
|
510 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early |
|
511 for empty matrix. Only check for colon index equivalence if not empty. |
|
512 |
6513
|
513 2007-04-10 John W. Eaton <jwe@octave.org> |
|
514 |
|
515 * SparseCmplxQR.cc |
|
516 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): |
|
517 Move GCC_ATTR_UNUSED before the parameter decl. |
|
518 From Luis Ortiz <lortiz@interactivesupercomputing.com>. |
|
519 |
6508
|
520 2007-04-06 John W. Eaton <jwe@octave.org> |
|
521 |
|
522 * MArray-defs.h (MARRAY_NORM_BODY): New macro. |
|
523 * MArray.h (MArray<T>::norm): New function. |
|
524 * MArray.cc: Provide decl. |
|
525 * MArray-d.cc (MArray<double>::norm): Define double specialization. |
|
526 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. |
|
527 |
6490
|
528 2007-04-04 John W. Eaton <jwe@octave.org> |
|
529 |
|
530 * Range.cc (Range::nelem_internal): Likewise. |
|
531 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. |
|
532 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. |
|
533 From Scott Pakin <pakin@lanl.gov>. |
|
534 |
6486
|
535 2007-04-04 David Bateman <dbateman@free.fr> |
|
536 |
|
537 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate |
|
538 the condition number for positive definite matrices. |
|
539 * CMatrix.cc (ComplexMatrix::inverse): Ditto. |
|
540 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. |
|
541 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. |
|
542 (octave_idx_type init (const Matrix&, bool)): Ditto. |
|
543 (CHOL(const CHOL&)): Copy xrcond. |
|
544 (CHOL& operator = (const CHOL&)): Copy xrcond. |
|
545 (xrcond): New private data member. |
|
546 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, |
|
547 calc_cond. |
|
548 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto |
|
549 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. |
|
550 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. |
|
551 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. |
|
552 (xrcond): New private data member. |
|
553 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is |
|
554 true, calculate the condition number with dpocon. |
|
555 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If |
|
556 calc_cond is true, calculate the condition number with zpocon. |
|
557 |
6481
|
558 2007-04-03 John W. Eaton <jwe@octave.org> |
|
559 |
6482
|
560 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
|
561 |
|
562 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and |
|
563 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid |
|
564 "maybe clobbered by vfork" warning. |
|
565 |
6483
|
566 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482
|
567 if/else. |
|
568 |
|
569 * oct-spparms.h (octave_sparse_params): Define copy constructor |
|
570 and destructor. |
|
571 |
6481
|
572 * Array.cc (assignN): Don't resize dimension if corresponding |
|
573 index is empty. |
|
574 |
6479
|
575 2007-04-02 John W. Eaton <jwe@octave.org> |
|
576 |
|
577 * dMatrix.h (Matrix::inverse): Reinstate versions without |
|
578 MatrixType argument. |
|
579 * CMatrix.h (ComplexMatrix::inverse): Likewise. |
|
580 |
6467
|
581 2007-03-27 John W. Eaton <jwe@octave.org> |
|
582 |
|
583 * Makefile.in (DISTDIRS): Delete variable. |
|
584 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). |
|
585 |
6460
|
586 2007-03-26 David Bateman <dbateman@free.fr> |
|
587 |
|
588 * MatrixType.cc: Replace all uses of the method |
|
589 octave_sparse_params::get_key ("bandden") with |
|
590 octave_sparse_params::get_bandden (void). |
|
591 (MatrixType::MatrixType (void)): Undo previous change but use |
|
592 octave_sparse_params::get_bandden (void). |
|
593 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New |
|
594 methods. |
|
595 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): |
|
596 Declare them. |
|
597 |
6458
|
598 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
599 David Bateman <dbateman@free.fr> |
|
600 |
|
601 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): |
|
602 Check that all elements are ints before doing anything. Simplify |
|
603 calculation of index values. |
|
604 |
6457
|
605 2007-03-26 David Bateman <dbateman@free.fr> |
|
606 |
|
607 * Range.cc (Range::all_elements_are_ints): Improve check. |
|
608 |
6456
|
609 2007-03-26 John W. Eaton <jwe@octave.org> |
|
610 |
|
611 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. |
|
612 * chNDArray.h, chMatrix.h: Provide decls. |
|
613 |
|
614 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> |
|
615 |
|
616 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize |
|
617 sp_bandden to zero for performance reasons as it's not used. |
6452
|
618 |
6435
|
619 2007-03-23 David Bateman <dbateman@free.fr> |
|
620 |
|
621 * oct-rand.cc (octave_rand::seed): Seed differently for big and |
|
622 little endian. |
|
623 |
6414
|
624 2007-03-15 John W. Eaton <jwe@octave.org> |
|
625 |
|
626 * lo-mappers.cc (acos): Use formula similar to what we use for asin. |
|
627 From Alexander Barth <abarth@marine.usf.edu>. |
|
628 |
6402
|
629 2007-03-12 John W. Eaton <jwe@octave.org> |
|
630 |
|
631 * oct-inttypes.h (octave_int::octave_int (double)): |
|
632 New Specialization. Round arg. |
|
633 (operator / (const octave_int<T1>&, const octave_int<T2>&)): |
|
634 Round result before converting type. |
|
635 |
6388
|
636 2007-03-07 John W. Eaton <jwe@octave.org> |
|
637 |
6392
|
638 * Array.cc (assign1): Avoid resizing if there is an error. |
|
639 |
6390
|
640 * dMatrix.cc, CMatrix.cc (operator *): Only check |
|
641 f77_exception_encountered immediately after calls that use F77_XFCN. |
|
642 |
6389
|
643 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
|
644 Only allow resizing empty LHS if it is 0x0. |
|
645 |
6388
|
646 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
|
647 const T&)): Handle case of more indices than dimensions. |
|
648 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more |
|
649 cases to be handled by assignN. |
|
650 (assignN (Array<LT>&, const Array<RT>&, const LT&)): |
|
651 Special cases for 2-d array assignments for speed. |
|
652 Improve handling of scalar RHS and empty indices. |
6384
|
653 |
6383
|
654 2007-03-05 David Bateman <dbateman@free.fr> |
|
655 |
|
656 * oct-md5.c (oct_md5_file (const std::string&)): New function. |
|
657 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. |
|
658 |
6379
|
659 2007-03-02 John W. Eaton <jwe@octave.org> |
|
660 |
|
661 * str-vec.h (string_vector::empty): Return bool, not int. |
|
662 |
6375
|
663 2007-03-01 David Bateman <dbateman@free.fr> |
|
664 |
|
665 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for |
|
666 an independent implementation of RFC1321. |
|
667 * oct-md5.h, oct-md5: New files for treating std::string class |
|
668 with MD5. |
|
669 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h |
|
670 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc |
|
671 (LIBOCTAVE_C_SOURCES): Add md5.c |
|
672 |
6366
|
673 2007-02-27 John W. Eaton <jwe@octave.org> |
|
674 |
|
675 * Makefile.in (uninstall): Delete files listed in |
|
676 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). |
|
677 From Thomas Treichl <Thomas.Treichl@gmx.net>. |
|
678 |
6536
|
679 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363
|
680 |
|
681 * file-ops.cc (file_ops::recursive_rmdir): |
|
682 Close dir_entry object before calling rmdir. |
|
683 |
6536
|
684 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358
|
685 |
|
686 * Makefile.in: Use $(LN_S) instead of ln or ln -s. |
|
687 |
6359
|
688 * sparse-util.h (SparseCholPrint, SparseCholError): |
|
689 Tag with OCTAVE_API. |
|
690 |
6326
|
691 2007-02-18 David Bateman <dbateman@free.fr> |
|
692 |
|
693 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to |
|
694 calling setall and reset to the current generator after. |
|
695 |
6323
|
696 2007-02-16 John W. Eaton <jwe@octave.org> |
|
697 |
|
698 * oct-shlib.h (octave_shlib::relative): New data member. |
|
699 (octave_shlib::mark_relative, octave_shlib::is_relative): |
|
700 New functions. |
|
701 |
6321
|
702 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
|
703 |
|
704 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on |
|
705 windows platform. |
|
706 * lo-sysdep.h (octave_popen2): Declare it. |
|
707 * oct-syscalls.cc (octave_syscalls::popen2): New function. |
|
708 * oct-syscalls.h (octave_syscalls::popen2): Declare it. |
|
709 |
6306
|
710 2007-02-14 John W. Eaton <jwe@octave.org> |
|
711 |
|
712 * kpse.cc (expand_elt): Omit special treatment for //. |
|
713 |
6273
|
714 2007-02-06 John W. Eaton <jwe@octave.org> |
|
715 |
|
716 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: |
|
717 Don't delete value returned from realpath. |
|
718 |
6271
|
719 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
|
720 |
|
721 * file-ops.cc (file_ops::canonicalize_file_name): |
|
722 Provide implementation if realpath function is available. |
|
723 |
6256
|
724 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
|
725 |
|
726 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. |
|
727 |
6244
|
728 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
|
729 |
|
730 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on |
|
731 Windows systems. |
|
732 |
6242
|
733 2007-01-16 John W. Eaton <jwe@octave.org> |
|
734 |
|
735 * dSparse.cc: Fix dgbtrf decl for --enable-64. |
|
736 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 |
|
737 |
|
738 * oct-fftw.h (fftw_planner): Provide decl. |
|
739 |
6241
|
740 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
|
741 |
|
742 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. |
|
743 |
6236
|
744 2007-01-10 John W. Eaton <jwe@octave.org> |
|
745 |
|
746 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not |
|
747 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". |
|
748 |
6231
|
749 2007-01-08 David Bateman <dbateman@free.fr> |
|
750 |
|
751 * oct-sparse.h: Replace sparsesuite with suitesparse and |
|
752 SPARSESUITE with SUITESPARSE to match upstream name. |
|
753 |
6228
|
754 2007-01-05 David Bateman <dbateman@free.fr> |
|
755 |
|
756 * oct-fftw.cc: (octave_fftw_planner::method (void), |
|
757 octave_fftw_planner (FftwMethod)): New methods to interrogate and |
|
758 set the FFTW wisdom method used. |
|
759 (octave_fftw_planner::create_plan) Modify to allow different |
|
760 methods to be used. |
|
761 (octave_fftw_planner): Move class definition from here. |
|
762 * oct-fftw.h (octave_fftw_planner): To here. Add method methods |
|
763 and FftwMethod enum. |
|
764 |
6221
|
765 2007-01-03 David Bateman <dbateman@free.fr> |
|
766 |
|
767 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, |
|
768 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as |
|
769 sparse matrices are special cased. |
|
770 |
|
771 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed |
|
772 matrix, sparse matrix operations. |
|
773 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, |
|
774 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, |
|
775 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, |
|
776 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, |
|
777 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, |
|
778 FULL_SPARSE_MUL): Modify macros so that scalars stored as |
|
779 sparse matrices are special cased. |
|
780 |
6217
|
781 2006-12-22 David Bateman <dbateman@free.fr> |
|
782 |
|
783 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. |
|
784 |
6216
|
785 2006-12-22 John W. Eaton <jwe@octave.org> |
|
786 |
|
787 * dim-vector.h (dim_vector::dim_vector): Always start with at |
|
788 least 2 dimensions. |
|
789 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. |
|
790 |
6208
|
791 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
|
792 |
|
793 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. |
|
794 |
|
795 * file-ops.cc (ops::canonicalize_file_name): Provide partial |
6217
|
796 implementation for Windows. |
6208
|
797 |
6207
|
798 2006-12-06 David Bateman <dbateman@free.fr> |
|
799 |
6208
|
800 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
|
801 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. |
6207
|
802 |
|
803 * dMatrrix.cc (finverse): Old inverse method renamed inverse. |
|
804 (tinverse): New method for triangular matrices. |
|
805 (inverse): New function with matrix type probing. |
|
806 * dMatrix.h (finverse, tinverse, inverse): New and modified |
|
807 declarations. |
6208
|
808 * CMatrix.cc: Ditto. |
|
809 * CMatrix.h: Ditto. |
6207
|
810 |
6205
|
811 2006-12-06 John W. Eaton <jwe@octave.org> |
|
812 |
|
813 * strptime.c (day_of_the_week): Use code from current glibc sources. |
|
814 |
6202
|
815 2006-12-05 John W. Eaton <jwe@octave.org> |
|
816 |
|
817 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not |
|
818 followed by 'I' or 'i', try reading number after putting |
|
819 characters back on input stream. |
|
820 |
6198
|
821 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
|
822 |
|
823 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of |
|
824 loop is n, not L. |
|
825 |
6194
|
826 2006-11-30 John W. Eaton <jwe@octave.org> |
|
827 |
|
828 * lo-utils.cc (octave_read_double, read_inf_nan_na): |
|
829 Also recognize [+-][Ii]nf. |
|
830 |
6187
|
831 2006-11-28 David Bateman <dbateman@free.fr> |
6186
|
832 |
|
833 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite |
|
834 sub-directory. |
|
835 |
6204
|
836 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
|
837 well when calling tinverse for lower triangular matrices. |
|
838 * CSparse.cc (SparseComplexMatrix::inverse): |
|
839 Ditto. |
6185
|
840 |
6183
|
841 2006-11-21 John W. Eaton <jwe@octave.org> |
|
842 |
|
843 * oct-env.cc (do_absolute_pathname): Undo previous change. |
|
844 |
6182
|
845 2006-11-20 John W. Eaton <jwe@octave.org> |
|
846 |
|
847 * oct-env.cc (octave_env::do_absolute_pathname): Also return true |
|
848 for ".", and names beginning with "./" or "../". |
|
849 |
6162
|
850 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
|
851 |
|
852 * CMatrix.cc, dMatrix.cc: New tests. |
|
853 |
6153
|
854 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
|
855 |
|
856 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. |
|
857 |
6152
|
858 2006-11-11 John W. Eaton <jwe@octave.org> |
|
859 |
|
860 * Makefile.in ($(OPTS_INC), mx-ops.h): |
|
861 Use $(simple-move-if-change-rule) here. |
|
862 |
6148
|
863 2006-11-09 David Bateman <dbateman@free.fr> |
|
864 |
|
865 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to |
|
866 octave_idx_type, not int. |
|
867 |
6145
|
868 2006-11-08 John W. Eaton <jwe@octave.org> |
|
869 |
|
870 * dir-ops.cc (dir_entry::read): Avoid rewinddir. |
|
871 |
6141
|
872 2006-11-06 John W. Eaton <jwe@octave.org> |
|
873 |
|
874 * Array.cc (assignN): Exit early if invalid indices are found. |
|
875 |
6140
|
876 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
|
877 |
|
878 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. |
|
879 |
6137
|
880 2006-11-03 John W. Eaton <jwe@octave.org> |
|
881 |
|
882 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. |
|
883 (DLL_CDEFS): Rename from XTRA_CDEFS. |
|
884 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. |
|
885 |
6123
|
886 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
|
887 |
|
888 * oct-shlib.cc: Undefine min and max after including windows.h. |
|
889 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. |
|
890 * lo-sysdep.h: Move opendir, readdir, etc. decls here from |
|
891 lo-sysdep.cc. |
|
892 |
6113
|
893 2006-10-27 John W. Eaton <jwe@octave.org> |
|
894 |
6119
|
895 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
|
896 |
|
897 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
898 |
|
899 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, |
|
900 NDS_CMP_OPS2): New macros. |
6113
|
901 |
6111
|
902 2006-10-26 John W. Eaton <jwe@octave.org> |
|
903 |
6119
|
904 * mx-ops (core-type): New field for integer types. |
|
905 * mk-ops.awk: Handle core-type for integer comparison ops. |
|
906 |
6111
|
907 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
|
908 Move here from src/cutils.c. |
|
909 * lo-utils.h: Provide decls. |
|
910 * strcasecmp.c: Move here from src/strcasecmp.c. |
|
911 * strncase.c: Move here from src/strncase.c. |
|
912 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. |
|
913 |
6106
|
914 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
|
915 |
|
916 * kpse.cc [! MSVC]: Don't include win32lib.h. |
|
917 |
6708
|
918 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
|
919 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, |
|
920 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, |
|
921 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, |
|
922 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, |
|
923 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, |
|
924 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, |
|
925 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, |
|
926 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, |
|
927 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, |
|
928 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, |
|
929 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, |
|
930 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, |
|
931 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, |
|
932 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, |
|
933 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, |
|
934 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, |
|
935 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, |
|
936 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, |
|
937 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, |
|
938 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, |
|
939 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, |
|
940 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. |
6108
|
941 |
6105
|
942 2006-10-26 John W. Eaton <jwe@octave.org> |
|
943 |
|
944 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit |
|
945 type qualification for OP. |
|
946 |
6101
|
947 2006-10-26 David Bateman <dbateman@free.fr> |
|
948 |
|
949 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, |
|
950 octave_idx_type)): Be more careful with the size of the input |
|
951 matrix, and therefore don't create or read non existent data. |
|
952 |
6092
|
953 2006-10-25 John W. Eaton <jwe@octave.org> |
|
954 |
|
955 * Sparse.cc (assign): Clear lhs index after error. |
|
956 |
6093
|
957 2006-10-25 David Bateman <dbateman@free.fr> |
6092
|
958 |
|
959 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
960 Fix previous patch so it works. |
|
961 |
6087
|
962 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
|
963 |
6095
|
964 * glob-match.h (glob_match::glob_match (const std::string&, |
|
965 unsigned int)): Delete initializer for first arg. |
|
966 |
6093
|
967 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
|
968 New functions. |
|
969 |
6087
|
970 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
|
971 |
6096
|
972 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
|
973 same code as __MINGW32__. |
|
974 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG |
|
975 the same as for __MINGW32__. |
|
976 |
|
977 * randpoisson.c: Undefine INFINITE before redefining. |
|
978 |
6079
|
979 2006-10-24 David Bateman <dbateman@free.fr> |
|
980 |
|
981 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the |
|
982 lhs at the point we know the assignment can succeed if the lhs is |
|
983 empty. |
|
984 |
6072
|
985 2006-10-23 John W. Eaton <jwe@octave.org> |
|
986 |
|
987 * Array.cc (assign2): Don't require vector assignments to be oriented. |
|
988 |
6061
|
989 2006-10-17 John W. Eaton <jwe@octave.org> |
|
990 |
|
991 * lo-cieee.c: If isnan is not available but _isnan is, then define |
|
992 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite |
|
993 and _copysign. |
|
994 |
6059
|
995 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051
|
996 |
6061
|
997 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
|
998 |
6708
|
999 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
|
1000 * CSparse.cc (SparseComplexMatrix::insert): Likewise. |
6061
|
1001 |
6058
|
1002 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
|
1003 |
6059
|
1004 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
|
1005 |
6051
|
1006 * Makefile.in: Adapt rules to use $(LIBPRE). |
|
1007 |
6027
|
1008 2006-10-03 David Bateman <dbateman@free.fr> |
|
1009 |
|
1010 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 |
|
1011 or p == 0. |
|
1012 |
6018
|
1013 2006-10-02 John W. Eaton <jwe@octave.org> |
|
1014 |
|
1015 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. |
|
1016 * CmplxDET.cc (ComplexDET::initialize2): Likewise. |
|
1017 |
5996
|
1018 2006-09-22 David Bateman <dbateman@free.fr> |
|
1019 |
|
1020 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): |
5997
|
1021 Remove spurious warning. |
5996
|
1022 |
5992
|
1023 2006-09-15 John W. Eaton <jwe@octave.org> |
|
1024 |
|
1025 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): |
|
1026 Handle resizing. |
|
1027 |
|
1028 * intNDArray.h (intNDArray<T>:elt_type): New typedef. |
|
1029 |
5983
|
1030 2006-09-11 John W. Eaton <jwe@octave.org> |
|
1031 |
|
1032 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): |
|
1033 Handle M*v and rv*cv special cases. |
|
1034 * CMatrix.cc (operator * (const ComplexMatrix&, const |
|
1035 ComplexMatrix&))): Likewise. |
|
1036 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. |
|
1037 |
|
1038 * dRowVector.cc (operator * (const RowVector&, const |
|
1039 ColumnVector&)): Call xddot here instead of using a Fortran |
|
1040 function directly. |
|
1041 * CRowVector.cc (operator * (const ComplexRowVector&, const |
|
1042 ComplexColumnVector&)): Call xzdotu here. |
|
1043 |
|
1044 2006-09-05 John W. Eaton <jwe@octave.org> |
|
1045 |
|
1046 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare |
|
1047 elements to '\0', not ' '. |
|
1048 |
5972
|
1049 2006-08-25 John W. Eaton <jwe@octave.org> |
|
1050 |
|
1051 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. |
|
1052 |
5958
|
1053 2006-08-23 John W. Eaton <jwe@octave.org> |
|
1054 |
|
1055 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. |
|
1056 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. |
|
1057 |
5955
|
1058 2006-08-22 John W. Eaton <jwe@octave.org> |
|
1059 |
5956
|
1060 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
|
1061 * dMatrix.cc (Matrix::save_ascii): New function. |
|
1062 |
5955
|
1063 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
|
1064 If array is empty, return value is same size as array. |
|
1065 (MX_ND_REDUCTION): Correctly detect empty arrays. |
|
1066 If array is empty, produce correctly sized return value. |
|
1067 |
5940
|
1068 2006-08-18 John W. Eaton <jwe@octave.org> |
|
1069 |
5943
|
1070 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
|
1071 * dMatrix.h: Provide decl. |
|
1072 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. |
|
1073 * dNDArray.h: Provide decl. |
|
1074 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): |
|
1075 New function. |
|
1076 * intNDArray.h: Provide decl. |
|
1077 |
5940
|
1078 * Array.cc (Array<T>::permute): Only rearrange values if array is |
|
1079 not empty. |
|
1080 |
5904
|
1081 2006-07-26 John W. Eaton <jwe@octave.org> |
|
1082 |
|
1083 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, |
|
1084 DET::value_will_overflow): Use xlog2 instead of log2. |
|
1085 (DET::initialize2, DET::initialize10): Use xround instead of round. |
|
1086 (DET::initialize2, DET::value): Use xexp2 instead of exp2. |
|
1087 * CmplxDET.cc (ComplexDET::initialize10, |
|
1088 ComplexDET::value_will_underflow, |
|
1089 ComplexDET::value_will_overflow): Use xlog2 instead of log2. |
|
1090 (ComplexDET::initialize2, ComplexDET::initialize10): |
|
1091 Use xround instead of round. |
|
1092 (ComplexDET::initialize2, ComplexDET::value): |
|
1093 Use xexp2 instead of exp2. |
|
1094 |
|
1095 * lo-mappers.cc (M_LOG10E): Delete unused macro. |
|
1096 (xlog2, xexp2): New functions. |
|
1097 * lo-mappers.h: Provide decls. |
|
1098 |
5900
|
1099 2006-07-22 John W. Eaton <jwe@octave.org> |
|
1100 |
|
1101 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, |
|
1102 Sparse<T>::mex_get_jc): New functions. |
|
1103 |
|
1104 2006-07-21 John W. Eaton <jwe@octave.org> |
|
1105 |
|
1106 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. |
|
1107 * Array.h (Array<T>::mex_get_data): New function. |
|
1108 |
5898
|
1109 2006-07-19 John W. Eaton <jwe@octave.org> |
|
1110 |
|
1111 * oct-inttypes.h (octave_int::operator bool (void)): New function. |
|
1112 |
5893
|
1113 2006-07-16 John W. Eaton <jwe@octave.org> |
|
1114 |
|
1115 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): |
|
1116 Rename from SparseParams. Use same implementation method as other |
|
1117 singleton classes in Octave. Change all uses of |
|
1118 Voctave_sparse_controls to use static functions from |
|
1119 octave_sparse_params class instead. |
|
1120 |
|
1121 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, |
|
1122 SparseParams::get_key): Pass std::string arg by const reference, |
|
1123 not const value. |
|
1124 |
5892
|
1125 2006-07-15 John W. Eaton <jwe@octave.org> |
|
1126 |
|
1127 * data-conv.cc: Instantiante swap_bytes templates here. |
|
1128 |
|
1129 * MatrixType.cc (MatrixType::MatrixType): |
|
1130 Use complete initializer lists in constructors. |
|
1131 |
5880
|
1132 2006-07-06 John W. Eaton <jwe@octave.org> |
|
1133 |
|
1134 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): |
|
1135 New constructor. |
|
1136 * str-vec.h: Provide decl. |
|
1137 |
5876
|
1138 2006-07-01 David Bateman <dbateman@free.fr> |
|
1139 |
|
1140 * dSparse.cc (tinverse): Check for rows with no elements and zero |
|
1141 elements on the diagonal. Allow both Upper and Lower triangular |
|
1142 matrices to be treated. |
|
1143 * CSparse.cc (tinverse): ditto. |
|
1144 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit |
|
1145 constant assignment. |
|
1146 |
5870
|
1147 2006-06-30 John W. Eaton <jwe@octave.org> |
|
1148 |
5872
|
1149 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
|
1150 * cmd-edit.cc (editor::read_init_file): Ditto. |
|
1151 * dir-ops.cc (dir_entry::open): Ditto. |
5871
|
1152 * file-stat.cc (stat::update_internal): Ditto. |
5872
|
1153 * cmd-hist.cc (command_history::set_file): Ditto. |
5871
|
1154 |
5870
|
1155 * data-conv.cc (data_conv::string_to_data_type): |
|
1156 Correctly handle leading "*". |
|
1157 |
5869
|
1158 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
|
1159 |
|
1160 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds |
|
1161 array access. |
|
1162 |
5866
|
1163 2006-06-27 John W. Eaton <jwe@octave.org> |
|
1164 |
|
1165 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. |
|
1166 |
5864
|
1167 2006-06-21 John W. Eaton <jwe@octave.org> |
|
1168 |
|
1169 * oct-shlib.cc (octave_dlopen_shlib::close, |
|
1170 octave_shl_load_shlib::close, octave_w32_shlib::close): |
|
1171 Skip do_close_hook if cl_hook is 0. |
|
1172 |
5863
|
1173 2006-06-16 John W. Eaton <jwe@octave.org> |
|
1174 |
|
1175 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. |
|
1176 * randmtzig.h: Don't inlcude config.h. |
|
1177 |
5837
|
1178 2006-05-31 David Bateman <dbateman@free.fr> |
|
1179 |
|
1180 * Array.cc (assignN): Maybe reshape LHS before doing assignment. |
|
1181 |
5828
|
1182 2006-05-23 John W. Eaton <jwe@octave.org> |
|
1183 |
|
1184 * oct-types.h.in: Include stdint.h or inttypes.h for integer |
|
1185 typedefs, or define them if those files are not available. |
|
1186 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, |
|
1187 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, |
|
1188 octave_uint64_t): Delete typedefs. Replace all uses of these |
|
1189 types with int8_t, int16_t, etc. |
|
1190 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): |
|
1191 Delete definitions. Replace all uses of these macros with int8_t, |
|
1192 int16_t, etc. |
|
1193 * randmtzig.h: Delete integer typedefs. |
|
1194 |
5822
|
1195 2006-05-18 John W. Eaton <jwe@octave.org> |
|
1196 |
|
1197 * EIG.cc (EIG::init): Trap Inf and NaN values here. |
|
1198 From Keith Goodman <kwgoodman@gmail.com>. |
|
1199 |
5813
|
1200 2006-05-08 David Bateman <dbateman@free.fr> |
|
1201 |
|
1202 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous |
|
1203 modification. |
|
1204 |
5797
|
1205 2006-05-09 David Bateman <dbateman@free.fr> |
|
1206 |
|
1207 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, |
|
1208 ov-cx-sparse. and error_state. |
|
1209 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. |
|
1210 |
5795
|
1211 2006-05-08 David Bateman <dbateman@free.fr> |
|
1212 |
|
1213 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in |
|
1214 first pass and use to determine which algorithm to use on a |
|
1215 column-by-column basis. |
|
1216 |
5792
|
1217 2006-05-04 David Bateman <dbateman@free.fr> |
|
1218 |
|
1219 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
|
1220 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of |
|
1221 CXSparse or later |
|
1222 |
5785
|
1223 2006-05-03 David Bateman <dbateman@free.fr> |
|
1224 |
|
1225 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): |
|
1226 External declaration of lapack triangular and Cholesky codes. |
|
1227 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, |
|
1228 ComplexMatrix::fsolve): New private solver codes for |
|
1229 upper, lower and LU/Cholesky solvers. |
|
1230 (ComplexMatrix::solve): New versions for cached matrix |
|
1231 type. Adapt old versions to call new versions |
|
1232 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1233 new solvers. |
|
1234 (solve): New versions for cached matrix type. |
|
1235 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): |
|
1236 External declaration of lapack triangular and Cholesky codes. |
|
1237 (Matrix::utsolve, Matrix::ltsolve, |
|
1238 Matrix::fsolve): New private solver codes for |
|
1239 upper, lower and LU/Cholesky solvers. |
|
1240 (Matrix::solve): New versions for cached matrix |
|
1241 type. Adapt old versions to call new versions |
|
1242 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of |
|
1243 new solvers. |
|
1244 (solve): New versions for cached matrix type. |
|
1245 * CSparse.cc: Replace all uses of SparseType with MatrixType. |
|
1246 * CSparse.h: ditto. |
|
1247 * dSparse.cc: ditto. |
|
1248 * dSparse.h: ditto. |
|
1249 * SparseCmplxCHOL.cc: ditto. |
|
1250 * SparsedbleCHOL.cc: ditto. |
|
1251 * sparse-dmsolve.cc: ditto. |
|
1252 * SparseType.cc, SparseType.h: delete. |
|
1253 * MatrixType.cc: New file for class to cache matrix type, based on |
|
1254 old SparseType class but caching matrix and sparse types. |
|
1255 * MatrixType.h: ditto. |
|
1256 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and |
|
1257 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc |
|
1258 respectively. |
|
1259 * mx-base.h: Include MatrixTye.h as header file. |
|
1260 |
5781
|
1261 2006-05-01 John W. Eaton <jwe@octave.org> |
|
1262 |
|
1263 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): |
|
1264 Delete WARN_FUTURE arg. Change all uses. |
|
1265 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. |
|
1266 Change all uses. Use current_liboctave_warning_with_id_handler. |
|
1267 (octave_base_shlib::open): Delete arg. Change all derived classes |
|
1268 and uses. |
|
1269 |
|
1270 2006-04-29 John W. Eaton <jwe@octave.org> |
|
1271 |
|
1272 * Array-flags.cc, Array-flags.h: Delete. |
|
1273 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. |
|
1274 (MATRIX_INC): Remove Array-flags.h from the list. |
|
1275 |
|
1276 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. |
|
1277 Use current_liboctave_warning_with_id_handler |
|
1278 with warning ID Octave:resize-on-range-error. |
|
1279 * idx-vector.h: Fix decl. |
|
1280 * Array.cc, Sparse.cc: Change all callers. |
|
1281 |
|
1282 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, |
|
1283 assign2, assignN): Use current_liboctave_warning_with_id_handler |
|
1284 with warning ID Octave:fortran-indexing instead of |
|
1285 liboctave_wfi_flag. |
|
1286 * Sparse.cc (assign, Sparse<T>::index): Likewise. |
|
1287 |
5777
|
1288 2006-04-26 John W. Eaton <jwe@octave.org> |
|
1289 |
|
1290 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): |
|
1291 New static data. |
|
1292 * pathsearch.h: Provide decls. |
|
1293 (dir_path::is_path_sep): New function. |
|
1294 |
5766
|
1295 2006-04-18 John W. Eaton <jwe@octave.org> |
|
1296 |
|
1297 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): |
|
1298 Omit inline from decl. |
|
1299 |
|
1300 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid |
|
1301 local array with variable dimension. |
|
1302 |
5764
|
1303 2006-04-16 John W. Eaton <jwe@octave.org> |
|
1304 |
5765
|
1305 * lo-sstream.h: Delete. |
|
1306 * Makefile.in (INCLUDES): Remove it from the list. |
|
1307 |
|
1308 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. |
|
1309 * Sparse.cc (Sparse::range_error): Likewise. |
|
1310 * DASSL.cc (DASSL::error_message): Likewise. |
|
1311 * LSODE.cc (LSODE::error_message): Likewise. |
|
1312 * DASRT.cc (DASRT::error_message): Likewise. |
|
1313 * DASPK.cc (DASPK::error_message): Likewise. |
|
1314 * Array.cc (Array::range_error): Likewise. |
|
1315 |
5764
|
1316 * kpse.cc (kpse_hash): Rename from hash. |
|
1317 (hash_lookup): Call kpse_hash instead of hash. |
|
1318 |
|
1319 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> |
|
1320 to avoid local array with variable dimension. |
|
1321 |
5760
|
1322 2006-04-13 David Bateman <dbateman@free.fr> |
|
1323 |
|
1324 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1325 Optimize assignment. |
|
1326 |
|
1327 2006-04-13 John W. Eaton <jwe@octave.org> |
|
1328 |
|
1329 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): |
|
1330 Eliminate unnecessary casts. |
|
1331 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. |
|
1332 |
|
1333 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. |
|
1334 (log_search, dir_links): Use static_cast instead of C-style cast. |
|
1335 |
|
1336 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. |
|
1337 * oct-alloc.cc (allocator::grow): Likewise. |
|
1338 * CSparse.cc (SparseComplexMatrix::determinant, |
|
1339 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): |
|
1340 Likewise. |
|
1341 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. |
|
1342 |
|
1343 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): |
|
1344 Use static_cast instead of C-style cast. |
|
1345 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. |
|
1346 * dSparse.cc (SparseMatrix::fsolve): Likewise. |
|
1347 |
|
1348 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. |
|
1349 Use OCTAVE_LOCAL_BUFFER instead of new/delete. |
|
1350 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. |
|
1351 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): |
|
1352 Use reinterpret_cast instead of X_CAST. |
|
1353 |
|
1354 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast |
|
1355 return value here. |
|
1356 |
5752
|
1357 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
|
1358 |
|
1359 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. |
|
1360 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. |
|
1361 |
5730
|
1362 2006-04-03 David Bateman <dbateman@free.fr> |
|
1363 |
5731
|
1364 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
|
1365 to avoid copy of original matrix. |
|
1366 |
5730
|
1367 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
|
1368 randmtzig.h to the list. |
|
1369 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and |
|
1370 randmtzig.c to the list. |
|
1371 * oct-rand.cc (do_old_initialization): Rename from do_initialization. |
|
1372 (use_old_generators): New variable. |
|
1373 (old_initialized): Rename from initialized. |
|
1374 (new_initialized): New variable. |
|
1375 (oct_init_by_entropy): New function. |
|
1376 (maybe_initialize): Initialize new or old generator depending on |
|
1377 value of use_old_generators. |
|
1378 (octave_rand::state): New functions. |
|
1379 (octave_rand::distribution): Add gamma, exponential and poisson |
|
1380 distributions. |
|
1381 (octave_rand::exponential_distribution, |
|
1382 octave_rand::poisson_distribution, |
|
1383 octave_rand::gamma_distribution): New methods to select |
|
1384 exponential, poisson or gamma distribution. |
|
1385 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1386 octave_rand::vector): Add new distributions. |
|
1387 * oct-rand.h: Provide decls for new functions. |
|
1388 (octave_rand::matrix, octave_rand::scalar, octave_rand:: |
|
1389 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, |
|
1390 octave_rand::vector): New arg A, for gamma and poisson distributions. |
|
1391 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, |
|
1392 randmtzig.h: New files. |
|
1393 |
5717
|
1394 2006-03-24 John W. Eaton <jwe@octave.org> |
|
1395 |
|
1396 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
|
1397 Array<octave_idx_type>, so fortran_vec returns pointer to |
|
1398 octave_idx_type, not pointer to int. |
|
1399 |
|
1400 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), |
|
1401 ComplexMatrix::column (char*)): Delete. |
|
1402 * dMatrix.cc, dMatrix.h (Matrix::row (char*), |
|
1403 Matrix::column (char*)): Delete. |
|
1404 |
5713
|
1405 2006-03-21 David Bateman <dbateman@free.fr> |
|
1406 |
|
1407 * SparseQR.h: Publish externally used friends. |
|
1408 * SparseCmplxQR.h: ditto. |
|
1409 |
5700
|
1410 2006-03-21 John W. Eaton <jwe@octave.org> |
|
1411 |
|
1412 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for |
|
1413 call to xdbetai. |
|
1414 |
5697
|
1415 2006-03-21 David Bateman <dbateman@free.fr> |
|
1416 |
5701
|
1417 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
|
1418 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. |
5700
|
1419 |
|
1420 * dSparse.cc (solve): Add argument singular_fallback, to allow |
|
1421 fallback to QR solvers to be optional. |
|
1422 * CSparse.cc (solve): Ditto. |
|
1423 * dSparse.h (solve): update declaration for new argument. |
|
1424 * CSparse.h (solve): Ditto. |
|
1425 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument |
|
1426 to bypass QR solvers when solving the well determined part of |
|
1427 the problem. |
5697
|
1428 |
5690
|
1429 2006-03-17 John W. Eaton <jwe@octave.org> |
|
1430 |
|
1431 * str-vec.cc (vector::list_in_columns): New optional arg, width. |
|
1432 |
5681
|
1433 2006-03-16 David Bateman <dbateman@free.fr> |
|
1434 |
|
1435 * CSparse.cc: Change use of nzmax to nnz to allow automatic |
|
1436 reduction of matrix size, except for a couple of cases where nzmax |
|
1437 is needed. |
|
1438 (zpbcon): Correct declaration of lapack zpbcon function. |
|
1439 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add |
|
1440 an argument to allow the calculation of condition number to be |
|
1441 optional. |
|
1442 (bsolve): Add code for the calculation of the condition number |
|
1443 using zpbcon and zgbcon. |
|
1444 (dsolve): Bug fix for rectangular matrices with sparse RHS. |
|
1445 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as |
|
1446 singular if singularity is detected. |
|
1447 (solve): Use optional argument to disable calculation of |
|
1448 condition number for all but fsolve, for speed. Add code to |
|
1449 allow rectnagular matrices or matrices identified as singular |
|
1450 to be treated. |
|
1451 (lssolve): delete. |
|
1452 (operator *): Don't recast real matrices as complex, but |
|
1453 rather use the macro directly on the real data. |
|
1454 * dSparse.cc: ditto. |
|
1455 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, |
|
1456 fsolve, factorize): Update declaration for new argument to |
|
1457 calculate the condition number. |
|
1458 (lssolve): delete. |
|
1459 * dSparse.h: ditto. |
|
1460 * Msparse.h: Change use of nxmax to nnz to allow automatic |
|
1461 reduction of matrix size, except for a couple of cases where |
|
1462 nzmax is needed. |
|
1463 * Sparse.cc: Change use of nxmax to nnz to allow automatic |
|
1464 reduction of matrix size, except for a couple of cases where |
|
1465 nzmax is needed. |
|
1466 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): |
|
1467 Special case strict permutations for speed. |
|
1468 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic |
|
1469 reduction of matrix size, except for a couple of cases where |
|
1470 nzmax is needed. |
|
1471 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update |
|
1472 macros to allow mixed complex/real arguments. |
|
1473 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero |
|
1474 value. |
|
1475 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. |
|
1476 * SparseType.cc (SparseType::SparseType ()): Correct detection |
|
1477 of permutated triangular matrices to avoid seg-faults. Disable |
|
1478 detection of underdetermined lower and over-determined upper |
|
1479 matrix due to problems with non minimum norm solutions. |
|
1480 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. |
|
1481 * Makefile.in: add sparse-dmsolve.cc to targets. |
|
1482 |
5675
|
1483 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
|
1484 |
|
1485 * oct-time.cc (octave_strptime::init): Return useful character count. |
|
1486 |
5648
|
1487 2006-03-08 David Bateman <dbateman@free.fr> |
|
1488 |
|
1489 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for |
|
1490 g++ 4.x stl_vector.h issue with C99 double _Complex type. |
|
1491 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. |
|
1492 * SparseQR.cc: ditto. |
|
1493 * SparseQR.h: ditto. |
|
1494 * oct-sparse.h: ditto. |
|
1495 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): |
|
1496 Declare info variable as volatile. |
|
1497 |
|
1498 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. |
|
1499 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. |
|
1500 |
5634
|
1501 2006-03-01 John W. Eaton <jwe@octave.org> |
|
1502 |
|
1503 * CMatrix.cc (ComplexMatrix::determinant): |
|
1504 Scale result by factors of 2, not 10. |
|
1505 * dMatrix.cc (Matrix::determinant): Likewise. |
|
1506 |
|
1507 * dbleDET.h (DET::DET): Use initializer list. |
|
1508 (DET::coefficient2, DET::coefficient10, DET::exponent2, |
|
1509 DET::exponent10): New functions. |
|
1510 (DET::det): Delete. |
|
1511 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. |
|
1512 Store value internally with double and int instead of 2-element |
|
1513 double vector. |
|
1514 (DET::initialize2, DET::initialize10): Provide decls. |
|
1515 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): |
|
1516 Return bool value, not int. |
|
1517 (DET::initialize2, DET::initialize10): New functions. |
|
1518 |
|
1519 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. |
|
1520 (ComplexDET::coefficient2, ComplexDET::coefficient10, |
|
1521 ComplexDET::exponent2, ComplexDET::exponent10): New functions. |
|
1522 (ComplexDET::det): Delete. |
|
1523 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, |
|
1524 ComplexDET::base2): New data members. |
|
1525 Store value internally with Complex and int instead of 2-element |
|
1526 Complex vector. |
|
1527 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. |
|
1528 * dbleComplexDET.cc (ComplexDET::value_will_overflow, |
|
1529 ComplexDET::value_will_underflow): Return bool value, not int. |
|
1530 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. |
|
1531 |
5632
|
1532 2006-02-24 John W. Eaton <jwe@octave.org> |
|
1533 |
|
1534 * Array.cc (assignN): Clear index before reshaping. |
|
1535 |
|
1536 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. |
|
1537 |
5630
|
1538 2006-02-20 David Bateman <dbateman@free.fr> |
|
1539 |
|
1540 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that |
|
1541 matrix must be square in diagonal, permuted diagonal, triangular |
|
1542 and permuted triangular back/forward substitution code. Change |
|
1543 ambiguous use of no. rows and columns. |
|
1544 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. |
|
1545 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), |
|
1546 SparseType::SparseType(const SparseComplexMatrix&)): Recognize |
|
1547 rectangular diagonal, permuted diagonal, triangular and permuted |
|
1548 triangular matrices. |
|
1549 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): |
|
1550 Treat case where third argument is zero. |
|
1551 |
5621
|
1552 2006-02-15 John W. Eaton <jwe@octave.org> |
|
1553 |
5622
|
1554 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
|
1555 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. |
|
1556 |
5621
|
1557 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
|
1558 |
5619
|
1559 2006-02-13 David Bateman <dbateman@free.fr> |
|
1560 |
|
1561 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, |
|
1562 ccolamd and cxsparse |
|
1563 |
5617
|
1564 2006-02-13 John W. Eaton <jwe@octave.org> |
|
1565 |
5618
|
1566 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
|
1567 while loop condition. |
|
1568 (kpse_path_iterator::operator =): Declare as private function but |
|
1569 don't define to prevent attempts to use assignment operator. |
|
1570 Don't define ST_NLINK_TRICK for Cygwin systems. |
5617
|
1571 |
5615
|
1572 2006-02-10 John W. Eaton <jwe@octave.org> |
|
1573 |
|
1574 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative |
|
1575 product of all dimensions in CP_SZ. |
|
1576 |
5611
|
1577 2006-02-09 John W. Eaton <jwe@octave.org> |
|
1578 |
|
1579 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative |
5615
|
1580 product of all dimensions in CP_SZ. |
5611
|
1581 |
5610
|
1582 2006-02-09 David Bateman <dbateman@free.fr> |
|
1583 |
|
1584 * SparseQR.cc: new file for real sparse QR class. |
|
1585 * SparseQR.h: declaration. |
|
1586 * SparseCmplxQR.cc: new file for complex sparse QR class. |
|
1587 * SparseCmplxQR.h: declaration. |
|
1588 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1589 (factorize, fsolve): Enable code code lssolve. |
|
1590 (lssolve): disable unused args, write based in above sparse QR class. |
|
1591 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. |
|
1592 (factorize, fsolve): Enable code code lssolve. |
|
1593 (lssolve): disable unused args, write based in above sparse QR class. |
|
1594 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. |
|
1595 Include CXSparse headers. |
|
1596 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. |
|
1597 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. |
|
1598 |
5607
|
1599 2006-02-08 John W. Eaton <jwe@octave.org> |
|
1600 |
|
1601 * Array-util.h (calc_permutated_idx): Delete. |
|
1602 * Array.cc (permute_vector): New data structure. |
|
1603 (permute_vector_compare): New function. |
|
1604 (Array<T>::permute): Rewrite to avoid calc_permutated_index for |
|
1605 improved performance. |
|
1606 |
5606
|
1607 2006-02-04 David Bateman <dbateman@free.fr> |
|
1608 |
|
1609 * COLAMD: Remove all files, as now unused. |
|
1610 |
5604
|
1611 2006-01-31 John W. Eaton <jwe@octave.org> |
|
1612 |
|
1613 * Sparse.h (Sparse<T>::nzmax): New function. |
|
1614 (Sparse<T>::nnz): Rename from nonzero. |
|
1615 Change all uses of old nnz function to be nzmax. Change all uses |
|
1616 of nonzero to be nnz. |
|
1617 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. |
|
1618 |
5603
|
1619 2006-01-21 David Bateman <dbateman@free.fr> |
|
1620 |
|
1621 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. |
|
1622 (bool octave_idx_vector_comp): New function. |
|
1623 (template class octave_sort<octave_idx_vector_sort *>): Instantiate |
|
1624 indexed idx_vector sorting function. |
|
1625 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. |
|
1626 (class octave_idx_vector_sort): New class for indexed idx_vector |
|
1627 sorting. |
|
1628 (bool octave_idx_vector_comp): Declaration. |
|
1629 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of |
|
1630 unordered LHS indexes in assignment using new octave_idx_vector_sort |
|
1631 class. |
|
1632 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. |
|
1633 |
5602
|
1634 2006-01-30 John W. Eaton <jwe@octave.org> |
|
1635 |
|
1636 * so-array.h (streamoff_array::nnz): New funtion. |
|
1637 * boolNDArray.h (boolNDArray::nnz): New function. |
|
1638 * MArrayN.h (MArrayN<T>::nnz): New function. |
|
1639 * MArray.h (MArray<T>::nnz): New function. |
|
1640 |
5587
|
1641 2006-01-04 David Bateman <dbateman@free.fr> |
|
1642 |
|
1643 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in |
|
1644 elements not being sorted in return matrix. Sort them, and make |
|
1645 solver select between two algorithms to further improve the |
|
1646 performance. |
|
1647 * dSparse.cc: include oct-sort.h. |
|
1648 * CSparse.cc: ditto. |
|
1649 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. |
|
1650 |
5586
|
1651 2005-12-28 David Bateman <dbateman@free.fr> |
|
1652 |
5587
|
1653 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
|
1654 faster in all cases, and significantly so for low density or small |
|
1655 order problems. |
5586
|
1656 |
5552
|
1657 2005-11-30 John W. Eaton <jwe@octave.org> |
|
1658 |
|
1659 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork |
|
1660 before setting any values in either array. |
|
1661 |
5547
|
1662 2005-11-29 John W. Eaton <jwe@octave.org> |
|
1663 |
|
1664 * oct-uname.h, oct-uname.cc: New files. |
|
1665 * Makefile.in: Add them to the appropriate lists. |
|
1666 |
5535
|
1667 2005-11-11 John W. Eaton <jwe@octave.org> |
|
1668 |
|
1669 * Array.cc (Array<T>::indexN): Simplify. |
|
1670 |
5533
|
1671 2005-11-09 John W. Eaton <jwe@octave.org> |
|
1672 |
|
1673 * oct-inttypes.h (octave_int::operator char (void) const): |
|
1674 New conversion op. |
|
1675 |
5527
|
1676 2005-11-01 John W. Eaton <jwe@octave.org> |
|
1677 |
|
1678 * Makefile.in (distclean): Also remove oct-types.h. |
|
1679 From Quentin Spencer <qspencer@ieee.org>. |
|
1680 |
5526
|
1681 2005-10-31 David Bateman <dbateman@free.fr> |
|
1682 |
|
1683 * dSparse.cc, CSparse.cc: Use C++ true/false instead of |
|
1684 preprocessor defined TRUE/FALSE. |
|
1685 |
5523
|
1686 2005-10-30 John W. Eaton <jwe@octave.org> |
|
1687 |
|
1688 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. |
|
1689 (MX_ND_CUMULATIVE_OP): Likewise. |
|
1690 |
5519
|
1691 2005-10-29 John W. Eaton <jwe@octave.org> |
|
1692 |
5520
|
1693 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
|
1694 things up. Simplify. |
|
1695 |
5519
|
1696 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
|
1697 case for "vector_equivalent". |
|
1698 |
|
1699 * Array-util.cc (vector_equivalent): Arg is now dim_vector. |
|
1700 |
5518
|
1701 2005-10-28 John W. Eaton <jwe@octave.org> |
|
1702 |
|
1703 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. |
|
1704 From Quentin Spencer <qspencer@ieee.org>. |
|
1705 |
|
1706 * sparse-base-chol.cc: Use C++ true/false instead of |
|
1707 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. |
|
1708 |
5516
|
1709 2005-10-27 John W. Eaton <jwe@octave.org> |
|
1710 |
|
1711 * Array.cc (assignN): Reshape to final size instead of resizing. |
|
1712 |
5512
|
1713 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1714 |
|
1715 * oct-sparse.h: New file. |
|
1716 * oct-sparse.h.in: Delete. |
|
1717 |
5511
|
1718 2005-10-26 David Bateman <dbateman@free.fr> |
|
1719 |
|
1720 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD |
|
1721 * sparse-base-chol.cc: ditto. |
|
1722 |
5508
|
1723 2005-10-26 John W. Eaton <jwe@octave.org> |
|
1724 |
|
1725 Changes for GCC 4.1, tip from Arno J. Klaassen |
|
1726 <arno@heho.snv.jussieu.fr>: |
|
1727 |
5509
|
1728 * dSparse.h (real (const SparseComplexMatrix&)): |
|
1729 Publish externally used friend function. |
|
1730 (imag (const SparseComplexMatrix&)): Likewise. |
|
1731 |
5508
|
1732 * dColVector.h (real (const ComplexColumnVector&)): |
|
1733 Publish externally used friend function. |
|
1734 (imag (const ComplexColumnVector&)): Likewise. |
|
1735 |
|
1736 * dNDArray.h (real (const ComplexNDArray&)): |
|
1737 Publish externally used friend function. |
|
1738 (imag (const ComplexNDArray&)): Likewise. |
|
1739 |
|
1740 * dMatrix.h (operator * (const ComplexMatrix&)): |
|
1741 Move decl outside class. No need to be friend. |
|
1742 (real (const ComplexMatrix&)): Publish externally used friend function. |
|
1743 (imag (const ComplexMatrix&)): Likewise. |
|
1744 |
|
1745 * CMatrix.h: (operator * (const ColumnVector&, const |
|
1746 ComplexRowVector&)): Move decl outside class. No need to be friend. |
|
1747 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. |
|
1748 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): |
|
1749 Likewise. |
|
1750 |
5506
|
1751 2005-10-23 David Bateman <dbateman@free.fr> |
|
1752 |
|
1753 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero |
|
1754 elements need to be removed. |
|
1755 |
|
1756 * oct-sparse.h.in: Include metis headers and some macros for long/int |
|
1757 versions of cholmod. |
|
1758 |
|
1759 * CSparse.cc (tinverse): New private function for the inversion of |
|
1760 an upper triangular matrix. |
|
1761 (dinverse): ditto for diagonal matrices. |
|
1762 (inverse): Add SparseType as an argument. Implement matrix inverse |
|
1763 using tinverse and dinverse. |
|
1764 (fsolve): Use cholmod to implement Cholesky solver. |
|
1765 * CSparse.h (tinverse, dinverse): Declarations |
|
1766 (inverse): Alter declaration to include SparseType. |
|
1767 |
|
1768 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. |
|
1769 * dSparse.h (tinverse, dinverse, inverse): ditto. |
|
1770 |
|
1771 * SparseType.cc: Fix complex constructor for hermitian matrices. |
|
1772 |
|
1773 * sparse-util.cc: New file for sparse utility functions. |
|
1774 * sparse-util.h: New file with declarations of sparse utility |
|
1775 functions. |
|
1776 |
|
1777 * sparse-base-chol.cc: New file with sparse cholesky class based |
|
1778 on cholmod. |
|
1779 * sparse-base-chol.h: New file with declaration of sparse cholesky |
|
1780 class based on cholmod. |
|
1781 |
|
1782 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. |
|
1783 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. |
|
1784 |
|
1785 * SparsedbleCHOL.cc: ditto. |
|
1786 * SparsedbleCHOL.h: ditto. |
|
1787 |
|
1788 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. |
|
1789 (INCLUDES): Include sparse-util.h |
|
1790 (TEMPLATE_SRC): Include sparse-base-chol.cc |
|
1791 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc |
|
1792 |
5489
|
1793 2005-10-12 John W. Eaton <jwe@octave.org> |
|
1794 |
|
1795 * oct-env.cc (octave_env::have_x11_display): New function. |
|
1796 * oct-env.h: Provide decl. |
|
1797 |
5476
|
1798 2005-09-29 John W. Eaton <jwe@octave.org> |
|
1799 |
|
1800 * file-stat.h (file_stat::mode): New function. |
|
1801 |
|
1802 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, |
|
1803 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
1804 file_stat::is_reg, file_stat::is_sock): New static functions. |
|
1805 * file-stat.h: Provide decls. |
|
1806 |
|
1807 2005-09-28 John W. Eaton <jwe@octave.org> |
|
1808 |
|
1809 * file-ops.cc (file_ops::recursive_rmdir): New function. |
|
1810 * file-ops.h: Provide decl. |
|
1811 |
5454
|
1812 2005-09-19 David Bateman <dbateman@free.fr> |
|
1813 |
|
1814 * oct-env.cc (octave_env::do_get_home_directory): |
|
1815 Also check HOMEDRIVE under mingw. |
|
1816 |
5455
|
1817 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
|
1818 |
5453
|
1819 2005-09-16 John W. Eaton <jwe@octave.org> |
|
1820 |
|
1821 * oct-syscalls.cc: Include lo-utils.h here. |
|
1822 (octave_syscalls::waitpid): Call octave_waitpid here. |
|
1823 |
|
1824 * lo-cutils.c (octave_waitpid): New function. |
|
1825 * lo-utils.h: Provide decl. Include syswait.h here, not in |
|
1826 oct-syscalls.cc |
|
1827 |
|
1828 |
|
1829 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining |
|
1830 waitpid in src/sysdep.h. Make this header C-compatible. |
|
1831 |
|
1832 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. |
|
1833 Change all uses. |
|
1834 |
5451
|
1835 2005-09-15 John W. Eaton <jwe@octave.org> |
|
1836 |
|
1837 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. |
|
1838 |
|
1839 * oct-sparse.h.in: New file. |
|
1840 * Makefile.in (DISTFILES): Include it in the list. |
|
1841 (INCLUDES): Add oct-sparse.h to the list. |
|
1842 |
|
1843 2005-09-15 David Bateman <dbateman@free.fr> |
|
1844 |
|
1845 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc |
|
1846 headers. Remove include of umfpack.h. |
|
1847 * CSparse.cc : ditto. |
|
1848 * SparsedbleLU.cc : ditto. |
|
1849 * SparseCmplxLU.cc : ditto. |
|
1850 |
|
1851 * COLAMD : Remove colamd files from octave. |
|
1852 * COLAMD.files : delete. |
|
1853 * COLAMD.README : delete. |
|
1854 * Makefile.in: Remove COLAMD. Add LIBGLOB. |
|
1855 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks |
|
1856 under mingw. |
|
1857 |
|
1858 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR |
|
1859 in definition. |
|
1860 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with |
|
1861 change of cast not allowed under g++ 3.x. |
|
1862 * lo-utils.h (octave_w32_library_search): Declaration. |
|
1863 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. |
|
1864 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. |
|
1865 |
5442
|
1866 2005-09-07 John W. Eaton <jwe@octave.org> |
|
1867 |
|
1868 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update |
|
1869 based on current code in Bash. Handle a few more escape |
|
1870 sequences. Do a better job of decoding \W. |
|
1871 |
5438
|
1872 2005-09-04 David Bateman <dbateman@free.fr> |
|
1873 |
|
1874 * COLAMD: Update version of colamd to v2.4. |
|
1875 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of |
|
1876 colamd.c for long version. |
|
1877 |
5429
|
1878 2005-08-25 David Bateman <dbateman@free.fr> |
|
1879 |
|
1880 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for |
|
1881 mixed sparse/full multiply. |
|
1882 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for |
|
1883 mixed sparse/full multiply. |
|
1884 * dSparse.h (operator *), CSparse.h (operator *): Declaration of |
|
1885 mixed sparse/full multiply operators. |
|
1886 |
5420
|
1887 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
|
1888 |
|
1889 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to |
|
1890 avoid warnings for unsigned types. |
|
1891 |
5404
|
1892 2005-07-07 John W. Eaton <jwe@octave.org> |
|
1893 |
|
1894 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. |
|
1895 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. |
|
1896 |
5392
|
1897 2005-06-15 John W. Eaton <jwe@octave.org> |
|
1898 |
5394
|
1899 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
|
1900 Flush stdout here. |
|
1901 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. |
|
1902 |
5392
|
1903 * Array.h (Array::resize): Change int args to octave_idx_type. |
|
1904 |
5386
|
1905 2005-06-14 John W. Eaton <jwe@octave.org> |
|
1906 |
5389
|
1907 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
|
1908 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of |
|
1909 octave_is_NaN_or_NA to xisnan. |
|
1910 |
|
1911 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. |
|
1912 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. |
|
1913 |
|
1914 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for |
|
1915 lo_ieee_isnan. |
|
1916 |
5387
|
1917 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
|
1918 value is greater than FLT_MAX. |
|
1919 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
1920 * dNDArray.cc (NDArray::too_large_for_float): Ditto. |
|
1921 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
|
1922 |
|
1923 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf |
|
1924 values too. |
|
1925 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
|
1926 |
|
1927 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, |
|
1928 NA, Inf values. |
|
1929 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. |
5386
|
1930 |
5385
|
1931 2005-06-14 David Bateman <dbateman@free.fr> |
|
1932 |
5387
|
1933 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
|
1934 NA values. |
|
1935 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. |
5385
|
1936 |
5379
|
1937 2005-06-02 John W. Eaton <jwe@octave.org> |
|
1938 |
|
1939 * Array.cc (assignN): Try harder to correctly resize previously |
|
1940 empty LHS. |
|
1941 |
5351
|
1942 2005-05-16 David Bateman <dbateman@free.fr> |
|
1943 |
|
1944 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. |
|
1945 * CSparse.h: ditto. |
|
1946 |
5346
|
1947 2005-05-10 David Bateman <dbateman@free.fr> |
|
1948 |
|
1949 * dSparse.cc (determinant): Free numeric factorization after |
|
1950 sucessful calculation. |
|
1951 * CSparse.cc (determinant): ditto. |
|
1952 |
5340
|
1953 2005-05-06 John W. Eaton <jwe@octave.org> |
|
1954 |
|
1955 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing |
|
1956 chol_mat. |
|
1957 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. |
|
1958 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): |
|
1959 Provide decls. |
|
1960 |
|
1961 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for |
|
1962 indexing chol_mat. |
|
1963 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. |
|
1964 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): |
|
1965 Provide decls. |
|
1966 |
5338
|
1967 2005-05-05 John W. Eaton <jwe@octave.org> |
|
1968 |
|
1969 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on |
|
1970 retval before return. |
|
1971 |
5336
|
1972 2005-05-04 John W. Eaton <jwe@octave.org> |
|
1973 |
|
1974 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* |
|
1975 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. |
|
1976 |
5330
|
1977 2005-05-02 John W. Eaton <jwe@octave.org> |
|
1978 |
|
1979 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). |
|
1980 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. |
|
1981 |
5322
|
1982 2005-04-29 David Bateman <dbateman@free.fr> |
|
1983 |
5330
|
1984 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
|
1985 double. Correct indexing for upper diagonal elements for sparse |
|
1986 tridiagonal. |
5322
|
1987 * CSparse.cc (trisolve): ditto. |
|
1988 |
5330
|
1989 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
|
1990 UMFPACK for 64-bit. |
5322
|
1991 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
|
1992 UMFPACK_ZNAME(*). |
|
1993 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto |
|
1994 |
5330
|
1995 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
|
1996 UMFPACK for 64-bit. |
5322
|
1997 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
|
1998 UMFPACK_DNAME(*). |
|
1999 * SparsedbleLU.cc (UMFPACK_DNAME): ditto |
|
2000 |
5330
|
2001 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
|
2002 triangular back/forward substitution code. |
5322
|
2003 * CSparse.cc (ltsolve, utsolve): ditto. |
|
2004 |
5330
|
2005 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
|
2006 from spparms("spumoni",1). |
5322
|
2007 * CSparse.cc (solve): ditto |
|
2008 |
5330
|
2009 * SparseType.cc (SparseType(void)): Print info for |
|
2010 spparms("spumoni",1). |
5322
|
2011 (SparseType(const matrix_type), SparseType(const matrix_type, const |
|
2012 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, |
|
2013 const octave_idx_type, const octave_idx_type)): New constructors. |
|
2014 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): |
5330
|
2015 Detect row permuted lower triangular and column permuted upper |
|
2016 triangular matrices. Remove one of the permutation vectors.. |
5322
|
2017 |
|
2018 * SparseType.h: Simplify the permutation code. |
|
2019 (SparseType(const matrix_type), SparseType |
|
2020 (const matrix_type, const octave_idx_type, const octave_idx_type*), |
|
2021 SparseType(const matrix_type, const octave_idx_type, |
|
2022 const octave_idx_type)): Declarations. |
|
2023 |
5304
|
2024 2005-04-25 John W. Eaton <jwe@octave.org> |
|
2025 |
|
2026 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free |
|
2027 array and its contents. |
|
2028 |
5303
|
2029 2005-04-22 John W. Eaton <jwe@octave.org> |
|
2030 |
|
2031 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away |
|
2032 const here now that rl_terminal_name is declared const char*. |
|
2033 |
5294
|
2034 2005-04-21 John W. Eaton <jwe@octave.org> |
|
2035 |
|
2036 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. |
|
2037 |
5285
|
2038 2005-04-19 John W. Eaton <jwe@octave.org> |
|
2039 |
|
2040 * Array.cc (assignN): Don't crash if the index list is empty. |
|
2041 |
5282
|
2042 2005-04-14 David Bateman <dbateman@free.fr> |
|
2043 |
|
2044 * SparseCmplxLU.cc: Add flags for incomplete factorization. |
|
2045 * SparsedbleLU.cc: Ditto. |
|
2046 * SparseCmplxLU.h: Definition. |
|
2047 * SparsedbleLU.h: ditto. |
|
2048 |
|
2049 * SparseType.cc (transpose): New function. |
|
2050 * SparseType.h (transpose): Definition. |
|
2051 |
5278
|
2052 2005-04-11 John W. Eaton <jwe@octave.org> |
|
2053 |
|
2054 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to |
|
2055 fortran code that could end up calling XSTOPX. |
|
2056 |
5277
|
2057 2005-04-10 David Bateman <dbateman@free.fr> |
|
2058 |
|
2059 * Makefile.in: include oct-types in INCLUDES so that it is |
|
2060 installed |
|
2061 |
5275
|
2062 2005-04-08 John W. Eaton <jwe@octave.org> |
|
2063 |
5276
|
2064 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
|
2065 |
5275
|
2066 * Initial merge of 64-bit changes from Clinton Chee: |
|
2067 |
|
2068 2005-04-07 John W. Eaton <jwe@octave.org> |
|
2069 |
|
2070 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. |
|
2071 |
|
2072 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, |
|
2073 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, |
|
2074 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, |
|
2075 dSparse.cc, dSparse.h, sparse-base-lu.cc: |
|
2076 Use octave_idx_type instead of int where needed. |
|
2077 |
|
2078 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2079 |
|
2080 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, |
|
2081 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
2082 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
2083 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, |
|
2084 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, |
|
2085 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2086 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, |
|
2087 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, |
|
2088 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, |
|
2089 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, |
|
2090 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, |
|
2091 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, |
|
2092 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, |
|
2093 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, |
|
2094 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, |
|
2095 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, |
|
2096 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, |
|
2097 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, |
|
2098 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, |
|
2099 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, |
|
2100 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
2101 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, |
|
2102 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, |
|
2103 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, |
|
2104 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, |
|
2105 str-vec.cc, str-vec.h: |
|
2106 Use octave_idx_type instead of int where needed. |
|
2107 |
|
2108 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2109 |
|
2110 * dim-vector.h, lo-utils.h: Include oct-types.h. |
|
2111 |
|
2112 * oct-types.h.in: New file. |
|
2113 |
|
2114 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> |
|
2115 |
|
2116 * lo-utils.cc (NINTbig): New function. |
|
2117 * lo-utils.h: Provide decl. |
|
2118 |
5269
|
2119 2005-04-06 David Bateman <dbateman@free.fr> |
|
2120 |
|
2121 * Makefile.in: Link to UMFPACK_LIBS. |
|
2122 |
5265
|
2123 2005-04-05 John W. Eaton <jwe@octave.org> |
|
2124 |
|
2125 * Array.cc (assignN): Avoid shadowed declaration in previous change. |
|
2126 |
5264
|
2127 2005-04-01 John W. Eaton <jwe@octave.org> |
|
2128 |
|
2129 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously |
|
2130 undefined, correctly match colons in IDX-LIST with RHS dimensions |
|
2131 when resizing A. When performing the assignment, just check that |
|
2132 the number of elements in RHS matches the number of elements |
|
2133 indexed by IDX-LIST. |
|
2134 |
5260
|
2135 2005-03-30 John W. Eaton <jwe@octave.org> |
|
2136 |
5261
|
2137 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
|
2138 * lo-mappers.h (log10, tan, tanh): Delete decls. |
|
2139 |
|
2140 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
|
2141 dSparse.cc: Use std:: for Complex functions instead of relying on |
|
2142 wrappers from oct-cmplx.h. |
5260
|
2143 |
|
2144 * oct-cmplx.h: Provide typedef only. |
|
2145 |
|
2146 * DiagArray2.cc (xelem): Don't use initializer for static data. |
|
2147 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): |
|
2148 Likewise. |
|
2149 |
5247
|
2150 2005-03-26 John W. Eaton <jwe@octave.org> |
|
2151 |
|
2152 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline |
|
2153 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. |
|
2154 |
5209
|
2155 2005-03-15 John W. Eaton <jwe@octave.org> |
|
2156 |
|
2157 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. |
|
2158 |
5203
|
2159 2005-03-14 John W. Eaton <jwe@octave.org> |
|
2160 |
|
2161 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). |
|
2162 (DISTDIRS): Don't include UMFPACK. |
|
2163 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). |
|
2164 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include |
|
2165 flags for these files. |
|
2166 Don't include include $(srcdir)/UMFPACK.files. |
|
2167 Don't include include $(srcdir)/UMFPACK.rules. |
|
2168 |
|
2169 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: |
|
2170 Delete files. |
|
2171 * UMFPACK: Delete directory tree. |
|
2172 |
|
2173 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". |
|
2174 * CSparse.cc: Likewise. |
|
2175 * SparsedbleLU.cc: Likewise. |
|
2176 * SparseCmplxLU.cc: Likewise. |
|
2177 |
|
2178 2005-03-14 David Bateman <dbateman@free.org> |
|
2179 |
|
2180 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: |
|
2181 Allow compilation to succeed if UMFPACK is not available. |
|
2182 |
5196
|
2183 2005-03-09 John W. Eaton <jwe@octave.org> |
|
2184 |
|
2185 * Makefile.in (bin-dist): Delete target. |
|
2186 (BINDISTLIBS, BINDISTFILES): Delete variables. |
|
2187 |
5173
|
2188 2005-03-01 John W. Eaton <jwe@octave.org> |
|
2189 |
|
2190 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. |
|
2191 * Makefile.in: Remove them from the lists. |
|
2192 |
5169
|
2193 2005-02-28 John W. Eaton <jwe@octave.org> |
|
2194 |
|
2195 * Makefile.in (LINK_DEPS): Remove -lglob from the list. |
|
2196 |
5167
|
2197 2005-02-27 David Bateman <dbateman@free.org> |
|
2198 |
5169
|
2199 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
|
2200 in the sparse matrix. |
5167
|
2201 |
5164
|
2202 2005-02-25 John W. Eaton <jwe@octave.org> |
|
2203 |
|
2204 Sparse merge. |
|
2205 |
|
2206 2005-02-13 David Bateman <dbateman@free.fr> |
|
2207 |
|
2208 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, |
|
2209 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, |
|
2210 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse |
|
2211 solver into separate functions for the diagonal, upper, lower |
|
2212 triangular, tridiagonal, banded and full cases. |
|
2213 (SparseComplexMatrix::solve): rewrite to call the above function. One |
|
2214 version that probes the matrix type and another that assumes the type |
|
2215 is passed. |
|
2216 |
|
2217 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, |
|
2218 SparseMatrix::ltsolve, SparseMatrix::trisolve, |
|
2219 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise |
|
2220 (SparseMatrix::solve): Likewise |
|
2221 |
|
2222 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2223 Declaration of new functions |
|
2224 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): |
|
2225 Likewise |
|
2226 |
|
2227 * CSparse.cc (operator !): Reverse the sense of the test. |
|
2228 * dSpase.cc (operator !): Likewise |
|
2229 |
|
2230 * dSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2231 triangular_col_perm, sparse_info): Remove matrix type code |
|
2232 * CSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2233 triangular_col_perm, sparse_info): Likewise |
|
2234 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2235 triangular_col_perm, sparse_info): Likewise |
|
2236 * MSparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2237 triangular_col_perm, sparse_info): Likewise |
|
2238 * Sparse.h (type, band_size, is_dense, triangular_row_perm, |
|
2239 triangular_col_perm, sparse_info, matrix_type): Likewise |
|
2240 |
|
2241 * Sparse.cc (type, sparse_info, band_size): Remove type code |
|
2242 |
|
2243 * SparseType.h: New class for the matrix type used in solvers |
|
2244 * SparseType.cc: methods of sparse matrix type class |
|
2245 |
|
2246 * Makefile.in: Add SparseType.cc |
|
2247 |
|
2248 2005-02-01 David Bateman <dbateman@free.fr> |
|
2249 |
|
2250 * UMFPACK: Update to version 4.4 |
|
2251 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only |
|
2252 keep octave specific test files |
|
2253 |
|
2254 2005-01-23 David Bateman <dbateman@free.fr> |
|
2255 |
|
2256 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky |
|
2257 tridiagonal and banded cholesky solvers. Remove calculation of |
|
2258 condition number for banded solvers. |
|
2259 * CSparse.cc (SparseComplexMatrix::solve): ditto. |
|
2260 |
|
2261 * Sparse.h (int type (int) const, bool is_dense (void) const): |
|
2262 new functions. |
|
2263 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2264 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2265 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto |
|
2266 * boolSparse.h (int type (int) const, bool is_dense (void) const): |
|
2267 ditto |
|
2268 |
|
2269 * Sparse.cc (int Sparse<T>::type (int) const, |
|
2270 bool Sparse<T>::is_dense (void) const): New functions definition |
|
2271 |
|
2272 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, |
|
2273 so it actually is cached, but disable |
|
2274 |
|
2275 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni |
|
2276 for compatiability |
|
2277 |
|
2278 2005-01-18 David Bateman <dbateman@free.fr> |
|
2279 |
|
2280 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2281 Modify calculation of number elements to skip between copied blocks. |
|
2282 |
|
2283 2005-01-07 David Bateman <dbateman@free.fr> |
|
2284 |
|
2285 * Sparse.h : Reverse definitions of numel and nelem. |
|
2286 * Sparse.cc (assign1): Use numel and not nelem |
|
2287 * Sparse-op-def.h: Replace all uses of nelem with numel |
|
2288 |
|
2289 2005-01-07 David Bateman <dbateman@free.fr> |
|
2290 |
|
2291 * dbleDET.h: Make SparseMatrix a friend of the class DET |
|
2292 * CmplexDET.h: Make SparseComplexMatrix a friend of the class |
|
2293 ComplexDET |
|
2294 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET |
|
2295 by DET |
|
2296 * dSparse.h (determinant): ditto |
|
2297 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of |
|
2298 SparseComplexDET by ComplexDET |
|
2299 * CSparse.h (determinant): ditto |
|
2300 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, |
|
2301 SparseCmplxDET.cc: delete files |
|
2302 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, |
|
2303 SparseCmplxDET.h andSparseCmplxDET.cc. |
|
2304 |
|
2305 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in |
|
2306 local variable to avoid variable shadowing. |
|
2307 * dSparse.cc (SparseMatrix::solve): ditto. |
|
2308 |
|
2309 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc |
|
2310 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h |
|
2311 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc |
|
2312 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc |
|
2313 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc |
|
2314 sparse-sort.h: Remove additional licensing clause with authors |
|
2315 permission. |
|
2316 |
|
2317 2004-12-30 John W. Eaton <jwe@octave.org> |
|
2318 |
|
2319 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): |
|
2320 Loop counter is int, not size_t. |
|
2321 |
|
2322 * oct-spparms.cc (SparseParams::operator =): Return *this. |
|
2323 |
|
2324 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. |
|
2325 |
|
2326 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): |
|
2327 Delete unused variables. |
|
2328 (SparseMatrix::solve): Avoid warnings about uninitialized |
|
2329 variables and variables that might be clobbered by longjmp. |
|
2330 |
|
2331 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), |
|
2332 min, max): Delete unused variables. |
|
2333 (SparseComplexMatrix::solve): Avoid warnings about uninitialized |
|
2334 variables and variables that might be clobbered by longjmp. |
|
2335 |
|
2336 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. |
|
2337 |
|
2338 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): |
|
2339 Loop counter is int, not size_t. |
|
2340 |
|
2341 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. |
|
2342 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. |
|
2343 |
|
2344 * Sparse.h (Sparse::SparseRep): Order data members and initializer |
|
2345 lists consistently. |
|
2346 |
|
2347 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. |
|
2348 |
|
2349 2004-12-29 John W. Eaton <jwe@octave.org> |
|
2350 |
|
2351 * COLAMD.files (COLAMD_EXTRAS): New variable. |
|
2352 * UMFPACK.files (UMFPACK_EXTRAS): New variable. |
|
2353 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and |
|
2354 $(UMFPACK_EXTRAS) to the list. |
|
2355 (DISTDIRS): New variable. |
|
2356 (dist): Handle $(DISTDIRS). |
|
2357 |
|
2358 Merge of sparse code from David Bateman <dbateman@free.fr> and |
|
2359 Andy Adler <adler@site.uottawa.ca>. |
|
2360 |
|
2361 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. |
|
2362 |
|
2363 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) |
|
2364 without directory prefix. |
|
2365 |
|
2366 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and |
|
2367 $(UMFPACK_OBJ) to the list. |
|
2368 |
|
2369 * COLAMD: New directory. |
|
2370 * COLAMD.files: New file. |
|
2371 * Makefile.in: Include COLAMD.files. |
|
2372 (SOURCES): Add $(COLAMD_SOURCES) to the list. |
|
2373 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. |
|
2374 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. |
|
2375 |
|
2376 * UMFPACK: New directory. |
|
2377 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: |
|
2378 New files. |
|
2379 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. |
|
2380 (SOURCES): Add $(UMFPACK_SOURCES) to the list. |
|
2381 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. |
|
2382 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. |
|
2383 |
|
2384 * Makefile.in (SPARSE_MX_OP_INC): New variable. |
|
2385 (INCLUDES): Add it to the list. |
|
2386 (SPARSE_MX_OP_SRC): New variable. |
|
2387 (LIBOCTAVE_CXX_SOURCES): Add it to the list. |
|
2388 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2389 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). |
|
2390 |
|
2391 * sparse-mk-ops.awk, sparse-mx-ops: New files. |
|
2392 * Makefile.in (DISTFILES): Add them to the lists. |
|
2393 |
|
2394 * oct-spparms.h, sparse-sort.h: New files. |
|
2395 * Makefile.in (INCLUDES): Add them to the list. |
|
2396 |
|
2397 * oct-spparms.cc, sparse-sort.cc: New files. |
|
2398 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. |
|
2399 |
|
2400 * sparse-base-lu.cc: New file. |
|
2401 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
2402 |
|
2403 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, |
|
2404 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, |
|
2405 SparsedbleLU.cc: New files. |
|
2406 * Makefile.in (MATRIX_SRC): Add them to the list. |
|
2407 |
|
2408 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, |
|
2409 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, |
|
2410 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, |
|
2411 Sparse-op-defs.h: New files. |
|
2412 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. |
|
2413 |
|
2414 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, |
|
2415 Sparse-C.cc: New files. |
|
2416 * Makefile.in (TI_SRC): Add them to the list. |
|
2417 |
5149
|
2418 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2419 |
|
2420 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: |
|
2421 Pass current directory to octave_env::make_absolute. |
|
2422 Save value returned from octave_env::make_absolute in local var. |
|
2423 Pass const char*, not std::string as first arg of resolvepath. |
|
2424 Provide decl for resolved_len. |
|
2425 |
5148
|
2426 2005-02-18 John W. Eaton <jwe@octave.org> |
|
2427 |
|
2428 * Array.cc (Array<T>::permute): Allow permutation vector longer |
|
2429 than number of dimenensions of permuted matrix. |
|
2430 |
|
2431 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. |
|
2432 * Array-util.cc (calc_permutated_idx): Likewise. |
|
2433 |
5139
|
2434 2005-02-10 David Bateman <dbateman@free.fr> |
|
2435 |
|
2436 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. |
|
2437 * CMatrix.cc (ComplexMatrix::operator !): Likewise. |
|
2438 |
5137
|
2439 2005-02-09 John W. Eaton <jwe@octave.org> |
|
2440 |
5138
|
2441 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
|
2442 * file-ops.h: Provide decls. |
|
2443 |
5137
|
2444 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
|
2445 |
5136
|
2446 2005-02-08 John W. Eaton <jwe@octave.org> |
|
2447 |
|
2448 * Array-util.cc (freeze): Improve error message. |
|
2449 |
5120
|
2450 2005-01-26 David Bateman <dbateman@free.fr> |
|
2451 |
5121
|
2452 * Array.cc (Array<T>::insert): Handle generic case, not just |
|
2453 special case for fast concatenation. |
5120
|
2454 |
5110
|
2455 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2456 |
|
2457 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. |
|
2458 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. |
|
2459 |
|
2460 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. |
|
2461 * CNDArray.cc (ComplexNDArray::any): Likewise. |
|
2462 |
5108
|
2463 2005-01-18 David Bateman <dbateman@free.fr> |
|
2464 |
|
2465 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): |
|
2466 Modify calculation of number elements to skip between copied blocks. |
|
2467 |
|
2468 2005-01-18 John W. Eaton <jwe@octave.org> |
|
2469 |
|
2470 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not |
|
2471 error handler, to warn about resizing. |
|
2472 |
5105
|
2473 2004-12-27 Martin Dalecki <martin@dalecki.de> |
|
2474 |
|
2475 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, |
|
2476 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, |
|
2477 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, |
|
2478 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, |
|
2479 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, |
|
2480 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, |
|
2481 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
|
2482 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, |
|
2483 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, |
|
2484 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, |
|
2485 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, |
|
2486 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, |
|
2487 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, |
|
2488 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, |
|
2489 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: |
|
2490 Delete #pragma implementation. |
|
2491 |
|
2492 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, |
|
2493 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, |
|
2494 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, |
|
2495 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
|
2496 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, |
|
2497 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, |
|
2498 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, |
|
2499 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, |
|
2500 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, |
|
2501 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2502 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, |
|
2503 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, |
|
2504 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, |
|
2505 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: |
|
2506 Delete #pragma interface. |
|
2507 |
5098
|
2508 2004-12-17 John W. Eaton <jwe@octave.org> |
|
2509 |
|
2510 * lo-cieee.c (lo_ieee_signbit): New function. |
|
2511 * lo-ieee.h: Provide decl. |
|
2512 Don't define lo_ieee_signbit as a macro here. |
|
2513 From Orion Poplawski <orion@cora.nwra.com>. |
|
2514 |
5085
|
2515 2004-11-18 John W. Eaton <jwe@octave.org> |
|
2516 |
|
2517 * int32NDArray.cc (pow): Delete instantiation. |
|
2518 * int16NDArray.cc (pow): Likewise. |
|
2519 * int8NDArray.cc (pow): Likewise. |
|
2520 * uint32NDArray.cc (pow): Likewise. |
|
2521 * uint16NDArray.cc (pow): Likewise. |
|
2522 * uint8NDArray.cc (pow): Likewise. |
|
2523 |
5081
|
2524 2004-11-17 John W. Eaton <jwe@octave.org> |
|
2525 |
5085
|
2526 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
|
2527 Now static. |
|
2528 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, |
|
2529 DEFAULT_TEXMFDBS): Delete unused macros. |
|
2530 |
5081
|
2531 * Array.cc (Array<T>::index): Call generic N-d indexing function |
|
2532 if idx_arg is N-d. |
|
2533 |
5073
|
2534 2004-11-09 David Bateman <dbateman@free.fr> |
|
2535 |
|
2536 * dNDArray.cc (concat): Delete. |
|
2537 (NDArray::concat): New methods. |
|
2538 * dNDArray.h: Provide decls. |
|
2539 |
|
2540 * CNDArray.cc (concat): Delete. |
|
2541 (ComplexNDArray::concat): New methods. |
|
2542 * CNDArray.h: Provide decls. |
|
2543 |
|
2544 * boolNDArray.cc (concat): Delete. |
|
2545 (boolNDArray::concat): New methods. |
|
2546 * boolNDArray.h: Provide decls. |
|
2547 |
|
2548 * chNDArray.cc (concat): Delete. |
|
2549 (charNDArray::concat): New methods. |
|
2550 * chNDArray.h: Provide decls. |
|
2551 |
|
2552 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): |
|
2553 Delete macros. |
|
2554 |
|
2555 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2556 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2557 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. |
|
2558 |
|
2559 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, |
|
2560 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2561 (OCTAVE_INT_CONCAT_FN): Delete use of macro. |
|
2562 |
|
2563 * intNDArray.cc (intNDArray<T>::concat): New method. |
|
2564 * intNDArray.h: Provide decl. |
|
2565 |
5072
|
2566 2004-11-08 John W. Eaton <jwe@octave.org> |
|
2567 |
|
2568 * oct-inttypes.cc: New file. |
|
2569 * Makefile.in (TI_SRC): Add it to the list. |
|
2570 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, |
|
2571 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, |
|
2572 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, |
|
2573 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, |
|
2574 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): |
|
2575 New macros for comparison operations. Avoid potential |
|
2576 problems with default conversions when comparing signed and |
|
2577 unsigned values. |
|
2578 |
5061
|
2579 2004-11-03 John W. Eaton <jwe@octave.org> |
|
2580 |
|
2581 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. |
|
2582 * CMatrix.cc (ComplexMatrix::inverse): Likewise. |
|
2583 |
5052
|
2584 2004-10-19 John W. Eaton <jwe@octave.org> |
|
2585 |
|
2586 * Array.cc (assignN): Avoid resizing if assignment will fail. |
|
2587 |
5047
|
2588 2004-10-18 John W. Eaton <jwe@octave.org> |
|
2589 |
|
2590 * Array.cc (assign2): Save result of squeeze operation. |
|
2591 Squeeze if ndims is > 2, not if length of RHS vector is > 2. |
|
2592 |
5095
|
2593 2004-10-11 David Bateman <dbateman@free.fr> |
5044
|
2594 |
|
2595 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to |
|
2596 flag whether transform in- or out-of-place. |
|
2597 (octave_fftw_planner::octave_fftw_planner): Initialize it. |
|
2598 (octave_fftw_planner::create_plan): Use it. |
|
2599 |
5039
|
2600 2004-09-24 John W. Eaton <jwe@octave.org> |
|
2601 |
|
2602 * Array.cc (assign2, assignN): If index is empty, allow RHS to be |
|
2603 any empty matrix, not just []. |
|
2604 |
5030
|
2605 2004-09-23 John W. Eaton <jwe@octave.org> |
|
2606 |
|
2607 * mx-ops: Include scalar zero value in type definitions. |
|
2608 Delete zero information from ops section. |
|
2609 * mk-ops.awk: Use type-specific zero info. |
|
2610 |
|
2611 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
|
2612 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both |
|
2613 LHS and RHS. |
|
2614 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, |
|
2615 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. |
|
2616 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, |
|
2617 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. |
|
2618 |
|
2619 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const |
|
2620 intNDArray<U>&)): Use explicit as_double () conversion in call to |
|
2621 tree_to_mat_idx. |
|
2622 |
|
2623 * oct-inttypes.h (octave_int<T>::operator float): New conversion. |
|
2624 (pow): Instead of "if (b_val)", use "if (b_val != zero)". |
|
2625 Likewise for the "if (b_val & one)" test. |
|
2626 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. |
|
2627 |
5029
|
2628 2004-09-23 David Bateman <dbateman@free.fr> |
|
2629 |
|
2630 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): |
|
2631 New macros. Use them to define mixed intX-double and double-intX ops. |
|
2632 |
5021
|
2633 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
|
2634 |
|
2635 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: |
|
2636 Fix doc string layout to avoid overfull hbox in printed output. |
|
2637 |
5015
|
2638 2004-09-21 John W. Eaton <jwe@octave.org> |
|
2639 |
|
2640 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. |
|
2641 * mach-info.cc (octave_mach_info::string_to_float_format): |
|
2642 For "native", set actual native format. |
|
2643 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. |
|
2644 |
5008
|
2645 2004-09-17 David Bateman <dbateman@free.fr> |
|
2646 |
|
2647 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the |
|
2648 calculation of the unitary matrix optional. |
|
2649 * dbleSCHUR.cc (SCHUR::init): Ditto. |
|
2650 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. |
|
2651 |
4998
|
2652 2004-09-15 David Bateman <dbateman@free.fr> |
|
2653 |
|
2654 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): |
|
2655 New function to set the comparison function for the sort. |
|
2656 |
4985
|
2657 2004-09-10 John W. Eaton <jwe@octave.org> |
|
2658 |
|
2659 * lo-mappers.cc (xround): Fix typo. |
|
2660 |
4979
|
2661 2004-09-08 John W. Eaton <jwe@octave.org> |
|
2662 |
|
2663 * Array.h (Array::~Array): Declare virtual. |
|
2664 |
|
2665 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member |
|
2666 initializaion list. Don't set rep->count since the rep |
|
2667 constructor does that. |
|
2668 |
4968
|
2669 2004-09-07 John W. Eaton <jwe@octave.org> |
|
2670 |
4970
|
2671 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
|
2672 (oct_data_conv::data_type_as_string): Likewise. |
|
2673 |
|
2674 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. |
|
2675 |
4968
|
2676 * Range.cc (round): Delete unused function. |
|
2677 |
|
2678 * lo-mappers.cc (xround): Rename from round. Change all uses. |
|
2679 If HAVE_ROUND, call round, otherwise fake with floor and ceil. |
|
2680 |
|
2681 * oct-inttypes.h: Include <cmath> here. |
|
2682 |
4964
|
2683 2004-09-03 David Bateman <dbateman@free.fr> |
|
2684 |
|
2685 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): |
|
2686 New functions for boolean matrix concatenation. |
|
2687 * boolNDArray.h: Provide decls. |
|
2688 |
4963
|
2689 2004-09-03 John W. Eaton <jwe@octave.org> |
|
2690 |
4964
|
2691 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
|
2692 to avoid signed/unsigned int comparison problems. |
|
2693 |
|
2694 * mx-ops: Generate CMP and BOOL ops for mixed integer types and |
|
2695 for mixed integer and double types. |
|
2696 |
|
2697 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS |
|
2698 separately, and only if needed. |
|
2699 |
4963
|
2700 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
|
2701 static_cast for type conversion. |
|
2702 |
4953
|
2703 2004-09-01 John W. Eaton <jwe@octave.org> |
|
2704 |
|
2705 * oct-inttypes.h (pow, operator +, operator -, operator *, |
|
2706 operator /): Handle mixed integer/double ops. If op generates a |
|
2707 NaN, set result to 0. |
|
2708 (octave_int::operator - (void)): Convert to double, then negate, |
|
2709 then fit to range. |
|
2710 |
|
2711 * mx-ops: Define integer types. Include declarations for mixed |
|
2712 integer/double ops. |
|
2713 |
4952
|
2714 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2715 |
|
2716 * oct-inttypes.h (pow): Args now const reference. |
|
2717 (octave_int<T>::operator *=, octave_int<T>::operator /=, |
|
2718 octave_int<T>::operator <<=, octave_int<T>::operator >>=): |
|
2719 New member functions. |
|
2720 (OCTAVE_INT_BITSHIFT_OP): Delete macro. |
|
2721 (operator >> (const octave_int<T1>& x, const T2& y)): |
|
2722 Define in terms of >>=. |
|
2723 (operator << (const octave_int<T1>& x, const T2& y)): |
|
2724 Define in terms of <<=. |
|
2725 (bitshift): Operate on octave_int<T> objects, not the values, so |
|
2726 we get proper saturation properties. |
|
2727 |
|
2728 2004-08-31 David Bateman <dbateman@free.fr> |
|
2729 |
|
2730 * oct-inttypes.h (pow (constT, T)): New template. |
|
2731 |
|
2732 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, |
|
2733 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. |
|
2734 |
4949
|
2735 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2736 |
|
2737 * oct-inttypes.h (octave_int::byte_size): New function. |
|
2738 |
4944
|
2739 2004-08-31 John W. Eaton <jwe@octave.org> |
|
2740 |
4946
|
2741 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
|
2742 |
4944
|
2743 * data-conv.h (oct_data_conv::data_type): Include sized types. |
|
2744 Explicitly number enum elements. |
|
2745 |
|
2746 * data-conv.cc (oct_data_conv::string_to_data_type (const |
|
2747 std::string&, int&, oct_data_conv::data_type&, |
|
2748 oct_data_conv::data_type&)): New function. |
|
2749 (oct_data_conv::string_to_data_type (const std::string&, int&, |
|
2750 oct_data_conv::data_type&)): New function. |
|
2751 (oct_data_conv::data_type_as_string): New function. |
|
2752 |
|
2753 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. |
|
2754 (write_int, do_write, Matrix::write): Delete. |
|
2755 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. |
|
2756 |
|
2757 * byte-swap.h: Use template functions and specialization. |
|
2758 Change all uses. |
|
2759 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2760 |
4943
|
2761 2004-08-30 John W. Eaton <jwe@octave.org> |
|
2762 |
|
2763 * oct-inttypes.h (octave_int_fit_to_range): Use template |
|
2764 specializations to avoid warnings about signed/unsigned comparisons. |
|
2765 |
|
2766 2004-08-28 John W. Eaton <jwe@octave.org> |
|
2767 |
|
2768 * data-conv.cc (do_float_format_conversion (unsigned char *, |
|
2769 size_t, int, oct_mach_info::float_format)): New function. |
|
2770 (GET_SIZED_INT_TYPE): New macro. |
|
2771 (string_to_data_type): Use it to return sized types corresponding |
|
2772 to Octave array data types. |
|
2773 (strip_spaces): New function. |
|
2774 (do_double_format_conversion, do_float_format_conversion): Pass |
|
2775 from_fmt and to_fmt. Don't always assume the to_fmt is the native |
|
2776 float format. |
|
2777 (do_double_format_conversion, |
|
2778 IEEE_big_double_to_IEEE_little_double, |
|
2779 VAX_D_double_to_IEEE_little_double, |
|
2780 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, |
|
2781 IEEE_little_double_to_IEEE_big_double, |
|
2782 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, |
|
2783 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, |
|
2784 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, |
|
2785 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, |
|
2786 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, |
|
2787 Cray_to_VAX_G_double): |
|
2788 Pass data as void*, not double*. |
|
2789 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, |
|
2790 VAX_D_float_to_IEEE_little_float, |
|
2791 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, |
|
2792 IEEE_little_float_to_IEEE_big_float, |
|
2793 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, |
|
2794 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, |
|
2795 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, |
|
2796 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, |
|
2797 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, |
|
2798 Cray_to_VAX_G_float): |
|
2799 Pass data as void*, not float*. |
|
2800 |
|
2801 2004-08-27 John W. Eaton <jwe@octave.org> |
|
2802 |
|
2803 * byte-swap.h (swap_bytes): New template versions, with |
|
2804 specializations. |
|
2805 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. |
|
2806 Change all uses. |
|
2807 |
4940
|
2808 2004-08-24 David Bateman <dbateman@free.fr> |
|
2809 |
|
2810 * chNDArray.cc (concat): Check whether matrix to be inserted is |
|
2811 empty instead of checking final matrix. |
|
2812 * dNDArray.cc (concat): Likewise. |
|
2813 * CNDArray.cc (concat): Likewise. |
|
2814 |
|
2815 2004-08-23 David Bateman <dbateman@free.fr> |
|
2816 |
|
2817 * dim-vector.h (dim_vector::concat): Correct incrementation for |
|
2818 non-existent dimensions. |
|
2819 |
4938
|
2820 2004-08-09 John W. Eaton <jwe@octave.org> |
|
2821 |
|
2822 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx |
|
2823 (const octave_int<U>&)): New member function. |
|
2824 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), |
|
2825 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): |
|
2826 Now member functions instead of static in idx-vector.cc. |
|
2827 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), |
|
2828 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): |
|
2829 New template constructors. |
|
2830 |
4932
|
2831 2004-08-05 John W. Eaton <jwe@octave.org> |
|
2832 |
4933
|
2833 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
|
2834 |
4932
|
2835 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
|
2836 intNDArray<T>::any): Sprinkle with this-> as needed. |
|
2837 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. |
|
2838 |
4929
|
2839 2004-08-03 John W. Eaton <jwe@octave.org> |
|
2840 |
|
2841 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For |
|
2842 arrays with more than two dimensions and only one non-singleton |
|
2843 dimension, return a column vector. |
|
2844 |
4921
|
2845 2004-07-28 John W. Eaton <jwe@octave.org> |
|
2846 |
|
2847 * oct-cmplx.h (pow (const Complex&, const double&): |
|
2848 Convert second arg to complex to avoid libstdc++ bug. |
|
2849 |
4920
|
2850 2004-07-27 John W. Eaton <jwe@octave.org> |
|
2851 |
|
2852 * oct-inttypes.h (bitshift): New arg, MASK. |
|
2853 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. |
|
2854 |
4916
|
2855 2004-07-23 John W. Eaton <jwe@octave.org> |
|
2856 |
|
2857 * Array.cc (Array<T>::reshape): Return *this if no change in size. |
|
2858 |
4915
|
2859 2004-07-23 David Bateman <dbateman@free.fr> |
|
2860 |
|
2861 * Array.cc, Array.h (cat_ra): Delete. |
|
2862 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc |
|
2863 (INSTANTIATE_ARRAY_CAT): Delete. |
|
2864 |
|
2865 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2866 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. |
|
2867 |
|
2868 * Array.cc (Array<T>::insert): Copy data in NDArray version. |
|
2869 |
|
2870 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2871 chNDArray.h (concat): New function used for concatenation that does |
|
2872 an indexed copy of one array into another. |
|
2873 |
|
2874 * dim-vector.h (concat): New function to concatenate dim_vectors. |
|
2875 |
|
2876 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, |
|
2877 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for |
|
2878 insertion of one NDArray into another. |
|
2879 |
|
2880 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New |
|
2881 macros to define the int/uint concatenation functions. |
|
2882 |
|
2883 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc |
|
2884 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc |
|
2885 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . |
|
2886 |
|
2887 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h |
|
2888 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h |
|
2889 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion |
|
2890 functions. |
|
2891 |
4911
|
2892 2004-07-22 David Bateman <dbateman@free.fr> |
|
2893 |
|
2894 * oct-sort.h: Don't include oct-obj.h. |
|
2895 |
|
2896 * lo-specfun.cc (is_integer_value): New function. |
|
2897 (zbesj, zbesi, zbesy): Special case negative integer or half |
|
2898 integer orders that cause overflow for small arguments. |
|
2899 |
4909
|
2900 2004-07-12 John W. Eaton <jwe@octave.org> |
|
2901 |
|
2902 * oct-inttypes.h (octave_int<T>::nbits): New function. |
|
2903 (bitshift (const octave_int<T>&, int)): New function. |
|
2904 |
4902
|
2905 2004-06-14 John W. Eaton <jwe@octave.org> |
|
2906 |
|
2907 * mx-base.h: Include headers for new int types. |
|
2908 |
|
2909 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), |
|
2910 NDArray::NDArray (const charNDArray&)): Delete. |
|
2911 (template <class U> explicit NDArray (const intNDArray<U>&)): New |
|
2912 constructor. |
|
2913 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
2914 |
|
2915 * chMatrix.h (CharMatrix::transpose): New forwarding functions for |
|
2916 return type conversion. |
|
2917 |
|
2918 * ComplexNDArray.h, ComplexNDArray.cc |
|
2919 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), |
|
2920 (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
2921 (ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
2922 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. |
|
2923 |
|
2924 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. |
|
2925 |
|
2926 * MArrayN.h: |
|
2927 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), |
|
2928 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), |
|
2929 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): |
|
2930 New constructors. |
|
2931 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
2932 ArrayN<T>::squeeze): |
|
2933 New forwarding functions for return type conversion. |
|
2934 |
|
2935 * ArrayN.h: |
|
2936 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), |
|
2937 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), |
|
2938 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), |
|
2939 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, |
|
2940 const dim_vector&)): New constructors. |
|
2941 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, |
|
2942 ArrayN<T>::transpose): |
|
2943 New forwarding functions for return type conversion. |
|
2944 |
|
2945 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): |
|
2946 New constructor. |
|
2947 (Array<T>::coerce, Array<T>::byte_size): New functions. |
|
2948 |
|
2949 * Array-i.cc, MArray-i.cc: Instantiate new integer types. |
|
2950 |
|
2951 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, |
|
2952 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, |
|
2953 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, |
|
2954 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, |
|
2955 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. |
|
2956 * Makefile.in: Add them to the appropriate lists. |
|
2957 |
4899
|
2958 2004-06-04 John W. Eaton <jwe@octave.org> |
|
2959 |
|
2960 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use |
|
2961 "RET_ELT_TYPE ()" rather than "false" as fill value for retval |
|
2962 resize op. Change all uses. |
|
2963 |
4898
|
2964 2004-06-03 David Bateman <dbateman@free.fr> |
|
2965 |
|
2966 * Array.cc (assignN): Allow magic colon for dimensions lvalue |
|
2967 greater than the existing number of dimensions in lvalue. |
|
2968 |
4887
|
2969 2004-04-30 David Bateman <dbateman@free.fr> |
|
2970 |
|
2971 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): |
|
2972 New arg, fill_value. |
|
2973 (dim_vector::resize): Allow optional fill_value argument. |
|
2974 |
|
2975 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
2976 Don't chop trailing dimensions of Array<idx_vector> if there is |
|
2977 more than one element in idx_vector. Resize the return value to |
|
2978 the size of Array<idx_vector>. |
|
2979 |
|
2980 * Array-util.cc (short_freeze): Better freeze of last dimension of |
|
2981 idx_vector that is shorter than a dim_vector. |
|
2982 |
4882
|
2983 2004-04-23 John W. Eaton <jwe@octave.org> |
|
2984 |
|
2985 * oct-sort.cc: Don't include oct-obj.h. |
|
2986 |
4876
|
2987 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
2988 |
|
2989 * Array.cc (Array<T>::index2, Array<T>::indexN): |
|
2990 Don't set invalid dimensions on return value. |
|
2991 |
4871
|
2992 2004-04-21 John W. Eaton <jwe@octave.org> |
|
2993 |
|
2994 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. |
|
2995 |
4850
|
2996 2004-04-06 David Bateman <dbateman@free.fr> |
|
2997 |
4870
|
2998 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
|
2999 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): |
|
3000 Make their behavior equivalent except for filling vs. not filling. |
|
3001 |
4850
|
3002 * oct-sort.cc: New template class for arbitrary sorting. |
|
3003 * oct-sort.h: Declaration of sort class. |
|
3004 * Makefile: Add them to the appropriate lists. |
|
3005 |
4845
|
3006 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3007 |
|
3008 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. |
|
3009 |
4844
|
3010 2004-04-02 David Bateman <dbateman@free.fr> |
|
3011 |
|
3012 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, |
|
3013 besselh2, airy, biry, betainc, gammainc, do_bessel): |
4852
|
3014 New N-d array versions. |
4844
|
3015 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
|
3016 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, |
|
3017 besselh2, airy, biry, betainc, gammainc): Provide decls. |
|
3018 |
|
3019 * dNDArray.cc (NDArray::min, NDArray::max, min, max): |
|
3020 New functions. |
|
3021 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. |
|
3022 |
|
3023 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3024 New functions. |
|
3025 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): |
|
3026 Provide decls. |
|
3027 |
4842
|
3028 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
|
3029 |
|
3030 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the |
|
3031 work vector, not just when using a numerical Jacobian. |
|
3032 |
4834
|
3033 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3034 |
4835
|
3035 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
|
3036 Omit empty result args. |
|
3037 |
4834
|
3038 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
|
3039 Move here from Array.h, check that size of array arg is not |
|
3040 smaller than the size defined by the new dimensions. |
|
3041 |
4832
|
3042 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3043 |
|
3044 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing |
|
3045 a scalar or vector with an N-d array. |
|
3046 |
4826
|
3047 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3048 |
4828
|
3049 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
|
3050 matrix, return object that is the same size as the index. |
|
3051 |
4826
|
3052 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
|
3053 Eliminate MT_RESULT args. Return value is always size of args. |
|
3054 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): |
|
3055 Eliminate EMPTY_RESULT arg. |
|
3056 Return value is always size of matrix or N-d array arg. |
|
3057 (TBM, FBM, NBM): Delete unused macros. |
|
3058 |
4821
|
3059 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3060 |
|
3061 * Array.cc (Array<T>::maybe_delete_elements): Return immediately |
|
3062 if all LHS dimensions are zero. For one index case, freeze and |
|
3063 sort idx_vec before checking length, and do nothing if |
|
3064 num_to_delete is zero. |
4822
|
3065 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821
|
3066 |
4816
|
3067 2004-03-04 David Bateman <dbateman@free.fr> |
|
3068 |
|
3069 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. |
|
3070 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. |
|
3071 |
4811
|
3072 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
|
3073 |
|
3074 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal |
|
3075 element. |
|
3076 |
|
3077 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3078 |
|
3079 * Range.h (Range::Range): Add cache to member initialization list. |
|
3080 (Range::clear_cache): New private function. |
|
3081 |
|
3082 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): |
|
3083 Use clear cache. Don't do anything if range does not change. |
|
3084 * Range.cc (Range::sort): Likewise. |
|
3085 |
4810
|
3086 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
|
3087 |
|
3088 * Range.cc (Range::matrix_value): Cache result. |
|
3089 (Range::sort): Clear cache. |
|
3090 * Range.h (Range::cache): New data member. |
|
3091 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. |
|
3092 (Range::print_range): Delete. |
4808
|
3093 |
|
3094 2004-03-02 David Bateman <dbateman@free.fr> |
|
3095 |
|
3096 * oct-fftw.cc: Only two versions of plan, and avoid endless |
|
3097 changes between them. Faster for small fft's. |
|
3098 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): |
|
3099 New member variables. |
|
3100 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, |
|
3101 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. |
|
3102 Change all uses. |
|
3103 (CHECK_SIMD_ALIGNMENT): New macro. |
|
3104 (octave_fftw_planner::create_plan): Use it. |
|
3105 |
4806
|
3106 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
|
3107 |
|
3108 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. |
|
3109 |
|
3110 * mx-inlines.cc (MX_ND_CAT): Delete macro. |
|
3111 |
|
3112 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. |
|
3113 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. |
|
3114 * chNDArray.cc (charNDArray<T>::cat): Ditto. |
|
3115 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. |
|
3116 |
|
3117 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. |
|
3118 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. |
|
3119 |
4800
|
3120 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3121 |
4802
|
3122 * oct-rl-edit.c (octave_rl_set_startup_hook, |
|
3123 octave_rl_get_startup_hook, octave_rl_set_event_hook, |
|
3124 octave_rl_get_event_hook): Omit casts. |
|
3125 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): |
|
3126 Return value for function pointer typedef is now int. |
|
3127 * cmd-edit.h (command_editor::startup_hook_fcn, |
|
3128 command_editor::event_hook_fcn): Likewise. |
|
3129 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, |
|
3130 command_history::do_goto_mark, gnu_history::do_goto_mark): |
|
3131 Return type is now int. Return 0. |
|
3132 |
4800
|
3133 * EIG.cc (EIG::init, EIG::symmetric_init): |
|
3134 Query Lapack for workspace size. |
|
3135 |
4796
|
3136 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3137 |
|
3138 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): |
|
3139 Fix thinko in extending dimensions. |
|
3140 |
4791
|
3141 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3142 |
|
3143 * Range.cc (Range::matrix_value, Range::min, Range::max): |
|
3144 Don't compute values beyond the limits of the range. |
|
3145 (operator << (std::ostream&, const Range&)): Likewise. |
|
3146 |
4786
|
3147 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3148 |
4788
|
3149 * oct-fftw.cc (octave_fftw_planner::create_plan): |
|
3150 Cast IN and OUT args to ptrdiff_t instead of long before masking. |
|
3151 From Paul Kienzle <pkienzle@users.sf.net>. |
|
3152 |
4786
|
3153 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
|
3154 Rename from Array<T>::insert. |
|
3155 (Array<T>::insert2 (const Array<T>&, int, int)): |
|
3156 Reinstate old Array<T>::insert function under this name. |
|
3157 (Array<T>::insert (const Array<T>&, int, int)): |
|
3158 New function. Dispatch to insert2 or insertN as appropriate. |
|
3159 |
4785
|
3160 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3161 |
|
3162 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3163 Sprinkle with OCTAVE_QUIT. |
|
3164 |
5095
|
3165 2004-02-16 David Bateman <dbateman@free.fr> |
4773
|
3166 |
|
3167 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): |
|
3168 Add support for FFTW 3.x. Include the ability to |
|
3169 use the real to complex transform for fft's of real matrices |
|
3170 (octave_fftw_planner::create_plan2d): Delete. |
|
3171 (octave_fftw::fft2d): Delete. |
|
3172 (convert_packcomplex_1d, convert_packcomplex_Nd): |
|
3173 New static functions. |
|
3174 * oct-fftw.h: Update decls. |
|
3175 |
|
3176 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
3177 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex |
|
3178 transforms. 1D FFT of a matrix done as single call rather than |
|
3179 loop. Update for FFTW 3.x |
|
3180 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, |
|
3181 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a |
|
3182 matrix done as single call rather than loop. Update for FFTW 3.x. |
|
3183 |
|
3184 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, |
|
3185 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform |
|
3186 functions for Nd arrays. |
|
3187 * dNArray.h Provide decls. |
|
3188 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, |
|
3189 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New |
|
3190 fourier transform functions for complex Nd arrays. |
|
3191 * CNArray.h: Provide decls. |
|
3192 |
4765
|
3193 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
|
3194 |
|
3195 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): |
|
3196 Make it work for N-d arrays. |
|
3197 |
|
3198 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): |
|
3199 New function. |
|
3200 |
|
3201 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), |
|
3202 ComplexNDArray::insert (const ComplexNDArray&, int, int)): |
|
3203 New functions. |
|
3204 * CNDArray.h: Provide decls. |
|
3205 |
4759
|
3206 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3207 |
4760
|
3208 * Makefile.in (LINK_DEPS): Always define. |
|
3209 |
4759
|
3210 * Array.cc (Array<T>::squeeze): Always return an array with at |
|
3211 least two dimensions. |
|
3212 |
4758
|
3213 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3214 |
|
3215 * mx-inlines.cc (MX_ND_CAT): New macro. |
|
3216 * dNDArray.cc (NDArray::cat): New function. |
|
3217 * dNDArray.h: Provide decls. |
|
3218 * CNDArray.cc (complexNDArray::cat): New function. |
|
3219 * CNDArray.h: Provide decls. |
|
3220 * chNDArray.cc (charNDArray::cat): New function. |
|
3221 * chNDArray.h: Provide decls. |
|
3222 |
4756
|
3223 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3224 |
|
3225 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. |
|
3226 (Array<T>assign2): Also call maybe_delete_elements for single |
|
3227 index when rows and columns or LHS are both greater than 1. |
|
3228 |
4755
|
3229 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
|
3230 |
|
3231 * Array.cc (Array<T>::maybe_delete_elements): |
|
3232 Check for index out of bounds. Handle one index. |
|
3233 |
|
3234 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of |
|
3235 dim_vector (0) to create empty return vector. |
|
3236 |
4749
|
3237 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3238 |
|
3239 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a |
|
3240 non-empty LHS when the number of lhs dimensions is less than the |
|
3241 number of indices. Detect error if attempting to resize non-empty |
|
3242 LHS with colon indices. |
|
3243 |
4745
|
3244 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3245 |
4747
|
3246 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
|
3247 values unless the length of the new array is greater than 0. |
|
3248 (Array<T>::resize_no_fill): Likewise. |
|
3249 |
|
3250 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) |
|
3251 is equal to dimensions(i). |
|
3252 |
|
3253 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, |
|
3254 get_zero_len_size, number_of_elements): |
|
3255 Delete unused functions. |
|
3256 |
|
3257 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of |
|
3258 number_of_elements function. |
|
3259 * Array.cc (Array<T>::indexN): Likewise. |
|
3260 |
|
3261 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead |
|
3262 of equal_arrays function. |
|
3263 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use |
|
3264 dim_vector::any_zero instead of any_zero_len function. |
|
3265 |
|
3266 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. |
|
3267 Don't skip reshaping and resizing if RHS is empty. |
|
3268 |
4746
|
3269 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
|
3270 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. |
4747
|
3271 Delete unused variables is_colon and is_colon_equiv. |
4746
|
3272 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
|
3273 LHS is not yet defined. |
4745
|
3274 Error for resizing if number of indices is less than number of LHS |
|
3275 dimensions. |
|
3276 |
4746
|
3277 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
|
3278 Fortran-style indexing. |
|
3279 |
4743
|
3280 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3281 |
|
3282 * Array.cc (Array<T>::assignN): Simplify. |
|
3283 Allow assignments to succeed if number if indices is less than the |
|
3284 number of RHS dimensions. |
|
3285 |
4738
|
3286 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3287 |
4741
|
3288 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
|
3289 when number of indices is less than number of dimensions. |
|
3290 |
|
3291 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): |
|
3292 Remove unsued variable lhs_inc. |
|
3293 |
4740
|
3294 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
|
3295 and idx_is_colon_equiv Array<int> instead of dim_vector. |
|
3296 |
|
3297 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. |
|
3298 |
4738
|
3299 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
|
3300 == n_dims before checking to see if all indices are colon_equiv. |
|
3301 |
4736
|
3302 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3303 |
|
3304 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for |
|
3305 deleting elements. |
4737
|
3306 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
|
3307 at least ndims elements. |
4736
|
3308 |
4735
|
3309 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
|
3310 |
|
3311 * Array.cc (Array<T>::assignN): Accept assignment of a vector |
|
3312 oriented differently from the index. |
|
3313 |
|
3314 * dim-vector.h (dim_vector::squeeze): Return value always has at |
|
3315 least two dimensions. |
|
3316 |
4733
|
3317 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3318 |
4735
|
3319 * dim-vector.h (dim_vector::squeeze): New function. |
|
3320 (Array<T>::assignN): Use it instead of chop_trailing_singltons for |
|
3321 deciding whether the assignment conforms. |
|
3322 |
4733
|
3323 * Array.cc (Array<T>::assignN): Simplify dimension check by |
|
3324 comparing rhs_dims and frozen_len sans trailing singletons. |
|
3325 |
4732
|
3326 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3327 |
|
3328 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. |
|
3329 Call error handler and return conversion_error == true if arg is |
|
3330 not integer. |
|
3331 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. |
|
3332 |
4730
|
3333 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3334 |
|
3335 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector |
|
3336 reference arg const. |
|
3337 |
|
3338 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3339 |
|
3340 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. |
|
3341 |
4729
|
3342 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
|
3343 |
|
3344 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): |
|
3345 Now bool, to match definition in Array-flags.cc. |
|
3346 |
4725
|
3347 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3348 |
4726
|
3349 * file-ops.cc: Include <vector> instead of <memory> for new |
|
3350 definition of OCTAVE_LOCAL_BUFFER. |
|
3351 |
4725
|
3352 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
|
3353 New arg, calc_eigenvectors. |
|
3354 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. |
|
3355 Based on patch from David Bateman <dbateman@free.fr>. |
|
3356 |
4716
|
3357 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3358 |
|
3359 * Array.cc (Array<T>::assign2, Array<T>::assignN): |
|
3360 For X(I) = RHS, don't restrict I to fewer elements than X. |
|
3361 |
|
3362 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. |
|
3363 |
4711
|
3364 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3365 |
4714
|
3366 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
|
3367 Simplify calculation of number of elements in retval. |
|
3368 |
4711
|
3369 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
|
3370 filling when RHS is scalar and dimension lengths agree. |
|
3371 |
4710
|
3372 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3373 |
4713
|
3374 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
|
3375 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). |
4710
|
3376 |
4707
|
3377 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
|
3378 |
4709
|
3379 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
|
3380 (Array<T>::assign2): Check for RHS dimensions larger than 2. |
4707
|
3381 |
4702
|
3382 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
|
3383 |
4703
|
3384 * Array.h (Array<T>::chop_trailing_singletons): New function. |
|
3385 * Array.cc (Array<T>::assignN): Use it on LHS. |
|
3386 |
|
3387 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. |
4702
|
3388 Retrieve scalar element by passin 0 instead of an index array. |
4703
|
3389 Check for singleton dimensions where RHS is matrix or higher dimension. |
|
3390 Make sure index is in bounds. |
4702
|
3391 |
4698
|
3392 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3393 |
|
3394 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, |
|
3395 octave_NaN, and octav_NA values are always initialized. Check |
|
3396 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN |
|
3397 to decide whether to do IEEE initialization. |
|
3398 |
4687
|
3399 2004-01-06 David Bateman <dbateman@free.fr> |
|
3400 |
|
3401 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, |
|
3402 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, |
|
3403 ComplexNDArray::too_large_for_float): New functions |
|
3404 |
|
3405 * CNDArray.cc (operator <<, operator >>): New IO operators. |
|
3406 * CNDArray.h: Provide decls. |
|
3407 * dNDArray.cc (operator <<, operator >>): New IO operators. |
|
3408 * dNDArray.h: Provide decls. |
|
3409 |
4673
|
3410 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3411 |
4674
|
3412 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
|
3413 they are already defined in boolNDArray.cc. |
|
3414 |
4673
|
3415 * Array-util.cc (get_zero_len_size): Delete. |
|
3416 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): |
|
3417 Handle zero-length result dimensions the same as empty original |
|
3418 indices. |
|
3419 |
|
3420 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3421 |
|
3422 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, |
|
3423 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): |
|
3424 New functions. |
|
3425 * Array.cc (ArrayN<T>::indexN): Use it. |
|
3426 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. |
|
3427 |
4669
|
3428 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3429 |
|
3430 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. |
|
3431 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. |
|
3432 |
|
3433 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3434 |
|
3435 * mk-ops.awk: Also emit #include "Array-util.h". |
|
3436 |
|
3437 * mx-ops: Add bool, boolMatrix, and boolNDarray types. |
|
3438 Add bnda x bnda, b x bnda, and bnda x b ops. |
|
3439 |
|
3440 * MArray-misc.cc: Delete. |
|
3441 * Makefile.in (MATRIX_SRC): Remove it from the list. |
|
3442 |
|
3443 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from |
|
3444 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. |
|
3445 |
4655
|
3446 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3447 |
4663
|
3448 * dbleQR.cc (QR::init): Use separate pwork pointers. |
|
3449 * CmplxQR.cc (ComplexQR::init): Likewise. |
|
3450 |
|
3451 * oct-group.cc (octave_group::getgrnam): Pass correct args to |
|
3452 two-arg getgrnam version. |
|
3453 |
4657
|
3454 * Array.cc (assignN): Allow single indexing to work. |
4661
|
3455 (Array<T>::range_error (const char*, const Array<int>&)): |
|
3456 Report index values. |
|
3457 |
|
3458 * Array.cc (Array<T>::index): Delete unused arg names. |
4662
|
3459 * ODESSA.cc (odessa_j): Likewise. |
|
3460 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. |
|
3461 * DASPK.cc (ddaspk_psol): Likewise. |
|
3462 * lo-mappers.cc (imag): Likewise. |
4663
|
3463 * Array-util.cc (get_zero_len_size): Likewise. |
|
3464 * kpse.cc (path_search, path_find_first_of): Likewise. |
|
3465 * cmd-edit.cc (do_generate_filename_completions): Likewise. |
4656
|
3466 |
4655
|
3467 * dim-vector.h (dim_vector::all_ones): New function. |
|
3468 |
4646
|
3469 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3470 |
4653
|
3471 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
|
3472 zeros, not orig_rows or orig_columns. |
|
3473 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. |
|
3474 (idx_vector::idx_vector_rep::orig_columns): Likewise. |
|
3475 |
|
3476 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, |
|
3477 (idx_vector::idx_vector_rep::orig_nc): Delete. |
|
3478 |
|
3479 * idx-vector.cc (idx_vector::idx_vector_rep): |
|
3480 Use initialization lists for constructors. |
|
3481 |
4651
|
3482 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
|
3483 Omit special case for ra_idx.capacity () == 1. |
|
3484 Always allow single index for matrix args with optional warning. |
|
3485 |
4650
|
3486 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
|
3487 boolNDArray. Likewise, convert Matrix functions to use NDArray. |
|
3488 |
4648
|
3489 * Array-so.cc: New file. Move instantiations here from so-array.h. |
|
3490 * Makefile.in (TI_SRC): Add it to the list. |
|
3491 |
4646
|
3492 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
|
3493 type and the names of the left and right operands. Change all uses. |
|
3494 |
|
3495 * so-array.cc, so-array.h: New files. Move streamoff_array here |
|
3496 from src/ov-streamoff.h and src/ov-streamoff.cc. |
|
3497 |
4645
|
3498 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3499 |
|
3500 * MArrayN.cc (operator -=, operator +=): Check dimensions, not |
|
3501 just length. |
|
3502 |
|
3503 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, |
|
3504 ArrayN.h: Add this-> or Base:: qualifiers for references to |
|
3505 non-dependent member functions and data as needed. |
|
3506 |
|
3507 * DiagArray2.h, DiagArray2.cc: Delete unused code. |
|
3508 |
|
3509 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. |
|
3510 * Array3.h (Array3<T>::operator =): Likewise. |
|
3511 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. |
|
3512 Include Array.h, not Array2.h. |
|
3513 |
4634
|
3514 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3515 |
4636
|
3516 * str-vec.cc (list_in_columns): Fix previous change. |
|
3517 |
4635
|
3518 * dim-vector.h (dim_vector::num_ones): New function. |
|
3519 * Array.cc (maybe_delete_elements): Use it instead of |
|
3520 num_ones (const Array<int>&). |
|
3521 |
|
3522 * Array.cc (assignN): Omit dubious check of singleton dimensions. |
|
3523 |
4634
|
3524 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
|
3525 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): |
|
3526 New functions. |
|
3527 * dNDArray.h: Provide decls. |
|
3528 |
|
3529 * dMatrix.h (Matrix::any_element_is_negative, |
|
3530 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, |
|
3531 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): |
|
3532 Simplify. |
|
3533 |
|
3534 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. |
|
3535 * CNDArray.cc (ComplexNDArray::abs): Likewise. |
|
3536 |
|
3537 * dNDArray.cc (real, imag): New functions. |
|
3538 * dNDArray.h: Provide decls. |
|
3539 |
4630
|
3540 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3541 |
|
3542 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. |
|
3543 |
4625
|
3544 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3545 |
|
3546 * Array.h (Array<T>::resize (int, const T&)): Reinstate. |
|
3547 * MArray.h (resize): Delete. |
|
3548 * MArray2.h (resize): Delete. |
|
3549 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. |
|
3550 * ODESSA (ODESSA::integrate): Likewise. |
|
3551 |
4616
|
3552 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3553 |
|
3554 * Makefile.in (dist): Depend on stamp-prereq. |
|
3555 |
4605
|
3556 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
|
3557 |
|
3558 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: |
|
3559 Kluge to make it work. |
4604
|
3560 |
|
3561 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and |
|
3562 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. |
|
3563 |
|
3564 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, |
|
3565 default_command_editor::do_generate_filename_completions, |
|
3566 command_editor::generate_filename_completions): New functions. |
|
3567 * cmd-edit.h: Provide decls. |
|
3568 * oct-rl-edit.c (octave_rl_filename_completion_function): New |
|
3569 function. |
|
3570 * oct-rl-edit.h: Provide decl. |
|
3571 |
4593
|
3572 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3573 |
4594
|
3574 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
|
3575 INSTANTIATE_ARRAY): New macros. |
|
3576 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3577 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. |
|
3578 |
4593
|
3579 * Array.h (Array<T>::ipermute): New function. |
|
3580 |
|
3581 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> |
|
3582 |
|
3583 * Array.cc (Array<T>::permute): New function. |
|
3584 * Array.h: Provide decl. |
|
3585 |
|
3586 * Array-util.cc (calc_permutated_idx): New function. |
|
3587 * Array-util.h: Provide decl. |
|
3588 |
4587
|
3589 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3590 |
4592
|
3591 * Array.cc (Array<T>::index2): Return value has orientation of |
|
3592 indexed value if indexing a vector with a bool matrix. |
|
3593 |
4589
|
3594 * ArrayN.h (ArrayN<T>::get_size): Delete. |
|
3595 |
4588
|
3596 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
|
3597 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. |
|
3598 |
|
3599 * ArrayN-inline.h: Delete. |
|
3600 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. |
|
3601 * Makefile.in: Fix the appropriate lists. |
|
3602 |
4587
|
3603 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
|
3604 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, |
|
3605 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, |
|
3606 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, |
|
3607 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: |
|
3608 Avoid -Wshadow warnings. |
|
3609 |
|
3610 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> |
4585
|
3611 |
|
3612 * Array.h (Array<T>::nil_rep): Qualify return type with typename. |
|
3613 |
|
3614 * mk-ops.awk: Delete elements of bool_headers array individually. |
|
3615 |
|
3616 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3617 |
|
3618 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. |
|
3619 |
4584
|
3620 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
|
3621 |
|
3622 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. |
|
3623 |
|
3624 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, |
|
3625 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. |
|
3626 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): |
|
3627 Return NDArray. Handle N-d arrays. |
|
3628 |
4575
|
3629 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3630 |
4583
|
3631 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
|
3632 that upcase Fortran names by calling dlsode instead of lsode. |
|
3633 |
|
3634 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems |
|
3635 that upcase Fortran names by calling dodessa instead of odessa. |
|
3636 |
4577
|
3637 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
|
3638 non-const args for symlink system call. |
|
3639 (file_ops::readlink): Likewise, for readlink. |
|
3640 |
4575
|
3641 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
|
3642 |
4574
|
3643 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3644 |
|
3645 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. |
|
3646 Change all uses. |
|
3647 |
4569
|
3648 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
|
3649 |
|
3650 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, |
|
3651 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. |
|
3652 * dNDArray.h: Provide decls. |
|
3653 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, |
|
3654 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, |
|
3655 ComplexNDArray::abs): New functions. |
|
3656 * CNDArray.h: Provide decls. |
|
3657 |
|
3658 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. |
|
3659 Generalize to handle other reduction operations. |
|
3660 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, |
|
3661 MX_ND_ALL_ANY_REDUCTION): New macros. |
|
3662 |
4565
|
3663 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3664 |
4567
|
3665 * Array.cc (Array<T>::reshape): New function. |
|
3666 * Array.h: Provide decl. |
|
3667 |
|
3668 * dim-vector.h (dim_vector::numel): New function. |
|
3669 |
4565
|
3670 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
|
3671 dim_vector&)): Correctly handle case of n < dv->ndims. |
|
3672 |
4559
|
3673 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3674 |
|
3675 * dim-vector.h (dim_vector::any_zero): New function. |
|
3676 (dim_vector::str): New default arg, sep. |
|
3677 |
|
3678 * Array.h (Array<T>::numel): New function. |
|
3679 |
4556
|
3680 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
|
3681 |
|
3682 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, |
|
3683 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. |
|
3684 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. |
|
3685 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3686 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. |
|
3687 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. |
|
3688 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. |
|
3689 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. |
|
3690 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. |
|
3691 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. |
|
3692 |
4552
|
3693 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3694 |
4553
|
3695 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
|
3696 to change. From Petter Risholm <risholm@stud.ntnu.no>. |
|
3697 |
4552
|
3698 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
|
3699 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
3700 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, |
|
3701 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, |
|
3702 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
3703 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
3704 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: |
|
3705 Use new F77 arg macros in declarations of external Fortran |
|
3706 subroutines and for calling them. |
|
3707 |
4548
|
3708 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3709 |
|
3710 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): |
|
3711 Allow number of dimensions to change. |
|
3712 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. |
|
3713 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. |
|
3714 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. |
|
3715 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. |
|
3716 (Array<T>::transpose): Require ndims to be 2. |
|
3717 (Array<T>::index2): Likewise. |
|
3718 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. |
|
3719 (Array<T>::maybe_delete_elements_2): Likewise. |
|
3720 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. |
|
3721 (Array<T>::index1): Use resize_and_fill. |
|
3722 (MAYBE_RESIZE_ND_DIMS): Likewise. |
|
3723 |
|
3724 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. |
|
3725 |
|
3726 * MArray2.h (MArray2<T>::resize (int, int)): New function. |
|
3727 (MArray2<T>::resize (int, int, const T&)): New function. |
|
3728 |
|
3729 * MArray.h (MArray<T>::resize (int)): New function. |
|
3730 (MArray<T>::resize (int, const T&)): New function. |
|
3731 |
|
3732 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. |
|
3733 |
|
3734 * DASPK-opts.in: Use single-arg resize for initial condition |
|
3735 heuristics. |
|
3736 |
|
3737 * dim-vector.h (class dim_vector): Now reference counted. |
|
3738 (dim_vector_rep::elem): Use assert to check that index is in bounds. |
|
3739 |
4544
|
3740 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3741 |
4545
|
3742 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
|
3743 |
4544
|
3744 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
|
3745 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, |
|
3746 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, |
|
3747 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, |
|
3748 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, |
|
3749 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, |
|
3750 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, |
|
3751 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, |
|
3752 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, |
|
3753 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, |
|
3754 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, |
|
3755 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, |
|
3756 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, |
|
3757 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, |
|
3758 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These |
|
3759 files are now automatically generated. |
|
3760 |
|
3761 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), |
|
3762 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. |
|
3763 Add rules to generate these files and mx-ops.h. |
|
3764 (stamp-prereq): Depend on these files. |
|
3765 |
|
3766 * mx-ops, vx-ops, mk-ops.awk: New files. |
|
3767 * Makefile.in (DISTFILES): Add them to the list. |
|
3768 |
4543
|
3769 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3770 |
|
3771 * NDArray.cc (NDArray::NDArray (const boolNDArray), |
|
3772 NDArray::NDArray (const charNDArray)): New constructors. |
|
3773 (NDArray::operator !): New function. |
|
3774 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3775 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3776 |
|
3777 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), |
|
3778 ComplexNDArray::ComplexNDArray (const boolNDArray&), |
|
3779 ComplexNDArray::ComplexNDArray (const charNDArray&)): |
|
3780 New constructors. |
|
3781 (ComplexNDArray::operator !): New function. |
|
3782 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, |
|
3783 NDND_CMP_OPS, NDND_BOOL_OPS. |
|
3784 |
|
3785 * ArrayN.h (resize (const dim_vector&)): Fix typo. |
|
3786 |
|
3787 * boolNDArray.cc (boolNDArray::operator !): New function. |
|
3788 Provide NDND_CMP_OPS. |
|
3789 |
|
3790 * MArrayN.cc (operator +=, operator -=): New functions. |
|
3791 Provide product and quotient functions. |
|
3792 |
|
3793 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, |
|
3794 dim_vector&)): New function. |
|
3795 |
|
3796 * dim-vector.h (dim_vector::str, dim_vector::all_zero, |
|
3797 operator ==, operator !=): New functions. |
|
3798 * ArrayN.cc (operator <<): Use dim_vector::str here. |
|
3799 |
|
3800 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): |
|
3801 No need to save old dimensions. |
|
3802 |
|
3803 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. |
|
3804 (octave_rand::nd_array): New function. |
|
3805 * oct-rand.h (octave_rand::nd_array): Provide decl. |
|
3806 |
|
3807 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, |
|
3808 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, |
|
3809 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, |
|
3810 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, |
|
3811 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, |
|
3812 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, |
|
3813 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, |
|
3814 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, |
|
3815 NDND_OP_DECLS): New macros. |
|
3816 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, |
|
3817 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, |
|
3818 mx-m-cs.cc, mx-s-cm.cc: Use them. |
|
3819 |
|
3820 * mx-defs.h (class NDArray, class ComplexNDArray, class |
|
3821 boolNDArray, class charNDArray): New forward decls. |
|
3822 |
4534
|
3823 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3824 |
|
3825 * Array.cc (assign2): No error (but don't do anything either) for |
|
3826 expressions like x([],j) = scalar. |
|
3827 |
4532
|
3828 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3829 |
4533
|
3830 * Array.cc (assignN): Allow lhs(:) = scalar. |
|
3831 |
4532
|
3832 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
|
3833 * dNDArray.cc (NDArray::increment_index): Likewise. |
|
3834 * boolNDArray.cc (boolNDArray::increment_index): Likewise. |
|
3835 * chNDArray.cc (charNDArray::increment_index): Likewise. |
|
3836 |
|
3837 * dim-vector.h (rows, cols): Delete unused data members. |
|
3838 |
|
3839 * Array.cc (Array<T>::get_size): Fix thinko. |
|
3840 |
|
3841 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3842 |
|
3843 * Array.cc (Array<T>::squeeze): New function. |
|
3844 * CNDArray.h (ComplexNDArray::squeeze): Likewise. |
|
3845 * dNDArray.h (NDArray::squeeze): Likewise. |
|
3846 * boolNDArray.h (boolNDArray::squeeze): Likewise. |
|
3847 * chNDArray.h (charNDArray::squeeze): Likewise. |
|
3848 |
4530
|
3849 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
|
3850 |
|
3851 * Array.cc (ArrayN<T>::indexN): New definition. |
|
3852 * Array.h (Array<T>::indexN): Provide decl. |
|
3853 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): |
|
3854 Call indexN if more than 2 indices. |
|
3855 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): |
|
3856 Make it (mostly) work. |
|
3857 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): |
|
3858 New functions. |
|
3859 |
4527
|
3860 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3861 |
|
3862 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. |
|
3863 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded |
|
3864 versions with eof arg. |
|
3865 |
4518
|
3866 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3867 |
|
3868 * Array.h (dimensions): Now public. |
|
3869 template <class LT, class RT> |
|
3870 (assign (Array<LT>&, const Array<RT>&, const LT&), |
|
3871 assign1 (Array<LT>&, const Array<RT>&, const LT&), |
|
3872 assign2 (Array<LT>&, const Array<RT>&, const LT&), |
|
3873 assignN (Array<LT>&, const Array<RT>&, const LT&), |
|
3874 resize_no_fill (int), |
|
3875 resize_no_fill (int, int), |
|
3876 resize_no_fill (int, int, int), |
|
3877 resize_no_fill (const dim_vector&), |
|
3878 resize_and_fill (int, const T&), |
|
3879 resize_and_fill (int, int, const T&), |
|
3880 resize_and_fill (int, int, int, const T&), |
|
3881 resize_and_fill (const dim_vector&, const T&)): Now public. |
|
3882 |
|
3883 * Array.cc: Include <climits>. |
|
3884 |
4513
|
3885 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3886 |
4517
|
3887 * Array.cc: Merge Array-idx.h. |
|
3888 * Array-idx.h: Delete. |
|
3889 |
4514
|
3890 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
|
3891 |
4513
|
3892 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
|
3893 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now |
|
3894 just special cases of the general purpose N-d Array object). |
|
3895 |
|
3896 * dim-vector.h: New file. Use dim_vector objects instead of |
|
3897 ints or Array<int> objects to represent the size of Array |
|
3898 objects. |
|
3899 |
|
3900 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. |
|
3901 |
|
3902 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. |
|
3903 |
|
3904 * mx-base.h: Include NDArray header files. |
|
3905 |
|
3906 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. |
|
3907 |
|
3908 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, |
|
3909 Array-s.cc: Also instantiate ArrayN objects. |
|
3910 Don't instantiate assign funcitons for Array2 objects. |
|
3911 |
|
3912 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with |
|
3913 liboctave_error_handler, not cerr. |
|
3914 * CMatrix.cc (ComplexMatrix::diag): Likewise. |
|
3915 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. |
|
3916 * dMatrix.cc (Matrix::diag): Likewise. |
|
3917 |
|
3918 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: |
|
3919 Omit checks for HEAVYWEIGHT_INDEXING. |
|
3920 |
|
3921 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3922 |
|
3923 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. |
|
3924 |
|
3925 * CNDARray.h, CNDArray.cc: New files. |
|
3926 * Makefile.in: Add them to the appropriate lists. |
|
3927 |
|
3928 * dNDArray.h: Rename from NDArray.h. |
|
3929 * dNDArray.cc: Rename from NDArray.cc. |
|
3930 * Makefile.in: Rename them here too. |
|
3931 |
4507
|
3932 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
|
3933 |
|
3934 * mx-base.h: Include NDArray.h, not ArrayN.h. |
|
3935 |
|
3936 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. |
|
3937 * Makefile.in: Add them to the appropriate lists. |
|
3938 |
5095
|
3939 2003-09-09 David Bateman <dbateman@free.fr> |
4506
|
3940 |
|
3941 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, |
|
3942 biry): Always request scaled results from AMOS functions and |
|
3943 perform reverse scaling on results if scaled result not requested |
|
3944 by user. |
|
3945 |
|
3946 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3947 |
|
3948 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
3949 |
4505
|
3950 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3951 |
|
3952 * Array-d.cc: Instantiate assign functions. |
|
3953 |
4504
|
3954 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
|
3955 |
|
3956 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. |
|
3957 (get_elt_idx): Index ra_idx correctly. |
|
3958 |
|
3959 * ArrayN-inline.h (index_in_bounds): Index is also condidered in |
|
3960 bounds if it is exactly on the bound. |
|
3961 |
|
3962 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. |
|
3963 * ArrayN.h: Provide decl. |
|
3964 |
|
3965 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. |
|
3966 |
|
3967 * idx-vector.h (idx_vector::orig_dims): New member variable. |
|
3968 (idx_vector::idx_vector_rep::orig_dimensions): New function. |
|
3969 (idx_vector::orig_dimensions): New function. |
|
3970 |
4497
|
3971 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3972 |
|
3973 * lo-specfun.cc (xlgamma): Require nonnegative argument. |
|
3974 |
4496
|
3975 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
|
3976 |
|
3977 * ArrayN-idx.h (maybe_delete_elements): Implement function. |
|
3978 (is_in, how_many_lgt, all_ones): New functions. |
|
3979 |
4493
|
3980 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3981 |
|
3982 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. |
|
3983 |
|
3984 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> |
|
3985 |
|
3986 * ArrayN-inline.h: New file. |
|
3987 (index_in_bounds, increment_index): Move here. |
|
3988 * ArrayN.cc: From here. |
|
3989 |
|
3990 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. |
|
3991 * ArrayN-idx.h (assign): New function. |
|
3992 |
4490
|
3993 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
3994 |
|
3995 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): |
|
3996 Also zero imaginary part of result if real part of input value is |
|
3997 zero. |
|
3998 |
4478
|
3999 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4000 |
|
4001 * mx-base.h: Include ArrayN.h. |
|
4002 |
4476
|
4003 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
|
4004 |
|
4005 * ArrayN.cc (operator <<): Corrected output. |
|
4006 |
4474
|
4007 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4008 |
|
4009 * ArrayN.cc (increment_index): New arg, start_dimension. |
|
4010 |
5095
|
4011 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473
|
4012 |
|
4013 * ArrayN.cc (operator <<): Improve output readability. |
|
4014 |
4493
|
4015 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473
|
4016 |
|
4017 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): |
|
4018 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): |
|
4019 Initialize old_len before changing size. |
|
4020 |
4472
|
4021 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4022 |
|
4023 * Makefile.in (install-lib): Use $(INSTALL), not |
4473
|
4024 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472
|
4025 |
4469
|
4026 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4027 |
|
4028 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible |
|
4029 way. Handle NA in an R-compatible way. |
|
4030 |
|
4031 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. |
|
4032 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. |
|
4033 |
|
4034 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. |
|
4035 (octave_is_NaN_or_NA (const Complex&)): Likewise. |
|
4036 |
|
4037 * dMatrix.cc (Matrix::row_min, Matrix::row_max, |
|
4038 Matrix::column_min, Matrix::column_max): Ignore NaNs. |
|
4039 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, |
|
4040 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. |
|
4041 |
4461
|
4042 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4043 |
|
4044 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
4045 Pass true for resize_ok arg to freeze. |
|
4046 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
4047 Likewise. |
|
4048 |
|
4049 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; |
|
4050 resize_ok arg is now bool. |
|
4051 * idx-vector.h (idx_vector::freeze): Likewise. |
|
4052 |
|
4053 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): |
|
4054 Rename from liboctave_rre_flag. Now bool. |
|
4055 (liboctave_wfi_flag): Now bool. |
|
4056 |
|
4057 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. |
|
4058 |
5095
|
4059 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459
|
4060 |
|
4061 * Array.h (resize_fill_value): Now a top-level template function. |
|
4062 Accept object as argument. Change all uses. |
|
4063 |
4455
|
4064 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4065 |
|
4066 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. |
|
4067 |
|
4068 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not |
|
4069 liboctave_dfi_flag. |
|
4070 (assign): Likewise. For indexed assignments like X(I) = RHS with |
|
4071 X undefined or empty, always create a row vector. |
|
4072 |
|
4073 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. |
|
4074 * Array-flags.h (liboctave_wfi_flag): Ditto. |
|
4075 |
4437
|
4076 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4077 |
|
4078 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4079 Magic colon indexing always produces an object with one column. |
|
4080 |
5095
|
4081 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433
|
4082 |
|
4083 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. |
|
4084 |
|
4085 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. |
|
4086 |
4431
|
4087 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4088 |
|
4089 * dMatrix.cc (any_element_is_negative): If new optional arg |
|
4090 neg_zero is true, also return true for negative zero. |
|
4091 |
4429
|
4092 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4093 |
|
4094 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. |
|
4095 Handle step limit. |
|
4096 * DASSL-opts.in: New option for step limit. |
|
4097 |
5095
|
4098 2003-06-16 Per Persson <persquare@mac.com> |
4429
|
4099 |
|
4100 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. |
|
4101 |
4428
|
4102 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4103 |
|
4104 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. |
|
4105 Store step limit in iwork(20), not iwork(18). |
|
4106 |
5095
|
4107 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415
|
4108 |
|
4109 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. |
|
4110 |
4412
|
4111 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4112 |
4413
|
4113 * Makefile.in: Handle DESTDIR. |
|
4114 |
4412
|
4115 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
|
4116 (kpse_path_iterator::set_end): Don't miss last element when not |
|
4117 followed by a colon. |
|
4118 |
4409
|
4119 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4120 |
|
4121 * Array-idx.h (Array<T>::index): Fix off-by-one error. |
|
4122 |
|
4123 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4124 |
|
4125 * kpse.cc (kpse_absolute_p): Fix typo in translation. |
|
4126 (find_first_of): Also do an absolute search on each |
|
4127 name before looking in the path. |
|
4128 |
4407
|
4129 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4130 |
|
4131 * kpse.cc (dir_list_add): Ensure that directory ends with a |
|
4132 directory separator. |
|
4133 |
4399
|
4134 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4135 |
|
4136 * pathsearch.cc: Include kpse.cc here. |
|
4137 |
|
4138 * kpse.cc: All functions are now static. Massive surgery to |
|
4139 condense kpathsearch library to a single file of just the |
|
4140 essentials for Octave and convert to using C++ strings (no more |
|
4141 calls to malloc, very few calls to new, so there should be much |
|
4142 less potential for introducing memory leaks now). |
|
4143 |
|
4144 * Makefile.in (EXTRAS): Move kpse.cc here from |
|
4145 LIBOCT_PATHSEARCH_CXX_SOURCES. |
|
4146 |
|
4147 * kpse.h, kpse-config.h: Delete. |
|
4148 * Makefile.in (INCLUDES): Delete them from the list. |
|
4149 |
4392
|
4150 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4151 |
|
4152 * str-vec.cc (string_vector::append (const std::string&), |
|
4153 string_vector::append (const string_vector&)): New methods. |
|
4154 |
4386
|
4155 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4156 |
4389
|
4157 * kpse.cc, kpse.h: Replace fn_type with std::string. |
|
4158 |
4387
|
4159 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
|
4160 |
4386
|
4161 * kpse.cc (xclosedir): Don't define or declare for Windows. |
|
4162 (READABLE): Now a static function to avoid warnings from MinGW |
|
4163 compiler. |
|
4164 |
4384
|
4165 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4166 |
4385
|
4167 * kpse.cc: Move most functions from kpse-xfns.c here and make |
|
4168 static. Include most of kpse-xfns.h directly, removing |
|
4169 unnecessary bits. |
|
4170 |
4384
|
4171 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
|
4172 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
4173 |
4378
|
4174 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4175 |
|
4176 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. |
|
4177 * Makefile.in: Add them to the appropriates lists. |
|
4178 |
|
4179 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. |
|
4180 |
|
4181 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust |
|
4182 for new locations of kpathsea objects. |
|
4183 Delete kpathsea targets. |
|
4184 |
|
4185 * pathsearch.cc (dir_path::set_program_name): Delete. |
|
4186 |
|
4187 * kpse.cc: New file. |
|
4188 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. |
|
4189 |
|
4190 * kpse.c: New file. |
|
4191 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. |
|
4192 |
|
4193 * kpse.h, kpse-config.h, kpse-xfns.h: New files. |
|
4194 * Makefile.in (INCLUDES): Add them to the list. |
|
4195 |
|
4196 * oct-kpse.h: Delete. |
|
4197 * Makefile.in (INCLUDES): Delete it from the list. |
|
4198 |
4374
|
4199 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4200 |
|
4201 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. |
|
4202 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): |
|
4203 Likewise. |
|
4204 From Quentin H. Spencer <qspencer@ieee.org>. |
|
4205 |
4365
|
4206 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4207 |
|
4208 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". |
|
4209 |
4349
|
4210 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4211 |
4352
|
4212 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
|
4213 without placement delete. |
|
4214 |
4349
|
4215 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
|
4216 imaginary parts. |
|
4217 |
|
4218 * lo-ieee.h (lo_ieee_signbit): New macro. |
|
4219 |
5095
|
4220 2003-02-18 David Bateman <dbateman@free.fr> |
4329
|
4221 |
|
4222 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
4223 Use Lapack instead of Linpack. |
5315
|
4224 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329
|
4225 ComplexMatrix::solve): Likewise. |
|
4226 |
|
4227 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, |
|
4228 calc_cond. If 0, skip condition number calculation. |
|
4229 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): |
|
4230 Likewise. |
|
4231 |
|
4232 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. |
|
4233 * dbleLU.cc (LU::LU): Likewise. |
|
4234 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. |
|
4235 |
|
4236 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4237 |
|
4238 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: |
|
4239 |
4323
|
4240 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4241 |
|
4242 * Array2-idx.h (Array2<T>::index): Fix thinko. |
|
4243 Additional compatibility fix. |
|
4244 |
|
4245 2003-02-13 Arno Klaassen <arno@scito.com> |
|
4246 |
|
4247 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4248 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: |
|
4249 Sprinkle with Array<T>:: as necessary for gcc 3.4. |
|
4250 |
4322
|
4251 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4252 |
|
4253 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): |
|
4254 Compatibility fix. |
|
4255 |
4316
|
4256 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4257 |
|
4258 * CColVector.cc (ComplexColumnVector::extract_n): New function. |
|
4259 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. |
|
4260 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. |
|
4261 * dColVector.cc (ColumnVector::extract_n): Likewise. |
|
4262 * dRowVector.cc (RowVector::extract_n): Likewise. |
|
4263 * dMatrix.cc (Matrix::extract_n): Likewise. |
|
4264 |
|
4265 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency |
|
4266 with make_unique and xelem. |
|
4267 * CRowVector.cc (ComplexRowVector::insert): Likewise. |
|
4268 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, |
|
4269 ComplexMatrix::extract, ComplexMatrix::row, |
|
4270 ComplexMatrix::column): Likewise. |
|
4271 * dColVector.cc (ColumnVector::insert): Likewise. |
|
4272 * dRowVector.cc (RowVector::insert): Likewise. |
|
4273 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, |
|
4274 Matrix::row, Matrix::column): Likewise. |
|
4275 |
4313
|
4276 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4277 |
|
4278 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. |
|
4279 |
4309
|
4280 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4281 |
|
4282 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from |
|
4283 src/DLD-FUNCTIONS/minmax.cc, and make them extern. |
|
4284 * CMatrix.h, dMatrix.h: Provide decls. |
|
4285 |
4307
|
4286 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4287 |
|
4288 * oct-rand.h, oct-rand.cc: New files. |
|
4289 * Makefile.in: Add them to the appropriate lists. |
|
4290 |
4306
|
4291 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4292 |
|
4293 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. |
|
4294 |
4299
|
4295 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
|
4296 |
|
4297 * oct-syscalls.cc: Include signal.h. |
|
4298 |
4294
|
4299 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4300 |
|
4301 * oct-syscalls.cc (octave_syscalls::kill): New function. |
|
4302 * oct-syscalls.h: Provide decl. |
|
4303 |
|
4304 |
4293
|
4305 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4306 |
|
4307 * dMatrix.cc (Matrix::read): Set size and return immediately if |
|
4308 there is nothing to read. |
|
4309 |
4290
|
4310 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4311 |
|
4312 * lo-cutils.c: Define _XOPEN_SOURCE. |
|
4313 |
4286
|
4314 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4315 |
4288
|
4316 * getopt.h: Update to version from kpathsearch, so we will install |
|
4317 the version that we are using. |
|
4318 |
|
4319 * getopt.c, getopt1.c: Delete. |
|
4320 (INCLUDES): Delete them from the list. We'll get these files from |
|
4321 kpathsearch. |
|
4322 |
4286
|
4323 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
|
4324 ../kpathsea/STATIC/*.o. |
|
4325 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. |
|
4326 |
4270
|
4327 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4328 |
4282
|
4329 * dMatrix.cc (read_int, write_int): Avoid warnings about |
|
4330 unreachable code. |
|
4331 |
4279
|
4332 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
|
4333 to correspond to placement new operator. |
|
4334 |
4278
|
4335 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
|
4336 (DET::value_will_underflow): Likewise. |
|
4337 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. |
|
4338 (ComplexDET::value_will_underflow): Likewise. |
|
4339 |
4276
|
4340 * Makefile.in (distclean): Also remove stamp-prereq. |
|
4341 |
4306
|
4342 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
|
4343 RHS and index are empty matrices, don't do anything. |
4270
|
4344 |
4242
|
4345 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4346 |
|
4347 * pathsearch.cc (make_retval, free_c_array, make_c_names, |
|
4348 delete_c_names): New helper functions. |
|
4349 (dir_path::find_first_of): New function. |
|
4350 (dir_path::find_all_first_of): Likewise. |
|
4351 * pathsearch.h: Provide decls. |
|
4352 |
|
4353 * oct-kpse.c (octave_kpse_path_find_first_of): New function. |
|
4354 (octave_kpse_all_path_find_first_of): Likewise. |
|
4355 * oct-kpse.h: Provide decls. |
|
4356 |
4231
|
4357 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4358 |
|
4359 * ODESSA.cc (ODESSA::integrate): Handle maxord. |
|
4360 * ODESSA-opts.in: Likewise. |
|
4361 |
|
4362 * LSODE.cc (ODESSA::integrate): Handle maxord. |
|
4363 * LSODE-opts.in: Likewise. |
|
4364 |
4229
|
4365 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4366 |
4230
|
4367 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
|
4368 in all constructors. |
|
4369 |
4229
|
4370 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
|
4371 (LINK_DEPS): Not here. |
|
4372 |
4219
|
4373 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4374 |
4220
|
4375 * str-vec.cc (string_vector::compare): New static member function. |
|
4376 * str-vec.h: Provide decl. |
|
4377 (string_vector::sort): Use it. |
|
4378 (str_vec_compare): Delete static function. |
|
4379 |
4219
|
4380 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
|
4381 a placement operator new. |
|
4382 |
4209
|
4383 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4384 |
4210
|
4385 * Matrix.h: Include mx-ops.h too. |
4209
|
4386 * mx-ops.h: New file. |
|
4387 |
4192
|
4388 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4389 |
|
4390 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, |
|
4391 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, |
|
4392 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, |
|
4393 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, |
|
4394 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4395 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4396 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, |
|
4397 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, |
|
4398 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, |
|
4399 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, |
|
4400 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, |
|
4401 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, |
|
4402 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, |
|
4403 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, |
|
4404 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, |
|
4405 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, |
|
4406 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, |
|
4407 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, |
|
4408 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, |
|
4409 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, |
|
4410 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: |
|
4411 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of |
|
4412 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". |
|
4413 |
4184
|
4414 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4415 |
|
4416 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. |
|
4417 From Remy Bruno <remy.bruno@libertysurf.fr> |
|
4418 |
4180
|
4419 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4420 |
|
4421 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to |
|
4422 fortran code that should run fast enough that it is not worth all |
|
4423 the setup costs of F77_XFCN. |
|
4424 |
|
4425 * Quad.cc (user_function): Surround body of function with |
|
4426 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. |
|
4427 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. |
|
4428 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. |
|
4429 * LSODE.cc (lsode_f, lsode_j): Likewise. |
|
4430 * DASSL.cc (ddassl_f, ddassl_j): Likewise. |
|
4431 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. |
|
4432 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. |
|
4433 |
4164
|
4434 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4435 |
|
4436 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead |
|
4437 of ! defined (linux). |
|
4438 |
5095
|
4439 2002-11-09 Per Persson <persquare@mac.com> |
4162
|
4440 |
|
4441 * oct-shlib.cc (octave_dyld_shlib): New class. |
|
4442 (make_shlib): Instantiate octave_dyld_shlib. |
|
4443 |
4152
|
4444 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4445 |
4153
|
4446 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
|
4447 |
4152
|
4448 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
|
4449 |
|
4450 * Array.h: Include <cstddef> here. |
|
4451 |
4142
|
4452 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4453 |
4144
|
4454 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
|
4455 using them. Accept inequality contraint option of 0. Assign |
|
4456 pabs_tol and prel_tol before calling DASPK. Don't redeclare |
|
4457 abs_tol and rel_tol. |
|
4458 |
4143
|
4459 * cmd-edit.h (command_editor::filename_completion_desired): New |
|
4460 static function. |
|
4461 (command_editor::do_filename_completion_desired): New virtual function. |
|
4462 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. |
|
4463 * oct-rl-edit.h: Provide decl. |
|
4464 |
4142
|
4465 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
|
4466 avoid OS X linker bug. |
|
4467 * ArrayN.cc (ArrayN<T>::get_size): Likewise. |
|
4468 |
4139
|
4469 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4470 |
4141
|
4471 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
|
4472 ODESFunc::ODES_jsub): Reorder args for consistency with other |
|
4473 solvers. |
|
4474 * ODESSA.cc: Fix all callers. |
|
4475 |
4139
|
4476 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
|
4477 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., |
|
4478 sum(zeros(1,0)) returns 0, not [](1x0)). |
|
4479 |
4136
|
4480 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4481 |
|
4482 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. |
|
4483 |
4132
|
4484 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4485 |
4133
|
4486 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
|
4487 (ddasrt_f): Combine loops. |
|
4488 |
4132
|
4489 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
|
4490 instead of empty vector if user termninates iteration. |
|
4491 |
4130
|
4492 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4493 |
|
4494 * lo-utils.cc (read_inf_nan_na, octave_read_double, |
|
4495 octave_read_complex, octave_write_double, octave_write_complex): |
|
4496 New functions. |
|
4497 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): |
|
4498 Use octave_write_complex. |
|
4499 (operator >> (std::istream&, const ComplexMatrix&)): |
|
4500 Use octave_read_complex. |
|
4501 * dMatrix.cc (operator << (std::ostream&, double)): |
|
4502 Use octave_write_double. |
|
4503 (operator >> (std::istream&, double)): Use octave_read_double. |
|
4504 |
4126
|
4505 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4506 |
|
4507 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. |
|
4508 * oct-kpse.h: Delete decl. |
|
4509 * pathsearch.cc (dir_path::init): Delete unnecessary call to |
|
4510 ::octave_kpse_clear_dir_cache. |
|
4511 |
4123
|
4512 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4513 |
4124
|
4514 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
|
4515 earlier than 3.0. |
|
4516 |
4123
|
4517 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
|
4518 (liboctave.$(SHLEXT)): Not here. |
|
4519 |
5095
|
4520 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110
|
4521 |
|
4522 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. |
|
4523 |
4108
|
4524 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4525 |
|
4526 * Makefile.in (install-lib): Don't bother with versions for |
|
4527 $(SHLBIN) files. |
|
4528 |
5095
|
4529 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105
|
4530 |
|
4531 * Makefile.in (LIB_DEPS): Include $(LIBS). |
|
4532 |
4102
|
4533 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4534 |
|
4535 * lo-cieee.c: Move everything but lo_ieee_init here. |
|
4536 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): |
|
4537 New functions. |
|
4538 |
|
4539 * Makefile.in (install): No need to use cd to create links. |
|
4540 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. |
|
4541 |
5095
|
4542 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102
|
4543 |
|
4544 * Makefile.in: Merge liboctave with liboct-readline and |
|
4545 liboct-pathsearch. |
|
4546 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. |
|
4547 (libraries): Depend on versioned library. |
|
4548 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- |
|
4549 build unversioned library, symbolic link adds version info. |
|
4550 (install, uninstall): Handle link and load forms of the library |
|
4551 separately. |
|
4552 |
4101
|
4553 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4554 |
|
4555 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and |
|
4556 __CYGWIN__. |
|
4557 |
|
4558 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, |
|
4559 file_ops::dir_sep_chars): New static functions to replace |
|
4560 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. |
|
4561 |
|
4562 * oct-env.cc (octave_env::do_set_program_name): |
|
4563 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. |
|
4564 (octave_env::do_base_pathname): Likewise. |
|
4565 (octave_env::do_make_absolute): Likewise. |
|
4566 |
|
4567 * oct-env.cc (octave_env::do_make_absolute): |
|
4568 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. |
|
4569 (octave_env::do_get_home_directory): Likewise. |
|
4570 |
|
4571 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding |
|
4572 that information here too. |
|
4573 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): |
|
4574 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. |
|
4575 |
|
4576 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and |
|
4577 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. |
|
4578 |
4097
|
4579 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4580 |
|
4581 * oct-env.h (octave_env::current_directory): Now mutable. |
|
4582 (octave_env:do_getcwd): Now const. |
|
4583 |
|
4584 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. |
|
4585 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, |
|
4586 OCTAVE_CURRENT_DIR_STR): New macros. |
|
4587 * oct-env.cc (is_dir_sep): Delete. |
|
4588 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. |
|
4589 (octave_env::do_set_program_name): Likewise. |
|
4590 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep |
|
4591 instead of checking for '/'. |
|
4592 (octave_env::pathname_backup): Likewise. |
|
4593 (octave_env::do_absolute_pathname): Likewise. |
|
4594 (octave_env::do_make_absolute): Likewise. |
|
4595 If dot_path is empty, use getcwd to set current_dir. |
|
4596 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR |
|
4597 instead of "/". |
|
4598 |
5095
|
4599 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4600 |
|
4601 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. |
|
4602 |
5095
|
4603 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093
|
4604 |
|
4605 * oct-env.cc (octave_env::do_absolute_pathname): Recognize |
|
4606 absolute path names under MinGW as well. |
|
4607 |
|
4608 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4609 |
|
4610 * oct-env.cc: Include <cctype> too. |
|
4611 |
4087
|
4612 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4613 |
|
4614 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows |
|
4615 filenames. |
|
4616 (octave_env::do_make_absolute): Check for absolute name with |
|
4617 do_absolute_path. |
4088
|
4618 (octave_env::do_chdir): Likewise. |
|
4619 (is_dir_sep): New function. |
4087
|
4620 |
5095
|
4621 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085
|
4622 |
4086
|
4623 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
|
4624 systems. |
4085
|
4625 |
4083
|
4626 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4627 |
|
4628 * dMatrix.cc (Matrix::read): Clean up error handling logic. |
|
4629 |
4080
|
4630 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4631 |
4081
|
4632 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
|
4633 |
4080
|
4634 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
|
4635 |
5095
|
4636 2002-09-27 Per Persson <persquare@mac.com> |
4076
|
4637 |
|
4638 * oct-group.cc (octave_group::octave_group): Dont' forget to set |
|
4639 gr_gid too. |
|
4640 |
4072
|
4641 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4642 |
4074
|
4643 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
|
4644 lo_ieee_* functions. |
4072
|
4645 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074
|
4646 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
|
4647 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. |
4072
|
4648 * lo-cieee.c: New file. |
4074
|
4649 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072
|
4650 * lo-ieee.h: Now all extern "C". |
4074
|
4651 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
|
4652 lo-mappers.cc and rename from xisnan, xfinite, xisinf. |
|
4653 |
4072
|
4654 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
|
4655 Now extern. |
|
4656 |
4066
|
4657 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4658 |
|
4659 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4660 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4661 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4662 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4663 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4664 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4665 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4666 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4667 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4668 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4669 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4670 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4671 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4672 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4673 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4674 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4675 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4676 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4677 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4678 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4679 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4680 oct-alloc.cc: |
|
4681 If __GNUG__, use pragma interface/implementation. Allow this to |
|
4682 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. |
|
4683 |
5095
|
4684 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064
|
4685 |
4066
|
4686 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
|
4687 system readlink function is not available. |
|
4688 |
4065
|
4689 * lo-mappers.cc (xerf, xerfc): Delete. |
|
4690 * lo-mappers.h (xerf, xerfc): Delete decls. |
|
4691 |
4064
|
4692 * lo-mappers.cc: Remove unused #define M_PI. |
|
4693 * lo-specfun.cc: Add #define M_PI if needed. |
|
4694 |
4062
|
4695 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4696 |
|
4697 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility |
|
4698 that geteuid doesn't exist. |
|
4699 |
|
4700 * LP.h: Rename LP class to octave_LP. |
|
4701 LPsolve.h: Change all uses. |
|
4702 |
|
4703 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove |
|
4704 incorrect token-pasting op. |
|
4705 |
|
4706 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to |
|
4707 define lstat. |
|
4708 |
4061
|
4709 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4710 |
|
4711 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, |
|
4712 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, |
|
4713 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, |
|
4714 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, |
|
4715 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, |
|
4716 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, |
|
4717 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, |
|
4718 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, |
|
4719 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, |
|
4720 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, |
|
4721 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, |
|
4722 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, |
|
4723 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, |
|
4724 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, |
|
4725 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, |
|
4726 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, |
|
4727 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, |
|
4728 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, |
|
4729 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, |
|
4730 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, |
|
4731 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, |
|
4732 oct-alloc.cc: |
|
4733 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ |
|
4734 to decide whether to use the interface/implementation pragmas. |
|
4735 |
4058
|
4736 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4737 |
|
4738 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. |
|
4739 |
4055
|
4740 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
|
4741 |
|
4742 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use |
|
4743 qualified names. |
|
4744 |
4051
|
4745 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4746 |
4054
|
4747 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
|
4748 ArrayN.cc: Add typename where needed. |
4053
|
4749 |
4051
|
4750 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
|
4751 strstream classes directly. |
|
4752 * DASRT.cc: Likewise. |
|
4753 * DASSL.cc: Likewise. |
|
4754 * LSODE.cc: Likewise. |
|
4755 * ODESSA.cc: Likewise. |
|
4756 |
|
4757 * cmd-hist.cc: Don't include <strstream>. |
|
4758 * oct-shlib.cc: Likewise. |
|
4759 |
|
4760 * lo-sstream.h: New file. |
|
4761 |
4049
|
4762 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4763 |
|
4764 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): |
|
4765 New data members. |
|
4766 (LSODE::sanity_checked): Delete unused data member. |
|
4767 |
|
4768 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, |
|
4769 prel_tol, pinfo, piwork, prwork): New data members. |
|
4770 * DASSL.h (DASSL): Likewise. |
|
4771 |
|
4772 * DASRT.h (DASRT::sanity_checked): Delete unused data member. |
|
4773 |
|
4774 * DASRT.cc (DASRT::integrate (double)): Better handling of |
|
4775 initialization, changes in options, etc. |
|
4776 * DASPK.cc (DASPK::do_integrate): Likewise. |
|
4777 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4778 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
4779 |
4047
|
4780 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4781 |
4049
|
4782 * DAEFunc.h (DAEFunc::reset): New data member. |
|
4783 * DAERTFunc.h (DAERTFunc::reset): Likewise. |
|
4784 |
|
4785 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. |
|
4786 (base_diff_eqn::clear_stop_time): Likewise. |
|
4787 |
4047
|
4788 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
|
4789 * DASPK.cc (DASPK::do_integrate (double)): Likewise. |
|
4790 |
5095
|
4791 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044
|
4792 |
|
4793 * DASPK-opts.in, DASPK.h: Move include to .in file. |
|
4794 * DASRT-opts.in, DASRT.h: Likewise. |
|
4795 * DASSL-opts.in, DASSL.h: Likewise. |
|
4796 * LSODE-opts.in, LSODE.h: Likewise. |
|
4797 * NLEqn-opts.in, NLEqn.h: Likewise. |
|
4798 * ODESSA-opts.in, ODESSA.h: Likewise. |
|
4799 |
4038
|
4800 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4801 |
4042
|
4802 * LSODE.cc (LSODE::error_message): Also return current T on |
|
4803 failures when that makes sense. |
4043
|
4804 * DASSL.cc (DASSL::error_message): Likewise. |
|
4805 * DASRT.cc (DASRT::error_message): Likewise. |
|
4806 * DASPK.cc (DASPK::error_message): Likewise. |
|
4807 * ODESSA.cc (ODESSA:error_message): Likewise. |
4042
|
4808 |
4038
|
4809 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
|
4810 $(LIBKPATHSEA) here. |
|
4811 |
4025
|
4812 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4813 |
|
4814 * lo-ieee.cc (lo_ieee_is_NA): New function. |
|
4815 (lo_ieee_is_NaN_or_NA): New function. |
|
4816 (octave_NA): New global value. |
|
4817 (octave_ieee_init): Initialize it. |
|
4818 * lo-mappers.cc (octave_is_NA): New function. |
|
4819 (octave_is_NaN_or_NA): New function. |
|
4820 (xisnan): Return false if NaN looks like a missing value. |
|
4821 (xisnan (const Complex&)): Use xisnan here. |
|
4822 |
4015
|
4823 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4824 |
4017
|
4825 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
|
4826 ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
|
4827 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): |
|
4828 Default value for dim is -1, not 0. |
|
4829 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, |
|
4830 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. |
|
4831 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. |
|
4832 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. |
|
4833 |
4015
|
4834 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
|
4835 New macros. |
|
4836 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and |
|
4837 MX_BASE_REDUCTION_OP. |
|
4838 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. |
|
4839 |
4014
|
4840 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4841 |
4015
|
4842 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
|
4843 Return boolMatrix, not Matrix. |
|
4844 |
|
4845 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. |
|
4846 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. |
|
4847 (Matrix::all): Replace guts with MX_ALL_OP. |
|
4848 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. |
|
4849 (ComplexMatrix::all): Replace guts with MX_ALL_OP. |
|
4850 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. |
|
4851 (boolMatrix::all): Replace guts with MX_ALL_OP. |
|
4852 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. |
|
4853 (charMatrix::all): Replace guts with MX_ALL_OP. |
|
4854 |
|
4855 * dMatrix.h (Matrix::any): New arg, dim. |
|
4856 (Matrix::all): Likewise. |
|
4857 * CMatrix.h (ComplexMatrix::any): Likewise. |
|
4858 (ComplexMatrix::all): Likewise. |
|
4859 * boolMatrix.h (boolMatrix::any): Likewise. |
|
4860 (boolMatrix::all): Likewise. |
|
4861 * chMatrix.h (charMatrix::any): Likewise. |
|
4862 (charMatrix::all): Likewise. |
|
4863 |
4014
|
4864 * Makefile.in: Use $@-t instead of $@.t. |
|
4865 |
4004
|
4866 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4867 |
|
4868 * lo-specfun.cc (gammainc): New arg, err, for scalar version. |
|
4869 Use it in matrix versions to avoid spewing multiple errors. |
|
4870 Call xgammainc instead of dgamit. |
|
4871 |
3998
|
4872 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4873 |
|
4874 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): |
|
4875 Get rows and columns right in loop. |
|
4876 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. |
|
4877 |
|
4878 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4879 |
|
4880 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. |
|
4881 * DASRT.cc (DASRT::integrate): Likewise. |
|
4882 * DASSL.cc (DASSL::do_integrate): Likewise. |
|
4883 |
|
4884 * Quad.cc: Don't pass tolerances in constructors. |
|
4885 |
|
4886 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, |
|
4887 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. |
|
4888 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, |
|
4889 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically |
|
4890 from corresponding .in files. |
|
4891 * LSODE.h, Quad.h: Replace options class definitions with included |
|
4892 file. |
|
4893 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to |
|
4894 create OPTS_INC files from OPTS_INC_SRC files. |
|
4895 (stamp-prereq): New target. |
|
4896 (libraries): Depend on stamp-prereq. |
|
4897 Include stamp-prereq along with $(MAKEDEPS). |
|
4898 |
3997
|
4899 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4900 |
|
4901 * base-de.h (base_diff_eqn::istate): New data member. |
|
4902 (base_diff_eqn::integration_state): New member function. |
|
4903 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding |
|
4904 data members and functions. |
|
4905 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. |
|
4906 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. |
|
4907 |
3990
|
4908 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4909 |
3995
|
4910 * base-de.h (base_diff_eqn::stop_time, |
|
4911 base_diff_eqn::stop_time_set, base_diff_eqn::restart, |
|
4912 base_diff_eqn::integration_error): New data members. |
|
4913 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, |
|
4914 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, |
|
4915 base_diff_eqn::error_message): New member functions. |
|
4916 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, |
|
4917 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data |
|
4918 members and functions. |
|
4919 |
3992
|
4920 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
|
4921 * DASRT.cc (DASRT::DASRT): Set ng here. |
3993
|
4922 (DASRT::integrate): Don't forget to set nn. |
3992
|
4923 |
3991
|
4924 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
|
4925 * DASSL.cc (ddassl_j): Make it work. |
|
4926 * DASPK.cc (ddaspk_j): Likewise. |
|
4927 |
3990
|
4928 * DAE.cc: Delete. |
|
4929 |
|
4930 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE |
|
4931 solving with root finding. |
|
4932 * Makefile.in: Add them to the appropriate lists. |
|
4933 |
|
4934 * base-dae.h: New file. |
|
4935 * Makefile.in (INCLUDES): Add it to the list. |
|
4936 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. |
|
4937 |
3984
|
4938 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4939 |
|
4940 * ODE.h: Move integrate and do_integrate method declarations and |
|
4941 definitions here. |
|
4942 * base-de.h: From here. |
|
4943 |
|
4944 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. |
|
4945 * Makefile.in: Add them to the appropriate lists. |
|
4946 (LIBOCTAVE_CXX_SOURCES): |
|
4947 |
3971
|
4948 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4949 |
|
4950 * NLEqn.cc (NLEqn::error_message): New function. |
|
4951 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. |
|
4952 |
3970
|
4953 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4954 |
|
4955 * lo-utils.cc (octave_fgetl): New function. |
|
4956 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. |
|
4957 |
3959
|
4958 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4959 |
|
4960 * LSODE.cc (LSODE::error_message): New function. |
|
4961 * LSODE.h: Provide decl. |
|
4962 (LSODE::integration_state): New function. |
|
4963 (LSODE::integration_ok): New function. |
|
4964 |
3952
|
4965 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4966 |
3955
|
4967 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
|
4968 (LSODE_options::set_integration_method, |
|
4969 LSODE_options::integration_method): New functions. |
3954
|
4970 |
3952
|
4971 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
|
4972 Change all uses. |
|
4973 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. |
|
4974 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): |
|
4975 New function. |
|
4976 |
|
4977 * Array.h (Array::fortran_vec): New const version. |
|
4978 |
3951
|
4979 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4980 |
|
4981 * cmd-edit.cc (gnu_readline::history_search_backward): New function. |
|
4982 (gnu_readline::history_search_forward): Likewise. |
|
4983 (gnu_readline::gnu_readline): Use them instead of passing pointers |
|
4984 to extern "C" functions to octave_rl_ad_defun. |
|
4985 |
5095
|
4986 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946
|
4987 |
|
4988 * DASPK.cc (ddaspk_psol): Return value. |
|
4989 * oct-rl-edit.c: Use /* ... */ to comment. |
|
4990 |
3945
|
4991 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
4992 |
|
4993 * DASSL.h (DASSL_options::init): Undo previous change. |
|
4994 (DASSL_options::set_absolute_tolerance): Likewise. |
|
4995 * LSODE.h (LSODE_options::init): Likewise. |
|
4996 (LSODE_options::set_absolute_tolerance): Likewise. |
|
4997 |
|
4998 * DASPK.h (DASPK_options::init): Use default absolute tolerance of |
|
4999 sqrt(eps), not eps^2. |
|
5000 DASPK_options::set_absolute_tolerance): Likewise. |
|
5001 |
5095
|
5002 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944
|
5003 |
|
5004 * Array.h (Array<T>::resize_fill_value): Return default initialized |
|
5005 object. |
|
5006 |
3933
|
5007 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5008 |
|
5009 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. |
|
5010 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. |
|
5011 (octave_rl_set_basic_word_break_characters, |
|
5012 octave_rl_set_completer_word_break_characters): New functions. |
|
5013 * oct-rl-edit.h: Provide decls. |
|
5014 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, |
|
5015 gnu_readline::do_set_completer_word_break_characters): New functions. |
|
5016 (command_editor::set_basic_quote_characters, |
|
5017 command_editor::set_completion_append_character): New static functions. |
|
5018 * cmd-edit.h: Provide decls. |
|
5019 (command_editor::do_set_basic_word_break_characters, |
|
5020 command_editor::do_set_completer_word_break_characters): |
|
5021 New virtual functions. |
|
5022 |
|
5023 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h |
|
5024 (resize_fill_value): New static function. |
|
5025 |
|
5026 * Array-idx.h (Array<T>::index): New args, resize_ok and |
|
5027 resize_fill_value. |
|
5028 * Array2-idx.h (Array2<T>::index): Likewise. |
|
5029 * ArrayN-idx.h (ArrayN<T>::index): Likewise. |
|
5030 |
|
5031 * Array2.cc (Array<T>::print_info): New function. |
|
5032 * Array2.h: Provide decl. |
|
5033 |
|
5034 * Array.cc (Array<T>::print_info): New function. |
|
5035 * Array.h: Provide decl. |
|
5036 |
3928
|
5037 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5038 |
|
5039 * idx-vector.h (idx_vector::idx_vector (int)): New function. |
|
5040 (idx_vector_rep::idx_vector_rep (int)): New decl. |
|
5041 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. |
|
5042 |
|
5043 * Array.h (Array<T>::resize_fill_value (void)): New static function. |
|
5044 (assign (Array<LT>&, const Array<RT>&)): Use it. |
|
5045 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. |
|
5046 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. |
|
5047 |
5095
|
5048 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928
|
5049 |
|
5050 * Array3.h (Array3<T>::checkelem): Improve error message. |
|
5051 * ArrayN.h (ArrayN<T>::range_error): Likewise. |
|
5052 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. |
|
5053 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. |
|
5054 |
3919
|
5055 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5056 |
|
5057 * DASSL.h (DASSL_options::init): Undo previous change. |
|
5058 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5059 |
3912
|
5060 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5061 |
|
5062 * DASPK.h, DASPK.cc: New files. |
|
5063 * Makefile.in: Add them to the appropriate lists. |
|
5064 |
3904
|
5065 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5066 |
|
5067 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): |
|
5068 Simplify indexing when one or both of the indices are empty. |
|
5069 |
3896
|
5070 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5071 |
|
5072 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. |
|
5073 (DASSL_options::set_absolute_tolerance): Likewise. |
|
5074 * LSODE.h (LSODE_options::init): Likewise. |
|
5075 (LSODE_options::set_absolute_tolerance): Likewise. |
|
5076 |
5095
|
5077 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887
|
5078 |
|
5079 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. |
|
5080 * file-stat.cc (file_stat::update_internal, file_stat::copy): |
|
5081 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. |
|
5082 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. |
|
5083 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. |
|
5084 * file-stat.h: Likewise. |
|
5085 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, |
|
5086 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE |
|
5087 instead of HAVE_STRUCT_TM_TM_ZONE. |
|
5088 * strftime.c: Likewise. |
|
5089 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, |
|
5090 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, |
|
5091 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, |
|
5092 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
|
5093 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, |
|
5094 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, |
|
5095 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. |
|
5096 |
5095
|
5097 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883
|
5098 |
|
5099 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition |
|
5100 internally when the user requests it. |
|
5101 * CmplxQRP.cc (ComplexQRP::init): Ditto. |
|
5102 * dbleQR.cc (QR::init): Ditto. |
|
5103 * dbleQRP.cc (QRP::init): Ditto. |
|
5104 |
3874
|
5105 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5106 |
|
5107 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a |
|
5108 definition for NULL by passing 0 as the last arg to fftwnd_one. |
|
5109 (octave_fftw::ifft2d): Likewise. |
|
5110 |
5095
|
5111 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873
|
5112 |
|
5113 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). |
|
5114 |
3867
|
5115 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5116 |
|
5117 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. |
|
5118 (LS_DO_WRITE): Likewise. |
|
5119 |
3864
|
5120 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5121 |
|
5122 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. |
|
5123 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. |
|
5124 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. |
|
5125 |
|
5126 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, |
|
5127 MX_REDUCTION_OP_ROW_EXPR): New macros. |
|
5128 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. |
|
5129 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. |
|
5130 |
|
5131 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. |
|
5132 DIM == -1 now means no orientation for vector sums. |
|
5133 * dMatrix.cc (ComplexMatrix::sumsq): Use it. |
|
5134 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. |
|
5135 |
3858
|
5136 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5137 |
|
5138 * Range.cc (Range::nelem_internal): Special case ranges that must |
|
5139 have zero elements. |
|
5140 |
3854
|
5141 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5142 |
3857
|
5143 * Makefile.in: Split out readline and pathsearch functionality |
|
5144 into separate liboct-readline and liboct-pathsearch libraries. |
|
5145 |
3854
|
5146 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857
|
5147 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
|
5148 to do nothing for this call to rl_clear_screen. |
3854
|
5149 |
3849
|
5150 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5151 |
|
5152 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied |
|
5153 function. |
|
5154 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. |
|
5155 |
3838
|
5156 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5157 |
|
5158 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, |
|
5159 Matrix::inverse): Handle the case of rcond being a NaN the same as |
|
5160 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. |
|
5161 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, |
|
5162 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. |
|
5163 |
3836
|
5164 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5165 |
|
5166 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. |
|
5167 |
|
5168 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, |
|
5169 Array-b.cc: Instantiate three arg assign functions. |
|
5170 |
|
5171 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): |
|
5172 New arg, resize_fill_value. |
|
5173 * ArrayN.h: Provide declaration. |
|
5174 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling |
|
5175 three arg version. |
|
5176 |
|
5177 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): |
|
5178 New arg, resize_fill_value. |
|
5179 * Array3.h: Provide declaration. |
|
5180 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling |
|
5181 three arg version. |
|
5182 |
|
5183 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): |
|
5184 New arg, resize_fill_value. |
|
5185 * Array2.h: Provide declaration. |
|
5186 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling |
|
5187 three arg version. |
|
5188 |
|
5189 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): |
|
5190 New arg, resize_fill_value. |
|
5191 * Array.h: Provide declaration. |
|
5192 (assign (Array<LT>&, const Array<RT>&): Define here by calling |
|
5193 three arg version. |
|
5194 |
3833
|
5195 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5196 |
|
5197 * pathsearch.cc (dir_path::set_program_name): Set the environment |
|
5198 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS |
|
5199 to the empty string. |
|
5200 |
3832
|
5201 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5202 |
|
5203 * Array2.h (Array2<T>::operator = (const Array2<T>&)): |
|
5204 Don't check for rep != a.rep. |
|
5205 |
3827
|
5206 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
|
5207 |
|
5208 * oct-fftw.h, oct-fftw.cc: New files. |
|
5209 * Makefile.in (INCLUDES, SOURCES): Add new files. |
|
5210 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, |
|
5211 ifourier2d}): Use fftw if available. |
|
5212 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): |
|
5213 Likewise. |
|
5214 |
3821
|
5215 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5216 |
|
5217 * Makefile.in (install-lib): Don't use mk-libdir-link. |
|
5218 (install-inc): Don't use mk-includedir-link. |
|
5219 |
3803
|
5220 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5221 |
|
5222 * lo-cutils.c (octave_gethostname): New function. |
|
5223 * lo-utils.h: Provide declaration. |
|
5224 * oct-env.cc (octave_env::do_get_host_name): |
|
5225 Call octave_gethostname, instead of gethostname. |
|
5226 |
|
5227 * lo-cutils.c (gethostname): Define here. |
|
5228 * lo-sysdep.cc: Not here. |
|
5229 |
3786
|
5230 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5231 |
|
5232 * lo-cutils.c: Don't declare strptime. |
|
5233 (oct_strptime): Cast return type of strptime to char*. |
|
5234 |
3777
|
5235 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5236 |
3779
|
5237 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
|
5238 (octave_rl_set_name): call rl_re_read_init_file with two args. |
|
5239 (octave_rl_read_init_file): Ditto. |
|
5240 (octave_rl_clear_undo_list): Call rl_free_undo_list, not |
|
5241 free_undo_list. |
|
5242 (octave_rl_completion_matches): Call rl_completion_matches, not |
|
5243 completion_matches. |
|
5244 (octave_rl_enable_paren_matching): New function. |
|
5245 (octave_rl_set_blink_matching_paren_flag): Delete. |
|
5246 (octave_rl_get_blink_matching_paren_flag): Delete. |
|
5247 |
3777
|
5248 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
|
5249 tanh (const Complex&)): Declare and define if not |
|
5250 CXX_ISO_COMPLIANT_LIBRARY. |
|
5251 |
3776
|
5252 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5253 |
|
5254 * lo-mappers.h (tanh (const Complex&)): Only declare if not |
|
5255 CXX_ISO_COMPLIANT_LIBRARY. |
|
5256 |
3775
|
5257 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
|
5258 |
3776
|
5259 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
|
5260 CXX_ISO_COMPLIANT_LIBRARY. |
|
5261 |
3775
|
5262 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
|
5263 archive libraries containing templates. |
|
5264 |
|
5265 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, |
|
5266 get_zero_len_size, all_colon_equiv): Inline. |
|
5267 (ArrayN<T>::index): Rename idx to arr_idx. |
|
5268 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, |
|
5269 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, |
|
5270 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. |
|
5271 |
|
5272 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5273 |
|
5274 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), |
|
5275 log10 (const Complex&)): Delete. |
|
5276 |
|
5277 * oct-cmplx.h: Define forwarding functions for real, imag, abs, |
|
5278 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, |
|
5279 sinh, sqrt, tan, and tanh. |
|
5280 |
3769
|
5281 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5282 |
|
5283 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: |
|
5284 Add std:: namespace qualifier as needed. |
|
5285 |
|
5286 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. |
|
5287 Change all uses to match. |
|
5288 |
3767
|
5289 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5290 |
|
5291 * lo-cutils.c: Don't delcare strptime. |
|
5292 |
3760
|
5293 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5294 |
|
5295 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): |
|
5296 Return correct size result for empty matrix case. |
|
5297 |
3757
|
5298 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5299 |
|
5300 * lo-mappers.cc (xmin (const Complex&, const Complex& y): |
|
5301 If args are equal in magnitude, return first arg instead of |
|
5302 second. |
|
5303 |
3752
|
5304 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5305 |
3755
|
5306 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
|
5307 then try harder to compute correct number of elements. |
3753
|
5308 |
3752
|
5309 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
|
5310 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. |
|
5311 |
3750
|
5312 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5313 |
3751
|
5314 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
|
5315 Rename n_intervals to be n_elt. |
|
5316 |
3750
|
5317 * strptime.c: Surround everything after including config.h in |
|
5318 #ifndef HAVE_STRPTIME ... #endif. |
|
5319 |
3742
|
5320 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5321 |
|
5322 * Array-idx.h (assign): When resizing, cast fill value to LT. |
|
5323 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. |
|
5324 |
3741
|
5325 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5326 |
|
5327 * MArray-defs.h: Protect against multiple inclusion. |
|
5328 |
3739
|
5329 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5330 |
|
5331 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the |
|
5332 end of the list, to be compatible with previous versions of Octave. |
|
5333 |
3736
|
5334 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5335 |
|
5336 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, |
|
5337 since mktime is supposed to `normalize' the results for us. |
|
5338 |
3731
|
5339 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5340 |
|
5341 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices |
3732
|
5342 and vectors. Use xelem for faster access to elements when copying. |
3731
|
5343 |
3726
|
5344 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5345 |
|
5346 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): |
|
5347 Correct indexing for operation across rows. |
|
5348 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. |
|
5349 |
3725
|
5350 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
|
5351 |
|
5352 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying |
|
5353 elements if arg is a colon. |
|
5354 |
5095
|
5355 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723
|
5356 |
3795
|
5357 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723
|
5358 (Matrix::cumsum (int) const): Likewise. |
|
5359 (Matrix::prod (int) const): Likewise. |
|
5360 (Matrix::sum (int) const): Likewise. |
|
5361 (Matrix::sumsq (int) const): Likewise. |
|
5362 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. |
|
5363 (ComplexMatrix::cumsum (int) const): Likewise. |
|
5364 (ComplexMatrix::prod (int) const): Likewise. |
|
5365 (ComplexMatrix::sum (int) const): Likewise. |
|
5366 (ComplexMatrix::sumsq (int) const): Likewise. |
|
5367 |
3722
|
5368 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5369 |
|
5370 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set |
|
5371 size if Array<T>::index returns an empty array. |
|
5372 |
3710
|
5373 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5374 |
|
5375 * file-ops.cc (file_ops::link, file_ops::symlink, |
|
5376 file_ops::readlink): New functions. |
|
5377 |
3709
|
5378 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5379 |
|
5380 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is |
|
5381 indexed, always return an object the same size as the index arg. |
|
5382 |
|
5383 * oct-time.cc (octave_base_tm::strftime): Return empty string for |
|
5384 empty format. |
|
5385 |
3706
|
5386 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5387 |
|
5388 * lo-cutils.c (oct_strptime): New function. |
|
5389 * oct-time.cc (octave_strptime::init): Call it instead of strptime. |
|
5390 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. |
|
5391 |
3702
|
5392 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5393 |
3703
|
5394 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
|
5395 |
3702
|
5396 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
|
5397 |
3689
|
5398 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5399 |
|
5400 * dMatrix.h (read_int): Provide declaration. |
|
5401 |
3688
|
5402 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
|
5403 |
|
5404 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. |
|
5405 (write_doubles): Ditto. |
|
5406 * data-conv.h: Ditto. |
|
5407 (enum save_type): New values, LS_U_LONG and LS_LONG. |
|
5408 |
3685
|
5409 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5410 |
|
5411 * boolMatrix.h: Declare MM_CMP_OPS here. |
|
5412 * boolMatrix.cc: Define them here. |
|
5413 |
3680
|
5414 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5415 |
|
5416 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is |
|
5417 previously undefined and set size of x to size of bool index. |
|
5418 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): |
|
5419 Allow z_len to be zero. |
|
5420 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. |
|
5421 If frozen, don't assert that frozen_at_z_len == z_len. |
|
5422 |
3670
|
5423 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5424 |
|
5425 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen |
|
5426 instead of rl_clear_screen. |
|
5427 |
3665
|
5428 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5429 |
|
5430 * Array-d.cc: Instantiate ArrayN<double> here too. |
|
5431 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. |
|
5432 * Makefile.in: Add them to the appropriate lists. |
|
5433 |
3657
|
5434 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5435 |
|
5436 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. |
|
5437 |
3635
|
5438 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5439 |
|
5440 * lo-sysdep.h: octave_chdir returns int, not bool. |
|
5441 |
3615
|
5442 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5443 |
|
5444 * Makefile.in (liboctave.$(SHLEXT)): Delete target |
|
5445 before rebuilding. |
|
5446 |
5095
|
5447 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615
|
5448 |
5261
|
5449 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615
|
5450 (libraries): Depend only on library targets, not archive members. |
|
5451 |
3613
|
5452 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5453 |
|
5454 * Makefile.in: (objects): New target. |
|
5455 |
|
5456 * lo-cutils.c: New file. |
|
5457 * Makefile.in (SOURCES): Add it to the list. |
|
5458 * lo-utils.h: Declare octave_qsort here. |
|
5459 * Array.h (Array::qsort): Use it here. |
|
5460 |
3607
|
5461 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5462 |
|
5463 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. |
|
5464 |
3598
|
5465 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5466 |
|
5467 * oct-rl-hist.c (octave_history_list): Do something when not |
|
5468 printing line numbers. Fix reallocation of retval. |
|
5469 |
3597
|
5470 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5471 |
|
5472 * Makefile.in (install-inc): Install files in |
|
5473 $(octincludedir)/octave. |
|
5474 (uninstall): Remove them from the correct directory too. |
|
5475 |
|
5476 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if |
|
5477 they are not already defined. |
|
5478 |
3588
|
5479 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5480 |
|
5481 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: |
|
5482 Delete declarations and definitions of mixed-type vector-vector ops. |
|
5483 |
3585
|
5484 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5485 |
|
5486 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS |
|
5487 matrix and vector objects. |
|
5488 |
|
5489 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to |
|
5490 return type from second arg type. |
|
5491 (MDM_BIN_OP): Likewise, for first arg type. |
|
5492 |
|
5493 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, |
|
5494 Matrix::fourier2d, Matrix::ifourier2d): Likewise. |
|
5495 |
|
5496 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly |
|
5497 request ColumnVector to ComplexColumnVector, and Matrix to |
|
5498 ComplexMatrix conversions. |
|
5499 |
|
5500 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its |
|
5501 initial value using ComplexMatrix constructor. |
|
5502 |
|
5503 * CColVector.cc (product, quotient, |
|
5504 operator * (const DiagMatrix&, const ComplexColumnVetor&)): |
|
5505 Fix type of returned value. |
|
5506 * CDiagMatrix.cc (ComplexDiagMatrix::row, |
|
5507 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. |
|
5508 |
|
5509 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, |
|
5510 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, |
|
5511 dRowVector.h: Declare some constructors explicit, to disallow |
|
5512 potentially problematic automatic type conversions. |
|
5513 |
3580
|
5514 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5515 |
3582
|
5516 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
|
5517 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: |
|
5518 More new files. |
|
5519 * Makefile.in: Add them to the appropriate lists. |
|
5520 |
|
5521 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, |
|
5522 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, |
|
5523 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, |
|
5524 vx-s-crv.cc:, New files. |
|
5525 * Makefile.in: Add them to the appropriate lists. |
|
5526 |
|
5527 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: |
|
5528 Delete scalar by vector and vector by scalar binary ops. |
|
5529 |
3580
|
5530 * MArray-defs.h: More new macros to handle MDiagArray operators. |
|
5531 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. |
|
5532 |
3573
|
5533 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5534 |
3578
|
5535 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
|
5536 rl_event_hook before casting to void **. |
|
5537 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. |
|
5538 |
3574
|
5539 * MArray-defs.h: Many new macros to make declaration and |
|
5540 definition of operators more consistent. |
|
5541 |
|
5542 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, |
|
5543 CRowVector.h, dMatrix.h, CMatrix.h: Use them. |
3573
|
5544 |
3569
|
5545 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5546 |
3572
|
5547 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
|
5548 (Matrix::ifourier2d): Likewise. |
|
5549 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. |
|
5550 (ComplexMatrix::ifourier2d): Likewise. |
|
5551 |
3569
|
5552 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
|
5553 |
3504
|
5554 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5555 |
3519
|
5556 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
|
5557 readline library. |
|
5558 * Makefile.in: Add them to the appropriate lists. |
|
5559 |
|
5560 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU |
|
5561 readline history library. |
|
5562 * Makefile.in: Add them to the appropriate lists. |
|
5563 |
3517
|
5564 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
|
5565 (LS_DO_READ): Likewise, for istream::read. |
3518
|
5566 (write_doubles): Likewise. |
|
5567 (read_doubles): Likewise. |
3517
|
5568 |
3516
|
5569 * oct-env.cc (octave_env::do_polite_directory_format): |
|
5570 Use operator== and substr method to do limited-length string |
|
5571 comparison. |
|
5572 |
3513
|
5573 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512
|
5574 |
3511
|
5575 * Quad.h: Use do_integrate as name of pure virtual function. |
|
5576 |
3508
|
5577 * base-de.h: Use tt instead of t as arg names. |
3511
|
5578 Add method with tcrit arg. |
|
5579 |
3509
|
5580 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508
|
5581 |
3507
|
5582 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
|
5583 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. |
|
5584 * Quad.cc (quad_fcn_ptr): Ditto. |
|
5585 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. |
|
5586 |
3505
|
5587 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519
|
5588 * Makefile.in: Add them to the appropriate lists. |
3505
|
5589 |
|
5590 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. |
3519
|
5591 * Makefile.in: Add them to the appropriate lists. |
3505
|
5592 |
3504
|
5593 * dMatrix.cc (write_int, read_int): No longer declared static. |
|
5594 |
|
5595 * CDiagMatrix.h: Delete decls for friend operators that are |
|
5596 handled by MDiagArray2 class. Move others outside class decl and |
|
5597 strip friend status. |
|
5598 * dDiagMatrix.h: Likewise. |
|
5599 |
|
5600 * MArray.h: Delete decls for friend operators inside class decl. |
|
5601 * MArray2.h: Ditto. |
|
5602 * MDiagArray2.h: Ditto. |
|
5603 |
|
5604 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all |
|
5605 necessary parameters. Don't allocate memory in the macro. Change |
|
5606 all uses. |
|
5607 |
|
5608 * dMatrix.h (class Matrix): Delete `friend class' decls. |
|
5609 * CMatrix.h (class ComplexMatrix): Ditto. |
|
5610 |
|
5611 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, |
|
5612 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, |
|
5613 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to |
|
5614 avoid type conflicts. Change all uses. |
|
5615 |
|
5616 * strptime.c (__mon_yday): Fix size of array decl. |
|
5617 |
|
5618 * mx-inlines.cc: Use `xnot' instead of `not' for function name. |
|
5619 |
|
5620 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous |
|
5621 default value for second arg. |
|
5622 |
|
5623 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to |
|
5624 references to ArrayRep. |
|
5625 |
3503
|
5626 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5627 |
3504
|
5628 * Array.h (Array::ArrayRep): Now protected, not private. |
3503
|
5629 |
|
5630 * All source files: Include iostream, fstream, strstream, |
|
5631 etc. as needed instead of using forward declarations for these |
3504
|
5632 classes. Add std:: qualifier as needed. |
3503
|
5633 |
3498
|
5634 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5635 |
|
5636 * oct-time.cc: Declare strptime extern "C". |
|
5637 |
3496
|
5638 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5639 |
|
5640 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. |
|
5641 |
3488
|
5642 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5643 |
3492
|
5644 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
|
5645 * Array3.h, Array3.cc: Use it in constructors and resize methods |
|
5646 to get total size to be allocated. |
|
5647 |
3488
|
5648 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
|
5649 as bool, not int. |
|
5650 |
3482
|
5651 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5652 |
|
5653 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5654 Allow A(idx) = RHS if idx is a boolean index with the same shape |
|
5655 as A, even when do_fortran_indexing is not enabled. |
|
5656 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). |
|
5657 |
3473
|
5658 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5659 |
3480
|
5660 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
|
5661 function pointer as final arg. Passed function (if any) will be |
|
5662 called for singularity errors. |
|
5663 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. |
|
5664 |
|
5665 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. |
|
5666 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. |
|
5667 |
3475
|
5668 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
|
5669 No longer bother with infinity or quiet_nan. |
|
5670 |
3473
|
5671 * Array2.cc (Array2<T>::get_size): New function. |
|
5672 (Array2<T>::Array2, Array2<T>::resize): Use it. |
|
5673 |
3472
|
5674 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5675 |
|
5676 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): |
|
5677 New function. |
|
5678 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
5679 Use it when indexing with one arg instead of faking a second one. |
|
5680 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): |
|
5681 Return empty matrices with the correct dimensions for A(:,:) = [] |
|
5682 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all |
|
5683 rows or columns. |
|
5684 |
|
5685 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool |
|
5686 vector that is all true values with a length equal to n as colon |
|
5687 equivalent. |
|
5688 |
3470
|
5689 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5690 |
|
5691 * strptime.c: Only include langinfo.h if _LIBC is defined. |
|
5692 |
5095
|
5693 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468
|
5694 |
|
5695 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling |
|
5696 operations directly in step 2 and reverse step 2. |
|
5697 * dMatrix.cc (Matrix::expm): Apply permutation and scaling |
|
5698 operations directly in step 2 and reverse step 2. |
|
5699 |
3465
|
5700 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5701 |
|
5702 * oct-time.h, oct-time.cc (octave_strptime): New class. |
|
5703 |
|
5704 * strptime.c: New file, from glibc 2.1.2. |
|
5705 * Makefile.in (SOURCES): Add strptime.c to the list. |
|
5706 |
3419
|
5707 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5708 |
|
5709 * MArray.h (MArray <const Array<T>&)): New constructor. |
|
5710 |
3415
|
5711 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5712 |
|
5713 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing |
|
5714 NULL directory list returned from kpse_element_dirs |
|
5715 |
3375
|
5716 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5717 |
|
5718 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. |
|
5719 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF |
|
5720 directly, instead of calling ZGESV. |
|
5721 |
3358
|
5722 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5723 |
|
5724 * data-conv.cc (init_sized_type_lookup_table): New function. |
|
5725 (string_to_data_type): Use it to improve lookup of data types. |
|
5726 |
3354
|
5727 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5728 |
|
5729 * dMatrix.cc (is_symmetric): Move here from Array2.cc. |
|
5730 * Array2.h (is_symmetric): Delete declaration. |
|
5731 |
3347
|
5732 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5733 |
|
5734 * oct-env.cc (do_get_user_name): Reverse sense of test. |
|
5735 |
3344
|
5736 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5737 |
|
5738 * oct-time.cc (Fstrftime): Undo previous change. |
|
5739 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5740 |
3334
|
5741 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5742 |
3336
|
5743 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
|
5744 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. |
|
5745 |
3334
|
5746 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
|
5747 Don't forget to pass length of third string argument to dgeesx. |
|
5748 |
|
5749 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length |
|
5750 of third string argument to zgeesx. |
|
5751 |
3333
|
5752 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5753 |
|
5754 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): |
|
5755 On errors, simply return `T ()'. |
|
5756 (DiagArray2<T>::checkelem (int, int)): Likewise. |
|
5757 |
5095
|
5758 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331
|
5759 |
|
5760 * dMatrix.cc (Matrix::expm): Do balancing here instead of using |
|
5761 AEPBALANCE class. |
|
5762 * CMatrix.cc (ComplexMatrix::expm): Likewise. |
|
5763 |
3325
|
5764 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5765 |
|
5766 * oct-shlib.cc, oct-shlib.h: New files. |
|
5767 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5768 |
3322
|
5769 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5770 |
|
5771 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. |
|
5772 * dRowVector.cc (linspace): Ditto. |
|
5773 |
|
5774 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. |
|
5775 (octave_time::octave_time (const octave_base_tm&)): Likewise. |
|
5776 |
3312
|
5777 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5778 |
|
5779 * DASSL.cc (DASSL::do_integrate (double)): If we have a function |
|
5780 to evaluate the Jacobian, set info(4), not iwork(4). |
|
5781 Set rwork(1) to the maximum step size, not rwork(2). |
|
5782 |
3290
|
5783 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5784 |
|
5785 * oct-time.cc: Include <climits>. |
|
5786 |
3281
|
5787 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5788 |
|
5789 * cmd-edit.h (command_editor::do_resize_terminal): New function. |
|
5790 * cmd-edit.cc (command_editor::resize_terminal): New function. |
|
5791 (gnu_readline::do_resize_terminal): New function. |
|
5792 |
3268
|
5793 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5794 |
|
5795 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. |
|
5796 * lo-ieee.c: Likewise. |
|
5797 Delete extern "C" declarations for infinity and quiet_nan. |
|
5798 |
3262
|
5799 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5800 |
3263
|
5801 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
|
5802 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions |
|
5803 `inline', not `static inline'. |
|
5804 |
3262
|
5805 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
|
5806 then cast to const int * to compare. |
|
5807 |
3257
|
5808 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5809 |
|
5810 * DAEFunc.h: Remove useless preprocessor conditional. |
|
5811 |
3255
|
5812 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5813 |
3257
|
5814 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
|
5815 Use octave_time object instead of time_t. |
|
5816 |
|
5817 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, |
|
5818 file_stat::fs_ctime): Now octave_time objects. |
|
5819 (file_stat::atime, file_stat::mtime, file_stat::ctime): |
|
5820 Return octave_time objects. |
|
5821 (file_stat::is_newer): Args are now octave_time objects instead of |
|
5822 time_t. |
|
5823 |
3255
|
5824 * oct-time.h (octave_time::as_double): Delete. |
|
5825 (octave_time::operator double ()): New function. |
|
5826 (octave_time::operator time_t ()): New function. |
|
5827 (octave_time::ctime): New function. |
|
5828 (octave_base_tm::strftime): Renamed from format_as_string. |
|
5829 (octave_base_tm::asctime): New function. |
|
5830 (operator == (const octave_time&, const octave_time&), |
|
5831 operator != (const octave_time&, const octave_time&), |
|
5832 operator < (const octave_time&, const octave_time&), |
|
5833 operator <= (const octave_time&, const octave_time&), |
|
5834 operator > (const octave_time&, const octave_time&), |
|
5835 operator >= (const octave_time&, const octave_time&)): |
|
5836 New comparison functions. |
|
5837 |
|
5838 * strftime.c: Move here from src directory. |
|
5839 * Makefile.in (SOURCES): Add it to the list. |
|
5840 |
|
5841 * oct-time.h (octave_time::octave_time (time_t)): New constructor. |
|
5842 |
3253
|
5843 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5844 |
|
5845 * oct-time.h, oct-time.cc: New files. |
|
5846 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
5847 |
|
5848 * systime.h: Move here from src directory. |
|
5849 * Makefile.in (INCLUDES): Add it to the list. |
|
5850 |
3248
|
5851 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5852 |
|
5853 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. |
|
5854 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. |
|
5855 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. |
|
5856 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. |
|
5857 |
|
5858 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. |
|
5859 |
3243
|
5860 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5861 |
|
5862 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. |
|
5863 |
|
5864 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5865 |
|
5866 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a |
|
5867 column vector for A(:), for compatibility with Matlab. |
|
5868 |
|
5869 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5870 |
|
5871 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set |
|
5872 iopt when there are optional inputs in rwork or iwork. |
|
5873 |
3238
|
5874 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5875 |
|
5876 * Makefile.in (libraries): Use the libfoo.a(objects) method of |
|
5877 creating static libs. |
|
5878 |
5095
|
5879 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238
|
5880 |
|
5881 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 |
|
5882 and uint32 data types. |
|
5883 |
|
5884 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5885 |
|
5886 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code |
|
5887 for Linux. Remove old Linux-specific code. |
|
5888 |
3233
|
5889 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5890 |
|
5891 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): |
|
5892 Don't require lengths to be equal. |
|
5893 * CMatrix.cc (operator * (const ComplexColumnVector& v, const |
|
5894 ComplexRowVector& a)): Likewise |
|
5895 |
5095
|
5896 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225
|
5897 |
|
5898 * statdefs.h: Only define mode_t if not already defined. |
|
5899 |
5095
|
5900 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225
|
5901 |
|
5902 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero |
|
5903 when appropriate. |
|
5904 |
|
5905 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5906 |
|
5907 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name |
|
5908 before calling rl_initialize. |
|
5909 |
3220
|
5910 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5911 |
|
5912 * lo-specfun.cc (besselh, airy, biry): New functions. |
|
5913 Update Bessel function support to use library by D. E. Amos. |
|
5914 |
3219
|
5915 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5916 |
|
5917 * cmd-edit.h (command_editor::readline): Add new variation that |
|
5918 allows EOF information to be passed back to caller. |
|
5919 |
|
5920 * dMatrix.cc (Matrix::read): Do the right thing for EOF when |
|
5921 amount of data to read is unspecified. |
|
5922 |
3215
|
5923 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5924 |
3219
|
5925 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
|
5926 (DEFINE_OCTAVE_ALLOCATOR): Ditto. |
|
5927 |
3215
|
5928 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
|
5929 Add volatile qualifier to void* arg. |
|
5930 Cast volatile void* arg to volatile char*. |
|
5931 |
|
5932 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5933 |
|
5934 * cmd-edit.h (command_editor::do_set_event_hook): New function. |
|
5935 (command_editor::do_restore_event_hook): Ditto. |
|
5936 * cmd-edit.cc (command_editor::set_event_hook): Ditto. |
|
5937 (command_editor::restore_event_hook): Ditto. |
|
5938 (gnu_readline::do_set_event_hook): Ditto. |
|
5939 (gnu_readline::do_restore_event_hook): Ditto. |
|
5940 (gnu_readline::previous_event_hook): New data member. |
|
5941 (gnu_readline::gnu_readline): Initialize previous_event_hook. |
|
5942 |
3206
|
5943 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5944 |
|
5945 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. |
|
5946 |
|
5947 * Makefile.in (stmp-pic): New target. |
|
5948 ($(PICOBJ)): Depend on stmp-pic, not pic. |
|
5949 (clean): Remove stmp-pic |
|
5950 |
|
5951 * Makefile.in: Undo previous change to avoid optmization when |
|
5952 compiling lo-ieee.cc. |
|
5953 |
|
5954 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5955 |
|
5956 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and |
|
5957 imaginary parts. |
|
5958 (xisinf): Define in terms of xisinf for real and imaginary parts. |
|
5959 |
3203
|
5960 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5961 |
|
5962 * boolMatrix.cc (boolMatrix::operator !): New function. |
|
5963 |
3196
|
5964 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5965 |
|
5966 * pathsearch.h (dir_path::default_path): New data member. |
|
5967 * pathsearch.cc (dir_path::init): Use it. |
|
5968 |
|
5969 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. |
|
5970 |
3189
|
5971 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5972 |
|
5973 * chMatrix.cc (charMatrix::extract): New function. |
|
5974 (charMatrix::charMatrix (char c)): New constructor. |
|
5975 |
|
5976 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5977 |
|
5978 * cmd-edit.h: (command_editor::do_read_init_file): New function. |
|
5979 * cmd-edit.cc (command_editor::read_init_file): New function. |
|
5980 (gnu_readline::do_read_init_file): Likewise. |
|
5981 |
3185
|
5982 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5983 |
|
5984 * oct-env.cc (octave_env::do_get_home_directory): |
|
5985 If HOME can't be found, set it to "/". |
|
5986 (octave_env::do_get_user_name) |
|
5987 If user name can't be found, set it to "unknown". |
|
5988 (octave_env::do_get_host_name) |
|
5989 If host name can't be found, set it to "unknown". |
|
5990 |
|
5991 * pathsearch.h (dir_path::rehash): New function. |
|
5992 * pathsearch.cc (dir_path::init): Clear kpathsea's internal |
|
5993 diretcory cache before doing initialization. |
|
5994 |
3180
|
5995 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
5996 |
3185
|
5997 * dMatrix.cc (Qzval): Delete. |
|
5998 (qzhes, qzit, qzval): Delete F77_FCN declarations. |
|
5999 * dMatrix.h (Qzval): Delete declaration. |
|
6000 |
|
6001 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. |
|
6002 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. |
|
6003 * mx-ext.h: Don't include dbleGEPBAL. |
|
6004 |
3180
|
6005 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
|
6006 static_cast. |
|
6007 |
|
6008 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6009 |
|
6010 * dMatrix.cc (Matrix::read): Skip after reading, not before. |
|
6011 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. |
|
6012 |
|
6013 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6014 |
|
6015 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on |
|
6016 HUGE_VAL and NAN. |
|
6017 |
|
6018 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6019 |
|
6020 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): |
|
6021 Handle x(i) = scalar for do_fortran_indexing == 1. |
|
6022 |
|
6023 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6024 |
|
6025 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
|
6026 Alloctate space before attempting to use it. |
|
6027 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. |
|
6028 |
5095
|
6029 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178
|
6030 |
|
6031 * EIG.cc (EIG::init): Move invariant code outside loop. |
|
6032 |
|
6033 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6034 |
|
6035 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result |
|
6036 have the same size as the operands. |
|
6037 |
|
6038 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6039 |
|
6040 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the |
|
6041 call to ddassl, set integration_error to 1 before calling the |
|
6042 error handler and returning. |
|
6043 * LSODE.cc (LSODE::do_integrate): Likewise. |
|
6044 |
3177
|
6045 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6046 |
|
6047 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if |
|
6048 do_fortran_indexing is set, A([]) = scalar. |
|
6049 * Array-idx.h (assign): Allow A([]) = scalar. |
|
6050 |
3176
|
6051 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6052 |
|
6053 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not |
|
6054 if dm_nc == 0. |
|
6055 |
3174
|
6056 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6057 |
|
6058 * pathsearch.h (dir_path::p_orig): New field. |
|
6059 * pathsearch.cc (dir_path::init): Perform variable and tilde |
|
6060 expansion on the original path here. |
|
6061 (dir_path::find_all): Don't do anything if not initialized. |
|
6062 |
3164
|
6063 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6064 |
|
6065 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing |
|
6066 is not set. |
|
6067 (index): Allow x = zeros (2, 0); x(1,:) to work. |
|
6068 |
|
6069 * lo-specfun.cc (gammainc): Use dgamit to compute |
|
6070 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just |
|
6071 \int_0^x exp(-t) t^(a-1) dt. |
|
6072 |
|
6073 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6074 |
|
6075 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, |
|
6076 Array-s.cc: Change return types of all `assign' explicit |
|
6077 instantiations to be int, not void, to match the template decl in |
|
6078 Array.h. |
|
6079 |
3162
|
6080 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6081 |
|
6082 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. |
|
6083 |
3156
|
6084 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6085 |
|
6086 * lo-specfun.cc (xgamma, xlgamma): Define here. |
|
6087 * lo-mappers.cc: Not here. |
|
6088 |
|
6089 * lo-specfun.h: Declare xgamma and xlgamma here. |
|
6090 * lo-mappers.h: Not here. |
|
6091 |
|
6092 * lo-specfun.h: Never declare gamma or lgamma. |
|
6093 |
3154
|
6094 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6095 |
|
6096 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an |
|
6097 empty matrix of any dimension. |
|
6098 |
3145
|
6099 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6100 |
3147
|
6101 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
|
6102 |
3146
|
6103 * lo-specfun.cc: Don't include dbleBessel.h. |
|
6104 |
|
6105 * Makefile.in (INCLUDES): Delete oct-math.h from the list. |
|
6106 |
3145
|
6107 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
|
6108 * file-stat.h (file_stat::operator bool ()): Likewise. |
|
6109 * idx-vector.h (idx_vector::operator bool ()): Likewise. |
|
6110 * oct-group.h (octave_group::operator bool ()): Likewise. |
|
6111 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. |
|
6112 |
|
6113 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): |
|
6114 Don't cast arg in call to swap_8_bytes. |
|
6115 (IEEE_big_double_to_IEEE_little_double): Ditto |
|
6116 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to |
|
6117 swap_4_bytes. |
|
6118 (IEEE_little_float_to_IEEE_big_float): Ditto |
|
6119 |
|
6120 * oct-alloc.cc (grow): Use X_CAST, not static_cast. |
|
6121 * prog-args.cc (prog_args::getopt): Likewise. |
|
6122 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. |
|
6123 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. |
|
6124 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): |
|
6125 Likewise. |
|
6126 |
|
6127 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, |
|
6128 swap_8_bytes): Declare ptr arg as void*, then use cast. |
|
6129 |
3141
|
6130 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6131 |
|
6132 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). |
|
6133 Use $(mk-libdir-link). |
|
6134 |
|
6135 * file-stat.cc (file_stat::update_internal): Use stat and lstat, |
|
6136 not SAFE_STAT and SAFE_LSTAT. |
|
6137 (lstat): New function, defined if HAVE_LSTAT is not defined. |
|
6138 * safe-xstat.hin, safe-xstat.cin: Delete. |
|
6139 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, |
|
6140 safe-lstat.h, and safe-lstat.cc. |
|
6141 |
3136
|
6142 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6143 |
|
6144 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. |
|
6145 |
3130
|
6146 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6147 |
|
6148 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the |
|
6149 trace is negative. |
|
6150 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if |
|
6151 the real part of the trace is negative. |
|
6152 |
|
6153 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6154 |
|
6155 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. |
|
6156 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. |
|
6157 |
|
6158 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] |
|
6159 to succeed. |
|
6160 |
3125
|
6161 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6162 |
|
6163 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. |
|
6164 (make_uniq): Likewise. |
|
6165 |
|
6166 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6167 |
|
6168 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. |
|
6169 |
3119
|
6170 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6171 |
3121
|
6172 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
|
6173 |
|
6174 * lo-specfun.h, lo-specfun.cc: New files. |
3119
|
6175 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
|
6176 |
3121
|
6177 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
|
6178 oct-math.h: Delete. |
|
6179 * Makefile.in (SOURCES): Delete them from the list. |
|
6180 |
3112
|
6181 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6182 |
|
6183 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. |
|
6184 |
5095
|
6185 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107
|
6186 |
|
6187 Changes to make support egcs snapshots that implement explicit |
|
6188 specification of template functions according to CD2. |
|
6189 |
|
6190 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit |
|
6191 template function specs for template friends. |
|
6192 * MArray2.h: Likewise. |
|
6193 * MDiagArray2.h: Likewise. |
|
6194 |
3095
|
6195 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6196 |
|
6197 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) |
|
6198 |
3092
|
6199 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
|
6200 |
|
6201 * CRowVector.cc (linspace): Removed attempt for implicit conversion |
|
6202 to complex<double>(int) instead of complex<double>(double). |
|
6203 |
|
6204 * lo-mappers.cc (atanh): Ditto. |
|
6205 |
3079
|
6206 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6207 |
|
6208 * idx-vector.cc (IDX_VEC_REP::sort): New function. |
|
6209 * idx-vector.h (idx_vector::sort): Ditto. |
|
6210 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before |
|
6211 trying to delete elements specified by the index vectors. |
|
6212 |
3075
|
6213 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6214 |
|
6215 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. |
|
6216 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. |
|
6217 |
3074
|
6218 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6219 |
|
6220 * file-ops.cc (tilde_expand_word): Fix off-by-one error. |
|
6221 |
3069
|
6222 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6223 |
|
6224 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. |
|
6225 Call error handler if we can't find the current directory. |
|
6226 |
3068
|
6227 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6228 |
3069
|
6229 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
|
6230 (xfinite (double)): Ditto. |
|
6231 |
3068
|
6232 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
|
6233 * CmplxQR.cc (ComplexQR::init): Ditto. |
|
6234 |
3056
|
6235 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6236 |
|
6237 * lo-mappers.cc (acos (const Complex&)): Select branch that is |
|
6238 compatible with Matlab. |
|
6239 |
3050
|
6240 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6241 |
|
6242 * Array2-idx.h: Correctly handle empty matrices indexed by a |
|
6243 single colon. |
|
6244 |
3040
|
6245 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6246 |
3049
|
6247 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
|
6248 (xgamma): Likewise, for calling xdgamma. |
|
6249 |
3042
|
6250 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
|
6251 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. |
|
6252 |
3040
|
6253 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
|
6254 to do better job expanding tildes. |
|
6255 |
|
6256 * str-vec.cc (string_vector::string_vector (const char * const *): |
|
6257 Use temporary variable to compute length. |
|
6258 |
3029
|
6259 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6260 |
3034
|
6261 * Makefile.in: Make building of static library optional. |
3036
|
6262 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034
|
6263 |
3029
|
6264 * Makefile.in (stamp-picdir): Delete. |
|
6265 (pic): New target. Don't worry so much about creating pic |
|
6266 directory only when it is really needed. |
|
6267 (stamp-interp): Delete. |
|
6268 (libraries): New target. Depend on shared library directly. |
|
6269 |
3024
|
6270 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6271 |
|
6272 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): |
|
6273 New static function. |
|
6274 |
3012
|
6275 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6276 |
|
6277 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. |
|
6278 |
3004
|
6279 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6280 |
|
6281 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to |
|
6282 set_basic_quote_characters, to match new version of readline. |
|
6283 |
|
6284 * cmd-edit.cc (do_restore_terminal_state): Call readline function |
|
6285 for restoring terminal state through rl_deprep_term_function, now |
|
6286 declared in readline.h |
|
6287 (rl_deprep_terminal): Delete declaration. |
|
6288 |
2993
|
6289 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6290 |
|
6291 * Makefile.in (install-in): Use new mk-includedir-link macro. |
|
6292 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. |
|
6293 |
2968
|
6294 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6295 |
|
6296 * cmd-edit.cc (command_editor::increment_current_command_number): |
|
6297 New static function. |
|
6298 |
2964
|
6299 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6300 |
2966
|
6301 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
|
6302 the vector is not sorted. |
|
6303 |
2964
|
6304 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
|
6305 * dMatrix.cc (Matrix::operator !): Likewise |
|
6306 |
2941
|
6307 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6308 |
|
6309 * oct-syscalls.h, oct-syscalls.cc: New files. |
|
6310 |
|
6311 * cmd-edit.h, cmd-edit.cc: Handle completion function. |
|
6312 |
|
6313 * str-vec.h, str-vec.cc (string_vector::uniq): New function. |
|
6314 |
2938
|
6315 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6316 |
2941
|
6317 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
|
6318 (install-inc): Use it. |
|
6319 |
2938
|
6320 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
|
6321 Handle errors and missing functions consistently. |
|
6322 |
|
6323 * oct-group.h, oct-group.cc: New files. |
|
6324 |
|
6325 * oct-passwd.cc: Handle errors and missing functions consistently. |
|
6326 |
|
6327 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. |
|
6328 |
2934
|
6329 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6330 |
|
6331 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. |
|
6332 * oct-env.cc (octave_env::do_get_user_name): Likewise. |
|
6333 |
|
6334 * oct-passwd.h, oct-passwd.cc: New files. |
|
6335 |
2926
|
6336 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6337 |
|
6338 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. |
|
6339 |
|
6340 * mach-info.h, mach-info.cc: Add missing const qualifiers. |
|
6341 (instance_ok ()): New function. |
|
6342 |
|
6343 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. |
|
6344 |
|
6345 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. |
|
6346 |
|
6347 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from |
|
6348 src/utils.h and src/utils.cc. |
|
6349 (octave_fgets): New function, extracted from src/input.cc. |
|
6350 |
|
6351 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for |
|
6352 GNU readline, and allow Octave to work without GNU readline. |
|
6353 |
|
6354 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous |
|
6355 system-dependent functions. |
|
6356 |
|
6357 * oct-env.h, oct-env.cc: New files for process environment stuff. |
|
6358 |
|
6359 * file-stat.h, file-stat.cc: New files. Extract file_stat class |
|
6360 from file-ops.h and file-ops.cc and move here. |
|
6361 |
|
6362 * file-ops.h, file-ops.cc: Wrap functions in struct. Move |
|
6363 tilde_expand functions here from src/dirfns.cc. |
|
6364 |
|
6365 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6366 |
|
6367 * pathlen.h: New file, from ../src. |
|
6368 |
2917
|
6369 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6370 |
|
6371 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent |
|
6372 out-of-bounds indexing of the index array. |
|
6373 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. |
|
6374 |
2850
|
6375 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6376 |
|
6377 * LSODE.h (x_step_limit): New field. |
|
6378 (LSODE_options::init): Initialize it. |
|
6379 (LSODE_options::copy): Copy it. |
|
6380 (LSODE_options::set_step_limit, LSODE_options::step_limit): |
|
6381 New functions. |
|
6382 (LSODE::working_too_hard): Delete. |
|
6383 * LSODE.cc (LSODE::do_integrate): Handle step limit. |
|
6384 |
2844
|
6385 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6386 |
|
6387 * MArray-b.cc: Delete. |
|
6388 * Makefile.in: Delete it from the lists. |
|
6389 |
|
6390 * boolMatrix.h (class bboolMatrix): Derive from Array2, not |
|
6391 MArray2, since most of the numeric ops don't really make sense. |
|
6392 |
2829
|
6393 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6394 |
2832
|
6395 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
|
6396 |
|
6397 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. |
|
6398 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. |
|
6399 |
2830
|
6400 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
|
6401 idx_vector::freeze): Delete prefer_zero_one arg. |
|
6402 * Array-idx.h, Array2-idx.h: Change all callers. |
|
6403 |
|
6404 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. |
|
6405 |
2829
|
6406 * mx-op-defs.h: New file for operator definitions. |
|
6407 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, |
|
6408 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, |
|
6409 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, |
|
6410 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, |
|
6411 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, |
|
6412 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, |
|
6413 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, |
|
6414 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, |
|
6415 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, |
|
6416 mx-s-cm.cc, mx-s-dm.cc: |
|
6417 New files for mixed-type operations. |
|
6418 * Makefiles.in: Add them to the appropriate lists. |
|
6419 |
|
6420 * mx-inlines.cc: Add bool by bool EQ ops. |
|
6421 |
|
6422 * idx-vector.h, idx-vector.cc: Add constructors for bool and |
|
6423 boolMatrix types. |
|
6424 (idx_vector::maybe_convert_one_zero_to_idx, |
|
6425 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): |
|
6426 Delete second arg, prefer_zero_one. Change all callers. |
|
6427 |
|
6428 * boolMatrix.h, boolMatrix.cc: New files. |
|
6429 * mx-base.h: Include boolMatrix.h here. |
|
6430 * mx-defs.h: Provide forward declaration for boolMatrix here. |
|
6431 |
|
6432 * chMatrix.h, chMatrix.cc: Delete unused junk. |
|
6433 |
|
6434 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, |
|
6435 operator-, operator*, product, and quotient functions. |
|
6436 Add constructor for boolMatrix type. |
|
6437 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, |
|
6438 product, and quotient functions. |
|
6439 |
|
6440 * CDiagMatrix.h: Delete friend declarations for operator+, |
|
6441 operator-, and product functions. |
|
6442 * CDiagMatrix.h: Delete operator+, operator-, and product functions. |
|
6443 |
|
6444 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. |
|
6445 |
2815
|
6446 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6447 |
|
6448 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. |
|
6449 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. |
|
6450 (EIG::symmetric_init (const Matrix&)): New function. |
|
6451 (EIG::init (const Matrix&)): Call it if arg is symmetric. |
|
6452 |
|
6453 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. |
|
6454 |
|
6455 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6456 |
|
6457 * Array2.cc (is_symmetric): New function. |
|
6458 * Array2.h (is_square): New function. |
|
6459 |
2811
|
6460 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6461 |
|
6462 * Makefile.in (install-strip): New target. |
|
6463 |
2804
|
6464 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6465 |
|
6466 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, |
|
6467 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, |
|
6468 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, |
|
6469 dbleSVD.cc: Don't include mx-inlines.cc. |
|
6470 |
|
6471 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of |
|
6472 duplicate code. |
|
6473 |
2800
|
6474 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6475 |
2804
|
6476 * dbleQR.h (QR): Delete extra comma at end of list. |
|
6477 |
|
6478 * prog-args.cc (prog_args::getopt): Add missing const in cast. |
|
6479 |
|
6480 * dbleSVD.h (SVD::type): Delete extra comma at end of list. |
|
6481 |
|
6482 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and |
|
6483 idx_vecotr_rep:: qualifiers. |
|
6484 |
|
6485 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. |
|
6486 |
|
6487 * data-conv.h (save_type): Delete extra comma at end of list. |
|
6488 |
2800
|
6489 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
|
6490 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, |
|
6491 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of |
|
6492 old C-style `(T) val' casts. |
|
6493 |
2795
|
6494 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6495 |
|
6496 * dMatrix.cc (operator >>): Return if an error occurs instead of |
|
6497 just breaking out of the innermost loop. |
|
6498 * CMatrix.cc (operator >>): Likewise. |
|
6499 |
2779
|
6500 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775
|
6501 |
|
6502 * Version 2.0.5 released. |
|
6503 |
2767
|
6504 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6505 |
|
6506 * CmplxQR.cc (ComplexQR::init): New function. |
|
6507 (ComplexQR::ComplexQR): Use it. Use initializer list too. |
|
6508 * CmplxQRP.cc (ComplexQRP::init): New function. |
|
6509 Get sizes right in all cases. |
|
6510 (ComplexQR::ComplexQRP): Use it. Use initializer list too. |
|
6511 |
|
6512 * dbleQR.cc (QR::init): New function. |
|
6513 (QR::QR): Use it. Use initializer list too. |
|
6514 * dbleQRP.cc (QRP::init): New function. |
|
6515 Get sizes right in all cases. |
|
6516 (QR::QRP): Use it. Use initializer list too. |
|
6517 |
2759
|
6518 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6519 |
|
6520 * mach-info.cc (oct_mach_info::string_to_float_format): |
|
6521 Recognize "vaxg", not "vax_g". |
|
6522 |
2713
|
6523 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6524 |
2714
|
6525 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
|
6526 dimension in check for colon equivalent index. |
|
6527 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element |
|
6528 index whose value is 0 is also colon eqivalent for n == 1. |
|
6529 |
2713
|
6530 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
|
6531 system-specific tests first. |
|
6532 |
2709
|
6533 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702
|
6534 |
|
6535 * Version 2.0.4 released. |
|
6536 |
|
6537 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6538 |
|
6539 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. |
|
6540 |
2693
|
6541 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690
|
6542 |
|
6543 * Version 2.0.3 released. |
|
6544 |
2686
|
6545 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6546 |
|
6547 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. |
|
6548 |
2673
|
6549 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6550 |
2676
|
6551 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
|
6552 (all): Don't depend on stamp-prereq or stamp-picdir. |
|
6553 (liboctave.a, stamp-shared): Do depend on stamp-prereq. |
|
6554 (stamp-picdir): Silence noise about making pic. |
|
6555 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. |
|
6556 |
2673
|
6557 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6558 Fix typo in last change. |
|
6559 |
|
6560 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): |
|
6561 Convert from friend (moved from dColVector.cc). |
|
6562 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): |
|
6563 Likewise (moved from dMatrix.cc). |
|
6564 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): |
|
6565 Likewise (moved from dRowVector.cc). |
|
6566 |
|
6567 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. |
|
6568 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. |
|
6569 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. |
|
6570 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. |
|
6571 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. |
|
6572 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. |
|
6573 |
|
6574 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. |
|
6575 * dMatrix.cc (Matrix::apply): Likewise. |
|
6576 * dRowVector.cc (RowVector::apply): Likewise. |
|
6577 * CColVector.cc (ComplexColumnVector::apply): Likewise. |
|
6578 * CMatrix.cc (ComplexMatrix::apply): Likewise. |
|
6579 * CRowVector.cc (ComplexRowVector::apply): Likewise. |
|
6580 |
2668
|
6581 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6582 |
|
6583 * lo-ieee.cc: Declare quiet_nan() and infinity(). |
|
6584 |
|
6585 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6586 |
|
6587 * file-ops.cc (oct_unlink (const string&, string&)): |
|
6588 New two-arg version. |
|
6589 (oct_rmdir (const string&, string&)): New two-arg version. |
|
6590 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. |
|
6591 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. |
|
6592 (oct_rename (const string&, const string&, string&)): |
|
6593 New three-arg version. |
|
6594 |
2663
|
6595 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6596 |
|
6597 * idx-vector.h (idx_vector::orig_empty): New function. |
|
6598 |
|
6599 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
|
6600 Don't always resize to [](0x0) if one of the indices is empty or |
|
6601 zero. |
|
6602 |
2658
|
6603 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6604 |
|
6605 * cmd-hist.cc (command_history::read): New arg, must_exist. |
|
6606 Set line_in_file here too. |
|
6607 (command_history::read_range): New arg, must_exist. |
|
6608 |
2651
|
6609 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6610 |
|
6611 * f2c-main.c: Change C++-style comments to C-style comments. |
|
6612 |
2638
|
6613 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6614 |
|
6615 * Makefile.in (install-inc): Create a relative symbolic link. |
|
6616 |
2634
|
6617 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6618 |
|
6619 * Version 2.0.2 released. |
|
6620 |
2624
|
6621 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6622 |
|
6623 * Makefile.in (bin-dist): New target. |
|
6624 |
2621
|
6625 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6626 |
|
6627 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. |
|
6628 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. |
|
6629 |
2613
|
6630 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6631 |
|
6632 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
6633 If the number of columns is zero, also set the number of rows to zero. |
|
6634 (charMatrix::charMatrix (const char *)): Likewise. |
|
6635 |
2602
|
6636 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6637 |
|
6638 * Version 2.0.1 released. |
|
6639 |
2601
|
6640 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6641 |
|
6642 * dMatrix.cc (Matrix::read): Correctly compute the number of |
|
6643 columns for resizing when the number of rows is specified but the |
|
6644 number of columns is not. |
|
6645 |
2598
|
6646 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6647 |
2599
|
6648 * Range.cc (operator -): New function. |
|
6649 |
2598
|
6650 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
|
6651 |
2589
|
6652 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6653 |
|
6654 * Array2-idx.h (assign): Delay resizing left hand side until we |
|
6655 know if the assignment conforms. |
|
6656 |
2583
|
6657 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6658 |
|
6659 * Version 2.0 released. |
|
6660 |
2570
|
6661 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6662 |
2575
|
6663 * Array2-idx.h (assign): If index is a colon, set number of |
|
6664 elements to the lhs dimension if the lhs dimension is greater than |
|
6665 zero. Otherwise, set it to the rhs dimension. |
|
6666 |
|
6667 * Version 1.94. |
|
6668 |
2570
|
6669 * Array2-idx.h (assign): Test for rhs scalar case first. |
|
6670 If index is colon, set number of elements to lhs dimension, not |
|
6671 rhs dimension. |
|
6672 |
2563
|
6673 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6674 |
2566
|
6675 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
|
6676 * sun-utils.cc: Delete. |
|
6677 * f2c-main.c: New file |
|
6678 |
|
6679 * Makefile.in: Fix file name lists. |
|
6680 |
2563
|
6681 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
|
6682 |
2561
|
6683 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6684 |
|
6685 * dMatrix.cc (Qzval): Don't try to use same memory three times. |
|
6686 Create result using Complex constructor, not multiplication. |
|
6687 Order elements as they are returned from Eispack. |
|
6688 |
2559
|
6689 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6690 |
2560
|
6691 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
|
6692 Only include nan.h if SCO is defined. Define _IEEE before |
|
6693 including it and undefine it afterward. |
|
6694 [SCO] (isnan): Don't mistake Inf as NaN. |
|
6695 |
2559
|
6696 * Array-idx.h (assign): Only resize if assignment conforms. |
|
6697 |
2551
|
6698 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6699 |
|
6700 * Makefile.in (INCLUDES): Delete lo-error.h. |
|
6701 * lo-error.h: Delete (moved to libcruft/misc). |
|
6702 |
|
6703 * Version 1.93. |
|
6704 |
2546
|
6705 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6706 |
2549
|
6707 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
|
6708 be the same as they are in fnmatch.h. |
|
6709 |
2546
|
6710 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
|
6711 |
|
6712 * Makefile.in (INCLUDES): Delete f77-fcn.h. |
|
6713 (SOURCES): Delete f77-fcn.c. |
|
6714 |
2522
|
6715 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6716 |
|
6717 * lo-ieee.h: [SCO]: Declare isinf and isnan. |
|
6718 |
2512
|
6719 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6720 |
|
6721 * Version 1.92. |
|
6722 |
2508
|
6723 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6724 |
2512
|
6725 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
|
6726 lines that have only carriage return or newline. |
|
6727 |
2508
|
6728 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
|
6729 |
2500
|
6730 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6731 |
|
6732 * idx-vector.cc (idx_is_inf_or_nan): New function. |
|
6733 (IDX_VEC_REP::idx_vector_rep): Use it. |
|
6734 |
2493
|
6735 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6736 |
|
6737 * str-vec.h, str-vec.cc: Add constructors to make string vectors |
|
6738 from vectors of C strings. |
|
6739 |
|
6740 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string |
|
6741 vector. |
|
6742 (glob_match::match): Allow match string to be a string vector. |
|
6743 (glob_match::glob): New function. |
|
6744 |
|
6745 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. |
|
6746 |
|
6747 * Array-b.cc: New file. |
|
6748 * Makefile.in (TI_SRC): Add it to the list. |
|
6749 |
2492
|
6750 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6751 |
|
6752 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h |
|
6753 and safe-stat.h, to avoid getting them from $srcdir when we really |
|
6754 want the version from the build directory. (Maybe this should be |
|
6755 done for all the include files, not just those that are |
|
6756 auto-generated? Hmm.) |
|
6757 |
2481
|
6758 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6759 |
2482
|
6760 * Version 1.91. |
|
6761 |
2481
|
6762 * Array3.cc (Array3<T>::resize): Make it work. |
|
6763 |
|
6764 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6765 |
|
6766 * oct-alloc.h, oct-alloc.cc: New files. |
|
6767 * Makefile.in: Add them to the lists. |
|
6768 |
|
6769 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6770 |
|
6771 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. |
|
6772 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. |
|
6773 |
2466
|
6774 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6775 |
|
6776 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, |
|
6777 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, |
|
6778 file_stat::is_reg, file_stat::is_sock): Just return false if the |
|
6779 underlying macro is not defined. |
|
6780 |
|
6781 * oct-math.h (lgamma, gamma): Delete declarations. |
|
6782 (asinh, acosh, atanh, erf, erfc): Declare arg types too. |
|
6783 Protect declarations with #ifdef HAVE_*. |
|
6784 |
2440
|
6785 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6786 |
2452
|
6787 * Version 1.90. |
|
6788 |
|
6789 * Makefile.in (DISTFILES): Add ChangeLog. |
|
6790 |
2444
|
6791 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
|
6792 |
|
6793 * Matrix-ext.cc: Include <cfloat>, not <float.h>. |
|
6794 |
2443
|
6795 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444
|
6796 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
|
6797 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. |
2443
|
6798 |
2440
|
6799 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
|
6800 since that is now accepatble syntax, even for built-in types. |
|
6801 * Array2.h (T Array2<T>::checkelem): Likewise |
|
6802 |
2433
|
6803 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6804 |
|
6805 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error |
|
6806 message and return -1. |
|
6807 |
2428
|
6808 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6809 |
2431
|
6810 * str-vec.h (str_vec_compare): Declare args as const void *, then |
|
6811 cast them to const string * in the body of the function. |
|
6812 |
|
6813 * file-ops.cc (file_stat::mode_as_string): Explicitly construct |
|
6814 string from buf. |
|
6815 |
2428
|
6816 * Array3.h (Array3::checkelem): Tag bogus return value with |
|
6817 GCC_ATTRIBUTE_UNUSED. |
|
6818 * Array2.h (Array2::checkelem): Likewise. |
|
6819 |
2424
|
6820 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6821 |
|
6822 * Quad.h (Quad): Define virtual destructor. |
|
6823 |
2408
|
6824 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6825 |
|
6826 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. |
|
6827 |
2401
|
6828 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6829 |
|
6830 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ |
|
6831 and MAIN__ extern "C". |
|
6832 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. |
|
6833 |
2391
|
6834 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6835 |
|
6836 * MArray-misc.cc: New file. |
|
6837 * Makefile.in (MATRIX_SRC): Add it to the list. |
|
6838 |
|
6839 * mx-inlines.cc (equal): Return bool, not int. |
|
6840 |
|
6841 * idx-vector.h (idx_vector (double)): New constructor. |
|
6842 |
|
6843 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, |
|
6844 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, |
|
6845 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, |
|
6846 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, |
|
6847 CRowVector.cc: Logical operators return bool, not int. |
|
6848 |
|
6849 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): |
|
6850 New function. |
|
6851 |
|
6852 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, |
|
6853 Matrix::any_element_is_inf_or_nan, Matrix::abs, |
|
6854 Matrix::all_elements_are_inf_or_nan): New functions. |
|
6855 |
|
6856 * Range.h, Range.cc (Range::all_elements_are_ints): New function. |
|
6857 |
|
6858 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant |
|
6859 for errors. Simplify macros by converting FCN to string for error |
|
6860 messages. |
|
6861 |
|
6862 * Array-idx.h (Array<T>::index): New function. Don't call |
|
6863 clear_index() here. |
|
6864 (Array<T>::value): Call it, do call clear_index() here. |
|
6865 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for |
|
6866 one and two arg index functions. |
|
6867 |
|
6868 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6869 |
|
6870 * DAEFunc.h: Delete #pragma interface since there is no longer a |
|
6871 separate implementation file. |
|
6872 |
2354
|
6873 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6874 |
2358
|
6875 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
|
6876 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. |
|
6877 |
2356
|
6878 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
|
6879 sort_uniq. If sort_uniq is nonzero, sort the elements and make |
|
6880 them uniq. |
|
6881 |
2354
|
6882 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
|
6883 ComplexMatrix::column_max, ComplexMatrix::column_min): |
|
6884 Rewrite. Also return index as a reference arg. |
|
6885 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, |
|
6886 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): |
|
6887 Delete. |
|
6888 |
|
6889 * dMatrix.cc (Matrix::row_max, Matrix::row_min, |
|
6890 Matrix::column_max, Matrix::column_min): |
|
6891 Rewrite. Also return index as a reference arg. |
|
6892 (Matrix::row_max_loc, Matrix::row_min_loc, |
|
6893 Matrix::column_max_loc, Matrix::column_min_loc): Delete. |
|
6894 |
|
6895 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6896 |
|
6897 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, |
|
6898 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, |
|
6899 Matrix::column_min_loc, Matrix::column_max, |
|
6900 Matrix::column_max_loc): Ignore leading NaNs. |
|
6901 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, |
|
6902 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, |
|
6903 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, |
|
6904 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore |
|
6905 leading NaNs. |
|
6906 |
2352
|
6907 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6908 |
|
6909 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds |
|
6910 starting at n, not 0. |
|
6911 |
2349
|
6912 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6913 |
|
6914 * dMatrix.cc (Matrix::Matrix (const RowVector&), |
|
6915 Matrix::Matrix (const ColumnVector&)): New constructors. |
|
6916 |
|
6917 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), |
|
6918 ComplexMatrix::ComplexMatrix (const ColumnVector&), |
|
6919 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), |
|
6920 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): |
|
6921 New constructors. |
|
6922 |
|
6923 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
|
6924 New constructor. |
|
6925 |
2343
|
6926 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6927 |
|
6928 * LSODE.cc (do_integrate): Check to make sure that the state and |
|
6929 derivative vectors are the same size. |
2344
|
6930 * DASSL.cc (do_integrate): Likewise. |
2343
|
6931 |
2330
|
6932 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6933 |
|
6934 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use |
|
6935 iostreams and handler data format conversions. Delete old methods |
|
6936 that used stdio. |
|
6937 |
|
6938 * data-conv.h, data-conv.cc (oct_data_conv): New class. |
|
6939 |
|
6940 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6941 |
|
6942 * mach-info.h: Rename from float-fmt.h. |
|
6943 * mach-info.cc: Rename from float-fmt.cc. |
|
6944 Handle machine information using a singlton class. |
|
6945 * Makefile.in: Update appropriate lists. |
|
6946 |
|
6947 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6948 |
|
6949 * Array-flags.cc: Provide definitions for the flags even if |
|
6950 OCTAVE_SOURCE is not defined. |
|
6951 |
|
6952 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects |
|
6953 operator(), not elem(). |
|
6954 * Array3.h: Move indexing methods here from Array3.cc. |
|
6955 |
|
6956 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6957 |
|
6958 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). |
|
6959 |
|
6960 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of |
|
6961 INSTALL_DATA for shared libs. |
|
6962 |
|
6963 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6964 |
|
6965 * Quad.cc: Include lo-error.h here too. |
|
6966 |
|
6967 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6968 |
|
6969 * file-ops.h: Include sys/types.h here. |
|
6970 |
|
6971 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6972 |
|
6973 * chMatrix.cc (charMatrix::transpose): Provide definition. |
|
6974 |
|
6975 * Array-idx.h (maybe_delete_elements): Correctly compute number of |
|
6976 elements in result. |
|
6977 * Array2-idx.h (maybe_delete_elements): Likewise for number of |
|
6978 rows and columns in result. |
|
6979 |
|
6980 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6981 |
|
6982 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. |
|
6983 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. |
|
6984 |
|
6985 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6986 |
|
6987 * Makefile.in (install-inc): Install in octincludedir, not includedir. |
|
6988 |
|
6989 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6990 |
|
6991 * Makefile.in (uninstall): Also delete shared library. |
|
6992 Split install into install-libs and install-includes. |
|
6993 (install-inc): If linkdir is a directory, leave it alone. |
|
6994 |
|
6995 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. |
|
6996 |
|
6997 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
6998 |
|
6999 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. |
|
7000 * Array2-idx.h (assign): Likewise. |
|
7001 |
|
7002 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7003 |
|
7004 * Array2.cc (Array2<T>::range_error): New functions. |
|
7005 |
|
7006 * Array.h (class Array<T>): elem() and operator() are now |
|
7007 equivalent, and do bounds checking by default. |
|
7008 * Array2.cc (class Array2<T>): Likewise. |
|
7009 |
|
7010 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7011 |
|
7012 * Makefile.in (maintainer-clean, distclean): Also delete |
|
7013 stamp-picdir, stamp-shared, and pic directory. |
|
7014 (stamp-prereq): New target. |
|
7015 |
|
7016 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7017 |
|
7018 * NPSOL.h (NPSOL_options::set_option (const char *, int)): |
|
7019 New function. |
|
7020 |
|
7021 * Array.h, Array.cc (Array<T>::range_error ()): New functions. |
|
7022 * Array.h (Array<T>::checkelem): Use them. |
|
7023 |
|
7024 * base-lu.h, base-lu.cc: Parameterize based on types of matrix |
|
7025 elements too. |
|
7026 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. |
|
7027 |
|
7028 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. |
|
7029 |
|
7030 * Makefile.in (distclean): Delete so_locations, which is created |
|
7031 on DEC Alpha systems. |
|
7032 |
|
7033 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7034 |
|
7035 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not |
|
7036 already defined. |
|
7037 |
|
7038 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7039 |
|
7040 * pathsearch.cc: Include config.h. |
|
7041 |
|
7042 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7043 |
|
7044 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't |
|
7045 allow M(I, J) = scalar if I or J is empty. |
|
7046 |
|
7047 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h |
|
7048 and Array3-idx.h). |
|
7049 |
|
7050 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7051 |
|
7052 * lo-error.h: Make comments C friendly. |
|
7053 |
|
7054 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7055 |
|
7056 * Array2.h (make_unique): Move all indexing functions here. |
|
7057 * Array2.cc: From here. |
|
7058 |
|
7059 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control |
|
7060 whether operator() calls elem or checkelem. |
|
7061 |
|
7062 * Array.h (make_unique): New private function. |
|
7063 Move all indexing functions here. |
|
7064 * Array.cc: From here. |
|
7065 |
|
7066 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference |
|
7067 it too. |
|
7068 |
|
7069 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, |
|
7070 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, |
|
7071 MArray-C.cc: Include config.h. |
|
7072 |
|
7073 * Array.h, Array2.h, DiagArray2.h, Array3.h: |
|
7074 Don't define HEAVYWEIGHT_INDEXING here. |
|
7075 |
|
7076 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7077 |
|
7078 * base-lu.h, base-lu.cc: New files. |
|
7079 * Makefile.in: Add them to the appropriate lists. |
|
7080 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. |
|
7081 |
|
7082 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7083 |
|
7084 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h |
|
7085 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h |
|
7086 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. |
|
7087 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. |
|
7088 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. |
|
7089 |
|
7090 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. |
|
7091 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. |
|
7092 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. |
|
7093 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: |
|
7094 Simplify using new macros. |
|
7095 |
|
7096 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7097 |
|
7098 * Makefile.in (install): If $(includedir) ends in version string, |
|
7099 make link to name that does not include version info. |
|
7100 |
|
7101 * lo-ieee.cc: Include <cmath> here. |
|
7102 |
|
7103 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7104 |
|
7105 * lo-ieee.cc, lo-ieee.h: New files. |
|
7106 * lo-mappers.cc, lo-mappers.h: New files. |
|
7107 * lo-utils.cc, lo-utils.h: New files. |
|
7108 * Makefile.in: Add them to the appropriate lists. |
|
7109 |
|
7110 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7111 |
|
7112 * dMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7113 * CMatrix.cc (all_integers, too_large_for_float): New functions. |
|
7114 |
|
7115 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, |
|
7116 float-fmt.cc: New files. |
|
7117 * Makefile.in: Include them in the appropriate lists. |
|
7118 |
|
7119 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7120 |
|
7121 * dMatrix.cc (Qzval): New function. |
|
7122 |
|
7123 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7124 |
|
7125 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not |
|
7126 char*. |
|
7127 |
|
7128 * DASSL.h, DASSL.cc: Do better management of temporary workspace. |
|
7129 Use F77_XFCN to call Fortran subroutine. |
|
7130 * dColVector.cc, CColVector.cc: Likewise. |
|
7131 * dRowVector.cc, CRowVector.cc: Likewise. |
|
7132 * NPSOL.h, NPSOL.cc: Likewise. |
|
7133 * CmplxCHOL.cc: Likewise. |
|
7134 * dbleCHOL.cc: Likewise. |
|
7135 * CMatrix.cc: Likewise. |
|
7136 * dMatrix.cc: Likewise. |
|
7137 * QPSOL.cc: Likewise. |
|
7138 * LSODE.cc: Likewise. |
|
7139 |
|
7140 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7141 |
|
7142 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. |
|
7143 |
|
7144 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary |
|
7145 workspace. Use F77_XFCN to call Fortran subroutine. |
|
7146 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. |
|
7147 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. |
|
7148 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. |
|
7149 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. |
|
7150 * CmplxHESS.h, CmplxHESS.cc: Likewise. |
|
7151 * CmplxSVD.h, CmplxSVD.cc: Likewise. |
|
7152 * dbleHESS.h, dbleHESS.cc: Likewise. |
|
7153 * dbleSVD.h, dbleSVD.cc: Likewise. |
|
7154 * EIG.h, EIG.cc; Likewise. |
|
7155 * CollocWt.cc: Likewise. |
|
7156 * NLEqn.cc: Likewise. |
|
7157 * Quad.cc: Likewise. |
|
7158 |
|
7159 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7160 |
|
7161 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. |
|
7162 Use F77_XFCN to call Fortran subroutine. |
|
7163 * CmplxLU.h, CmplxLU.cc: Ditto. |
|
7164 * dbleQR.h, dbleQR.cc: Ditto. |
|
7165 * CmplxQR.h, CmplxQR.cc: Ditto. |
|
7166 * dbleQRP.h, dbleQRP.cc: Ditto. |
|
7167 * CmplxQRP.h, CmplxQRP.cc: Ditto. |
|
7168 |
|
7169 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. |
|
7170 (struct DIR): delete forward declaration. |
|
7171 (dir_entry::operator = (const dir_entry$)): Protect against |
|
7172 copying same object. |
|
7173 * dir-ops.cc: Cast dir appropriately. |
|
7174 |
|
7175 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7176 |
|
7177 * lo-error.cc: Moved to libcruft/misc. |
|
7178 * Makefile.in: Delete it from the list. |
|
7179 |
|
7180 * f77-fcn.c (f77_context, f77_exception_encountered): Delete |
|
7181 definitions (they have been moved to libcruft/misc/f77-extern.cc). |
|
7182 |
|
7183 * Array-flags.h: New file. |
|
7184 * Array-idx.h: Include it here. |
|
7185 * Makefile.in (MATRIX_INC): Add it to the list. |
|
7186 |
|
7187 * Array-flags.cc: Renamed from Array-ext.cc. |
|
7188 (liboctave_dfi_flag): Renamed from dfi_flag. |
|
7189 (liboctave_pcv_flag): Renamed from pcv_flag. |
|
7190 (liboctave_pzo_flag): Renamed from pzo_flag. |
|
7191 (liboctave_rre_flag): Renamed from rre_flag. |
|
7192 * Array-idx.h: Change all uses of dfi_flag, etc. |
|
7193 * Makefile.in (MATRIX_SRC): Change file name here too. |
|
7194 |
|
7195 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. |
|
7196 (stamp-shared): Use them here. |
|
7197 |
|
7198 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7199 |
|
7200 * cmd-hist.cc (command_history::ignore_entries): Delete default |
|
7201 argument value. |
|
7202 |
|
7203 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7204 |
|
7205 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, |
|
7206 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, |
|
7207 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, |
|
7208 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: |
|
7209 Clean up constructors, assigment operator. |
|
7210 |
|
7211 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7212 |
|
7213 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. |
|
7214 Check f77_exception_encountered on return. |
|
7215 |
|
7216 * f77-fcn.c (f77_exception_encountered): New variable. |
|
7217 (F77_XFCN): Set it. |
|
7218 * f77-fcn.h: Provide declaration. |
|
7219 |
|
7220 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). |
|
7221 |
|
7222 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). |
|
7223 |
|
7224 * NLEqn.h (NLEqn_options::set_options): New function. |
|
7225 * Quad.h (Quad_options::set_options): Likewise. |
|
7226 |
|
7227 * LP.h (class LP): Add accessors for LP data. |
|
7228 |
|
7229 * NLEqn.h (NLEqn::n): Delete. |
|
7230 |
|
7231 * NLEqn.h (class NLEqn::n): Likewise. |
|
7232 |
|
7233 * NLP.h (class NLP): Add accessors for NLP data. |
|
7234 |
|
7235 * NPSOL.h (class NPSOL_options): Move constructors, set, and |
|
7236 access functions here. |
|
7237 * NPSOL.cc.cc: From here. |
|
7238 |
|
7239 * QLD.h (class QLD): Add destructor definition. |
|
7240 * Objective.h (class Objective): Likewise. |
|
7241 * ODEFunc.h (class ODEFunc): Likewise. |
|
7242 * NLFunc.h (class NLFunc): Likewise. |
|
7243 * NLEqn.h (class NLEqn): Likewise. |
|
7244 * NLConst.h (class NLConst): Likewise. |
|
7245 * LinConst.h (class LinConst): Likewise. |
|
7246 * LSODE.h (class LSODE_options): Likewise. |
|
7247 * CollocWt.h (class CollocWt): Likewise. |
|
7248 * Bounds.h (class Bounds): Likewise. |
|
7249 |
|
7250 * QLD.cc (QLD::set_default_options): Delete. |
|
7251 |
|
7252 * QP.h (QP): Add accessors for QP data. |
|
7253 Add copy constructor, operator =, and destructor definitions. |
|
7254 |
|
7255 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, |
|
7256 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, |
|
7257 DAEFunc.h, CollocWt.h, Bounds.h: |
|
7258 Clean up constructors, assigment operator. |
|
7259 |
|
7260 * dRowVector.cc (RowVector::transpose): Use magic of reference |
|
7261 counting to avoid duplicating the data immediately. |
|
7262 * dColVector.cc (ColumnVector::transpose): Likewise. |
|
7263 * CRowVector.cc (ComplexrowVector::transpose): Likewise. |
|
7264 * CColVector.cc (ComplexColumnVector::transpose): Likewise. |
|
7265 |
|
7266 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7267 |
|
7268 * prog-args.h (prog_args::option_argument): New enum. |
|
7269 |
|
7270 * f77-fcn.h: Rename from f77-uscore.h. |
|
7271 (F77_XFCN_ERROR, F77_XFCN): New macros. |
|
7272 * f77-fcn.c: New file. |
|
7273 * Makefile.in (SOURCES): Add it to the list. |
|
7274 |
|
7275 * ODEFunc.h: Clean up. |
|
7276 |
|
7277 * DASSL.cc, DASSL.h: New files. |
|
7278 * Makefile.in: Add them to the appropriate lists. |
|
7279 |
|
7280 * LSODE.cc, LSODE.h: New files. |
|
7281 * Makefile.in: Add them to the appropriate lists. |
|
7282 |
|
7283 * ODE.cc: Delete. |
|
7284 * Makefile.in (SOURCES): Remove from list. |
|
7285 |
|
7286 * base-de.h, DAE.cc: New files. |
|
7287 * Makefile.in: Add them to the appropriate lists. |
|
7288 * ODE.h: Only define interface for ODE classes. |
|
7289 * DAE.h: Only define interface for ODE classes. |
|
7290 |
|
7291 * LPsolve.cc (do_minimize): Print sorry not implemented message. |
|
7292 (LPsolve::set_default_options)): Delete |
|
7293 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and |
|
7294 destructor. |
|
7295 |
|
7296 * LP.h (class LP): Add operator =, copy constructor, and destructor. |
|
7297 |
|
7298 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. |
|
7299 (QPSOL::operator =): Call base class operator = instead of assuming |
|
7300 we know what to copy. |
|
7301 |
|
7302 * base-min.h (size): New function. |
|
7303 |
|
7304 * NLP.h (NLP::size): Delete. |
|
7305 (NLP::NLP (const NLP&)): New constructor. |
|
7306 (NLP::operator =): Call base class operator = instead of assuming |
|
7307 we know what to copy. |
|
7308 |
|
7309 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. |
|
7310 (class NPSOL): Add operator = and destructor. |
|
7311 |
|
7312 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. |
|
7313 |
|
7314 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7315 |
|
7316 * Makefile.in (liboctave.a): Depend on $(PICOBJ). |
|
7317 |
|
7318 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7319 |
|
7320 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. |
|
7321 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. |
|
7322 |
|
7323 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7324 |
|
7325 * prog-args.h, prog-args.cc: New files. |
|
7326 * Makefile.in: Add them to lists. |
|
7327 |
|
7328 * getopt.h, getopt.c, getopt1.c: New files. |
|
7329 * Makefile.in: Add them to the lists. |
|
7330 |
|
7331 * oct-term.h, oct-term.cc: New files. |
|
7332 * Makefile.in: Add them to the lists. |
|
7333 |
|
7334 * str-vec.cc: New file. |
|
7335 * Makefile.in (SOURCES): Add it to the list. |
|
7336 |
|
7337 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. |
|
7338 |
|
7339 * tempname.c, tempnam.c: Move here from src directory. |
|
7340 * Makefile.in: Add to lists. |
|
7341 |
|
7342 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7343 |
|
7344 * cmd-hist.h, cmd-hist.cc: New files. |
|
7345 * Makefile.in: Add them to lists. |
|
7346 |
|
7347 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7348 |
|
7349 * oct-glob.h, oct-glob.cc: New files. |
|
7350 * Makefile.in: Add them to lists. |
|
7351 |
|
7352 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7353 |
|
7354 * pathsearch.h, pathsearch.cc: New files. |
|
7355 * Makefile.in: Add them to lists. |
|
7356 |
|
7357 * dir-ops.h, dir-ops.cc: New files. |
|
7358 * sysdir.h: Move here from src directory. |
|
7359 * Makefile.in: Add them to lists. |
|
7360 |
|
7361 * Array.h (Array::qsort): Return *this, not void. |
|
7362 * str-vec.h (string_vector::qsort): Likewise. |
|
7363 |
|
7364 * chMatrix.cc (row_as_string): Resize result to eliminate |
|
7365 unnecessary NULs. |
|
7366 |
|
7367 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7368 |
|
7369 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, |
|
7370 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: |
|
7371 Files moved here from src directory. |
|
7372 * Makefile.in: Add them to lists. Include appropriate rules. |
|
7373 |
|
7374 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7375 Use pointers, not references (this is C code!). |
|
7376 |
|
7377 * oct-math.h: New file. |
|
7378 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: |
|
7379 Files moved here from src directory. |
|
7380 * Makefile.in: Add them to lists. |
|
7381 |
|
7382 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7383 |
|
7384 * idx-vector.cc (make_uniq): Fix major brain-o. |
|
7385 |
|
7386 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: |
|
7387 Convert to use string class instead of char*. |
|
7388 |
|
7389 * str-vec.h, Array-str.cc: New files. |
|
7390 |
|
7391 * Array.h (Array::qsort): New function. |
|
7392 |
|
7393 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7394 |
|
7395 * Array.h: Nest ArrayRep class inside Array class. |
|
7396 Refer to ArrayRep, not ArrayRep<T>. |
|
7397 Move all ArrayRep functions inline. |
|
7398 Don't declare other Array classes as friends of ArrayRep. |
|
7399 * Array.cc: Delete ArrayRep functions. |
|
7400 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. |
|
7401 |
|
7402 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: |
|
7403 Don't instantiate ArrayRep objects. |
|
7404 |
|
7405 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7406 |
|
7407 * chMatrix.cc (charMatrix::charMatrix (const string&)): |
|
7408 New constructor. |
|
7409 |
|
7410 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7411 |
|
7412 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* |
|
7413 for balance_job arg. |
|
7414 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. |
|
7415 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. |
|
7416 |
|
7417 * chMatrix.cc (row_as_string): Return string, not const char*. |
|
7418 |
|
7419 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7420 |
|
7421 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. |
|
7422 |
|
7423 * chMatrix.cc (row_as_string): Undo previous change. |
|
7424 |
|
7425 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7426 |
|
7427 * chMatrix.cc (row_as_string): Do memory management here. Caller |
|
7428 is expected to save string if necessary. |
|
7429 |
|
7430 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7431 |
|
7432 * Array.h (class DiagArray): Enable nested Proxy class for all |
|
7433 platforms. |
|
7434 |
|
7435 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == |
|
7436 a.rep, don't mess with count. |
|
7437 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, |
|
7438 don't do anything if reps are the same. |
|
7439 (Array3<T>& operator = (const Array3<T>&) |
|
7440 |
|
7441 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): |
|
7442 Declare private with no definition to prevent misuse. |
|
7443 |
|
7444 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): |
|
7445 Get range check right. |
|
7446 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. |
|
7447 (Matrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7448 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7449 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. |
|
7450 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. |
|
7451 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. |
|
7452 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. |
|
7453 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. |
|
7454 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. |
|
7455 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. |
|
7456 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. |
|
7457 * dColVector.cc |
|
7458 (ColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7459 * CRowVector.cc |
|
7460 (ComplexRowVector::insert (const RowVector&, int)): Ditto. |
|
7461 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. |
|
7462 * CColVector.cc |
|
7463 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. |
|
7464 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. |
|
7465 |
|
7466 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): |
|
7467 Also fill in zeros, not just the diagonal. |
|
7468 |
|
7469 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): |
|
7470 Use END parameter properly. |
|
7471 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. |
|
7472 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. |
|
7473 |
|
7474 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. |
|
7475 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. |
|
7476 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): |
|
7477 Don't copy count. Set it to 1. |
|
7478 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. |
|
7479 |
|
7480 * Array.h (Array<T>::Array (T *, int)): After constructing rep, |
|
7481 don't set rep->count to 1 here (now handled by ArrayRep |
|
7482 constructors). |
|
7483 (Array<T>::Array (void)): Ditto. |
|
7484 (Array<T>::Array (int)): Ditto. |
|
7485 (Array<T>::T& elem (int)): Ditto. |
|
7486 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. |
|
7487 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. |
|
7488 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. |
|
7489 (Array<T>::resize (int)): Ditto. |
|
7490 (Array<T>::resize (int, const T&)) :Ditto. |
|
7491 (Array<T>::fortran_vec (void)): Ditto. |
|
7492 (Array2<T>::resize (int, int)): Ditto. |
|
7493 (Array2<T>::resize (int, int, const T&)): Ditto. |
|
7494 (DiagArray<T>::resize (int, int)): Ditto. |
|
7495 (DiagArray<T>::resize (int, int, const T&)): Ditto. |
|
7496 |
|
7497 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7498 |
|
7499 * Array-ch.cc: Rename from Array-c.cc. |
|
7500 * MArray-ch.cc: Rename from MArray-c.cc. |
|
7501 * chMatrix.cc: Rename from cMatrix.cc. |
|
7502 * chMatrix.h: Rename from cMatrix.h. |
|
7503 * Makefile.in (TI_SRC): Use new names here. |
|
7504 * mx-base.h: Likewise. |
|
7505 |
|
7506 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7507 |
|
7508 * Makefile.in: Handle shared libraries. |
|
7509 |
|
7510 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7511 |
|
7512 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): |
|
7513 Correctly compute length of return value. Correct rows and |
|
7514 columns in zgemv call. |
|
7515 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. |
|
7516 |
|
7517 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7518 |
|
7519 * Makefile.in (stamp-picdir): New target. |
|
7520 (all): Depend on it. |
|
7521 |
|
7522 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7523 |
|
7524 * Makefile.in (INCLUDES): Remove QLD.h. |
|
7525 (SOURCES): Remove QLD.cc. |
|
7526 |
|
7527 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> |
|
7528 |
|
7529 * dMatrix.cc (Matrix::inverse): New arg, force. |
|
7530 If force is nonzero, invert even if matrix is singular. |
|
7531 (ComplexMatrix::inverse): Likewise. |
|
7532 |
|
7533 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, |
|
7534 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, |
|
7535 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: |
|
7536 Include "oct-cmplx.h" instead of <Complex.h>. |
|
7537 |
|
7538 * mx-defs.h: Include oct-cmplx.h in place of forward declaration |
|
7539 for class Complex. |
|
7540 |
|
7541 * oct-cmplx.h: New file. |
|
7542 * Makefile.in (INCLUDES): Add it to the list. |
|
7543 |
|
7544 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. |
|
7545 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. |
|
7546 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. |
|
7547 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): |
|
7548 Avoid g++ bugs. |
|
7549 |
|
7550 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7551 |
|
7552 * Array-idx.h (maybe_delete_elements): Give useful error message. |
|
7553 |
|
7554 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. |
|
7555 |
|
7556 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7557 |
|
7558 * CDiagMatrix.cc (inverse): Return retval, not *this. |
|
7559 * dDiagMatrix.cc (inverse): Use same method as for Complex case. |
|
7560 |
|
7561 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7562 |
|
7563 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep |
|
7564 index vector object with Array, not ArrayRep. |
|
7565 |
|
7566 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7567 |
|
7568 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail |
|
7569 if index is a colon and resizing is maybe needed. |
|
7570 |
|
7571 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7572 |
|
7573 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true |
|
7574 if we have a vector of 1's. |
|
7575 |
|
7576 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no |
|
7577 current orientation, require index and rhs to conform unless |
|
7578 do_fortran_indexing flag is set. |
|
7579 |
|
7580 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7581 |
|
7582 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, |
|
7583 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, |
|
7584 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, |
|
7585 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, |
|
7586 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: |
|
7587 Massive changes to support additional data types. Only charMatrix |
|
7588 is currently used in Octave. |
|
7589 |
|
7590 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7591 |
|
7592 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. |
|
7593 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): |
|
7594 Simply call Array2<Complex> version. |
|
7595 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just |
|
7596 call Array2<double> version. |
|
7597 |
|
7598 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. |
|
7599 |
|
7600 * Array.h, Array.cc: Massive overhaul to support new way of |
|
7601 handling indexing. |
|
7602 * idx-vector.h, idx-vector.cc: Likewise. |
|
7603 * Array-ext.cc, Array-idx.h: New files. |
|
7604 * Makefile.in: Add them to the appropriate lists. |
|
7605 |
|
7606 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7607 |
|
7608 * Range.cc (nelem_internal): Use tfloor here, not round. |
|
7609 |
|
7610 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7611 |
|
7612 * idx-vector.h, idx-vector.cc: New files, moved from ../src. |
|
7613 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. |
|
7614 |
|
7615 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7616 |
|
7617 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. |
|
7618 |
|
7619 * Array.h: Move simple member functions here. |
|
7620 * Array.cc: From here. |
|
7621 |
|
7622 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7623 |
|
7624 * Range.cc (tfloor, tceil, round): New static functions. |
|
7625 (Range::nelem_internal): Rewrite to use better method. |
|
7626 |
|
7627 * dbleSVD.h (SVD::type): New item, sigma_only. |
|
7628 (type_computed): New var. |
|
7629 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7630 Handle possible error condition. |
|
7631 (init): Allow for SVD::sigma_only, save type computed. |
|
7632 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): |
|
7633 Handle possible error condition. |
|
7634 (init): Allow for SVD::sigma_only, save type computed. |
|
7635 |
|
7636 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7637 |
|
7638 * Nearly all non-matrix .h and .cc files: |
|
7639 Move short function bodies into class declarations for inlining. |
|
7640 Generally clean up. |
|
7641 |
|
7642 * base-min.h: New file. |
|
7643 * LP.h (class LP): Derive from base_minimizer. |
|
7644 * QLP.h (class QLP): Derive from base_minimizer. |
|
7645 * NLP.h (class NLP): Derive from base_minimizer. |
|
7646 * Makefile.in (INCLUDES): Add base-min.h to the list. |
|
7647 |
|
7648 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, |
|
7649 NLFunc.cc, Objective.cc and QP.cc from list. |
|
7650 |
|
7651 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7652 |
|
7653 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. |
|
7654 (SCHUR::SCHUR): Delete unused parameter ord. |
|
7655 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. |
|
7656 |
|
7657 * CRowVector.cc |
|
7658 (ComplexRowVector::operator+ (const Complex&, const RowVector&), |
|
7659 (ComplexRowVector::operator- (const Complex&, const RowVector&), |
|
7660 (ComplexRowVector::operator* (const Complex&, const RowVector&), |
|
7661 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): |
|
7662 Actually do something. |
|
7663 |
|
7664 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. |
|
7665 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. |
|
7666 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. |
|
7667 |
|
7668 * Quad.cc (Quad_options::Quad_options (double, double)): New function. |
|
7669 * (Quad::Quad (integrand_fcn, double, double): Properly initialize |
|
7670 tolerances. |
|
7671 |
|
7672 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. |
|
7673 * LPsolve.cc (LPsolve::minimize): Likewise. |
|
7674 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. |
|
7675 * ODE.cc (lsode_f, lsode_j): Likewise. |
|
7676 * QPSOL.cc (qphess): Likewise. |
|
7677 |
|
7678 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7679 |
|
7680 * dMatrix.cc: Include <cstring>. |
|
7681 |
|
7682 * Array.cc: Try harder to avoid warnings from gcc in functions |
|
7683 that return bogus values after calling the error handler. |
|
7684 |
|
7685 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7686 |
|
7687 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. |
|
7688 |
|
7689 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. |
|
7690 |
|
7691 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7692 |
|
7693 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. |
|
7694 (dassl_j): Likewise. |
|
7695 |
|
7696 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, |
|
7697 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, |
|
7698 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: |
|
7699 Update for change in for loop variable scope for gcc 2.7.0. |
|
7700 |
|
7701 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> |
|
7702 |
|
7703 * Makefile.in: Only include dependency files if $(omit_deps) is |
|
7704 not set. |
|
7705 |
|
7706 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) |
|
7707 |
|
7708 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h |
|
7709 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h |
|
7710 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h |
|
7711 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h |
|
7712 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h |
|
7713 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h |
|
7714 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h |
|
7715 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h |
|
7716 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc |
|
7717 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc |
|
7718 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc |
|
7719 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc |
|
7720 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc |
|
7721 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc |
|
7722 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc |
|
7723 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc |
|
7724 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc |
|
7725 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h |
|
7726 NLP.h: Use pragma interface/implementation. Don't surround |
|
7727 contents in extern "C++". |
|
7728 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". |
|
7729 |
|
7730 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7731 |
|
7732 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase |
|
7733 identifiers. |
|
7734 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7735 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7736 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7737 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7738 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7739 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7740 Quad.cc: Change usage of F77_FCN to match new definition |
|
7741 |
|
7742 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc |
|
7743 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc |
|
7744 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc |
|
7745 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc |
|
7746 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc |
|
7747 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc |
|
7748 Quad.cc: Where appropriate, declare Fortran subroutines to take |
|
7749 args by reference instead of pointer. Change all callers. |
|
7750 |
|
7751 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7752 |
|
7753 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New |
|
7754 functions. Make += and -= operators friend functions. |
|
7755 |
|
7756 * Array.h (Array2::~Array2, Array3::~Array3, |
|
7757 DiagArray::~DiagArray): New functions. |
|
7758 |
|
7759 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7760 |
|
7761 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. |
|
7762 (MATRIX_INC): Don't distribute mx-kludge.h. |
|
7763 |
|
7764 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7765 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7766 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7767 dRowVector.h dRowVector.cc: |
|
7768 Derive classes from MArray, MArray2, and MDiagArray, not Array, |
|
7769 Array2, and DiagArray2. |
|
7770 Don't use functions defined in mx-kludge.cc for arithmetic |
|
7771 like-type operations on arrays. |
|
7772 |
|
7773 * MArray.cc: Use the classes defined here like-type mathematical |
|
7774 operations on Array objects. Abuse CPP more. |
|
7775 * Makefile.in (TEMPLATE_SRC): Add it to the list. |
|
7776 (EXTRAS): Delete it from this list. |
|
7777 |
|
7778 * MArray-C.cc, MArray-d.cc: New files. |
|
7779 * Makefile.in (TI_SRC): Add them to the list. |
|
7780 |
|
7781 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7782 |
|
7783 * mx-kludge.cc: Abuse CPP even more. |
|
7784 |
|
7785 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7786 |
|
7787 * Objective.h (objective_function): Add missing const. |
|
7788 (gradient_function): Likewise. |
|
7789 |
|
7790 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc |
|
7791 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h |
|
7792 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc |
|
7793 dRowVector.h dRowVector.cc: |
|
7794 Reorganize to declare and define friends where they should be, |
|
7795 based on the use of private constructors. |
|
7796 |
|
7797 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> |
|
7798 |
|
7799 * CRowVector.h (linspace): Add declaration. |
|
7800 * dRowVector.h (linspace): Likewise. |
|
7801 |
|
7802 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): |
|
7803 Force result of rcond + 1.0 to be stored. |
|
7804 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
|
7805 ComplexMatrix::solve): Likewise. |
|
7806 |
|
7807 See ChangeLog.1 in the top level directory for earlier changes. |