Mercurial > hg > octave-nkf
annotate liboctave/ChangeLog @ 9516:fb933db0c517
convert fftw planner classes to singleton objects
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 11 Aug 2009 23:52:20 -0400 |
parents | eee9b3150446 |
children | 113dba092d8c |
rev | line source |
---|---|
9516
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
1 2009-08-11 John W. Eaton <jwe@octave.org> |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
2 |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
3 * oct-fftw.h, oct-fftw.cc (octave_fftw_planner): Convert to singleton. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
4 (octave_float_fft_planner): Likewise. |
fb933db0c517
convert fftw planner classes to singleton objects
John W. Eaton <jwe@octave.org>
parents:
9515
diff
changeset
|
5 |
9515 | 6 2009-08-11 John W. Eaton <jwe@octave.org> |
7 | |
8 * Makefile.in (LINK_DEPS): Use READLINE_LIBS instead of | |
9 LIBREADLINE. Also link with TERM_LIBS and DL_LIBS. | |
10 | |
9513
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
11 2009-08-11 Jaroslav Hajek <highegg@gmail.com> |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
12 |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
13 * mx-inlines.cc (mx_inline_diff<T>): New overloaded template |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
14 function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
15 (get_extent_triplet): Use dim_vector::first_non_singleton. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
16 (do_mx_diff_op): New template function. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
17 * dNDArray.cc (NDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
18 * dNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
19 * fNDArray.cc (FloatNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
20 * fNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
21 * CNDArray.cc (ComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
22 * CNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
23 * fCNDArray.cc (FloatComplexNDArray::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
24 * fCNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
25 * intNDArray.cc (intNDArray<T>::diff): New method. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
26 * intNDArray.h: Declare it. |
9f870f73ab7d
implement built-in diff
Jaroslav Hajek <highegg@gmail.com>
parents:
9511
diff
changeset
|
27 |
9511
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
28 2009-08-10 Jaroslav Hajek <highegg@gmail.com> |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
29 |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
30 * dim-vector.h (dim_vector::first_non_singleton): New method. |
cc1fd3084cb2
implement dim_vector::first_non_singleton
Jaroslav Hajek <highegg@gmail.com>
parents:
9507
diff
changeset
|
31 |
9507
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
32 2009-08-06 Jaroslav Hajek <highegg@gmail.com> |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
33 |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
34 * dim-vector.h (dim_vector): Rewrite. Use single-alloc implementation |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
35 aka GCC's basic_string class. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
36 * Array.cc: Use dim_vector::alloc where fitting. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
37 * Array-util.cc: Ditto. |
b096d11237be
dim_vector improvements
Jaroslav Hajek <highegg@gmail.com>
parents:
9501
diff
changeset
|
38 |
9493 | 39 2009-08-05 John W. Eaton <jwe@octave.org> |
40 | |
41 * oct-shlib.cc (octave_shl_load_shlib::open): Pass BIND_IMMEDIATE, | |
42 not BIND_DEFERRED to shl_load. | |
43 (octave_dlopen_shlib::open): Don't pass RTLD_GLOBAL to dlopen. | |
44 | |
9490 | 45 2009-08-05 John W. Eaton <jwe@octave.org> |
46 | |
47 * Makefile.in (LINK_DEPS): Omit $(BLAS_LIBS) from the list. | |
48 Include $(RLD_FLAG) in the list. | |
49 | |
9488
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
50 2009-08-05 John W. Eaton <jwe@octave.org> |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
51 |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
52 * Makefile.in (LINK_DEPS): Include $(PTHREAD_LIBS) in the list. |
ee572cdd4b97
add configure checks for pthread library and compiler flags
John W. Eaton <jwe@octave.org>
parents:
9485
diff
changeset
|
53 |
9485
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
54 2009-08-04 Kristian Rumberg <kristianrumberg@gmail.com> |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
55 |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
56 * cmd-edit.cc (gnu_readline::do_get_line_buffer, |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
57 default_command_editor::do_get_line_buffer): New functions. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
58 (command_editor::get_line_buffer): New function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
59 * cmd-edit.h (command_editor::get_line_buffer): Provide decls. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
60 (command_editor::do_get_line_buffer): New pure virtual function. |
3cee58bf4acf
selectively complete filenames in some cases
John W. Eaton <jwe@octave.org>
parents:
9479
diff
changeset
|
61 |
9479
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
62 2009-07-31 Jaroslav Hajek <highegg@gmail.com> |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
63 |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
64 * idx-vector.h (idx_vector::is_range): New method. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
65 (idx_vector::copy_data, idx_vector::unconvert): New method decls. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
66 * idx-vector.cc (idx_vector::copy_data, idx_vector::unconvert): New |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
67 methods. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
68 * Array-utils.cc (sub2ind, ind2sub): New functions. |
d9716e3ee0dd
supply optimized compiled sub2ind & ind2sub
Jaroslav Hajek <highegg@gmail.com>
parents:
9469
diff
changeset
|
69 |
9469
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
70 2009-07-29 John W. Eaton <jwe@octave.org> |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
71 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
72 * fMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
73 * fNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
74 * fCMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
75 * fCNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
76 * dMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
77 * dNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
78 * CMatrix.cc (operator >>): Use template function to read value. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
79 * CNDArray.cc (operator >>): Likeise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
80 |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
81 * lo-utils.cc, lo-utils.h (octave_read_value): New template |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
82 (octave_read_value<double>, octave_read_value<Complex>): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
83 Provide specializations. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
84 (octave_read_double, octave_read_complex, octave_read_float, |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
85 octave_rread_float_complex): Define in terms of template functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
86 * Sparse.h (read_sparse_matrix): New template function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
87 * dSparse.cc (operator >>): Call read_sparse_matrix. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
88 * CSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
89 * boolSparse.cc (operator >>): Likewise. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
90 * sparse-util.cc, sparse-util.h (sparse_indices_ok): New function. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
91 * Sparse.cc (Sparse<T>::indices_ok, Sparse<T>::SparseRep::indices_ok): |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
92 New member functions. |
c6edba80dfae
sanity checks for loading sparse matrices
John W. Eaton <jwe@octave.org>
parents:
9441
diff
changeset
|
93 |
9441
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
94 2009-07-20 John W. Eaton <jwe@octave.org> |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
95 |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
96 * lo-ieee.cc (octave_ieee_init) [__NetBSD__]: Call nan to |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
97 initialize Octave_NaN and nanf, to initialize Octave_Float_NaN. |
160c564d5d25
initialize floating point values properly for NetBSD systems
Aleksej Saushev <asau@inbox.ru>
parents:
9431
diff
changeset
|
98 |
9431 | 99 2009-07-11 John W. Eaton <jwe@octave.org> |
100 | |
101 * file-ops.cc (file_ops::symlink, file_ops::readlink): | |
102 Don't use incorrectly sized OCTAVE_LOCAL_BUFFER. | |
103 | |
9420
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
104 2009-07-08 John W. Eaton <jwe@octave.org> |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
105 |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
106 * dim-vector.h (dim_vector::dim_vector_rep::dim_vector_rep |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
107 (octave_idx_type, const dim_vector_rep *, int)): |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
108 Enforce 2-d objects here. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
109 (dim_vector::dim_vector_rep::dim_vector_rep): Simply copy object. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
110 (dim_vector::resize): Allow N < 2. |
434ae96dc10f
dim-vector.h: dim vectors always have two dimensions
John W. Eaton <jwe@octave.org>
parents:
9417
diff
changeset
|
111 |
9417
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
112 2009-07-03 Jaroslav Hajek <highegg@gmail.com> |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
113 |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
114 * Sparse-op-defs.h (SPARSE_ALL_OP): Fix typo. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
115 * dSparse.cc (SparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
116 * CSparse.cc (ComplexSparseMatrix::prod): Ditto. |
5d46c4a894e8
fix bugs in sparse reductions
Jaroslav Hajek <highegg@gmail.com>
parents:
9414
diff
changeset
|
117 |
9414
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
118 2009-07-02 Jaroslav Hajek <highegg@gmail.com> |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
119 |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
120 * Sparse-diag-op-defs.h (inner_do_add_sm_dm): Rewrite to ensure |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
121 ordering of row indices. |
79c4dd83d07f
fix sparse +- diag operations
Jaroslav Hajek <highegg@gmail.com>
parents:
9410
diff
changeset
|
122 |
9410
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
123 2009-06-30 Jaroslav Hajek <highegg@gmail.com> |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
124 |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
125 * oct-sort.cc (octave_sort<T>::lookupb<Comp>): Fix typo. |
2ad67ccd09fd
fix typo in octave_sort::lookupb
Jaroslav Hajek <highegg@gmail.com>
parents:
9407
diff
changeset
|
126 |
9407
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
127 2009-06-29 Jaroslav Hajek <highegg@gmail.com> |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
128 |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
129 * oct-sort.cc (octave_sort<T>::lookup_merge): Delete. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
130 (octave_sort<T>::lookup<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
131 octave_sort<T>::lookupm<Comp>, |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
132 octave_sort<T>::lookupb<Comp>): Rewrite. |
0951174cbb03
remove experimental stuff from lookup, simplify
Jaroslav Hajek <highegg@gmail.com>
parents:
9402
diff
changeset
|
133 |
9402
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
134 2009-06-26 Michael Goffioul <michael.goffioul@gmail.com> |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
135 |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
136 * pathsearch.h (class dir_path::static_members): Decorate with |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
137 OCTAVE_API. |
cdfb9ad48080
Add exported symbols
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9400
diff
changeset
|
138 |
9400
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
139 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
140 |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
141 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Slightly speed-up |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
142 the merge case. |
df1ea906c1c4
a slight speed-up in oct-sort.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9399
diff
changeset
|
143 |
9399
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
144 2009-06-26 Jaroslav Hajek <highegg@gmail.com> |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
145 |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
146 * oct-sort.cc (octave_sort<T>::lookup_merge<Comp>): Fix lower-part |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
147 recursion. |
a5f6b5800f86
fix bug in recursive lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9391
diff
changeset
|
148 |
9391
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
149 2009-06-24 Alexander Barth <barth.alexander@gmail.com> |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
150 |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
151 * eigs-base.cc (EigsRealSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
152 EigsRealSymmetricMatrixShift, EigsRealSymmetricFunc, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
153 EigsRealNonSymmetricMatrix, EigsRealNonSymmetricMatrixShift, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
154 EigsRealNonSymmetricFunc, EigsComplexNonSymmetricMatrix, |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
155 EigsComplexNonSymmetricMatrixShift, EigsComplexNonSymmetricFunc): |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
156 Use octave_idx_type for parameters of type LOGICAL in ARPACK. |
333b31ce3434
eigs-base.cc: use octave_idx_type for Fortran LOGICAL values
Alexander Barth <barth.alexander@gmail.com>
parents:
9370
diff
changeset
|
157 |
9370
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
158 2009-06-22 Jaroslav Hajek <highegg@gmail.com> |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
159 |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
160 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
161 Optimize w.r.t. COW of std::string. |
4ff6f8efdda2
fix slow cellstr -> char matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
9362
diff
changeset
|
162 |
9362
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
163 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
164 |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
165 * oct-sort.cc (lookup_impl<T, Comp>): New helper inline function. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
166 (octave_sort<T>::lookup_merge<Comp>): New private template method. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
167 (octave_sort<T>::lookup<Comp>): Rewrite. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
168 (octave_sort<T>::lookupm<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
169 (octave_sort<T>::lookupb<Comp>): use lookup_impl. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
170 (out_of_range_pred, out_of_range): Remove. |
2ebf3ca62add
use a smarter algorithm for default lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
9359
diff
changeset
|
171 |
9359
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
172 2009-06-18 Jaroslav Hajek <highegg@gmail.com> |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
173 |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
174 * dMatrix.cc (xgemm): Replace resize() with uninitialized allocations |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
175 where appropriate. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
176 * fMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
177 * CMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
178 * fCMatrix.cc (xgemm): Ditto. |
be6867ba8104
avoid useless zero initialization when doing matrix multiply
Jaroslav Hajek <highegg@gmail.com>
parents:
9341
diff
changeset
|
179 |
9341
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
180 2009-06-12 Jaroslav Hajek <highegg@gmail.com> |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
181 |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
182 * oct-sort.cc (octave_sort::lookupm, octave_sort::lookupb): New |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
183 overloaded methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
184 * oct-sort.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
185 * Array.cc (Array<T>::lookupm, Array<T>::lookupb): New methods. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
186 * Array.h: Declare them. |
9fd5c56ce57a
extend lookup capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
9321
diff
changeset
|
187 |
9321
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
188 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
189 |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
190 * cmd-edit.cc (command_editor::force_default_editor): New static |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
191 method. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
192 * cmd-edit.h: Declare it. |
9b87aeb24ea9
avoid using readline at all when line editing suppressed or interpreter embedded
Jaroslav Hajek <highegg@gmail.com>
parents:
9319
diff
changeset
|
193 |
9319
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
194 2009-06-09 Jaroslav Hajek <highegg@gmail.com> |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
195 |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
196 * lo-mappers.cc (xlog2 (const Complex&, int&), xlog2 (const |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
197 FloatComplex&, int&)): Use more robust expression. |
0d9178575dd7
fix log2 with 2 outargs, loosen tests to meet IEEE
Jaroslav Hajek <highegg@gmail.com>
parents:
9310
diff
changeset
|
198 |
9310 | 199 2009-06-07 Jaroslav Hajek <highegg@gmail.com> |
200 | |
201 * Array.cc (Array<T>::find): Avoid allocating excessive memory. Fix | |
202 order for backward searches. | |
203 | |
9287
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
204 2009-06-02 Jaroslav Hajek <highegg@gmail.com> |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
205 |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
206 * Array-C.cc (class DiagArray2<Complex>::Proxy): Only explicitly |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
207 instantiate DiagArray2<T>::Proxy on MSVC. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
208 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
209 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
210 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
a407e894ec74
conditionally enable MSVC-specific DiagArray2<T>::Proxy instantiations
Jaroslav Hajek <highegg@gmail.com>
parents:
9267
diff
changeset
|
211 |
9267 | 212 2009-05-26 John W. Eaton <jwe@octave.org> |
213 | |
214 * pathsearch.h (dir_path::path_sep_char (char), | |
215 dir_path::static_members::path_sep_char (char)): New functions. | |
216 | |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
217 2009-05-21 Michael Goffioul <michael.goffioul@gmail.com> |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
218 |
9237
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
219 * Array-C.cc (class DiagArray2<Complex>::Proxy): Tag with OCTAVE_API. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
220 * Array-d.cc (class DiagArray2<double>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
221 * Array-f.cc (class DiagArray2<float>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
222 * Array-fC.cc (class DiagArray2<FloatComplex>::Proxy): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
223 * Array.cc (class octave_sort<T>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
224 * CColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
225 * CDiagMatrix.h (class ComplexDiagMatrix, conj, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
226 * CMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
227 * CNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
228 * PermMatrix.h (class PermMatrix, operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
229 * dDiagMatrix.h (class DiagMatrix): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
230 * fCColVector.h (conj, operator*, operator>>, operator<<): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
231 * fCDiagMatrix.h (class FloatComplexDiagMatrix, conj, operator*): |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
232 Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
233 * fCMatrix.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
234 * fCNDArray.h (conj): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
235 * fDiagMatrix.h (operator*): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
236 * oct-locbuf.h (octave_chunk_buffer::octave_chunk_buffer, |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
237 octave_chunk_buffer::~octave_chunk_buffer): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
238 * oct-inttypes.cc (octave_int_cmp_op::emulate_op): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
239 * DET.h (class base_det<T>): Remove OCTAVE_API (cannot be applied on |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
240 templates). |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
241 * oct-inttypes.cc (octave_int_cmp_op::emulate_op<class xop>): Ditto. |
3c1762c7e787
Add missing xxx_API decoration and remove misplaced ones
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9235
diff
changeset
|
242 |
9235
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
243 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::delete_col): Copy |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
244 volatile variable to avoid MSVC compilation error (cannot pass |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
245 volatile variable as const& argument). |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
246 * dbleQR.cc (QR::insert_col, QR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
247 * fCmplxQR.cc (FloatComplexQR::insert_col, |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
248 FloatComplexQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
249 * floatQR.cc (FloatQR::insert_col, FloatQR::delete_col): Ditto. |
b03953732530
Copy volatile variable to avoid MSVC compilation error
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9233
diff
changeset
|
250 |
9233
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
251 * oct-mutex.cc: Exclude pthread.h inclusion under Win32. |
b935bbfab7c4
Exclude pthread.h inclusion under Win32
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9232
diff
changeset
|
252 |
9232
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
253 * base-aepbal.h (base_aepbal::operator=): Add missing return |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
254 statement. |
7319e4de9e44
Add missing return statement in base-aepbal.h
Michael Goffioul <michael.goffioul@gmail.com>
parents:
9228
diff
changeset
|
255 |
9228
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
256 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
257 |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
258 * eigs-base.cc ( |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
259 EigsRealSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
260 EigsRealSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
261 EigsRealSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
262 EigsRealNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
263 EigsRealNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
264 EigsRealNonSymmetricFunc, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
265 EigsComplexNonSymmetricMatrix, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
266 EigsComplexNonSymmetricMatrixShift, |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
267 EigsComplexNonSymmetricFunc): Update tests. |
ab40ef1e232f
fix tests within eigs-base.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
9227
diff
changeset
|
268 |
9227
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
269 2009-05-21 Jaroslav Hajek <highegg@gmail.com> |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
270 |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
271 * CMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
272 (ComplexMatrix::all, ComplexMatrix::any, ComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
273 ComplexMatrix::cumsum, ComplexMatrix::prod, ComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
274 ComplexMatrix::sumsq): Use explicit template qualifications |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
275 to workaround bugs in Intel C++ and MSVC++ compilers. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
276 * CNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
277 (ComplexNDArray::all, ComplexNDArray::any, ComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
278 ComplexNDArray::cumsum, ComplexNDArray::prod, ComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
279 ComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
280 * boolMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
281 (boolMatrix::all, boolMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
282 * boolNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
283 (boolNDArray::all, boolNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
284 * chMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
285 (charMatrix::all, charMatrix::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
286 * chNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
287 (charNDArray::all, charNDArray::any): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
288 * dMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
289 (Matrix::all, Matrix::any, Matrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
290 Matrix::cumsum, Matrix::prod, Matrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
291 Matrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
292 * dNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
293 (NDArray::all, NDArray::any, NDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
294 NDArray::cumsum, NDArray::prod, NDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
295 NDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
296 * fCMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
297 (FloatComplexMatrix::all, FloatComplexMatrix::any, FloatComplexMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
298 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, FloatComplexMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
299 FloatComplexMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
300 * fCNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
301 (FloatComplexNDArray::all, FloatComplexNDArray::any, FloatComplexNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
302 FloatComplexNDArray::cumsum, FloatComplexNDArray::prod, FloatComplexNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
303 FloatComplexNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
304 * fMatrix.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
305 (FloatMatrix::all, FloatMatrix::any, FloatMatrix::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
306 FloatMatrix::cumsum, FloatMatrix::prod, FloatMatrix::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
307 FloatMatrix::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
308 * fNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
309 (FloatNDArray::all, FloatNDArray::any, FloatNDArray::cumprod, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
310 FloatNDArray::cumsum, FloatNDArray::prod, FloatNDArray::sum, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
311 FloatNDArray::sumsq): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
312 * intNDArray.cc |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
313 (intNDArray<T>::all, intNDArray<T>::any, |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
314 intNDArray<T>::cumsum, intNDArray<T>::sum): Ditto. |
8145f2255276
use explicit template qualifs to please Intel C++ and MSVC++
Jaroslav Hajek <highegg@gmail.com>
parents:
9225
diff
changeset
|
315 |
9225
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
316 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
317 |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
318 * Makefile.in: Remove reference to ArrayN-idx.h. |
3161ccb261ec
delete ArrayN-idx from Makefile.in
Jaroslav Hajek <highegg@gmail.com>
parents:
9222
diff
changeset
|
319 |
9222
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
320 2009-05-20 Jaroslav Hajek <highegg@gmail.com> |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
321 |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
322 * Array-voidp.cc: New source. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
323 * Array.cc (NO_INSTANTIATE_ARRAY_SORT): const T& -> T const & |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
324 * Makefile.in: Include it. |
7bd406e12e4d
instantiate Array<void *> in liboctave
Jaroslav Hajek <highegg@gmail.com>
parents:
9201
diff
changeset
|
325 |
9201
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
326 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
327 |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
328 * Array.cc (Array<T>::instantiation_guard): New function |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
329 (INSTANTIATE_ARRAY): Always override it here. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
330 * Array.h: Declare it. |
472f0e22aa60
guard against implicit instantiation
Jaroslav Hajek <highegg@gmail.com>
parents:
9200
diff
changeset
|
331 |
9200
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
332 2009-05-15 Jaroslav Hajek <highegg@gmail.com> |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
333 |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
334 * ArrayN-idx.h: Remove file. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
335 * ArrayN.cc: Don't include it. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
336 * MArrayN.cc: Dtto. |
72620af9cbaf
remove obsolete ArrayN-idx.h
Jaroslav Hajek <highegg@gmail.com>
parents:
9192
diff
changeset
|
337 |
9192
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
338 2009-05-09 Jaroslav Hajek <highegg@gmail.com> |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
339 |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
340 * Array-util.cc (zero_dims_inquire): Move j++ out of branch. |
864805896876
fix zero-dims assignment bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9186
diff
changeset
|
341 |
9186
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
342 2009-05-07 Marco Atzeri <marco_atzeri@yahoo.it> |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
343 |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
344 * Makefile.in: (SHLPRE): Rename from SHLLIBPRE. |
49a0c58a7dcf
Added SHLPRE for SHLEXT instead of SHLLIBPRE
marco_atzeri@yahoo.it
parents:
9182
diff
changeset
|
345 |
9182
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
346 2009-05-05 Robert T. Short <octave@phaselockedsystems.com> |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
347 |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
348 * file-ops.h (file_ops::tail) New function. |
23af5910e5f5
make load work for derived classses
Robert T. Short <octave@phaselockedsystems.com>
parents:
9179
diff
changeset
|
349 |
9179
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
350 2009-05-05 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
351 |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
352 * Quad.cc (user_function): Use access_double and assign_double on |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
353 SPARC only, not on all Sun systems. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
354 * sun-utils.h: Likewise, define these functions on SPARC only. |
5be2e6696772
use access_double and assign_double on sparc only
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9177
diff
changeset
|
355 |
9177
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
356 2009-05-05 Jaroslav Hajek <highegg@gmail.com> |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
357 |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
358 * Sparse.cc (assign1): Fix an old indexing bug. |
39be2c4531c8
fix sparse indexing bug
Jaroslav Hajek <highegg@gmail.com>
parents:
9169
diff
changeset
|
359 |
9169
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
360 2009-05-04 Carsten Clark <tantumquantum+gnuoctave@gmail.com> |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
361 |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
362 * Quad.cc (float_user_function): Remove Sun/GCC special case. |
b1e82cc8a9f3
eliminate broken special case for copying floats on Sun systems
Carsten Clark <tantumquantum+gnuoctave@gmail.com>
parents:
9124
diff
changeset
|
363 |
9124
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
364 2009-04-16 Jaroslav Hajek <highegg@gmail.com> |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
365 |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
366 * idx-vector.cc (idx_vector::idx_range_rep::idx_range_rep (const |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
367 Range&)): Check for positive integer indices. Unify gripes. |
47f19c11b558
fix checking valid range subscripts
Jaroslav Hajek <highegg@gmail.com>
parents:
9121
diff
changeset
|
368 |
9121
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
369 2009-04-15 Jaroslav Hajek <highegg@gmail.com> |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
370 |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
371 * Array.cc (rec_permute_helper::blk_trans): Declare as static. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
372 (Array<T>::transpose): Reuse it. |
bb62bc406ea7
reuse fast blocked transpose implementation from rec_permute_helper in Array<T>::transpose
Jaroslav Hajek <highegg@gmail.com>
parents:
9100
diff
changeset
|
373 |
9100
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
374 2009-04-04 Jaroslav Hajek <highegg@gmail.com> |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
375 |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
376 * Array.cc (Array<T>::make_unique): Don't economize when unique. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
377 (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
378 pop operations. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
379 (Array<T>::delete_elements (const idx_vector&)): Do pop operation |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
380 using resize. |
1a8bbfb2f7cf
optimize simple stack operations on arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
9058
diff
changeset
|
381 |
9058
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
382 2009-03-29 Jaroslav Hajek <highegg@gmail.com> |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
383 |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
384 * Array.cc (Array<T>::assign): Remove redundant checks after invalid |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
385 resize. |
2da105bf2507
remove redundant checks from Array<T>::index
Jaroslav Hajek <highegg@gmail.com>
parents:
9046
diff
changeset
|
386 |
9046
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
387 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
388 |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
389 * Array.cc (Array<T>::find): Reshape result for Matlab compatibility. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
390 * Array.h (Array<T>): Add friend template declaration. |
88bf56bbccca
make Array::find already return Matlab-compatible dimensions
Jaroslav Hajek <highegg@gmail.com>
parents:
9045
diff
changeset
|
391 |
9045
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
392 2009-03-27 Jaroslav Hajek <highegg@gmail.com> |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
393 |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
394 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
395 Array<bool>&): Use more M*b-compatible behaviour. |
ac0a23e9f5c5
more compatible indexing by logical empty matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
9027
diff
changeset
|
396 |
9027
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
397 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
398 |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
399 * dim-vector.h (dim_vector::numel): Add optional argument, simplify. |
9a46ba093db4
generalize dim_vector::numel
Jaroslav Hajek <highegg@gmail.com>
parents:
9026
diff
changeset
|
400 |
9026
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
401 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
402 |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
403 * Array.h (Array<T>::dims): Return a const reference. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
404 (Array<T>::is_vector): New method. |
6890d411a0b8
adjust some array dim query methods
Jaroslav Hajek <highegg@gmail.com>
parents:
9025
diff
changeset
|
405 |
9025 | 406 2009-03-26 Jaroslav Hajek <highegg@gmail.com> |
407 | |
408 * Array.cc (Array<T>::find): New method. | |
409 * Array.h: Declare it. | |
410 | |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
411 2009-03-25 John W. Eaton <jwe@octave.org> |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
412 |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
413 * EIG.cc (EIG::init (const Matrix&, bool), |
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
414 EIG::init (const Matrix&, const Matrix&, bool)): |
9021 | 415 Avoid volatile declaration for tmp variable. |
9020
728e7943752d
EIG.cc: avoid volatile decl for tmp variable
John W. Eaton <jwe@octave.org>
parents:
9018
diff
changeset
|
416 |
9018
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
417 * Makefile.in (MATRIX_INC): Add Sparse-diag-op-defs.h and |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
418 Sparse-perm-op-defs.h to the list. |
9057df9bb8a1
liboctave/Makefile.in (MATRIX_INC): add missing files to the list
John W. Eaton <jwe@octave.org>
parents:
9013
diff
changeset
|
419 |
9013
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
420 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
421 |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
422 * oct-inttypes.cc (INT_DOUBLE_BINOP_DECL (*, uint64), |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
423 INT_DOUBLE_BINOP_DECL (*, int64)): x -> y where appropriate. |
3b1908b58662
fixes in mixed int64-double multiply emulation
Jaroslav Hajek <highegg@gmail.com>
parents:
9012
diff
changeset
|
424 |
9012
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
425 2009-03-25 Jaroslav Hajek <highegg@gmail.com> |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
426 |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
427 * Array.cc (rec_permute_helper::use_blk): New field. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
428 (rec_permute_helper::blk_trans): New method. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
429 (rec_permute_helper::rec_permute_helper): Use smart reductions, |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
430 detect possibility of using blocked transpose. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
431 (rec_permute_helper::do_permute): Use blocked transpose if possible. |
9f5e095555fc
smarter algorithm for permute
Jaroslav Hajek <highegg@gmail.com>
parents:
9007
diff
changeset
|
432 |
9007
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
433 2009-03-23 Jaroslav Hajek <highegg@gmail.com> |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
434 |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
435 * idx-vector.cc (convert_index(double,...)): Simplify. |
7e31df9a0334
simplify double->int conversion in indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
9003
diff
changeset
|
436 |
9003
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
437 2009-03-21 Jaroslav Hajek <highegg@gmail.com> |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
438 |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
439 * Array-d.cc: lo_ieee_isnan -> xisnan. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
440 * Array-f.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
441 * oct-inttypes.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
442 * oct-inttypes.h: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
443 * CDiagMatrix.cc: Add missing include. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
444 * fCDiagMatrix.cc: Ditto. |
0631d397fbe0
replace lo_ieee_isnan by xisnan, add missing includes
Jaroslav Hajek <highegg@gmail.com>
parents:
8999
diff
changeset
|
445 |
8999
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
446 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
447 |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
448 * CColVector.cc, CMatrix.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
449 boolSparse.cc, dColVector.cc, dMatrix.cc, dNDArray.cc, dRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
450 dSparse.cc, fCColVector.cc, fCMatrix.cc, fCNDArray.cc, fCRowVector.cc, |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
451 fColVector.cc, fMatrix.cc, fNDArray.cc, fRowVector.cc, intNDArray.cc: |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
452 Allow empty arrays in stream input operators. |
dc07bc4157b8
allow empty matrices in stream input operators
Jaroslav Hajek <highegg@gmail.com>
parents:
8998
diff
changeset
|
453 |
8998
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
454 2009-03-20 Jaroslav Hajek <highegg@gmail.com> |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
455 |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
456 * Array.h (Array<T>::fastmap): New method. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
457 * dNDArray.cc (NDArray::isnan, NDArray::isinf, NDArray::isfinite): |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
458 New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
459 * dNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
460 * fNDArray.cc (FloatNDArray::isnan, FloatNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
461 FloatNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
462 * fNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
463 * CNDArray.cc (ComplexNDArray::isnan, ComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
464 ComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
465 * CNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
466 * fCNDArray.cc (FloatComplexNDArray::isnan, FloatComplexNDArray::isinf, |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
467 FloatComplexNDArray::isfinite): New methods. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
468 * fCNDArray.h: Declare them. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
469 * lo-mappers.h (xisnan, xisinf, xfinite): If possible, use definitions |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
470 from <cmath>. |
a48fba01e4ac
optimize isnan/isinf/isfinite mappers
Jaroslav Hajek <highegg@gmail.com>
parents:
8995
diff
changeset
|
471 |
9501 | 472 2009-03-18 Jaroslav Hajek <highegg@gmail.com> |
8995
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
473 |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
474 * oct-norm.cc (get_eps): Remove that hack. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
475 (higham): Use std::numeric_limits instead. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
476 Include OCTAVE_QUIT. |
1b097d86a61a
remove a TODO in oct-norm.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8987
diff
changeset
|
477 |
8987
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
478 2009-03-16 Jason Riedy <jason@acm.org> |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
479 |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
480 * Sparse.cc (transpose): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
481 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
482 * CSparse.cc (hermitian): Eliminate the workspace by computing in |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
483 retval.xcidx. |
542015fada9e
Eliminate the workspace in sparse transpose.
Jason Riedy <jason@acm.org>
parents:
8983
diff
changeset
|
484 |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
485 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
486 |
8983
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
487 * mx-op-decl.h (NDS_BOOL_OP_DECLS, SND_BOOL_OP_DECLS, NDND_BOOL_OP_DECLS): Support compound binary ops. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
488 * mx-op-defs.h (NDS_BOOL_OPS, SND_BOOL_OPS, NDND_BOOL_OPS): Ditto. Optimize. |
e781ab1aee39
optimize comparison ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8982
diff
changeset
|
489 * mx-op-defs.h (NDS_CMP_OP, SND_CMP_OP, NDND_CMP_OP): Optimize. |
8982
dc6bda6f9994
implement compound logical ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8981
diff
changeset
|
490 |
8981
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
491 2009-03-14 Jaroslav Hajek <highegg@gmail.com> |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
492 |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
493 * fNDArray.h (FloatMatrix::matrix_value): Fix return type. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
494 * dNDArray.cc (Matrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
495 * fNDArray.cc (FloatMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
496 * CNDArray.cc (ComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
497 * fCNDArray.cc (FloatComplexMatrix::matrix_value): Simplify. |
ed5055b0a476
fix & simplify ndarray->matrix conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8972
diff
changeset
|
498 |
8971 | 499 2009-03-13 Jaroslav Hajek <highegg@gmail.com> |
500 | |
501 * Range.h (Range::Range (double, double, octave_idx_type)): Remove | |
502 constructor body. | |
503 * Range.cc: Move it here. Check for invalid range op results. | |
504 (all operators): Validate cache for invalid range op results. | |
8972
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
505 * idx-vector.h (idx_vector::index): Optimize zero-step range case. |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
506 * idx-vector.cc (idx_vector::maybe_reduce): Always reduce colon in |
5fa53d1b6247
more indexing optimizations
Jaroslav Hajek <highegg@gmail.com>
parents:
8971
diff
changeset
|
507 singleton dimension. |
8971 | 508 |
8969
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
509 2009-03-10 Jason Riedy <jason@acm.org> |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
510 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
511 * sparse-base-lu.cc (Pr_mat): New member function. Return the row |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
512 permutation as a PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
513 (Pc_mat): New member function. Return the col permutation as a |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
514 PermMatrix. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
515 |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
516 * sparse-base-lu.h (sparse_base_lu): Declare Pc_mat and Pr_mat |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
517 member functions. |
3ecbc236e2e0
Have sparse LU return permutation matrices rather than sparse matrices.
Jason Riedy <jason@acm.org>
parents:
8968
diff
changeset
|
518 |
8966
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
519 2009-03-09 Jason Riedy <jason@acm.org> |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
520 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
521 * Sparse-diag-op-defs.h (octave_impl::inner_do_add_sm_dm): New |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
522 template function. Implementation for adding sparse and diagonal |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
523 matrices. Takes two functional arguments, opa and opd, to |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
524 generate both subtraction variants. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
525 (octave_impl::do_commutative_add_dm_sm): New template function. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
526 Ensure A+D and D+A use the same generated code. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
527 (octave_impl::do_add_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
528 arguments for diag + sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
529 (octave_impl::do_sub_dm_sm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
530 arguments for diag - sparse and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
531 (octave_impl::do_add_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
532 arguments for sparse + diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
533 (octave_impl::do_sub_sm_dm): New template function. Check |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
534 arguments for sparse - diag and call inner routine. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
535 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
536 * dSparse.h (operator +): Declare overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
537 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
538 (operator -): Declare overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
539 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
540 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
541 * dSparse.cc (operator +): Define overrides for real diag + |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
542 sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
543 (operator -): Define overrides for real diag - sparse, sparse - |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
544 diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
545 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
546 * CSparse.h (operator +): Declare overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
547 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
548 (operator -): Declare overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
549 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
550 |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
551 * CSparse.cc (operator +): Define overrides for complex and real |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
552 combinations of diag + sparse. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
553 (operator -): Define overrides for complex and real combinations |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
554 of diag - sparse, sparse - diag. |
1bba53c0a38d
Implement diag + sparse, diag - sparse, sparse + diag, sparse - diag.
Jason Riedy <jason@acm.org>
parents:
8964
diff
changeset
|
555 |
8964
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
556 2009-03-08 Jason Riedy <jason@acm.org> |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
557 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
558 * Sparse-diag-op-defs.h (octave_impl::do_mul_dm_sm) |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
559 (octave_impl::do_mul_sm_dm): New template |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
560 functions. Implementations for sparse * diag and diag * sparse. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
561 |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
562 * CSparse.h (operator *, trans_mul, herm_mul): Add overloads for |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
563 DiagMatrix and ComplexDiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
564 * CSparse.cc (operator *, trans_mul, herm_mul): Implement |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
565 operations by calling approprate functions in |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
566 Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
567 * dSparse.h (operator *, trans_mul): Add overloads for DiagMatrix. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
568 * dSparse.cc (operator *, trans_mul): Implement operations by |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
569 calling approprate functions in Sparse-diag-op-defs.h. |
f4f4d65faaa0
Implement sparse * diagonal and diagonal * sparse operations, double-prec only.
Jason Riedy <jason@acm.org>
parents:
8963
diff
changeset
|
570 |
8963
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
571 2009-03-12 John W. Eaton <jwe@octave.org> |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
572 |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
573 * oct-inttypes.h (bitshift): Apply mask even if not shifting. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
574 From Seb Astien <se6astien2@googlemail.com>. |
d1eab3ddb02d
oct-inttypes.h (bitshift): apply mask even if not shifting
John W. Eaton <jwe@octave.org>
parents:
8959
diff
changeset
|
575 |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
576 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
577 |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
578 * PermMatrix.cc (PermMatrix::power): New method. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
579 * PermMatrix.h: Declare it. |
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8956
diff
changeset
|
580 |
8956
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
581 2009-03-11 Jaroslav Hajek <highegg@gmail.com> |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
582 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
583 * dNDArray.cc (NDArray::NDArray (const charNDArray&)): New |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
584 constructor. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
585 * fNDArray.cc (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
586 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
587 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
588 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
589 * fCNDArray.cc (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
590 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
591 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
592 * dNDArray.h (NDArray::NDArray (const charNDArray&)): Declare. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
593 * fNDArray.h (FloatNDArray::FloatNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
594 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
595 * CNDArray.h (ComplexNDArray::ComplexNDArray (const charNDArray&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
596 Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
597 * fCNDArray.h (FloatComplexNDArray::FloatComplexNDArray |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
598 (const charNDArray&)): Ditto. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
599 |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
600 * dMatrix.cc (Matrix::Matrix (const charMatrix&)): Cast to unsigned |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
601 chars. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
602 * fMatrix.cc (FloatMatrix::FloatMatrix (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
603 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
604 Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
605 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
606 (const charMatrix&)): Likewise. |
d91fa4b20bbb
ensure nonnegative char -> real conversion
Jaroslav Hajek <highegg@gmail.com>
parents:
8954
diff
changeset
|
607 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
608 2009-03-10 Jason Riedy <jason@acm.org> |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
609 |
8968
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
610 * Sparse-perm-op-defs.h (octinternal_do_mul_colpm_sm): New |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
611 template function. Logic for the column permutation * sparse |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
612 matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
613 (octinternal_do_mul_pm_sm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
614 permutation matrix * sparse matrix operator. Note that there is |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
615 no special row perm * sparse routine; the permutation is inverted |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
616 and the col perm routine is called. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
617 (octinternal_do_mul_sm_rowpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
618 the sparse matrix * row permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
619 (octinternal_do_mul_sm_colpm): New template function. Logic for |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
620 the sparse matrix * column permutation operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
621 (octinternal_do_mul_sm_pm): New template function. Logic for the |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
622 sparse matrix * permutation matrix operator. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
623 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
624 * dSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
625 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
626 * dSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
627 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
628 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
629 * CSparse.h (operator *): Declare sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
630 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
631 * CSparse.cc (operator *): Define sparse * permutation and |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
632 permutation * sparse. |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
633 |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
634 2009-03-10 Jason Riedy <jason@acm.org> |
91d53dc37f79
Add perm * sparse, perm \ sparse, sparse * perm, and sparse / perm operations.
Jason Riedy <jason@acm.org>
parents:
8966
diff
changeset
|
635 |
8954
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
636 * sparse-base-lu.cc (Pc_vec): The column permutation should be |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
637 Ufact.cols ()-long, not Lfact.rows ()-long. |
97c84c4c2247
Make the column permutation vector in sparse LU cols()-long.
Jason Riedy <jason@acm.org>
parents:
8951
diff
changeset
|
638 |
8951
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
639 2009-03-10 Jason Riedy <jason@acm.org> |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
640 |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
641 * dSparse.cc (SparseMatrix::SparseMatrix (const PermMatrix&)): |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
642 Fix conversion to add values to the matrix as well as getting |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
643 structure correct. |
5bce1357edd6
Fix conversion from PermMatrix to SparseMatrix.
Jason Riedy <jason@acm.org>
parents:
8950
diff
changeset
|
644 |
8950
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
645 2009-03-10 John W. Eaton <jwe@octave.org> |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
646 |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
647 * Array.h, ArrayN.h, Bounds.h, CmplxAEPBAL.h, CmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
648 CmplxGEPBAL.h, CmplxHESS.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
649 CmplxSVD.h, CollocWt.h, EIG.h, FEGrid.h, LinConst.h, Range.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
650 Sparse.h, SparseCmplxQR.h, SparseQR.h, dbleAEPBAL.h, dbleCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
651 dbleGEPBAL.h, dbleHESS.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
652 dbleSVD.h, dim-vector.h, fCmplxAEPBAL.h, fCmplxCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
653 fCmplxGEPBAL.h, fCmplxHESS.h, fCmplxQR.h, fCmplxQRP.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
654 fCmplxSCHUR.h, fCmplxSVD.h, fEIG.h, floatAEPBAL.h, floatCHOL.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
655 floatGEPBAL.h, floatHESS.h, floatQR.h, floatQRP.h, floatSCHUR.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
656 floatSVD.h, idx-vector.h, lo-utils.h, oct-inttypes.h, |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
657 oct-spparms.h, str-vec.h: Include <iosfwd> instead of <iosstream>. |
d865363208d6
include <iosfwd> instead of <iostream> in header files
John W. Eaton <jwe@octave.org>
parents:
8949
diff
changeset
|
658 |
8949
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
659 2009-03-10 Jaroslav Hajek <highegg@gmail.com> |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
660 |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
661 * mx-inlines.cc (OP_CUMMINMAX_FCN2): r -> r0 where appropriate. |
e31d47f2c9bb
fixes to row-reducing cummin/cummax
Jaroslav Hajek <highegg@gmail.com>
parents:
8934
diff
changeset
|
662 |
8934
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
663 2009-03-08 Jaroslav Hajek <highegg@gmail.com> |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
664 |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
665 * idx-vector.h (idx_vector::bloop): loop --> bloop. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
666 (idx_vector::loop): New method. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
667 * MArray.cc (MArray<T>::idx_add (cons idx_vector&, T)) |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
668 (MArray<T>::idx_add (cons idx_vector&, const MArray<T>&)): New methods. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
669 * MArray.h: Declare them. |
c2099a4d12ea
partially optimize accumarray
Jaroslav Hajek <highegg@gmail.com>
parents:
8918
diff
changeset
|
670 |
8918
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
671 2009-03-05 Jason Riedy <jason@acm.org> |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
672 |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
673 * Sparse.h (Sparse<T>::elt_type): Remove typedef, replace with: |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
674 * Sparse.h (Sparse<T>::element_type): Add typedef to be consistent |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
675 with Array.h |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
676 * DiagArray2.h (DiagArray2<T>::elt_type): Likewise, removed. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
677 * DiagArray2.h (DiagArray2<T>::element_type): Define by using |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
678 Array<T>::element_type. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
679 * intNDArray.h (intNDArray<T>::element_type): Remove, inherited |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
680 from MArrayN<T>. |
f5408862892f
Consistently use element_type in the array classes.
Jason Riedy <jason@acm.org>
parents:
8910
diff
changeset
|
681 |
8910
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
682 2009-03-05 Jaroslav Hajek <highegg@gmail.com> |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
683 |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
684 * dSparse.h (SparseMatrix::SparseMatrix(const PermMatrix&)): New |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
685 constructor. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
686 (SparseMatrix::SparseMatrix(const DiagMatrix&)): Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
687 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix(const ComplexDiagMatrix&)): |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
688 Fix implementation. |
6e9f26506804
optimize diag -> sparse and perm -> sparse conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8908
diff
changeset
|
689 |
8908
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
690 2009-03-04 Jaroslav Hajek <highegg@gmail.com> |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
691 |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
692 * PermMatrix.h (PermMatrix::elem): Fix comparisons. |
3c9acbb43f48
fix single element query for perm matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8904
diff
changeset
|
693 |
8904
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
694 2009-03-03 Jaroslav Hajek <highegg@gmail.com> |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
695 |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
696 * lo-mappers.cc (xmin (float, float), xmax (float, float)): Simplify. |
4de5544a1d1d
simplify also float version of xmin/xmax
Jaroslav Hajek <highegg@gmail.com>
parents:
8897
diff
changeset
|
697 |
8897 | 698 2009-03-02 Jaroslav Hajek <highegg@gmail.com> |
699 | |
700 * mx-inlines.cc: Add missing #include. | |
701 | |
8873
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
702 2009-02-25 John W. Eaton <jwe@octave.org> |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
703 |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
704 * Makefile.in: Make maintainer-clean and distclean the same. |
e258715b2e78
fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents:
8864
diff
changeset
|
705 |
8864 | 706 2009-02-25 Jaroslav Hajek <highegg@gmail.com> |
707 | |
708 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): | |
709 Simplify. | |
710 | |
8856
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
711 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
712 |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
713 * oct-inttypes.h (octave_int_cmp_op::mop): Implement as simple |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
714 forwarders when OCTAVE_INT_USE_LONG_DOUBLE is not defined. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
715 (octave_int_cmp_op::emulate_mop): New static overloaded template |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
716 member function. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
717 * oct-inttypes.cc: Turn the octave_int_cmp_op::mop definitions into |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
718 defs for octave_int_cmp_op::emulate_mop. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
719 (INSTANTIATE_INT64_DOUBLE_CMP_OP0): Instantiate |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
720 octave_int_cmp_op::emulate_op instead. |
ab4db66e286f
workaround gcc 4.3 explicit instantiation bug in octave_int_cmp_op
Jaroslav Hajek <highegg@gmail.com>
parents:
8840
diff
changeset
|
721 |
8840
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
722 2009-02-23 Jaroslav Hajek <highegg@gmail.com> |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
723 |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
724 * dDiagMatrix.cc (DiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
725 * dDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
726 * fDiagMatrix.cc (FloatDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
727 * fDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
728 * CDiagMatrix.cc (ComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
729 * CDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
730 * fCDiagMatrix.cc (FloatComplexDiagMatrix::pseudo_inverse): New method. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
731 * fCDiagMatrix.h: Declare it. |
c690e3772583
support diagonal matrices in pinv
Jaroslav Hajek <highegg@gmail.com>
parents:
8820
diff
changeset
|
732 |
8820
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
733 2009-02-20 Jaroslav Hajek <highegg@gmail.com> |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
734 |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
735 * oct-sort.h (octave_sort<T>::MergeState::MergeState): New |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
736 constructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
737 (octave_sort<T>::MergeState::~MergeState): New destructor. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
738 (octave_sort<T>::MergeState::reset, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
739 octave_sort<T>::MergeState::getmem, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
740 octave_sort<T>::MergeState::getmemi): New methods. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
741 (octave_sort<T>::sort, |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
742 octave_sort<T>::merge_lo, octave_sort<T>::merge_hi |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
743 octave_sort<T>::merge_at): Reflect change. |
89b95972e178
fix previously introduced problem in octave_sort, improve design
Jaroslav Hajek <highegg@gmail.com>
parents:
8814
diff
changeset
|
744 |
8814
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
745 2009-02-19 Jaroslav Hajek <highegg@gmail.com> |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
746 |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
747 * oct-types.h (sortmode): Move enum here. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
748 * oct-sort.h (octave_sort<T>::ms): Declare as pointer. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
749 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
750 * oct-sort.cc: Reflect change to ms. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
751 (octave_sort<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
752 (out_of_range_pred): New helper class. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
753 (out_of_range): New helper function. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
754 * oct-lookup.h: Remove file. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
755 * Array.cc (Array<T>::lookup): New overloaded method. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
756 * Array.h: Declare it. |
de16ebeef93d
improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
8811
diff
changeset
|
757 |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
758 2009-02-18 John W. Eaton <jwe@octave.org> |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
759 |
8811 | 760 * dbleQR.cc (QR::init, QR::form): Cast int to octave_idx_type in |
761 call to std::max. | |
762 * floatQR.cc (FloatQR::init, FloatQR::form): Ditto. | |
763 * CmplxQR.cc (ComplexQR::init, ComplexQR::form): Ditto. | |
764 * fCmplxQR.cc (FloatComplexQR::init, FloatComplexQR::form): Ditto. | |
765 | |
766 * dbleQRP.cc (QRP::init): Cast int to octave_idx_type in call to | |
767 std::max and as operand to -= operator. | |
768 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
769 * floatQRP.cc (FloatQRP::init): Ditto. | |
770 * fCmplxQRP.cc (FloatComplexQRP::init): Ditto. | |
771 | |
772 * CDiagMatrix.cc, CDiagMatrix.h (ComplexDiagMatrix::inverse): | |
773 Declare info as octave_idx_type, not int. | |
774 * dDiagMatrix.cc, dDiagMatrix.h (DiagMatrix::inverse): Ditto. | |
775 * fDiagMatrix.cc, fCDiagMatrix.h (FloatDiagMatrix::inverse): Ditto. | |
776 * fCDiagMatrix.cc, fCDiagMatrix.h (FloatComplexDiagMatrix::inverse): | |
777 Ditto. | |
778 | |
8806 | 779 * dMatrix.cc (Matrix::determinant): |
780 Declare local variables volatile as needed to avoid "maybe | |
781 clobbered by vfork" warning from GCC. | |
782 * fMatrix.cc (FloatMatrix::determinant): Likewise. | |
783 * CMatrix.cc (ComplexMatrix::determinant): Likewise. | |
784 * fCMatrix.cc (FloatComplexMatrix::determinant): Likewise. | |
785 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col): Likewise. | |
786 * floatQR.cc (FloatQR::update, FloatQR::insert_col, | |
787 FloatQR::delete_col): Likewise. | |
788 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, | |
789 ComplexQR::delete_col): Likewise. | |
790 * fCmplxQR.cc (FloatComplexQR::update, FloatComplexQR::insert_col, | |
791 FloatComplexQR::delete_col): Likewise. | |
792 | |
8801
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
793 * dMatrix.cc (padec, solve_singularity_warning): Delete unused |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
794 static variable and function. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
795 * CMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
796 * fMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
797 * fCMatrix.cc (padec, solve_singularity_warning): Ditto. |
f3ff420fccf7
eliminate some unused static variables and functions
John W. Eaton <jwe@octave.org>
parents:
8799
diff
changeset
|
798 |
8799
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
799 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
800 |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
801 * Array.cc (Array<T>::resize (const dim_vector&)): Check for negative |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
802 dimensions. |
f6dc6eb57045
improve resize & resize on assignment
Jaroslav Hajek <highegg@gmail.com>
parents:
8797
diff
changeset
|
803 |
8797
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
804 2009-02-18 Jaroslav Hajek <highegg@gmail.com> |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
805 |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
806 * oct-inttypes.cc (pow (const octave_int<T>&, const octave_int<T>&)): |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
807 Use octave_int comparisons to avoid warning for unsigned types. |
ee3446ca6157
avoid warning in oct-inttypes.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8784
diff
changeset
|
808 |
8784
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
809 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
810 |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
811 * Array.cc (Array<T>::resize (const dim_vector&)): Remove dead branch. |
374cb30311a8
remove dead branch in Array.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8780
diff
changeset
|
812 |
8780
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
813 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
814 |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
815 * mx-inlines.cc (OP_CUM_FCN, OP_CUM_FCN2, OP_CUM_FCNN): |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
816 Add TSRC/TRES parameters. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
817 (mx_inline_cumcount): New function. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
818 * intNDArray.cc (intNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
819 * intNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
820 * boolNDArray.cc (boolNDArray::cumsum): New method. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
821 * boolNDArray.h: Declare it. |
ea76466605ba
support native cumsum, gripe on overflow in sum/cumsum
Jaroslav Hajek <highegg@gmail.com>
parents:
8777
diff
changeset
|
822 |
8777
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
823 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
824 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
825 * mx-inlines.cc (OP_CUMMINMAX_FCN, OP_CUMMINMAX_FCN2, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
826 OP_CUMMINMAX_FCNN): New macros. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
827 (mx_inline_cummax, mx_inline_cummin, do_mx_cumminmax_op): |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
828 New overloaded template functions. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
829 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
830 * dNDArray.cc (NDArray::cummin, NDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
831 * dNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
832 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
833 * fNDArray.cc (FloatNDArray::cummin, FloatNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
834 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
835 * fNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
836 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
837 * CNDArray.cc (ComplexNDArray::cummin, ComplexNDArray::cummax): New |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
838 methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
839 * CNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
840 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
841 * fCNDArray.cc (FloatComplexNDArray::cummin, |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
842 FloatComplexNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
843 * fCNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
844 |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
845 * intNDArray.cc (intNDArray::cummin, intNDArray::cummax): New methods. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
846 * intNDArray.h: Declare them. |
724c0f46d9d4
implement cummin/cummax functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8776
diff
changeset
|
847 |
8776
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
848 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
849 |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
850 * mx-inlines.cc (OP_MINMAX_FCN): Correct behaviour with NaNs. |
d23c33ec6bd3
fix min/max behaviour with NaNs
Jaroslav Hajek <highegg@gmail.com>
parents:
8774
diff
changeset
|
851 |
8774
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
852 2009-02-17 Jaroslav Hajek <highegg@gmail.com> |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
853 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
854 * MArray-defs.h: Move declarative part to MArray-decl.h |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
855 * MArray-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
856 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
857 * mx-op-defs.h: Move declarative part to mx-op-decl.h. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
858 * mx-op-decl.h: New source. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
859 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
860 * Makefile.in: Include new sources in build. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
861 * mk-ops.awk: Include mx-op-decl.h in headers, mx-op-defs in .cc |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
862 files. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
863 |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
864 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, MArray.h, MArray2.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
865 MArrayN.h, MDiagArray2.h, boolMatrix.cc, boolMatrix.h, boolNDArray.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
866 boolNDArray.h, chMatrix.cc, chMatrix.h, chNDArray.cc, chNDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
867 dMatrix.cc, dMatrix.h, dNDArray.cc, dNDArray.h, fCMatrix.cc, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
868 fCMatrix.h, fCNDArray.cc, fCNDArray.h, fMatrix.cc, fMatrix.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
869 fNDArray.cc, fNDArray.h, int16NDArray.cc, int16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
870 int32NDArray.cc, int32NDArray.h, int64NDArray.cc, int64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
871 int8NDArray.cc, int8NDArray.h, uint16NDArray.cc, uint16NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
872 uint32NDArray.cc, uint32NDArray.h, uint64NDArray.cc, uint64NDArray.h, |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
873 uint8NDArray.cc, uint8NDArray.h: Ditto. |
b756ce0002db
split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents:
8760
diff
changeset
|
874 |
8760
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
875 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
876 |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
877 * Array.cc (Array<T>::assign (const idx_vector& i, |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
878 const idx_vector& j,...)): Fix invalid dimension inquiry. |
b0356f30a33b
fix 2-subs assigment into n-d arrays
Jaroslav Hajek <highegg@gmail.com>
parents:
8759
diff
changeset
|
879 |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
880 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
881 |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
882 * mx-inlines.cc (OP_ROW_SHORT_CIRCUIT): New macro. |
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
883 (mx_inline_any, mx_inline_all): Override row-reduction case. |
8759
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
884 (MX_CUMULATIVE_OP, MX_BASE_REDUCTION_OP, MX_REDUCTION_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
885 MX_ANY_OP, MX_ALL_OP, MX_ND_ANY_ALL, MX_ND_REDUCTION, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
886 MX_ND_COMPLEX_OP_REDUCTION, MX_ND_CUMULATIVE_OP, |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
887 MX_ND_ANY_EVAL, MX_ND_ALL_EVAL, MX_ND_REAL_OP_REDUCTION): |
c32a08dccae6
remove unused macros from mx-inlines.cc
Jaroslav Hajek <highegg@gmail.com>
parents:
8758
diff
changeset
|
888 Remove unused macros. |
8758
83c9d60c3c47
implement short-circuiting row-reduction any/all algorithm
Jaroslav Hajek <highegg@gmail.com>
parents:
8756
diff
changeset
|
889 |
8756
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
890 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
891 |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
892 * mx-inlines.cc (OP_RED_FCNN): Use explicit type qualification. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
893 (mx_inline_count): New overloaded template function. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
894 * boolNDArray.h (boolNDArray::sum): Return NDArray. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
895 * boolNDArray.cc (boolNDArray::sum): Return NDArray, use do_mx-red_op. |
d0755c9db5ed
implement fast logical sum (counting)
Jaroslav Hajek <highegg@gmail.com>
parents:
8752
diff
changeset
|
896 |
8752
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
897 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
898 |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
899 * Array-C.cc, Array-fC.cc: Don't redefine complex comparison. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
900 * Sparse.cc (Sparse::sort): Don't use vec_index. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
901 * Sparse-C.cc, Sparse-d.cc, Sparse-b.cc: Don't reinstantiate |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
902 octave_sort, reflect changes. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
903 * sparse-sort.cc: Explicitly instantiate octave_sort for requested |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
904 pointer types. |
06b9903a029b
fix & clean up complex & sparse sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8751
diff
changeset
|
905 |
8751
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
906 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
907 |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
908 * oct-cmplx.h (operator <, operator >): New operators. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
909 * mx-inlines.cc (OP_MINMAX_FCN, OP_MINMAX_FCN2, OP_MINMAX_FCNN): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
910 New macros. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
911 (mx_inline_min, mx_inline_max, do_mx_minmax_op): New overloaded |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
912 template functions. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
913 * dNDArray (NDArray::min, NDArray::max): Use do_mx_minmax_op. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
914 * fNDArray (FloatNDArray::min, FloatNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
915 * CNDArray (ComplexNDArray::min, ComplexNDArray::max): Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
916 * fCNDArray (FloatComplexNDArray::min, FloatComplexNDArray::max): |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
917 Ditto. |
9f7ce4bf7650
optimize min/max functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8750
diff
changeset
|
918 |
8750
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
919 2009-02-16 Jaroslav Hajek <highegg@gmail.com> |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
920 |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
921 * chMatrix.cc (charMatrix::all, charMatrix::any): Use do_mx_red_op. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
922 * chNDArray.cc (charNDArray::all, charNDArray::any): Ditto. |
8af4ba6b4216
use new reduction ops for char matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8749
diff
changeset
|
923 |
8749
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
924 2009-02-16 John W. Eaton <jwe@octave.org> |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
925 |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
926 * cmd-edit.cc (default_command_editor::do_readline): |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
927 Use fputs instead of fprintf. |
5a7494ee68a3
liboctave/cmd-edit.cc, src/input.cc: use fputs instead of fprintf
John W. Eaton <jwe@octave.org>
parents:
8743
diff
changeset
|
928 |
8743
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
929 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
930 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
931 * mx-inlines.cc (OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
932 OP_CUM_FCN2, OP_CUM_FCNN): Include TRET parameter. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
933 (OP_RED_ANYC, OP_RED_ANYR, OP_RED_ALLC, OP_RED_ALLR): New macros. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
934 (is_true, is_false): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
935 (mx_inline_any, mx_inline_all): New template functions. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
936 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
937 * dMatrix.cc (Matrix::any, Matrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
938 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
939 * fMatrix.cc (FloatMatrix::any, FloatMatrix::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
940 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
941 * CMatrix.cc (ComplexMatrix::any, ComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
942 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
943 * fCMatrix.cc (FloatComplexMatrix::any, FloatComplexMatrix::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
944 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
945 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
946 * dNDArray.cc (NDArray::any, NDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
947 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
948 * fNDArray.cc (FloatNDArray::any, FloatNDArray::all): Use do_mx_red_op |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
949 and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
950 * CNDArray.cc (ComplexNDArray::any, ComplexNDArray::all): Use |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
951 do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
952 * fCNDArray.cc (FloatComplexNDArray::any, FloatComplexNDArray::all): |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
953 Use do_mx_red_op and do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
954 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
955 * intNDArray.cc (intNDArray::any, intNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
956 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
957 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
958 * boolNDArray.cc (boolNDArray::any, boolNDArray::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
959 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
960 |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
961 * boolMatrix.cc (boolMatrix::any, boolMatrix::all): Use do_mx_red_op and |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
962 do_mx_cum_op. |
1bd918cfb6e2
reimplement any & all using the new reduction code
Jaroslav Hajek <highegg@gmail.com>
parents:
8742
diff
changeset
|
963 |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
964 2009-02-14 Jaroslav Hajek <highegg@gmail.com> |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
965 |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
966 * intNDArray.cc: include mx-inlines.cc. |
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
967 (intNDArray::sum): Use mx_do_red_op (..., mx_inline_sum). |
8742
d2b06871afac
add missing return statement
Jaroslav Hajek <highegg@gmail.com>
parents:
8741
diff
changeset
|
968 * Range.cc (Range::is_sorted): Add missing return statement. |
8741
008f3985c8c0
use new summation code for native integer summation
Jaroslav Hajek <highegg@gmail.com>
parents:
8736
diff
changeset
|
969 |
8736
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
970 2009-02-13 Jaroslav Hajek <highegg@gmail.com> |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
971 |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
972 * mx-inlines.cc (OP_RED_SUM, OP_RED_PROD, OP_RED_SUMSQ, OP_RED_SUMSQC, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
973 OP_RED_FCN, OP_RED_FCN2, OP_RED_FCNN, OP_CUM_FCN, OP_CUM_FCN2, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
974 OP_CUM_FCNN): New macros. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
975 (mx_inline_sum, mx_inline_prod, mx_inline_sumsq, mx_inline_cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
976 mx_inline_cumprod, get_extent_triplet, do_mx_red_op, do_mx_cum_op): |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
977 New template functions. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
978 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum, Matrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
979 Matrix::sum, Matrix::sumsq): Use do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
980 * fMatrix.cc (FloatMatrix::cumprod, FloatMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
981 FloatMatrix::prod, FloatMatrix::sum, FloatMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
982 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
983 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
984 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): Use |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
985 do_mx_red_op and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
986 * fCMatrix.cc (FloatComplexMatrix::cumprod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
987 FloatComplexMatrix::cumsum, FloatComplexMatrix::prod, |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
988 FloatComplexMatrix::sum, FloatComplexMatrix::sumsq): Use do_mx_red_op |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
989 and do_mx_cum_op. |
53b4fdeacc2e
improve reduction functions
Jaroslav Hajek <highegg@gmail.com>
parents:
8731
diff
changeset
|
990 |
8731
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
991 2009-02-12 Jaroslav Hajek <highegg@gmail.com> |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
992 |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
993 * oct-inttypes.h (if_else_type): Remove |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
994 (octave_int_base::truncate_int): Use if_then_else. |
5abe5ae55465
use lo-traits in oct-inttypes
Jaroslav Hajek <highegg@gmail.com>
parents:
8725
diff
changeset
|
995 |
8725 | 996 2009-02-12 John W. Eaton <jwe@octave.org> |
997 | |
998 * lo-traits.h: New file. | |
999 * Makefile.in (INCLUDES): Add it to the list. | |
1000 | |
1001 * Array.h (compare_fcn_type): New typedef. | |
1002 * oct-sort.h (compare_fcn_type): Ditto. | |
1003 | |
1004 * oct-sort.h, oct-sort.cc (octave_sort<T>::octave_sort, | |
1005 octave_sort<T>::set_compare, octave_sort<T>::compare): | |
1006 Use typedef to simplify decl. | |
1007 (octave_sort<T>::ascending_compare, | |
1008 octave_sort<T>::descending_compare): | |
1009 Use ref_param<T>::type for parameter decl. | |
1010 | |
1011 * Array.cc (sort_isnan): Use ref_param<T>::type for parameter decl. | |
1012 (Array<T>::sort): Use explicit template parameter for sort_isnan calls. | |
1013 | |
1014 * Array.cc, Array-C.cc, Array-fC.cc, Array-d.cc, Array-f.cc | |
1015 (sortrows_comparator): Rename from _sortrows_comparator. Change | |
1016 all uses. Use typedef for return value to simplify decl. | |
1017 (sort_isnan): Rename from _sort_isnan. Change all uses. | |
1018 (NO_INSTANTIATE_ARRAY_SORT): Use typedef to simplify instantiation | |
1019 of sortrows_comparator. | |
1020 | |
1021 * Array-C.cc, Array-fC.cc (sort_isnan, ascending_compare, | |
1022 descending_compare, nan_ascending_compare, | |
1023 nan_descending_compare): | |
1024 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1025 2009-02-11 Jaroslav Hajek <highegg@gmail.com> |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1026 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1027 * oct-sort.cc (octave_sort<T>::is_sorted, octave_sort<T>::sort_rows, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1028 octave_sort<T>::is_sorted_rows): New methods. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1029 * oct-sort.h: Declare them. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1030 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1031 * Array.cc (Array<T>::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1032 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT, |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1033 INSTANTIATE_ARRAY_AND_ASSIGN, INSTANTIATE_ARRAY): Move macros here. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1034 * Array.h: Reflect changes. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1035 |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1036 * dim-vector.h (dim_vector::is_vector): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1037 * Array-C.cc, Array-fC.cc: Override _sort_isnan, don't check for |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1038 NaN in default comparators. Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1039 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1040 * Array-d.cc, Array-f.cc: Provide NaN-safe comparators, override |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1041 _sortrows_comparator. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1042 * Range.cc (Range::is_sorted): New method. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1043 * Range.h: Declare it. |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
1044 |
8700 | 1045 2009-02-09 Jaroslav Hajek <highegg@gmail.com> |
1046 | |
1047 * oct-sort.cc (octave_sort<T>): Rewrite for optimizations. Allow | |
1048 inlined comparison functor and by-the-way indexed sorting. | |
1049 * oct-sort.h (octave_sort<T>): Update interface. | |
1050 * Array.cc (Array<T>::sort): Reflect changes. Use copy & partition | |
1051 mechanism. | |
1052 * Array-d.cc, Array-f.cc, Array-C.cc, Array-fC.cc, Array-s.cc, | |
1053 Array-i.cc: Reflect changes. | |
1054 | |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1055 2009-02-05 John W. Eaton <jwe@octave.org> |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1056 |
8690
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1057 * file-stat.cc (base_file_stat::is_sock): |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1058 Use EXISTS instead of OK in previous change. |
6e9887f9cf9f
file-stat.cc: use EXISTS instead of OK in previuos change
John W. Eaton <jwe@octave.org>
parents:
8689
diff
changeset
|
1059 |
8689
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1060 * file-stat.cc (base_file_stat::is_blk, base_file_stat::is_chr, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1061 base_file_stat::is_dir, base_file_stat::is_fifo, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1062 base_file_stat::is_lnk, base_file_stat::is_reg, |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1063 base_file_stat::is_sock): Return false if object is not initialized. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1064 From Rafael Laboissiere <rafael@debian.org>. |
ddbe87599331
base_file_stat::is_XXX: return false if object is not initialized
John W. Eaton <jwe@octave.org>
parents:
8681
diff
changeset
|
1065 |
8681
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1066 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1067 |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1068 * idx-vector.h (idx_vector::idx_colon_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1069 idx_vector::idx_scalar_rep, idx_vector::idx_range_rep, |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1070 idx_vector::idx_vector_rep): Declare allocators. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1071 * idx-vector.cc: Define them. |
72b1f1eece70
ChangeLog fix for last two patches
Jaroslav Hajek <highegg@gmail.com>
parents:
8678
diff
changeset
|
1072 |
8678
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1073 2009-02-05 Jaroslav Hajek <highegg@gmail.com> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1074 |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1075 * str-vec.h (string_vector::sort): Remove implementation. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1076 * str-vec.cc (string_vector::sort): Move here. Use in-place sorting. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1077 * Array-str.cc: Fix order of header files. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1078 * oct-sort.cc (octave_sort<T>::merge_hi): std::copy -> |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1079 std::copy_backward where appropriate. |
e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8677
diff
changeset
|
1080 |
8677
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1081 2009-02-05 John W. Eaton <jwe@octave.org> |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1082 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1083 * Array-util.cc (zero_dims_inquire): Eliminate unused variable MATCH. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1084 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1085 * Sparse.cc (assign (Sparse<LT>& lhs, const Sparse<RT>& rhs)): |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1086 Eliminate unused variable N. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1087 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1088 * MArray-f.cc (MArray<float>::norm (float p) const, |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1089 MArray<FloatComplex>::norm (float p) const): Pass P to xnorm. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1090 |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1091 * eigs-base.cc (EigsRealNonSymmetricFunc, EigsRealSymmetricFunc) |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1092 (EigsComplexNonSymmetricFunc): Avoid unused parameter warning. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1093 * idx-vector.cc (idx_vector::freeze): Likewise. |
095ae5e0a831
eliminte some compiler warnings
John W. Eaton <jwe@octave.org>
parents:
8671
diff
changeset
|
1094 |
8660
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1095 2009-02-04 Jaroslav Hajek <highegg@gmail.com> |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1096 |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1097 * oct-locbuf.h: Specialize OCTAVE_LOCAL_BUFFER to use chunked |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1098 allocation for pointers and const pointers. |
f274fbc29747
chunked buffer allocation for pointers
Jaroslav Hajek <highegg@gmail.com>
parents:
8655
diff
changeset
|
1099 |
8655
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1100 2009-02-03 Benjamin Lindner <lindnerben@gmx.net> |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1101 |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1102 * Makefile.in: Add missing library reference. |
d48a1837d2bc
Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents:
8651
diff
changeset
|
1103 |
8651
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1104 2009-02-03 Jaroslav Hajek <highegg@gmail.com> |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1105 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1106 * Array.cc (Array<T>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1107 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1108 (Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1109 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1110 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1111 * Array-d.cc (Array<double>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1112 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1113 (Array<double>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1114 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1115 |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1116 * Array-f.cc (Array<float>::sort (octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1117 Copy array on-the-fly. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1118 (Array<float>::sort (Array<octave_idx_type> &, octave_idx_type, sortmode)): |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1119 Copy array on-the-fly, use bare pointers rather than vec_index. |
ea8e65ca234f
reduce memory usage in sorting
Jaroslav Hajek <highegg@gmail.com>
parents:
8650
diff
changeset
|
1120 |
8650
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1121 2009-02-02 Jaroslav Hajek <highegg@gmail.com> |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1122 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1123 * mx-inlines.cc (mx_inline_fabs_dup, mx_inline_cabs_dup): New funcs. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1124 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1125 * dMatrix.cc (real, imag, Matrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1126 * fMatrix.cc (real, imag, FloatMatrix::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1127 * CMatrix.cc (ComplexMatrix::abs, ComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1128 * fCMatrix.cc (FloatComplexMatrix::abs, FloatComplexMatrix::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1129 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1130 * CMatrix.h, fCMatrix.h (conj): Add missing decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1131 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1132 * dNDArray.cc (real, imag, NDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1133 * fNDArray.cc (real, imag, FloatNDArray::abs): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1134 * CNDArray.cc (ComplexNDArray::abs, ComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1135 * fCNDArray.cc (FloatComplexNDArray::abs, FloatComplexNDArray::conj): Simplify. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1136 |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1137 * CMatrix.h, fCMatrix.h (conj): New decl. |
a1ae2aae903e
abs,real,imag,conj: use code from mx-inlines rather than the generic map
Jaroslav Hajek <highegg@gmail.com>
parents:
8628
diff
changeset
|
1138 |
8626
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1139 2009-01-29 John W. Eaton <jwe@octave.org> |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1140 |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1141 * intNDArray.h (intNDArray<T>:any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1142 * boolNDArrah.h (boolNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1143 * chNDArray.h (charNDArray::any_element_is_nan): New function. |
1dce30ab0e72
don't convert NaN to logical in bool expressions
John W. Eaton <jwe@octave.org>
parents:
8618
diff
changeset
|
1144 |
8618
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1145 2009-01-28 John W. Eaton <jwe@octave.org> |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1146 |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1147 * Makefile.in (LIBRARIES, install, uninstall): Use SHLLIBPRE |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1148 and SHLBINPRE library prefixes. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1149 From Marco Atzeri <marco_atzeri@yahoo.it>. |
f8b3ece45bda
use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents:
8614
diff
changeset
|
1150 |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1151 2009-01-28 Jaroslav Hajek <highegg@gmail.com> |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1152 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1153 * dMatrix.cc (Matrix::Matrix (const RowVector&)): Use shallow copy. |
8628 | 1154 (Matrix::Matrix (const ColumnVector&)): Ditto. |
1155 (Matrix::row): Ditto. | |
1156 (Matrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1157 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1158 * fMatrix.cc (FloatMatrix::FloatMatrix (const FloatRowVector&)): Use |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1159 shallow copy. |
8628 | 1160 (FloatMatrix::FloatMatrix (const FloatColumnVector&)): Ditto. |
1161 (FloatMatrix::row): Ditto. | |
1162 (FloatMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1163 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1164 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const ComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1165 Use shallow copy. |
8628 | 1166 (ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): Ditto. |
1167 (ComplexMatrix::row): Ditto. | |
1168 (ComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1169 |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1170 * fCMatrix.cc (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexRowVector&)): |
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1171 Use shallow copy. |
8628 | 1172 (FloatComplexMatrix::FloatComplexMatrix (const FloatComplexColumnVector&)): Ditto. |
1173 (FloatComplexMatrix::row): Ditto. | |
1174 (FloatComplexMatrix::column): Ditto. | |
8614
5114ea5a41b5
use shallow copying in Matrix/RowVector/ColumnVector conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8607
diff
changeset
|
1175 |
8607
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1176 2009-01-27 Benjamin Lindner <lindnerb@users.sourceforge.net> |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1177 |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1178 * Makefile.in (LINK_DEPS): Include ARPACK_LIBS and REGEX_LIBS in |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1179 the list. |
08331c2fb00f
add -lregex to REGEX_LIBS at configure stage, add ARPACK_LIBS, REGEX_LIBS to liboctave's link deps
Benjamin Lindner <lindnerb@users.sourceforge.net>
parents:
8597
diff
changeset
|
1180 |
8597
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1181 2009-01-27 Jaroslav Hajek <highegg@gmail.com> |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1182 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1183 * dbleQR.cc (QR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1184 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1185 (QR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1186 * dbleQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1187 * dbleQRP.cc (QRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1188 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1189 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1190 * floatQR.cc (FloatQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1191 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1192 (FloatQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1193 * floatQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1194 * floatQRP.cc (FloatQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1195 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1196 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1197 * CmplxQR.cc (ComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1198 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1199 (ComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1200 * CmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1201 * CmplxQRP.cc (ComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1202 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1203 |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1204 * fCmplxQR.cc (FloatComplexQR::init): Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1205 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1206 (FloatComplexQR::form): New function. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1207 * fCmplxQR.h: Declare it. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1208 * fCmplxQRP.cc (FloatComplexQRP::init):Use form. Use local buffers. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1209 Query for optimal block size. |
c86718093c1b
improve & fix QR classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8580
diff
changeset
|
1210 |
8580
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1211 2009-01-23 Jaroslav Hajek <highegg@gmail.com> |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1212 |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1213 * Array.cc (Array<T>::assign (const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1214 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1215 (Array<T>::assign (const idx_vector&, const idx_vector&, const Array<T>&)): |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1216 Optimize assignment to an empty array. |
188d38a553c7
further indexing optimization touches
Jaroslav Hajek <highegg@gmail.com>
parents:
8579
diff
changeset
|
1217 |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1218 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1219 |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1220 * Array2.h (Array2<T>::index): Declare resize_ok as bool. |
8628 | 1221 * ArrayN.h (ArrayN<T>::index): Ditto. Declare index vectors as const |
8579
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1222 refs. |
7e0f36dfefbe
implement octave_value_list using Array
Jaroslav Hajek <highegg@gmail.com>
parents:
8565
diff
changeset
|
1223 |
8565 | 1224 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
1225 | |
1226 * Range.cc (sort_internal): Add missing test. | |
1227 | |
8563
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1228 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1229 |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1230 * Array.cc (Array<T>::index (..., bool resize_ok)): |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1231 Optimize the all-scalar-indices cases. |
3a3421a9f0bb
optimize resizable indexing with scalars
Jaroslav Hajek <highegg@gmail.com>
parents:
8562
diff
changeset
|
1232 |
8562
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1233 2009-01-22 Jaroslav Hajek <highegg@gmail.com> |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1234 |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1235 * dbleQR.h: Optionally declare warn_qrupdate_once. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1236 * dbleQR.cc: Define it. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1237 * (CmplxQR.h, dbleQR.h, fCmplxQR.h, floatQR.h): Declare replacement |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1238 methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1239 * (CmplxQR.cc, dbleQR.cc, fCmplxQR.cc, floatQR.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1240 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1241 * (CmplxCHOL.h, dbleCHOL.h, fCmplxCHOL.h, floatCHOL.h): Declare |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1242 replacement methods unconditionally. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1243 * (CmplxCHOL.cc, dbleCHOL.cc, fCmplxCHOL.cc, floatCHOL.cc): Define |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1244 updating replacement methods. |
a6edd5c23cb5
use replacement methods if qrupdate is not available
Jaroslav Hajek <highegg@gmail.com>
parents:
8553
diff
changeset
|
1245 |
8553
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1246 2009-01-21 Jaroslav Hajek <highegg@gmail.com> |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1247 |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1248 * Range.cc ( operator + (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1249 operator + (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1250 operator - (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1251 operator - (const Range& r, double x), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1252 operator * (double x, const Range& r), |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1253 operator * (const Range& r, double x)): New operators. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1254 * Range.h: Declare them. |
c7ff200e45f5
optimize range-scalar ops
Jaroslav Hajek <highegg@gmail.com>
parents:
8549
diff
changeset
|
1255 |
8549 | 1256 2009-01-20 John W. Eaton <jwe@octave.org> |
1257 | |
1258 * file-stat.h, file-stat.cc (class base_file_stat): New base class. | |
1259 (class file_stat): Derive from base_file_stat. | |
1260 (class file_fstat): New class, derived from base_file_stat. | |
1261 | |
8547
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1262 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1263 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1264 * floatQR.h (FloatQR::update, FloatQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1265 FloatQR::insert_row, FloatQR::delete_col, FloatQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1266 FloatQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1267 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1268 * floatQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1269 (FloatQR::update, FloatQR::insert_col, FloatQR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1270 FloatQR::delete_col, FloatQR::delete_row, FloatQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1271 changes in qrupdate interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1272 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1273 * dbleQR.h (QR::update, QR::insert_col, QR::insert_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1274 QR::delete_col, QR::delete_row, QR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1275 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1276 * dbleQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1277 (QR::update, QR::insert_col, QR::insert_row, QR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1278 QR::delete_row, QR::shift_col): Reflect changes in qrupdate |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1279 interfaces, implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1280 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1281 * fCmplxQR.h (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1282 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1283 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1284 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1285 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1286 * fCmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1287 (FloatComplexQR::update, FloatComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1288 FloatComplexQR::insert_row, FloatComplexQR::delete_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1289 FloatComplexQR::delete_row, FloatComplexQR::shift_col): Reflect |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1290 changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1291 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1292 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1293 * CmplxQR.h (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1294 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1295 ComplexQR::shift_col): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1296 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1297 * CmplxQR.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1298 (ComplexQR::update, ComplexQR::insert_col, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1299 ComplexQR::insert_row, ComplexQR::delete_col, ComplexQR::delete_row, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1300 ComplexQR::shift_col): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1301 implement batch updates. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1302 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1303 * floatCHOL.h (FloatCHOL::update, FloatCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1304 FloatCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1305 * floatCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1306 (FloatCHOL::update, FloatCHOL::downdate, FloatCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1307 FloatCHOL::delete_sym, FloatCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1308 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1309 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1310 * CHOL.h (CHOL::update, CHOL::downdate, CHOL::insert_sym): Update |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1311 interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1312 * CHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1313 (CHOL::update, CHOL::downdate, CHOL::insert_sym, CHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1314 CHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1315 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1316 * fCmplxCHOL.h (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1317 FloatComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1318 * fCmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1319 (FloatComplexCHOL::update, FloatComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1320 FloatComplexCHOL::insert_sym, FloatComplexCHOL::delete_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1321 FloatComplexCHOL::shift_sym): Reflect changes in qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1322 |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1323 * CmplxCHOL.h (ComplexCHOL::update, ComplexCHOL::downdate, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1324 ComplexCHOL::insert_sym): Update interfaces. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1325 * CmplxCHOL.cc: Update external decls for qrupdate routines. |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1326 (ComplexCHOL::update, ComplexCHOL::downdate, ComplexCHOL::insert_sym, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1327 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): Reflect changes in |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1328 qrupdate interfaces, |
d66c9b6e506a
imported patch qrupdate.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8531
diff
changeset
|
1329 |
8531
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1330 2009-01-17 Jaroslav Hajek <highegg@gmail.com> |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1331 |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1332 * Array.h (Array<T>): Document internal use of slice_data and |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1333 slice_len. |
b01fef323c24
add some explaining comments
Jaroslav Hajek <highegg@gmail.com>
parents:
8526
diff
changeset
|
1334 |
8526
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1335 2009-01-15 John W. Eaton <jwe@octave.org> |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1336 |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1337 * Sparse.cc (Sparse<T>::reshape): Include mismatched dimensions in |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1338 error message. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1339 * Array.cc (Array<T>::reshape): Likewise. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1340 From Robert Millan <rmh@aybabtu.com>. |
17e0ad741fac
reshape: improve error message
John W. Eaton <jwe@octave.org>
parents:
8524
diff
changeset
|
1341 |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1342 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1343 |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1344 * Array.h (Array<T>::rep, Array<T>::dimensions): Make protected. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1345 * Array.cc (Array<T>::make_unique): Move implementation here. |
8628 | 1346 (Array<T>::fill): Ditto. |
8524
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1347 * DiagArray2.h (DiagArray2<T>): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1348 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1349 (DiagArray2<T>::operator Array2<T>): New method. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1350 * DiagArray2.cc (DiagArray2<T>): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1351 * MDiagArray2.h (MDiagArray2<T>::operator Array2<T>): Simplify. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1352 * PermMatrix.h (PermMatrix): Reimplement without abusing |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1353 Array<T> internals. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1354 * PermMatrix.cc (PermMatrix): Update methods. |
937921654627
clean up Array and DiagArray2
Jaroslav Hajek <highegg@gmail.com>
parents:
8523
diff
changeset
|
1355 |
8523
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1356 2009-01-14 Jaroslav Hajek <highegg@gmail.com> |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1357 |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1358 * Array.cc, Array.h (all Array<T> constructors): Handle slice_data and |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1359 slice_len. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1360 (Array<T>::Array<T> (const Array<T>&, const dim_vector&, |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1361 octave_idx_type, octave_idx_type)): New constructor. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1362 (Array<T>::index): Use shallow copy when index reduces to a contiguous |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1363 range. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1364 (Array<T>::make_unique): Rewrite. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1365 (Array<T>::ArrayRep): Delete redundant methods. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1366 (rec_index_helper::is_cont_range): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1367 (Array<T>::maybe_economize): New method. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1368 * DiagArray2.cc (DiagArray2<T>::resize): Fix the mess. |
ad3afaaa19c1
implement non-copying contiguous range indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8521
diff
changeset
|
1369 |
8521 | 1370 2008-01-15 Rafael Laboissiere <rafael@debian.org> |
1371 | |
1372 * oct-md5.cc: Include <cstdio>. | |
1373 | |
8503
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1374 2009-01-13 Jaroslav Hajek <highegg@gmail.com> |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1375 |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1376 * Array.h (Array::ArrayRep::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1377 (Array::qsort): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1378 * glob-match.cc (glob_match::glob): qsort -> sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1379 * str-vec.cc (string_vector::compare): Remove. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1380 * str-vec.h (string_vector::compare): Remove decl. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1381 (string_vector::qsort): Rename to sort, call Array::sort. |
8ba2ee57c594
remove qsort in favor of sort
Jaroslav Hajek <highegg@gmail.com>
parents:
8417
diff
changeset
|
1382 |
8417
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1383 2008-12-23 David Bateman <dbateman@free.fr> |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1384 |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1385 * eigs-base.cc: New file with template wrapper for ARPACK. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1386 * Makefile.in (TEMPLATE_SRC): Add it here. |
654bcfb937bf
Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents:
8410
diff
changeset
|
1387 |
8410 | 1388 2008-12-16 Jaroslav Hajek <highegg@gmail.com> |
1389 | |
1390 * Array.cc (rec_permute_helper): New class. | |
1391 (Array<T>::permute): Rewrite using the recursive algorithm. | |
1392 | |
8403 | 1393 2008-12-12 David Bateman <dbateman@free.fr> |
1394 | |
1395 * sparse-base-chol.cc (inverse): Fix inversion based on cholesky | |
1396 factorization. | |
1397 | |
8400
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1398 2008-12-12 Jaroslav Hajek <highegg@gmail.com> |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1399 |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1400 * oct-locbuf.cc: New source. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1401 * oct-locbuf.h (octave_chunk_buffer): New class. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1402 (octave_local_buffer): Subclass from octave_chunk_buffer for selected |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1403 POD types. |
7b6e1fc1cb90
implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8397
diff
changeset
|
1404 |
8397 | 1405 2008-12-11 Jaroslav Hajek <highegg@gmail.com> |
1406 | |
1407 * mx-op-defs.h (DMDM_BIN_OP): Fix invalid buffer length. | |
1408 | |
8392
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1409 2008-12-10 Jaroslav Hajek <highegg@gmail.com> |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1410 |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1411 * dMatrix.h, dMatrix.cc (Matrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1412 * fMatrix.h, fMatrix.cc (FloatMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1413 * CMatrix.h, CMatrix.cc (ComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1414 * fCMatrix.h, fCMatrix.cc (FloatComplexMatrix::expm): Remove. |
c187f0e3a7ee
use m-file implementation for expm
Jaroslav Hajek <highegg@gmail.com>
parents:
8386
diff
changeset
|
1415 |
8386
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1416 2008-12-09 Jaroslav Hajek <highegg@gmail.com> |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1417 |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1418 * base-aepbal.h: New source. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1419 * dbleAEPBAL.h, dbleAEPBAL.cc: Rebase AEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1420 * floatAEPBAL.h, floatAEPBAL.cc: Rebase FloatAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1421 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Rebase ComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1422 * fCmplxAEPBAL.h, fCmplxAEPBAL.cc: Rebase FloatComplexAEPBAL on base_aepbal. |
a5e080076778
make balance more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8385
diff
changeset
|
1423 |
8384
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1424 2008-12-08 Jaroslav Hajek <highegg@gmail.com> |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1425 |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1426 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1427 Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1428 * idx_vector.h: Declare it. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1429 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1430 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1431 Array<bool>&)): Fix extent calculation. |
a99b9113c58c
optimize sparse bool indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8380
diff
changeset
|
1432 |
8385
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1433 2008-12-09 David Bateman <dbateman@free.fr> |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1434 |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1435 * Makefile.in (INCLUDES): Add oct-locbuf.h |
6e9660cd3bf2
Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents:
8384
diff
changeset
|
1436 |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1437 2008-12-07 Jaroslav Hajek <highegg@gmail.com> |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1438 |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1439 * mx-inlines.cc (mx_inline_fill_vs): New template function. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1440 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1441 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. |
8628 | 1442 (DMM_MULTIPLY_OP): Ditto. |
8380
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1443 * fDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1444 * fCDiagMatrix.cc (operator *): Remove redundant ifs. |
dbe67764e628
fix & improve speed of diagonal matrix multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
8379
diff
changeset
|
1445 |
8379
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1446 2008-12-06 Jaroslav Hajek <highegg@gmail.com> |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1447 |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1448 * oct-locbuf.h (OCTAVE_LOCAL_BUFFER_INIT): New macro. |
ad8ed668e0a4
allow initialized local buffers
Jaroslav Hajek <highegg@gmail.com>
parents:
8377
diff
changeset
|
1449 |
8377
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1450 2008-10-29 Jaroslav Hajek <highegg@gmail.com> |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1451 |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1452 * oct-locbuf.h: New header file. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1453 * Array-d.cc, Array-f.cc, Array.cc, CMatrix.cc, CNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1454 CSparse.cc, CmplxCHOL.cc, CmplxGEPBAL.cc, MatrixType.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1455 Sparse-op-defs.h, Sparse.cc, SparseCmplxLU.cc, SparseCmplxQR.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1456 SparseQR.cc, SparsedbleLU.cc, dMatrix.cc, dNDArray.cc, dSparse.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1457 data-conv.cc, dbleCHOL.cc, dbleGEPBAL.cc, fCMatrix.cc, fCNDArray.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1458 fCmplxCHOL.cc, fCmplxGEPBAL.cc, fMatrix.cc, fNDArray.cc, file-ops.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1459 floatCHOL.cc, floatGEPBAL.cc, lo-sysdep.cc, oct-fftw.cc, oct-md5.cc, |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1460 oct-rand.cc, regex-match.cc, sparse-dmsolve.cc: Include oct-locbuf.h. |
25bc2d31e1bf
improve OCTAVE_LOCAL_BUFFER
Jaroslav Hajek <highegg@gmail.com>
parents:
8375
diff
changeset
|
1461 |
8375
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1462 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1463 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1464 * DiagArray2.h (DiagArray2<T>): Inherit Array<T> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1465 (DiagArray2<T>::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1466 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1467 (DiagArray2<T>::diag): New method decl. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1468 * DiagArray2.cc (DiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1469 * MDiagArray2.h (MDiagArray2<T>::diag): New method. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1470 * dDiagMatrix.cc (DiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1471 * fDiagMatrix.cc (FloatDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1472 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1473 * fCDiagMatrix.cc (FloatComplexDiagMatrix::diag): Remove. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1474 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1475 * PermMatrix.h (PermMatrix): Inherit Array<octave_idx_type> privately. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1476 (PermMatrix::dim1, dim2, rows, columns, cols, length, |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1477 nelem, numel, byte_size, dims): New methods. |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1478 |
e3c9102431a9
fix design problems of diag & perm matrix classes
Jaroslav Hajek <highegg@gmail.com>
parents:
8371
diff
changeset
|
1479 |
8371
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1480 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1481 |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1482 * dDiagMatrix.cc (DiagMatrix::determinant, DiagMatrix::rcond): New |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1483 method. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1484 * dDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1485 * fDiagMatrix.cc (FloatDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1486 FloatDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1487 * fDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1488 * CDiagMatrix.cc (ComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1489 ComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1490 * CDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1491 * fCDiagMatrix.cc (FloatComplexDiagMatrix::determinant, |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1492 FloatComplexDiagMatrix::rcond): New methods. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1493 * fCDiagMatrix.h: Declare them. |
c3f7e2549abb
make det & inv aware of diagonal & permutation matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
8369
diff
changeset
|
1494 |
8369 | 1495 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
1496 | |
1497 * idx-vector.cc (idx-vector::complement): Add missing delete. | |
1498 | |
8368
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1499 2008-12-04 Jaroslav Hajek <highegg@gmail.com> |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1500 |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1501 * dbleQRP.cc (QRP::QRP): Call DGEQP3 rather than DGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1502 * floatQRP.cc (FloatQRP::FloatQRP): Call SGEQP3 rather than SGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1503 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Call ZGEQP3 rather than ZGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1504 * fCmplxQRP.cc (FloatComplexQRP::FloatComplexQRP): Call CGEQP3 rather than CGEQPF. |
c72c1c9bccdc
call blocked permuted qr factorization routines from LAPACK
Jaroslav Hajek <highegg@gmail.com>
parents:
8367
diff
changeset
|
1505 |
8367
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1506 2008-12-03 Jaroslav Hajek <highegg@gmail.com> |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1507 |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1508 * PermMatrix.h, PermMatrix.cc: New sources. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1509 * MDiagArray2.cc (MDiagArray2<T>::is_multiple_of_identity): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1510 * MDiagArray2.h (MDiagArray2<T>::is_multiple_of_identity): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1511 * idx-vector.cc (idx_vector::is_permutation): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1512 * idx-vector.h (idx_vector::is_permutation): Declare it. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1513 * base-lu.cc (base_lu::getp): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1514 (base_lu::P): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1515 (base_lu::Pvec): Call getp. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1516 * base-lu.h (base_lu): Delcare P as PermMatrix. Remove unused template |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1517 params. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1518 * dbleQRP.cc (dbleQRP::dbleQRP): Construct a permutation matrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1519 (dbleQRP::Pvec): New method. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1520 * dbleQRP.h: Declare new method. Declare P as PermMatrix. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1521 * CmplxQRP.cc (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1522 * CmplxQRP.h (ComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1523 * floatQRP.cc (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1524 * floatQRP.h (FloatQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1525 * fCmplxQRP.cc (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1526 * fCmplxQRP.h (FloatComplexQRP): Likewise. |
445d27d79f4e
support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8366
diff
changeset
|
1527 |
8366
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1528 2008-12-01 Jaroslav Hajek <highegg@gmail.com> |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1529 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1530 * DiagArray2.h (DiagArray2<T>::DiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1531 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1532 (DiagArray2<T>::elem, xelem, operator ()): Move to header file to |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1533 enable inlining. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1534 * DiagArray2.cc (DiagArray2<T>::elem, xelem, operator ()): Remove |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1535 implementations. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1536 * MDiagArray2.h (MDiagArray2<T>::MDiagArray2<T> (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1537 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1538 (MDiagArray2<T>::nnz): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1539 * MDiagArray2.cc (MDiagArray2<T>::nnz): Implement it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1540 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1541 * dDiagMatrix.h (DiagMatrix::DiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1542 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1543 (DiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1544 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1545 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1546 * dDiagMatrix.cc (DiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1547 (operator *(const DiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1548 (real (const ComplexDiagMatrix&), imag (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1549 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1550 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1551 * fDiagMatrix.h (FloatDiagMatrix::FloatDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1552 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1553 (FloatDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1554 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1555 New decls. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1556 * fDiagMatrix.cc (FloatDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1557 (operator *(const FloatDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1558 (real (const FloatComplexDiagMatrix&), imag (const FloatComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1559 New functions. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1560 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1561 * CDiagMatrix.h (ComplexDiagMatrix::ComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1562 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1563 (ComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1564 (conj (const ComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1565 (ComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1566 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1567 * CDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1568 (operator *(const DiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1569 (operator *(const ComplexDiagMatrix&, const DiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1570 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1571 (ComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1572 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1573 * fCDiagMatrix.h (FloatComplexDiagMatrix::FloatComplexDiagMatrix (const DiagArray2<U>&)): New template |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1574 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1575 (FloatComplexDiagMatrix::abs): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1576 (conj (const FloatComplexDiagMatrix&)): Add missing decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1577 (FloatComplexDiagMatrix::all_elements_are_real): New method decl. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1578 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1579 * fCDiagMatrix.cc (CDiagMatrix::abs): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1580 (operator *(const FloatDiagMatrix&, const FloatComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1581 (operator *(const FloatComplexDiagMatrix&, const FloatDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1582 (operator *(const ComplexDiagMatrix&, const ComplexDiagMatrix&)): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1583 (FloatComplexDiagMatrix::all_elements_are_real): New method. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1584 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1585 * dSparse.cc (SparseMatrix::SparseMatrix (const DiagMatrix&)): New |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1586 constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1587 * dSparse.h (SparseMatrix::SparseMatrix (const DiagMatrix&)): Declare |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1588 it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1589 |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1590 * CSparse.cc (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1591 New constructor. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1592 * CSparse.h (SparseComplexMatrix::SparseComplexMatrix (const ComplexDiagMatrix&)): |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1593 Declare it. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1594 * mx-op-defs.h (DMM_MULTIPLY_OP, MDM_MULTIPLY_OP): Optimize. |
8b1a2555c4e2
implement diagonal matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8339
diff
changeset
|
1595 |
8339
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1596 2008-11-21 Jarkko Kaleva <d3roga@gmail.com> |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1597 |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1598 * EIG.h (EIG::EIG (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1599 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1600 (EIG::EIG (const Matrix& a, const Matrix& b, octave_idx_type& info, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1601 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1602 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1603 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1604 (EIG::EIG (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1605 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1606 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1607 * EIG.cc (EIG::init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1608 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1609 (EIG::init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1610 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1611 (EIG::symmetric_init (const Matrix& a, const Matrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1612 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1613 (EIG::hermitian_init (const ComplexMatrix& a, const ComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1614 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1615 * fEIG.h (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1616 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1617 (fEIG::fEIG (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1618 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1619 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1620 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1621 bool calc_eigenvectors = true)): New constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1622 (fEIG::fEIG (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1623 octave_idx_type& info, bool calc_eigenvectors = true)): New |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1624 constructor. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1625 (fEIG::init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1626 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1627 (fEIG::init (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1628 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1629 (fEIG::symmetric_init (const FloatMatrix& a, const FloatMatrix& b, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1630 bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1631 (fEIG::hermitian_init (const FloatComplexMatrix& a, |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1632 const FloatComplexMatrix& b, bool calc_eigenvectors)): New function. |
18c4ded8612a
Add generalized eigenvalue functions
Jarkko Kaleva <d3roga@gmail.com>
parents:
8337
diff
changeset
|
1633 |
8337
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1634 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1635 |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1636 * dMatrix.cc (Matrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1637 fMatrix.cc (FloatMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1638 CMatrix.cc (ComplexMatrix::determinant), |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1639 fCMatrix.cc (FloatComplexMatrix::determinant): |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1640 Use atmp(i,i) instead of elem(i,i). |
e02242c54c49
reuse matrix type detected in det
Jaroslav Hajek <highegg@gmail.com>
parents:
8336
diff
changeset
|
1641 |
8336
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1642 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1643 |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1644 * DET.h (base_det<T>::square): New member function. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1645 * dMatrix.cc (Matrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1646 fMatrix.cc (FloatMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1647 CMatrix.cc (ComplexMatrix::determinant), |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1648 fCMatrix.cc (FloatComplexMatrix::determinant): |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1649 Allow taking MatrixType argument. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1650 * dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h: Update decls. |
9813c07ca946
make det take advantage of matrix type
Jaroslav Hajek <highegg@gmail.com>
parents:
8335
diff
changeset
|
1651 |
8335 | 1652 2008-11-19 Jaroslav Hajek <highegg@gmail.com> |
1653 | |
1654 * DET.h: New source. | |
1655 * CmplxDET.cc, CmplxDET.h, dbleDET.cc, dbleDET.h, fCmplxDET.cc, | |
1656 fCmplxDET.h, floatDET.cc, floatDET.h: Remove. | |
1657 * Makefile.in: Reflect changes. | |
1658 * mx-defs.h: Remove DET decls. | |
1659 * mx-ext.h, dMatrix.h, fMatrix.h, CMatrix.h, fCMatrix.h, | |
1660 dSparse.h, CSparse.h: Include only DET.h. | |
1661 * dMatrix.cc (Matrix::determinant), | |
1662 fMatrix.cc (FloatMatrix::determinant), | |
1663 CMatrix.cc (ComplexMatrix::determinant), | |
1664 fCMatrix.cc (FloatComplexMatrix::determinant), | |
1665 dSparse.cc (SparseMatrix::determinant), | |
1666 CSparse.cc (SparseComplexMatrix::determinant): Use new class. | |
1667 | |
8328
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1668 2008-11-18 David Bateman <dbateman@free.fr> |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1669 |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1670 * file-ops.cc (std::string file_ops::tilde_expand (const |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1671 std::string&)): Check if the string contains a tilde and fast |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1672 return if not. |
c2d126754a49
Changelog for previous patch
David Bateman <dbateman@free.fr>
parents:
8326
diff
changeset
|
1673 |
8326
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1674 2008-11-17 John W. Eaton <jwe@octave.org> |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1675 |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1676 * dir-ops.cc (dir_entry::read): Use std::list<std::string> to |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1677 cache names before converting to string_vector. |
545b9f62adcf
dir-ops.cc (dir_entry::read): use std::list<std::string> to cache names before converting to string_vector
John W. Eaton <jwe@octave.org>
parents:
8324
diff
changeset
|
1678 |
8324 | 1679 2008-11-14 David Bateman <dbateman@free.fr> |
1680 | |
1681 * Array2.h (Array2<T> Array2<T>::index): Correct use of | |
1682 resize_fill_value. | |
1683 | |
8319
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1684 2008-11-12 Michael Goffioul <michael.goffioul@gmail.com> |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1685 |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1686 * MArray-C.cc, MArray-d.cc, MArray-f.cc, MArray-fC.cc: Declare |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1687 MArray<T>::norm specialization before implicit MArray<T> implicit |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1688 instantiation. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1689 * idx-vector.h (class idx_vector::idx_base_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1690 idx_vector::idx_range_rep, class idx_vector::idx_colon_rep, class |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1691 idx_vector::idx_scalar_rep, class idx_vector::idx_vector_rep): Add |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1692 OCTAVE_API tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1693 * idx-vector.cc (idx_vector::idx_scalar_rep::idx_scalar_rep(T), |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1694 idx_vector::idx_vector_rep::idx_vector_rep(const Array<T>&)): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1695 * oct-inttypes.cc (octave_int<T>::type_name): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1696 * oct-inttypes.cc (powf(const octave_int<T>&,const float&)): Cast 'b' |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1697 to double. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1698 * oct-inttypes.h: Undefine min/max. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1699 * oct-norm.h (xnorm, xfrobnorm, xcolnorms, xrownorms): Add OCTAVE_API |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1700 tag. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1701 * oct-norm.cc (xnorm, xfrobnorm, xcolnorms, xrownorms): Ditto. |
c374691576f6
Fix for MSVC compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8314
diff
changeset
|
1702 |
9501 | 1703 2008-11-12 Jaroslav Hajek <highegg@gmail.com> |
8314
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1704 |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1705 * DiagArray2.h (DiagArray2<T>::maybe_delete_elements): Remove |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1706 declaration. |
eb0fb4a9859c
remove unimplemented method declaration
Jaroslav Hajek <highegg@gmail.com>
parents:
8308
diff
changeset
|
1707 |
9501 | 1708 2008-11-09 Jaroslav Hajek <highegg@gmail.com> |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1709 |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1710 * oct-norm.cc: Don't include Array.cc. |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1711 (column_norms (const MArray2<T>&, ...)): Use std::vector instead of Array<T> for |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1712 accumulator containers. Use empty constructor instead of |
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1713 Array<T>::resize. |
8628 | 1714 (row_norms (const MArray2<T>&, ...)): Ditto. |
1715 (column_norms (const MSparse2<T>&, ...)): Ditto. | |
1716 (row_norms (const MSparse2<T>&, ...)): Ditto. | |
8308
5fe0f4dfdbec
use std::vector as a simple linear container in oct-norm.cc to avoid problems with instantiating Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8303
diff
changeset
|
1717 |
8303
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1718 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1719 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1720 * oct-norm.h: New header file. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1721 * oct-norm.cc: New source. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1722 * CSparse.cc (SparseComplexMatrix::row, SparseComplexMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1723 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1724 * CSparse.h (SparseComplexMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1725 * dSparse.cc (SparseMatrix::row, SparseMatrix::column): |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1726 New member functions. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1727 * dSparse.h (SparseMatrix): Declare them. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1728 * MArray-C.cc (MArray<Complex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1729 MArray-d.cc (MArray<double>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1730 MArray-fC.cc (MArray<FloatComplex>::norm), |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1731 MArray-f.cc (MArray<float>::norm): Wrap a call to xnorm. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1732 |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1733 * MArray-defs.h (MARRAY_NORM_BODY): Remove. |
b11c31849b44
improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents:
8302
diff
changeset
|
1734 |
9501 | 1735 2008-11-02 Jaroslav Hajek <highegg@gmail.com> |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1736 |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1737 * idx-vector.cc (idx_vector::is_complement): Set resulting extent |
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1738 correctly. |
8302
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1739 * Array.cc (Array<T>::delete_elements (int, const idx_vector&)): |
f2e050b62199
fix dim check in Array<T>::delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8301
diff
changeset
|
1740 Fix check for invalid dim. |
8301
f7d44b6a74df
fix out-of-bounds checks in null assignments
Jaroslav Hajek <highegg@gmail.com>
parents:
8298
diff
changeset
|
1741 |
8298
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1742 2008-10-31 Jaroslav Hajek <highegg@gmail.com> |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1743 |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1744 * idx-vector.h (idx_vector::idx_range_rep::extent): Don't change |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1745 extent when len is zero. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1746 * idx-vector.h (idx_vector::idx_range_rep::idx_range_rep (void)): |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1747 Create empty range by default. |
7e87d3d76a56
fix extent query for empty ranges
Jaroslav Hajek <highegg@gmail.com>
parents:
8293
diff
changeset
|
1748 |
9501 | 1749 2008-10-30 Jaroslav Hajek <highegg@gmail.com> |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1750 |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1751 * oct-inttypes.h (octave_int_abs): New function. |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1752 (octave_int_arith_base<T, true>::div): Use octave_int_abs instead of |
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1753 std::abs. |
8628 | 1754 * oct-inttypes.cc (octave_int_arith_base<int64_t, true>): Ditto. |
8293
ad5bb02d267a
workaround missing std::abs(int64_t) in MSVC
Jaroslav Hajek <highegg@gmail.com>
parents:
8290
diff
changeset
|
1755 |
9501 | 1756 2008-10-28 Jaroslav Hajek <highegg@gmail.com> |
8290
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1757 |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1758 * Array-C.cc Array-d.cc Array-f.cc Array-fC.cc Array-i.cc Array-s.cc: |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1759 Don't use semicolon after INSTANTIATE_ARRAY_ASSIGN. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1760 * Array-util.h (zero_dims_inquire): New declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1761 (is_in, how_many_lgt, short_freeze): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1762 * Array-util.cc (zero_dims_inquire): New functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1763 (is_in, how_many_lgt, short_freeze): Remove functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1764 * Array.cc (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1765 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1766 Rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1767 * Array.h (Array<T>::index, Array<T>::resize_fill, Array<T>::resize, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1768 Array<T>::assign, Array<T>::delete_elements): |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1769 Rewrite interfaces. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1770 * Array2.h (Array2<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1771 * Array3.h (Array3<T>::resize): Call Array<T>::resize_fill. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1772 * ArrayN.h (ArrayN<T>::resize): Remove declarations. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1773 (ArrayN<T>::index): Fix call to resize_fill_value. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1774 * Sparse.cc (assign, assign1): Use zero-based indices. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1775 * chMatrix.h: Include mx-op-defs.h |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1776 * dim-vector.h (dim_vector::any_neg, dim_vector::chop_all_singletons, |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1777 dim_vector::redim): New member functions. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1778 * idx-vector.cc: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1779 * idx-vector.h: Mostly rewrite. |
7cbe01c21986
improve dense array indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
8288
diff
changeset
|
1780 |
8288
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1781 2008-10-29 Michael Goffioul <michael.goffioul@gmail.com> |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1782 |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1783 * lo-specfun.cc (cbesj, cbesy, cbesi, cbesk, cbesh1, cbesh2): Do not |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1784 use std::complex::real() and std::complex::imag() as l-value, this is |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1785 not supported under MSVC. |
2368aa769ab9
Work around missing std::complex members under MSVC
Michael Goffioul <michael.goffioul@gmail.com>
parents:
8279
diff
changeset
|
1786 |
8279
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1787 2008-10-28 John W. Eaton <jwe@octave.org> |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1788 |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1789 * lo-specfun.cc: Fix prototypes for the Fortran subroutines cbesh, |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1790 cbesi, cbesj, cbesk, and cbesy. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1791 (cbesh, cbesi, cbesj, cbesk, cbesy): Fix calls to Fortran |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1792 subroutines. |
b3734f1cb592
lo-specfun.cc: fix prototypes and calls to cbes{h,i,j,k,y} subroutines
John W. Eaton <jwe@octave.org>
parents:
8278
diff
changeset
|
1793 |
8278
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1794 2008-10-28 Brian Gough <bjg@gnu.org> |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1795 |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1796 * lo-specfun.cc (zbesi): Fix scaling factor for negative alpha. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1797 (cbesi): Likewise. |
ab0674a8b345
fix scaling factor for negative alpha in zbesi,cbesi
Brian Gough <bjg@gnu.org>
parents:
8272
diff
changeset
|
1798 |
8272
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1799 2008-10-23 John Swensen <jpswensen@comcast.net> |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1800 |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1801 * oct-shlib.cc (octave_dyld_shlib::open): Call NSLinkEditError to |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1802 get better diagnostic if NSLinkModule fails. |
ed5811a1ec8f
Added output about why a library load fails on OSX
jpswensen@compsci34-82-1651.compscidhcp.jhu.edu
parents:
8271
diff
changeset
|
1803 |
8271
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1804 2008-10-23 John W. Eaton <jwe@octave.org> |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1805 |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1806 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_NOW instead |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1807 of RTLD_LAZY. |
095b3e4d64e9
oct-shlib.cc: use RTLD_NOW option for dlopen
John W. Eaton <jwe@octave.org>
parents:
8211
diff
changeset
|
1808 |
9501 | 1809 2008-10-12 Jaroslav Hajek <highegg@gmail.com> |
8211
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1810 |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1811 * CSparse.cc (ComplexMatrix::expm): Improve inverse preconditioning |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1812 according to Marco Caliari. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1813 * dSparse.cc (Matrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1814 * fCSparse.cc (FloatComplexMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1815 * fSparse.cc (FloatMatrix::expm): Likewise. |
851803f7bb4d
improve inverse preconditioning according to Marco Caliari
Jaroslav Hajek <highegg@gmail.com>
parents:
8207
diff
changeset
|
1816 |
8207
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1817 2008-10-10 Jaroslav Hajek <highegg@gmail.com> |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1818 |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1819 * sparse-util.h (SparseCholPrint): Change char * argument to const |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1820 char *. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1821 * sparse-util.cc (SparseCholPrint): Likewise. |
60b4c75287a1
fix for SuiteSparse 3.2
Jaroslav Hajek <highegg@gmail.com>
parents:
8206
diff
changeset
|
1822 |
9501 | 1823 2008-10-09 Jaroslav Hajek <highegg@gmail.com> |
8206
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1824 |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1825 * oct-sort.cc (octave_sort<T>::merge_getmem, |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1826 octave_sort<T>::merge_freemem): Replace malloc -> new [], free -> |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1827 delete []. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1828 (octave_sort<T>::merge_lo, octave_sort<T>::merge_hi): Replace |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1829 std::memcpy and std::memmove with std::copy. |
0168d22e6bba
fix sorting of non-POD objects
Jaroslav Hajek <highegg@gmail.com>
parents:
8198
diff
changeset
|
1830 |
8198 | 1831 2008-10-08 John W. Eaton <jwe@octave.org> |
1832 | |
1833 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OPS): Duplicate code for scalar | |
1834 sparse arguments rather than rely on extern function. | |
1835 | |
8193
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1836 2008-10-08 Jaroslav Hajek <highegg@gmail.com> |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1837 |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1838 * oct-inttypes.h (octave_base_int<T>::compute_threshold): Return |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1839 exclusive bounds rather than inclusive, be resistant to compiler |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1840 optimizations. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1841 (octave_base_int<T>::convert_real): Use exclusive bounds. |
5fd507839b76
remove the int->real conversion code vulnerability to compiler optimization
Jaroslav Hajek <highegg@gmail.com>
parents:
8191
diff
changeset
|
1842 |
9501 | 1843 2008-10-07 Jaroslav Hajek <highegg@gmail.com> |
8191
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1844 |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1845 * oct-inttypes.h (OCTAVE_INT_DOUBLE_BIN_OP): Change octave_int64 to |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1846 octave_uint64 where appropriate. |
9cb73236e552
fix uint64 mixed operations
Jaroslav Hajek <highegg@gmail.com>
parents:
8187
diff
changeset
|
1847 |
8187 | 1848 2008-10-06 David Bateman <dbateman@free.fr> |
1849 | |
1850 * Sparse-op-defs.h (SPARSE_SMSM_CMP_OPS): Duplicate code for scalar | |
1851 sparse arguments rather than rely on extern function. | |
1852 | |
8186
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1853 2008-10-06 John W. Eaton <jwe@octave.org> |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1854 |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1855 * Spasre-op-defs.h: Undo previous change. |
23ff439ea0dd
Sparse-op-defs.h: undo previous change
John W. Eaton <jwe@octave.org>
parents:
8185
diff
changeset
|
1856 |
9501 | 1857 2008-10-01 Jaroslav Hajek <highegg@gmail.com> |
8185
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1858 |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1859 * oct-inttypes.h (octave_int<T>::one, octave_int<T>::zero): Declare |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1860 constants. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1861 * oct-inttypes.cc: Define them. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1862 * oct-inttypes.h: Define mixed operations via long double if possible. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1863 * oct-inttypes.cc: Define alternative implementations for 64-bit |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1864 multiplication and mixed operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1865 * mx-ops: Instantiate all 64-bit integer operations. |
69c5cce38c29
implement 64-bit arithmetics
Jaroslav Hajek <highegg@gmail.com>
parents:
8182
diff
changeset
|
1866 |
8180
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1867 2008-10-06 Jaroslav Hajek <highegg@gmail.com> |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1868 |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1869 * oct-lookup.h: Mark functions inline. Add missing std:: qualifiers. |
da48d2ca096f
small fixes in oct-lookup.h
Jaroslav Hajek <highegg@gmail.com>
parents:
8179
diff
changeset
|
1870 |
8181
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1871 2008-10-06 John W. Eaton <jwe@octave.org> |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1872 |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1873 * Sparse.h (Sparse<T>::elt_type): New typedef. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1874 * Sparse-op-defs.h (SPARSE_SMSM_BOOL_OP, SPARSE_MSM_CMP_OP): |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1875 Use it to call sparse-matrix/scalar operator instead of attempting |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1876 to instantiate mixed-type sparse-matrix/scalar operators. |
1ebcb9872ced
fix sparse-matrix bool/cmp op instantiation problem
John W. Eaton <jwe@octave.org>
parents:
8180
diff
changeset
|
1877 |
8179
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1878 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1879 |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1880 * Array.h (Array<T>::maybe_delete_elements): Remove rfv argument from |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1881 declaration. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1882 * Array.cc (Array<T>::maybe_delete_elements): Remove all usages of |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1883 rfv. |
6c08e3921d3e
imported patch maybe_delete_fix.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8178
diff
changeset
|
1884 |
8178
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1885 2008-10-03 Jaroslav Hajek <highegg@gmail.com> |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1886 |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1887 * Array.cc (assignN): Do not call maybe_delete_elements when |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1888 for empty matrix. |
af41e2094993
fix assignN still calling maybe_delete_elements
Jaroslav Hajek <highegg@gmail.com>
parents:
8169
diff
changeset
|
1889 |
8182 | 1890 2008-09-30 Jaroslav Hajek <highegg@gmail.com> |
8169
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1891 |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1892 * oct-inttypes.h: Mostly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1893 * oct-inttypes.cc: Modstly rewrite. |
66bc6f9b4f72
rewrite integer arithmetics and conversions
Jaroslav Hajek <highegg@gmail.com>
parents:
8157
diff
changeset
|
1894 |
8157
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1895 2008-09-29 Jaroslav Hajek <highegg@gmail.com> |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1896 |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1897 * Array.cc (Array<T>::maybe_delete_elements_2(idx_vector&)): Return on |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1898 empty index vector. |
c0b8546c0020
add missing return in Array<T>::delete_elements_2
Jaroslav Hajek <highegg@gmail.com>
parents:
8150
diff
changeset
|
1899 |
8150
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1900 2008-09-26 Jaroslav Hajek <highegg@gmail.com> |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1901 |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1902 * Array.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1903 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1904 (maybe_delete_elements (Array<idx_vector>&)): Call the 1D and 2D |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1905 special handlers if possible. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1906 * Sparse.cc (assign1, assign2, assignN): Do not call |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1907 maybe_delete_elements. |
283989f2da9b
make null assignment matlab compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8124
diff
changeset
|
1908 |
8124
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1909 2008-09-22 Brian Gough <bjg@gnu.org> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1910 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1911 * oct-rand.cc (initialize_mersenne_twister): Use separate |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1912 initializations for each generator to avoid correlation. |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1913 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1914 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1915 |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1916 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
d227d096d49e
oct-rand.cc (initialize_mersenne_twister): use separate initializations for each generator
Brian Gough
parents:
8121
diff
changeset
|
1917 |
8121
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1918 2008-09-19 John W. Eaton <jwe@octave.org> |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1919 |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1920 * Array.cc (assign1, assign2, assignN): |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1921 Clear lhs index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1922 (Array<T>::value): Clear index before throwing error. |
061febbf23ad
clear index before throwing error in Array indexed assignment functions
John W. Eaton <jwe@octave.org>
parents:
8119
diff
changeset
|
1923 |
8119
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1924 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1925 |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1926 * Array.cc (maybe_delete_elements_2 (idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1927 better Matlab compatibility. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1928 (maybe_delete_elements (idx_vector&, idx_vector&)): Fix tests to get |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1929 better Matlab compatibility, simplify, gripe on invalid 2-D deletion. |
acfd80c08d60
make null assignment more Matlab-compatible
Jaroslav Hajek <highegg@gmail.com>
parents:
8118
diff
changeset
|
1930 |
8118
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1931 2008-09-18 Jaroslav Hajek <highegg@gmail.com> |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1932 |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1933 * Array.h (Array<T>::coerce): Use octave_idx_type instead of int. |
311c9b36df8f
replace int->octave_idx_type in Array<T>
Jaroslav Hajek <highegg@gmail.com>
parents:
8104
diff
changeset
|
1934 |
8104
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1935 2008-09-12 Jaroslav Hajek <highegg@gmail.com> |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1936 |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1937 * oct-inttypes.h (pow (const octave_int<T>&, const octave_int<T>&)): |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1938 Handle negative exponent correctly. |
fc45357bf50c
fix integer exponentiation with negative exponent
Jaroslav Hajek <highegg@gmail.com>
parents:
8040
diff
changeset
|
1939 |
8039
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1940 2008-08-19 David Bateman <dbateman@free.fr> |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1941 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1942 * oct-inttypes.h (template <class T1, class T2> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1943 octave_int_fit_to_range (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1944 template <typename T> inline T octave_int_fit_to_range (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1945 double&, const T&, const T&), template <> inline T2 |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1946 octave_int_fit_to_range<T1, T2> (const T1&, const T2&, const T2&), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1947 OCTAVE_S_US_FTR): Check and flag integer trunctation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1948 (OCTAVE_INT_FIT_TO_RANGE, OCTAVE_INT_FIT_TO_RANGE2): Adapt for the |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1949 above change. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1950 (OCTAVE_INT_CONV_FIT_TO_RANGE): New macro for conversion to |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1951 integer types. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1952 (octave_int<T>::conv_error_type): New enum to flag conversion and |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1953 math warnings. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1954 (octave_int<T>::octave_int (U i), octave_int<T>::octave_int |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1955 (double i), octave_int<>::octave_int (const octave_int<U>& i)): |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1956 Flag conversion and math errors other than integer truncation. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1957 (octave_int<T> octave_int<T>::operator - (void)): Flag truncation |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1958 error. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1959 (static bool get_trunc_flag (void), static bool clear_trunc_flag |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1960 (void, static bool trunc_flag)): Delete. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1961 (static int get_conv_flag (void), static bool get_trunc_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1962 static bool get_nan_flag (void), static bool get_non_int_flag (void), |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1963 static bool get_math_trunc_flag (void), static void |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1964 clear_conv_flag (void)): New functions to query and reset |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1965 conversion and mathw arning state. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1966 (static int cov_flag): New parameter holding current conversion |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1967 and math warning state. Set it to zero. |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1968 (template <class T> octave_int<T> powf (float, const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1969 octave_int<T>&), template <class T> octave_int<T> powf (const |
cd90e2842080
Add additional integer math and conversion warnings, set their default state to be off and add the intwarning function
David Bateman <dbateman@free.fr>
parents:
8029
diff
changeset
|
1970 octave_int<T>&, float)): New functions. |
8040 | 1971 |
1972 2008-08-12 Jaroslav Hajek <highegg@gmail.com> | |
8029
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1973 |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1974 * lo-ieee.cc (octave_ieee_init): Try to ensure that octave_NaN is |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1975 classified as positive by lo_ieee_signbit. |
090001c04619
initialization check for correct NaN sign
Jaroslav Hajek <highegg@gmail.com>
parents:
8028
diff
changeset
|
1976 |
8040 | 1977 2008-08-11 Jaroslav Hajek <highegg@gmail.com> |
8028
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1978 |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1979 * Array.cc (no_op_fcn): New static function. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1980 (Array<T>::hermitian): If fcn is null, set to no_op_fcn. |
f0fbf47c914c
avoid null pointer call in Array<T>::hermitian
Jaroslav Hajek <highegg@gmail.com>
parents:
8022
diff
changeset
|
1981 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1982 2008-08-07 John W. Eaton <jwe@octave.org> |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1983 |
8022
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1984 * sprse-base-chol.h, oct-sparse.h: Don't include config.h. |
9708674ab85d
don't include config.h in other header files
John W. Eaton <jwe@octave.org>
parents:
8019
diff
changeset
|
1985 |
8019
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1986 * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1987 Replace all uses of NPOS with std::string::npos. |
0ef13e15319b
replace NPOS with std::string::npos
John W. Eaton <jwe@octave.org>
parents:
8018
diff
changeset
|
1988 |
8018
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1989 * fCmplxLU.h, CmplxLU.h: Fix typo in definition of |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1990 multiple-inclusion guard macro. |
8487847eb092
fCmplxLU.h, CmplxLU.h: fix typo in definition of multiple-inclusion guard macro
John W. Eaton <jwe@octave.org>
parents:
8009
diff
changeset
|
1991 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1992 2008-08-05 John W. Eaton <jwe@octave.org> |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
1993 |
8009
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1994 * file-ops.h, file-ops.cc (file_ops::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1995 New singleton class for static members of file_ops. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1996 |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1997 * pathsearch.h, pathsearch.cc (class dir_path::static_members): |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1998 New singleton class for static members of dir_path. |
d936b21b3a6b
file_ops: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8008
diff
changeset
|
1999 |
8008
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2000 * pathsearch.cc (dir_path::init): Move octave_kpathsea_initialized |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2001 here from file scope. |
4d13a7a2f6ab
dir_path: use singleton class for static data members
John W. Eaton <jwe@octave.org>
parents:
8007
diff
changeset
|
2002 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2003 2008-08-04 John W. Eaton <jwe@octave.org> |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2004 |
8007
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2005 * oct-env.cc (octave_env::do_set_program_name, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2006 octave_env::do_base_pathname): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2007 file_ops::dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2008 (octave_env::do_make_absolute): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2009 file_ops::dir_sep_chars and file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2010 (octave_env::do_get_home_directory): Fix usage of |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2011 file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2012 |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2013 * file-ops.h (file_ops::do_is_dir_sep): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2014 (file_ops_::is_dir_sep): Call it. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2015 * file-ops.cc (class file_ops): Make it a proper singleton object. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2016 (file_ops::file_ops): New constructor. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2017 (file_ops::instance_ok): New function. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2018 (file_ops::xdir_sep_char): Now private. No longer static. Rename |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2019 from dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2020 (file_ops::xdir_sep_str): Likewise, from dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2021 (file_ops::xdir_sep_chars): Likewise, from dir_sep_chars. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2022 (file_ops::dir_sep_char, file_ops::dir_sep_str, |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2023 file_ops::dir_sep_chars): New functions. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2024 (file_ops::recursive_rmdir): Fix usage of file_ops::dir_sep_str. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2025 (file_ops::concat): Fix usage of file_ops::dir_sep_char. |
a2ab20ba78f7
make file_ops a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
8006
diff
changeset
|
2026 |
8006
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2027 * oct-env.cc (octave_env::instance_ok): Fix typo in error message. |
b0e7bbe7cd47
oct-env.cc (octave_env::instance_ok): fix type in error message
John W. Eaton <jwe@octave.org>
parents:
7999
diff
changeset
|
2028 |
7999 | 2029 2008-07-30 John W. Eaton <jwe@octave.org> |
2030 | |
2031 * oct-inttypes.h: Style fixes. | |
2032 | |
8040 | 2033 2008-07-30 Jaroslav Hajek <highegg@gmail.com> |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2034 |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2035 * oct-inttypes.h (octave_int<T>::trunc_flag): New member static field. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2036 (octave_int<T>::get_trunc_flag, octave_int<T>::clear_trunc_flag): New |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2037 member functions. |
7999 | 2038 (octave_int<T>::octave_int (const octave_int<U>&)): set trunc_flag |
2039 on truncation. | |
7997
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2040 (SPECIALIZE_WIDENING_CONVERSION): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2041 (DECLARE_OCTAVE_INT_TYPENAME): New macro. |
2b8952e133c9
implement checked conversions between integers
Jaroslav Hajek <highegg@gmail.com>
parents:
7991
diff
changeset
|
2042 |
7991
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2043 2008-07-29 David Bateman <dbateman@free.fr> |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2044 |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2045 * lo-ieee.h (LO_IEEE_NA_HW, LO_IEEE_NA_LW, LO_IEEE_NA_FLOAT): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2046 Change definition so cast from single to double and visa versa |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2047 maintains NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2048 (LO_IEEE_NA_HW_OLD, LO_IEEE_NA_LW_OLD): Keep old values. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2049 (extern OCTAVE_API int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2050 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2051 (extern OCTAVE_API double __lo_ieee_replace_old_NA (double)): |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2052 Function to replace old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2053 * lo-cieee.c (int __lo_ieee_is_old_NA (double)): Function to |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2054 detect old NA value. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2055 (double __lo_ieee_replace_old_NA (double)): Function to replace |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2056 old NA value with new new. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2057 * data-conv.cc (void read_doubles(std::istream&, double *, |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2058 save_type, int, bool, octave_mach_info::float_format)): Test if |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2059 loaded NA values is the old representation and replace it. |
139f47cf17ab
Change NA value to support single to double precision conversion
David Bateman <dbateman@free.fr>
parents:
7979
diff
changeset
|
2060 |
8040 | 2061 2008-07-28 Jaroslav Hajek <highegg@gmail.com> |
7979 | 2062 |
2063 * lo-math.h: Ensure log2 is undefined from cmath in C++ mode. | |
2064 | |
7957
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2065 2008-07-21 Michael Goffioul <michael.goffioul@gmail.com> |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2066 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2067 * oct-mutex.h (octave_base_mutex::octave_base_mutex): Initialize |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2068 count to 1, not -1. |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2069 |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2070 * oct-mutex.cc (octave_base_mutex::lock, octave_base_mutex::unlock): |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2071 Replace error calls with (*current_liboctave_error_handler). |
ba2e00a216e8
Do not use "error" in octave_base_mutex class
John W. Eaton <jwe@octave.org>
parents:
7955
diff
changeset
|
2072 |
7955
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2073 2008-07-21 John W. Eaton <jwe@octave.org> |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2074 |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2075 * regex-match.cc (regex_match::init): Initialize err to 0. |
645ced9fa838
regex-match.cc (regex_match::init): initialize err to 0
John W. Eaton <jwe@octave.org>
parents:
7952
diff
changeset
|
2076 |
7952
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2077 2008-07-19 John W. Eaton <jwe@octave.org> |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2078 |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2079 * oct-mutex.h (class octave_base_mutex): New class. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2080 (class octave_mutex): Don't use union for rep and count. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2081 (octave_mutex::rep): Declare as octave_base_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2082 (octave_mutex::count): Delete. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2083 (octave_mutex::lock, octave_mutex::unlock): No longer virtual. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2084 (octave_mutex::~octave_mutex): No need to check that rep is |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2085 valid or set rep to zero after deleting. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2086 (octave_mutex::operator =): No need to check that rep is valid. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2087 * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2088 from octave_base_mutex, not octave_mutex. |
2c0a0edae596
reorganize octave_mutex class
John W. Eaton <jwe@octave.org>
parents:
7943
diff
changeset
|
2089 |
7943
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2090 2008-07-18 John W. Eaton <jwe@octave.org> |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2091 |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2092 * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2093 to 0, not count. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2094 * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2095 to 1 instead of incrementing it. |
7b8aca1cdf0a
octave_mutex initialization fixes
John W. Eaton <jwe@octave.org>
parents:
7941
diff
changeset
|
2096 |
7941
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2097 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2098 |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2099 * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>, |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2100 bool, bool) into conditional HAVE_FFTW3 preprocessor statement. |
f8cab9eeb128
Fix NDArray compilation/export
John W. Eaton <jwe@octave.org>
parents:
7936
diff
changeset
|
2101 |
7936
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2102 2008-07-16 John W. Eaton <jwe@octave.org> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2103 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2104 * oct-mutex.h (octave_autolock::octave_autolock (void), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2105 octave_autolock (const octave_autolock&), |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2106 octave_autolock::operator = (const octave_autolock&)): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2107 Delete definitions. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2108 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2109 2008-07-16 Michael Goffioul <michael.goffioul@gmail.com> |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2110 |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2111 * cmd-edit.cc (event_hook_lock): New static mutex variable. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2112 (command_editor::event_handler): Lock and copy event_hook_set before |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2113 executing handlers. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2114 (command_editor::add_event_hook, command_editor::remove_event_hook): |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2115 Autolock event_hook_lock. |
78400fde223e
Support for backend-to-octave event management
John W. Eaton <jwe@octave.org>
parents:
7934
diff
changeset
|
2116 |
7934 | 2117 2008-07-15 Michael Goffioul <michael.goffioul@gmail.com> |
2118 | |
2119 * oct-mutex.h, oct-mutex.cc: New files. | |
2120 * Makefile.in: Add them to appropriate lists. | |
2121 | |
7929 | 2122 2008-07-15 John W. Eaton <jwe@octave.org> |
2123 | |
2124 * oct-sort.cc, oct-sort.h (octave_sort<T>::count_run): Declare | |
2125 descending arg as bool&. | |
2126 (octave_sort<T>::sort): Pass bool to count_run for descending arg. | |
2127 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2128 2008-07-11 John W. Eaton <jwe@octave.org> |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2129 |
7924 | 2130 * dDiagMatrix.cc (DiagMatrix::diag): Return empty ColumnVector if |
2131 number of rows or columns is 0. | |
2132 * fDiagMatrix.cc (FloatDiagMatrix::diag): Likewise. | |
2133 | |
2134 * Array-util.cc (is_vector): Avoid GCC warning. | |
2135 * Array-f.cc (Array<float>::sort): Likewise. | |
2136 * Array-d.cc (Array<double>::sort): Likewise. | |
2137 * dbleQR.cc (QR::QR (const Matrix&, const Matrix&)): Likewise. | |
2138 * CmplxQR.cc (ComplexQR::ComplexQR (const ComplexMatrix&, const | |
2139 ComplexMatrix&)): Likewise. | |
2140 * floatQR.cc (FloatQR::FloatQR (const FloatMatrix&, const | |
2141 FloatMatrix&)): Likewise. | |
2142 * fCmplxQR.cc (FloatComplexQR::FloatComplexQR (const | |
2143 FloatComplexMatrix&, const FloatComplexMatrix&)): Likewise. | |
2144 * Quad.cc (IndefQuad::do_integrate (octave_idx_type&, | |
2145 octave_idx_type&, float&), FloatIndefQuad::do_integrate, | |
2146 DefQuad::do_integrate octave_idx_type&, octave_idx_type&, float&, | |
2147 FloatIndefQuad::do_integrate): Likewise. | |
2148 | |
7922
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2149 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2150 SND_BOOL_OP, NDND_BOOL_OP): Detect NaN values. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2151 * Array-util.cc (gripe_nan_to_logical_conversion): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2152 * Array-util.h: Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2153 * oct-inttypes.h (xisnan (octave_int<T>)): New function. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2154 * lo-mappers.h (xisnan (bool), xisnan (char)): New inline functions. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2155 |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2156 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2157 dSparse.cc, fCMatrix.cc, fCNDArray.cc, fMatrix.cc, fNDArray.cc: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2158 New member function, any_element_is_nan. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2159 * CMatrix.h, CNDArray.h, CSparse.h, dMatrix.h, dNDArray.h, |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2160 dSparse.h, fCMatrix.h, fCNDArray.h, fMatrix.h, fNDArray.h: |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2161 Provide decl. |
935be827eaf8
error for NaN values in & and | expressions
John W. Eaton <jwe@octave.org>
parents:
7919
diff
changeset
|
2162 |
7919
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2163 2008-07-10 David Bateman <dbateman@free.fr> |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2164 |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2165 * dNDArray.cc (NDArray::NDArray (const Array<octave_idx_type>&, |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2166 bool, bool)): New constructor. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2167 * dNDArray.h: Provide decl. |
9d080df0c843
new NDArray constructor for ArrayN<octave_idx_type>
David Bateman <dbateman@free.fr>
parents:
7914
diff
changeset
|
2168 |
7914
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2169 2008-07-10 Michael Goffioul <michael.goffioul@gmail.com> |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2170 |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2171 * lo-specfun.h: Fix typo in erff/erfcf declaration. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2172 * lo-specfun.cc: Ditto. Add atanhf implementation. |
e998e81224b5
Various compilation fixes for MSVC.
John W. Eaton <jwe@octave.org>
parents:
7894
diff
changeset
|
2173 |
8040 | 2174 2008-06-20 Jaroslav Hajek <highegg@gmail.com> |
7894
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2175 |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2176 * MatrixType.h: Add missing include statement. |
72c332d2db3c
add missing include in MatrixType.h
Jaroslav Hajek <highegg@gmail.com>
parents:
7889
diff
changeset
|
2177 |
7889
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2178 2008-06-13 Michael Goffioul <michael.goffioul@gmail.com> |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2179 |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2180 * lo-mappers.cc (arg): Remove ambiguity about atan2(float,float) usage. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2181 * fCmplxDET.cc (FloatComplexDET::initialize10): Likewise, for pow. |
76142609e8d2
Remove some float-functions ambiguities.
John W. Eaton <jwe@octave.org>
parents:
7885
diff
changeset
|
2182 |
7885 | 2183 2008-06-11 John W. Eaton <jwe@octave.org> |
2184 | |
2185 * so-array.h, so-array.cc, Array-so.cc: Delete. | |
2186 * Makefile.in: Remove them from the lists. | |
2187 | |
7872 | 2188 2008-06-05 John W. Eaton <jwe@octave.org> |
2189 | |
2190 * oct-shlib.cc (octave_base_shlib::remove): Only dereference | |
2191 counter if iterator is valid. | |
2192 | |
7814
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2193 2008-06-02 David Bateman <dbateman@free.fr> |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2194 |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2195 * fCmplxDET.cc (FloatComplexDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2196 FloatComplexDET:value_will_underflow): Replace DBL_MIN and DBL_MAX |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2197 with FLT_MIN and FLT_MAX. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2198 * floatDET.cc ((FloatDET::value_will_overflow, |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2199 FloatDET:value_will_underflow): Ditto. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2200 * lo-cieee.c (__lo_ieee_float_is_NA): Check only a sngle word for |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2201 float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2202 (lo_ieee_float_inf_value): Return correct float Infinity value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2203 (lo_ieee_float_NA_value): Return correct float NA value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2204 (lo_ieee_float_NaN_value): Return correct float NaN value. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2205 * lo-ieee.cc (octave_ieee_init): Set float NA value correctly. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2206 * lo-ieee.h (lo_ieee_float): value of union is of type float. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2207 (LO_IEEE_NA_FLOAT): Make NA value a valid float NaN. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2208 (LO_IEEE_NA_FLOAT_LW): Delete. |
87865ed7405f
Second set of single precision test code and fix of resulting bugs
David Bateman <dbateman@free.fr>
parents:
7810
diff
changeset
|
2209 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2210 2008-06-02 David Bateman <dbateman@free.fr> |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2211 |
7810
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2212 * fCmplxLU.cc (class FloatComplexLU): Correct error in instantiation. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2213 * floatLU.cc (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2214 * floatLU.h (class FloatLU): ditto. |
5420b8cf011a
Error in FloatComplexLU instantiation
David Bateman <dbateman@free.fr>
parents:
7809
diff
changeset
|
2215 |
7808
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2216 * floatAEPBAL.cc (octave_idx_type FloatAEPBALANCE::init (const |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2217 FloatMatrix&, const std::string&)): Use FloatMatrix to initialize |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2218 balancing_mat. |
7ab1ccf4256c
Correct initialize in FloatAEPBALANCE::init
David Bateman <dbateman@free.fr>
parents:
7805
diff
changeset
|
2219 |
7809
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2220 * Makefile.in (MATRIX_INC): Add fCmplxAEPBAL.h and floatAEPBAL.h. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2221 (MATRIX_SRC): Add fCmplxAEPBAL.cc and floatAEPBAL.cc. |
3af309919efc
Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents:
7808
diff
changeset
|
2222 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2223 2008-05-21 David Bateman <dbateman@free.fr> |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2224 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2225 * Quad-opts.in: Handle single precision tolerances. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2226 * Quad.cc (float_user_fcn): New static variable. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2227 (quad_float_fcn_ptr): New typedef. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2228 (qagp, quagi): New QUADPACK decls. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2229 (float_user_function): New function. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2230 (DefQuad::do_integrate, IndefQuad::do_integrate): Float versions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2231 (FloatDefQuad::do_integrate, FloatIndefQuad::do_integrate): |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2232 New functions. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2233 * Quad.h (class Quad): Handle float type. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2234 (class FloatDefQuad, class FloatIndefQuad): New classes. |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7804
diff
changeset
|
2235 |
8040 | 2236 2008-05-21 Jaroslav Hajek <highegg@gmail.com> |
7799 | 2237 |
7804
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2238 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2239 (xcdotc, csyrk, cherk): New F77 decls. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2240 * fMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2241 (operator * (const FloatMatrix&, const FloatMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2242 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2243 * fCMatrix.h (xgemm): Provide decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2244 (ssyrk): New F77 decl. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2245 * fCMatrix.cc (xgemm): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2246 (operator * (const FloatComplexMatrix&, const |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2247 FloatComplexMatrix&)): Simplify. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2248 (get_blas_trans_arg): New function. |
a0c550b22e61
compound ops for float matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7803
diff
changeset
|
2249 |
7803 | 2250 * dMatrix.cc, CMatrix.cc, Sparse-op-defs.h: Add missing copyright. |
2251 | |
7802
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2252 * Sparse-op-defs.h (SPARSE_FULL_MUL): Simplify scalar*matrix case. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2253 Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2254 (SPARSE_FULL_TRANS_MUL): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2255 (FULL_SPARSE_MUL): Simplify scalar*matrix case. Correct indenting. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2256 Move OCTAVE_QUIT one level up. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2257 (FULL_SPARSE_MUL_TRANS): New macro. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2258 * dSparse.h (mul_trans, trans_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2259 * dSparse.cc (mul_trans, trans_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2260 * CSparse.h (mul_trans, trans_mul, mul_herm, herm_mul): Provide decl. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2261 * CSparse.cc (mul_trans, trans_mul, mul_herm, herm_mul): New functions. |
1a446f28ce68
implement optimized sparse-dense transposed multiplication
Jaroslav Hajek <highegg@gmail.com>
parents:
7800
diff
changeset
|
2262 |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2263 * dMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2264 * dMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2265 (operator * (const Matrix&, const Matrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2266 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2267 * CMatrix.h (xgemm): Provide decl. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2268 * CMatrix.cc (xgemm): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2269 (operator * (const ComplexMatrix&, const ComplexMatrix&)): Simplify. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2270 (get_blas_trans_arg): New function. |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7799
diff
changeset
|
2271 |
7799 | 2272 * MatrixType.cc (matrix_real_probe, matrix_complex_probe): |
2273 New template functions. | |
2274 (MatrixType::MatrixType (const Matrix&), | |
2275 MatrixType::MatrixType (const FloatMatrix&)): | |
2276 just call matrix_real_probe. | |
2277 (MatrixType::MatrixType (const ComplexMatrix&), | |
2278 MatrixType::MatrixType (const FloatComplexMatrix&)): | |
2279 just call matrix_complex_probe. | |
2280 | |
2281 * MatrixType.cc (MatrixType::MatrixType (matrix_type, bool)): | |
2282 add missing test for Unknown. | |
2283 | |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2284 2008-05-21 David Bateman <dbateman@free.fr> |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2285 |
7797
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2286 * fCMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2287 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2288 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2289 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2290 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2291 * fCMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2292 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2293 (float ComplexMatrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2294 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2295 (float ComplexMatrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2296 * fMatrix.cc (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2297 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2298 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2299 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2300 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2301 * fMatrix.h (float rcond): Replace with float rcon everywhere |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2302 to avoid shadowed variable warning |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2303 (float Matrix::rcond (void) const): New method for |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2304 reciprocal condition number calculation. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2305 (float Matrix::rcond (MatrixType &mattype) const): ditto. |
f42c6f8d6d8e
Extend rcond function to single precision types
David Bateman <dbateman@free.fr>
parents:
7796
diff
changeset
|
2306 |
7796
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2307 * Array.cc: Fix transpose tests. |
762801c50b21
Fix tests for transpose in Array.cc
David Bateman <dbateman@free.fr>
parents:
7793
diff
changeset
|
2308 |
7793
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2309 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2310 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2311 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2312 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2313 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2314 (FloatGEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2315 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2316 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2317 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2318 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2319 (FloatComplexAEPBALANCE): New classes for single precision |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2320 Algebraic eignvalue balancing. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2321 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2322 (FloatComplexAEPBALANCE): Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2323 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2324 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2325 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2326 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2327 classes for single precision Hessenberg decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2328 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2329 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2330 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2331 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2332 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2333 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2334 classes for single precision QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2335 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2336 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2337 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2338 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2339 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2340 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2341 classes for single precision permuted QR decomposition. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2342 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2343 Declare them. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2344 * Makefile.in (MATRIX_INC): Include them here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2345 (MATRIX_SRC): and here. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2346 |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2347 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2348 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2349 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2350 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
96ba591be50f
Add some more support for single precision to libcruft functions
David Bateman <dbateman@free.fr>
parents:
7789
diff
changeset
|
2351 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2352 2008-05-20 David Bateman <dbateman@free.fr> |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2353 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2354 * Array.cc (Array<T> Array<T>::transpose () const): Modify for tiled |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2355 transpose to limit the number of cache misses. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2356 (Array<T> Array<T>::hermitian (T (*)(const&)) const): New method |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2357 for matrix conjugate transpose. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2358 * Array.h (Array<T> hermitian (T (*)(const&)) const): Declare it. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2359 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2360 * DiagArray2.cc (DiagArray2<T> DiagArray2<T>::transpose () const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2361 Specialization for diagonal arrays. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2362 (DiagArray2<T> DiagArray2<T>::transpose (T (*) (const&)) const): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2363 Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2364 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2365 * MArray.h (MArray<T> hermitian <T (*) (const&)) const): New method. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2366 (MArray<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2367 * MArray2.h (MArray2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2368 * Array2.h (Array2<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2369 * ArrayN.h (ArrayN<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2370 * MDiagArray2.h (MDiagArray2<T> transpose () const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2371 (MDiagArray<T> hermitian <T (*) (const&)) const): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2372 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2373 * CColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2374 * CRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2375 * dColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2376 * dRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2377 * CDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2378 * dDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2379 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2380 * fCColVector.cc (transpose, hermitian): Define in terms of base class. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2381 * fCRowVector.cc (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2382 * fColVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2383 * fRowVector.cc (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2384 * fCDiagMatrix.h (transpose, hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2385 * fDiagMatrix.h (transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2386 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2387 * CDiagMatrix.cc (ComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2388 ComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2389 * dDiagMatrix.cc (DiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2390 * CMatrix.cc (ComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2391 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2392 * fCDiagMatrix.cc (FloatComplexDiagMatrix::transpose, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2393 FloatComplexDiagMatrix::hermitian): Delete. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2394 * fDiagMatrix.cc (FloatDiagMatrix::transpose): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2395 * fCMatrix.cc (FloatComplexMatrix::hermitian): Ditto. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2396 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2397 * lo-mappers.cc (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2398 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2399 New mapper functions for single precion values. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2400 * lo-mappers.h (FloatComplex xlog2(const FloatComplex&), float |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2401 xlog2 (flot, int&), FloatComplex xlog2(const FloatComplex&, int&)): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2402 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2403 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2404 * CmplxGEBAL.cc (ComplexGEPBALANCE), dbleGEPBAL.cc (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2405 fCmplxGEPBAL.cc (FloatComplexGEPBALANCE), floatGEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2406 (FloatGEPBALANCE): New class for generalized eigenvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2407 * CmplxGEBAL.h (ComplexGEPBALANCE), dbleGEPBAL.h (GEPBALANCE), |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2408 fCmplxGEPBAL.h (FloatComplexGEPBALANCE), floatGEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2409 (FloatGEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2410 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2411 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2412 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2413 * floatAEPBAL.cc (FloatAEPBALANCE), fCmplxAEPBAL.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2414 (FloatComplexAEPBALANCE): New classes for single precision |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2415 Algebraic eignvalue balancing. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2416 * floatAEPBAL.h (FloatAEPBALANCE), fCmplxAEPBAL.h |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2417 (FloatComplexAEPBALANCE): Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2418 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2419 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2420 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2421 * floatHESS.cc (FloatHESS), fCmplxHESS.cc (FloatComplexHESS): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2422 classes for single precision Hessenberg decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2423 * floatHESS.h (FloatHESS), fCmplxHESS.h (FloatComplexHESS): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2424 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2425 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2426 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2427 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2428 * floatQR.cc (FloatQR), fCmplxQR.cc (FloatComplexQR): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2429 classes for single precision QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2430 * floatQR.h (FloatQR), fCmplxQR.h (FloatComplexQR): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2431 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2432 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2433 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2434 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2435 * floatQRP.cc (FloatQRP), fCmplxQRP.cc (FloatComplexQRP): New |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2436 classes for single precision permuted QR decomposition. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2437 * floatQRP.h (FloatQRP), fCmplxQRP.h (FloatComplexQRP): |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2438 Declare them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2439 * Makefile.in (MATRIX_INC): Include them here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2440 (MATRIX_SRC): and here. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2441 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2442 * mx-defs (FloatAEPBALANCE, FloatComplexAEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2443 ComplexGEPBALANCE, FloatGEPBALANCE,FloatComplexGEPBALANCE, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2444 FloatHESS, FloatComplexHESS, FloatQR, FloatComplexQR, QRP, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2445 ComplexQRP, FloatQRP, FloatComplexQRP): Declare classes. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2446 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2447 * Array-f.cc, Array-fC.cc, MArray-f.cc, MArray-fC.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2448 fCColVector.cc, fCColVector.h, fCDiagMatrix.cc, fCDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2449 fCMatrix.cc, fCMatrix.h, fCNDArray.cc, fCNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2450 fCRowVector.cc, fCRowVector.h, fCmplxCHOL.cc, fCmplxCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2451 fCmplxDET.cc, fCmplxDET.h, fCmplxLU.cc, fCmplxLU.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2452 fCmplxSCHUR.cc, fCmplxSCHUR.h, fCmplxSVD.cc, fCmplxSVD.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2453 fColVector.cc, fColVector.h, fDiagMatrix.cc, fDiagMatrix.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2454 fEIG.cc, fEIG.h, fMatrix.cc, fMatrix.h, fNDArray.cc, fNDArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2455 fRowVector.cc, fRowVector.h, floatCHOL.cc, floatCHOL.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2456 floatDET.cc, floatDET.h, floatLU.cc, floatLU.h, floatSCHUR.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2457 floatSCHUR.h, floatSVD.cc, floatSVD.h: New files. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2458 * Makefile.in (MATRIC_INC, TI_SRC, MATRIX_SRC): Add them. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2459 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2460 * CMatrix.cc, CMatrix.h, CNDArray.cc, CNDArray.h, CmplxDET.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2461 MArray-C.cc, MArray-d.cc, MArray-defs.h, MArray.cc, MArray.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2462 MatrixType.cc, MatrixType.h, SparseCmplxQR.cc, SparseCmplxQR.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2463 SparseQR.cc, SparseQR.h, dMatrix.cc, dMatrix.h, dNDArray.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2464 dNDArray.h, data-conv.cc, data-conv.h, dbleDET.cc, dbleSVD.cc, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2465 lo-cieee.c, lo-ieee.cc, lo-ieee.h, lo-mappers.cc, lo-mappers.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2466 lo-specfun.cc, lo-specfun.h, lo-utils.cc, lo-utils.h, mx-base.h, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2467 mx-defs.h, mx-ext.h, mx-inlines.cc, mx-op-defs.h, mx-ops, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2468 oct-cmplx.h, oct-fftw.cc, oct-fftw.h, oct-inttypes.h, vx-ops: |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2469 Allow single precision types. |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
2470 |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2471 2008-05-20 David Bateman <dbateman@free.fr> |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2472 |
7788 | 2473 * CMatrix.cc (double rcond): Replace with double rcon everywhere |
2474 to avoid shadowed variable warning | |
2475 (double ComplexMatrix::rcond (void) const): New method for | |
2476 reciprocal condition number calculation. | |
2477 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2478 * CMatrix.h (double rcond): Replace with double rcon everywhere | |
2479 to avoid shadowed variable warning | |
2480 (double ComplexMatrix::rcond (void) const): New method for | |
2481 reciprocal condition number calculation. | |
2482 (double ComplexMatrix::rcond (MatrixType &mattype) const): ditto. | |
2483 * dMatrix.cc (double rcond): Replace with double rcon everywhere | |
2484 to avoid shadowed variable warning | |
2485 (double Matrix::rcond (void) const): New method for | |
2486 reciprocal condition number calculation. | |
2487 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2488 * dMatrix.h (double rcond): Replace with double rcon everywhere | |
2489 to avoid shadowed variable warning | |
2490 (double Matrix::rcond (void) const): New method for | |
2491 reciprocal condition number calculation. | |
2492 (double Matrix::rcond (MatrixType &mattype) const): ditto. | |
2493 | |
7779
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2494 * regex-match.cc, regex-match.h: New class for simple regular |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2495 expression matching |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2496 * Makefile.in (INCLUDES): Add regex-match.h here, and |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2497 (LIBOCTAVE_CXX_SOURCES): regex-match.cc here. |
791231dac333
Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents:
7776
diff
changeset
|
2498 |
7776 | 2499 2008-05-19 David Bateman <dbateman@free.fr> |
2500 | |
2501 * dSparse.cc: Replace some DGBCON with GPBCON where they are | |
2502 incorrectly used. | |
2503 | |
7774
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2504 2008-05-13 David Bateman <dbateman@free.fr> |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2505 |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2506 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2507 If len is zero size the index vector in the same manner as if len |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2508 is not zero. |
ce52af0e4a10
all false logical indexing fix
David Bateman <dbateman@free.fr>
parents:
7758
diff
changeset
|
2509 |
7758
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2510 2008-05-05 John W. Eaton <jwe@octave.org> |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2511 |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2512 * cmd-edit.cc (command_editor::re_read_init_file, |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2513 gnu_readline::do_re_read_init_file): New functions. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2514 * cmd-edit.h (command_editor::re_read_init_file): Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2515 (command_editor::do_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2516 * oct-rl-edit.c (octave_rl_re_read_init_file): New function. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2517 * oct-rl-edit.h: Provide decl. |
8e14a01ffe9f
input.cc (Fre_read_readline_init_file): new function
John W. Eaton <jwe@octave.org>
parents:
7757
diff
changeset
|
2518 |
7757
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2519 2008-05-05 Rafael Laboissiere <rafael@debian.org> |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2520 |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2521 * oct-rl-edit.c (octave_read_init_file): Simply call rl_read_init_file. |
4ff9a6fdde42
Load the default inputrc when calling read_readline_init_file()
Rafael Laboissiere <rafael@debian.org>
parents:
7749
diff
changeset
|
2522 |
7749
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2523 2008-05-01 John W. Eaton <jwe@octave.org> |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2524 |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2525 * oct-shlib.h (octave_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2526 Return size_t instead of int value. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2527 * oct-shlib.cc (octave_base_shlib::number_of_functions_loaded): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2528 Likewise. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2529 (octave_base_shlib::fcn_names): Now a std::map object. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2530 Adjust all uses. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2531 (octave_base_shlib::fcn_names_iterator, |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2532 octave_base_shlib::fcn_names_const_iterator): New typedefs. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2533 (octave_base_shlib::add_to_fcn_names, octave_base_shlib::remove): |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2534 Perform reference counting for functions accessed. |
14e05160b99f
reference counting for functions loaded from shared libraries
John W. Eaton <jwe@octave.org>
parents:
7740
diff
changeset
|
2535 |
8040 | 2536 2008-04-30 Jaroslav Hajek <highegg@gmail.com> |
7740 | 2537 |
2538 * lo-mappers.cc (xlog2 (double)): Compute log (2), not log2 (2). | |
2539 (xlog2 (Complex), xlog2 (double, int&), xlog2 (Complex, int&)): | |
2540 New functions. | |
2541 * lo-mappers.h: Provide decls. | |
2542 | |
9501 | 2543 2008-04-25 Michael Goffioul <michael.goffioul@gmail.com> |
7735
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2544 |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2545 * oct-lookup.h (seq_lookup): Do not use output value of fill_n (MSVC |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2546 does not support it). |
6848970153ba
do not use output value of fill_n (not supported by MSVC).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7732
diff
changeset
|
2547 |
7732
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2548 2008-04-24 Michael Goffioul <michael.goffioul@gmail.com> |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2549 |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2550 * lo-sysdep.cc (octave_popen2): Don't set PIPE_NOWAIT for parentWrite. |
bc5c6999c600
lo-sysdep.cc (octave_popen2): don't set PIPE_NOWAIT for parentWrite
Michael Goffioul
parents:
7727
diff
changeset
|
2551 |
7727
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2552 2008-04-21 John W. Eaton <jwe@octave.org> |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2553 |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2554 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2555 Fix for-loop condition. |
c8da61051ea2
idx-vector.cc: fix for-loop condition
John W. Eaton <jwe@octave.org>
parents:
7725
diff
changeset
|
2556 |
8040 | 2557 2008-04-19 Jaroslav Hajek <highegg@gmail.com> |
7725
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2558 |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2559 * CmplxCHOL.cc, CmplxQR.cc, dbleCHOL.cc, dbleQR.cc: Fix calls to error() |
7c9ba697a479
cosmetic fixes in QR & Cholesky updating codes
Jaroslav Hajek <highegg@gmail.com>
parents:
7717
diff
changeset
|
2560 |
7717
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2561 2008-04-16 David Bateman <dbateman@free.fr> |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2562 |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2563 * Sparse.h (Sparse<T>& operator = (Sparse<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2564 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2565 * Sparse.cc (Sparse<T>& Sparse<T>::operator = (Sparse<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2566 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2567 * Array.h (Array<T>& operator = (Array<T>&)): Move definition |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2568 of the operator for here |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2569 * Array.cc (Array<T>& Array<T>::operator = (Array<T>&)): To |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2570 here. Also delete idx. |
ff918ee1a983
Delete idx in Sparse<T> and Array<T> operator =
David Bateman <dbateman@free.fr>
parents:
7707
diff
changeset
|
2571 |
7707
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2572 2008-04-09 Michael Goffioul <michael.goffioul@gmail.com> |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2573 |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2574 * lo-mappers.cc (xround): Avoid floating-point overflow when input |
446dec9d1de5
changeset: 7800:9828eda04f24
John W. Eaton <jwe@octave.org>
parents:
7705
diff
changeset
|
2575 value is equal to bitmax implementation taken from gnulib). |
7705
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2576 |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2577 * file-stat.cc (file_stat::update_internal): Do not strip trailing |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2578 file separator when path length is equal to 1 (handle case '\') under |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2579 __WIN32__ platforms. |
e9b9f74e0289
Fix stat'ing root pathnames ('\' or '/') under Win32.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
7700
diff
changeset
|
2580 |
8040 | 2581 2008-04-07 Jaroslav Hajek <highegg@gmail.com> |
7700
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2582 |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2583 * dbleQR.h, dbleQR.cc (QR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2584 * CmplxQR.h, CmplxQR.cc (ComplexQR::shift_cols): New method. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2585 * dbleCHOL.h, dbleCHOL.cc (CHOL::insert_sym, CHOL::delete_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2586 CHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2587 * CmplxCHOL.h, CmplxCHOL.cc (ComplexCHOL::insert_sym, |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2588 ComplexCHOL::delete_sym, ComplexCHOL::shift_sym): New methods. |
efccca5f2ad7
more QR & Cholesky updating functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7695
diff
changeset
|
2589 |
7695
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2590 2008-04-03 John W. Eaton <jwe@octave.org> |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2591 |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2592 * lo-sysdep.cc [__WIN32__ && ! __CYGWIN__]: Include windows.h. |
eacf87a24f55
lo-sysdep.cc: include windows.h if windows and not cygwin
John W. Eaton <jwe@octave.org>
parents:
7671
diff
changeset
|
2593 |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2594 2008-03-27 Jaroslav Hajek <highegg@gmail.com> |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2595 |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2596 * oct-lookup.h: New file. |
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7646
diff
changeset
|
2597 |
7646
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2598 2008-03-26 David Bateman <dbateman@feee.fr> |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2599 |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2600 * Array.cc (assignN): Additional fix for vector assignments. |
ad16ea379d2f
additional fixes for Array::assignN
David Bateman <dbateman@free.fr>
parents:
7642
diff
changeset
|
2601 |
7642
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2602 2008-03-25 David Bateman <dbateman@feee.fr> |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2603 |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2604 * Array.cc (assignN): refactor calculation of new dimensions when |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2605 original matrix is empty. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2606 * Array-util.cc (bool is_vector (const dim_vector&)): New |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2607 function. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2608 * Array-util.h (bool is_vector (const dim_vector&)): declare it. |
9a4541c622b5
refactor Array::assignN dimensioning code for empty initial matrices
David Bateman <dbateman@free.fr>
parents:
7641
diff
changeset
|
2609 |
7637
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2610 2008-03-25 David Bateman <dbateman@free.fr> |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2611 |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2612 * sparse-base-chol.h (sparse_base_chol_rep::~sparse_base_chol_rep |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2613 (void)): Only free the factorization if it was created |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2614 * spase-base-chol.cc (sparse_base_chol_rep::init): Don't attempt |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2615 to factorize a matrix that has been flagged as not being positive |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2616 definite. |
2be056f03720
Fix fall back from sparse cholesky factorization to LU when matrix detected as not being positive definite
David Bateman <dbateman@free.fr>
parents:
7636
diff
changeset
|
2617 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2618 2008-03-25 John W. Eaton <jwe@octave.org> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2619 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2620 * lo-mappers.cc (xtrunc): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2621 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2622 |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2623 2008-03-25 Jaroslav Hajek <highegg@gmail.com> |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2624 |
7638
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2625 * lo-specfun.cc (expm1, log1p): New functions. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2626 * lo-specfun.h: Provide decls. |
2df457529cfa
implement expm1 and log1p functions
Jaroslav Hajek <highegg@gmail.com>
parents:
7637
diff
changeset
|
2627 |
7636
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2628 * lo-mappers.cc (xroundb): New function. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2629 * lo-mappers.h: Provide decl. |
99c410f7f0b0
implement mapper function for banker's rounding
Jaroslav Hajek <highegg@gmail.com>
parents:
7625
diff
changeset
|
2630 |
7625
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2631 2008-03-23 David Bateman <dbateman@free.fr> |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2632 |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2633 * mx-ops: Definite binary operators for mixed integer array + |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2634 array case, except for 64bit cases. |
43e3efb2cbc2
Add integer el_div and el_ldiv operators to the binops that were missing them
David Bateman <dbateman@free.fr>
parents:
7620
diff
changeset
|
2635 |
7619 | 2636 2008-03-21 David Bateman <dbateman@free.fr> |
2637 | |
2638 * oct-sparse.h: Add headers for amd.h. | |
2639 | |
7620
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2640 2008-03-20 David Bateman <dbateman@free.fr> |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2641 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2642 * Array.cc (Array<T> Array<T>::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2643 method for diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2644 * Array.h (Array<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2645 * Array2.h (Array2<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2646 * MArray2.h (MArray2<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2647 * ArrayN.h (ArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2648 * MArrayN.h (MArrayN<T> diag (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2649 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2650 * Sparse.cc (Sparse<T> Sparse<T>::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2651 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2652 * Sparse.h (Sparse<T> diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2653 * MSparse.h (MSparse<T> diag (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2654 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2655 * Range.cc (Matrix Range::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2656 New method for the diag function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2657 * Range.h (Matrix diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2658 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2659 * CDiagMatrix.cc (ComplexColumnVector ComplexDiagMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2660 (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2661 * dDiagMatrix.cc (ColumnVector DiagMatrix::diag (void) const): delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2662 * dDiagMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2663 * CMatrix.cc (ComplexColumnVector ComplexMatrix::diag (void) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2664 delete. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2665 * CMatrix.h (ComplexColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2666 * dMatrix.cc (ColumnVector Matrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2667 * dMatrix.h (ColumnVector diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2668 * boolMatrix.cc (boolMatrix boolMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2669 * boolMatrix.h (boolMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2670 * chMatrix.cc (charMatrix charMatrix::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2671 * chMatrix.h (charMatrix diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2672 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2673 * intNDArray.h (intNDArray<T> diag (void) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2674 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2675 * CMatrix.cc (ComplexMatrix ComplexMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2676 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2677 * CMatrix.h (ComplexMatrix diag (octave_idx_type)const ): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2678 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2679 * dMatrix.cc (Matrix Matrix::diag (octave_idx_type) const): Rewrite in |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2680 terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2681 * dMatrix.h (Matrix diag (octave_idx_type) const): Change return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2682 * boolMatrix.cc (boolMatrix boolMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2683 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2684 * boolMatrix.h (boolMatrix diag (octave_idx_type) const): Change |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2685 return type. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2686 * chMatrix.cc (charMatrix charMatrix::diag (octave_idx_type) |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2687 const): Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2688 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2689 * dSparse.cc (SparseMatrix SparseMatrix::diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2690 Rewrite in terms of template classes function. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2691 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2692 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2693 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2694 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2695 * intNDArray.cc (intNDArray<T> intNDArray<T>::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2696 (octave_idx_type) const): ditto. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2697 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2698 * CNDArray.cc (ComplexNDArray ComplexNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2699 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2700 * CNDArray.h (ComplexNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2701 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2702 * dNDArray.cc (NDArray NDArray::diag (octave_idx_type) const): New |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2703 method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2704 * dNDArray.h (NDArray diag (octave_idx_type) const): Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2705 * chNDArray.cc (charNDArray charNDArray::diag |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2706 (octave_idx_type) const): New method. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2707 * chNDArray.h (charNDArray diag (octave_idx_type) const): |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2708 Declare it. |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2709 |
36594d5bbe13
Move diag function into the octave_value class
David Bateman <dbateman@free.fr>
parents:
7619
diff
changeset
|
2710 |
7609
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2711 2008-03-19 John W. Eaton <jwe@octave.org> |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2712 |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2713 * oct-env.cc (octave_env::do_base_pathname): Also handle rooted |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2714 relative filenames. |
7e6002d15d4d
octave_env::do_base_pathname: handle rooted relativel names
John W. Eaton <jwe@octave.org>
parents:
7605
diff
changeset
|
2715 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2716 2008-03-19 David Bateman <dbateman@free.fr> |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2717 |
7605
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2718 * Array.cc (assignN): If orig_empty allow assignment like |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2719 a(1:10,1)=1:10 |
48488cca0006
Fix for array indexing if original matrix is empty
David Bateman <dbateman@free.fr>
parents:
7602
diff
changeset
|
2720 |
7602
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2721 * Sparse.h (template <class U, class F> Sparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2722 const): New template function. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2723 * MSparse.h (template <class U, class F> MSparse<U> map (F fcn) |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2724 const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2725 * dSparse.cc (SparseMatrix SparseMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2726 SparseComplexMatrix SparseMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2727 SparseBoolMatrix SparseMatrix::map (bmapper) const): Rewrite in |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2728 terms of the new template functor. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2729 * CSparse.cc (SparseMatrix SparseComplexMatrix::map (dmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2730 SparseComplexMatrix SparseComplexMatrix::map (cmapper) const, |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2731 SparseBoolMatrix SparseComplexMatrix::map (bmapper) const): ditto. |
7bfaa9611558
Rewrite sparse mappers in terms of a functor template function
David Bateman <dbateman@free.fr>
parents:
7601
diff
changeset
|
2732 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2733 2008-03-18 David Bateman <dbateman@free.fr> |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2734 |
7601
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2735 * lo-specfun.cc (Complex xlgamma (const Complex&)): New function. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2736 * lo-specfun.h (Complex xlgamma (const Complex&)): Declare it. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2737 * randpoison.c (xlgamma): Use lgamma if HAVE_LGAMMA is defined. |
8a939b217863
Treat negative values to lgamma and beta correctly
David Bateman <dbateman@free.fr>
parents:
7600
diff
changeset
|
2738 |
7600
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2739 * dNDArray.cc (NDArray::min, NDArraymax): chop trailing singletons. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2740 * CNDarray.cc (ComplexNDArray::min, CompelxNDArray::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2741 * intNDarray.cc (intNDArray<T>::min, intNDArray<T>::max): ditto. |
24abf5a702d9
Chop trailing singletons in min/max functions
David Bateman <dbateman@free.fr>
parents:
7598
diff
changeset
|
2742 |
7597
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2743 * Array.cc (Array<T>::index): Don't short_freeze on index with |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2744 fewer dimensions than the array only if the last dimension is empty. |
6b2a99e44ff2
shortened empty indexing fix
David Bateman <dbateman@free.fr>
parents:
7596
diff
changeset
|
2745 |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2746 2008-03-18 John W. Eaton <jwe@octave.org> |
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2747 |
7598
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2748 * oct-inttypes.h (octave_int_fit_to_range): |
a89b3fa632ee
partial specialization for octave_int_fit_to_range
John W. Eaton <jwe@octave.org>
parents:
7597
diff
changeset
|
2749 Use partial specialization for double values. |
7596
6929e40fc597
compatible handling of NaN -> int conversions
John W. Eaton <jwe@octave.org>
parents:
7573
diff
changeset
|
2750 |
7573
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2751 2008-03-08 John W. Eaton <jwe@octave.org> |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2752 |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2753 * Sparse.cc (Sparse<T>::index, assign): Likewise. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2754 * Array.cc (Array<T>::index1, Array<T>::index2, Array<T>::indexN, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2755 assign2): Eliminate use of idx_vector::is_one_zero method. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2756 * idx-vector.cc, idx-vector.h |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2757 (idx_vector::maybe_convert_one_zero_to_idx, |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2758 IDX_VEC_REP::maybe_convert_one_zero_to_idx): Delete unused function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2759 (IDX_VEC_REP::one_zero): Delete data member. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2760 (IDX_VEC_REP::is_colon_equiv): Delete one_zero check. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2761 (idx_vector::is_one_zero, IDX_VEC_REP::is_one_zero): Delete function. |
755bf7ecc29b
eliminate one_zero stuff from idx_vector
John W. Eaton <jwe@octave.org>
parents:
7572
diff
changeset
|
2762 |
7572
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2763 2008-03-07 John W. Eaton <jwe@octave.org> |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2764 |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2765 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep (bool), |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2766 IDX_VEC_REP::idx_vector_rep (const boolNDArray&)): |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2767 Simply perform the equivalent of "find" on the bool argument here, |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2768 set one_zero to 0 and orig_dims to size of resulting index vector. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2769 (IDX_VEC_REP::freeze): Don't call maybe_convert_one_zero_to_idx here. |
85da2ab0c6fd
logical indexing compatibility fixes
John W. Eaton <jwe@octave.org>
parents:
7560
diff
changeset
|
2770 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
2771 2008-03-05 Jaroslav Hajek <highegg@gmail.com> |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2772 |
7560
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2773 * dbleQR.cc (QR::insert_col, QR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2774 QR::delete_col, QR::delete_row): Use 0-based indexing. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2775 * CmplxQR.cc (ComplexQR::insert_col, ComplexQR::insert_row, |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2776 ComplexQR::delete_col, ComplexQR::delete_row): Likewise. |
0ef0f9802a37
modify QR updating methods to use 0-based indexing
Jaroslav Hajek <highegg@gmail.com>
parents:
7559
diff
changeset
|
2777 |
7559
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2778 * dbleCHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2779 * CmplxHOL.cc: Small doc and declaration fixes. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2780 * CmplxQR.cc (ComplexQR::ComplexQR): Adjust code to match dbleQR.cc. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2781 * dbleQR.cc (QR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2782 * CmplxQR.cc (ComplexQR::delete_row): Fix incorrect test. |
07522d7dcdf8
fixes to QR and Cholesky updating code
Jaroslav Hajek <highegg@gmail.com>
parents:
7554
diff
changeset
|
2783 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2784 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2785 |
7554
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2786 * dbleCHOL.cc (CHOL::set, CHOL::update, CHOL::downdate): |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2787 New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2788 * dbleCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2789 * CmplxCHOL.cc (ComplexCHOL::set, ComplexCHOL::update, |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2790 ComplexCHOL::downdate): New functions. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2791 * CmplxCHOL.h: Provide decls. |
40574114c514
implement Cholesky factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7553
diff
changeset
|
2792 |
7553
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2793 * dbleQR.cc (QR::update, QR::insert_col, QR::delete_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2794 QR::insert_row, QR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2795 (QR::QR (const Matrix&, const MAtrix&)): New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2796 * dbleQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2797 * CmplxQR.cc (ComplexQR::update, ComplexQR::insert_col, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2798 ComplexQR::delete_col, ComplexQR::insert_row, |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2799 ComplexQR::delete_row): New methods. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2800 (ComplexQR::ComplexQR (const ComplexMatrix&, const ComplexMAtrix&)): |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2801 New constructor. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2802 * CmplxQR.h: Provide decls. |
56be6f31dd4e
implementation of QR factorization updating
Jaroslav Hajek <highegg@gmail.com>
parents:
7549
diff
changeset
|
2803 |
7549
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2804 2008-03-04 Jaroslav Hajek <highegg@gmail.com> |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2805 |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2806 * Array-C.cc, Sparse-C.cc: Include oct-sort.cc after definitions |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2807 of < and > operators. |
ff9c2bb7abc7
workaround to enable compiling with Intel C++ 10.1
Jaroslav Hajek <highegg@gmail.com>
parents:
7546
diff
changeset
|
2808 |
7546
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2809 2008-03-03 David Bateman <dbateman@free.fr> |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2810 |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2811 * Sparse.cc (assign1, assign1): Take care of repeated index |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2812 values. Adapt the test code to check for these cases. |
4249c6fb6e09
Treat repeated indices in the sparse assignments
David Bateman <dbateman@free.fr>
parents:
7545
diff
changeset
|
2813 |
7545 | 2814 2008-03-03 Jaroslav Hajek <highegg@gmail.com> |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2815 |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2816 * dMatrix.cc (Matrix::lssolve): Also avoid dgelsd lwork query bug |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2817 in lssolve method that accepts column vector argument. Correct |
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2818 calculation of nlvl. |
7545 | 2819 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd. |
7544
f9983d2761df
more xGELSD workspace fixes
Jaroslav Hajek <highegg@gmail.com>
parents:
7537
diff
changeset
|
2820 |
7537
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2821 2008-02-27 John W. Eaton <jwe@octave.org> |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2822 |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2823 * oct-rand.cc (class octave_rand): Make it a proper singleton class. |
a2950622f070
make octave_rand a proper singleton class
John W. Eaton <jwe@octave.org>
parents:
7536
diff
changeset
|
2824 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2825 2008-02-26 John W. Eaton <jwe@octave.org> |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2826 |
7536 | 2827 * oct-rand.cc (get_dist_id): Fix typo. |
2828 (get_dist_id, octave_rand::distribution, octave_rand::scalar, | |
2829 fill_rand): Improve error messages. | |
2830 | |
7535
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2831 * oct-rand.cc (unknown_dist): New dist type. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2832 (uniform_dist, normal_dist, expon_dist, poisson_dist, gamma_dist): |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2833 Use static const int instead of #define. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2834 (get_dist_id): Default retval is unknown_dist. |
bda16af4fd2f
oct-rand.cc (get_dist_id): initialize retval
John W. Eaton <jwe@octave.org>
parents:
7533
diff
changeset
|
2835 |
7533
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2836 * oct-rand.cc (rand_states): New static variable. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2837 (initialize_rand_states, get_dist_id, get_internal_state, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2838 set_internal_state, switch_to_generator, save_state): New functions. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2839 (octave_rand::state): New arg to specify distribution. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2840 Save state in rand_states instead of setting internal state. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2841 Return named state. Use set_internal_state to generate proper |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2842 state vector from user supplied state. Save and restore current |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2843 state if specified and current distributions are different. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2844 (octave_rand::distribution (void)): Use switch rather than if/else. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2845 (octave_rand::distribution (const std::string&)): Likewise. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2846 (octave_rand::uniform_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2847 octave_rand::normal_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2848 octave_rand::exponential_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2849 octave_rand::poisson_distribution, |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2850 octave_rand::gamma_distribution): Call switch_to_generator. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2851 (octave_rand::state, maybe_initialize): For new_generators, just |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2852 call initialize_rand_states if not already initialized. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2853 (octave_rand::scalar, fill_rand): Save state after generating value. |
ff52243af934
save state separately for each MT random number generator
John W. Eaton <jwe@octave.org>
parents:
7532
diff
changeset
|
2854 |
7532
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2855 * dMatrix.cc (Matrix::lssolve): Avoid another dgelsd lwork query bug. |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2856 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for zgelsd |
493bb0de3199
avoid another xGELSD workspace query bug
John W. Eaton <jwe@octave.org>
parents:
7521
diff
changeset
|
2857 |
7521
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2858 2008-02-24 John W. Eaton <jwe@octave.org> |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2859 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2860 * oct-inttypes.h (octave_int_helper): New class. Provide |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2861 specializations for signed and unsigned types. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2862 (octave_int<T>::operator >>=, octave_int<T>::abs, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2863 octave_int<T>::signum): Use static functions from |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2864 octave_int_helper class. |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2865 |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2866 * oct-inttypes.h, oct-inttypes.cc (OCTAVE_US_TYPE1_CMP_OP, |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2867 OCTAVE_US_TYPE2_CMP_OP): Tag function declarations and definitions |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2868 with "template <>". |
6f10bbb2854a
avoid some GCC warnings for unsigned comparisons
John W. Eaton <jwe@octave.org>
parents:
7520
diff
changeset
|
2869 |
7520 | 2870 2008-02-22 John W. Eaton <jwe@octave.org> |
2871 | |
2872 * CSparse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc, | |
2873 file-ops.cc, oct-group.cc, oct-shlib.cc, sparse-base-chol.h, | |
2874 sparse-dmsolve.cc: Use 0 instead of NULL. | |
2875 | |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2876 2008-02-22 David Bateman <dbateman@free.fr> |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2877 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2878 * boolSparse.cc (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2879 (octave_idx_type) const): New method. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2880 * boolSparse.h (SparseBoolMatrix SparseBoolMatrix::diag |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2881 (octave_idx_type) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2882 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2883 * base-lu.h (lu_type Y (void) const): New method to return |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2884 factorization of xGETRF directly. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2885 * sparse-base-lu.cc (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2886 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2887 lu_elt_type, p_type, p_elt_type> :: Y (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2888 to simulate the retirn of xGETRF. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2889 * sparse-base-lu.h (template <class lu_type, class lu_elt_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2890 class p_type, class p_elt_type> lu_type sparse_base_lu <lu_type, |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2891 lu_elt_type, p_type, p_elt_type> :: Y (void) const): Declare it |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2892 (SparseMatrix R (void) const): Method to return scaling factors. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2893 * SparsedbleLU.cc: Allow two element pivot thresholding and |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2894 scaling. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2895 * SparseCmplxLU.cc: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2896 * SparsedbleLU.h: Modify constructors to allow passing of two |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2897 element pivoting thresholds and flag for scaling |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2898 * SparseCmplxLU.h: ditto. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2899 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2900 * base-lu.cc (ColumnVector P_vec (void) const): New method to |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2901 return permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2902 * base-lu.h (ColumnVector P_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2903 * sparse-base-lu.cc (ColumnVector Pr_vec (void) const): New method |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2904 return row permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2905 (ColumnVector Pc_vec (void) const): New method return column |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2906 permutations as a vector. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2907 * sparse-base-lu.h (ColumnVector Pr_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2908 (ColumnVector Pc_vec (void) const): Declare it. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2909 |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2910 * oct-spparms.cc: Add sym_tol field. |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
2911 |
7505
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2912 2008-02-20 David Bateman <dbateman@free.fr> |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2913 |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2914 * SparseComplexQR.cc (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2915 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2916 (void) const): New method. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2917 * SparseComplexQR.h (ComplexMatrix |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2918 SparseComplexQR::SparseComplexQR_rep::Q |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2919 (void) const): Declare it. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2920 * SparseQR.cc (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2921 * SparseQR.h (Matrix SparseQR::SparseQR_rep::Q (void) const): ditto. |
f5005d9510f4
Remove dispatched sparse functions and treat in the generic versions of the functions
David Bateman <dbateman@free.fr>
parents:
7503
diff
changeset
|
2922 |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2923 2008-02-20 John W. Eaton <jwe@octave.org> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2924 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2925 * boolNDArray.h (boolNDArray (const Array2<bool>&)): Delete. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2926 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2927 * Marray2.h (MArray2 (const Array2<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2928 MArray2 (const MArray2<U>&)): New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2929 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2930 * Array2.h (Array2 (const Array<U>&), |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2931 Array2 (const Array<U>&, const dim_vector&)): |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2932 New templated constructors. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2933 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2934 * CColVector.cc (ComplexColumnVector::map): Forward to MArray::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2935 * dColVector.cc (ColumnVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2936 * CRowVector.cc (ComplexRowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2937 * dRowVector.cc (RowVector::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2938 * CMatrix.cc (ComplexMatrix::map): Forward to MArray2::map. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2939 * dMatrix.cc (Matrix::map): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2940 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2941 * dNDArray.cc (NDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2942 * dNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2943 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2944 * CNDArray.cc (ComplexNDArray::map): New functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2945 * CNDArray.h: Provide decls. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2946 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2947 * MArray2.h (MArray2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2948 * Array2.h (Array2<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2949 * MArrayN.h (MArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2950 * ArrayN.h (ArrayN<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2951 * Array.h (Array<T>::map): New function. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2952 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2953 * functor.h: New file. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2954 * Makefile.in (INCLUDES): Add it to the list. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2955 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2956 2008-02-20 David Bateman <dbateman@free.fr> |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2957 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2958 * CColVector.h, CColVector.cc (ComplexColumnVector::apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2959 * dColVector.h, dColVector.cc (ColumnVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2960 * CRowVector.h, CRowVector.cc (ComplexRowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2961 * dRowVector.h, dRowVector.cc (RowVector::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2962 * CMatrix.h, CMatrix.cc (ComplexMatrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2963 * dMatrix.h, dMatrix.cc (Matrix::apply): ditto. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2964 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2965 * CSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2966 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2967 * CSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2968 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2969 * dSparse.cc (apply): Remove. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2970 (map): Replace old mapper code with code taken from ov-mapepr.cc |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2971 * dSparse.h (map): Reeclare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2972 (dmapper, cmapper, bmapper): typedefs for mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2973 |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2974 * intNDArray.cc (abs, signum): Two new mapper functions. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2975 * intNDArray.h (abs, signum): Declare them. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2976 * oct-inttypes.h (abs, signum): Mapper functions on scalar integer |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2977 base type. |
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7486
diff
changeset
|
2978 |
7486
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2979 2008-02-15 John W. Eaton <jwe@octave.org> |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2980 |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2981 * dMatrix.cc (Matrix::lssolve): Check n > mnthr, not n > m when |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2982 deciding whether to calculate workspace size, with mnthr from ILAENV. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2983 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. |
6a6d2abe51ff
more xGELSD workspace fixes
John W. Eaton <jwe@octave.org>
parents:
7482
diff
changeset
|
2984 |
7482
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2985 2008-02-14 John W. Eaton <jwe@octave.org> |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2986 |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2987 * CColVector.cc, CMatrix.cc, CRowVector.cc, CSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2988 CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2989 CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, DASPK.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2990 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2991 dColVector.cc, dMatrix.cc, dRowVector.cc, dSparse.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2992 dbleAEPBAL.cc, dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2993 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc: |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2994 Don't check f77_exception_encountered. |
29980c6b8604
don't check f77_exception_encountered
John W. Eaton <jwe@octave.org>
parents:
7480
diff
changeset
|
2995 |
7477 | 2996 2008-02-12 John W. Eaton <jwe@octave.org> |
2997 | |
2998 * CMatrix.cc: Declare xilaenv instead of ilaenv. | |
2999 (ComplexMatrix::lssolve): Call xilaenv instead of ilaenv. | |
3000 | |
7476 | 3001 2008-02-12 Jason Riedy <ejr@cs.berkeley.edu> |
3002 | |
7480 | 3003 * Array.cc (ascending_compare, descending_compare): Remove |
3004 non-standard extern in the instantiations. | |
3005 | |
3006 * oct-sort.cc: Include <cstring> and sprinkle with std:: as needed. | |
3007 | |
7476 | 3008 * dMatrix.cc (ILAENV): Declare LAPACK Fortran function. |
3009 (Matrix::lssolve): Use ILAENV to query smlsiz. And add an ugly | |
3010 workaround for DGELSD's broken lwork query. The formula is from | |
3011 LAPACK's dgelsd.f source and allocates enough workspace to use an | |
3012 efficient algorithm in the short-and-fat case (n > m). | |
3013 * CMatrix.cc (ILAENV): Declare LAPACK Fortran function. | |
3014 (ComplexMatrix::lssolve): Use ILAENV to query smlsiz. And add an | |
3015 ugly workaround for DGELSD's broken lwork query, as with double. | |
3016 | |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3017 2008-02-12 John W. Eaton <jwe@octave.org> |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3018 |
7470
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3019 * sparse-sort.cc: Don't explicitly instantiate |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3020 class octave_sort<octave_idx_vector_sort *>, |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3021 class octave_sort<octave_idx_type>, or |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3022 class octave_sort<octave_sparse_sort_idxl *>. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3023 |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3024 * Sparse.h (INSTANTIATE_SPARSE_SORT): Delete macro. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3025 * Sparse-C.cc, Sparse-b.cc, Sparse-d.cc: Don't use it. |
ada435261879
eliminate unnecessary explicit template instantiations
John W. Eaton <jwe@octave.org>
parents:
7468
diff
changeset
|
3026 |
7468
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3027 * Range.cc (Range::sort_internal): Avoid shadow warning from gcc. |
85be2610d6e3
avoid shadow warning (changelog)
John W. Eaton <jwe@octave.org>
parents:
7466
diff
changeset
|
3028 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3029 2008-02-11 John W. Eaton <jwe@octave.org> |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3030 |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3031 * Makefile.in ($(MAKEDEPS)): Skip dependencies if omit_deps is defined. |
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7463
diff
changeset
|
3032 |
7463
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3033 2008-02-08 John W. Eaton <jwe@octave.org> |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3034 |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3035 * oct-sort.h (enum sortmode): Eliminate UNDEFINED. Change all |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3036 uses of UNDEFINED to ASCENDING. |
2467639bd8c0
eliminate UNDEFINED sort mode
John W. Eaton <jwe@octave.org>
parents:
7458
diff
changeset
|
3037 |
7457 | 3038 2008-02-07 John W. Eaton <jwe@octave.org> |
3039 | |
7458 | 3040 * Range.cc (Range::sort_internal): Rename from sort. New arg, |
3041 ASCENDING, with default value of true. | |
3042 (Range::sort_internal (Array<octave_idx_type>&, bool)): New function. | |
3043 (Range::sort (octave_idx_type, sortmode) const): New function. | |
3044 (Range::sort (Array<octave_idx_type>&, octave_idx_type, sortmode) | |
3045 const): New function. | |
3046 * Range.h: Fix/provide decls. | |
3047 | |
7457 | 3048 * intNDArray.cc (intNDArray<T>::any (int)): Use != for comparison. |
3049 | |
7449 | 3050 2008-02-06 John W. Eaton <jwe@octave.org> |
3051 | |
3052 * Makefile.in ($(OPTS_INC)): Use mv instead of move-if-change. | |
3053 (stamp-prereq): Eliminate. | |
3054 (clean): Don't remove stamp-prereq. | |
3055 (libraries): Don't depend on stamp-prereq. | |
3056 (PREREQ): New macro. | |
3057 ($(MAKEDEPS)): Depend on $(PREREQ), not stamp-prereq. | |
3058 (distclean): Simplify with $(PREREQ). | |
3059 (OPT_BASE): New macro. | |
3060 (OPT_IN): Rename from OPTS_INC_DATA. Define in terms of OPT_BASE. | |
3061 (OPT_INC): Rename from OPTS_INC. Define in terms of OPT_BASE. | |
3062 | |
7448 | 3063 2008-02-05 John W. Eaton <jwe@octave.org> |
3064 | |
3065 * Makefile.in: Unconditionally include $(MAKEDEPS). | |
3066 Mark $(MAKEDEPS) as .PHONY targets if omit_deps is true. | |
3067 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3068 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> |
7443 | 3069 |
3070 * Array.cc (ascending_compare, descending_compare, | |
3071 Array<T>::sort): Declare explicit specialization for T=double to | |
3072 avoid symbol duplication error at link time. | |
3073 * Array-d.cc (ascending_compare, descending_compare): Declare and | |
3074 define as nonmember functions, not member functions of Array<T>. | |
3075 | |
7442 | 3076 2008-02-03 John W. Eaton <jwe@octave.org> |
3077 | |
3078 * Array-i.cc: Also instantiate Arrays for long long type if it exists. | |
3079 | |
3080 2008-02-03 Michael Goffioul <michael.goffioul@gmail.com> | |
3081 | |
3082 * Array.cc: Don't include Range.h. | |
3083 | |
7433 | 3084 2008-01-31 David Bateman <dbateman@free.fr> |
3085 | |
3086 * oct-sort.cc: conversion of int to octave_idx_type where needed | |
3087 for 64-bit builds. | |
3088 (IFLT): Allow IFLT macro to be overridden. | |
3089 * oct-sort.h: conversion of int to octave_idx_type where needed | |
3090 for 64-bit builds. | |
3091 (enum sortmode): Type of sort to perform. | |
3092 (vec_index): Simple class to aid in indexed sorts. | |
3093 | |
3094 * Array.h ( Array<T> sort (octave_idx_type, sortmode) const, | |
3095 Array<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3096 sortmode) const): Array sorting methods. | |
3097 (INSTANTIATE_ARRAY_SORT, NO_INSTANTIATE_ARRAY_SORT): Macros to | |
3098 instantiate the array sorting methods. | |
3099 * Array.cc (ascending_compare, descending_compare): New template | |
3100 functions for generic sort comparison. | |
3101 ( Array<T> Array<T>::sort (octave_idx_type, sortmode) const, | |
3102 Array<T> Array<T>::sort (Array<octave_idx_type> &, octave_idx_type, | |
3103 sortmode) const): Array sorting functions based of octave_sort | |
3104 class. | |
3105 * Array-C.cc: Instantiate the complex array sort methods. | |
3106 (IFLT): New macro to override the one in the | |
3107 octave_sort class to avoid need for Complex < and > operators. | |
3108 (static double xabs (const Complex&)): Complex abs function | |
3109 avoiding std::abs(Inf) returning NaN with some compilers. | |
3110 (ascending_compare, descending compare): override template | |
3111 functions for complex comparison. | |
3112 * Array-d.cc: Instantiate the double array sort methods. | |
3113 (Array<double> Array<double>::sort (octave_idx_type, | |
3114 sortmode) const, Array<double> Array<double>::sort | |
3115 (Array<octave_idx_type> &, octave_idx_type, sortmode) const): | |
3116 Array sorting functions based of octave_sort using uint64 sorting | |
3117 on IEE754 doubles, for speed and correct sorting of Inf and NaN. | |
3118 (ascending_compare, descending compare): override template | |
3119 functions for double and uint64 comparison. | |
3120 * Array-b.cc, Array-ch.cc, Array-i.cc, Array-s.cc, Array-str.cc: | |
3121 Instantiate the array sort methods. | |
3122 * Array-idx-vec.cc: Null instantiation of array sort methods. | |
3123 * Array2.h, Array3.h, ArrayN.h (sort): 2, 3 and N-dimensional | |
3124 versions of the sort methods based on Array<T>::sort. | |
3125 | |
3126 * CSparse.cc, dSparse.cc: Remove inclusion of octa-sort.h. | |
3127 * Sparse.h ( Sparse<T> sort (octave_idx_type, sortmode) const, | |
3128 Sparse<T> sort (Array<octave_idx_type> &, octave_idx_type, | |
3129 sortmode) const): Sparse sorting methods. | |
3130 (INSTANTIATE_ARRAY_SORT): Macro to instantiate the sparse sorting | |
3131 methods. | |
3132 * Sparse.cc: replace sort with lsort throughout to avoid shadowing | |
3133 of new sort method. | |
3134 (sparse_ascending_compare, sparse_descending_compare): New template | |
3135 functions for generic sort comparison. | |
3136 ( Sparse<T> Sparse<T>::sort (octave_idx_type, sortmode) const, | |
3137 Sparse<T> Sparse<T>::sort (Sparse<octave_idx_type> &, octave_idx_type, | |
3138 sortmode) const): Sparse sorting functions based of octave_sort | |
3139 class. | |
3140 * Sparse-C.cc: Instantiate the complex sparse sort methods. | |
3141 (IFLT): New macro to override the one in the | |
3142 octave_sort class to avoid need for Complex < and > operators. | |
3143 (static double xabs (const Complex&)): Complex abs function | |
3144 avoiding std::abs(Inf) returning NaN with some compilers. | |
3145 (sparse_ascending_compare, sparse_descending compare): override | |
3146 template functions for complex comparison. | |
3147 * Sparse-d.cc: Instantiate the cdouble sparse sort methods. | |
3148 (sparse_ascending_compare, sparse_descending compare): override | |
3149 template functions for double comparison. | |
3150 * Array-b.cc: Instantiate the sparse sort methods. | |
3151 | |
7422 | 3152 2008-01-25 Jaroslav Hajek <highegg@gmail.com> |
3153 | |
3154 * idx-vector.h (idx_vector::idx_vector_rep::range_base, | |
3155 idx_vector::idx_vector_rep::range_step, | |
3156 idx_vector::idx_vector_rep::range_step): New data members. | |
3157 (idx_vector::idx_vector_rep::idx_vector_rep): Initialize them. | |
3158 * idx-vector.cc (IDX_VEC_REP::sort, IDX_VEC_REP::is_colon_equiv, | |
3159 IDX_VEC_REP::init_state, IDX_VEC_REP::operator =, | |
3160 IDX_VECTOR_REP::idx_vector_rep): Handle range. | |
3161 | |
7416 | 3162 2008-01-18 Marco Caliari <marco.caliari@univr.it> |
3163 | |
3164 * dMatrix.cc (Matrix::expm): Correctly perform reverse permutation. | |
3165 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
3166 | |
7408 | 3167 2008-01-22 Michael Goffioul <michael.goffioul@gmail.com> |
7407 | 3168 |
3169 * oct-time.cc (octave_base_tim::init): Validate pointer argument; | |
3170 this fixes the "localtime(-1)" crash under Windows. | |
3171 | |
7400 | 3172 2008-01-18 John W. Eaton <jwe@octave.org> |
3173 | |
3174 * dMatrix.cc (solve_singularity_warning): New function. | |
3175 (Matrix::expm): Pass pointer to solve_singularity_warning to | |
3176 Matrix::solve method. Exit early if Matrix::solve fails. | |
3177 Limit sqpow value to avoid overflowing scale factor. | |
3178 * CMatrix.cc (solve_singularity_warning): New function. | |
3179 (ComplexMatrix::expm): Pass pointer to solve_singularity_warning to | |
3180 ComplexMatrix::solve method. Exit early if ComplexMatrix::solve fails. | |
3181 Limit sqpow value to avoid overflowing scale factor. | |
7402 | 3182 From Marco Caliari <marco.caliari@univr.it>. |
7400 | 3183 |
7356 | 3184 2008-01-10 Kim Hansen <kimhanse@gmail.com> |
3185 | |
3186 * Sparse.cc: New tests for slicing of sparse matrices. | |
3187 | |
7350 | 3188 2008-01-07 David Bateman <dbateman@free.fr> |
3189 | |
3190 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Don't break from | |
3191 loop if this test succeeds. | |
3192 | |
7342 | 3193 2008-01-03 David Bateman <dbateman@free.fr> |
3194 | |
3195 * MSparse.cc (SPARSE_A2A2_OP): If first arg is scalar zero, then | |
3196 need unary operator on remaining argument | |
3197 * Sparse-op-defs.h (SPARSE_SMSM_BIN_OP_1): ditto. | |
3198 | |
7334 | 3199 2007-12-21 John W. Eaton <jwe@octave.org> |
3200 | |
3201 Version 3.0.0 released. | |
3202 | |
7322 | 3203 2007-12-18 David Bateman <dbateman@free.fr> |
3204 | |
3205 * Sparse.cc (template <class T> Sparse<T> Sparse<T>::index | |
3206 (idx_vector&, int) const): Fix case indexing of non zero scalar | |
3207 stored as a sparse matrix. | |
3208 (template <class T> Sparse<T> Sparse<T>::index (idx_vector&, | |
3209 idx_vector&, int) const): For the non permutated indexing case, | |
3210 fix link list calculation and use. | |
3211 | |
7321 | 3212 2007-12-17 John W. Eaton <jwe@octave.org> |
3213 | |
3214 * Array.cc (Array<T>::indexN): Correctly handle scalar indexed by | |
3215 N-d array. | |
3216 | |
7318 | 3217 2007-12-17 David Bateman <dbateman@free.fr> |
3218 | |
3219 * Sparse-op-defs.h (SPARSE_ANY_ALL_OP_ROW_CODE): Use ridx for row | |
3220 index. | |
3221 | |
7299 | 3222 2007-12-11 John W. Eaton <jwe@octave.org> |
3223 | |
3224 * Sparse.cc (Sparse<T>::index (idx_vector&, int) const): | |
3225 If indexing scalar with empty matrix, return empty array with same | |
3226 size as index. | |
3227 | |
7272 | 3228 2007-12-10 John W. Eaton <jwe@octave.org> |
3229 | |
7279 | 3230 * NLEqn.h (NLEqn::fval): New data member. Adjust constructors |
3231 and assignment operator. | |
3232 (NLEqn::function_value): New function. | |
3233 * NLEqn.cc (NLEqn::solve): If solution is successful, compute | |
3234 function value. | |
3235 | |
7272 | 3236 * file-ops.cc (file_ops::concat): New function. |
3237 * file-ops.h: Provide decl. | |
3238 | |
7270 | 3239 2007-12-07 John W. Eaton <jwe@octave.org> |
3240 | |
3241 * oct-time.cc (octave_base_tm::init): Only assign t->tm_zone if it | |
3242 is not 0. | |
3243 | |
7269 | 3244 2007-12-07 David Bateman <dbateman@free.fr> |
3245 | |
3246 * Sparse-op-defs.h (SPARSE_SMS_CMP_OP, SPARSE_SMS_BOOL_OP, | |
3247 SPARSE_SSM_CMP_OP, SPARSE_SSM_BOOL_OP, SPARSE_SMSM_CMP_OP, | |
3248 SPARSE_SMSM_BOOL_OP, SPARSE_BASE_REDUCTION_OP): Use sparse | |
3249 indexing where possible rather than the elem method. | |
3250 (SPARSE_REDUCTION_OP_ROW_EXPR, SPARSE_REDUCTION_OP_COL_EXPR, | |
3251 SPARSE_ANY_ALL_OP_ROW_CODE, SPARSE_ANY_ALL_OP_COL_CODE): | |
3252 Replace for new version of SPARSE_BASE_REDUCTION_OP. | |
3253 (SPARSE_ALL_OP): Specialize the initial value, and only treat dim | |
3254 = 0 directly. | |
3255 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::sumsq (int) | |
3256 const): Replace ROW_EXPR and COL_EXPR functions for new version of | |
3257 SPARSE_BASE_REDUCTION_OP. | |
3258 (SparseComplexMatrix SparseComplexMatrix::prod (int) const): | |
3259 Specialize the initial value, and only treat dim = 0 directly. | |
3260 * dSparse.cc (SparseMatrix SparseMatrix::sumsq (int) const): | |
3261 ditto. | |
3262 (SparseMatrix SparseMatrix::prod (int) const): ditto. | |
3263 | |
7265 | 3264 2007-12-06 John W. Eaton <jwe@octave.org> |
3265 | |
3266 * CMatrix.cc (ComplexMatrix::expm): Update pointers to internal | |
3267 data for npp and dpp after assignments. | |
3268 * dMatrix.cc (Matrix::expm): Use same method as ComplexMatrix::expm. | |
3269 | |
7253 | 3270 2007-12-04 John W. Eaton <jwe@octave.org> |
3271 | |
3272 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3273 Do nothing if one index is empty. | |
3274 | |
7246 | 3275 2007-12-04 David Bateman <dbateman@free.fr> |
3276 | |
3277 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
3278 Resize matrix as well if one dimension of lhs is zero and the rhs | |
3279 index exceeds the lhs index. | |
3280 * Sparse.cc (assign1 (Sparse<LT>&, const Sparse<RT>&)): | |
3281 Don't resize to a smaller matrix for empty matrices with a max rhs | |
3282 index smaller than the non zero lhs index. | |
3283 | |
3284 2007-12-04 Michael Goffioul <michael.goffioul@gmail.com> | |
3285 | |
3286 * Array-util.h: Tag permute_vector_compare with OCTAVE_API. | |
3287 | |
7241 | 3288 2007-12-03 Moritz Borgmann <octave@moriborg.de> |
3289 | |
3290 * Array-util.cc (permute_vector_compare): Move here from Array.cc. | |
3291 * Array-util.h (permute_vector, permute_vector_compare): Provide decls. | |
3292 * Array.cc (permute_vector, permute_vector_compare): Delete. | |
3293 | |
7238 | 3294 2007-12-03 David Bateman <dbateman@free.fr> |
3295 | |
3296 * Sparse.cc (template <class LT, class RT> int assign | |
3297 (Sparse<LT>&, const Sparse<RT>&)): Only set return matrix size to | |
3298 rhs values if both no. rows and columns are zero. | |
3299 | |
7231 | 3300 2007-11-30 John W. Eaton <jwe@octave.org> |
3301 | |
7234 | 3302 * oct-sort.cc, oct-sort.h: Style fixes. |
3303 | |
7231 | 3304 * lo-math.h: New file. |
3305 * Makefile.in (INCLUDES): Add it to the list. | |
3306 * liboctave/Array2.h, liboctave/ArrayN.h, liboctave/CmplxDET.cc, | |
3307 liboctave/DASPK.cc, liboctave/DASPK.h, liboctave/DASRT.cc, | |
3308 liboctave/DASRT.h, liboctave/DASSL.cc, liboctave/DASSL.h, | |
3309 liboctave/LSODE.cc, liboctave/LSODE.h, liboctave/NLEqn.h, | |
3310 liboctave/Quad.h, liboctave/Range.cc, liboctave/dbleDET.cc, | |
3311 liboctave/lo-cieee.c, liboctave/lo-ieee.cc, | |
3312 liboctave/lo-mappers.cc, liboctave/oct-time.cc, | |
3313 liboctave/oct-time.h, liboctave/randgamma.c, | |
3314 liboctave/randmtzig.c, liboctave/randpoisson.c: Include lo-math.h | |
3315 instead of cmath or math.h. | |
3316 * lo-mappers.h: Don't include sunmath.h here. | |
3317 | |
7198 | 3318 2007-11-26 John W. Eaton <jwe@octave.org> |
3319 | |
3320 * idx-vector.h (idx_vector::idx_vector_rep (const intNDArray<U>&)): | |
3321 Eliminate unnecessary second arg from call to tree_to_mat_idx. | |
3322 | |
3323 * oct-inttypes.h (operator bool, operator char): Delete. | |
3324 (bool_value, char_value, double_value, float_value): New functions. | |
3325 | |
7189 | 3326 2007-11-26 David Bateman <dbateman@free.fr> |
3327 | |
3328 * intNDArray.cc (template <class T> intNDArray<T> | |
3329 intNDArray<T>::max (int) const, template <class T> intNDArray<T> | |
3330 intNDArray<T>::max (ArrayN<octave_idx_type>&, int) const, | |
3331 template <class T> intNDArray<T> intNDArray<T>::min (int) const, | |
3332 template <class T> intNDArray<T> intNDArray<T>::min | |
3333 (ArrayN<octave_idx_type>&, int) const): New methods for integer | |
3334 classes. | |
3335 * intNDArray.h (class intNDArray): Add min/max methods | |
3336 * mx-op-defs.h (MIXMAX_DECLS, MINMAX_FCNS, SND_MINMAX_FCN, | |
3337 NDS_MINMAX_FCN, NDND_MINMAX_FCN): New macro for instantiation of | |
3338 min/max functions. | |
3339 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
3340 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
3341 (MINMAX_DECLS(T)): Declare the min/max functions for integer | |
3342 types. | |
3343 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
3344 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
3345 (MINMAX_FCNS(T)): Instantiate the min/max functions for integer | |
3346 types. | |
3347 | |
3348 * Arrayc.cc (Array<T>::index (idx_vector&, idx_vector&, int, | |
3349 const T& rfv) const): If ndims != 2 call ND version of index. | |
3350 | |
7176 | 3351 2007-11-14 John W. Eaton <jwe@octave.org> |
3352 | |
7178 | 3353 * oct-inttypes.h (opeator T (void) const): New conversion operator. |
3354 | |
7176 | 3355 * lo-specfun.cc (zbesi): When alpha is negative, don't limit |
3356 correction to half-integer values. From Eric Chassande-Mottin | |
3357 <echassandemottin@gmail.com>. | |
3358 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3359 2007-11-07 Michael Goffioul <michael.goffioul@gmail.com> |
7124 | 3360 |
3361 * dMatrix.cc, CMatrix.cc: Help MSVC compiler to resolve | |
3362 ambiguities related to math functions (in C++ mode). | |
3363 | |
7102 | 3364 2007-11-06 David Bateman <dbateman@free.fr> |
3365 | |
7113 | 3366 * intNDArray.cc (intNDArray<T> intNDArray<T>::sum (int) const): |
3367 New method. | |
3368 * intNDarray.h (intNDArray sum (int) const): Declare it. | |
3369 * boolNDArray.cc (boolNDArray boolNDArray::sum (int) const): | |
3370 New method. | |
3371 * boolNDarray.cc (boolNDArray sum (int) const): Declare it. | |
7102 | 3372 * MArray-def.h (MARRAY_NORM_BODY): Scale frobenius norm by infinity |
3373 norm to avoid issues of over- and underflow. From Rolf Fabian | |
3374 <Rolf.Fabian@gmx.de>. | |
3375 | |
7081 | 3376 2007-10-30 David Bateman <dbateman@free.fr> |
3377 | |
3378 * DASRT-opts.in, LSODE-opts.in: Doc fixes for small book format. | |
3379 | |
7079 | 3380 2007-10-30 John W. Eaton <jwe@octave.org> |
3381 | |
3382 * CMatrix.cc (lssolve): Compute size of rwork and iwork arrays. | |
3383 * dMatrix.cc (lssolve): Compute size of iwork array. | |
3384 | |
7076 | 3385 2007-10-29 David Bateman <dbateman@free.fr> |
3386 | |
3387 * CMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3388 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3389 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3390 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3391 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3392 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3393 declarations. | |
3394 * CMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3395 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3396 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3397 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3398 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3399 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3400 methods. | |
3401 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3402 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3403 octave_idx_type&, double&) const): Also return rcond from the | |
3404 singular values returned by XGELSD. | |
3405 * dMatrix.h (lssolve (const Matrix&, octave_idx_type&, | |
3406 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3407 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3408 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3409 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3410 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3411 declarations. | |
3412 * dMatrix.cc (lssolve (const Matrix&, octave_idx_type&, | |
3413 octave_idx_type&, double&) const, lssolve (const ComplexMatrix&, | |
3414 octave_idx_type&, octave_idx_type&, double&) const, lssolve | |
3415 (const ColumnVector&, octave_idx_type&, octave_idx_type&, | |
3416 double& rcond) const, lssolve (const ComplexColumnVector&, | |
3417 octave_idx_type&, octave_idx_type&, double& rcond) const): New | |
3418 methods. | |
3419 (lssolve (const Matrix&, octave_idx_type&, octave_idx_type&, | |
3420 double&) const, lssolve (const ComplexMatrix&, octave_idx_type&, | |
3421 octave_idx_type&, double&) const): Also return rcond from the | |
3422 singular values returned by XGELSD. | |
3423 | |
7072 | 3424 2007-10-26 David Bateman <dbateman@free.fr> |
3425 | |
3426 * dMatrix.cc (Matrix::lssolve): Use xGELSD for rank deficient | |
3427 matrices to avoid reliability issues with xGELSY. | |
3428 * CMatrix.cc (ComplexMatrix::lssolve): Likewise. | |
7071 | 3429 |
7065 | 3430 2007-10-25 John W. Eaton <jwe@octave.org> |
3431 | |
3432 * oct-time.cc (octave_gmtime::init, octave_localtime::init): | |
3433 Call unix_time on arg instead of relying on conversion operator. | |
3434 | |
3435 * oct-time.h (octave_time::double_value): New function. | |
3436 (octave_time::operator double () const): Delete. | |
3437 (octave_time::operator time_t () const): Delete. | |
3438 | |
7058 | 3439 2007-10-24 John W. Eaton <jwe@octave.org> |
3440 | |
3441 * strptime.c: Also compile if OCTAVE_HAVE_BROKEN_STRPTIME is defined. | |
3442 | |
7052 | 3443 2007-10-23 John W. Eaton <jwe@octave.org> |
3444 | |
3445 * CRowVector.cc (operator * const ComplexRowVector&, const | |
3446 ComplexColumnVector&)): Delete spurious code left from patch. | |
3447 | |
7048 | 3448 2007-10-22 Kim Hansen <kimhanse@gmail.com> |
3449 | |
3450 * chMatrix.cc, lo-utils.cc, oct-env.cc, oct-uname.cc, | |
3451 sparse-sort.cc: Include <cstring>. | |
3452 | |
7036 | 3453 2007-10-17 John W. Eaton <jwe@octave.org> |
3454 | |
3455 * oct-sparse.h: Don't include metis.h. | |
3456 | |
3457 * dSparse.cc (SparseMatrix::fsolve): Delete special code for METIS. | |
3458 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
3459 * sparse-base-chol.cc (sparse_base_chol<chol_type, chol_elt, | |
3460 p_type>::sparse_base_chol_rep::init): Likewise. | |
3461 | |
7033 | 3462 2007-10-16 John W. Eaton <jwe@octave.org> |
3463 | |
3464 * dMatrix.cc (Matrix::inverse): Only check rcond == 0 if the | |
3465 matrix is hermitian or calc_cond is true. | |
3466 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
3467 | |
7016 | 3468 2007-10-12 John W. Eaton <jwe@octave.org> |
3469 | |
3470 * Change copyright notices in all files that are part of Octave to | |
3471 GPLv3 or any later version. | |
3472 | |
7007 | 3473 2007-10-11 Brian Gough <bjg@network-theory.co.uk> |
3474 | |
3475 * DASSL-opts.in, LSODE-opts.in: Spelling fixes. | |
3476 | |
7001 | 3477 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> |
3478 | |
3479 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes. | |
3480 | |
7000 | 3481 2007-10-10 John W. Eaton <jwe@octave.org> |
3482 | |
3483 * LPsolve.h, LPsolve.cc: Delete. | |
3484 * Makefile.in: Remove them from the INCLUDES and | |
3485 LIBOCTAVE_CXX_SOURCES lists. | |
3486 | |
6989 | 3487 2007-10-09 John W. Eaton <jwe@octave.org> |
3488 | |
6996 | 3489 * oct-time.cc (octave_strptime::init): Initialize t.tm_mon to -1 |
3490 and t.tm_year to INT_MIN before call to oct_strptime. Adjust | |
3491 values to zero after call if they remain unchanged. | |
3492 | |
6989 | 3493 * dSparse.cc (SparseMatrix::all_elements_are_zero): New function. |
3494 * dNDArray.cc (NDArray::all_elements_are_zero): New function. | |
3495 | |
6988 | 3496 2007-10-09 David Bateman <dbateman@free.fr> |
3497 | |
6995 | 3498 * oct-time.cc (octave_strptime::init): Only call mktime if mday is |
3499 valud and mon and year are also filled in. | |
3500 | |
6990 | 3501 * Array2.h (Array2<T>::Array2(const dim_vector&), |
3502 Array2<T>::Array(const dim_vector&, const T&)): Check that | |
3503 dim_vector is 2 dimensional. | |
3504 | |
6988 | 3505 * Sparse.cc (Sparse<T> Sparse<T>::index (idx_vector&, idx_vector&, |
3506 int)): Remove a for loop in the random indexing case at the | |
3507 expense of maintaining a set of linked lists of indices that point | |
3508 to the same column in the original matrix. | |
3509 (int assign (Sparse<LT>&, Sparse<RT>)): Take a const copy of lhs | |
3510 and use it on the RHS of expressions to avoid unnecessary calls to | |
3511 make_unique. | |
3512 | |
6979 | 3513 2007-10-08 David Bateman <dbateman@free.fr> |
3514 | |
3515 * oct-rl-edit. (typedef rl_quoting_fcn_ptr, rl_dequoting_fcn_ptr, | |
3516 rl_char_is_quoted_fcn_ptr, rl_command_fcn_ptr): New typedefs | |
3517 for readline compatible functions. | |
3518 (octave_rl_redisplay): Redisplay the current line of text. | |
3519 (octave_rl_newline): Change interface to the same | |
3520 as used by the equivalent readline function itself. | |
3521 (octave_rl_filename_quoting_desired, | |
3522 octave_rl_set_filename_quote_characters, | |
3523 octave_rl_set_completer_quote_characters, | |
3524 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3525 octave_rl_set_char_is_quoted_function): New functions to control | |
3526 readline filename quoting and line acceptace. | |
3527 * oct-rl-edit.c (octave_rl_newline): Change interface to the same | |
3528 as used by the equivalent readline function itself. | |
3529 (octave_rl_redisplay): Redisplay the current line of text. | |
3530 (octave_rl_filename_quoting_desired, | |
3531 octave_rl_set_filename_quote_characters, | |
3532 octave_rl_set_completer_quote_characters, | |
3533 octave_rl_qet_quoting_function, octave_rl_qet_dequoting_function, | |
3534 octave_rl_set_char_is_quoted_function): New functions to control | |
3535 readline filename quoting and line acceptace. | |
3536 * cmd-edit.h (typedef quoting_fcn, typedef dequoting_fcn, | |
3537 typedef char_is_quoted_fcn, user_accept_line_fcn): New typedefs | |
3538 to map C++ function to readline compatible functions. | |
3539 (set_filename_quote_characters): New function to set the | |
3540 characters to if they appear in a filename that force the filename | |
3541 to be quoted. | |
3542 (set_completer_quote_characters): The characters that the readline | |
3543 completion function considers as quotation characters. | |
3544 (set_quoting_function, set_dequoting_function, | |
3545 set_char_is_quoted_function, set_user_accept_line_function): | |
3546 Functions to set the Octave functions to perform quoting and the | |
3547 acceptance of a line of text by readline. | |
3548 (get_quoting_function, get_dequoting_function, | |
3549 get_char_is_quoted_function, get_user_accept_line_function): | |
3550 Functions to get the above functions. | |
3551 (accept_line): New method for the command_editor to accept a line | |
3552 of text. | |
3553 (file_quoting_desired): Function to set whether readline should | |
3554 attempt to quote filenames. | |
3555 (do_set_filename_quoting_characters, | |
3556 do_set_completer_quote_characters, do_set_quoting_function, | |
3557 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3558 do_set_user_accept_line_function, do_get_quoting_function, | |
3559 do_get_dequoting_function, do_get_char_is_quoted_function, | |
3560 do_get_user_accept_line_function, do_filename_quoting_desired): | |
3561 Virtual functions to control the behavior of readline quoting and | |
3562 acceptance of lines. | |
3563 (do_accept_line): Virtual function for the accept line function. | |
3564 * cmd-edit.cc (class gnu_readline do_set_filename_quote_characters, | |
3565 do_completer_quote_characters, do_set_quoting_function, | |
3566 do_set_dequoting_function, do_set_char_is_quoted_function, | |
3567 do_set_user_accept_line_function, do_get_quoting_function, | |
3568 do_get_dequoting_function, do_get_user_accept_line_function, | |
3569 do_accept_line, do_filename_quoting_desired, command_quoter, | |
3570 command_dequoter, command_char_is_quoted, command_accept_line): | |
3571 New functions in gnu_readline class to control filename quoting | |
3572 and line acceptance. | |
3573 (quoting_function, dequoting_function, char_is_quoted_function, | |
3574 user_accept_line_function): private variable to store functions | |
3575 supplied for readline quoting and line acceptance. | |
3576 (gnu_readline::gnu_readline): Also set the new function pointers | |
3577 to zero. | |
3578 (gnu_readline::do_newline): Adapt to new octave_rl_newline | |
3579 interface. | |
3580 (gnu_readeline::operate_and_get_next): Use new accept_line | |
3581 function rather than newline. | |
3582 (default_ommand_editor::do_accept_line): New method. | |
3583 (class command_editor set_filename_quote_characters, | |
3584 set_completer_quote_characters, set_quoting_function, | |
3585 set_dequoting_function, set_char_is_quoted_function, | |
3586 set_user_accept_line_function, get_quoting_function, | |
3587 get_dequoting_function, get_user_accept_line_function, | |
3588 accept_line, filename_quoting_desired): New functions checking | |
3589 instance before calling virtual function. | |
3590 | |
3591 * CMatrix.h, dMatrix.h, boolMatrix.h, chMatrix.h, MArray2.h, | |
3592 Array2.h: Add dim_vector constructors. | |
3593 * charNDArray.h (charNDArray (const dim_vector&)): Add missing | |
3594 const to dim_vector constructors. | |
3595 * boolMatrix.cc, chMatrix.cc, intNDArray.cc (diag (void), diag | |
3596 (octave_idx_type)): New methods to constructor diagonal matrices. | |
3597 * boolMatrix.h, chMatrix.h, intNDArray.h (diag (void), diag | |
3598 (octave_idx_type)): Declare them. | |
3599 | |
6969 | 3600 2007-10-06 John W. Eaton <jwe@octave.org> |
3601 | |
3602 * lo-specfun.cc: (zlgamma): Delete. | |
3603 (xgamma): Use C library gamma function if available. | |
3604 (xlgamma): Use C library lgamma function if available. | |
3605 (xlgamma) [! HAVE_LGAMMA]: Allow calculation for any value of X | |
3606 other than NaN or Inf. | |
3607 | |
6961 | 3608 2007-10-05 John W. Eaton <jwe@octave.org> |
3609 | |
3610 * lo-specfun.cc (zlgamma): New function. | |
3611 | |
6959 | 3612 2007-10-04 John W. Eaton <jwe@octave.org> |
3613 | |
3614 * oct-sort.cc (octave_sort<T>::binarysort): Remove register | |
3615 qualifiers on local variables. | |
3616 | |
6958 | 3617 2007-10-04 Marco Caliari <mcaliari@math.unipd.it> |
3618 | |
3619 * CMatrix.cc (ComplexMatrix::expm): Limit shift to values less | |
3620 than log(realmax) to avoid issues with NaN. | |
3621 | |
6940 | 3622 2007-10-01 John W. Eaton <jwe@octave.org> |
3623 | |
6941 | 3624 * oct-time.cc (octave_strptime::init): Call mktime to propertly |
3625 initialize wday and yday. | |
3626 From Matthias Drochner <m.drochner@fz-juelich.de>. | |
3627 | |
6940 | 3628 * cmd-edit.cc (command_editor::do_decode_prompt_string): Don't |
3629 insert extra '\001' when decoding \[ and \]. | |
3630 | |
6926 | 3631 2007-09-26 David Bateman <dbateman@free.fr> |
3632 | |
3633 * dMatrix.cc (lssolve): Replace the use of xGELSS with xGELSY with | |
3634 is much faster and no less accurate. | |
3635 * CMatrix.cc (lssolve): ditto. | |
3636 | |
6924 | 3637 2007-09-25 David Bateman <dbateman@free.fr> |
3638 | |
3639 * dMatrix.cc (utsolve, ltsolve, fsolve, lssolve): Allow | |
3640 zero dimensioned matrices. | |
3641 * CMatrix.cc (utsolve, ltsolve, fsolve, lssolve): ditto. | |
3642 * dSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3643 ditto. | |
3644 * CSparse.cc (dsolve, utsolve, ltsolve, bsolve, trisolve, fsolve): | |
3645 ditto. | |
3646 * SparseQR.cc (SparseQR::SparseQR_rep::C, qrsolve): ditto. | |
3647 * SparseCmplxQR.cc (SparseComplexQR::SparseComplexQR_rep::C, | |
3648 qrsolve): ditto. | |
3649 * sparse-dmsolve.cc (dmsolve): ditto. | |
3650 | |
6922 | 3651 2007-09-21 John W. Eaton <jwe@octave.org> |
3652 | |
3653 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): | |
3654 Also allow resizing empty LHS if it is 1x0 or 0xN. | |
3655 | |
6916 | 3656 2007-09-19 John W. Eaton <jwe@octave.org> |
3657 | |
3658 * cmd-edit.cc (command_editor::remove_startup_hook): | |
3659 Fix cut-and-paste error. | |
6917 | 3660 (gnu_readline::set_startup_hook): Only set hook function if new |
3661 function is different from the current one. | |
6916 | 3662 |
6913 | 3663 2007-09-18 John W. Eaton <jwe@octave.org> |
3664 | |
3665 * cmd-edit.h, cmd-edit.cc (command_editor::startup_hook_set, | |
3666 command_editor::event_hook_set): New static data. | |
3667 (default_command_editor::set_startup_hook, | |
3668 gnu_readline::set_startup_hook, | |
3669 default_command_editor::restore_startup_hook, | |
3670 gnu_readline_restore_event_hook): | |
3671 Rename from do_set_startup_hook and do_set_event_hook. | |
3672 (gnu_readline::operate_and_get_next): Call | |
3673 command_editor::add_startup_hook, not | |
3674 command_editor::set_startup_hook. | |
3675 (command_editor::startup_handler, command_editor::event_handler): | |
3676 New functions. | |
3677 (command_editor::add_startup_hook, command_editor::add_event_hook, | |
3678 command_editor::remove_startup_hook, | |
3679 command_editor::remove_event_hook): Rename from set_startup_hook | |
3680 and restore_startup_hook. Handle hook sets here. | |
3681 * cmd-edit.cc (gnu_history::do_goto_mark): | |
3682 Call remove_startup_hook instead of restore_startup_hook. | |
3683 | |
6907 | 3684 2007-09-17 John W. Eaton <jwe@octave.org> |
3685 | |
3686 * lo-utils.cc (octave_read_complex, octave_read_double): Skip | |
3687 leading whitespace. | |
3688 | |
6897 | 3689 2007-09-13 John W. Eaton <jwe@octave.org> |
3690 | |
3691 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
3692 octave_read_complex): Use istream::get instead of >> to read | |
3693 individual characters. | |
3694 | |
6884 | 3695 2007-09-10 John W. Eaton <jwe@octave.org> |
3696 | |
3697 * Array.cc (assign1): Don't call make_unique for invalid assignment. | |
3698 | |
3699 2007-09-10 David Bateman <dbateman@free.fr> | |
3700 | |
3701 * Array.h (Array<T>::make_unique): Make public so that the | |
3702 ::assign functions can access it directly. | |
3703 * Array.cc (Array<T>::maybe_delete_elements_1(idx_vector&), | |
3704 Array<T>::maybe_delete_elements_1(idx_vector&), | |
3705 Array<T>::maybe_delete_elements(idx_vector&, idx_vector&), | |
3706 Array<T>::maybe_delete_elements(Array<idx_vector>&, const T&)): | |
3707 Use xelem for non const RHS to avoid call to make_unique. | |
3708 (int assign1 (Array<LT>&, const Array<RT>&, const LT&)): Use | |
3709 xelem for LHS and call lhs.make_unique() only once. Special case | |
3710 the is_colon index case and use Array<T>::xelem(octave_idx_type) | |
3711 rather than Array<T>::xelem(octave_idx_type,octave_idx_type) and | |
3712 bring the additional multiplication out of the inner loop. | |
3713 (int assign2 (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3714 (int assignN (Array<LT>&, const Array<RT>&, const LT&)): ditto. | |
3715 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep | |
3716 (const Range& r)): Don't use init_state() method but special case | |
3717 as with a Range can avoid exhaustive search. | |
3718 | |
6881 | 3719 2007-09-07 John W. Eaton <jwe@octave.org> |
3720 | |
3721 * Array.cc (Array<T>::fortran_vec): Call make_unique instead of | |
3722 manipulating rep directly. | |
3723 | |
3724 * Array.h (idx, idx_count): Declare mutable. | |
3725 (Array<T>::set_index, Array<T>::clear_index, Array<T>::value): | |
3726 Now const. | |
3727 | |
6867 | 3728 2007-09-06 David Bateman <dbateman@free.fr> |
3729 | |
6868 | 3730 * Array-util.cc (increment_index): dimensions can have singleton |
3731 trailing dimensions. | |
6867 | 3732 * Array.h (range_error, xelem, checkelem, elem, operator ()): |
3733 Modify use of Array<int> to Array<octave_idx_type> and adjust | |
3734 where necessary. | |
3735 * Array.cc (range_error): ditto. | |
3736 * MArrayN.h (permute, ipermute): ditto. | |
3737 * ArrayN.h (permute, ipermute): ditto. | |
3738 * so-array.cc (streamoff_array::compute_index): ditto. | |
3739 * so-array.h (compute_index): ditto. | |
3740 * CMattrix.cc (ComplexMatrix::exmpm): ditto. | |
3741 | |
6840 | 3742 2007-08-29 David Bateman <dbateman@free.fr> |
3743 | |
3744 * dSparse.cc (SparseMatrix SparseMatrix::inverse (MatrixType &, | |
3745 octave_idx_type&, double&, int, int)): Calculate with LU even for | |
3746 matrices marked as singular. | |
3747 * CSparse.cc (SparseComplexMatrix SparseComplexMatrix::inverse ( | |
3748 MatrixType &, octave_idx_type&, double&, int, int)): ditto. | |
3749 * dMatrix.cc (Matrix Matrix::inverse (MatrixType &, octave_idx_type&, | |
3750 double&, int, int)): ditto. If rcond==0 force matrix of infinities. | |
3751 * dMatrix.cc (ComplexMatrix ComplexMatrix::inverse (MatrixType &, | |
3752 octave_idx_type&, double&, int, int)): ditto. | |
3753 | |
6838 | 3754 2007-08-27 John W. Eaton <jwe@octave.org> |
3755 | |
3756 * oct-env.cc (octave_env::rooted_relative_pathname, | |
3757 octave_env::do_rooted_relative_pathname): New functions. | |
3758 * oct-env.h: Provide decls. | |
3759 | |
6823 | 3760 2007-08-24 David Bateman <dbateman@free.fr> |
3761 | |
3762 * MSparse.h (MSparse<T>& insert (const Sparse<T>&, | |
3763 const Array<octave_idx_type>&)): New method. | |
3764 (MSparse (const dim_vector&, octave_idx_type)): Ditto. | |
3765 * dSparse.h (SparseMatrix& SparseMatrix::insert (const | |
3766 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3767 (SparseMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3768 * dSparse.cc (SparseMatrix& SparseMatrix::insert (const | |
3769 SparseMatrix&, const Array<octave_idx_type>&)): ditto. | |
3770 * boolSparse.h (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3771 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3772 * boolSparse.cc (SparseBoolMatrix& SparseBoolMatrix::insert (const | |
3773 SparseBoolMatrix&, const Array<octave_idx_type>&)): ditto. | |
3774 * CSparse.h (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3775 SparseMatrix&, const Array<octave_idx_type>&), | |
3776 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3777 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3778 (SparseComplexMatrix (const dim_vector&, octave_idx_type)): ditto. | |
3779 * CSparse.cc (SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3780 SparseMatrix&, const Array<octave_idx_type>&), | |
3781 SparseComplexMatrix& SparseComplexMatrix::insert (const | |
3782 SparseComplexMatrix&, const Array<octave_idx_type>&)): ditto. | |
3783 | |
6817 | 3784 2007-08-19 David Bateman <dbateman@free.fr> |
3785 | |
3786 * Sparse.cc (Sparse<T>::permute): Avoid shadowing warning. | |
3787 | |
6813 | 3788 2007-08-14 John W. Eaton <jwe@octave.org> |
3789 | |
3790 * Sparse.cc (Sparse<T>::permute): permutation vector is zero based. | |
3791 Simplify. | |
6814 | 3792 (Sparse<T>::reshape): Warn about reshaping to N-d array. |
6813 | 3793 |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
3794 2007-08-10 Michael Goffioul <michael.goffioul@gmail.com> |
6810 | 3795 |
3796 * file-stat.cc (file_stat::update_internal) [__WIN32__]: | |
3797 Remove trailing dir separator when stat'ing directory except for | |
3798 root directory. | |
3799 | |
6796 | 3800 2007-07-25 David Bateman <dbateman@free.fr> |
3801 | |
3802 * Makefile.in: Adjust DISTFILES to allow out of tree "make dist" | |
3803 to work. | |
3804 | |
6764 | 3805 2007-06-04 David Bateman <dbateman@free.fr> |
3806 | |
3807 * oct-inttypes.h (octave_int<T>& operator <<= (const T2&), | |
3808 octave_int<T>& operator >>= (const T2&)): Make shift operators | |
3809 perform a twos complement arithmetic shift for both signed and | |
3810 unsigned integers regardless of compiler implementations. | |
3811 | |
6708 | 3812 2007-06-13 Michael Goffioul <michael.goffioul@swing.be> |
3813 | |
6719 | 3814 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): For CXSparse 2.2 and greater |
3815 use cs_complex_t(0,0) for the complex zero. | |
3816 | |
6708 | 3817 * MArray-ch.cc, MArray-d.cc, MArray-i.cc, MArray-s.cc: |
3818 Sprinkle class instantiations with OCTAVE_API as needed. | |
3819 | |
3820 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY, | |
3821 INSTANTIATE_ARRAY_AND_ASSIGN): New arg, API. Change all uses. | |
3822 * MArray-defs.h (MARRAY_OP_ASSIGN_DECL, MARRAY_OP_ASSIGN_DECLS, | |
3823 MARRAY_OP_ASSIGN_FWD_DECLS, MARRAY_OP_ASSIGN_FRIENDS, | |
3824 MARRAY_OP_ASSIGN_DEFS, MARRAY_UNOP, MARRAY_UNOP_DECLS, | |
3825 MARRAY_UNOP_FWD_DECLS, MARRAY_UNOP_FRIENDS, MARRAY_UNOP_DEFS, | |
3826 MARRAY_BINOP_DECL, MARRAY_BINOP_DECLS, MARRAY_AA_BINOP_DECLS, | |
3827 MDIAGARRAY2_DAS_BINOP_DECLS, MDIAGARRAY2_SDA_BINOP_DECLS, | |
3828 MDIAGARRAY2_DADA_BINOP_DECLS, MARRAY_BINOP_FWD_DECLS, | |
3829 MDIAGARRAY2_BINOP_FWD_DECLS, MARRAY_BINOP_FRIENDS, | |
3830 MDIAGARRAY2_BINOP_FRIENDS, MARRAY_BINOP_DEFS, | |
3831 MDIAGARRAY2_BINOP_DEFS, MARRAY_OPS_FORWARD_DECLS, | |
3832 MDIAGARRAY2_OPS_FORWARD_DECLS, MARRAY_OPS_FRIEND_DECLS, | |
3833 MDIAGARRAY2_OPS_FRIEND_DECLS, INSTANTIATE_MARRAY_FRIENDS, | |
3834 INSTANTIATE_MARRAY2_FRIENDS, INSTANTIATE_MARRAYN_FRIENDS, | |
3835 INSTANTIATE_MDIAGARRAY2_FRIENDS): Ditto. | |
3836 * MSparse-defs.h (SPARSE_OP_ASSIGN_DECL, SPARSE_OP_ASSIGN_DECLS, | |
3837 SPARSE_OP_ASSIGN_FWD_DECLS, SPARSE_OP_ASSIGN_FRIENDS, | |
3838 SPARSE_OP_ASSIGN_DEFS, SPARSE_UNOP, SPARSE_UNOP_DECLS, | |
3839 SPARSE_UNOP_FWD_DECLS, SPARSE_UNOP_FRIENDS, SPARSE_UNOP_DEFS, | |
3840 SPARSE_BINOP_DECL, SPARSE_BINOP_DECLS, SPARSE_AA_BINOP_DECLS, | |
3841 SPARSE_BINOP_FWD_DECLS, SPARSE_BINOP_FRIENDS, SPARSE_BINOP_DEFS, | |
3842 SPARSE_OPS_FORWARD_DECLS, SPARSE_OPS_FRIEND_DECLS, | |
3843 INSTANTIATE_SPARSE_FRIENDS): Ditto. | |
3844 * Sparse-op-defs.h (SPARSE_BIN_OP_DECL, SPARSE_CMP_OP_DECL, | |
3845 SPARSE_BOOL_OP_DECL, SPARSE_SMS_BIN_OP_DECLS, | |
3846 SPARSE_SMS_CMP_OP_DECLS, SPARSE_SMS_EQNE_OP_DECLS, | |
3847 SPARSE_SMS_BOOL_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3848 SPARSE_SMS_OP_DECLS, SPARSE_SSM_BIN_OP_DECLS, | |
3849 SPARSE_SSM_CMP_OP_DECLS, SPARSE_SSM_EQNE_OP_DECLS, | |
3850 SPARSE_SSM_BOOL_OP_DECLS, SPARSE_SSM_OP_DECLS, | |
3851 SPARSE_SMSM_BIN_OP_DECLS, SPARSE_SMSM_CMP_OP_DECLS, | |
3852 SPARSE_SMSM_EQNE_OP_DECLS, SPARSE_SMSM_BOOL_OP_DECLS, | |
3853 SPARSE_SMSM_OP_DECLS, SPARSE_MSM_BIN_OP_DECLS, | |
3854 SPARSE_MSM_CMP_OP_DECLS, SPARSE_MSM_EQNE_OP_DECLS, | |
3855 SPARSE_MSM_BOOL_OP_DECLS, SPARSE_MSM_OP_DECLS, | |
3856 SPARSE_SMM_BIN_OP_DECLS, SPARSE_SMM_CMP_OP_DECLS, | |
3857 SPARSE_SMM_EQNE_OP_DECLS, SPARSE_SMM_BOOL_OP_DECLS, | |
3858 SPARSE_SMM_OP_DECLS): Ditto. | |
3859 * Sparse.h (INSTANTIATE_SPARSE_ASSIGN, INSTANTIATE_SPARSE, | |
3860 INSTANTIATE_SPARSE_AND_ASSIGN): Ditto. | |
3861 * mx-op-defs.h (BIN_OP_DECL, CMP_OP_DECL, NDCMP_OP_DECL, | |
3862 BOOL_OP_DECL, NDBOOL_OP_DECL, VS_BIN_OP_DECLS, VS_OP_DECLS, | |
3863 SV_BIN_OP_DECLS, SV_OP_DECLS, VV_BIN_OP_DECLS, VV_OP_DECLS, | |
3864 MS_BIN_OP_DECLS, MS_CMP_OP_DECLS, MS_BOOL_OP_DECLS, MS_OP_DECLS, | |
3865 SM_BIN_OP_DECLS, SM_CMP_OP_DECLS, SM_BOOL_OP_DECLS, SM_OP_DECLS, | |
3866 MM_BIN_OP_DECLS, MM_CMP_OP_DECLS, MM_BOOL_OP_DECLS, MM_OP_DECLS, | |
3867 NDS_BIN_OP_DECLS, NDS_CMP_OP_DECLS, NDS_BOOL_OP_DECLS, | |
3868 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_CMP_OP_DECLS, | |
3869 SND_BOOL_OP_DECLS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
3870 NDND_CMP_OP_DECLS, NDND_BOOL_OP_DECLS, NDND_OP_DECLS, | |
3871 SDM_BIN_OP_DECLS, SDM_OP_DECLS, DMS_BIN_OP_DECLS, DMS_OP_DECLS, | |
3872 MDM_BIN_OP_DECLS, MDM_OP_DECLS, DMM_BIN_OP_DECLS, DMM_OP_DECLS, | |
3873 DMDM_BIN_OP_DECLS, DMDM_OP_DECLS): Ditto. | |
3874 | |
6699 | 3875 2007-06-12 John W. Eaton <jwe@octave.org> |
3876 | |
3877 * dMatrix.cc (Matrix::expm): Special case for scalar arg. | |
3878 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
6697 | 3879 |
6693 | 3880 2007-06-06 Michael Goffioul <michael.goffioul@swing.be> |
3881 | |
6709 | 3882 * file-ops.cc (tilde_find_suffix, isolate_tilde_prefix, |
3883 tilde_expand_word): Use file_ops::is_dir_sep instead of comparing | |
3884 with file_ops::dir_sep_char. | |
6694 | 3885 |
6693 | 3886 * MArray-C.cc: Sprinkle with OCTINTERP_API as needed. |
3887 | |
6689 | 3888 2007-06-04 David Bateman <dbateman@free.fr> |
3889 | |
6699 | 3890 * file-ops.cc: Typo. |
3891 | |
6689 | 3892 * Sparse.cc (Sparse<T> Sparse<T>::reshape): If length of new |
3893 dimensions is greater than 2, collapse to 2-D. | |
3894 | |
6685 | 3895 2007-06-02 David Bateman <dbateman@free.fr> |
3896 | |
3897 * SparseCmplxQR.cc: Changes to support CXSparse 2.2.0. | |
3898 | |
6680 | 3899 2007-05-31 John W. Eaton <jwe@octave.org> |
3900 | |
3901 * Array.cc (Array::get_size): Throw std::bad_alloc exception if | |
3902 the computed size is too large for the size of Octave's index type. | |
3903 | |
6662 | 3904 2007-05-23 John W. Eaton <jwe@octave.org> |
3905 | |
3906 * oct-sparse.h: Don't surround included files with extern "C" { ... }. | |
3907 | |
6629 | 3908 2007-05-16 David Bateman <dbateman@free.fr> |
3909 | |
3910 * dRowVector.cc (linspace): Return second argument if fewer than | |
3911 two values are requested. | |
3912 * CRowVector.cc (linspace): Likewise. | |
3913 | |
6596 | 3914 2007-04-27 John W. Eaton <jwe@octave.org> |
3915 | |
3916 * lo-mappers.cc (signum (const Complex&)): Special case for (0, 0). | |
3917 | |
6583 | 3918 2007-04-25 John W. Eaton <jwe@octave.org> |
3919 | |
3920 * oct-fftw.h (octave_fftw): Tag with OCTAVE_API. | |
3921 | |
6553 | 3922 2007-04-20 John W. Eaton <jwe@octave.org> |
3923 | |
3924 * Array.cc (assign1): For x(:) = RHS, require rhs_len == lhs_len, | |
3925 not rhs_len == 1. | |
3926 | |
6536 | 3927 2007-04-18 Michael Goffioul <michael.goffioul@swing.be> |
3928 | |
3929 * oct-md5.h (oct_md5, oct_md5_file): Tag decls with OCTAVE_API. | |
3930 | |
6525 | 3931 2007-04-13 John W. Eaton <jwe@octave.org> |
3932 | |
3933 * Array.cc (Array<T>::maybe_delete_elements_2): Don't return early | |
3934 for empty matrix. Only check for colon index equivalence if not empty. | |
3935 | |
6513 | 3936 2007-04-10 John W. Eaton <jwe@octave.org> |
3937 | |
3938 * SparseCmplxQR.cc | |
3939 (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): | |
3940 Move GCC_ATTR_UNUSED before the parameter decl. | |
3941 From Luis Ortiz <lortiz@interactivesupercomputing.com>. | |
3942 | |
6508 | 3943 2007-04-06 John W. Eaton <jwe@octave.org> |
3944 | |
3945 * MArray-defs.h (MARRAY_NORM_BODY): New macro. | |
3946 * MArray.h (MArray<T>::norm): New function. | |
3947 * MArray.cc: Provide decl. | |
3948 * MArray-d.cc (MArray<double>::norm): Define double specialization. | |
3949 * MArray-C.cc (MArray<Complex>::norm): Define Complex specialization. | |
3950 | |
6490 | 3951 2007-04-04 John W. Eaton <jwe@octave.org> |
3952 | |
3953 * Range.cc (Range::nelem_internal): Likewise. | |
3954 * lo-utils.cc (NINT): Use numeric_limits<int> instead of INT_MAX. | |
3955 (NINTbig): Use numeric_limits<octave_idx_type> instead of INT_MAX. | |
3956 From Scott Pakin <pakin@lanl.gov>. | |
3957 | |
6486 | 3958 2007-04-04 David Bateman <dbateman@free.fr> |
3959 | |
3960 * dMatrix.cc (Matrix::inverse): If calc_cond is true, calculate | |
3961 the condition number for positive definite matrices. | |
3962 * CMatrix.cc (ComplexMatrix::inverse): Ditto. | |
3963 * dbleChol.h (CHOL(const Matrix&, bool)): New arg, calc_cond. | |
3964 (CHOL(const Matrix&, octave_idx_type&, bool): Ditto. | |
3965 (octave_idx_type init (const Matrix&, bool)): Ditto. | |
3966 (CHOL(const CHOL&)): Copy xrcond. | |
3967 (CHOL& operator = (const CHOL&)): Copy xrcond. | |
3968 (xrcond): New private data member. | |
3969 * CmplxCHOL.h (ComplexCHOL(const ComplexMatrix&, bool)): New arg, | |
3970 calc_cond. | |
3971 (ComplexCHOL(const ComplexMatrix&, octave_idx_type&, bool): Ditto | |
3972 (octave_idx_type init (const ComplexMatrix&, bool)): Ditto. | |
3973 (ComplexCHOL(const ComplexCHOL&)): Copy xrcond. | |
3974 (ComplexCHOL& operator = (const ComplexCHOL&)): Copy xrcond. | |
3975 (xrcond): New private data member. | |
3976 * dbleCHOL.cc (CHOL::init(const Matrix&, bool)): If calc_cond is | |
3977 true, calculate the condition number with dpocon. | |
3978 * CmplxCHOL.cc (ComplexCHOL::init(const ComplexMatrix&, bool)): If | |
3979 calc_cond is true, calculate the condition number with zpocon. | |
3980 | |
6481 | 3981 2007-04-03 John W. Eaton <jwe@octave.org> |
3982 | |
6482 | 3983 * intNDArray.cc (intNDArray): Delete spurious semicolon. |
3984 | |
3985 * CMatrix.cc (ComplexMatrix::tinverse): Use Array<T> and | |
3986 fortran_vec method instead of OCTAVE_LOCAL_BUFFER to avoid | |
3987 "maybe clobbered by vfork" warning. | |
3988 | |
6483 | 3989 * Sparse-op-defs.h (SPARSE_CUMSUM): Add braces to avoid ambiguous |
6482 | 3990 if/else. |
3991 | |
3992 * oct-spparms.h (octave_sparse_params): Define copy constructor | |
3993 and destructor. | |
3994 | |
6481 | 3995 * Array.cc (assignN): Don't resize dimension if corresponding |
3996 index is empty. | |
3997 | |
6479 | 3998 2007-04-02 John W. Eaton <jwe@octave.org> |
3999 | |
4000 * dMatrix.h (Matrix::inverse): Reinstate versions without | |
4001 MatrixType argument. | |
4002 * CMatrix.h (ComplexMatrix::inverse): Likewise. | |
4003 | |
6467 | 4004 2007-03-27 John W. Eaton <jwe@octave.org> |
4005 | |
4006 * Makefile.in (DISTDIRS): Delete variable. | |
4007 (dist): Delete action for DISTDIRS. Use ln instead of $(LN_S). | |
4008 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4009 2007-03-26 David Bateman <dbateman@free.fr> |
6460 | 4010 |
4011 * MatrixType.cc: Replace all uses of the method | |
4012 octave_sparse_params::get_key ("bandden") with | |
4013 octave_sparse_params::get_bandden (void). | |
4014 (MatrixType::MatrixType (void)): Undo previous change but use | |
4015 octave_sparse_params::get_bandden (void). | |
4016 * oct-spparms.cc (get_bandden(void), do_get_bandden(void)): New | |
4017 methods. | |
4018 * oct-spparms.h (get_bandden(void), do_get_bandden(void)): | |
4019 Declare them. | |
4020 | |
6458 | 4021 2007-03-26 Luis Ortiz <lortiz@interactivesupercomputing.com> |
4022 David Bateman <dbateman@free.fr> | |
4023 | |
4024 * idx-vector.h.cc (IDX_VEC_REP::idx_vector_rep (const Range&)): | |
4025 Check that all elements are ints before doing anything. Simplify | |
4026 calculation of index values. | |
4027 | |
6457 | 4028 2007-03-26 David Bateman <dbateman@free.fr> |
4029 | |
4030 * Range.cc (Range::all_elements_are_ints): Improve check. | |
4031 | |
6456 | 4032 2007-03-26 John W. Eaton <jwe@octave.org> |
4033 | |
4034 * chNDArray.cc, chMatrix.cc: Also generate comparison and bool ops. | |
4035 * chNDArray.h, chMatrix.h: Provide decls. | |
4036 | |
4037 2007-03-24 Luis Ortiz <lortiz@interactivesupercomputing.com> | |
4038 | |
4039 * MatrixType.cc (MatrixType::MatrixType (void)): Initialize | |
4040 sp_bandden to zero for performance reasons as it's not used. | |
6452 | 4041 |
6435 | 4042 2007-03-23 David Bateman <dbateman@free.fr> |
4043 | |
4044 * oct-rand.cc (octave_rand::seed): Seed differently for big and | |
4045 little endian. | |
4046 | |
6414 | 4047 2007-03-15 John W. Eaton <jwe@octave.org> |
4048 | |
4049 * lo-mappers.cc (acos): Use formula similar to what we use for asin. | |
4050 From Alexander Barth <abarth@marine.usf.edu>. | |
4051 | |
6402 | 4052 2007-03-12 John W. Eaton <jwe@octave.org> |
4053 | |
4054 * oct-inttypes.h (octave_int::octave_int (double)): | |
4055 New Specialization. Round arg. | |
4056 (operator / (const octave_int<T1>&, const octave_int<T2>&)): | |
4057 Round result before converting type. | |
4058 | |
6388 | 4059 2007-03-07 John W. Eaton <jwe@octave.org> |
4060 | |
6392 | 4061 * Array.cc (assign1): Avoid resizing if there is an error. |
4062 | |
6390 | 4063 * dMatrix.cc, CMatrix.cc (operator *): Only check |
4064 f77_exception_encountered immediately after calls that use F77_XFCN. | |
4065 | |
6389 | 4066 * Array.cc (assign1 (Array<LT>&, const Array<RT>&, const LT&)): |
4067 Only allow resizing empty LHS if it is 0x0. | |
4068 | |
6388 | 4069 * Array.cc (Array<T>::maybe_delete_elements (Array<idx_vector>&, |
4070 const T&)): Handle case of more indices than dimensions. | |
4071 (assign (Array<LT>&, const Array<RT>&, const LT&)): Allow more | |
4072 cases to be handled by assignN. | |
4073 (assignN (Array<LT>&, const Array<RT>&, const LT&)): | |
4074 Special cases for 2-d array assignments for speed. | |
4075 Improve handling of scalar RHS and empty indices. | |
6384 | 4076 |
6383 | 4077 2007-03-05 David Bateman <dbateman@free.fr> |
4078 | |
4079 * oct-md5.c (oct_md5_file (const std::string&)): New function. | |
4080 * oct-md5.h (oct_md5_file (const std::string&)): Declare it. | |
4081 | |
6379 | 4082 2007-03-02 John W. Eaton <jwe@octave.org> |
4083 | |
4084 * str-vec.h (string_vector::empty): Return bool, not int. | |
4085 | |
6375 | 4086 2007-03-01 David Bateman <dbateman@free.fr> |
4087 | |
4088 * md5.h, md5.c: New files from libmd5-rfc sourceforge project for | |
4089 an independent implementation of RFC1321. | |
4090 * oct-md5.h, oct-md5: New files for treating std::string class | |
4091 with MD5. | |
4092 * Makefile.in (INCLUDES): Add md5.h and oct-md5.h | |
4093 (LIBOCTAVE_CXX_SOURCES): Add oct-md5.cc | |
4094 (LIBOCTAVE_C_SOURCES): Add md5.c | |
4095 | |
6366 | 4096 2007-02-27 John W. Eaton <jwe@octave.org> |
4097 | |
4098 * Makefile.in (uninstall): Delete files listed in | |
4099 $(INCLUDES_FOR_INSTALL), instead of $(INCLUDES). | |
4100 From Thomas Treichl <Thomas.Treichl@gmx.net>. | |
4101 | |
6536 | 4102 2007-02-27 Michael Goffioul <michael.goffioul@swing.be> |
6363 | 4103 |
4104 * file-ops.cc (file_ops::recursive_rmdir): | |
4105 Close dir_entry object before calling rmdir. | |
4106 | |
6536 | 4107 2007-02-26 Michael Goffioul <michael.goffioul@swing.be> |
6358 | 4108 |
4109 * Makefile.in: Use $(LN_S) instead of ln or ln -s. | |
4110 | |
6359 | 4111 * sparse-util.h (SparseCholPrint, SparseCholError): |
4112 Tag with OCTAVE_API. | |
4113 | |
6326 | 4114 2007-02-18 David Bateman <dbateman@free.fr> |
4115 | |
4116 * oct-rand.cc (do_old_initialization()): call setcgn(1) prior to | |
4117 calling setall and reset to the current generator after. | |
4118 | |
6323 | 4119 2007-02-16 John W. Eaton <jwe@octave.org> |
4120 | |
4121 * oct-shlib.h (octave_shlib::relative): New data member. | |
4122 (octave_shlib::mark_relative, octave_shlib::is_relative): | |
4123 New functions. | |
4124 | |
6321 | 4125 2007-02-16 Michael Goffioul <michael.goffioul@swing.be> |
4126 | |
4127 * lo-sysdep.cc (octave_popen2): New function to simulate popen2 on | |
4128 windows platform. | |
4129 * lo-sysdep.h (octave_popen2): Declare it. | |
4130 * oct-syscalls.cc (octave_syscalls::popen2): New function. | |
4131 * oct-syscalls.h (octave_syscalls::popen2): Declare it. | |
4132 | |
6306 | 4133 2007-02-14 John W. Eaton <jwe@octave.org> |
4134 | |
4135 * kpse.cc (expand_elt): Omit special treatment for //. | |
4136 | |
6273 | 4137 2007-02-06 John W. Eaton <jwe@octave.org> |
4138 | |
4139 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_REALPATH]: | |
4140 Don't delete value returned from realpath. | |
4141 | |
6271 | 4142 2007-02-05 Thomas Treichl <Thomas.Treichl@gmx.net> |
4143 | |
4144 * file-ops.cc (file_ops::canonicalize_file_name): | |
4145 Provide implementation if realpath function is available. | |
4146 | |
6256 | 4147 2007-01-29 Michael Goffioul <michael.goffioul@swing.be> |
4148 | |
4149 * oct-fftw.h: Sprinkle with OCTAVE_API as needed. | |
4150 | |
6244 | 4151 2007-01-17 Michael Goffioul <michael.goffioul@swing.be> |
4152 | |
4153 * lo-sysdep.cc (octave_chdir): Handle directory names like "C:" on | |
4154 Windows systems. | |
4155 | |
6242 | 4156 2007-01-16 John W. Eaton <jwe@octave.org> |
4157 | |
4158 * dSparse.cc: Fix dgbtrf decl for --enable-64. | |
4159 (SparseMatrix::bsolve): Fix call to dgbtrf for --enable-64 | |
4160 | |
4161 * oct-fftw.h (fftw_planner): Provide decl. | |
4162 | |
6241 | 4163 2007-01-11 Michael Goffioul <michael.goffioul@swing.be> |
4164 | |
4165 * Makefile.in (LINK_DEPS): Include $(CAMD_LIBS) in the list. | |
4166 | |
6236 | 4167 2007-01-10 John W. Eaton <jwe@octave.org> |
4168 | |
4169 * oct-sparse.h: Use HAVE_CHOLMOD_CHOLMOD_H, not | |
4170 HAVE_UMFPACK_CHOLMOD_H for case of "cholmod/cholmod.h". | |
4171 | |
6231 | 4172 2007-01-08 David Bateman <dbateman@free.fr> |
4173 | |
4174 * oct-sparse.h: Replace sparsesuite with suitesparse and | |
4175 SPARSESUITE with SUITESPARSE to match upstream name. | |
4176 | |
6228 | 4177 2007-01-05 David Bateman <dbateman@free.fr> |
4178 | |
4179 * oct-fftw.cc: (octave_fftw_planner::method (void), | |
4180 octave_fftw_planner (FftwMethod)): New methods to interrogate and | |
4181 set the FFTW wisdom method used. | |
4182 (octave_fftw_planner::create_plan) Modify to allow different | |
4183 methods to be used. | |
4184 (octave_fftw_planner): Move class definition from here. | |
4185 * oct-fftw.h (octave_fftw_planner): To here. Add method methods | |
4186 and FftwMethod enum. | |
4187 | |
6221 | 4188 2007-01-03 David Bateman <dbateman@free.fr> |
4189 | |
4190 * MSparse.cc (SPARSE_A2A2_OP, SPARSE_A2A2_FCN_1, | |
4191 SPARSE_A2A2_FCN_1): Modify macros so that scalars stored as | |
4192 sparse matrices are special cased. | |
4193 | |
4194 * Sparse-op-defs.h: Include mx-ops.h to have access to mixed | |
4195 matrix, sparse matrix operations. | |
4196 (SPARSE_SMSM_BIN_OP_1, SPARSE_SMSM_BIN_OP_2, SPARSE_SMSM_BIN_OP_3, | |
4197 SPARSE_SMSM_CMP_OP, SPARSE_SMSM_BOOL_OP, SPARSE_MSM_BIN_OP_1, | |
4198 SPARSE_MSM_BIN_OP_2, SPARSE_MSM_CMP_OP, SPARSE_MSM_BOOL_OP, | |
4199 SPARSE_SMM_BIN_OP_1, SPARSE_SMM_BIN_OP_2, SPARSE_SMM_CMP_OP, | |
4200 SPARSE_SMM_BOOL_OP, SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, | |
4201 FULL_SPARSE_MUL): Modify macros so that scalars stored as | |
4202 sparse matrices are special cased. | |
4203 | |
6217 | 4204 2006-12-22 David Bateman <dbateman@free.fr> |
4205 | |
4206 * boolSparse.cc (SparseBoolMatrix::operator !): Fix off-by-one error. | |
4207 | |
6216 | 4208 2006-12-22 John W. Eaton <jwe@octave.org> |
4209 | |
4210 * dim-vector.h (dim_vector::dim_vector): Always start with at | |
4211 least 2 dimensions. | |
4212 (dim_vector::resize): Don't allow resizing to fewer than 2 dimensions. | |
4213 | |
6208 | 4214 2006-12-06 Michael Goffioul <michael.goffioul@swing.be> |
4215 | |
4216 * lo-sysdep.cc (opendir): Avoid passing \\* to FindFirstFile. | |
4217 | |
4218 * file-ops.cc (ops::canonicalize_file_name): Provide partial | |
6217 | 4219 implementation for Windows. |
6208 | 4220 |
6207 | 4221 2006-12-06 David Bateman <dbateman@free.fr> |
4222 | |
6208 | 4223 * dSparse.cc (SparseMatrix::is_symmetric): Faster implementation. |
4224 * CSparse.cc (SparseComplexMatrix::is_symmetric): Ditto. | |
6207 | 4225 |
4226 * dMatrrix.cc (finverse): Old inverse method renamed inverse. | |
4227 (tinverse): New method for triangular matrices. | |
4228 (inverse): New function with matrix type probing. | |
4229 * dMatrix.h (finverse, tinverse, inverse): New and modified | |
4230 declarations. | |
6208 | 4231 * CMatrix.cc: Ditto. |
4232 * CMatrix.h: Ditto. | |
6207 | 4233 |
6205 | 4234 2006-12-06 John W. Eaton <jwe@octave.org> |
4235 | |
4236 * strptime.c (day_of_the_week): Use code from current glibc sources. | |
4237 | |
6202 | 4238 2006-12-05 John W. Eaton <jwe@octave.org> |
4239 | |
4240 * lo-utils.cc (octave_read_double): If we see '+' or '-' but not | |
4241 followed by 'I' or 'i', try reading number after putting | |
4242 characters back on input stream. | |
4243 | |
6198 | 4244 2006-12-05 Paul Kienzle <pkienzle@users.sf.net> |
4245 | |
4246 * randpoisson.c (oct_fill_randp): For lambda > 1e8, upper limit of | |
4247 loop is n, not L. | |
4248 | |
6194 | 4249 2006-11-30 John W. Eaton <jwe@octave.org> |
4250 | |
4251 * lo-utils.cc (octave_read_double, read_inf_nan_na): | |
4252 Also recognize [+-][Ii]nf. | |
4253 | |
6187 | 4254 2006-11-28 David Bateman <dbateman@free.fr> |
6186 | 4255 |
4256 * oct-sparse.h: Allow sparse headers to also be in a sparsesuite | |
4257 sub-directory. | |
4258 | |
6204 | 4259 * dSparse.cc (SparseMatrix::inverse): Transpose the matrix type as |
4260 well when calling tinverse for lower triangular matrices. | |
4261 * CSparse.cc (SparseComplexMatrix::inverse): | |
4262 Ditto. | |
6185 | 4263 |
6183 | 4264 2006-11-21 John W. Eaton <jwe@octave.org> |
4265 | |
4266 * oct-env.cc (do_absolute_pathname): Undo previous change. | |
4267 | |
6182 | 4268 2006-11-20 John W. Eaton <jwe@octave.org> |
4269 | |
4270 * oct-env.cc (octave_env::do_absolute_pathname): Also return true | |
4271 for ".", and names beginning with "./" or "../". | |
4272 | |
6162 | 4273 2006-11-14 Luis F. Ortiz <lortiz@interactivesupercomputing.com> |
4274 | |
4275 * CMatrix.cc, dMatrix.cc: New tests. | |
4276 | |
6153 | 4277 2006-11-13 Michael Goffioul <michael.goffioul@swing.be> |
4278 | |
4279 * Array-d.cc, dDiagMatrix.h: Sprinkle with OCTAVE_API as needed. | |
4280 | |
6152 | 4281 2006-11-11 John W. Eaton <jwe@octave.org> |
4282 | |
4283 * Makefile.in ($(OPTS_INC), mx-ops.h): | |
4284 Use $(simple-move-if-change-rule) here. | |
4285 | |
6148 | 4286 2006-11-09 David Bateman <dbateman@free.fr> |
4287 | |
4288 * sparse-base-chol.cc (sparse_base_chol_rep::Q): Cast perms(i) to | |
4289 octave_idx_type, not int. | |
4290 | |
6145 | 4291 2006-11-08 John W. Eaton <jwe@octave.org> |
4292 | |
4293 * dir-ops.cc (dir_entry::read): Avoid rewinddir. | |
4294 | |
6141 | 4295 2006-11-06 John W. Eaton <jwe@octave.org> |
4296 | |
4297 * Array.cc (assignN): Exit early if invalid indices are found. | |
4298 | |
6140 | 4299 2006-11-03 Michael Goffioul <michael.goffioul@swing.be> |
4300 | |
4301 * strftime.c [HAVE_TZNAME]: Tag tzname with OCTAVE_IMPORT. | |
4302 | |
6137 | 4303 2006-11-03 John W. Eaton <jwe@octave.org> |
4304 | |
4305 * Makefile.in (DLL_CXXDEFS): Rename from XTRA_CXXDEFS. | |
4306 (DLL_CDEFS): Rename from XTRA_CDEFS. | |
4307 Substitute OCTAVE_DLL_DEFS, not XTRA_OCTAVE_DEFS. | |
4308 | |
6123 | 4309 2006-10-28 Michael Goffioul <michael.goffioul@swing.be> |
4310 | |
4311 * oct-shlib.cc: Undefine min and max after including windows.h. | |
4312 * oct-syscalls.cc (syscalls::pipe (int *)): Avoid infinite recursion. | |
4313 * lo-sysdep.h: Move opendir, readdir, etc. decls here from | |
4314 lo-sysdep.cc. | |
4315 | |
6113 | 4316 2006-10-27 John W. Eaton <jwe@octave.org> |
4317 | |
6119 | 4318 * oct-time.cc [! HAVE_STRFTIME]: Declare strftime. |
4319 | |
4320 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> | |
4321 | |
4322 * mx-op-defs.h (NDS_CMP_OP1, NDS_CMP_OPS1, NDS_CMP_OP2, | |
4323 NDS_CMP_OPS2): New macros. | |
6113 | 4324 |
6111 | 4325 2006-10-26 John W. Eaton <jwe@octave.org> |
4326 | |
6119 | 4327 * mx-ops (core-type): New field for integer types. |
4328 * mk-ops.awk: Handle core-type for integer comparison ops. | |
4329 | |
6111 | 4330 * lo-cutils.c (octave_strcasecmp, octave-strncasecmp): |
4331 Move here from src/cutils.c. | |
4332 * lo-utils.h: Provide decls. | |
4333 * strcasecmp.c: Move here from src/strcasecmp.c. | |
4334 * strncase.c: Move here from src/strncase.c. | |
4335 * Makefile.in (LIBOCTAVE_C_SOURCES): Add them to the list. | |
4336 | |
6106 | 4337 2006-10-26 Michael Goffioul <michael.goffioul@swing.be> |
4338 | |
4339 * kpse.cc [! MSVC]: Don't include win32lib.h. | |
4340 | |
6708 | 4341 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-util.h, |
4342 Array.h, CColVector.h, CMatrix.h, CNDArray.h, CRowVector.h, | |
4343 CSparse.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, | |
4344 CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, | |
4345 CollocWt.h, DAE.h, DASPK.h, DASRT.h, DASSL.h, EIG.h, LSODE.h, | |
4346 MArray-C.cc, MArray-defs.h, MSparse-C.cc, MSparse-d.cc, | |
4347 MSparse-defs.h, MatrixType.h, NLEqn.h, Quad.h, Range.h, | |
4348 Sparse-op-defs.h, Sparse.h, SparseCmplxCHOL.h, SparseCmplxLU.h, | |
4349 SparseCmplxQR.h, SparseQR.h, SparsedbleCHOL.h, SparsedbleLU.h, | |
4350 boolMatrix.h, boolNDArray.h, boolSparse.h, chMatrix.h, | |
4351 chNDArray.h, cmd-edit.h, cmd-hist.h, dColVector.h, dDiagMatrix.h, | |
4352 dMatrix.h, dNDArray.h, dRowVector.h, dSparse.h, data-conv.h, | |
4353 dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, dbleLU.h, | |
4354 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, dir-ops.h, | |
4355 file-ops.h, file-stat.h, glob-match.h, idx-vector.h, | |
4356 int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, | |
4357 lo-cutils.c, lo-ieee.h, lo-mappers.h, lo-specfun.h, lo-utils.h, | |
4358 mach-info.h, mx-op-defs.h, oct-alloc.h, oct-env.h, oct-group.h, | |
4359 oct-inttypes.cc, oct-inttypes.h, oct-passwd.h, oct-rand.h, | |
4360 oct-shlib.h, oct-spparms.h, oct-syscalls.h, oct-time.h, | |
4361 oct-uname.h, pathsearch.h, prog-args.h, so-array.h, str-vec.h, | |
4362 uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc, | |
4363 uint8NDArray.cc: Sprinkle with OCTAVE_API as needed. | |
6108 | 4364 |
6105 | 4365 2006-10-26 John W. Eaton <jwe@octave.org> |
4366 | |
4367 * oct-inttypes.cc (INSTANTIATE_INTTYPE_BIN_OP): Provide explicit | |
4368 type qualification for OP. | |
4369 | |
6101 | 4370 2006-10-26 David Bateman <dbateman@free.fr> |
4371 | |
4372 * Sparse.cc (Sparse<T>::resize_no_fill (octave_idx_type, | |
4373 octave_idx_type)): Be more careful with the size of the input | |
4374 matrix, and therefore don't create or read non existent data. | |
4375 | |
6092 | 4376 2006-10-25 John W. Eaton <jwe@octave.org> |
4377 | |
4378 * Sparse.cc (assign): Clear lhs index after error. | |
4379 | |
6093 | 4380 2006-10-25 David Bateman <dbateman@free.fr> |
6092 | 4381 |
4382 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4383 Fix previous patch so it works. | |
4384 | |
6087 | 4385 2006-10-25 Michael Goffioul <michael.goffioul@swing.be> |
4386 | |
6095 | 4387 * glob-match.h (glob_match::glob_match (const std::string&, |
4388 unsigned int)): Delete initializer for first arg. | |
4389 | |
6093 | 4390 * lo-sysdep.cc (opendir, readdir, rewinddir, closedir): |
4391 New functions. | |
4392 | |
6087 | 4393 * Makefile.in (XTRA_CDEFS, XTRA_CXXDEFS): Substitute here. |
4394 | |
6096 | 4395 * oct-env.cc (octave_env::do_get_home_directory) [_MSC_VER]: Use |
4396 same code as __MINGW32__. | |
4397 * syswait.h [_MSC_VER]: Define HAVE_WAITPID, WAITPID, and WNOHANG | |
4398 the same as for __MINGW32__. | |
4399 | |
4400 * randpoisson.c: Undefine INFINITE before redefining. | |
4401 | |
6079 | 4402 2006-10-24 David Bateman <dbateman@free.fr> |
4403 | |
4404 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Resize the | |
4405 lhs at the point we know the assignment can succeed if the lhs is | |
4406 empty. | |
4407 | |
6072 | 4408 2006-10-23 John W. Eaton <jwe@octave.org> |
4409 | |
4410 * Array.cc (assign2): Don't require vector assignments to be oriented. | |
4411 | |
6061 | 4412 2006-10-17 John W. Eaton <jwe@octave.org> |
4413 | |
4414 * lo-cieee.c: If isnan is not available but _isnan is, then define | |
4415 isnan to be _isnan, and define HAVE_ISNAN. Likewise for _finite | |
4416 and _copysign. | |
4417 | |
6059 | 4418 2006-10-17 Michael Goffioul <michael.goffioul@swing.be> |
6051 | 4419 |
6061 | 4420 * oct-syscalls.cc (syscalls::waitpid): Always declare and define retval. |
4421 | |
6708 | 4422 * CMatrix.cc (ComplexMatrix::solve): Avoid infinite recursion. |
4423 * CSparse.cc (SparseComplexMatrix::insert): Likewise. | |
6061 | 4424 |
6058 | 4425 * oct-types.h.in: Include limits.h, for CHAR_BIT. |
4426 | |
6059 | 4427 2006-10-13 Michael Goffioul <michael.goffioul@swing.be> |
4428 | |
6051 | 4429 * Makefile.in: Adapt rules to use $(LIBPRE). |
4430 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4431 2006-10-03 David Bateman <dbateman@free.fr> |
6027 | 4432 |
4433 * MatrixType.cc (MatrixType::MatrixType): Avoid crash if np == 0 | |
4434 or p == 0. | |
4435 | |
6018 | 4436 2006-10-02 John W. Eaton <jwe@octave.org> |
4437 | |
4438 * dbleDET.cc (DET::initialize2): Ensure arg to log10 is double. | |
4439 * CmplxDET.cc (ComplexDET::initialize2): Likewise. | |
4440 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
4441 2006-09-22 David Bateman <dbateman@free.fr> |
5996 | 4442 |
4443 * MatrixType.h (MatrixType::MatrixType(const SparseComplexMatrix&)): | |
5997 | 4444 Remove spurious warning. |
5996 | 4445 |
5992 | 4446 2006-09-15 John W. Eaton <jwe@octave.org> |
4447 | |
4448 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&) const): | |
4449 Handle resizing. | |
4450 | |
4451 * intNDArray.h (intNDArray<T>:elt_type): New typedef. | |
4452 | |
5983 | 4453 2006-09-11 John W. Eaton <jwe@octave.org> |
4454 | |
4455 * dMatrix.cc (operator * (const Matrix&, const Matrix&))): | |
4456 Handle M*v and rv*cv special cases. | |
4457 * CMatrix.cc (operator * (const ComplexMatrix&, const | |
4458 ComplexMatrix&))): Likewise. | |
4459 From Luis F. Ortiz <lortiz@interactivesupercomputing.com>. | |
4460 | |
4461 * dRowVector.cc (operator * (const RowVector&, const | |
4462 ColumnVector&)): Call xddot here instead of using a Fortran | |
4463 function directly. | |
4464 * CRowVector.cc (operator * (const ComplexRowVector&, const | |
4465 ComplexColumnVector&)): Call xzdotu here. | |
4466 | |
4467 2006-09-05 John W. Eaton <jwe@octave.org> | |
4468 | |
4469 * chNDArray.cc (charNDArray::any, charNDArray::all): Compare | |
4470 elements to '\0', not ' '. | |
4471 | |
5972 | 4472 2006-08-25 John W. Eaton <jwe@octave.org> |
4473 | |
4474 * mx-inlines.cc (MX_ND_REDUCTION): Special case for 0x0 arrays. | |
4475 | |
5958 | 4476 2006-08-23 John W. Eaton <jwe@octave.org> |
4477 | |
4478 * dMatrix.cc, dMatrix.h (Matrix::save_ascii): Delete function and decl. | |
4479 * CMatrix.cc, CMatrix.h (ComplexMatrix::save_ascii): Likewise. | |
4480 | |
5955 | 4481 2006-08-22 John W. Eaton <jwe@octave.org> |
4482 | |
5956 | 4483 * CMatrix.cc (ComplexMatrix::save_ascii): New function. |
4484 * dMatrix.cc (Matrix::save_ascii): New function. | |
4485 | |
5955 | 4486 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Correctly detect empty arrays. |
4487 If array is empty, return value is same size as array. | |
4488 (MX_ND_REDUCTION): Correctly detect empty arrays. | |
4489 If array is empty, produce correctly sized return value. | |
4490 | |
5940 | 4491 2006-08-18 John W. Eaton <jwe@octave.org> |
4492 | |
5943 | 4493 * dMatrix.cc (Matrix::any_element_not_one_or_zero): New function. |
4494 * dMatrix.h: Provide decl. | |
4495 * dNDArray.cc (NDArray::any_element_not_one_or_zero): New function. | |
4496 * dNDArray.h: Provide decl. | |
4497 * intNDArray.cc (intNDArray<T>::any_element_not_one_or_zero): | |
4498 New function. | |
4499 * intNDArray.h: Provide decl. | |
4500 | |
5940 | 4501 * Array.cc (Array<T>::permute): Only rearrange values if array is |
4502 not empty. | |
4503 | |
5904 | 4504 2006-07-26 John W. Eaton <jwe@octave.org> |
4505 | |
4506 * dbleDET.cc (DET::initialize10, DET::value_will_underflow, | |
4507 DET::value_will_overflow): Use xlog2 instead of log2. | |
4508 (DET::initialize2, DET::initialize10): Use xround instead of round. | |
4509 (DET::initialize2, DET::value): Use xexp2 instead of exp2. | |
4510 * CmplxDET.cc (ComplexDET::initialize10, | |
4511 ComplexDET::value_will_underflow, | |
4512 ComplexDET::value_will_overflow): Use xlog2 instead of log2. | |
4513 (ComplexDET::initialize2, ComplexDET::initialize10): | |
4514 Use xround instead of round. | |
4515 (ComplexDET::initialize2, ComplexDET::value): | |
4516 Use xexp2 instead of exp2. | |
4517 | |
4518 * lo-mappers.cc (M_LOG10E): Delete unused macro. | |
4519 (xlog2, xexp2): New functions. | |
4520 * lo-mappers.h: Provide decls. | |
4521 | |
5900 | 4522 2006-07-22 John W. Eaton <jwe@octave.org> |
4523 | |
4524 * Sparse.h (Sparse<T>::mex_get_data, Sparse<T>::mex_get_ir, | |
4525 Sparse<T>::mex_get_jc): New functions. | |
4526 | |
4527 2006-07-21 John W. Eaton <jwe@octave.org> | |
4528 | |
4529 * oct-inttypes.h (octave_int<T>::mex_get_data): New function. | |
4530 * Array.h (Array<T>::mex_get_data): New function. | |
4531 | |
5898 | 4532 2006-07-19 John W. Eaton <jwe@octave.org> |
4533 | |
4534 * oct-inttypes.h (octave_int::operator bool (void)): New function. | |
4535 | |
5893 | 4536 2006-07-16 John W. Eaton <jwe@octave.org> |
4537 | |
4538 * oct-spparms.h, oct-spparms.cc (class octave_sparse_params): | |
4539 Rename from SparseParams. Use same implementation method as other | |
4540 singleton classes in Octave. Change all uses of | |
4541 Voctave_sparse_controls to use static functions from | |
4542 octave_sparse_params class instead. | |
4543 | |
4544 * oct-spparms.h, oct-spparms.cc (SparseParams::set_key, | |
4545 SparseParams::get_key): Pass std::string arg by const reference, | |
4546 not const value. | |
4547 | |
5892 | 4548 2006-07-15 John W. Eaton <jwe@octave.org> |
4549 | |
4550 * data-conv.cc: Instantiante swap_bytes templates here. | |
4551 | |
4552 * MatrixType.cc (MatrixType::MatrixType): | |
4553 Use complete initializer lists in constructors. | |
4554 | |
5880 | 4555 2006-07-06 John W. Eaton <jwe@octave.org> |
4556 | |
4557 * str-vec.cc (string_vector::string_vector (std::list<std::string>&)): | |
4558 New constructor. | |
4559 * str-vec.h: Provide decl. | |
4560 | |
5876 | 4561 2006-07-01 David Bateman <dbateman@free.fr> |
4562 | |
4563 * dSparse.cc (tinverse): Check for rows with no elements and zero | |
4564 elements on the diagonal. Allow both Upper and Lower triangular | |
4565 matrices to be treated. | |
4566 * CSparse.cc (tinverse): ditto. | |
4567 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Take into account 64-bit | |
4568 constant assignment. | |
4569 | |
5870 | 4570 2006-06-30 John W. Eaton <jwe@octave.org> |
4571 | |
5872 | 4572 * lo-sysdep.cc (octave_chdir): Perform tilde expansion here. |
4573 * cmd-edit.cc (editor::read_init_file): Ditto. | |
4574 * dir-ops.cc (dir_entry::open): Ditto. | |
5871 | 4575 * file-stat.cc (stat::update_internal): Ditto. |
5872 | 4576 * cmd-hist.cc (command_history::set_file): Ditto. |
5871 | 4577 |
5870 | 4578 * data-conv.cc (data_conv::string_to_data_type): |
4579 Correctly handle leading "*". | |
4580 | |
5869 | 4581 2006-06-29 Atsushi Kajita <a-kajita@mizar.freemail.ne.jp> |
4582 | |
4583 * Sparse.cc (Sparse<T>::SparseRep::elem): Avoid out of bounds | |
4584 array access. | |
4585 | |
5866 | 4586 2006-06-27 John W. Eaton <jwe@octave.org> |
4587 | |
4588 * Makefile.in: Finish renaming of OBJECTS -> LIBOCTAVE_OBJECTS. | |
4589 | |
5864 | 4590 2006-06-21 John W. Eaton <jwe@octave.org> |
4591 | |
4592 * oct-shlib.cc (octave_dlopen_shlib::close, | |
4593 octave_shl_load_shlib::close, octave_w32_shlib::close): | |
4594 Skip do_close_hook if cl_hook is 0. | |
4595 | |
5863 | 4596 2006-06-16 John W. Eaton <jwe@octave.org> |
4597 | |
4598 * oct-sort.h: Don't include config.h, lo-mappers.h, or quit.h. | |
4599 * randmtzig.h: Don't inlcude config.h. | |
4600 | |
5837 | 4601 2006-05-31 David Bateman <dbateman@free.fr> |
4602 | |
4603 * Array.cc (assignN): Maybe reshape LHS before doing assignment. | |
4604 | |
5828 | 4605 2006-05-23 John W. Eaton <jwe@octave.org> |
4606 | |
4607 * oct-types.h.in: Include stdint.h or inttypes.h for integer | |
4608 typedefs, or define them if those files are not available. | |
4609 * oct-inttypes.h (octave_int8_t, octave_int16_t, octave_int32_t, | |
4610 octave_int64_t, octave_uint8_t, octave_uint16_t, octave_uint32_t, | |
4611 octave_uint64_t): Delete typedefs. Replace all uses of these | |
4612 types with int8_t, int16_t, etc. | |
4613 * data-conv.h (TWO_BYTE_INT, FOUR_BYTE_INT, EIGHT_BYTE_INT): | |
4614 Delete definitions. Replace all uses of these macros with int8_t, | |
4615 int16_t, etc. | |
4616 * randmtzig.h: Delete integer typedefs. | |
4617 | |
5822 | 4618 2006-05-18 John W. Eaton <jwe@octave.org> |
4619 | |
4620 * EIG.cc (EIG::init): Trap Inf and NaN values here. | |
4621 From Keith Goodman <kwgoodman@gmail.com>. | |
4622 | |
5813 | 4623 2006-05-08 David Bateman <dbateman@free.fr> |
4624 | |
4625 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): fix bug in previous | |
4626 modification. | |
4627 | |
5797 | 4628 2006-05-09 David Bateman <dbateman@free.fr> |
4629 | |
4630 * sparse-dmsolve.cc: Remove reference to ov-re-sparse.h, | |
4631 ov-cx-sparse. and error_state. | |
4632 * SparseQR.cc, SparseCmplxQR.cc (qrsolve): Return info = -1 on error. | |
4633 | |
5795 | 4634 2006-05-08 David Bateman <dbateman@free.fr> |
4635 | |
4636 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Set column pointers in | |
4637 first pass and use to determine which algorithm to use on a | |
4638 column-by-column basis. | |
4639 | |
5792 | 4640 2006-05-04 David Bateman <dbateman@free.fr> |
4641 | |
4642 * SparseQR.cc, SparseQR.h, SparseCmplxQR.cc, SparseCmplxQR.h, | |
4643 sparse-dmsolve.cc : Allow compilation with versions v2.0.0 of | |
4644 CXSparse or later | |
4645 | |
5785 | 4646 2006-05-03 David Bateman <dbateman@free.fr> |
4647 | |
4648 * CMatrix.cc (zpotrf, zpocon, zpotrs, ztrcon, ztrtrs): | |
4649 External declaration of lapack triangular and Cholesky codes. | |
4650 (ComplexMatrix::utsolve, ComplexMatrix::ltsolve, | |
4651 ComplexMatrix::fsolve): New private solver codes for | |
4652 upper, lower and LU/Cholesky solvers. | |
4653 (ComplexMatrix::solve): New versions for cached matrix | |
4654 type. Adapt old versions to call new versions | |
4655 * CMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4656 new solvers. | |
4657 (solve): New versions for cached matrix type. | |
4658 * dMatrix.cc (dpotrf, dpocon, dpotrs, dtrcon, dtrtrs): | |
4659 External declaration of lapack triangular and Cholesky codes. | |
4660 (Matrix::utsolve, Matrix::ltsolve, | |
4661 Matrix::fsolve): New private solver codes for | |
4662 upper, lower and LU/Cholesky solvers. | |
4663 (Matrix::solve): New versions for cached matrix | |
4664 type. Adapt old versions to call new versions | |
4665 * dMatrix.h (utsolve, ltsolve, fsolve): Declaration of | |
4666 new solvers. | |
4667 (solve): New versions for cached matrix type. | |
4668 * CSparse.cc: Replace all uses of SparseType with MatrixType. | |
4669 * CSparse.h: ditto. | |
4670 * dSparse.cc: ditto. | |
4671 * dSparse.h: ditto. | |
4672 * SparseCmplxCHOL.cc: ditto. | |
4673 * SparsedbleCHOL.cc: ditto. | |
4674 * sparse-dmsolve.cc: ditto. | |
4675 * SparseType.cc, SparseType.h: delete. | |
4676 * MatrixType.cc: New file for class to cache matrix type, based on | |
4677 old SparseType class but caching matrix and sparse types. | |
4678 * MatrixType.h: ditto. | |
4679 * Makefile.in (MATRIX_INC, MATRIX_SRC): Add MatrixType.h and | |
4680 MatrixType.cc respectively. Delete SparseType.h and SparseType.cc | |
4681 respectively. | |
4682 * mx-base.h: Include MatrixTye.h as header file. | |
4683 | |
5781 | 4684 2006-05-01 John W. Eaton <jwe@octave.org> |
4685 | |
4686 * oct-shlib.h (octave_shlib::octave_shlib, octave_shlib::open): | |
4687 Delete WARN_FUTURE arg. Change all uses. | |
4688 * oct-shlib.cc (octave_base_shlib::stamp_time): Delete arg. | |
4689 Change all uses. Use current_liboctave_warning_with_id_handler. | |
4690 (octave_base_shlib::open): Delete arg. Change all derived classes | |
4691 and uses. | |
4692 | |
4693 2006-04-29 John W. Eaton <jwe@octave.org> | |
4694 | |
4695 * Array-flags.cc, Array-flags.h: Delete. | |
4696 * Makefile.in (MATRIX_SRC): Remove Array-flags.cc from the list. | |
4697 (MATRIX_INC): Remove Array-flags.h from the list. | |
4698 | |
4699 * idx-vector.cc (IDX_VEC_REP::freeze): Delete warn_resize arg. | |
4700 Use current_liboctave_warning_with_id_handler | |
4701 with warning ID Octave:resize-on-range-error. | |
4702 * idx-vector.h: Fix decl. | |
4703 * Array.cc, Sparse.cc: Change all callers. | |
4704 | |
4705 * Array.cc (Array<T>::maybe_delete_elements, Array<T>::index2, | |
4706 assign2, assignN): Use current_liboctave_warning_with_id_handler | |
4707 with warning ID Octave:fortran-indexing instead of | |
4708 liboctave_wfi_flag. | |
4709 * Sparse.cc (assign, Sparse<T>::index): Likewise. | |
4710 | |
5777 | 4711 2006-04-26 John W. Eaton <jwe@octave.org> |
4712 | |
4713 * pathsearch.cc (dir_path::path_sep_char, dir_path::path_sep_str): | |
4714 New static data. | |
4715 * pathsearch.h: Provide decls. | |
4716 (dir_path::is_path_sep): New function. | |
4717 | |
5766 | 4718 2006-04-18 John W. Eaton <jwe@octave.org> |
4719 | |
4720 * randmtzig.c (randmt, randi53, randi54, randi64, randu32, randu53): | |
4721 Omit inline from decl. | |
4722 | |
4723 * Sparse.cc (Sparse<T>::index): Use std::vector<bool> to avoid | |
4724 local array with variable dimension. | |
4725 | |
5764 | 4726 2006-04-16 John W. Eaton <jwe@octave.org> |
4727 | |
5765 | 4728 * lo-sstream.h: Delete. |
4729 * Makefile.in (INCLUDES): Remove it from the list. | |
4730 | |
4731 * dim-vector.h (dim_vector::str): Use std::ostringstream directly. | |
4732 * Sparse.cc (Sparse::range_error): Likewise. | |
4733 * DASSL.cc (DASSL::error_message): Likewise. | |
4734 * LSODE.cc (LSODE::error_message): Likewise. | |
4735 * DASRT.cc (DASRT::error_message): Likewise. | |
4736 * DASPK.cc (DASPK::error_message): Likewise. | |
4737 * Array.cc (Array::range_error): Likewise. | |
4738 | |
5764 | 4739 * kpse.cc (kpse_hash): Rename from hash. |
4740 (hash_lookup): Call kpse_hash instead of hash. | |
4741 | |
4742 * SparseType.cc (SparseType::SparseType): Use std::vector<bool> | |
4743 to avoid local array with variable dimension. | |
4744 | |
5760 | 4745 2006-04-13 David Bateman <dbateman@free.fr> |
4746 | |
4747 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4748 Optimize assignment. | |
4749 | |
4750 2006-04-13 John W. Eaton <jwe@octave.org> | |
4751 | |
4752 * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): | |
4753 Eliminate unnecessary casts. | |
4754 * SparsedbleLU.cc (SparseLU::SparseLU): Likewise. | |
4755 | |
4756 * kpse.cc (fopen): Use reinterpret_cast instead of C-style cast. | |
4757 (log_search, dir_links): Use static_cast instead of C-style cast. | |
4758 | |
4759 * prog-args.cc (args::getopt): Use reinterpret_cast instead of X_CAST. | |
4760 * oct-alloc.cc (allocator::grow): Likewise. | |
4761 * CSparse.cc (SparseComplexMatrix::determinant, | |
4762 SparseComplexMatrix::factorize, SparseComplexMatrix::fsolve): | |
4763 Likewise. | |
4764 * SparseCmplxLU.cc (SparseComplexLU::SparseComplexLU): Likewise. | |
4765 | |
4766 * oct-sort.cc (roundupsize, octave_sort<T>::merge_getmem): | |
4767 Use static_cast instead of C-style cast. | |
4768 * CSparse.cc (SparseComplexMatrix::fsolve): Likewise. | |
4769 * dSparse.cc (SparseMatrix::fsolve): Likewise. | |
4770 | |
4771 * data-conv.cc (LS_DO_WRITE): Use static_cast for value conversion. | |
4772 Use OCTAVE_LOCAL_BUFFER instead of new/delete. | |
4773 (LS_DO_READ): Allocate local buffer to avoid pointer tricks. | |
4774 (write_doubles, read_doubles, LS_DO_WRITE, LS_DO_READ): | |
4775 Use reinterpret_cast instead of X_CAST. | |
4776 | |
4777 * DiagArray2.h (DiagArray2::Proxy::operator&): No need to cast | |
4778 return value here. | |
4779 | |
5752 | 4780 2006-04-12 Rafael Laboissiere <rafael@debian.org> |
4781 | |
4782 * ArrayN.h (ArrayN::ArrayN): Qualify fill with Array<T> base class. | |
4783 * DiagArray2.h (DiagArray2::DiagArray2): Likewise. | |
4784 | |
5730 | 4785 2006-04-03 David Bateman <dbateman@free.fr> |
4786 | |
5731 | 4787 * Sparse.cc (Sparse<T>::resize): Use xcidx rather than cdix, etc |
4788 to avoid copy of original matrix. | |
4789 | |
5730 | 4790 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and |
4791 randmtzig.h to the list. | |
4792 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
4793 randmtzig.c to the list. | |
4794 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
4795 (use_old_generators): New variable. | |
4796 (old_initialized): Rename from initialized. | |
4797 (new_initialized): New variable. | |
4798 (oct_init_by_entropy): New function. | |
4799 (maybe_initialize): Initialize new or old generator depending on | |
4800 value of use_old_generators. | |
4801 (octave_rand::state): New functions. | |
4802 (octave_rand::distribution): Add gamma, exponential and poisson | |
4803 distributions. | |
4804 (octave_rand::exponential_distribution, | |
4805 octave_rand::poisson_distribution, | |
4806 octave_rand::gamma_distribution): New methods to select | |
4807 exponential, poisson or gamma distribution. | |
4808 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4809 octave_rand::vector): Add new distributions. | |
4810 * oct-rand.h: Provide decls for new functions. | |
4811 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
4812 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
4813 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
4814 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
4815 randmtzig.h: New files. | |
4816 | |
5717 | 4817 2006-03-24 John W. Eaton <jwe@octave.org> |
4818 | |
4819 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | |
4820 Array<octave_idx_type>, so fortran_vec returns pointer to | |
4821 octave_idx_type, not pointer to int. | |
4822 | |
4823 * CMatrix.cc, CMatrix.h (ComplexMatrix::row (char*), | |
4824 ComplexMatrix::column (char*)): Delete. | |
4825 * dMatrix.cc, dMatrix.h (Matrix::row (char*), | |
4826 Matrix::column (char*)): Delete. | |
4827 | |
5713 | 4828 2006-03-21 David Bateman <dbateman@free.fr> |
4829 | |
4830 * SparseQR.h: Publish externally used friends. | |
4831 * SparseCmplxQR.h: ditto. | |
4832 | |
5700 | 4833 2006-03-21 John W. Eaton <jwe@octave.org> |
4834 | |
4835 * lo-specfun.cc (betainc): Use F77_XFCN instead of F77_FUNC for | |
4836 call to xdbetai. | |
4837 | |
5697 | 4838 2006-03-21 David Bateman <dbateman@free.fr> |
4839 | |
5701 | 4840 * lo-specfun.cc (xlgamma, xgamma): Trap special values. |
4841 (xlgamma): Use F77_XFCN instead of F77_FUNC for call to dlgams. | |
5700 | 4842 |
4843 * dSparse.cc (solve): Add argument singular_fallback, to allow | |
4844 fallback to QR solvers to be optional. | |
4845 * CSparse.cc (solve): Ditto. | |
4846 * dSparse.h (solve): update declaration for new argument. | |
4847 * CSparse.h (solve): Ditto. | |
4848 * sparse-dmsolve.cc (dmsolve): Use singular_fallback argument | |
4849 to bypass QR solvers when solving the well determined part of | |
4850 the problem. | |
5697 | 4851 |
5690 | 4852 2006-03-17 John W. Eaton <jwe@octave.org> |
4853 | |
4854 * str-vec.cc (vector::list_in_columns): New optional arg, width. | |
4855 | |
5681 | 4856 2006-03-16 David Bateman <dbateman@free.fr> |
4857 | |
4858 * CSparse.cc: Change use of nzmax to nnz to allow automatic | |
4859 reduction of matrix size, except for a couple of cases where nzmax | |
4860 is needed. | |
4861 (zpbcon): Correct declaration of lapack zpbcon function. | |
4862 (dsolve, utsolve, ltsolve, trisolve, bsolve, factorize, fsolve): Add | |
4863 an argument to allow the calculation of condition number to be | |
4864 optional. | |
4865 (bsolve): Add code for the calculation of the condition number | |
4866 using zpbcon and zgbcon. | |
4867 (dsolve): Bug fix for rectangular matrices with sparse RHS. | |
4868 (utsolve, ltsolve, trisolve, bsolve, fsolve): Mark matrix type as | |
4869 singular if singularity is detected. | |
4870 (solve): Use optional argument to disable calculation of | |
4871 condition number for all but fsolve, for speed. Add code to | |
4872 allow rectnagular matrices or matrices identified as singular | |
4873 to be treated. | |
4874 (lssolve): delete. | |
4875 (operator *): Don't recast real matrices as complex, but | |
4876 rather use the macro directly on the real data. | |
4877 * dSparse.cc: ditto. | |
4878 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, | |
4879 fsolve, factorize): Update declaration for new argument to | |
4880 calculate the condition number. | |
4881 (lssolve): delete. | |
4882 * dSparse.h: ditto. | |
4883 * Msparse.h: Change use of nxmax to nnz to allow automatic | |
4884 reduction of matrix size, except for a couple of cases where | |
4885 nzmax is needed. | |
4886 * Sparse.cc: Change use of nxmax to nnz to allow automatic | |
4887 reduction of matrix size, except for a couple of cases where | |
4888 nzmax is needed. | |
4889 (Sparse<T>::index (idx_vector&, idx_vector&, int) const): | |
4890 Special case strict permutations for speed. | |
4891 * Sparse-op-defs.h: Change use of nxmax to nnz to allow automatic | |
4892 reduction of matrix size, except for a couple of cases where | |
4893 nzmax is needed. | |
4894 (SPARSE_SPARSE_MUL, SPARSE_FULL_MUL, FULL_SPARSE_MUL): Update | |
4895 macros to allow mixed complex/real arguments. | |
4896 * SparseCmplxQR.cc (OCTAVE_C99_ZERO): New macro for C99 zero | |
4897 value. | |
4898 (qrsolve): Use it to zero temporary buffers used bt CXSPARSE. | |
4899 * SparseType.cc (SparseType::SparseType ()): Correct detection | |
4900 of permutated triangular matrices to avoid seg-faults. Disable | |
4901 detection of underdetermined lower and over-determined upper | |
4902 matrix due to problems with non minimum norm solutions. | |
4903 * sparse-dmsolve.cc: New file for Dulmage-Mendelsohn solver. | |
4904 * Makefile.in: add sparse-dmsolve.cc to targets. | |
4905 | |
5675 | 4906 2006-03-15 William Poetra Yoga Hadisoeseno <williampoetra@gmail.com> |
4907 | |
4908 * oct-time.cc (octave_strptime::init): Return useful character count. | |
4909 | |
5648 | 4910 2006-03-08 David Bateman <dbateman@free.fr> |
4911 | |
4912 * SparseCmplxQR.cc: Updates for new upstream CXSPARSE release. Fix for | |
4913 g++ 4.x stl_vector.h issue with C99 double _Complex type. | |
4914 * SparseCmplxQR.h: Updates for new upstream CXSPARSE release. | |
4915 * SparseQR.cc: ditto. | |
4916 * SparseQR.h: ditto. | |
4917 * oct-sparse.h: ditto. | |
4918 * sparse-base-chol.cc (sparse_base_chol<>::sparse_base_chol_rep::init): | |
4919 Declare info variable as volatile. | |
4920 | |
4921 * Sparse.cc (Sparse<T>::transpose (void) const): Accelerate algorithm. | |
4922 * CSparse.cc (SparseComplexMatrix::transpose (void) const): ditto. | |
4923 | |
5634 | 4924 2006-03-01 John W. Eaton <jwe@octave.org> |
4925 | |
4926 * CMatrix.cc (ComplexMatrix::determinant): | |
4927 Scale result by factors of 2, not 10. | |
4928 * dMatrix.cc (Matrix::determinant): Likewise. | |
4929 | |
4930 * dbleDET.h (DET::DET): Use initializer list. | |
4931 (DET::coefficient2, DET::coefficient10, DET::exponent2, | |
4932 DET::exponent10): New functions. | |
4933 (DET::det): Delete. | |
4934 (DET::c2, DET::c10, DET::e2, DET::e10, DET::base2): New data members. | |
4935 Store value internally with double and int instead of 2-element | |
4936 double vector. | |
4937 (DET::initialize2, DET::initialize10): Provide decls. | |
4938 * dbleDET.cc (DET::value_will_overflow, DET::value_will_underflow): | |
4939 Return bool value, not int. | |
4940 (DET::initialize2, DET::initialize10): New functions. | |
4941 | |
4942 * CmplxDET.h (ComplexDET::ComplexDET): Use initializer list. | |
4943 (ComplexDET::coefficient2, ComplexDET::coefficient10, | |
4944 ComplexDET::exponent2, ComplexDET::exponent10): New functions. | |
4945 (ComplexDET::det): Delete. | |
4946 (ComplexDET::c2, ComplexDET::c10, ComplexDET::e2, ComplexDET::e10, | |
4947 ComplexDET::base2): New data members. | |
4948 Store value internally with Complex and int instead of 2-element | |
4949 Complex vector. | |
4950 (ComplexDET::initialize2, ComplexDET::initialize10): Provide decls. | |
4951 * dbleComplexDET.cc (ComplexDET::value_will_overflow, | |
4952 ComplexDET::value_will_underflow): Return bool value, not int. | |
4953 (ComplexDET::initialize2, ComplexDET::initialize10): New functions. | |
4954 | |
5632 | 4955 2006-02-24 John W. Eaton <jwe@octave.org> |
4956 | |
4957 * Array.cc (assignN): Clear index before reshaping. | |
4958 | |
4959 * Array.h (Array<T>::operator =): Don't set idx to 0 if copying self. | |
4960 | |
5630 | 4961 2006-02-20 David Bateman <dbateman@free.fr> |
4962 | |
4963 * dSparse.cc (dsolve, utsolve, ltsolve): Remove restriction that | |
4964 matrix must be square in diagonal, permuted diagonal, triangular | |
4965 and permuted triangular back/forward substitution code. Change | |
4966 ambiguous use of no. rows and columns. | |
4967 * CSParse.cc (dsolve, utsolve, ltsolve): ditto. | |
4968 * SparseType.cc (SparseType::SparseType(const SparseMatrix&), | |
4969 SparseType::SparseType(const SparseComplexMatrix&)): Recognize | |
4970 rectangular diagonal, permuted diagonal, triangular and permuted | |
4971 triangular matrices. | |
4972 * Sparse.cc (Sparse<T>::Sparse (octave_idx_type, octave_idx_type, T)): | |
4973 Treat case where third argument is zero. | |
4974 | |
5621 | 4975 2006-02-15 John W. Eaton <jwe@octave.org> |
4976 | |
5622 | 4977 * kpse.cc: Do define ST_NLINK_TRICK for Cygwin systems. |
4978 (do_subdir) [ST_NLINK_TRICK]: Check links != 2 instead of links > 2. | |
4979 | |
5621 | 4980 * getopt.c: Use __CYGWIN__ instead of __CYGWIN32__. |
4981 | |
5619 | 4982 2006-02-13 David Bateman <dbateman@free.fr> |
4983 | |
4984 * Makefile.in (LINK_DEPS): Add missing dependencies on colamd, | |
4985 ccolamd and cxsparse | |
4986 | |
5617 | 4987 2006-02-13 John W. Eaton <jwe@octave.org> |
4988 | |
5618 | 4989 * kpse.cc (kpse_path_iterator::next): Reverse order of tests in |
4990 while loop condition. | |
4991 (kpse_path_iterator::operator =): Declare as private function but | |
4992 don't define to prevent attempts to use assignment operator. | |
4993 Don't define ST_NLINK_TRICK for Cygwin systems. | |
5617 | 4994 |
5615 | 4995 2006-02-10 John W. Eaton <jwe@octave.org> |
4996 | |
4997 * mx-inlines.cc (MX_ND_REDUCTION): Store in cummulative | |
4998 product of all dimensions in CP_SZ. | |
4999 | |
5611 | 5000 2006-02-09 John W. Eaton <jwe@octave.org> |
5001 | |
5002 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Store in cummulative | |
5615 | 5003 product of all dimensions in CP_SZ. |
5611 | 5004 |
5610 | 5005 2006-02-09 David Bateman <dbateman@free.fr> |
5006 | |
5007 * SparseQR.cc: new file for real sparse QR class. | |
5008 * SparseQR.h: declaration. | |
5009 * SparseCmplxQR.cc: new file for complex sparse QR class. | |
5010 * SparseCmplxQR.h: declaration. | |
5011 * dSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5012 (factorize, fsolve): Enable code code lssolve. | |
5013 (lssolve): disable unused args, write based in above sparse QR class. | |
5014 * CSparse.cc (dinverse,tinverse,inverse): Remove unused input args. | |
5015 (factorize, fsolve): Enable code code lssolve. | |
5016 (lssolve): disable unused args, write based in above sparse QR class. | |
5017 * oct-sparse.h: fix location of colamd, ccolamd and metis headers. | |
5018 Include CXSparse headers. | |
5019 * Makefile.in (MATRIX_INC): Include SparseQR.h and SparseCmplxQR.h. | |
5020 (MATRIX_SRC): Include SparseQR.cc and SparseCmplxQR.cc. | |
5021 | |
5607 | 5022 2006-02-08 John W. Eaton <jwe@octave.org> |
5023 | |
5024 * Array-util.h (calc_permutated_idx): Delete. | |
5025 * Array.cc (permute_vector): New data structure. | |
5026 (permute_vector_compare): New function. | |
5027 (Array<T>::permute): Rewrite to avoid calc_permutated_index for | |
5028 improved performance. | |
5029 | |
5606 | 5030 2006-02-04 David Bateman <dbateman@free.fr> |
5031 | |
5032 * COLAMD: Remove all files, as now unused. | |
5033 | |
5604 | 5034 2006-01-31 John W. Eaton <jwe@octave.org> |
5035 | |
5036 * Sparse.h (Sparse<T>::nzmax): New function. | |
5037 (Sparse<T>::nnz): Rename from nonzero. | |
5038 Change all uses of old nnz function to be nzmax. Change all uses | |
5039 of nonzero to be nnz. | |
5040 (Sparse<T>::nzmx): Rename from nnz (data member). Change all uses. | |
5041 | |
5603 | 5042 2006-01-21 David Bateman <dbateman@free.fr> |
5043 | |
5044 * sparse-sort.cc (bool octave_sparse_sidxl_comp): 64-bit fix. | |
5045 (bool octave_idx_vector_comp): New function. | |
5046 (template class octave_sort<octave_idx_vector_sort *>): Instantiate | |
5047 indexed idx_vector sorting function. | |
5048 * sparse-sort.h (class octave_sparse_sort_idxl): 64-bit fix. | |
5049 (class octave_idx_vector_sort): New class for indexed idx_vector | |
5050 sorting. | |
5051 (bool octave_idx_vector_comp): Declaration. | |
5052 * Sparse.cc (int assign1(Sparse<LT>&, Sparse<RT>&)): Treat cases of | |
5053 unordered LHS indexes in assignment using new octave_idx_vector_sort | |
5054 class. | |
5055 (int assign(Sparse<LT>&, Sparse<RT>&)): ditto. | |
5056 | |
5602 | 5057 2006-01-30 John W. Eaton <jwe@octave.org> |
5058 | |
5059 * so-array.h (streamoff_array::nnz): New funtion. | |
5060 * boolNDArray.h (boolNDArray::nnz): New function. | |
5061 * MArrayN.h (MArrayN<T>::nnz): New function. | |
5062 * MArray.h (MArray<T>::nnz): New function. | |
5063 | |
5587 | 5064 2006-01-04 David Bateman <dbateman@free.fr> |
5065 | |
5066 * Spars-op-defs.h (SPARSE_SPARSE_MUL): Previous change resulted in | |
5067 elements not being sorted in return matrix. Sort them, and make | |
5068 solver select between two algorithms to further improve the | |
5069 performance. | |
5070 * dSparse.cc: include oct-sort.h. | |
5071 * CSparse.cc: ditto. | |
5072 * sparse-sort.cc: Instantiate octave_sort<octave_idx_type>. | |
5073 | |
5586 | 5074 2005-12-28 David Bateman <dbateman@free.fr> |
5075 | |
5587 | 5076 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Improved algorithm that is |
5077 faster in all cases, and significantly so for low density or small | |
5078 order problems. | |
5586 | 5079 |
5552 | 5080 2005-11-30 John W. Eaton <jwe@octave.org> |
5081 | |
5082 * LSODE.cc (LSODE::do_integrate (double)): Resize iwork and rwork | |
5083 before setting any values in either array. | |
5084 | |
5547 | 5085 2005-11-29 John W. Eaton <jwe@octave.org> |
5086 | |
5087 * oct-uname.h, oct-uname.cc: New files. | |
5088 * Makefile.in: Add them to the appropriate lists. | |
5089 | |
5535 | 5090 2005-11-11 John W. Eaton <jwe@octave.org> |
5091 | |
5092 * Array.cc (Array<T>::indexN): Simplify. | |
5093 | |
5533 | 5094 2005-11-09 John W. Eaton <jwe@octave.org> |
5095 | |
5096 * oct-inttypes.h (octave_int::operator char (void) const): | |
5097 New conversion op. | |
5098 | |
5527 | 5099 2005-11-01 John W. Eaton <jwe@octave.org> |
5100 | |
5101 * Makefile.in (distclean): Also remove oct-types.h. | |
5102 From Quentin Spencer <qspencer@ieee.org>. | |
5103 | |
5526 | 5104 2005-10-31 David Bateman <dbateman@free.fr> |
5105 | |
5106 * dSparse.cc, CSparse.cc: Use C++ true/false instead of | |
5107 preprocessor defined TRUE/FALSE. | |
5108 | |
5523 | 5109 2005-10-30 John W. Eaton <jwe@octave.org> |
5110 | |
5111 * mx-inlines.cc (MX_ND_REDUCTION): Iterate in direction of DIM. | |
5112 (MX_ND_CUMULATIVE_OP): Likewise. | |
5113 | |
5519 | 5114 2005-10-29 John W. Eaton <jwe@octave.org> |
5115 | |
5520 | 5116 * mx-inlines.cc (MX_ND_REDUCTION): Avoid increment_index to speed |
5117 things up. Simplify. | |
5118 | |
5519 | 5119 * Array.cc (Array<T>::indexN): Simplify. Delete separate special |
5120 case for "vector_equivalent". | |
5121 | |
5122 * Array-util.cc (vector_equivalent): Arg is now dim_vector. | |
5123 | |
5518 | 5124 2005-10-28 John W. Eaton <jwe@octave.org> |
5125 | |
5126 * oct-sparse.h: Fix typo in HAVE_UFSPARSE_UMFPACK_H. | |
5127 From Quentin Spencer <qspencer@ieee.org>. | |
5128 | |
5129 * sparse-base-chol.cc: Use C++ true/false instead of | |
5130 preprocessor defined TRUE/FALSE. Use 0 instead of NULL. | |
5131 | |
5516 | 5132 2005-10-27 John W. Eaton <jwe@octave.org> |
5133 | |
5134 * Array.cc (assignN): Reshape to final size instead of resizing. | |
5135 | |
5512 | 5136 2005-10-26 John W. Eaton <jwe@octave.org> |
5137 | |
5138 * oct-sparse.h: New file. | |
5139 * oct-sparse.h.in: Delete. | |
5140 | |
5511 | 5141 2005-10-26 David Bateman <dbateman@free.fr> |
5142 | |
5143 * sparse-base-chol.h: Include cholmod specific code in HAVE_CHOLMOD | |
5144 * sparse-base-chol.cc: ditto. | |
5145 | |
5508 | 5146 2005-10-26 John W. Eaton <jwe@octave.org> |
5147 | |
5148 Changes for GCC 4.1, tip from Arno J. Klaassen | |
5149 <arno@heho.snv.jussieu.fr>: | |
5150 | |
5509 | 5151 * dSparse.h (real (const SparseComplexMatrix&)): |
5152 Publish externally used friend function. | |
5153 (imag (const SparseComplexMatrix&)): Likewise. | |
5154 | |
5508 | 5155 * dColVector.h (real (const ComplexColumnVector&)): |
5156 Publish externally used friend function. | |
5157 (imag (const ComplexColumnVector&)): Likewise. | |
5158 | |
5159 * dNDArray.h (real (const ComplexNDArray&)): | |
5160 Publish externally used friend function. | |
5161 (imag (const ComplexNDArray&)): Likewise. | |
5162 | |
5163 * dMatrix.h (operator * (const ComplexMatrix&)): | |
5164 Move decl outside class. No need to be friend. | |
5165 (real (const ComplexMatrix&)): Publish externally used friend function. | |
5166 (imag (const ComplexMatrix&)): Likewise. | |
5167 | |
5168 * CMatrix.h: (operator * (const ColumnVector&, const | |
5169 ComplexRowVector&)): Move decl outside class. No need to be friend. | |
5170 (operator * (const ComplexColumnVector&, const RowVector&)): Likewise. | |
5171 (operator * (const ComplexColumnVector&, const ComplexRowVector& b)): | |
5172 Likewise. | |
5173 | |
5506 | 5174 2005-10-23 David Bateman <dbateman@free.fr> |
5175 | |
5176 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Check whether trailing zero | |
5177 elements need to be removed. | |
5178 | |
5179 * oct-sparse.h.in: Include metis headers and some macros for long/int | |
5180 versions of cholmod. | |
5181 | |
5182 * CSparse.cc (tinverse): New private function for the inversion of | |
5183 an upper triangular matrix. | |
5184 (dinverse): ditto for diagonal matrices. | |
5185 (inverse): Add SparseType as an argument. Implement matrix inverse | |
5186 using tinverse and dinverse. | |
5187 (fsolve): Use cholmod to implement Cholesky solver. | |
5188 * CSparse.h (tinverse, dinverse): Declarations | |
5189 (inverse): Alter declaration to include SparseType. | |
5190 | |
5191 * dSparse.cc (tinverse, dinverse, inverse, fsolve): ditto. | |
5192 * dSparse.h (tinverse, dinverse, inverse): ditto. | |
5193 | |
5194 * SparseType.cc: Fix complex constructor for hermitian matrices. | |
5195 | |
5196 * sparse-util.cc: New file for sparse utility functions. | |
5197 * sparse-util.h: New file with declarations of sparse utility | |
5198 functions. | |
5199 | |
5200 * sparse-base-chol.cc: New file with sparse cholesky class based | |
5201 on cholmod. | |
5202 * sparse-base-chol.h: New file with declaration of sparse cholesky | |
5203 class based on cholmod. | |
5204 | |
5205 * SparseCmplxCHOL.cc: Instantiate sparse cholesky class for Complex. | |
5206 * SparseCmplxCHOL.h: Declaration of sparse cholesky class. | |
5207 | |
5208 * SparsedbleCHOL.cc: ditto. | |
5209 * SparsedbleCHOL.h: ditto. | |
5210 | |
5211 * Makefile.in (MATRIX_INC): Include sparse-base-chol.h. | |
5212 (INCLUDES): Include sparse-util.h | |
5213 (TEMPLATE_SRC): Include sparse-base-chol.cc | |
5214 (MATRIX_SRC): Include SparseCmplxCHOL.cc and SparsedbleCHOL.cc | |
5215 | |
5489 | 5216 2005-10-12 John W. Eaton <jwe@octave.org> |
5217 | |
5218 * oct-env.cc (octave_env::have_x11_display): New function. | |
5219 * oct-env.h: Provide decl. | |
5220 | |
5476 | 5221 2005-09-29 John W. Eaton <jwe@octave.org> |
5222 | |
5223 * file-stat.h (file_stat::mode): New function. | |
5224 | |
5225 * file-stat.cc (file_stat::is_blk, file_stat::is_chr, | |
5226 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
5227 file_stat::is_reg, file_stat::is_sock): New static functions. | |
5228 * file-stat.h: Provide decls. | |
5229 | |
5230 2005-09-28 John W. Eaton <jwe@octave.org> | |
5231 | |
5232 * file-ops.cc (file_ops::recursive_rmdir): New function. | |
5233 * file-ops.h: Provide decl. | |
5234 | |
5454 | 5235 2005-09-19 David Bateman <dbateman@free.fr> |
5236 | |
5237 * oct-env.cc (octave_env::do_get_home_directory): | |
5238 Also check HOMEDRIVE under mingw. | |
5239 | |
5455 | 5240 * Makefile.in (LINK_DEPS): Include UFsparse libraries. |
5241 | |
5453 | 5242 2005-09-16 John W. Eaton <jwe@octave.org> |
5243 | |
5244 * oct-syscalls.cc: Include lo-utils.h here. | |
5245 (octave_syscalls::waitpid): Call octave_waitpid here. | |
5246 | |
5247 * lo-cutils.c (octave_waitpid): New function. | |
5248 * lo-utils.h: Provide decl. Include syswait.h here, not in | |
5249 oct-syscalls.cc | |
5250 | |
5251 | |
5252 * syswait.h [__MINGW32__]: Define WAITPID here instead of defining | |
5253 waitpid in src/sysdep.h. Make this header C-compatible. | |
5254 | |
5255 * oct-syscalls.cc (octave_syscalls::waitpid): New arg, status. | |
5256 Change all uses. | |
5257 | |
5451 | 5258 2005-09-15 John W. Eaton <jwe@octave.org> |
5259 | |
5260 * Makefile.in (MAKEDEPS_2): Omit unnecessary variable. | |
5261 | |
5262 * oct-sparse.h.in: New file. | |
5263 * Makefile.in (DISTFILES): Include it in the list. | |
5264 (INCLUDES): Add oct-sparse.h to the list. | |
5265 | |
5266 2005-09-15 David Bateman <dbateman@free.fr> | |
5267 | |
5268 * dSparse.cc : Include oct-sparse.h for probed umfpack, colamd etc | |
5269 headers. Remove include of umfpack.h. | |
5270 * CSparse.cc : ditto. | |
5271 * SparsedbleLU.cc : ditto. | |
5272 * SparseCmplxLU.cc : ditto. | |
5273 | |
5274 * COLAMD : Remove colamd files from octave. | |
5275 * COLAMD.files : delete. | |
5276 * COLAMD.README : delete. | |
5277 * Makefile.in: Remove COLAMD. Add LIBGLOB. | |
5278 (LN_S): Change to DESTDIR before LN_S to avoid lack of symlinks | |
5279 under mingw. | |
5280 | |
5281 * kpse.cc (ENV_SEP, ENV_SEP_STRING): Use SEPCHAR and SEPCHAR_STR | |
5282 in definition. | |
5283 * lo-cutils.c (octave_w32_library_search): Call GetProcAddress with | |
5284 change of cast not allowed under g++ 3.x. | |
5285 * lo-utils.h (octave_w32_library_search): Declaration. | |
5286 * oct-env.cc (do_get_home_directory): Also check HOMEPATH under mingw. | |
5287 * oct-shlib.cc (octave_w32_shlib::search): Use octave_w32_library_search. | |
5288 | |
5442 | 5289 2005-09-07 John W. Eaton <jwe@octave.org> |
5290 | |
5291 * cmd-edit.cc (command_editor::do_decode_prompt_string): Update | |
5292 based on current code in Bash. Handle a few more escape | |
5293 sequences. Do a better job of decoding \W. | |
5294 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5295 2005-09-04 David Bateman <dbateman@free.fr> |
5438 | 5296 |
5297 * COLAMD: Update version of colamd to v2.4. | |
5298 * COLAMD.files: Add colamd_global.c to COLAMD_SRC and second build of | |
5299 colamd.c for long version. | |
5300 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5301 2005-08-25 David Bateman <dbateman@free.fr> |
5429 | 5302 |
5303 * Sparse-op-defs.h (FULL_SPARSE_MUL, SPARSE_FULL_MUL): Macro for | |
5304 mixed sparse/full multiply. | |
5305 * dSparse.cc (operator *), CSparse.cc (operator *): New operators for | |
5306 mixed sparse/full multiply. | |
5307 * dSparse.h (operator *), CSparse.h (operator *): Declaration of | |
5308 mixed sparse/full multiply operators. | |
5309 | |
5420 | 5310 2005-07-25 Erik de Castro Lopo <erikd@zip.com.au> |
5311 | |
5312 * oct-inttypes.h (OCTAVE_S_US_FTR): Compare <= 0 instead of < 0 to | |
5313 avoid warnings for unsigned types. | |
5314 | |
5404 | 5315 2005-07-07 John W. Eaton <jwe@octave.org> |
5316 | |
5317 * dSparse.cc (SparseMatrix::factorize): Initialize Numeric to 0. | |
5318 * CSparse.cc (SparseComplexMatrix::factorize:) Likewise. | |
5319 | |
5392 | 5320 2005-06-15 John W. Eaton <jwe@octave.org> |
5321 | |
5394 | 5322 * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. |
5323 Flush stdout here. | |
5324 (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. | |
5325 | |
5392 | 5326 * Array.h (Array::resize): Change int args to octave_idx_type. |
5327 | |
5386 | 5328 2005-06-14 John W. Eaton <jwe@octave.org> |
5329 | |
5389 | 5330 * CMatrix.cc, CNDArray.cc, CSparse.cc, dMatrix.cc, dNDArray.cc, |
5331 dSparse.cc, lo-cieee.c, lo-mappers.cc: Change all uses of | |
5332 octave_is_NaN_or_NA to xisnan. | |
5333 | |
5334 * lo-mappers.h (octave_is_NaN_or_NA): Mark with GCC_ATTR_DEPRECATED. | |
5335 * lo-ieee.h (lo_ieee_is_NaN_or_NA): Likewise. | |
5336 | |
5337 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Now just a wrapper for | |
5338 lo_ieee_isnan. | |
5339 | |
5387 | 5340 * dMatrix.cc (Matrix::too_large_for_float): Only check if abs |
5341 value is greater than FLT_MAX. | |
5342 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5343 * dNDArray.cc (NDArray::too_large_for_float): Ditto. | |
5344 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5345 | |
5346 * dMatrix.cc (Matrix::too_large_for_float): Special case Inf | |
5347 values too. | |
5348 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5349 | |
5350 * dNDArray.cc (NDArray::too_large_for_float): Likewise for NaN, | |
5351 NA, Inf values. | |
5352 * CNDArray.cc (ComplexNDArray::too_large_for_float): Ditto. | |
5386 | 5353 |
5385 | 5354 2005-06-14 David Bateman <dbateman@free.fr> |
5355 | |
5387 | 5356 * dMatrix.cc (Matrix::too_large_for_float): Special case NaN and |
5357 NA values. | |
5358 * CMatrix.cc (ComplexMatrix::too_large_for_float): Ditto. | |
5385 | 5359 |
5379 | 5360 2005-06-02 John W. Eaton <jwe@octave.org> |
5361 | |
5362 * Array.cc (assignN): Try harder to correctly resize previously | |
5363 empty LHS. | |
5364 | |
5351 | 5365 2005-05-16 David Bateman <dbateman@free.fr> |
5366 | |
5367 * dSparse.h: Change UMFPACK_LONG_IDX to IDX_TYPE_LONG. | |
5368 * CSparse.h: ditto. | |
5369 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5370 2005-05-10 David Bateman <dbateman@free.fr> |
5346 | 5371 |
5372 * dSparse.cc (determinant): Free numeric factorization after | |
5373 sucessful calculation. | |
5374 * CSparse.cc (determinant): ditto. | |
5375 | |
5340 | 5376 2005-05-06 John W. Eaton <jwe@octave.org> |
5377 | |
5378 * dbleCHOL.cc (CHOL::init): Use xelem instead of elem for indexing | |
5379 chol_mat. | |
5380 (chol2mat_internal, chol2mat, CHOL::inverse): New functions. | |
5381 * dbleCHOL.h (chol2mat_internal, chol2mat, CHOL::inverse): | |
5382 Provide decls. | |
5383 | |
5384 * CmplxChol.cc (ComplexCHOL::init): Use xelem instead of elem for | |
5385 indexing chol_mat. | |
5386 (chol2mat_internal, chol2mat, ComplexCHOL::inverse): New functions. | |
5387 * CmplxCHOL.h (chol2mat_internal, chol2mat, CmplxCHOL::inverse): | |
5388 Provide decls. | |
5389 | |
5338 | 5390 2005-05-05 John W. Eaton <jwe@octave.org> |
5391 | |
5392 * Array.cc (Array<T>::permute): Call chop_trailing_singletons on | |
5393 retval before return. | |
5394 | |
5336 | 5395 2005-05-04 John W. Eaton <jwe@octave.org> |
5396 | |
5397 * cmd-edit.cc (gnu_readline::do_readline): Extract const char* | |
5398 from prompt outside of INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE block. | |
5399 | |
5330 | 5400 2005-05-02 John W. Eaton <jwe@octave.org> |
5401 | |
5402 * Makefile.in (LINK_DEPS): List $(UMFPACK_LIBS) ahead of $(BLAS_LIBS). | |
5403 From Dmitri A. Sergatskov <dasergatskov@gmail.com>. | |
5404 | |
5322 | 5405 2005-04-29 David Bateman <dbateman@free.fr> |
5406 | |
5330 | 5407 * dSparse.cc (trisolve): Diagonal passed to lapack zptsv is type |
5408 double. Correct indexing for upper diagonal elements for sparse | |
5409 tridiagonal. | |
5322 | 5410 * CSparse.cc (trisolve): ditto. |
5411 | |
5330 | 5412 * CSparse.h (UMFPACK_ZNAME): Define macro to pick version of |
5413 UMFPACK for 64-bit. | |
5322 | 5414 * CSparse.cc (UMFPACK_ZNAME): Replace all umfpack_zi_* with |
5415 UMFPACK_ZNAME(*). | |
5416 * SparseCmplxLU.cc (UMFPACK_ZNAME): ditto | |
5417 | |
5330 | 5418 * dSparse.h (UMFPACK_DNAME): Define macro to pick version of |
5419 UMFPACK for 64-bit. | |
5322 | 5420 * dSparse.cc (UMFPACK_DNAME): Replace all umfpack_di_* with |
5421 UMFPACK_DNAME(*). | |
5422 * SparsedbleLU.cc (UMFPACK_DNAME): ditto | |
5423 | |
5330 | 5424 * dSparse.cc (ltsolve, utsolve): Correct permuted upper/lower |
5425 triangular back/forward substitution code. | |
5322 | 5426 * CSparse.cc (ltsolve, utsolve): ditto. |
5427 | |
5330 | 5428 * dSparse.cc (solve): Use mattype.type (false) to force messaging |
5429 from spparms("spumoni",1). | |
5322 | 5430 * CSparse.cc (solve): ditto |
5431 | |
5330 | 5432 * SparseType.cc (SparseType(void)): Print info for |
5433 spparms("spumoni",1). | |
5322 | 5434 (SparseType(const matrix_type), SparseType(const matrix_type, const |
5435 octave_idx_type, const octave_idx_type*), SparseType(const matrix_type, | |
5436 const octave_idx_type, const octave_idx_type)): New constructors. | |
5437 (SparseType (const SparseMatrix&), SparseType (SparseComplexMatrix&)): | |
5330 | 5438 Detect row permuted lower triangular and column permuted upper |
5439 triangular matrices. Remove one of the permutation vectors.. | |
5322 | 5440 |
5441 * SparseType.h: Simplify the permutation code. | |
5442 (SparseType(const matrix_type), SparseType | |
5443 (const matrix_type, const octave_idx_type, const octave_idx_type*), | |
5444 SparseType(const matrix_type, const octave_idx_type, | |
5445 const octave_idx_type)): Declarations. | |
5446 | |
5304 | 5447 2005-04-25 John W. Eaton <jwe@octave.org> |
5448 | |
5449 * str-vec.cc (string_vector::delete_c_str_vec): Correctly free | |
5450 array and its contents. | |
5451 | |
5303 | 5452 2005-04-22 John W. Eaton <jwe@octave.org> |
5453 | |
5454 * oct-rl-edit.c (octave_rl_set_terminal_name): Don't cast away | |
5455 const here now that rl_terminal_name is declared const char*. | |
5456 | |
5294 | 5457 2005-04-21 John W. Eaton <jwe@octave.org> |
5458 | |
5459 * Makefile.in (DISTFILES): Include oct-types.h.in in the list. | |
5460 | |
5285 | 5461 2005-04-19 John W. Eaton <jwe@octave.org> |
5462 | |
5463 * Array.cc (assignN): Don't crash if the index list is empty. | |
5464 | |
5282 | 5465 2005-04-14 David Bateman <dbateman@free.fr> |
5466 | |
5467 * SparseCmplxLU.cc: Add flags for incomplete factorization. | |
5468 * SparsedbleLU.cc: Ditto. | |
5469 * SparseCmplxLU.h: Definition. | |
5470 * SparsedbleLU.h: ditto. | |
5471 | |
5472 * SparseType.cc (transpose): New function. | |
5473 * SparseType.h (transpose): Definition. | |
5474 | |
5278 | 5475 2005-04-11 John W. Eaton <jwe@octave.org> |
5476 | |
5477 * lo-specfun.cc: Use F77_XFCN instead of F77_FUNC for calls to | |
5478 fortran code that could end up calling XSTOPX. | |
5479 | |
5277 | 5480 2005-04-10 David Bateman <dbateman@free.fr> |
5481 | |
5482 * Makefile.in: include oct-types in INCLUDES so that it is | |
5483 installed | |
5484 | |
5275 | 5485 2005-04-08 John W. Eaton <jwe@octave.org> |
5486 | |
5276 | 5487 * Makefile.in (clean): Use exact filenames instead of *.xxx. |
5488 | |
5275 | 5489 * Initial merge of 64-bit changes from Clinton Chee: |
5490 | |
5491 2005-04-07 John W. Eaton <jwe@octave.org> | |
5492 | |
5493 * MArray-i.cc, Array-i.cc: Instantiate Array<long> and MArray<long>. | |
5494 | |
5495 * CSparse.cc, CSparse.h, MSparse.cc, MSparse.h, Sparse-op-defs.h, | |
5496 Sparse.cc, Sparse.h, SparseCmplxLU.cc, SparseType.cc, | |
5497 SparseType.h, SparsedbleLU.cc, boolSparse.cc, boolSparse.h, | |
5498 dSparse.cc, dSparse.h, sparse-base-lu.cc: | |
5499 Use octave_idx_type instead of int where needed. | |
5500 | |
5501 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5502 | |
5503 * Array-util.cc, Array-util.h, Array.cc,Array.h, Array2.h, | |
5504 Array3.h, ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
5505 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
5506 CMatrix.h, CNDArray.cc, CNDArray.h, CRowVector.cc, CRowVector.h, | |
5507 CmplxAEPBAL.cc, CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, | |
5508 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5509 CmplxSCHUR.cc, CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, | |
5510 CollocWt.h, DAEFunc.h, DASPK-opts.in,DASPK.cc,DASPK.h, | |
5511 DASRT-opts.in, DASRT.cc, DASRT.h, DASSL-opts.in, DASSL.cc, | |
5512 DASSL.h, DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, | |
5513 FEGrid.h, LPsolve.cc, LPsolve.h, LSODE-opts.in, LSODE.cc, LSODE.h, | |
5514 MArray-defs.h, MArray.cc, MArray.h, MArray2.cc, MArray2.h, | |
5515 MArrayN.cc, MDiagArray2.cc, MDiagArray2.h, NLConst.h, NLEqn.cc, | |
5516 NLEqn.h, Quad.cc, Quad.h, Range.cc,Range.cc, Range.h, base-de.h, | |
5517 base-lu.cc, base-lu.h, base-min.h, boolMatrix.cc, boolMatrix.h, | |
5518 boolNDArray.cc, boolNDArray.h, chMatrix.cc, chMatrix.h, | |
5519 chNDArray.cc, chNDArray.h, dColVector.cc, dColVector.h, | |
5520 dDiagMatrix.cc, dDiagMatrix.h, dMatrix.cc, dMatrix.h, | |
5521 dNDArray.cc,dNDArray.cc, dNDArray.h, dRowVector.cc, dRowVector.h, | |
5522 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleHESS.cc, | |
5523 dbleHESS.h, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
5524 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, dim-vector.h, idx-vector.cc, | |
5525 idx-vector.h, intNDArray.cc, intNDArray.h, lo-specfun.cc, | |
5526 lo-specfun.h, mach-info.cc, mx-inlines.cc, oct-fftw.cc, | |
5527 oct-fftw.h, oct-rand.cc, oct-rand.h, so-array.cc, so-array.h, | |
5528 str-vec.cc, str-vec.h: | |
5529 Use octave_idx_type instead of int where needed. | |
5530 | |
5531 2005-04-01 John W. Eaton <jwe@octave.org> | |
5532 | |
5533 * dim-vector.h, lo-utils.h: Include oct-types.h. | |
5534 | |
5535 * oct-types.h.in: New file. | |
5536 | |
5537 2005-03-31 Clinton Chee <chee@parallel.hpc.unsw.edu.au> | |
5538 | |
5539 * lo-utils.cc (NINTbig): New function. | |
5540 * lo-utils.h: Provide decl. | |
5541 | |
5269 | 5542 2005-04-06 David Bateman <dbateman@free.fr> |
5543 | |
5544 * Makefile.in: Link to UMFPACK_LIBS. | |
5545 | |
5265 | 5546 2005-04-05 John W. Eaton <jwe@octave.org> |
5547 | |
5548 * Array.cc (assignN): Avoid shadowed declaration in previous change. | |
5549 | |
5264 | 5550 2005-04-01 John W. Eaton <jwe@octave.org> |
5551 | |
5552 * Array.cc (assignN): For A(IDX-LIST) = RHS with A previously | |
5553 undefined, correctly match colons in IDX-LIST with RHS dimensions | |
5554 when resizing A. When performing the assignment, just check that | |
5555 the number of elements in RHS matches the number of elements | |
5556 indexed by IDX-LIST. | |
5557 | |
5260 | 5558 2005-03-30 John W. Eaton <jwe@octave.org> |
5559 | |
5261 | 5560 * lo-mappers.cc (log10, tan, tanh): Delete functions. |
5561 * lo-mappers.h (log10, tan, tanh): Delete decls. | |
5562 | |
5563 * CColVector.cc, CNDArray.cc, CRowVector.cc, CSparse.cc, | |
5564 dSparse.cc: Use std:: for Complex functions instead of relying on | |
5565 wrappers from oct-cmplx.h. | |
5260 | 5566 |
5567 * oct-cmplx.h: Provide typedef only. | |
5568 | |
5569 * DiagArray2.cc (xelem): Don't use initializer for static data. | |
5570 * DiagArray2.h (DiagArray<T>::Proxy::operator T ()): | |
5571 Likewise. | |
5572 | |
5247 | 5573 2005-03-26 John W. Eaton <jwe@octave.org> |
5574 | |
5575 * cmd-edit.cc (do_readline): Wrap call to ::octave_rl_readline | |
5576 with {BEGIN,END}_INTERRUPT_IMMEDIATELY_IN_FOREIGN_CODE. | |
5577 | |
5209 | 5578 2005-03-15 John W. Eaton <jwe@octave.org> |
5579 | |
5580 * Makefile.in (MATRIX_INC): Remove oct-spparms.h from the list. | |
5581 | |
5203 | 5582 2005-03-14 John W. Eaton <jwe@octave.org> |
5583 | |
5584 * Makefile.in (DISTFILES): Don't include $(UMFPACK_EXTRAS). | |
5585 (DISTDIRS): Don't include UMFPACK. | |
5586 (LIBOCTAVE_OBJECTS): Don't include $(UMFPACK_OBJ). | |
5587 (UMFPACK_SPECIAL_1, UMFPACK_SPECIAL): No need for special include | |
5588 flags for these files. | |
5589 Don't include include $(srcdir)/UMFPACK.files. | |
5590 Don't include include $(srcdir)/UMFPACK.rules. | |
5591 | |
5592 * UMFPACK.README, UMFPACK.files, UMFPACK.patch, UMFPACK.rules: | |
5593 Delete files. | |
5594 * UMFPACK: Delete directory tree. | |
5595 | |
5596 * dSparse.cc: Include <umfpack/umfpack.h> instead of just "umfpack.h". | |
5597 * CSparse.cc: Likewise. | |
5598 * SparsedbleLU.cc: Likewise. | |
5599 * SparseCmplxLU.cc: Likewise. | |
5600 | |
5601 2005-03-14 David Bateman <dbateman@free.org> | |
5602 | |
5603 * CSParse.cc, SparseCmplxLU.cc, SparsedbleLU.cc, dSparse.cc: | |
5604 Allow compilation to succeed if UMFPACK is not available. | |
5605 | |
5196 | 5606 2005-03-09 John W. Eaton <jwe@octave.org> |
5607 | |
5608 * Makefile.in (bin-dist): Delete target. | |
5609 (BINDISTLIBS, BINDISTFILES): Delete variables. | |
5610 | |
5173 | 5611 2005-03-01 John W. Eaton <jwe@octave.org> |
5612 | |
5613 * ODESSA.h, ODESSA.cc, ODESSA-opts.in: Delete. | |
5614 * Makefile.in: Remove them from the lists. | |
5615 | |
5169 | 5616 2005-02-28 John W. Eaton <jwe@octave.org> |
5617 | |
5618 * Makefile.in (LINK_DEPS): Remove -lglob from the list. | |
5619 | |
5167 | 5620 2005-02-27 David Bateman <dbateman@free.org> |
5621 | |
5169 | 5622 * Sparse.cc (Sparse<T>::reshape): Set cidx for the N last elements |
5623 in the sparse matrix. | |
5167 | 5624 |
5164 | 5625 2005-02-25 John W. Eaton <jwe@octave.org> |
5626 | |
5627 Sparse merge. | |
5628 | |
5629 2005-02-13 David Bateman <dbateman@free.fr> | |
5630 | |
5631 * CSparse.cc (SparseComplexMatrix:dsolve, SparseComplexMatrix:utsolve, | |
5632 SparseComplexMatrix::ltsolve, SparseComplexMatrix::trisolve, | |
5633 SparseComplexMatrix::bsolve, SparseComplexMatrix:fsolve): Split sparse | |
5634 solver into separate functions for the diagonal, upper, lower | |
5635 triangular, tridiagonal, banded and full cases. | |
5636 (SparseComplexMatrix::solve): rewrite to call the above function. One | |
5637 version that probes the matrix type and another that assumes the type | |
5638 is passed. | |
5639 | |
5640 * dSparse.cc (SparseMatrix:dsolve, SparseMatrix:utsolve, | |
5641 SparseMatrix::ltsolve, SparseMatrix::trisolve, | |
5642 SparseMatrix::bsolve, SparseMatrix:fsolve): Likewise | |
5643 (SparseMatrix::solve): Likewise | |
5644 | |
5645 * CSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5646 Declaration of new functions | |
5647 * dSparse.h (dsolve, utsolve, ltsolve, trisolve, bsolve, fsolve): | |
5648 Likewise | |
5649 | |
5650 * CSparse.cc (operator !): Reverse the sense of the test. | |
5651 * dSpase.cc (operator !): Likewise | |
5652 | |
5653 * dSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5654 triangular_col_perm, sparse_info): Remove matrix type code | |
5655 * CSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5656 triangular_col_perm, sparse_info): Likewise | |
5657 * boolSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5658 triangular_col_perm, sparse_info): Likewise | |
5659 * MSparse.h (type, band_size, is_dense, triangular_row_perm, | |
5660 triangular_col_perm, sparse_info): Likewise | |
5661 * Sparse.h (type, band_size, is_dense, triangular_row_perm, | |
5662 triangular_col_perm, sparse_info, matrix_type): Likewise | |
5663 | |
5664 * Sparse.cc (type, sparse_info, band_size): Remove type code | |
5665 | |
5666 * SparseType.h: New class for the matrix type used in solvers | |
5667 * SparseType.cc: methods of sparse matrix type class | |
5668 | |
5669 * Makefile.in: Add SparseType.cc | |
5670 | |
5671 2005-02-01 David Bateman <dbateman@free.fr> | |
5672 | |
5673 * UMFPACK: Update to version 4.4 | |
5674 * UMFPACK.patch: Version 4.4 contains most of the previous patch. Only | |
5675 keep octave specific test files | |
5676 | |
5677 2005-01-23 David Bateman <dbateman@free.fr> | |
5678 | |
5679 * dSparse.cc (SparseMatrix::solve): Include tridiagonal, cholesky | |
5680 tridiagonal and banded cholesky solvers. Remove calculation of | |
5681 condition number for banded solvers. | |
5682 * CSparse.cc (SparseComplexMatrix::solve): ditto. | |
5683 | |
5684 * Sparse.h (int type (int) const, bool is_dense (void) const): | |
5685 new functions. | |
5686 * MSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5687 * dSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5688 * CSparse.h (int type (int) const, bool is_dense (void) const): ditto | |
5689 * boolSparse.h (int type (int) const, bool is_dense (void) const): | |
5690 ditto | |
5691 | |
5692 * Sparse.cc (int Sparse<T>::type (int) const, | |
5693 bool Sparse<T>::is_dense (void) const): New functions definition | |
5694 | |
5695 * Sparse.h (matrix_type typ): Move caching of matrix type to SparseRep, | |
5696 so it actually is cached, but disable | |
5697 | |
5698 * oct-spparms.cc (SparseParams::init_keys): Change spmoni to spumoni | |
5699 for compatiability | |
5700 | |
5701 2005-01-18 David Bateman <dbateman@free.fr> | |
5702 | |
5703 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5704 Modify calculation of number elements to skip between copied blocks. | |
5705 | |
5706 2005-01-07 David Bateman <dbateman@free.fr> | |
5707 | |
5708 * Sparse.h : Reverse definitions of numel and nelem. | |
5709 * Sparse.cc (assign1): Use numel and not nelem | |
5710 * Sparse-op-def.h: Replace all uses of nelem with numel | |
5711 | |
5712 2005-01-07 David Bateman <dbateman@free.fr> | |
5713 | |
5714 * dbleDET.h: Make SparseMatrix a friend of the class DET | |
5715 * CmplexDET.h: Make SparseComplexMatrix a friend of the class | |
5716 ComplexDET | |
5717 * dSparse.cc (SparseMatrix::determinant): Replace use of SparseDET | |
5718 by DET | |
5719 * dSparse.h (determinant): ditto | |
5720 * CSparse.cc (SparseComplexMatrix::determinant): Replace use of | |
5721 SparseComplexDET by ComplexDET | |
5722 * CSparse.h (determinant): ditto | |
5723 * SparsedbleDET.h, SparsedbleDET.cc, SparseCmplxDET.h, | |
5724 SparseCmplxDET.cc: delete files | |
5725 * Makefile.in: Delete reference to SparsedbleDET.h, SparsedbleDET.cc, | |
5726 SparseCmplxDET.h andSparseCmplxDET.cc. | |
5727 | |
5728 * CSparse.cc (SparseComplexMatrix::solve): Store matrix type in | |
5729 local variable to avoid variable shadowing. | |
5730 * dSparse.cc (SparseMatrix::solve): ditto. | |
5731 | |
5732 * boolSparse.cc boolSparse.h CSparse.cc CSparse.h dSparse.cc | |
5733 dSparse.h MSparse.cc MSparse-C.cc MSparse-d.cc MSparse-defs.h | |
5734 MSparse.h oct-spparms.cc oct-spparms.h Sparse-b.cc Sparse.cc | |
5735 Sparse-C.cc SparseCmplxLU.cc SparseCmplxLU.h SparsedbleLU.cc | |
5736 SparsedbleLU.h Sparse-d.cc Sparse.h Sparse-op-defs.h sparse-sort.cc | |
5737 sparse-sort.h: Remove additional licensing clause with authors | |
5738 permission. | |
5739 | |
5740 2004-12-30 John W. Eaton <jwe@octave.org> | |
5741 | |
5742 * MSparse.cc (SPARSE_A2S_OP_2, SPARSE_SA2_OP_2): | |
5743 Loop counter is int, not size_t. | |
5744 | |
5745 * oct-spparms.cc (SparseParams::operator =): Return *this. | |
5746 | |
5747 * Sparse-op-defs.h (SPARSE_SPARSE_MUL): Delete unused variable tmpval. | |
5748 | |
5749 * dSparse.cc (operator << (ostream&, const SparseMatrix&), atan2): | |
5750 Delete unused variables. | |
5751 (SparseMatrix::solve): Avoid warnings about uninitialized | |
5752 variables and variables that might be clobbered by longjmp. | |
5753 | |
5754 * CSparse.cc (operator << (ostream&, const SparseComplexMatrix&), | |
5755 min, max): Delete unused variables. | |
5756 (SparseComplexMatrix::solve): Avoid warnings about uninitialized | |
5757 variables and variables that might be clobbered by longjmp. | |
5758 | |
5759 * Makefile.in (UMFPACK_SPECIAL): Include .d files in the list. | |
5760 | |
5761 * Sparse-op-defs.h (SPARSE_SMS_BIN_OP_2, SPARSE_SSM_BIN_OP_2): | |
5762 Loop counter is int, not size_t. | |
5763 | |
5764 * CSparse.cc (SparseComplexMatrix::hermitian): Avoid shadow warnings. | |
5765 * Sparse.cc (Sparse<T>::Sparse, Sparse<T>::type, assign): Likewise. | |
5766 | |
5767 * Sparse.h (Sparse::SparseRep): Order data members and initializer | |
5768 lists consistently. | |
5769 | |
5770 * mx-base.h: Include boolSparse.h, dSparse.h, and CSparse.h. | |
5771 | |
5772 2004-12-29 John W. Eaton <jwe@octave.org> | |
5773 | |
5774 * COLAMD.files (COLAMD_EXTRAS): New variable. | |
5775 * UMFPACK.files (UMFPACK_EXTRAS): New variable. | |
5776 * Makefile.in (DISTFILES): Add $(COLAMD_EXTRAS) and | |
5777 $(UMFPACK_EXTRAS) to the list. | |
5778 (DISTDIRS): New variable. | |
5779 (dist): Handle $(DISTDIRS). | |
5780 | |
5781 Merge of sparse code from David Bateman <dbateman@free.fr> and | |
5782 Andy Adler <adler@site.uottawa.ca>. | |
5783 | |
5784 * Makefile.in (VPATH): ADD @srcdir@/COLAMD to the list. | |
5785 | |
5786 * Makefile.in (MAKEDEPS): Include $(COLAMD_SRC) and $(UMFPACK_SRC) | |
5787 without directory prefix. | |
5788 | |
5789 * Makefile.in (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJ) and | |
5790 $(UMFPACK_OBJ) to the list. | |
5791 | |
5792 * COLAMD: New directory. | |
5793 * COLAMD.files: New file. | |
5794 * Makefile.in: Include COLAMD.files. | |
5795 (SOURCES): Add $(COLAMD_SOURCES) to the list. | |
5796 (LIBOCTAVE_OBJECTS): Add $(COLAMD_OBJECTS) to the list. | |
5797 (INCLUDES): Add $(COLAMD_INCLUDES) to the list. | |
5798 | |
5799 * UMFPACK: New directory. | |
5800 * UMFPACK.patch, UMFPACK.README, UMFPACK.files, UMFPACK.rules: | |
5801 New files. | |
5802 * Makefile.in: Include UMFPACK.files and UMFPACK.rules. | |
5803 (SOURCES): Add $(UMFPACK_SOURCES) to the list. | |
5804 (LIBOCTAVE_OBJECTS): Add $(UMFPACK_OBJECTS) to the list. | |
5805 (INCLUDES): Add $(UMFPACK_INCLUDES) to the list. | |
5806 | |
5807 * Makefile.in (SPARSE_MX_OP_INC): New variable. | |
5808 (INCLUDES): Add it to the list. | |
5809 (SPARSE_MX_OP_SRC): New variable. | |
5810 (LIBOCTAVE_CXX_SOURCES): Add it to the list. | |
5811 (distclean): Remove $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5812 (stamp-prereq): Depend on $(SPARSE_MX_OP_INC) and $(SPARSE_MX_OP_SRC). | |
5813 | |
5814 * sparse-mk-ops.awk, sparse-mx-ops: New files. | |
5815 * Makefile.in (DISTFILES): Add them to the lists. | |
5816 | |
5817 * oct-spparms.h, sparse-sort.h: New files. | |
5818 * Makefile.in (INCLUDES): Add them to the list. | |
5819 | |
5820 * oct-spparms.cc, sparse-sort.cc: New files. | |
5821 * Makefile.in (LIBOCTAVE_CXX_SOURCES): Add them to the list. | |
5822 | |
5823 * sparse-base-lu.cc: New file. | |
5824 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
5825 | |
5826 * boolSparse.cc, CSparse.cc, dSparse.cc, MSparse.cc, Sparse.cc, | |
5827 SparseCmplxDET.cc, SparseCmplxLU.cc, SparsedbleDET.cc, | |
5828 SparsedbleLU.cc: New files. | |
5829 * Makefile.in (MATRIX_SRC): Add them to the list. | |
5830 | |
5831 * boolSparse.h, CSparse.h, dSparse.h, MSparse-defs.h, MSparse.h, | |
5832 Sparse.h, oct-spparms.h, sparse-base-lu.h, SparseCmplxDET.h, | |
5833 SparseCmplxLU.h, SparsedbleDET.h, SparsedbleLU.h, | |
5834 Sparse-op-defs.h: New files. | |
5835 * Makefile.in (MATRIX_INC): Add them to the appropriate lists. | |
5836 | |
5837 * MSparse-d.cc, MSparse-C.cc, Sparse-b.cc, Sparse-d.cc, | |
5838 Sparse-C.cc: New files. | |
5839 * Makefile.in (TI_SRC): Add them to the list. | |
5840 | |
5149 | 5841 2005-02-18 John W. Eaton <jwe@octave.org> |
5842 | |
5843 * file-ops.cc (file_ops::canonicalize_file_name) [HAVE_RESOLVEPATH]: | |
5844 Pass current directory to octave_env::make_absolute. | |
5845 Save value returned from octave_env::make_absolute in local var. | |
5846 Pass const char*, not std::string as first arg of resolvepath. | |
5847 Provide decl for resolved_len. | |
5848 | |
5148 | 5849 2005-02-18 John W. Eaton <jwe@octave.org> |
5850 | |
5851 * Array.cc (Array<T>::permute): Allow permutation vector longer | |
5852 than number of dimenensions of permuted matrix. | |
5853 | |
5854 * Array.cc (Array<T>::permute): Use zero-based indexing for perm_vec. | |
5855 * Array-util.cc (calc_permutated_idx): Likewise. | |
5856 | |
5139 | 5857 2005-02-10 David Bateman <dbateman@free.fr> |
5858 | |
5859 * CNDArray.cc (ComplexNDarray::operator !): Change sense of test. | |
5860 * CMatrix.cc (ComplexMatrix::operator !): Likewise. | |
5861 | |
5137 | 5862 2005-02-09 John W. Eaton <jwe@octave.org> |
5863 | |
5138 | 5864 * file-ops.cc (file_ops::canonicalize_file_name): New functions. |
5865 * file-ops.h: Provide decls. | |
5866 | |
5137 | 5867 * kpse.cc (kpse_tilde_expand): Simply return NAME if it is empty. |
5868 | |
5136 | 5869 2005-02-08 John W. Eaton <jwe@octave.org> |
5870 | |
5871 * Array-util.cc (freeze): Improve error message. | |
5872 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5873 2005-01-26 David Bateman <dbateman@free.fr> |
5120 | 5874 |
5121 | 5875 * Array.cc (Array<T>::insert): Handle generic case, not just |
5876 special case for fast concatenation. | |
5120 | 5877 |
5110 | 5878 2005-01-18 John W. Eaton <jwe@octave.org> |
5879 | |
5880 * mx-inlines.cc (MX_ND_REDUCTION): Delete RET_ELT_TYPE arg. | |
5881 Change all uses. Use VAL instead of RET_ELT_TYPE when resizing. | |
5882 | |
5883 * dNDArray.cc (NDArray::any): NaN does not count as a nonzero value. | |
5884 * CNDArray.cc (ComplexNDArray::any): Likewise. | |
5885 | |
7641
115563ecbdc9
Makefile and ChangeLog fixes
John W. Eaton <jwe@octave.org>
parents:
7638
diff
changeset
|
5886 2005-01-18 David Bateman <dbateman@free.fr> |
5108 | 5887 |
5888 * Array.cc (Array<T>::insert (const Array<T>&, const Array<int>&)): | |
5889 Modify calculation of number elements to skip between copied blocks. | |
5890 | |
5891 2005-01-18 John W. Eaton <jwe@octave.org> | |
5892 | |
5893 * idx-vector.cc (IDX_VEC_REP::freeze): Call warning handler, not | |
5894 error handler, to warn about resizing. | |
5895 | |
5105 | 5896 2004-12-27 Martin Dalecki <martin@dalecki.de> |
5897 | |
5898 * Array.cc, ArrayN.cc, base-lu.cc, boolMatrix.cc, boolNDArray.cc, | |
5899 Bounds.cc, CColVector.cc, CDiagMatrix.cc, chMatrix.cc, | |
5900 chNDArray.cc, CMatrix.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, | |
5901 CmplxDET.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, | |
5902 CmplxSCHUR.cc, CmplxSVD.cc, CNDArray.cc, CollocWt.cc, | |
5903 CRowVector.cc, DASPK.cc, DASRT.cc, DASSL.cc, dbleAEPBAL.cc, | |
5904 dbleCHOL.cc, dbleDET.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, | |
5905 dbleQRP.cc, dbleSCHUR.cc, dbleSVD.cc, dColVector.cc, | |
5906 dDiagMatrix.cc, DiagArray2.cc, dMatrix.cc, dNDArray.cc, | |
5907 dRowVector.cc, EIG.cc, FEGrid.cc, idx-vector.cc, int16NDArray.cc, | |
5908 int32NDArray.cc, int64NDArray.cc, int8NDArray.cc, intNDArray.cc, | |
5909 LinConst.cc, LPsolve.cc, LSODE.cc, MArray2.cc, MArray.cc, | |
5910 MArrayN.cc, MDiagArray2.cc, NLEqn.cc, oct-alloc.cc, ODES.cc, | |
5911 ODESSA.cc, Quad.cc, Range.cc, so-array.cc, uint16NDArray.cc, | |
5912 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: | |
5913 Delete #pragma implementation. | |
5914 | |
5915 * Array2.h, Array3.h, Array.h, ArrayN.h, base-lu.h, boolMatrix.h, | |
5916 boolNDArray.h, Bounds.h, CColVector.h, CDiagMatrix.h, chMatrix.h, | |
5917 chNDArray.h, CMatrix.h, CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, | |
5918 CmplxHESS.h, CmplxLU.h, CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, | |
5919 CmplxSVD.h, CNDArray.h, CollocWt.h, CRowVector.h, DASPK.h, | |
5920 DASRT.h, DASSL.h, dbleAEPBAL.h, dbleCHOL.h, dbleDET.h, dbleHESS.h, | |
5921 dbleLU.h, dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h, | |
5922 dColVector.h, dDiagMatrix.h, DiagArray2.h, dim-vector.h, | |
5923 dMatrix.h, dNDArray.h, dRowVector.h, EIG.h, FEGrid.h, | |
5924 idx-vector.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5925 int8NDArray.h, intNDArray.h, LinConst.h, LPsolve.h, LSODE.h, | |
5926 MArray2.h, MArray.h, MArrayN.h, MDiagArray2.h, NLConst.h, NLEqn.h, | |
5927 ODES.h, ODESSA.h, Quad.h, Range.h, so-array.h, uint16NDArray.h, | |
5928 uint32NDArray.h, uint64NDArray.h, uint8NDArray.h: | |
5929 Delete #pragma interface. | |
5930 | |
5098 | 5931 2004-12-17 John W. Eaton <jwe@octave.org> |
5932 | |
5933 * lo-cieee.c (lo_ieee_signbit): New function. | |
5934 * lo-ieee.h: Provide decl. | |
5935 Don't define lo_ieee_signbit as a macro here. | |
5936 From Orion Poplawski <orion@cora.nwra.com>. | |
5937 | |
5085 | 5938 2004-11-18 John W. Eaton <jwe@octave.org> |
5939 | |
5940 * int32NDArray.cc (pow): Delete instantiation. | |
5941 * int16NDArray.cc (pow): Likewise. | |
5942 * int8NDArray.cc (pow): Likewise. | |
5943 * uint32NDArray.cc (pow): Likewise. | |
5944 * uint16NDArray.cc (pow): Likewise. | |
5945 * uint8NDArray.cc (pow): Likewise. | |
5946 | |
5081 | 5947 2004-11-17 John W. Eaton <jwe@octave.org> |
5948 | |
5085 | 5949 * kpse.cc (str_llist_float, str_llist_add, kpse_var_expand): |
5950 Now static. | |
5951 (DB_ENVS, DB_HASH_SIZE, DB_NAME, ALIAS_NAME, ALIAS_HASH_SIZE, | |
5952 DEFAULT_TEXMFDBS): Delete unused macros. | |
5953 | |
5081 | 5954 * Array.cc (Array<T>::index): Call generic N-d indexing function |
5955 if idx_arg is N-d. | |
5956 | |
5073 | 5957 2004-11-09 David Bateman <dbateman@free.fr> |
5958 | |
5959 * dNDArray.cc (concat): Delete. | |
5960 (NDArray::concat): New methods. | |
5961 * dNDArray.h: Provide decls. | |
5962 | |
5963 * CNDArray.cc (concat): Delete. | |
5964 (ComplexNDArray::concat): New methods. | |
5965 * CNDArray.h: Provide decls. | |
5966 | |
5967 * boolNDArray.cc (concat): Delete. | |
5968 (boolNDArray::concat): New methods. | |
5969 * boolNDArray.h: Provide decls. | |
5970 | |
5971 * chNDArray.cc (concat): Delete. | |
5972 (charNDArray::concat): New methods. | |
5973 * chNDArray.h: Provide decls. | |
5974 | |
5975 * oct-inttypes.h (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): | |
5976 Delete macros. | |
5977 | |
5978 * int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
5979 uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
5980 (OCTAVE_INT_CONCAT_DECL): Delete use of macro. | |
5981 | |
5982 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc, | |
5983 uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
5984 (OCTAVE_INT_CONCAT_FN): Delete use of macro. | |
5985 | |
5986 * intNDArray.cc (intNDArray<T>::concat): New method. | |
5987 * intNDArray.h: Provide decl. | |
5988 | |
5072 | 5989 2004-11-08 John W. Eaton <jwe@octave.org> |
5990 | |
5991 * oct-inttypes.cc: New file. | |
5992 * Makefile.in (TI_SRC): Add it to the list. | |
5993 * oct-inttypes.h (OCTAVE_US_TYPE1_CMP_OP, OCTAVE_US_TYPE1_CMP_OPS, | |
5994 OCTAVE_SU_TYPE1_CMP_OP, OCTAVE_SU_TYPE1_CMP_OPS, | |
5995 OCTAVE_TYPE1_CMP_OPS, OCTAVE_US_TYPE2_CMP_OP, | |
5996 OCTAVE_US_TYPE2_CMP_OPS, OCTAVE_SU_TYPE2_CMP_OP, | |
5997 OCTAVE_SU_TYPE2_CMP_OPS, OCTAVE_TYPE2_CMP_OPS): | |
5998 New macros for comparison operations. Avoid potential | |
5999 problems with default conversions when comparing signed and | |
6000 unsigned values. | |
6001 | |
5061 | 6002 2004-11-03 John W. Eaton <jwe@octave.org> |
6003 | |
6004 * dMatrix.cc (Matrix::inverse): Return info == -1 for any failure. | |
6005 * CMatrix.cc (ComplexMatrix::inverse): Likewise. | |
6006 | |
5052 | 6007 2004-10-19 John W. Eaton <jwe@octave.org> |
6008 | |
6009 * Array.cc (assignN): Avoid resizing if assignment will fail. | |
6010 | |
5047 | 6011 2004-10-18 John W. Eaton <jwe@octave.org> |
6012 | |
6013 * Array.cc (assign2): Save result of squeeze operation. | |
6014 Squeeze if ndims is > 2, not if length of RHS vector is > 2. | |
6015 | |
5095 | 6016 2004-10-11 David Bateman <dbateman@free.fr> |
5044 | 6017 |
6018 * oct-fftw.cc (class octave_fftw_planner): Add inplace[2] to | |
6019 flag whether transform in- or out-of-place. | |
6020 (octave_fftw_planner::octave_fftw_planner): Initialize it. | |
6021 (octave_fftw_planner::create_plan): Use it. | |
6022 | |
5039 | 6023 2004-09-24 John W. Eaton <jwe@octave.org> |
6024 | |
6025 * Array.cc (assign2, assignN): If index is empty, allow RHS to be | |
6026 any empty matrix, not just []. | |
6027 | |
5030 | 6028 2004-09-23 John W. Eaton <jwe@octave.org> |
6029 | |
6030 * mx-ops: Include scalar zero value in type definitions. | |
6031 Delete zero information from ops section. | |
6032 * mk-ops.awk: Use type-specific zero info. | |
6033 | |
6034 * mx-op-defs.h (MS_BOOL_OP, SM_BOOL_OP, MM_BOOL_OP, NDS_BOOL_OP, | |
6035 SND_BOOL_OP, NDND_BOOL_OP): Args now include zero values for both | |
6036 LHS and RHS. | |
6037 (MS_BOOL_OPS2, SM_BOOL_OPS2, MM_BOOL_OPS2, NDS_BOOL_OPS2, | |
6038 SND_BOOL_OPS2, NDND_BOOL_OPS2): New macros. | |
6039 (MS_BOOL_OPS, SM_BOOL_OPS, MM_BOOL_OPS, NDS_BOOL_OPS, | |
6040 SND_BOOL_OPS, NDND_BOOL_OPS): Define in terms of 2-zero versions. | |
6041 | |
6042 * idx-vector.h (idx_vector::idx_vector_rep::idx_vector_rep (const | |
6043 intNDArray<U>&)): Use explicit as_double () conversion in call to | |
6044 tree_to_mat_idx. | |
6045 | |
6046 * oct-inttypes.h (octave_int<T>::operator float): New conversion. | |
6047 (pow): Instead of "if (b_val)", use "if (b_val != zero)". | |
6048 Likewise for the "if (b_val & one)" test. | |
6049 (operator <<, operator >>): Type of retval is octave_int<T1>, not T1. | |
6050 | |
5029 | 6051 2004-09-23 David Bateman <dbateman@free.fr> |
6052 | |
6053 * oct-inttypes.h (OCTAVE_INT_DOUBLE_CMP_OP, OCTAVE_DOUBLE_INT_CMP_OP): | |
6054 New macros. Use them to define mixed intX-double and double-intX ops. | |
6055 | |
5021 | 6056 2004-09-22 Federico Zenith <zenith@chemeng.ntnu.no> |
6057 | |
6058 * DASPK-opts.in, DASRT-opts.in, ODESSA-opts.in: | |
6059 Fix doc string layout to avoid overfull hbox in printed output. | |
6060 | |
5015 | 6061 2004-09-21 John W. Eaton <jwe@octave.org> |
6062 | |
6063 * mach-info.h (octave_mach_info::flt_fmt_native): Delete. | |
6064 * mach-info.cc (octave_mach_info::string_to_float_format): | |
6065 For "native", set actual native format. | |
6066 (octave_mach_info::float_format_as_string): Delete flt_fmt_native case. | |
6067 | |
5008 | 6068 2004-09-17 David Bateman <dbateman@free.fr> |
6069 | |
6070 * CmplxSCHUR.cc (CmplxSCHUR::init): New arg, calc_unitary to make the | |
6071 calculation of the unitary matrix optional. | |
6072 * dbleSCHUR.cc (SCHUR::init): Ditto. | |
6073 * CmplxSCHUR.h, dbleSCHUR.h: Update decls. | |
6074 | |
4998 | 6075 2004-09-15 David Bateman <dbateman@free.fr> |
6076 | |
6077 * oct-sort.h (octave_sort<T>::set_compare (bool (*comp) (T, T))): | |
6078 New function to set the comparison function for the sort. | |
6079 | |
4985 | 6080 2004-09-10 John W. Eaton <jwe@octave.org> |
6081 | |
6082 * lo-mappers.cc (xround): Fix typo. | |
6083 | |
4979 | 6084 2004-09-08 John W. Eaton <jwe@octave.org> |
6085 | |
6086 * Array.h (Array::~Array): Declare virtual. | |
6087 | |
6088 * idx-vector.h (idx_vector::idx_vector): Initialize rep in member | |
6089 initializaion list. Don't set rep->count since the rep | |
6090 constructor does that. | |
6091 | |
4968 | 6092 2004-09-07 John W. Eaton <jwe@octave.org> |
6093 | |
4970 | 6094 * data-conv.cc (oct_data_conv::string_to_data_type): Handle dt_logical. |
6095 (oct_data_conv::data_type_as_string): Likewise. | |
6096 | |
6097 * data-conv.h (oct_data_conv::data_type): Add dt_logical to list. | |
6098 | |
4968 | 6099 * Range.cc (round): Delete unused function. |
6100 | |
6101 * lo-mappers.cc (xround): Rename from round. Change all uses. | |
6102 If HAVE_ROUND, call round, otherwise fake with floor and ceil. | |
6103 | |
6104 * oct-inttypes.h: Include <cmath> here. | |
6105 | |
4964 | 6106 2004-09-03 David Bateman <dbateman@free.fr> |
6107 | |
6108 * boolNDArray.cc (boolNDArray::concat, boolNDArray::insert): | |
6109 New functions for boolean matrix concatenation. | |
6110 * boolNDArray.h: Provide decls. | |
6111 | |
4963 | 6112 2004-09-03 John W. Eaton <jwe@octave.org> |
6113 | |
4964 | 6114 * oct-inttpes.h (OCTAVE_INT_CMP_OP): Convert operarands to double |
6115 to avoid signed/unsigned int comparison problems. | |
6116 | |
6117 * mx-ops: Generate CMP and BOOL ops for mixed integer types and | |
6118 for mixed integer and double types. | |
6119 | |
6120 * mk-ops.awk: Output BIN_OP_DECLS, CMP_OP_DECLS, and BOOL_OP_DECLS | |
6121 separately, and only if needed. | |
6122 | |
4963 | 6123 * oct-inttypes.h (octave_fit_to_range): Use constructor instead of |
6124 static_cast for type conversion. | |
6125 | |
4953 | 6126 2004-09-01 John W. Eaton <jwe@octave.org> |
6127 | |
6128 * oct-inttypes.h (pow, operator +, operator -, operator *, | |
6129 operator /): Handle mixed integer/double ops. If op generates a | |
6130 NaN, set result to 0. | |
6131 (octave_int::operator - (void)): Convert to double, then negate, | |
6132 then fit to range. | |
6133 | |
6134 * mx-ops: Define integer types. Include declarations for mixed | |
6135 integer/double ops. | |
6136 | |
4952 | 6137 2004-08-31 John W. Eaton <jwe@octave.org> |
6138 | |
6139 * oct-inttypes.h (pow): Args now const reference. | |
6140 (octave_int<T>::operator *=, octave_int<T>::operator /=, | |
6141 octave_int<T>::operator <<=, octave_int<T>::operator >>=): | |
6142 New member functions. | |
6143 (OCTAVE_INT_BITSHIFT_OP): Delete macro. | |
6144 (operator >> (const octave_int<T1>& x, const T2& y)): | |
6145 Define in terms of >>=. | |
6146 (operator << (const octave_int<T1>& x, const T2& y)): | |
6147 Define in terms of <<=. | |
6148 (bitshift): Operate on octave_int<T> objects, not the values, so | |
6149 we get proper saturation properties. | |
6150 | |
6151 2004-08-31 David Bateman <dbateman@free.fr> | |
6152 | |
6153 * oct-inttypes.h (pow (constT, T)): New template. | |
6154 | |
6155 * int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, uint8NDArray.cc, | |
6156 uint16NDArray.cc, uint32NDArray.cc: Instantiate power function. | |
6157 | |
4949 | 6158 2004-08-31 John W. Eaton <jwe@octave.org> |
6159 | |
6160 * oct-inttypes.h (octave_int::byte_size): New function. | |
6161 | |
4944 | 6162 2004-08-31 John W. Eaton <jwe@octave.org> |
6163 | |
4946 | 6164 * Makefile.in (EXTRAS): Add intNDArray.cc to the list. |
6165 | |
4944 | 6166 * data-conv.h (oct_data_conv::data_type): Include sized types. |
6167 Explicitly number enum elements. | |
6168 | |
6169 * data-conv.cc (oct_data_conv::string_to_data_type (const | |
6170 std::string&, int&, oct_data_conv::data_type&, | |
6171 oct_data_conv::data_type&)): New function. | |
6172 (oct_data_conv::string_to_data_type (const std::string&, int&, | |
6173 oct_data_conv::data_type&)): New function. | |
6174 (oct_data_conv::data_type_as_string): New function. | |
6175 | |
6176 * dMatrix.cc (read_int, do_read, Matrix::read): Delete. | |
6177 (write_int, do_write, Matrix::write): Delete. | |
6178 * dMatrix.h (Matrix::read, Matrix::write): Delete decls. | |
6179 | |
6180 * byte-swap.h: Use template functions and specialization. | |
6181 Change all uses. | |
6182 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6183 | |
4943 | 6184 2004-08-30 John W. Eaton <jwe@octave.org> |
6185 | |
6186 * oct-inttypes.h (octave_int_fit_to_range): Use template | |
6187 specializations to avoid warnings about signed/unsigned comparisons. | |
6188 | |
6189 2004-08-28 John W. Eaton <jwe@octave.org> | |
6190 | |
6191 * data-conv.cc (do_float_format_conversion (unsigned char *, | |
6192 size_t, int, oct_mach_info::float_format)): New function. | |
6193 (GET_SIZED_INT_TYPE): New macro. | |
6194 (string_to_data_type): Use it to return sized types corresponding | |
6195 to Octave array data types. | |
6196 (strip_spaces): New function. | |
6197 (do_double_format_conversion, do_float_format_conversion): Pass | |
6198 from_fmt and to_fmt. Don't always assume the to_fmt is the native | |
6199 float format. | |
6200 (do_double_format_conversion, | |
6201 IEEE_big_double_to_IEEE_little_double, | |
6202 VAX_D_double_to_IEEE_little_double, | |
6203 VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double, | |
6204 IEEE_little_double_to_IEEE_big_double, | |
6205 VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double, | |
6206 Cray_to_IEEE_big_double, IEEE_little_double_to_VAX_D_double, | |
6207 IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double, | |
6208 Cray_to_VAX_D_double, IEEE_little_double_to_VAX_G_double, | |
6209 IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double, | |
6210 Cray_to_VAX_G_double): | |
6211 Pass data as void*, not double*. | |
6212 (do_float_format_conversion, IEEE_big_float_to_IEEE_little_float, | |
6213 VAX_D_float_to_IEEE_little_float, | |
6214 VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float, | |
6215 IEEE_little_float_to_IEEE_big_float, | |
6216 VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float, | |
6217 Cray_to_IEEE_big_float, IEEE_little_float_to_VAX_D_float, | |
6218 IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float, | |
6219 Cray_to_VAX_D_float, IEEE_little_float_to_VAX_G_float, | |
6220 IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float, | |
6221 Cray_to_VAX_G_float): | |
6222 Pass data as void*, not float*. | |
6223 | |
6224 2004-08-27 John W. Eaton <jwe@octave.org> | |
6225 | |
6226 * byte-swap.h (swap_bytes): New template versions, with | |
6227 specializations. | |
6228 (swap_2_bytes, swap_4_bytes, swap_8_bytes): Delete. | |
6229 Change all uses. | |
6230 | |
4940 | 6231 2004-08-24 David Bateman <dbateman@free.fr> |
6232 | |
6233 * chNDArray.cc (concat): Check whether matrix to be inserted is | |
6234 empty instead of checking final matrix. | |
6235 * dNDArray.cc (concat): Likewise. | |
6236 * CNDArray.cc (concat): Likewise. | |
6237 | |
6238 2004-08-23 David Bateman <dbateman@free.fr> | |
6239 | |
6240 * dim-vector.h (dim_vector::concat): Correct incrementation for | |
6241 non-existent dimensions. | |
6242 | |
4938 | 6243 2004-08-09 John W. Eaton <jwe@octave.org> |
6244 | |
6245 * idx-vector.h (idx_vector::idx_vector_rep::tree_to_mat_idx | |
6246 (const octave_int<U>&)): New member function. | |
6247 (idx_vector::idx_vector_rep::tree_to_mat_idx (double, bool&), | |
6248 idx_vector::idx_vector_rep::tree_to_mat_idx (int)): | |
6249 Now member functions instead of static in idx-vector.cc. | |
6250 (idx_vector::idx_vector_rep::idx_vector_rep (const octave_int<U>&), | |
6251 idx_vector::idx_vector_rep::idx_vector_rep (const intNDArray<U>&)): | |
6252 New template constructors. | |
6253 | |
4932 | 6254 2004-08-05 John W. Eaton <jwe@octave.org> |
6255 | |
4933 | 6256 * EIG.cc (EIG::init): Add volatile qualifier to nvr decl. |
6257 | |
4932 | 6258 * intNDArray.cc (intNDArray<T>::operator !, intNDArray<T>::all, |
6259 intNDArray<T>::any): Sprinkle with this-> as needed. | |
6260 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): Likewise. | |
6261 | |
4929 | 6262 2004-08-03 John W. Eaton <jwe@octave.org> |
6263 | |
6264 * Array.cc (Array<T>::squeeze): Do nothing for 2-d arrays. For | |
6265 arrays with more than two dimensions and only one non-singleton | |
6266 dimension, return a column vector. | |
6267 | |
4921 | 6268 2004-07-28 John W. Eaton <jwe@octave.org> |
6269 | |
6270 * oct-cmplx.h (pow (const Complex&, const double&): | |
6271 Convert second arg to complex to avoid libstdc++ bug. | |
6272 | |
4920 | 6273 2004-07-27 John W. Eaton <jwe@octave.org> |
6274 | |
6275 * oct-inttypes.h (bitshift): New arg, MASK. | |
6276 (OCTAVE_INT_BITSHIFT_OP): Bitshift does not saturate. | |
6277 | |
4916 | 6278 2004-07-23 John W. Eaton <jwe@octave.org> |
6279 | |
6280 * Array.cc (Array<T>::reshape): Return *this if no change in size. | |
6281 | |
4915 | 6282 2004-07-23 David Bateman <dbateman@free.fr> |
6283 | |
6284 * Array.cc, Array.h (cat_ra): Delete. | |
6285 * Array.h, Array-C.cc, Array-d.cc, Array-ch.cc, Array-i.cc | |
6286 (INSTANTIATE_ARRAY_CAT): Delete. | |
6287 | |
6288 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6289 chNDArray.h, intNDArray.cc, intNDArray.h (cat): Delete. | |
6290 | |
6291 * Array.cc (Array<T>::insert): Copy data in NDArray version. | |
6292 | |
6293 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6294 chNDArray.h (concat): New function used for concatenation that does | |
6295 an indexed copy of one array into another. | |
6296 | |
6297 * dim-vector.h (concat): New function to concatenate dim_vectors. | |
6298 | |
6299 * dNDArray.cc, dNDArray.h, CNDArray.cc, CNDArray.h, chNDArray.cc, | |
6300 chNDArray.h, intNDArray.cc, intNDArray.h (insert): New function for | |
6301 insertion of one NDArray into another. | |
6302 | |
6303 * oct-inttype.cc (OCTAVE_INT_CONCAT_FN, OCTAVE_INT_CONCAT_DECL): New | |
6304 macros to define the int/uint concatenation functions. | |
6305 | |
6306 * uint8NDArray.cc, uint16NDArray.cc, uint32NDArray.cc, uint64NDArray.cc | |
6307 int8NDArray.cc, int16NDArray.cc, int32NDArray.cc, int64NDArray.cc | |
6308 (OCTAVE_INT_CONCAT_FN): Instantiate the concatenation function . | |
6309 | |
6310 * uint8NDArray.h, uint16NDArray.h, uint32NDArray.h, uint64NDArray.h | |
6311 int8NDArray.h, int16NDArray.h, int32NDArray.h, int64NDArray.h | |
6312 (OCTAVE_INT_CONCAT_DECL): Declare the int/uint concatentaion | |
6313 functions. | |
6314 | |
4911 | 6315 2004-07-22 David Bateman <dbateman@free.fr> |
6316 | |
6317 * oct-sort.h: Don't include oct-obj.h. | |
6318 | |
6319 * lo-specfun.cc (is_integer_value): New function. | |
6320 (zbesj, zbesi, zbesy): Special case negative integer or half | |
6321 integer orders that cause overflow for small arguments. | |
6322 | |
4909 | 6323 2004-07-12 John W. Eaton <jwe@octave.org> |
6324 | |
6325 * oct-inttypes.h (octave_int<T>::nbits): New function. | |
6326 (bitshift (const octave_int<T>&, int)): New function. | |
6327 | |
4902 | 6328 2004-06-14 John W. Eaton <jwe@octave.org> |
6329 | |
6330 * mx-base.h: Include headers for new int types. | |
6331 | |
6332 * dNDArray.h, dNDArray.cc (NDArray::NDArray (const boolNDArray&), | |
6333 NDArray::NDArray (const charNDArray&)): Delete. | |
6334 (template <class U> explicit NDArray (const intNDArray<U>&)): New | |
6335 constructor. | |
6336 (NDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6337 | |
6338 * chMatrix.h (CharMatrix::transpose): New forwarding functions for | |
6339 return type conversion. | |
6340 | |
6341 * ComplexNDArray.h, ComplexNDArray.cc | |
6342 (ComplexNDArray::ComplexNDArray (const ArrayN<Complex>&), | |
6343 (ComplexNDArray::ComplexNDArray (const NDArray&), | |
6344 (ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
6345 (ComplexNDArray::ComplexNDArray (const charNDArray&)): Delete. | |
6346 | |
6347 (ComplexNDArray::squeze): Call MArrayN::squeeze, not ArrayN::squeeze. | |
6348 | |
6349 * MArrayN.h: | |
6350 (template <class U> explicit MArrayN<T>::MArrayN (const Array2<U>&), | |
6351 (template <class U> MArrayN<T>::MArrayN (const ArrayN<U>&), | |
6352 (template <class U> explicit MArrayN<T>::MArrayN (const MArray<U>&)): | |
6353 New constructors. | |
6354 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6355 ArrayN<T>::squeeze): | |
6356 New forwarding functions for return type conversion. | |
6357 | |
6358 * ArrayN.h: | |
6359 (template <class U> explicit ArrayN<T>::ArrayN (const Array2<U>&), | |
6360 (template <class U> explicit ArrayN<T>::ArrayN (const ArrayN<U>&), | |
6361 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&), | |
6362 (template <class U> explicit ArrayN<T>::ArrayN (const Array<U>&, | |
6363 const dim_vector&)): New constructors. | |
6364 (ArrayN<T>::reshape, ArrayN<T>::permute, ArrayN<T>::ipermute, | |
6365 ArrayN<T>::transpose): | |
6366 New forwarding functions for return type conversion. | |
6367 | |
6368 * Array.h (template <class U> Array<T>::Array (const Array<U>&)): | |
6369 New constructor. | |
6370 (Array<T>::coerce, Array<T>::byte_size): New functions. | |
6371 | |
6372 * Array-i.cc, MArray-i.cc: Instantiate new integer types. | |
6373 | |
6374 * oct-inttypes.h, int16NDArray.h, int32NDArray.h, int64NDArray.h, | |
6375 int8NDArray.h , intNDArray.h, uint16NDArray.h, uint32NDArray.h, | |
6376 uint64NDArray.h, uint8NDArray.h, int16NDArray.cc, int32NDArray.cc, | |
6377 int64NDArray.cc, int8NDArray.cc, intNDArray.cc, uint16NDArray.cc, | |
6378 uint32NDArray.cc, uint64NDArray.cc, uint8NDArray.cc: New files. | |
6379 * Makefile.in: Add them to the appropriate lists. | |
6380 | |
4899 | 6381 2004-06-04 John W. Eaton <jwe@octave.org> |
6382 | |
6383 * mx-inlines.cc (MX_ND_REDUCTION): New arg, RET_ELT_TYPE. Use | |
6384 "RET_ELT_TYPE ()" rather than "false" as fill value for retval | |
6385 resize op. Change all uses. | |
6386 | |
4898 | 6387 2004-06-03 David Bateman <dbateman@free.fr> |
6388 | |
6389 * Array.cc (assignN): Allow magic colon for dimensions lvalue | |
6390 greater than the existing number of dimensions in lvalue. | |
6391 | |
4887 | 6392 2004-04-30 David Bateman <dbateman@free.fr> |
6393 | |
6394 * dim_vector.h (dim_vector::dim_vector_rep::dim_vector_rep): | |
6395 New arg, fill_value. | |
6396 (dim_vector::resize): Allow optional fill_value argument. | |
6397 | |
6398 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6399 Don't chop trailing dimensions of Array<idx_vector> if there is | |
6400 more than one element in idx_vector. Resize the return value to | |
6401 the size of Array<idx_vector>. | |
6402 | |
6403 * Array-util.cc (short_freeze): Better freeze of last dimension of | |
6404 idx_vector that is shorter than a dim_vector. | |
6405 | |
4882 | 6406 2004-04-23 John W. Eaton <jwe@octave.org> |
6407 | |
6408 * oct-sort.cc: Don't include oct-obj.h. | |
6409 | |
4876 | 6410 2004-04-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6411 | |
6412 * Array.cc (Array<T>::index2, Array<T>::indexN): | |
6413 Don't set invalid dimensions on return value. | |
6414 | |
4871 | 6415 2004-04-21 John W. Eaton <jwe@octave.org> |
6416 | |
6417 * mx-inlines.cc (MX_ND_REDUCTION): Chop trailing singletons. | |
6418 | |
4850 | 6419 2004-04-06 David Bateman <dbateman@free.fr> |
6420 | |
4870 | 6421 * Array.cc (Array<T>::resize_no_fill (const dim_vector& dv), |
6422 Array<T>::resize_and_fill (const dim_vector& dv, const T& val)): | |
6423 Make their behavior equivalent except for filling vs. not filling. | |
6424 | |
4850 | 6425 * oct-sort.cc: New template class for arbitrary sorting. |
6426 * oct-sort.h: Declaration of sort class. | |
6427 * Makefile: Add them to the appropriate lists. | |
6428 | |
4845 | 6429 2004-04-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6430 | |
6431 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): Fix off-by-one error. | |
6432 | |
4844 | 6433 2004-04-02 David Bateman <dbateman@free.fr> |
6434 | |
6435 * lo-specfun.cc (besselj, bessely, besseli, besselk, besselh1, | |
6436 besselh2, airy, biry, betainc, gammainc, do_bessel): | |
4852 | 6437 New N-d array versions. |
4844 | 6438 (SN_BESSEL, NS_BESSEL, NN_BESSEL): New macros. |
6439 * lo-specfun.h (besselj, bessely, besseli, besselk, besselh1, | |
6440 besselh2, airy, biry, betainc, gammainc): Provide decls. | |
6441 | |
6442 * dNDArray.cc (NDArray::min, NDArray::max, min, max): | |
6443 New functions. | |
6444 * dNDArray.h (NDArray::min, NDArray::max, min, max): Provide decls. | |
6445 | |
6446 * CNDArray.cc (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6447 New functions. | |
6448 * CNDArray.h (ComplexNDArray::min, ComplexNDArray::max, min, max): | |
6449 Provide decls. | |
6450 | |
4842 | 6451 2004-03-17 David Hoover <jazzdaq@yahoo.com> |
6452 | |
6453 * DASPK.cc (DASPK::do_integrate): Always add n*n elements to the | |
6454 work vector, not just when using a numerical Jacobian. | |
6455 | |
4834 | 6456 2004-03-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6457 | |
4835 | 6458 * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): |
6459 Omit empty result args. | |
6460 | |
4834 | 6461 * Array.cc (Array<T>::Array (const Array<T>&, const dim_vector&)): |
6462 Move here from Array.h, check that size of array arg is not | |
6463 smaller than the size defined by the new dimensions. | |
6464 | |
4832 | 6465 2004-03-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6466 | |
6467 * Array.cc (Array<T>::index2): Allow result to be N-d if indexing | |
6468 a scalar or vector with an N-d array. | |
6469 | |
4826 | 6470 2004-03-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
6471 | |
4828 | 6472 * Array.cc (Array<T>::index2): If scalar or vector is indexed by |
6473 matrix, return object that is the same size as the index. | |
6474 | |
4826 | 6475 * mx-op-defs.h (NDND_CMP_OP, MM_CMP_OP): Require dimensions to agree. |
6476 Eliminate MT_RESULT args. Return value is always size of args. | |
6477 (MS_CMP_OP, SM_CMP_OP, NDS_CMP_OP, SND_CMP_OP): | |
6478 Eliminate EMPTY_RESULT arg. | |
6479 Return value is always size of matrix or N-d array arg. | |
6480 (TBM, FBM, NBM): Delete unused macros. | |
6481 | |
4821 | 6482 2004-03-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6483 | |
6484 * Array.cc (Array<T>::maybe_delete_elements): Return immediately | |
6485 if all LHS dimensions are zero. For one index case, freeze and | |
6486 sort idx_vec before checking length, and do nothing if | |
6487 num_to_delete is zero. | |
4822 | 6488 (Array<T>::maybe_delete_elements_2): Omit Fortran-indexing warning. |
4821 | 6489 |
4816 | 6490 2004-03-04 David Bateman <dbateman@free.fr> |
6491 | |
6492 * dNDArray.cc (NDArray::ifourier): Arg is int, not const int. | |
6493 * CNDArray.cc (ComplexNDArray::ifourier): Likewise. | |
6494 | |
4811 | 6495 2004-03-03 Hans Ekkehard Plesser <hans.ekkehard.plesser@nlh.no> |
6496 | |
6497 * base-lu.cc (base_lu<>::L): Check bounds before setting diagonal | |
6498 element. | |
6499 | |
6500 2004-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6501 | |
6502 * Range.h (Range::Range): Add cache to member initialization list. | |
6503 (Range::clear_cache): New private function. | |
6504 | |
6505 * Range.h (Range::set_base, Range::set_limit, Range::set_inc): | |
6506 Use clear cache. Don't do anything if range does not change. | |
6507 * Range.cc (Range::sort): Likewise. | |
6508 | |
4810 | 6509 2004-03-02 Paul Kienzle <pkienzle@users.sf.net> |
6510 | |
6511 * Range.cc (Range::matrix_value): Cache result. | |
6512 (Range::sort): Clear cache. | |
6513 * Range.h (Range::cache): New data member. | |
6514 (Range::set_base, Range::set_limit, Range::set_inc): Clear cache. | |
6515 (Range::print_range): Delete. | |
4808 | 6516 |
6517 2004-03-02 David Bateman <dbateman@free.fr> | |
6518 | |
6519 * oct-fftw.cc: Only two versions of plan, and avoid endless | |
6520 changes between them. Faster for small fft's. | |
6521 (octave_fftw_planner::simd_align, octave_fftw_planner::rsimd_align): | |
6522 New member variables. | |
6523 (octave_fftw_planner::ialign, octave_fftw_planner::oalign, | |
6524 octave_fftw_planner::rialign, octave_fftw_planner::roalign): Delete. | |
6525 Change all uses. | |
6526 (CHECK_SIMD_ALIGNMENT): New macro. | |
6527 (octave_fftw_planner::create_plan): Use it. | |
6528 | |
4806 | 6529 2004-03-01 Petter Risholm <risholm@idi.ntnu.no> |
6530 | |
6531 * Array.cc (Array<T>::insertN): Eliminate N-d indexing. | |
6532 | |
6533 * mx-inlines.cc (MX_ND_CAT): Delete macro. | |
6534 | |
6535 * dNDArray.h, chNDArray.h, CNDArray.h (cat): Change declaration. | |
6536 * dNDArray.cc (NDArray<T>::cat): Call new form of cat function. | |
6537 * chNDArray.cc (charNDArray<T>::cat): Ditto. | |
6538 * CNDArray.cc (ComplexNDArray<T>::cat): Ditto. | |
6539 | |
6540 * Array.h (cat_ra): Return int. Accept idx and move args, not add_dim. | |
6541 * Array.cc (cat_ra): Speed up implementation by avoiding N-d indexing. | |
6542 | |
4800 | 6543 2004-02-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6544 | |
4802 | 6545 * oct-rl-edit.c (octave_rl_set_startup_hook, |
6546 octave_rl_get_startup_hook, octave_rl_set_event_hook, | |
6547 octave_rl_get_event_hook): Omit casts. | |
6548 * oct-rl-edit.h (rl_startup_hook_fcn_ptr, rl_event_hook_fcn_ptr): | |
6549 Return value for function pointer typedef is now int. | |
6550 * cmd-edit.h (command_editor::startup_hook_fcn, | |
6551 command_editor::event_hook_fcn): Likewise. | |
6552 * cmd-hist.cc, cmd-hist.h (command_history::goto_mark, | |
6553 command_history::do_goto_mark, gnu_history::do_goto_mark): | |
6554 Return type is now int. Return 0. | |
6555 | |
4800 | 6556 * EIG.cc (EIG::init, EIG::symmetric_init): |
6557 Query Lapack for workspace size. | |
6558 | |
4796 | 6559 2004-02-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6560 | |
6561 * Array.cc (Array<T>::resize_and_fill (const dim_vector&, const T&)): | |
6562 Fix thinko in extending dimensions. | |
6563 | |
4791 | 6564 2004-02-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6565 | |
6566 * Range.cc (Range::matrix_value, Range::min, Range::max): | |
6567 Don't compute values beyond the limits of the range. | |
6568 (operator << (std::ostream&, const Range&)): Likewise. | |
6569 | |
4786 | 6570 2004-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6571 | |
4788 | 6572 * oct-fftw.cc (octave_fftw_planner::create_plan): |
6573 Cast IN and OUT args to ptrdiff_t instead of long before masking. | |
6574 From Paul Kienzle <pkienzle@users.sf.net>. | |
6575 | |
4786 | 6576 * Array.cc (Array<T>::insertN (const Array<T>&, int, int)): |
6577 Rename from Array<T>::insert. | |
6578 (Array<T>::insert2 (const Array<T>&, int, int)): | |
6579 Reinstate old Array<T>::insert function under this name. | |
6580 (Array<T>::insert (const Array<T>&, int, int)): | |
6581 New function. Dispatch to insert2 or insertN as appropriate. | |
6582 | |
4785 | 6583 2004-02-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
6584 | |
6585 * oct-fftw.cc (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6586 Sprinkle with OCTAVE_QUIT. | |
6587 | |
5095 | 6588 2004-02-16 David Bateman <dbateman@free.fr> |
4773 | 6589 |
6590 * oct-fftw.cc (octave_fftw_planner::create_plan, octave_fftw::fftNd): | |
6591 Add support for FFTW 3.x. Include the ability to | |
6592 use the real to complex transform for fft's of real matrices | |
6593 (octave_fftw_planner::create_plan2d): Delete. | |
6594 (octave_fftw::fft2d): Delete. | |
6595 (convert_packcomplex_1d, convert_packcomplex_Nd): | |
6596 New static functions. | |
6597 * oct-fftw.h: Update decls. | |
6598 | |
6599 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
6600 Matrix::fourier2d, Matrix::ifourier2d): FFT's use real to complex | |
6601 transforms. 1D FFT of a matrix done as single call rather than | |
6602 loop. Update for FFTW 3.x | |
6603 * CMatrix.cc (ComplexMatrix::fourier, ComplexMatrix::ifourier, | |
6604 ComplexMatrix::fourier2d, ComplexMatrix::ifourier2d): 1D fft of a | |
6605 matrix done as single call rather than loop. Update for FFTW 3.x. | |
6606 | |
6607 * dNDArray.cc (NDArray::fourier, NDArray::ifourier, | |
6608 NDArray::fourierNd, NDArray::ifouriourNd): New fourier transform | |
6609 functions for Nd arrays. | |
6610 * dNArray.h Provide decls. | |
6611 * CNDArray.cc (ComplexNDArray::fourier, ComplexNDArray::ifourier, | |
6612 ComplexNDArray::fourierNd, ComplexNDArray::ifouriourNd): New | |
6613 fourier transform functions for complex Nd arrays. | |
6614 * CNArray.h: Provide decls. | |
6615 | |
4765 | 6616 2004-02-15 Petter Risholm <risholm@stud.ntnu.no> |
6617 | |
6618 * Array.cc (Array<T>::insert (const Array<T>&, int, int)): | |
6619 Make it work for N-d arrays. | |
6620 | |
6621 * ArrayN.h (ArrayN<T>::insert (const ArrayN<T>& a, int, int)): | |
6622 New function. | |
6623 | |
6624 * CNDArray.cc (ComplexNDArray::insert (const NDArray&, int, int), | |
6625 ComplexNDArray::insert (const ComplexNDArray&, int, int)): | |
6626 New functions. | |
6627 * CNDArray.h: Provide decls. | |
6628 | |
4759 | 6629 2004-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6630 | |
4760 | 6631 * Makefile.in (LINK_DEPS): Always define. |
6632 | |
4759 | 6633 * Array.cc (Array<T>::squeeze): Always return an array with at |
6634 least two dimensions. | |
6635 | |
4758 | 6636 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6637 | |
6638 * mx-inlines.cc (MX_ND_CAT): New macro. | |
6639 * dNDArray.cc (NDArray::cat): New function. | |
6640 * dNDArray.h: Provide decls. | |
6641 * CNDArray.cc (complexNDArray::cat): New function. | |
6642 * CNDArray.h: Provide decls. | |
6643 * chNDArray.cc (charNDArray::cat): New function. | |
6644 * chNDArray.h: Provide decls. | |
6645 | |
4756 | 6646 2004-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
6647 | |
6648 * Array.cc (maybe_delete_elements_2): Allow X(n) = [] for 2-d X. | |
6649 (Array<T>assign2): Also call maybe_delete_elements for single | |
6650 index when rows and columns or LHS are both greater than 1. | |
6651 | |
4755 | 6652 2004-02-13 Petter Risholm <risholm@stud.ntnu.no> |
6653 | |
6654 * Array.cc (Array<T>::maybe_delete_elements): | |
6655 Check for index out of bounds. Handle one index. | |
6656 | |
6657 * Array.cc (Array<T>::indexN): Use dim_vector (0, 0) instead of | |
6658 dim_vector (0) to create empty return vector. | |
6659 | |
4749 | 6660 2004-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
6661 | |
6662 * Array.cc (Array<T>::assignN): Don't crash if trying to resize a | |
6663 non-empty LHS when the number of lhs dimensions is less than the | |
6664 number of indices. Detect error if attempting to resize non-empty | |
6665 LHS with colon indices. | |
6666 | |
4745 | 6667 2004-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
6668 | |
4747 | 6669 * Array.cc (Array<T>::resize_and_fill): Don't bother to assign any |
6670 values unless the length of the new array is greater than 0. | |
6671 (Array<T>::resize_no_fill): Likewise. | |
6672 | |
6673 * Array-util.cc (index_in_bounds): Also return false if ra_idx(i) | |
6674 is equal to dimensions(i). | |
6675 | |
6676 * Array-util.h, Array-util.cc (equal_arrays, any_zero_len, | |
6677 get_zero_len_size, number_of_elements): | |
6678 Delete unused functions. | |
6679 | |
6680 * Array-util.cc (get_ra_idx): Use dim_vector::numel instead of | |
6681 number_of_elements function. | |
6682 * Array.cc (Array<T>::indexN): Likewise. | |
6683 | |
6684 * Array.cc (Array<T>::indexN): Use dim_vector::operator == instead | |
6685 of equal_arrays function. | |
6686 (Array<T>::index, Array<T>::indexN, Array<T>::assignN) Use | |
6687 dim_vector::any_zero instead of any_zero_len function. | |
6688 | |
6689 * Array.cc (Array<T>::assignN): Eliminate special case for empty index. | |
6690 Don't skip reshaping and resizing if RHS is empty. | |
6691 | |
4746 | 6692 * Array.cc (Array<T>::assignN): Simplify loop for array assignment. |
6693 Move body of MAYBE_RESIZE_ND_DIMS here since it is only used once. | |
4747 | 6694 Delete unused variables is_colon and is_colon_equiv. |
4746 | 6695 Correctly resize for expressions like x(:,:,2) = ones(3,3) when |
6696 LHS is not yet defined. | |
4745 | 6697 Error for resizing if number of indices is less than number of LHS |
6698 dimensions. | |
6699 | |
4746 | 6700 * Array.cc (Array<T>::maybe_delete_elements): Maybe warn about |
6701 Fortran-style indexing. | |
6702 | |
4743 | 6703 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6704 | |
6705 * Array.cc (Array<T>::assignN): Simplify. | |
6706 Allow assignments to succeed if number if indices is less than the | |
6707 number of RHS dimensions. | |
6708 | |
4738 | 6709 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6710 | |
4741 | 6711 * Array.cc (Array<T>::maybe_delete_elements): Reshape LHS |
6712 when number of indices is less than number of dimensions. | |
6713 | |
6714 * Array.cc (Array<T>::assignN, Array<T>::maybe_delete_elements): | |
6715 Remove unsued variable lhs_inc. | |
6716 | |
4740 | 6717 * Array.cc (Array<T>::maybe_delete_elements): Declare idx_is_colon |
6718 and idx_is_colon_equiv Array<int> instead of dim_vector. | |
6719 | |
6720 * Array.cc (Array<T>::assignN): Compute new dims in a cleaner way. | |
6721 | |
4738 | 6722 * Array.cc (Array<T>::index): Check for frozen_lengths.length () |
6723 == n_dims before checking to see if all indices are colon_equiv. | |
6724 | |
4736 | 6725 2004-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
6726 | |
6727 * Array.cc (Array<T>::assignN): Require RHS == 0x0 matrix for | |
6728 deleting elements. | |
4737 | 6729 (Array<T>::index): Remove trailing singletons in ra_idx, but leave |
6730 at least ndims elements. | |
4736 | 6731 |
4735 | 6732 2004-02-05 Petter Risholm <risholm@stud.ntnu.no> |
6733 | |
6734 * Array.cc (Array<T>::assignN): Accept assignment of a vector | |
6735 oriented differently from the index. | |
6736 | |
6737 * dim-vector.h (dim_vector::squeeze): Return value always has at | |
6738 least two dimensions. | |
6739 | |
4733 | 6740 2004-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
6741 | |
4735 | 6742 * dim-vector.h (dim_vector::squeeze): New function. |
6743 (Array<T>::assignN): Use it instead of chop_trailing_singltons for | |
6744 deciding whether the assignment conforms. | |
6745 | |
4733 | 6746 * Array.cc (Array<T>::assignN): Simplify dimension check by |
6747 comparing rhs_dims and frozen_len sans trailing singletons. | |
6748 | |
4732 | 6749 2004-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
6750 | |
6751 * idx-vector.cc (tree_to_mat_idx): New arg, conversion_error. | |
6752 Call error handler and return conversion_error == true if arg is | |
6753 not integer. | |
6754 (IDX_VEC_REP::idx_vector_rep): Exit early if conversion_error. | |
6755 | |
4730 | 6756 2004-02-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
6757 | |
6758 * boolNDArray.h (boolNDArray::boolNDArray): Declare dim_vector | |
6759 reference arg const. | |
6760 | |
6761 2004-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6762 | |
6763 * Array-flags.cc: Include Array-flags.h, not Array.h. Doh. | |
6764 | |
4729 | 6765 2004-01-30 Jakub Bogusz <qboosh@pld-linux.org> |
6766 | |
6767 * Array-flags.h (liboctave_wfi_flag, liboctave_wrore_flag): | |
6768 Now bool, to match definition in Array-flags.cc. | |
6769 | |
4725 | 6770 2004-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6771 | |
4726 | 6772 * file-ops.cc: Include <vector> instead of <memory> for new |
6773 definition of OCTAVE_LOCAL_BUFFER. | |
6774 | |
4725 | 6775 * EIG.cc, EIG.h (EIG::init, EIG::symmetric_init, EIG::hermitian_init): |
6776 New arg, calc_eigenvectors. | |
6777 * EIG.h (EIG:EIG): New optional arg, calc_eigenvectors. | |
6778 Based on patch from David Bateman <dbateman@free.fr>. | |
6779 | |
4716 | 6780 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6781 | |
6782 * Array.cc (Array<T>::assign2, Array<T>::assignN): | |
6783 For X(I) = RHS, don't restrict I to fewer elements than X. | |
6784 | |
6785 * Array.cc (Array<T>::assign2): Simplify indexing for X(I) = RHS case. | |
6786 | |
4711 | 6787 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6788 | |
4714 | 6789 * mx-inlines.cc (MX_ND_REDUCTION, MX_ND_CUMULATIVE_OP): |
6790 Simplify calculation of number of elements in retval. | |
6791 | |
4711 | 6792 * Array.cc (Array<T>::assignN): Eliminate unnecessray code for |
6793 filling when RHS is scalar and dimension lengths agree. | |
6794 | |
4710 | 6795 2004-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
6796 | |
4713 | 6797 * Makefile.in (distclean): Remove mx-ops.h, $(MX_OP_INC), |
6798 $(VX_OP_INC), $(MX_OP_SRC), $(VX_OP_SRC), and $(OPTS_INC). | |
4710 | 6799 |
4707 | 6800 2004-01-22 Petter Risholm <risholm@stud.ntnu.no> |
6801 | |
4709 | 6802 * Array.cc (Array<T>::resize_and_fill): Correctly copy old elements. |
6803 (Array<T>::assign2): Check for RHS dimensions larger than 2. | |
4707 | 6804 |
4702 | 6805 2004-01-21 Petter Risholm <risholm@stud.ntnu.no> |
6806 | |
4703 | 6807 * Array.h (Array<T>::chop_trailing_singletons): New function. |
6808 * Array.cc (Array<T>::assignN): Use it on LHS. | |
6809 | |
6810 * Array.cc (Array<T>::assignN): Fix incorrectly nested if statement. | |
4702 | 6811 Retrieve scalar element by passin 0 instead of an index array. |
4703 | 6812 Check for singleton dimensions where RHS is matrix or higher dimension. |
6813 Make sure index is in bounds. | |
4702 | 6814 |
4698 | 6815 2004-01-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6816 | |
6817 * lo-ieee.cc (octave_ieee_init): Ensure that octave_Inf, | |
6818 octave_NaN, and octav_NA values are always initialized. Check | |
6819 floating point format, not HAVE_ISINF, HAVE_FINITE, or HAVE_ISNAN | |
6820 to decide whether to do IEEE initialization. | |
6821 | |
4687 | 6822 2004-01-06 David Bateman <dbateman@free.fr> |
6823 | |
6824 * CNDArray.cc (ComplexNDArray::any_element_is_inf_or_nan, | |
6825 ComplexNDArray::all_elements_are_real, ComplexNDArray::all_integers, | |
6826 ComplexNDArray::too_large_for_float): New functions | |
6827 | |
6828 * CNDArray.cc (operator <<, operator >>): New IO operators. | |
6829 * CNDArray.h: Provide decls. | |
6830 * dNDArray.cc (operator <<, operator >>): New IO operators. | |
6831 * dNDArray.h: Provide decls. | |
6832 | |
4673 | 6833 2003-12-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
6834 | |
4674 | 6835 * mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since |
6836 they are already defined in boolNDArray.cc. | |
6837 | |
4673 | 6838 * Array-util.cc (get_zero_len_size): Delete. |
6839 * Array.cc (Array<T>::index (Array<idx_vector>&, int, const T&)): | |
6840 Handle zero-length result dimensions the same as empty original | |
6841 indices. | |
6842 | |
6843 2003-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6844 | |
6845 * dim-vector.h (dim_vector::chop_trailing_singleton_dims, | |
6846 dim_vector::dim_vector_rep::chop_trailing_singleton_dims): | |
6847 New functions. | |
6848 * Array.cc (ArrayN<T>::indexN): Use it. | |
6849 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): Likewise. | |
6850 | |
4669 | 6851 2003-11-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
6852 | |
6853 * boolNDArray.cc: Define BOOL ops. Define mixed CMP ops. | |
6854 * boolNDArray.h: Declare BOOL ops. Declare mixed CMP ops. | |
6855 | |
6856 2003-11-25 John W. Eaton <jwe@bevo.che.wisc.edu> | |
6857 | |
6858 * mk-ops.awk: Also emit #include "Array-util.h". | |
6859 | |
6860 * mx-ops: Add bool, boolMatrix, and boolNDarray types. | |
6861 Add bnda x bnda, b x bnda, and bnda x b ops. | |
6862 | |
6863 * MArray-misc.cc: Delete. | |
6864 * Makefile.in (MATRIX_SRC): Remove it from the list. | |
6865 | |
6866 * Array-util.h, Array-util.cc (gripe_nonconformant): Move here from | |
6867 MArray.h, MArray2.h, MArrayN.h, and MArray-misc.cc. | |
6868 | |
4655 | 6869 2003-11-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
6870 | |
4663 | 6871 * dbleQR.cc (QR::init): Use separate pwork pointers. |
6872 * CmplxQR.cc (ComplexQR::init): Likewise. | |
6873 | |
6874 * oct-group.cc (octave_group::getgrnam): Pass correct args to | |
6875 two-arg getgrnam version. | |
6876 | |
4657 | 6877 * Array.cc (assignN): Allow single indexing to work. |
4661 | 6878 (Array<T>::range_error (const char*, const Array<int>&)): |
6879 Report index values. | |
6880 | |
6881 * Array.cc (Array<T>::index): Delete unused arg names. | |
4662 | 6882 * ODESSA.cc (odessa_j): Likewise. |
6883 * DASRT.cc (ddasrt_f, ddasrt_g): Likewise. | |
6884 * DASPK.cc (ddaspk_psol): Likewise. | |
6885 * lo-mappers.cc (imag): Likewise. | |
4663 | 6886 * Array-util.cc (get_zero_len_size): Likewise. |
6887 * kpse.cc (path_search, path_find_first_of): Likewise. | |
6888 * cmd-edit.cc (do_generate_filename_completions): Likewise. | |
4656 | 6889 |
4655 | 6890 * dim-vector.h (dim_vector::all_ones): New function. |
6891 | |
4646 | 6892 2003-11-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
6893 | |
4653 | 6894 * idx-vector.h (idx_vector::orig_empty): Check orig_dims for |
6895 zeros, not orig_rows or orig_columns. | |
6896 (idx_vector::idx_vector_rep::orig_rows): Define using orig_dims. | |
6897 (idx_vector::idx_vector_rep::orig_columns): Likewise. | |
6898 | |
6899 * idx-vector.cc (idx_vector::idx_vector_rep::orig_nr, | |
6900 (idx_vector::idx_vector_rep::orig_nc): Delete. | |
6901 | |
6902 * idx-vector.cc (idx_vector::idx_vector_rep): | |
6903 Use initialization lists for constructors. | |
6904 | |
4651 | 6905 * Array.cc (Array<T>::indexN): Correctly handle single colon index. |
6906 Omit special case for ra_idx.capacity () == 1. | |
6907 Always allow single index for matrix args with optional warning. | |
6908 | |
4650 | 6909 * idx-vector.h, idx-vector.cc: Convert boolMatrix functions to use |
6910 boolNDArray. Likewise, convert Matrix functions to use NDArray. | |
6911 | |
4648 | 6912 * Array-so.cc: New file. Move instantiations here from so-array.h. |
6913 * Makefile.in (TI_SRC): Add it to the list. | |
6914 | |
4646 | 6915 * MArray-defs.h (DO_VS_OP2, DO_VV_OP2): Accept args for element |
6916 type and the names of the left and right operands. Change all uses. | |
6917 | |
6918 * so-array.cc, so-array.h: New files. Move streamoff_array here | |
6919 from src/ov-streamoff.h and src/ov-streamoff.cc. | |
6920 | |
4645 | 6921 2003-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
6922 | |
6923 * MArrayN.cc (operator -=, operator +=): Check dimensions, not | |
6924 just length. | |
6925 | |
6926 * Array2.h, Array3.h, DiagArray2.h, DiagArray2.cc, MDiagArray2.h, | |
6927 ArrayN.h: Add this-> or Base:: qualifiers for references to | |
6928 non-dependent member functions and data as needed. | |
6929 | |
6930 * DiagArray2.h, DiagArray2.cc: Delete unused code. | |
6931 | |
6932 * Array2.h (Array2<T>::operator =): Don't copy dimensions here. | |
6933 * Array3.h (Array3<T>::operator =): Likewise. | |
6934 * DiagArray2.h (DiagArray2<T>::operator =): Likewise. | |
6935 Include Array.h, not Array2.h. | |
6936 | |
4634 | 6937 2003-11-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
6938 | |
4636 | 6939 * str-vec.cc (list_in_columns): Fix previous change. |
6940 | |
4635 | 6941 * dim-vector.h (dim_vector::num_ones): New function. |
6942 * Array.cc (maybe_delete_elements): Use it instead of | |
6943 num_ones (const Array<int>&). | |
6944 | |
6945 * Array.cc (assignN): Omit dubious check of singleton dimensions. | |
6946 | |
4634 | 6947 * dNDArray.cc (NDArray::all_elements_are_int_or_inf_or_nan, |
6948 NDArray::any_element_is_inf_or_nan, NDArray::too_large_for_float): | |
6949 New functions. | |
6950 * dNDArray.h: Provide decls. | |
6951 | |
6952 * dMatrix.h (Matrix::any_element_is_negative, | |
6953 Matrix::any_element_is_inf_or_nan, Matrix::too_large_for_float, | |
6954 Matrix::all_elements_are_int_or_inf_or_nan, Matrix::all_integers): | |
6955 Simplify. | |
6956 | |
6957 * dNDArray.cc (NDArray::abs): Make it work for N-d arrays. | |
6958 * CNDArray.cc (ComplexNDArray::abs): Likewise. | |
6959 | |
6960 * dNDArray.cc (real, imag): New functions. | |
6961 * dNDArray.h: Provide decls. | |
6962 | |
4630 | 6963 2003-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
6964 | |
6965 * Makefile.in (TEMPLATE_SRC): Move MArrayN.cc here from MATRIX_SRC. | |
6966 | |
4625 | 6967 2003-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
6968 | |
6969 * Array.h (Array<T>::resize (int, const T&)): Reinstate. | |
6970 * MArray.h (resize): Delete. | |
6971 * MArray2.h (resize): Delete. | |
6972 * DASRT.cc (DASRT::integrate): Use resize, not resize_and_fill. | |
6973 * ODESSA (ODESSA::integrate): Likewise. | |
6974 | |
4616 | 6975 2003-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
6976 | |
6977 * Makefile.in (dist): Depend on stamp-prereq. | |
6978 | |
4605 | 6979 2003-11-12 John Eaton <jwe@bevo.che.wisc.edu> |
6980 | |
6981 * mach-info.c (oct_mach_info::init_float_format) [CRAY]: | |
6982 Kluge to make it work. | |
4604 | 6983 |
6984 * lo-ieee.cc (octave_ieee_init): Set octave_Inf, octave_NaN, and | |
6985 octave_NA to DBL_MAX if native float format is vaxd, vaxg, or cray. | |
6986 | |
6987 * cmd-edit.cc (gnu_readline::do_generate_filename_completions, | |
6988 default_command_editor::do_generate_filename_completions, | |
6989 command_editor::generate_filename_completions): New functions. | |
6990 * cmd-edit.h: Provide decls. | |
6991 * oct-rl-edit.c (octave_rl_filename_completion_function): New | |
6992 function. | |
6993 * oct-rl-edit.h: Provide decl. | |
6994 | |
4593 | 6995 2003-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
6996 | |
4594 | 6997 * Array.h (INSTANTIATE_ARRAY_ASSIGN, INSTANTIATE_ARRAY_AND_ASSIGN, |
6998 INSTANTIATE_ARRAY): New macros. | |
6999 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7000 Array-idx-vec.cc, Array-s.cc, Array-str.cc, ODESSA.cc: Use them. | |
7001 | |
4593 | 7002 * Array.h (Array<T>::ipermute): New function. |
7003 | |
7004 2003-11-11 Petter Risholm <risholm@stud.ntnu.no> | |
7005 | |
7006 * Array.cc (Array<T>::permute): New function. | |
7007 * Array.h: Provide decl. | |
7008 | |
7009 * Array-util.cc (calc_permutated_idx): New function. | |
7010 * Array-util.h: Provide decl. | |
7011 | |
4587 | 7012 2003-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7013 | |
4592 | 7014 * Array.cc (Array<T>::index2): Return value has orientation of |
7015 indexed value if indexing a vector with a bool matrix. | |
7016 | |
4589 | 7017 * ArrayN.h (ArrayN<T>::get_size): Delete. |
7018 | |
4588 | 7019 * Array.cc, ArrayN.cc, dNDArray.cc, CNDArray.cc, boolNDArray.cc, |
7020 chNDArray.cc: Include Array-util.h instead of ArrayN-inline.h. | |
7021 | |
7022 * ArrayN-inline.h: Delete. | |
7023 * Array-util.h, Array-util.cc: New files, from ArrayN-inline.h. | |
7024 * Makefile.in: Fix the appropriate lists. | |
7025 | |
4587 | 7026 * Array.cc, Array.h, ArrayN.h, CMatrix.cc, CNDArray.h, |
7027 CRowVector.cc, CmplxQR.cc, CollocWt.h, DASPK.h, DASRT.h, DASSL.h, | |
7028 FEGrid.cc, LP.h, LSODE.h, MArrayN.h, ODE.h, ODES.h, ODESSA.cc, | |
7029 boolNDArray.h, chNDArray.h, dMatrix.cc, dNDArray.h, dRowVector.cc, | |
7030 dbleQR.cc, kpse.cc, oct-rl-hist.c, str-vec.cc, str-vec.h: | |
7031 Avoid -Wshadow warnings. | |
7032 | |
7033 2003-11-08 John Eaton <jwe@bevo.che.wisc.edu> | |
4585 | 7034 |
7035 * Array.h (Array<T>::nil_rep): Qualify return type with typename. | |
7036 | |
7037 * mk-ops.awk: Delete elements of bool_headers array individually. | |
7038 | |
7039 2003-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7040 | |
7041 * Array.cc (maybe_delete_elements): Rename arg idx to ra_idx. | |
7042 | |
4584 | 7043 2003-10-31 Petter Risholm <risholm@stud.ntnu.no> |
7044 | |
7045 * mx-inlines.cc (MX_ND_CUMULATIVE_OP): New macro. | |
7046 | |
7047 * CNDArray.cc, CNDArray.h (ComplexNDArray::cumsum, | |
7048 ComplexNDArray::cumprod): Return ComplexNDArray. Handle N-d arrays. | |
7049 * dNDArray.cc, dNDArray.h (NDArray::cumsum, NDArray::cumprod): | |
7050 Return NDArray. Handle N-d arrays. | |
7051 | |
4575 | 7052 2003-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7053 | |
4583 | 7054 * LSODE.cc (LSODE::do_integrate): Avoid name conflict on systems |
7055 that upcase Fortran names by calling dlsode instead of lsode. | |
7056 | |
7057 * ODESSA.cc (ODESSA::do_integrate): Avoid name conflict on systems | |
7058 that upcase Fortran names by calling dodessa instead of odessa. | |
7059 | |
4577 | 7060 * file-ops.cc (file_ops::symlink): Cope with systems that expect |
7061 non-const args for symlink system call. | |
7062 (file_ops::readlink): Likewise, for readlink. | |
7063 | |
4575 | 7064 * DASRT.cc (DASRT::integrate): Fix typo in Fortran function name. |
7065 | |
4574 | 7066 2003-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7067 | |
7068 * mach-info.h (oct_mach_info): Prefix enum elements with flt_fmt_. | |
7069 Change all uses. | |
7070 | |
4569 | 7071 2003-10-29 Petter Risholm <risholm@stud.ntnu.no> |
7072 | |
7073 * dNDArray.cc (NDArray::cumprod, NDArray::cumsum, NDArray::prod, | |
7074 NDArray::sum, NDArray::sumsq, NDArray::abs): New functions. | |
7075 * dNDArray.h: Provide decls. | |
7076 * CNDArray.cc (ComplexNDArray::cumprod, ComplexNDArray::cumsum, | |
7077 ComplexNDArray::prod, ComplexNDArray::sum, ComplexNDArray::sumsq, | |
7078 ComplexNDArray::abs): New functions. | |
7079 * CNDArray.h: Provide decls. | |
7080 | |
7081 * mx-inlines.cc (MX_ND_REDUCTION): Rename from MX_ND_ANY_ALL. | |
7082 Generalize to handle other reduction operations. | |
7083 (MX_ND_REAL_OP_REDUCTION, MX_ND_COMPLEX_OP_REDUCTION, | |
7084 MX_ND_ALL_ANY_REDUCTION): New macros. | |
7085 | |
4565 | 7086 2003-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7087 | |
4567 | 7088 * Array.cc (Array<T>::reshape): New function. |
7089 * Array.h: Provide decl. | |
7090 | |
7091 * dim-vector.h (dim_vector::numel): New function. | |
7092 | |
4565 | 7093 * dim-vector.h (dim_vector_rep::dim_vector_rep (int, const |
7094 dim_vector&)): Correctly handle case of n < dv->ndims. | |
7095 | |
4559 | 7096 2003-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7097 | |
7098 * dim-vector.h (dim_vector::any_zero): New function. | |
7099 (dim_vector::str): New default arg, sep. | |
7100 | |
7101 * Array.h (Array<T>::numel): New function. | |
7102 | |
4556 | 7103 2003-10-27 Petter Risholm <risholm@stud.ntnu.no> |
7104 | |
7105 * mx-inlines.cc (MX_ND_ALL_EXPR, MX_ND_ANY_EXPR, | |
7106 MX_ND_ALL_EVAL, MX_ND_ANY_EVAL, MX_ND_ALL_ANY): New macros. | |
7107 * dNDArray.h (NDArray::all, NDArray::any): Return type now boolNDArray. | |
7108 * CNDArray.h (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7109 * boolNDArray.h (boolNDArray::all, boolNDArray::any): Likewise. | |
7110 * chNDArray.h (charNDArray::all, charNDArray::any): Likewise. | |
7111 * dNDArray.cc (NDArray::all, NDArray::any): Make them work. | |
7112 * CNDArray.cc (ComplexNDArray::all, ComplexNDArray::any): Likewise. | |
7113 * boolNDArray.cc (boolNDArray::all, boolNDArray::any): Likewise. | |
7114 * chNDArray.cc (charNDArray::all, charNDArray::any): Likewise. | |
7115 | |
4552 | 7116 2003-10-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
7117 | |
4553 | 7118 * Array.cc (Array<T>::resize_and_fill): Allow number of dimensions |
7119 to change. From Petter Risholm <risholm@stud.ntnu.no>. | |
7120 | |
4552 | 7121 * oct-rand.cc, CColVector.cc, CMatrix.cc, CRowVector.cc, |
7122 CmplxAEPBAL.cc CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
7123 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, CollocWt.cc, DASPK.cc, | |
7124 DASRT.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, ODESSA.cc, | |
7125 Quad.cc, dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
7126 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
7127 dbleSCHUR.cc, dbleSVD.cc, lo-specfun.cc: | |
7128 Use new F77 arg macros in declarations of external Fortran | |
7129 subroutines and for calling them. | |
7130 | |
4548 | 7131 2003-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7132 | |
7133 * Array.cc (Array<T>::resize_no_fill (const dim_vector&)): | |
7134 Allow number of dimensions to change. | |
7135 (Array<T>::resize_no_fill (int, int)): Require ndims to be 0 or 2. | |
7136 (Array<T>::resize_and_fill (int, int, const T&)): Likewise. | |
7137 (Array<T>::resize_no_fill (int, int, int)): Require ndims to be 0 or 3. | |
7138 (Array<T>::resize_and_fill (int, int, int, const T&)): Likewise. | |
7139 (Array<T>::transpose): Require ndims to be 2. | |
7140 (Array<T>::index2): Likewise. | |
7141 (Array<T>::index (idx_vector&, idx_vector&, int, const T&)): Likewise. | |
7142 (Array<T>::maybe_delete_elements_2): Likewise. | |
7143 (Array<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Likewise. | |
7144 (Array<T>::index1): Use resize_and_fill. | |
7145 (MAYBE_RESIZE_ND_DIMS): Likewise. | |
7146 | |
7147 * ODESSA.cc (ODESSA::integrate): Use resize_and_fill for x_s_out. | |
7148 | |
7149 * MArray2.h (MArray2<T>::resize (int, int)): New function. | |
7150 (MArray2<T>::resize (int, int, const T&)): New function. | |
7151 | |
7152 * MArray.h (MArray<T>::resize (int)): New function. | |
7153 (MArray<T>::resize (int, const T&)): New function. | |
7154 | |
7155 * DASRT.cc (DASRT::integrate): Use resize_and_fill for jroot. | |
7156 | |
7157 * DASPK-opts.in: Use single-arg resize for initial condition | |
7158 heuristics. | |
7159 | |
7160 * dim-vector.h (class dim_vector): Now reference counted. | |
7161 (dim_vector_rep::elem): Use assert to check that index is in bounds. | |
7162 | |
4544 | 7163 2003-10-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7164 | |
4545 | 7165 * Array.cc (Array<T>::squeeze): Delete redundant retval decl. |
7166 | |
4544 | 7167 * mx-cdm-cm.cc, mx-cdm-cm.h, mx-cdm-cs.cc, mx-cdm-cs.h, |
7168 mx-cdm-dm.cc, mx-cdm-dm.h, mx-cdm-m.cc, mx-cdm-m.h, mx-cdm-s.cc, | |
7169 mx-cdm-s.h, mx-cm-cdm.cc, mx-cm-cdm.h, mx-cm-dm.cc, mx-cm-dm.h, | |
7170 mx-cm-m.cc, mx-cm-m.h, mx-cm-s.cc, mx-cm-s.h, mx-cs-cdm.cc, | |
7171 mx-cs-cdm.h, mx-cs-dm.cc, mx-cs-dm.h, mx-cs-m.cc, mx-cs-m.h, | |
7172 mx-dm-cdm.cc, mx-dm-cdm.h, mx-dm-cm.cc, mx-dm-cm.h, mx-dm-cs.cc, | |
7173 mx-dm-cs.h, mx-dm-m.cc, mx-dm-m.h, mx-dm-s.cc, mx-dm-s.h, | |
7174 mx-m-cdm.cc, mx-m-cdm.h, mx-m-cm.cc, mx-m-cm.h, mx-m-cs.cc, | |
7175 mx-m-cs.h, mx-m-dm.cc, mx-m-dm.h, mx-ops.h, mx-s-cdm.cc, | |
7176 mx-s-cdm.h, mx-s-cm.cc, mx-s-cm.h, mx-s-dm.cc, mx-s-dm.h, | |
7177 vx-ccv-cv.cc, vx-ccv-cv.h, vx-ccv-s.cc, vx-ccv-s.h, vx-crv-rv.cc, | |
7178 vx-crv-rv.h, vx-crv-s.cc, vx-crv-s.h, vx-cs-cv.cc, vx-cs-cv.h, | |
7179 vx-cs-rv.cc, vx-cs-rv.h, vx-cv-ccv.cc, vx-cv-ccv.h, vx-cv-cs.cc, | |
7180 vx-cv-cs.h, vx-rv-crv.cc, vx-rv-crv.h, vx-rv-cs.cc, vx-rv-cs.h, | |
7181 vx-s-ccv.cc, vx-s-ccv.h, vx-s-crv.cc, vx-s-crv.h: Delete. These | |
7182 files are now automatically generated. | |
7183 | |
7184 * Makefile.in ($(VX_OP_INC), $(VX_OP_SRC), $(MX_OP_INC), | |
7185 $(MX_OP_SRC)): Generate lists with new mk-ops.awk script. | |
7186 Add rules to generate these files and mx-ops.h. | |
7187 (stamp-prereq): Depend on these files. | |
7188 | |
7189 * mx-ops, vx-ops, mk-ops.awk: New files. | |
7190 * Makefile.in (DISTFILES): Add them to the list. | |
7191 | |
4543 | 7192 2003-10-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
7193 | |
7194 * NDArray.cc (NDArray::NDArray (const boolNDArray), | |
7195 NDArray::NDArray (const charNDArray)): New constructors. | |
7196 (NDArray::operator !): New function. | |
7197 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7198 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7199 | |
7200 * CNDArray.cc (ComplexNDArray::ComplexNDArray (const NDArray&), | |
7201 ComplexNDArray::ComplexNDArray (const boolNDArray&), | |
7202 ComplexNDArray::ComplexNDArray (const charNDArray&)): | |
7203 New constructors. | |
7204 (ComplexNDArray::operator !): New function. | |
7205 Provide NDS_CMP_OPS, NDS_BOOL_OPS, SND_CMP_OPS, SND_BOOL_OPS, | |
7206 NDND_CMP_OPS, NDND_BOOL_OPS. | |
7207 | |
7208 * ArrayN.h (resize (const dim_vector&)): Fix typo. | |
7209 | |
7210 * boolNDArray.cc (boolNDArray::operator !): New function. | |
7211 Provide NDND_CMP_OPS. | |
7212 | |
7213 * MArrayN.cc (operator +=, operator -=): New functions. | |
7214 Provide product and quotient functions. | |
7215 | |
7216 * MArray-misc.cc (gripe_nonconformant (const char *, dim_vector&, | |
7217 dim_vector&)): New function. | |
7218 | |
7219 * dim-vector.h (dim_vector::str, dim_vector::all_zero, | |
7220 operator ==, operator !=): New functions. | |
7221 * ArrayN.cc (operator <<): Use dim_vector::str here. | |
7222 | |
7223 * Array.cc (Array<T>::resize_no_fill, Array<T>::resize_and_fill): | |
7224 No need to save old dimensions. | |
7225 | |
7226 * oct-rand.cc (MAKE_RAND_ND_ARRAY): New macro. | |
7227 (octave_rand::nd_array): New function. | |
7228 * oct-rand.h (octave_rand::nd_array): Provide decl. | |
7229 | |
7230 * mx-op-defs.h (NDCMP_OP_DECL, NDBOOL_OP_DECL, NDS_BIN_OP_DECLS, | |
7231 NDS_BIN_OP, NDS_BIN_OPS, NDS_CMP_OP_DECLS, NDS_CMP_OP, | |
7232 NDS_CMP_OPS, NDS_BOOL_OP_DECLS, NDS_BOOL_OP, NDS_BOOL_OPS, | |
7233 NDS_OP_DECLS, SND_BIN_OP_DECLS, SND_BIN_OP, SND_BIN_OPS, | |
7234 SND_CMP_OP_DECLS, SND_CMP_OP, SND_CMP_OPS, SND_BOOL_OP_DECLS, | |
7235 SND_BOOL_OP, SND_BOOL_OPS, SND_OP_DECLS, NDND_BIN_OP_DECLS, | |
7236 NDND_BIN_OP, NDND_BIN_OPS, NDND_CMP_OP_DECLS, NDND_CMP_OP, | |
7237 NDND_CMP_OPS, NDND_BOOL_OP_DECLS, NDND_BOOL_OP, NDND_BOOL_OPS, | |
7238 NDND_OP_DECLS): New macros. | |
7239 * mx-cm-m.h, mx-cm-s.h, mx-cs-m.h, mx-m-cm.h, mx-m-cs.h, | |
7240 mx-s-cm.h, mx-cm-m.cc, mx-cm-s.cc, mx-cs-m.cc, mx-m-cm.cc, | |
7241 mx-m-cs.cc, mx-s-cm.cc: Use them. | |
7242 | |
7243 * mx-defs.h (class NDArray, class ComplexNDArray, class | |
7244 boolNDArray, class charNDArray): New forward decls. | |
7245 | |
4534 | 7246 2003-10-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7247 | |
7248 * Array.cc (assign2): No error (but don't do anything either) for | |
7249 expressions like x([],j) = scalar. | |
7250 | |
4532 | 7251 2003-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7252 | |
4533 | 7253 * Array.cc (assignN): Allow lhs(:) = scalar. |
7254 | |
4532 | 7255 * CNDArray.cc (ComplexNDArray::increment_index): New function. |
7256 * dNDArray.cc (NDArray::increment_index): Likewise. | |
7257 * boolNDArray.cc (boolNDArray::increment_index): Likewise. | |
7258 * chNDArray.cc (charNDArray::increment_index): Likewise. | |
7259 | |
7260 * dim-vector.h (rows, cols): Delete unused data members. | |
7261 | |
7262 * Array.cc (Array<T>::get_size): Fix thinko. | |
7263 | |
7264 2003-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7265 | |
7266 * Array.cc (Array<T>::squeeze): New function. | |
7267 * CNDArray.h (ComplexNDArray::squeeze): Likewise. | |
7268 * dNDArray.h (NDArray::squeeze): Likewise. | |
7269 * boolNDArray.h (boolNDArray::squeeze): Likewise. | |
7270 * chNDArray.h (charNDArray::squeeze): Likewise. | |
7271 | |
4530 | 7272 2003-10-06 Petter Risholm <risholm@stud.ntnu.no> |
7273 | |
7274 * Array.cc (ArrayN<T>::indexN): New definition. | |
7275 * Array.h (Array<T>::indexN): Provide decl. | |
7276 * Array.cc (ArrayN<T>::index (idx_vector&, int, const T&): | |
7277 Call indexN if more than 2 indices. | |
7278 (ArrayN<T>::index (Array<idx_vector>&, int, const T&)): | |
7279 Make it (mostly) work. | |
7280 * ArrayN-inline.h (number_of_elements, get_ra_idx, short_freeze): | |
7281 New functions. | |
7282 | |
4527 | 7283 2003-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
7284 | |
7285 * cmd-edit.cc (do_readline): Pass eof to octave_fgetl. | |
7286 * lo-utils.cc (octave_fgets, octave_fgetl): New overloaded | |
7287 versions with eof arg. | |
7288 | |
4518 | 7289 2003-09-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7290 | |
7291 * Array.h (dimensions): Now public. | |
7292 template <class LT, class RT> | |
7293 (assign (Array<LT>&, const Array<RT>&, const LT&), | |
7294 assign1 (Array<LT>&, const Array<RT>&, const LT&), | |
7295 assign2 (Array<LT>&, const Array<RT>&, const LT&), | |
7296 assignN (Array<LT>&, const Array<RT>&, const LT&), | |
7297 resize_no_fill (int), | |
7298 resize_no_fill (int, int), | |
7299 resize_no_fill (int, int, int), | |
7300 resize_no_fill (const dim_vector&), | |
7301 resize_and_fill (int, const T&), | |
7302 resize_and_fill (int, int, const T&), | |
7303 resize_and_fill (int, int, int, const T&), | |
7304 resize_and_fill (const dim_vector&, const T&)): Now public. | |
7305 | |
7306 * Array.cc: Include <climits>. | |
7307 | |
4513 | 7308 2003-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7309 | |
4517 | 7310 * Array.cc: Merge Array-idx.h. |
7311 * Array-idx.h: Delete. | |
7312 | |
4514 | 7313 * chNDArray.h, chNDArray.cc, boolNDArray.h, boolNDArray.cc: New files. |
7314 | |
4513 | 7315 * Array.h, Array-idx.h, Array.cc: Fold all N-d functionality here. |
7316 Turn inheritance hierarchy upside down (2-d and 3-d arrays are now | |
7317 just special cases of the general purpose N-d Array object). | |
7318 | |
7319 * dim-vector.h: New file. Use dim_vector objects instead of | |
7320 ints or Array<int> objects to represent the size of Array | |
7321 objects. | |
7322 | |
7323 * MArray-defs.h (INSTANTIATE_MARRAYN_FRIENDS): New macro. | |
7324 | |
7325 * Array2-idx.h, Array3-idx.h, Array2.cc, Array3.cc: Delete. | |
7326 | |
7327 * mx-base.h: Include NDArray header files. | |
7328 | |
7329 * MArray-C.cc, MArray-d.cc: Also instantiate ArrayN objects. | |
7330 | |
7331 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-d.cc, Array-i.cc, | |
7332 Array-s.cc: Also instantiate ArrayN objects. | |
7333 Don't instantiate assign funcitons for Array2 objects. | |
7334 | |
7335 * CDiagMatrix.cc (ComplexDiagMatrix::diag): Signal error with | |
7336 liboctave_error_handler, not cerr. | |
7337 * CMatrix.cc (ComplexMatrix::diag): Likewise. | |
7338 * dDiagMatrix.cc (DiagMatrix::diag): Likewise. | |
7339 * dMatrix.cc (Matrix::diag): Likewise. | |
7340 | |
7341 * Array-flags.cc, Array.cc, Array.h, Array2.h, Array3.h, ArrayN.h: | |
7342 Omit checks for HEAVYWEIGHT_INDEXING. | |
7343 | |
7344 2003-09-12 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7345 | |
7346 * mx-base.h: Include CNDarray.h. Include dNDArray.h, not NDArray.h. | |
7347 | |
7348 * CNDARray.h, CNDArray.cc: New files. | |
7349 * Makefile.in: Add them to the appropriate lists. | |
7350 | |
7351 * dNDArray.h: Rename from NDArray.h. | |
7352 * dNDArray.cc: Rename from NDArray.cc. | |
7353 * Makefile.in: Rename them here too. | |
7354 | |
4507 | 7355 2003-09-10 Petter Risholm <risholm@stud.ntnu.no> |
7356 | |
7357 * mx-base.h: Include NDArray.h, not ArrayN.h. | |
7358 | |
7359 * MArrayN.cc, MArrayN.h, NDArray.h, NDArray.cc: New files. | |
7360 * Makefile.in: Add them to the appropriate lists. | |
7361 | |
5095 | 7362 2003-09-09 David Bateman <dbateman@free.fr> |
4506 | 7363 |
7364 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, zbesh1, zbesh2, airy, | |
7365 biry): Always request scaled results from AMOS functions and | |
7366 perform reverse scaling on results if scaled result not requested | |
7367 by user. | |
7368 | |
7369 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7370 | |
7371 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7372 | |
4505 | 7373 2003-09-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7374 | |
7375 * Array-d.cc: Instantiate assign functions. | |
7376 | |
4504 | 7377 2003-09-09 Petter Risholm <risholm@stud.ntnu.no> |
7378 | |
7379 * ArrayN-idx.h (vector_equivalent, equal_arrays): New functions. | |
7380 (get_elt_idx): Index ra_idx correctly. | |
7381 | |
7382 * ArrayN-inline.h (index_in_bounds): Index is also condidered in | |
7383 bounds if it is exactly on the bound. | |
7384 | |
7385 * ArrayN.cc (ArrayN<T>::maybe_delete_dims): New function. | |
7386 * ArrayN.h: Provide decl. | |
7387 | |
7388 * ArrayN.h (ArrayN<T>::ArrayN<T> (const Matrix&)): New constructor. | |
7389 | |
7390 * idx-vector.h (idx_vector::orig_dims): New member variable. | |
7391 (idx_vector::idx_vector_rep::orig_dimensions): New function. | |
7392 (idx_vector::orig_dimensions): New function. | |
7393 | |
4497 | 7394 2003-09-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7395 | |
7396 * lo-specfun.cc (xlgamma): Require nonnegative argument. | |
7397 | |
4496 | 7398 2003-09-04 Petter Risholm <risholm@stud.ntnu.no> |
7399 | |
7400 * ArrayN-idx.h (maybe_delete_elements): Implement function. | |
7401 (is_in, how_many_lgt, all_ones): New functions. | |
7402 | |
4493 | 7403 2003-09-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7404 | |
7405 * Makefile.in (MATRIX_INC): Add ArrayN-inlines.h to the list. | |
7406 | |
7407 2003-09-03 Petter Risholm <risholm@stud.ntnu.no> | |
7408 | |
7409 * ArrayN-inline.h: New file. | |
7410 (index_in_bounds, increment_index): Move here. | |
7411 * ArrayN.cc: From here. | |
7412 | |
7413 * ArrayN.h (maybe_delete_elements): New arg, resize_fill_value. | |
7414 * ArrayN-idx.h (assign): New function. | |
7415 | |
4490 | 7416 2003-08-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7417 | |
7418 * lo-specfun.cc (zbesj, zbesy, zbesi, zbesk, airy, biry): | |
7419 Also zero imaginary part of result if real part of input value is | |
7420 zero. | |
7421 | |
4478 | 7422 2003-07-30 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7423 | |
7424 * mx-base.h: Include ArrayN.h. | |
7425 | |
4476 | 7426 2003-30-07 Heine Kolltveit <kolltvei@idi.ntnu.no> |
7427 | |
7428 * ArrayN.cc (operator <<): Corrected output. | |
7429 | |
4474 | 7430 2003-07-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7431 | |
7432 * ArrayN.cc (increment_index): New arg, start_dimension. | |
7433 | |
5095 | 7434 2003-07-29 Heine Kolltveit <kolltvei@idi.ntnu.no> |
4473 | 7435 |
7436 * ArrayN.cc (operator <<): Improve output readability. | |
7437 | |
4493 | 7438 2003-07-29 Petter Risholm <risholm@stud.ntnu.no> |
4473 | 7439 |
7440 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&, const T&)): | |
7441 * ArrayN.cc (ArrayN<T>::resize (const Array<int>&)): | |
7442 Initialize old_len before changing size. | |
7443 | |
4472 | 7444 2003-07-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7445 | |
7446 * Makefile.in (install-lib): Use $(INSTALL), not | |
4473 | 7447 $(INSTALL_PROGRAM) for $(SHLLIB) files. |
4472 | 7448 |
4469 | 7449 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7450 | |
7451 * lo-mappers.cc (xmin, xmax): Handle NaN in a Matlab-compatible | |
7452 way. Handle NA in an R-compatible way. | |
7453 | |
7454 * lo-cieee.c (lo_ieee_is_NaN_or_NA): Also check for lo_ieee_is_NA. | |
7455 (lo_ieee_is_NA): Don't call isnan unless HAVE_ISNAN is defined. | |
7456 | |
7457 * lo-mappers.h (octave_is_NA (const Complex&)): Provide decl. | |
7458 (octave_is_NaN_or_NA (const Complex&)): Likewise. | |
7459 | |
7460 * dMatrix.cc (Matrix::row_min, Matrix::row_max, | |
7461 Matrix::column_min, Matrix::column_max): Ignore NaNs. | |
7462 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_max, | |
7463 ComplexMatrix::column_min, ComplexMatrix::column_max): Likewise. | |
7464 | |
4461 | 7465 2003-07-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7466 | |
7467 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
7468 Pass true for resize_ok arg to freeze. | |
7469 * Array-idx.h (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
7470 Likewise. | |
7471 | |
7472 * idx-vector.cc (IDX_VEC_REP::freeze): New arg, warn_resize; | |
7473 resize_ok arg is now bool. | |
7474 * idx-vector.h (idx_vector::freeze): Likewise. | |
7475 | |
7476 * Array-flags.cc, Array-flags.h (liboctave_wrore_flag): | |
7477 Rename from liboctave_rre_flag. Now bool. | |
7478 (liboctave_wfi_flag): Now bool. | |
7479 | |
7480 * Array2-idx.h (MAYBE_RESIZE_LHS): Don't check liboctave_rre_flag. | |
7481 | |
5095 | 7482 2003-07-11 Russell Standish <R.Standish@unsw.edu.au> |
4459 | 7483 |
7484 * Array.h (resize_fill_value): Now a top-level template function. | |
7485 Accept object as argument. Change all uses. | |
7486 | |
4455 | 7487 2003-07-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
7488 | |
7489 * Array-flags.cc, Array-flags.h (liboctave_pcv_flag): Delete. | |
7490 | |
7491 * Array2-idx.h (Array2<T>::index): Use liboctave_wfi_flag, not | |
7492 liboctave_dfi_flag. | |
7493 (assign): Likewise. For indexed assignments like X(I) = RHS with | |
7494 X undefined or empty, always create a row vector. | |
7495 | |
7496 * Array-flags.cc (liboctave_wfi_flag): Rename from liboctave_dfi_flag. | |
7497 * Array-flags.h (liboctave_wfi_flag): Ditto. | |
7498 | |
4437 | 7499 2003-06-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7500 | |
7501 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7502 Magic colon indexing always produces an object with one column. | |
7503 | |
5095 | 7504 2003-06-21 Paul Kienzle <pkienzle@users.sf.net> |
4433 | 7505 |
7506 * kpse-xfns.h (NAME_BEGINS_WITH_DEVICE): Arg is std::string, not char*. | |
7507 | |
7508 * lo-ieee.h (signbit): Eliminate redundant extern "C" decl. | |
7509 | |
4431 | 7510 2003-06-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7511 | |
7512 * dMatrix.cc (any_element_is_negative): If new optional arg | |
7513 neg_zero is true, also return true for negative zero. | |
7514 | |
4429 | 7515 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7516 | |
7517 * DASSL.cc (DASSL::do_integrate): Set liw to 21 + n, not 20 + n. | |
7518 Handle step limit. | |
7519 * DASSL-opts.in: New option for step limit. | |
7520 | |
5095 | 7521 2003-06-16 Per Persson <persquare@mac.com> |
4429 | 7522 |
7523 * oct-shlib.cc: Include mach-o/dyld.h, not Mach-O/dyld.h. | |
7524 | |
4428 | 7525 2003-06-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7526 | |
7527 * DASRT.cc (DASRT::integrate): Set liw to 21 + n, not 20 + n. | |
7528 Store step limit in iwork(20), not iwork(18). | |
7529 | |
5095 | 7530 2003-05-16 Paul Kienzle <pkienzle@users.sf.net> |
4415 | 7531 |
7532 * oct-rand.cc: Use liboctave's clock layer instead of the system clock. | |
7533 | |
4412 | 7534 2003-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7535 | |
4413 | 7536 * Makefile.in: Handle DESTDIR. |
7537 | |
4412 | 7538 * kpse.cc (kpse_path_iterator::next): Skip consecutive colons here. |
7539 (kpse_path_iterator::set_end): Don't miss last element when not | |
7540 followed by a colon. | |
7541 | |
4409 | 7542 2003-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7543 | |
7544 * Array-idx.h (Array<T>::index): Fix off-by-one error. | |
7545 | |
7546 2003-05-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7547 | |
7548 * kpse.cc (kpse_absolute_p): Fix typo in translation. | |
7549 (find_first_of): Also do an absolute search on each | |
7550 name before looking in the path. | |
7551 | |
4407 | 7552 2003-05-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7553 | |
7554 * kpse.cc (dir_list_add): Ensure that directory ends with a | |
7555 directory separator. | |
7556 | |
4399 | 7557 2003-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7558 | |
7559 * pathsearch.cc: Include kpse.cc here. | |
7560 | |
7561 * kpse.cc: All functions are now static. Massive surgery to | |
7562 condense kpathsearch library to a single file of just the | |
7563 essentials for Octave and convert to using C++ strings (no more | |
7564 calls to malloc, very few calls to new, so there should be much | |
7565 less potential for introducing memory leaks now). | |
7566 | |
7567 * Makefile.in (EXTRAS): Move kpse.cc here from | |
7568 LIBOCT_PATHSEARCH_CXX_SOURCES. | |
7569 | |
7570 * kpse.h, kpse-config.h: Delete. | |
7571 * Makefile.in (INCLUDES): Delete them from the list. | |
7572 | |
4392 | 7573 2003-04-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7574 | |
7575 * str-vec.cc (string_vector::append (const std::string&), | |
7576 string_vector::append (const string_vector&)): New methods. | |
7577 | |
4386 | 7578 2003-04-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7579 | |
4389 | 7580 * kpse.cc, kpse.h: Replace fn_type with std::string. |
7581 | |
4387 | 7582 * lo-ieee.h (lo_ieee_signbit): Provide signbit decl for MinGW systems. |
7583 | |
4386 | 7584 * kpse.cc (xclosedir): Don't define or declare for Windows. |
7585 (READABLE): Now a static function to avoid warnings from MinGW | |
7586 compiler. | |
7587 | |
4384 | 7588 2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7589 | |
4385 | 7590 * kpse.cc: Move most functions from kpse-xfns.c here and make |
7591 static. Include most of kpse-xfns.h directly, removing | |
7592 unnecessary bits. | |
7593 | |
4384 | 7594 * dMatrix.cc (Matrix::pseudo_inverse): Now const. |
7595 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
7596 | |
4378 | 7597 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7598 | |
7599 * getopt.c, getopt1.c, getopt.h: Move here from kpathsea. | |
7600 * Makefile.in: Add them to the appropriates lists. | |
7601 | |
7602 * oct-getopt.c: Include "getopt.h", not <kpathsea/getopt.h>. | |
7603 | |
7604 * Makefile.in (liboctave.$(LIBEXT), liboctave.$(SHLEXT)): Adjust | |
7605 for new locations of kpathsea objects. | |
7606 Delete kpathsea targets. | |
7607 | |
7608 * pathsearch.cc (dir_path::set_program_name): Delete. | |
7609 | |
7610 * kpse.cc: New file. | |
7611 * Makefile.in (LIBOCT_PATHSEARCH_CXX_SOURCES): Add it to the list. | |
7612 | |
7613 * kpse.c: New file. | |
7614 * Makefile.in (LIBOCT_PATHSEARCH_C_SOURCES): Add it to the list. | |
7615 | |
7616 * kpse.h, kpse-config.h, kpse-xfns.h: New files. | |
7617 * Makefile.in (INCLUDES): Add them to the list. | |
7618 | |
7619 * oct-kpse.h: Delete. | |
7620 * Makefile.in (INCLUDES): Delete it from the list. | |
7621 | |
4374 | 7622 2003-04-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
7623 | |
7624 * dbleSVD.h (SVD::SVD, SVD::operator =): Also copy type_computed. | |
7625 * CmplxSVD.h (ComplexSVD::ComplexSVD, ComplexSVD::operator =): | |
7626 Likewise. | |
7627 From Quentin H. Spencer <qspencer@ieee.org>. | |
7628 | |
4365 | 7629 2003-03-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7630 | |
7631 * oct-getopt.c: Include <kpathsea/getopt.h>, not "getopt.h". | |
7632 | |
4349 | 7633 2003-02-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
7634 | |
4352 | 7635 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Handle systems with or |
7636 without placement delete. | |
7637 | |
4349 | 7638 * CMatrix.cc (ComplexMatrix::all_elements_are_real): Don't lose -0 |
7639 imaginary parts. | |
7640 | |
7641 * lo-ieee.h (lo_ieee_signbit): New macro. | |
7642 | |
5095 | 7643 2003-02-18 David Bateman <dbateman@free.fr> |
4329 | 7644 |
7645 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
7646 Use Lapack instead of Linpack. | |
5315 | 7647 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, |
4329 | 7648 ComplexMatrix::solve): Likewise. |
7649 | |
7650 * dMatrix.cc (Matrix::determinant, Matrix::inverse): New arg, | |
7651 calc_cond. If 0, skip condition number calculation. | |
7652 * CMatrix.cc (ComplexMatrix::determinant, ComplexMatrix::inverse): | |
7653 Likewise. | |
7654 | |
7655 * CmplxLU.cc (ComplexLU::ComplexLU): Allow non-square matrices. | |
7656 * dbleLU.cc (LU::LU): Likewise. | |
7657 * base-lu.cc (base_lu::L), base_lu::U, base_lu::P): Likewise. | |
7658 | |
7659 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> | |
7660 | |
7661 * octave.test/arith/prod-4.m, octave.test/arith/sum-4.m: | |
7662 | |
4323 | 7663 2003-02-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7664 | |
7665 * Array2-idx.h (Array2<T>::index): Fix thinko. | |
7666 Additional compatibility fix. | |
7667 | |
7668 2003-02-13 Arno Klaassen <arno@scito.com> | |
7669 | |
7670 * Array2-idx.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
7671 ArrayN.cc, ArrayN.h, DiagArray2.cc, DiagArray2.h, MDiagArray2.h: | |
7672 Sprinkle with Array<T>:: as necessary for gcc 3.4. | |
7673 | |
4322 | 7674 2003-02-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
7675 | |
7676 * Array2-idx.h (Array2<T>::index (idx_vector&, int, const T&)): | |
7677 Compatibility fix. | |
7678 | |
4316 | 7679 2003-02-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7680 | |
7681 * CColVector.cc (ComplexColumnVector::extract_n): New function. | |
7682 * CRowVector.cc (ComplexRowVector::extract_n): Likewise. | |
7683 * CMatrix.cc (ComplexMatrix::extract_n): Likewise. | |
7684 * dColVector.cc (ColumnVector::extract_n): Likewise. | |
7685 * dRowVector.cc (RowVector::extract_n): Likewise. | |
7686 * dMatrix.cc (Matrix::extract_n): Likewise. | |
7687 | |
7688 * CColVector.cc (ComplexColumnVector::insert): Improve efficiency | |
7689 with make_unique and xelem. | |
7690 * CRowVector.cc (ComplexRowVector::insert): Likewise. | |
7691 * CMatrix.cc (ComplexMatrix::insert, ComplexMatrix::fill, | |
7692 ComplexMatrix::extract, ComplexMatrix::row, | |
7693 ComplexMatrix::column): Likewise. | |
7694 * dColVector.cc (ColumnVector::insert): Likewise. | |
7695 * dRowVector.cc (RowVector::insert): Likewise. | |
7696 * dMatrix.cc (Matrix::insert, Matrix::fill, Matrix::extract, | |
7697 Matrix::row, Matrix::column): Likewise. | |
7698 | |
4313 | 7699 2003-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7700 | |
7701 * lo-mappers.cc (imag (double)): Return 0.0 for all args, even NaN. | |
7702 | |
4309 | 7703 2003-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7704 | |
7705 * CMatrix.cc, dMatrix.cc: Move min and max functions here, from | |
7706 src/DLD-FUNCTIONS/minmax.cc, and make them extern. | |
7707 * CMatrix.h, dMatrix.h: Provide decls. | |
7708 | |
4307 | 7709 2003-01-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7710 | |
7711 * oct-rand.h, oct-rand.cc: New files. | |
7712 * Makefile.in: Add them to the appropriate lists. | |
7713 | |
4306 | 7714 2003-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
7715 | |
7716 * Array2-idx.h (Array2<T>::index): Fix off-by-one error. | |
7717 | |
4299 | 7718 2003-01-16 Mumit Khan <khan@nanotech.wisc.edu> |
7719 | |
7720 * oct-syscalls.cc: Include signal.h. | |
7721 | |
4294 | 7722 2003-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
7723 | |
7724 * oct-syscalls.cc (octave_syscalls::kill): New function. | |
7725 * oct-syscalls.h: Provide decl. | |
7726 | |
7727 | |
4293 | 7728 2003-01-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7729 | |
7730 * dMatrix.cc (Matrix::read): Set size and return immediately if | |
7731 there is nothing to read. | |
7732 | |
4290 | 7733 2003-01-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
7734 | |
7735 * lo-cutils.c: Define _XOPEN_SOURCE. | |
7736 | |
4286 | 7737 2003-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
7738 | |
4288 | 7739 * getopt.h: Update to version from kpathsearch, so we will install |
7740 the version that we are using. | |
7741 | |
7742 * getopt.c, getopt1.c: Delete. | |
7743 (INCLUDES): Delete them from the list. We'll get these files from | |
7744 kpathsearch. | |
7745 | |
4286 | 7746 * Makefile.in (liboctave.$(LIBEXT)): Link directly to |
7747 ../kpathsea/STATIC/*.o. | |
7748 (liboctave.$(SHLEXT)): Link directly to ../kpathsea/SHARED/*.o. | |
7749 | |
4270 | 7750 2003-01-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7751 | |
4282 | 7752 * dMatrix.cc (read_int, write_int): Avoid warnings about |
7753 unreachable code. | |
7754 | |
4279 | 7755 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Define operator delete |
7756 to correspond to placement new operator. | |
7757 | |
4278 | 7758 * dbleDET.cc (DET::value_will_overflow): We want det[1], not det[2]. |
7759 (DET::value_will_underflow): Likewise. | |
7760 * CmplxDET.cc (ComplexDET::value_will_overflow): Likewise. | |
7761 (ComplexDET::value_will_underflow): Likewise. | |
7762 | |
4276 | 7763 * Makefile.in (distclean): Also remove stamp-prereq. |
7764 | |
4306 | 7765 * Array2-idx.h (Array2<T>::assign): If assignment conforms but the |
7766 RHS and index are empty matrices, don't do anything. | |
4270 | 7767 |
4242 | 7768 2002-12-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
7769 | |
7770 * pathsearch.cc (make_retval, free_c_array, make_c_names, | |
7771 delete_c_names): New helper functions. | |
7772 (dir_path::find_first_of): New function. | |
7773 (dir_path::find_all_first_of): Likewise. | |
7774 * pathsearch.h: Provide decls. | |
7775 | |
7776 * oct-kpse.c (octave_kpse_path_find_first_of): New function. | |
7777 (octave_kpse_all_path_find_first_of): Likewise. | |
7778 * oct-kpse.h: Provide decls. | |
7779 | |
4231 | 7780 2002-12-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
7781 | |
7782 * ODESSA.cc (ODESSA::integrate): Handle maxord. | |
7783 * ODESSA-opts.in: Likewise. | |
7784 | |
7785 * LSODE.cc (ODESSA::integrate): Handle maxord. | |
7786 * LSODE-opts.in: Likewise. | |
7787 | |
4229 | 7788 2002-12-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
7789 | |
4230 | 7790 * ODESSA.cc (ODESSA::ODESSA): Initialize "initialized" data member |
7791 in all constructors. | |
7792 | |
4229 | 7793 * Makefile.in (liboctave.$(SHLEXT)): Include $(LIBKPATHSEA) here. |
7794 (LINK_DEPS): Not here. | |
7795 | |
4219 | 7796 2002-12-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7797 | |
4220 | 7798 * str-vec.cc (string_vector::compare): New static member function. |
7799 * str-vec.h: Provide decl. | |
7800 (string_vector::sort): Use it. | |
7801 (str_vec_compare): Delete static function. | |
7802 | |
4219 | 7803 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): Also declare and define |
7804 a placement operator new. | |
7805 | |
4209 | 7806 2002-12-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
7807 | |
4210 | 7808 * Matrix.h: Include mx-ops.h too. |
4209 | 7809 * mx-ops.h: New file. |
7810 | |
4192 | 7811 2002-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
7812 | |
7813 * DASRT.cc, DASRT.h, Array.cc, ArrayN.h, Array.h, Array2.cc, | |
7814 Array2.h, Array3.cc, Array3.h, Bounds.cc, Bounds.h, CRowVector.h, | |
7815 CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, CMatrix.h, | |
7816 CRowVector.cc, CColVector.h, ChangeLog, CmplxAEPBAL.cc, | |
7817 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
7818 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
7819 CmplxQR.h, CmplxQRP.cc, ArrayN.cc, CmplxQRP.h, CmplxSCHUR.cc, | |
7820 CmplxSCHUR.h, CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, dMatrix.cc, | |
7821 CollocWt.h, EIG.h, DASSL.cc, FEGrid.h, DASSL.h, DiagArray2.cc, | |
7822 DiagArray2.h, EIG.cc, FEGrid.cc, LSODE.cc, LPsolve.cc, LPsolve.h, | |
7823 LSODE.h, LinConst.cc, LinConst.h, MArray.h, MArray.cc, MArray2.cc, | |
7824 MArray2.h, MDiagArray2.cc, MDiagArray2.h, Range.cc, NLConst.h, | |
7825 NLEqn.cc, Range.h, NLEqn.h, Quad.cc, dbleQR.h, Quad.h, base-lu.cc, | |
7826 base-lu.h, boolMatrix.cc, boolMatrix.h, dColVector.cc, | |
7827 dColVector.h, dDiagMatrix.cc, dDiagMatrix.h, dMatrix.h, | |
7828 dRowVector.cc, dRowVector.h, dbleAEPBAL.cc, dbleAEPBAL.h, | |
7829 dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, dbleDET.h, dbleHESS.cc, | |
7830 dbleHESS.h, dbleLU.cc, dbleLU.h, dbleQR.cc, dbleQRP.cc, dbleQRP.h, | |
7831 dbleSCHUR.cc, dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, | |
7832 idx-vector.h, oct-alloc.cc, CColVector.cc, DASPK.h, DASPK.cc, | |
7833 ODESSA.h, ODES.h, ODESSA.cc, ODES.cc, chMatrix.h, chMatrix.cc: | |
7834 Use "defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)" instead of | |
7835 "! defined (NO_PRAGMA_INTERFACE_IMPLEMENTATION)". | |
7836 | |
4184 | 7837 2002-11-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
7838 | |
7839 * oct-shlib.cc (octave_dlopen_shlib::open): Use RTLD_GLOBAL too. | |
7840 From Remy Bruno <remy.bruno@libertysurf.fr> | |
7841 | |
4180 | 7842 2002-11-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7843 | |
7844 * lo-specfun.cc: Use F77_FUNC instead of F77_XFCN for calls to | |
7845 fortran code that should run fast enough that it is not worth all | |
7846 the setup costs of F77_XFCN. | |
7847 | |
7848 * Quad.cc (user_function): Surround body of function with | |
7849 BEGIN_INTERRUPT_WITH_EXCEPTIONS, END_INTERRUPT_WITH_EXCEPTIONS. | |
7850 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Likewise. | |
7851 * NLEqn.cc (hybrd1_fcn, hybrj1_fcn): Likewise. | |
7852 * LSODE.cc (lsode_f, lsode_j): Likewise. | |
7853 * DASSL.cc (ddassl_f, ddassl_j): Likewise. | |
7854 * DASRT.cc (ddasrt_f, ddasrt_j, ddasrt_g): Likewise. | |
7855 * DASPK.cc (ddaspk_f, ddaspk_psol, ddaspk_j): Likewise. | |
7856 | |
4164 | 7857 2002-11-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7858 | |
7859 * lo-ieee.cc (octave_ieee_init): Check defined (__osf__) instead | |
7860 of ! defined (linux). | |
7861 | |
5095 | 7862 2002-11-09 Per Persson <persquare@mac.com> |
4162 | 7863 |
7864 * oct-shlib.cc (octave_dyld_shlib): New class. | |
7865 (make_shlib): Instantiate octave_dyld_shlib. | |
7866 | |
4152 | 7867 2002-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
7868 | |
4153 | 7869 * CMatrix.cc, dMatrix.cc: Sprinkle with OCTAVE_QUIT. |
7870 | |
4152 | 7871 * ODESSA.cc (odessa_f, odessa_j, odessa_b): Abort on error. |
7872 | |
7873 * Array.h: Include <cstddef> here. | |
7874 | |
4142 | 7875 2002-11-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
7876 | |
4144 | 7877 * DASPK.cc (DASPK::do_integrate): Resize rwork and iwork before |
7878 using them. Accept inequality contraint option of 0. Assign | |
7879 pabs_tol and prel_tol before calling DASPK. Don't redeclare | |
7880 abs_tol and rel_tol. | |
7881 | |
4143 | 7882 * cmd-edit.h (command_editor::filename_completion_desired): New |
7883 static function. | |
7884 (command_editor::do_filename_completion_desired): New virtual function. | |
7885 * oct-rl-edit.c (octave_rl_filename_completion_desired): New function. | |
7886 * oct-rl-edit.h: Provide decl. | |
7887 | |
4142 | 7888 * Array2.cc (Array2<T>::get_size): #define MALLOC_OVERHEAD to |
7889 avoid OS X linker bug. | |
7890 * ArrayN.cc (ArrayN<T>::get_size): Likewise. | |
7891 | |
4139 | 7892 2002-10-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
7893 | |
4141 | 7894 * ODESFunc.h (ODESFunc::ODES_fsub, ODESFunc::ODES_bsub, |
7895 ODESFunc::ODES_jsub): Reorder args for consistency with other | |
7896 solvers. | |
7897 * ODESSA.cc: Fix all callers. | |
7898 | |
4139 | 7899 * mx-inlines.cc (MX_BASE_REDUCTION_OP): Also return scalar |
7900 MT_RESULT if nr == 1 && nc == 0 && dim == -1 (i.e., | |
7901 sum(zeros(1,0)) returns 0, not [](1x0)). | |
7902 | |
4136 | 7903 2002-10-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
7904 | |
7905 * Makefile.in (LINK_DEPS): Include $(FLIBS) here too. | |
7906 | |
4132 | 7907 2002-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
7908 | |
4133 | 7909 * DASRT.cc (DASRT::integrate): Fix computation of lrw |
7910 (ddasrt_f): Combine loops. | |
7911 | |
4132 | 7912 * NLEqn.cc (NLEqn::solve): Return current estimate of solution |
7913 instead of empty vector if user termninates iteration. | |
7914 | |
4130 | 7915 2002-10-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
7916 | |
7917 * lo-utils.cc (read_inf_nan_na, octave_read_double, | |
7918 octave_read_complex, octave_write_double, octave_write_complex): | |
7919 New functions. | |
7920 * CMatrix.cc (operator << (std::ostream&, const ComplexMatrix&)): | |
7921 Use octave_write_complex. | |
7922 (operator >> (std::istream&, const ComplexMatrix&)): | |
7923 Use octave_read_complex. | |
7924 * dMatrix.cc (operator << (std::ostream&, double)): | |
7925 Use octave_write_double. | |
7926 (operator >> (std::istream&, double)): Use octave_read_double. | |
7927 | |
4126 | 7928 2002-10-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
7929 | |
7930 * oct-kpse.c (octave_kpse_clear_dir_cache): Delete. | |
7931 * oct-kpse.h: Delete decl. | |
7932 * pathsearch.cc (dir_path::init): Delete unnecessary call to | |
7933 ::octave_kpse_clear_dir_cache. | |
7934 | |
4123 | 7935 2002-10-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
7936 | |
4124 | 7937 * lo-sstream.h: Undef HAVE_SSTREAM if using a version of g++ |
7938 earlier than 3.0. | |
7939 | |
4123 | 7940 * Makefile.in (LINK_DEPS): Include $(LIBKPATHSEA) here. |
7941 (liboctave.$(SHLEXT)): Not here. | |
7942 | |
5095 | 7943 2002-10-17 Paul Kienzle <pkienzle@users.sf.net> |
4110 | 7944 |
7945 * oct-shlib.cc (octave_w32_shlib): New class to support Windows. | |
7946 | |
4108 | 7947 2002-10-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
7948 | |
7949 * Makefile.in (install-lib): Don't bother with versions for | |
7950 $(SHLBIN) files. | |
7951 | |
5095 | 7952 2002-10-16 Paul Kienzle <pkienzle@users.sf.net> |
4105 | 7953 |
7954 * Makefile.in (LIB_DEPS): Include $(LIBS). | |
7955 | |
4102 | 7956 2002-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
7957 | |
7958 * lo-cieee.c: Move everything but lo_ieee_init here. | |
7959 (lo_ieee_Inf_value, lo_ieee_NA_value, lo_ieee_NaN_value): | |
7960 New functions. | |
7961 | |
7962 * Makefile.in (install): No need to use cd to create links. | |
7963 (LINK_DEPS): Include $(LIBOCTAVE_LFLAGS) before list of libraries. | |
7964 | |
5095 | 7965 2002-10-14 Paul Kienzle <pkienzle@users.sf.net> |
4102 | 7966 |
7967 * Makefile.in: Merge liboctave with liboct-readline and | |
7968 liboct-pathsearch. | |
7969 Use link dependencies for shared libs if INCLUDE_LINK_DEPS. | |
7970 (libraries): Depend on versioned library. | |
7971 (liboctave.$(SHLEXT), liboctave.$(SHLEXT_VER)): Reverse actions -- | |
7972 build unversioned library, symbolic link adds version info. | |
7973 (install, uninstall): Handle link and load forms of the library | |
7974 separately. | |
7975 | |
4101 | 7976 2002-10-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
7977 | |
7978 * oct-time.cc: Use OCTAVE_USE_WINDOWS_API instead of __WIN32__ and | |
7979 __CYGWIN__. | |
7980 | |
7981 * file-ops.cc (file_ops::dir_sep_char, file_ops::dir_sep_str, | |
7982 file_ops::dir_sep_chars): New static functions to replace | |
7983 OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS. | |
7984 | |
7985 * oct-env.cc (octave_env::do_set_program_name): | |
7986 Use file_ops::dir_sep_chars instead of OCTAVE_DIR_SEP_CHARS. | |
7987 (octave_env::do_base_pathname): Likewise. | |
7988 (octave_env::do_make_absolute): Likewise. | |
7989 | |
7990 * oct-env.cc (octave_env::do_make_absolute): | |
7991 Use file_ops::dir_sep_str instead of OCTAVE_DIR_SEP_STR. | |
7992 (octave_env::do_get_home_directory): Likewise. | |
7993 | |
7994 * file-ops.cc (is_dir_sep): Use dir_sep_chars instead of embedding | |
7995 that information here too. | |
7996 (tilde_find_suffix, isolate_tilde_prefix, tilde_expand_word): | |
7997 Use file_ops::dir_sep_char instead of OCTAVE_DIR_SEP_CHAR. | |
7998 | |
7999 * file-ops.h: Use OCTAVE_HAVE_WINDOWS_FILESYSTEM and | |
8000 OCTAVE_HAVE_POSIX_FILESYSTEM instead of __WIN32__ and __CYGWIN__. | |
8001 | |
4097 | 8002 2002-10-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8003 | |
8004 * oct-env.h (octave_env::current_directory): Now mutable. | |
8005 (octave_env:do_getcwd): Now const. | |
8006 | |
8007 * file-ops.h, file-ops.cc (file_ops::is_dir_sep): New function. | |
8008 (OCTAVE_DIR_SEP_CHAR, OCTAVE_DIR_SEP_STR, OCTAVE_DIR_SEP_CHARS, | |
8009 OCTAVE_CURRENT_DIR_STR): New macros. | |
8010 * oct-env.cc (is_dir_sep): Delete. | |
8011 (octave_env::do_base_pathname): Look for OCTAVE_DIR_SEP_CHARS, not '/'. | |
8012 (octave_env::do_set_program_name): Likewise. | |
8013 (octave_env::do_polite_directory_format): Use file_ops::is_dir_sep | |
8014 instead of checking for '/'. | |
8015 (octave_env::pathname_backup): Likewise. | |
8016 (octave_env::do_absolute_pathname): Likewise. | |
8017 (octave_env::do_make_absolute): Likewise. | |
8018 If dot_path is empty, use getcwd to set current_dir. | |
8019 (octave_env::do_get_home_directory): Use OCTAVE_DIR_SEP_STR | |
8020 instead of "/". | |
8021 | |
5095 | 8022 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8023 |
8024 * lo-cutils.c: On non-Posix Windows systems, include winsock.h. | |
8025 | |
5095 | 8026 2002-10-07 Paul Kienzle <pkienzle@users.sf.net> |
4093 | 8027 |
8028 * oct-env.cc (octave_env::do_absolute_pathname): Recognize | |
8029 absolute path names under MinGW as well. | |
8030 | |
8031 2002-10-07 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8032 | |
8033 * oct-env.cc: Include <cctype> too. | |
8034 | |
4087 | 8035 2002-10-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8036 | |
8037 * oct-env.cc (octave_env::do_absolute_pathname): Handle Windows | |
8038 filenames. | |
8039 (octave_env::do_make_absolute): Check for absolute name with | |
8040 do_absolute_path. | |
4088 | 8041 (octave_env::do_chdir): Likewise. |
8042 (is_dir_sep): New function. | |
4087 | 8043 |
5095 | 8044 2002-10-03 Paul Kienzle <pkienzle@users.sf.net> |
4085 | 8045 |
4086 | 8046 * oct-time.cc (octave_time::stamp): Better resolution for Windows |
8047 systems. | |
4085 | 8048 |
4083 | 8049 2002-10-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8050 | |
8051 * dMatrix.cc (Matrix::read): Clean up error handling logic. | |
8052 | |
4080 | 8053 2002-09-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8054 | |
4081 | 8055 * file-ops.cc (file_ops::mkdir): Handle one-arg mkdir here. |
8056 | |
4080 | 8057 * lo-specfun.cc (acosh): Call xdacosh, not dacosh. |
8058 | |
5095 | 8059 2002-09-27 Per Persson <persquare@mac.com> |
4076 | 8060 |
8061 * oct-group.cc (octave_group::octave_group): Dont' forget to set | |
8062 gr_gid too. | |
8063 | |
4072 | 8064 2002-09-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8065 | |
4074 | 8066 * lo-mappers.cc (xisnan, xfinite, xisinf): Simply forward to |
8067 lo_ieee_* functions. | |
4072 | 8068 * Makefile.in (LIBOCTAVE_C_SOURCES): Add lo-cieee.c to the list. |
4074 | 8069 * lo-ieee.cc (lo_ieee_double): Rename from ieee_double. |
8070 (LO_IEEE_NA_HW, LO_IEEE_NA_LW): Rename from NA_HW and NA_LW. | |
4072 | 8071 * lo-cieee.c: New file. |
4074 | 8072 [SCO] (isinf, isnan): Move here from lo-ieee.cc. |
4072 | 8073 * lo-ieee.h: Now all extern "C". |
4074 | 8074 (lo_ieee_isnan, lo_ieee_finite, lo_ieee_isinf): Move here from |
8075 lo-mappers.cc and rename from xisnan, xfinite, xisinf. | |
8076 | |
4072 | 8077 * lo-ieee.cc (lo_ieee_hw, lo_ieee_low): Rename from hw and lw. |
8078 Now extern. | |
8079 | |
4066 | 8080 2002-09-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
8081 | |
8082 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8083 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8084 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8085 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8086 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8087 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8088 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8089 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8090 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8091 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8092 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8093 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8094 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8095 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8096 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8097 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8098 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8099 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8100 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8101 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8102 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8103 oct-alloc.cc: | |
8104 If __GNUG__, use pragma interface/implementation. Allow this to | |
8105 be turned off by defining NO_PRAGMA_INTERFACE_IMPLEMENTATION. | |
8106 | |
5095 | 8107 2002-09-26 Paul Kienzle <pkienzle@users.sf.net> |
4064 | 8108 |
4066 | 8109 * file-ops.cc (file_ops::readlink): Don't declare buffer if |
8110 system readlink function is not available. | |
8111 | |
4065 | 8112 * lo-mappers.cc (xerf, xerfc): Delete. |
8113 * lo-mappers.h (xerf, xerfc): Delete decls. | |
8114 | |
4064 | 8115 * lo-mappers.cc: Remove unused #define M_PI. |
8116 * lo-specfun.cc: Add #define M_PI if needed. | |
8117 | |
4062 | 8118 2002-09-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8119 | |
8120 * cmd-edit.cc (do_decode_prompt_string): Cope with possibility | |
8121 that geteuid doesn't exist. | |
8122 | |
8123 * LP.h: Rename LP class to octave_LP. | |
8124 LPsolve.h: Change all uses. | |
8125 | |
8126 * file-ops.cc, oct-passwd.cc oct-syscalls.cc oct-group.cc: Remove | |
8127 incorrect token-pasting op. | |
8128 | |
8129 * statdefs.h [! S_ISLNK]: undef HAVE_LSTAT instead of trying to | |
8130 define lstat. | |
8131 | |
4061 | 8132 2002-09-19 John W. Eaton <jwe@bevo.che.wisc.edu> |
8133 | |
8134 * Array.cc, Array.h, Array2.cc, Array2.h, Array3.cc, Array3.h, | |
8135 ArrayN.cc, ArrayN.h, Bounds.cc, Bounds.h, CColVector.cc, | |
8136 CColVector.h, CDiagMatrix.cc, CDiagMatrix.h, CMatrix.cc, | |
8137 CMatrix.h, CRowVector.cc, CRowVector.h, CmplxAEPBAL.cc, | |
8138 CmplxAEPBAL.h, CmplxCHOL.cc, CmplxCHOL.h, CmplxDET.cc, CmplxDET.h, | |
8139 CmplxHESS.cc, CmplxHESS.h, CmplxLU.cc, CmplxLU.h, CmplxQR.cc, | |
8140 CmplxQR.h, CmplxQRP.cc, CmplxQRP.h, CmplxSCHUR.cc, CmplxSCHUR.h, | |
8141 CmplxSVD.cc, CmplxSVD.h, CollocWt.cc, CollocWt.h, DAE.cc, | |
8142 DASPK.cc, DASPK.h, DASRT.cc, DASRT.h, DASSL.cc, DASSL.h, | |
8143 DiagArray2.cc, DiagArray2.h, EIG.cc, EIG.h, FEGrid.cc, FEGrid.h, | |
8144 LPsolve.cc, LPsolve.h, LSODE.cc, LSODE.h, LinConst.cc, LinConst.h, | |
8145 MArray.cc, MArray.h, MArray2.cc, MArray2.h, MDiagArray2.cc, | |
8146 MDiagArray2.h, NLConst.h, NLEqn.cc, NLEqn.h, ODES.cc, ODES.h, | |
8147 ODESSA.cc, ODESSA.h, Quad.cc, Quad.h, Range.cc, Range.h, | |
8148 base-lu.cc, base-lu.h, boolMatrix.cc, boolMatrix.h, chMatrix.cc, | |
8149 chMatrix.h, dColVector.cc, dColVector.h, dDiagMatrix.cc, | |
8150 dDiagMatrix.h, dMatrix.cc, dMatrix.h, dRowVector.cc, dRowVector.h, | |
8151 dbleAEPBAL.cc, dbleAEPBAL.h, dbleCHOL.cc, dbleCHOL.h, dbleDET.cc, | |
8152 dbleDET.h, dbleHESS.cc, dbleHESS.h, dbleLU.cc, dbleLU.h, | |
8153 dbleQR.cc, dbleQR.h, dbleQRP.cc, dbleQRP.h, dbleSCHUR.cc, | |
8154 dbleSCHUR.h, dbleSVD.cc, dbleSVD.h, idx-vector.cc, idx-vector.h, | |
8155 oct-alloc.cc: | |
8156 Use USE_PRAGMA_INTERFACE_IMPLEMENTATION instead of __GNUG__ | |
8157 to decide whether to use the interface/implementation pragmas. | |
8158 | |
4058 | 8159 2002-09-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8160 | |
8161 * Makefile.in (INCLUDES): Add lo-sstream.h to the list. | |
8162 | |
4055 | 8163 2002-08-17 Mumit Khan <khan@nanotech.wisc.edu> |
8164 | |
8165 * CmplxCHOL.h, CollocWt.h, cmd-edit.h, oct-shlib.h: Don't use | |
8166 qualified names. | |
8167 | |
4051 | 8168 2002-08-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8169 | |
4054 | 8170 * Array.h, Array2-idx.h, DiagArray2.cc, Array2.cc, Array3.cc, |
8171 ArrayN.cc: Add typename where needed. | |
4053 | 8172 |
4051 | 8173 * DASPK.cc: Include lo-sstream.h and use macros instead of using |
8174 strstream classes directly. | |
8175 * DASRT.cc: Likewise. | |
8176 * DASSL.cc: Likewise. | |
8177 * LSODE.cc: Likewise. | |
8178 * ODESSA.cc: Likewise. | |
8179 | |
8180 * cmd-hist.cc: Don't include <strstream>. | |
8181 * oct-shlib.cc: Likewise. | |
8182 | |
8183 * lo-sstream.h: New file. | |
8184 | |
4049 | 8185 2002-08-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8186 | |
8187 * LSODE.h (rel_tol, abs_tol, px, pabs_tol, piwork, prwork, itol): | |
8188 New data members. | |
8189 (LSODE::sanity_checked): Delete unused data member. | |
8190 | |
8191 * DASPKL.h (initialized, abs_tol, rel_tol, px, pxdot, pabs_tol, | |
8192 prel_tol, pinfo, piwork, prwork): New data members. | |
8193 * DASSL.h (DASSL): Likewise. | |
8194 | |
8195 * DASRT.h (DASRT::sanity_checked): Delete unused data member. | |
8196 | |
8197 * DASRT.cc (DASRT::integrate (double)): Better handling of | |
8198 initialization, changes in options, etc. | |
8199 * DASPK.cc (DASPK::do_integrate): Likewise. | |
8200 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8201 * LSODE.cc (LSODE::do_integrate): Likewise. | |
8202 | |
4047 | 8203 2002-08-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8204 | |
4049 | 8205 * DAEFunc.h (DAEFunc::reset): New data member. |
8206 * DAERTFunc.h (DAERTFunc::reset): Likewise. | |
8207 | |
8208 * base-de.h (base_diff_eqn::set_stop_time): Force restart here. | |
8209 (base_diff_eqn::clear_stop_time): Likewise. | |
8210 | |
4047 | 8211 * DASSL.cc (DASSL::do_integrate (double)): Handle more optoins. |
8212 * DASPK.cc (DASPK::do_integrate (double)): Likewise. | |
8213 | |
5095 | 8214 2002-08-15 Paul Kienzle <pkienzle@users.sf.net> |
4044 | 8215 |
8216 * DASPK-opts.in, DASPK.h: Move include to .in file. | |
8217 * DASRT-opts.in, DASRT.h: Likewise. | |
8218 * DASSL-opts.in, DASSL.h: Likewise. | |
8219 * LSODE-opts.in, LSODE.h: Likewise. | |
8220 * NLEqn-opts.in, NLEqn.h: Likewise. | |
8221 * ODESSA-opts.in, ODESSA.h: Likewise. | |
8222 | |
4038 | 8223 2002-08-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8224 | |
4042 | 8225 * LSODE.cc (LSODE::error_message): Also return current T on |
8226 failures when that makes sense. | |
4043 | 8227 * DASSL.cc (DASSL::error_message): Likewise. |
8228 * DASRT.cc (DASRT::error_message): Likewise. | |
8229 * DASPK.cc (DASPK::error_message): Likewise. | |
8230 * ODESSA.cc (ODESSA:error_message): Likewise. | |
4042 | 8231 |
4038 | 8232 * Makefile.in (liboct-pathsearch.$(SHLEXT_VER)): Link to |
8233 $(LIBKPATHSEA) here. | |
8234 | |
4025 | 8235 2002-08-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8236 | |
8237 * lo-ieee.cc (lo_ieee_is_NA): New function. | |
8238 (lo_ieee_is_NaN_or_NA): New function. | |
8239 (octave_NA): New global value. | |
8240 (octave_ieee_init): Initialize it. | |
8241 * lo-mappers.cc (octave_is_NA): New function. | |
8242 (octave_is_NaN_or_NA): New function. | |
8243 (xisnan): Return false if NaN looks like a missing value. | |
8244 (xisnan (const Complex&)): Use xisnan here. | |
8245 | |
4015 | 8246 2002-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8247 | |
4017 | 8248 * CMatrix.h (ComplexMatrix::all, ComplexMatrix::any, |
8249 ComplexMatrix::cumprod, ComplexMatrix::cumsum, | |
8250 ComplexMatrix::prod, ComplexMatrix::sum, ComplexMatrix::sumsq): | |
8251 Default value for dim is -1, not 0. | |
8252 * dMatrix.h (Matrix::all, Matrix::any, Matrix::cumprod, | |
8253 Matrix::cumsum, Matrix::prod, Matrix::sum, Matrix::sumsq): Likewise. | |
8254 * boolMatrix.h (boolMatrix:all, boolMatrix::any): Likewise. | |
8255 * chMatrix.h (charMatrix::all, charMatrix::any): Likewise. | |
8256 | |
4015 | 8257 * mx-inlines.cc (MX_ANY_ALL_OP_ROW_CODE, MX_ANY_ALL_OP_COL_CODE): |
8258 New macros. | |
8259 (MX_ANY_ALL_OP): Define MX_ANY_ALL_OP using them and | |
8260 MX_BASE_REDUCTION_OP. | |
8261 (MX_CUMULATIVE_OP): Fix spelling. Change all uses. | |
8262 | |
4014 | 8263 2002-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8264 | |
4015 | 8265 * chMatrix.h, chMatrix.cc (charMatrix::any, charMatrix::all): |
8266 Return boolMatrix, not Matrix. | |
8267 | |
8268 * mx-inlines.cc (MX_ANY_ALL_OP, MX_ALL_OP, MX_ANY_OP): New macros. | |
8269 * dMatrix.cc (Matrix::any): Replace guts with MX_ANY_OP. | |
8270 (Matrix::all): Replace guts with MX_ALL_OP. | |
8271 * CMatrix.cc (ComplexMatrix::any): Replace guts with MX_ANY_OP. | |
8272 (ComplexMatrix::all): Replace guts with MX_ALL_OP. | |
8273 * boolMatrix.cc (boolMatrix::any): Replace guts with MX_ANY_OP. | |
8274 (boolMatrix::all): Replace guts with MX_ALL_OP. | |
8275 * chMatrix.cc (charMatrix::any): Replace guts with MX_ANY_OP. | |
8276 (charMatrix::all): Replace guts with MX_ALL_OP. | |
8277 | |
8278 * dMatrix.h (Matrix::any): New arg, dim. | |
8279 (Matrix::all): Likewise. | |
8280 * CMatrix.h (ComplexMatrix::any): Likewise. | |
8281 (ComplexMatrix::all): Likewise. | |
8282 * boolMatrix.h (boolMatrix::any): Likewise. | |
8283 (boolMatrix::all): Likewise. | |
8284 * chMatrix.h (charMatrix::any): Likewise. | |
8285 (charMatrix::all): Likewise. | |
8286 | |
4014 | 8287 * Makefile.in: Use $@-t instead of $@.t. |
8288 | |
4004 | 8289 2002-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8290 | |
8291 * lo-specfun.cc (gammainc): New arg, err, for scalar version. | |
8292 Use it in matrix versions to avoid spewing multiple errors. | |
8293 Call xgammainc instead of dgamit. | |
8294 | |
3998 | 8295 2002-07-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8296 | |
8297 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const boolMatrix&)): | |
8298 Get rows and columns right in loop. | |
8299 (ComplexMatrix::ComplexMatrix (const charMatrix&)): Likewise. | |
8300 | |
8301 2002-07-19 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8302 | |
8303 * DASPK.cc (DASPK::do_integrate): Allow array tolerances. | |
8304 * DASRT.cc (DASRT::integrate): Likewise. | |
8305 * DASSL.cc (DASSL::do_integrate): Likewise. | |
8306 | |
8307 * Quad.cc: Don't pass tolerances in constructors. | |
8308 | |
8309 * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in, LSODE-opts.in, | |
8310 NLeqn-opts.in, ODESSA-opts.in, Quad-opts.in: New files. | |
8311 * DASPK-opts.h, DASRT-opts.h, DASSL-opts.h, LSODE-opts.h, | |
8312 NLeqn-opts.h, ODESSA-opts.h, Quad-opts.h: Generate automatically | |
8313 from corresponding .in files. | |
8314 * LSODE.h, Quad.h: Replace options class definitions with included | |
8315 file. | |
8316 * Makefile.in (OPTS_INC_SRC, OPTS_INC): New variables, new rule to | |
8317 create OPTS_INC files from OPTS_INC_SRC files. | |
8318 (stamp-prereq): New target. | |
8319 (libraries): Depend on stamp-prereq. | |
8320 Include stamp-prereq along with $(MAKEDEPS). | |
8321 | |
3997 | 8322 2002-07-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8323 | |
8324 * base-de.h (base_diff_eqn::istate): New data member. | |
8325 (base_diff_eqn::integration_state): New member function. | |
8326 * LSODE.h, LSODE.cc, ODESSA.h, ODESSA.cc: Delete corresponding | |
8327 data members and functions. | |
8328 * DASPK.h, DASRT.h, DASSL.h: Delete idid data member. | |
8329 * DASPK.cc, DASRT.cc, DASSL.cc: Use istate instead of idid. | |
8330 | |
3990 | 8331 2002-07-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8332 | |
3995 | 8333 * base-de.h (base_diff_eqn::stop_time, |
8334 base_diff_eqn::stop_time_set, base_diff_eqn::restart, | |
8335 base_diff_eqn::integration_error): New data members. | |
8336 (base_diff_eqn::set_stop_time, base_diff_eqn::clear_stop_time, | |
8337 base_diff_eqn::force_restart, base_diff_eqn::integration_ok, | |
8338 base_diff_eqn::error_message): New member functions. | |
8339 * LSODE.h, LSODE.cc, DASSL.h, DASSL.cc, DASPK.h, DASPK.cc, | |
8340 DASRT.h, DASRT.cc, ODESSA.h, ODESSA.cc: Delete corresponding data | |
8341 members and functions. | |
8342 | |
3992 | 8343 * DASRT.h (DASRT::set_ng, DASRT::get_ng): Delete |
8344 * DASRT.cc (DASRT::DASRT): Set ng here. | |
3993 | 8345 (DASRT::integrate): Don't forget to set nn. |
3992 | 8346 |
3991 | 8347 * DAEFunc.h (DAEFunc): Jacobian function now follows format of DASSL. |
8348 * DASSL.cc (ddassl_j): Make it work. | |
8349 * DASPK.cc (ddaspk_j): Likewise. | |
8350 | |
3990 | 8351 * DAE.cc: Delete. |
8352 | |
8353 * DAERT.h, DAERTFunc.h, DASRT.h, DASRT.cc: New files for DAE | |
8354 solving with root finding. | |
8355 * Makefile.in: Add them to the appropriate lists. | |
8356 | |
8357 * base-dae.h: New file. | |
8358 * Makefile.in (INCLUDES): Add it to the list. | |
8359 * DAE.h (DAE): Derive from base_diff_alg_eqn, not base_diff_eqn. | |
8360 | |
3984 | 8361 2002-07-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8362 | |
8363 * ODE.h: Move integrate and do_integrate method declarations and | |
8364 definitions here. | |
8365 * base-de.h: From here. | |
8366 | |
8367 * ODES.h, ODES.cc, ODESFunc.h, ODESSA.h, ODESSA.cc: New files. | |
8368 * Makefile.in: Add them to the appropriate lists. | |
8369 (LIBOCTAVE_CXX_SOURCES): | |
8370 | |
3971 | 8371 2002-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8372 | |
8373 * NLEqn.cc (NLEqn::error_message): New function. | |
8374 * NLEqn.h (NLEqn::solution_state, NLEqn::solution_ok): New functions. | |
8375 | |
3970 | 8376 2002-07-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8377 | |
8378 * lo-utils.cc (octave_fgetl): New function. | |
8379 * cmd-edit.cc (do_readline): Use it instead of octave_fgets. | |
8380 | |
3959 | 8381 2002-05-24 John W. Eaton <jwe@bevo.che.wisc.edu> |
8382 | |
8383 * LSODE.cc (LSODE::error_message): New function. | |
8384 * LSODE.h: Provide decl. | |
8385 (LSODE::integration_state): New function. | |
8386 (LSODE::integration_ok): New function. | |
8387 | |
3952 | 8388 2002-05-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8389 | |
3955 | 8390 * LSODE.cc (LSODE_options::x_integration_method): New data member. |
8391 (LSODE_options::set_integration_method, | |
8392 LSODE_options::integration_method): New functions. | |
3954 | 8393 |
3952 | 8394 * LSODE.h (LSODE_options::x_absolute_tolerance): Now Array<double>. |
8395 Change all uses. | |
8396 (LSODE_OPTIONS::absolute_tolerance): Return Array<double>, not double. | |
8397 (LSODE_OPTIONS::set_absolute_tolerance (const Array<double>&)): | |
8398 New function. | |
8399 | |
8400 * Array.h (Array::fortran_vec): New const version. | |
8401 | |
3951 | 8402 2002-05-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8403 | |
8404 * cmd-edit.cc (gnu_readline::history_search_backward): New function. | |
8405 (gnu_readline::history_search_forward): Likewise. | |
8406 (gnu_readline::gnu_readline): Use them instead of passing pointers | |
8407 to extern "C" functions to octave_rl_ad_defun. | |
8408 | |
5095 | 8409 2002-05-22 Mumit Khan <khan@nanotech.wisc.edu> |
3946 | 8410 |
8411 * DASPK.cc (ddaspk_psol): Return value. | |
8412 * oct-rl-edit.c: Use /* ... */ to comment. | |
8413 | |
3945 | 8414 2002-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8415 | |
8416 * DASSL.h (DASSL_options::init): Undo previous change. | |
8417 (DASSL_options::set_absolute_tolerance): Likewise. | |
8418 * LSODE.h (LSODE_options::init): Likewise. | |
8419 (LSODE_options::set_absolute_tolerance): Likewise. | |
8420 | |
8421 * DASPK.h (DASPK_options::init): Use default absolute tolerance of | |
8422 sqrt(eps), not eps^2. | |
8423 DASPK_options::set_absolute_tolerance): Likewise. | |
8424 | |
5095 | 8425 2002-05-17 Mumit Khan <khan@nanotech.wisc.edu> |
3944 | 8426 |
8427 * Array.h (Array<T>::resize_fill_value): Return default initialized | |
8428 object. | |
8429 | |
3933 | 8430 2002-05-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
8431 | |
8432 * oct-rl-edit.c (OCTAVE_RL_SAVE_STRING): New macro. | |
8433 (octave_rl_set_name, octave_rl_set_basic_quote_characters): Use it. | |
8434 (octave_rl_set_basic_word_break_characters, | |
8435 octave_rl_set_completer_word_break_characters): New functions. | |
8436 * oct-rl-edit.h: Provide decls. | |
8437 * cmd-edit.cc (gnu_readline::do_set_basic_word_break_characters, | |
8438 gnu_readline::do_set_completer_word_break_characters): New functions. | |
8439 (command_editor::set_basic_quote_characters, | |
8440 command_editor::set_completion_append_character): New static functions. | |
8441 * cmd-edit.h: Provide decls. | |
8442 (command_editor::do_set_basic_word_break_characters, | |
8443 command_editor::do_set_completer_word_break_characters): | |
8444 New virtual functions. | |
8445 | |
8446 * CMatrix.h, boolMatrix.h, chMatrix.h, dMatrix.h | |
8447 (resize_fill_value): New static function. | |
8448 | |
8449 * Array-idx.h (Array<T>::index): New args, resize_ok and | |
8450 resize_fill_value. | |
8451 * Array2-idx.h (Array2<T>::index): Likewise. | |
8452 * ArrayN-idx.h (ArrayN<T>::index): Likewise. | |
8453 | |
8454 * Array2.cc (Array<T>::print_info): New function. | |
8455 * Array2.h: Provide decl. | |
8456 | |
8457 * Array.cc (Array<T>::print_info): New function. | |
8458 * Array.h: Provide decl. | |
8459 | |
3928 | 8460 2002-05-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8461 | |
8462 * idx-vector.h (idx_vector::idx_vector (int)): New function. | |
8463 (idx_vector_rep::idx_vector_rep (int)): New decl. | |
8464 * idx-vector.cc (idx_vector_rep::idx_vector_rep (int)): New function. | |
8465 | |
8466 * Array.h (Array<T>::resize_fill_value (void)): New static function. | |
8467 (assign (Array<LT>&, const Array<RT>&)): Use it. | |
8468 * Array2.h (assign (Array2<LT>&, const Array2<RT>&)): Use it. | |
8469 * ArrayN.h (assign (ArrayN<LT>&, const ArrayN<RT>&)): Use it. | |
8470 | |
5095 | 8471 2002-05-02 Cai Jianming <caijianming@yahoo.co.uk> |
3928 | 8472 |
8473 * Array3.h (Array3<T>::checkelem): Improve error message. | |
8474 * ArrayN.h (ArrayN<T>::range_error): Likewise. | |
8475 * DiagArray2.cc (DiagArray2<T>::checkelem): Likewise. | |
8476 * DiagArray2.cc (DiagArray2<T>::operator ()): Likewise. | |
8477 | |
3919 | 8478 2002-04-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
8479 | |
8480 * DASSL.h (DASSL_options::init): Undo previous change. | |
8481 (DASSL_options::set_absolute_tolerance): Likewise. | |
8482 | |
3912 | 8483 2002-04-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8484 | |
8485 * DASPK.h, DASPK.cc: New files. | |
8486 * Makefile.in: Add them to the appropriate lists. | |
8487 | |
3904 | 8488 2002-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8489 | |
8490 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&) const): | |
8491 Simplify indexing when one or both of the indices are empty. | |
8492 | |
3896 | 8493 2002-04-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8494 | |
8495 * DASSL.h (DASSL_options::init): Set absolute tolerance to eps ^ 2. | |
8496 (DASSL_options::set_absolute_tolerance): Likewise. | |
8497 * LSODE.h (LSODE_options::init): Likewise. | |
8498 (LSODE_options::set_absolute_tolerance): Likewise. | |
8499 | |
5095 | 8500 2002-04-03 Steven G. Johnson <stevenj@alum.mit.edu> |
3887 | 8501 |
8502 * f2c-main.c (MAIN_, MAIN__): Delete. Use F77_DUMMY_MAIN instead. | |
8503 * file-stat.cc (file_stat::update_internal, file_stat::copy): | |
8504 Use HAVE_STRUCT_STAT_ST_RDEV instead of HAVE_ST_RDEV. | |
8505 Use HAVE_STRUCT_STAT_ST_BLKSIZE instead of HAVE_ST_BLKSIZE. | |
8506 Use HAVE_STRUCT_STAT_ST_BLOCKS instead of HAVE_ST_BLOCKS. | |
8507 * file-stat.h: Likewise. | |
8508 * oct-time.cc (octave_time::octave_time, octave_base_tm::strftime, | |
8509 octave_base_tm::init, octave_strptime::init): Use HAVE_TM_ZONE | |
8510 instead of HAVE_STRUCT_TM_TM_ZONE. | |
8511 * strftime.c: Likewise. | |
8512 * lo-specfun.cc, mach-info.cc, CColVector.cc, CMatrix.cc, | |
8513 CRowVector.cc, CmplxAEPBAL.cc, CmplxCHOL.cc, CmplxHESS.cc, | |
8514 CmplxLU.cc, CmplxQR.cc, CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, | |
8515 CollocWt.cc, DASSL.cc, EIG.cc, LSODE.cc, NLEqn.cc, Quad.cc, | |
8516 dColVector.cc, dMatrix.cc, dRowVector.cc, dbleAEPBAL.cc, | |
8517 dbleCHOL.cc, dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, | |
8518 dbleSCHUR.cc, dbleSVD.cc: Use F77_FUNC instead of F77_FCN. | |
8519 | |
5095 | 8520 2002-04-02 Paul Kienzle <pkienzle@users.sf.net> |
3883 | 8521 |
8522 * CmplxQR.cc (ComplexQR::init): Use economy QR decomposition | |
8523 internally when the user requests it. | |
8524 * CmplxQRP.cc (ComplexQRP::init): Ditto. | |
8525 * dbleQR.cc (QR::init): Ditto. | |
8526 * dbleQRP.cc (QRP::init): Ditto. | |
8527 | |
3874 | 8528 2002-02-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
8529 | |
8530 * oct-fftw.cc (octave_fftw::fft2d): Avoid having to find a | |
8531 definition for NULL by passing 0 as the last arg to fftwnd_one. | |
8532 (octave_fftw::ifft2d): Likewise. | |
8533 | |
5095 | 8534 2002-02-22 Paul Kienzle <pkienzle@jazz.ncnr.nist.gov> |
3873 | 8535 |
8536 * lo-mappers.cc (arg): Simply call atan2 (0.0, x). | |
8537 | |
3867 | 8538 2001-12-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8539 | |
8540 * data-conv.cc (LS_DO_READ): Don't do anything unless len > 0. | |
8541 (LS_DO_WRITE): Likewise. | |
8542 | |
3864 | 8543 2001-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
8544 | |
8545 * mx-inlines.cc (MX_CUMMULATIVE_OP): New macro. | |
8546 * CMatrix.cc (ComplexMatrix::cumprod, ComplexMatrix::cumsum): Use it. | |
8547 * dMatrix.cc (Matrix::cumprod, Matrix::cumsum): Likewise. | |
8548 | |
8549 * mx-inlines.cc (MX_REDUCTION_OP, MX_REDUCTION_OP_COL_EXPR, | |
8550 MX_REDUCTION_OP_ROW_EXPR): New macros. | |
8551 * dMatrix.cc (Matrix::prod, Matrix::sum): Use MX_REDUCTION_OP. | |
8552 * CMatrix.cc (ComplexMatrix::prod, ComplexMatrix::sum): Likewise. | |
8553 | |
8554 * mx-inlines.cc (MX_BASE_REDUCTION_OP): New macro. | |
8555 DIM == -1 now means no orientation for vector sums. | |
8556 * dMatrix.cc (ComplexMatrix::sumsq): Use it. | |
8557 * CMatrix.cc (ComplexMatrix::sumsq): Likewise. | |
8558 | |
3858 | 8559 2001-11-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8560 | |
8561 * Range.cc (Range::nelem_internal): Special case ranges that must | |
8562 have zero elements. | |
8563 | |
3854 | 8564 2001-11-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8565 | |
3857 | 8566 * Makefile.in: Split out readline and pathsearch functionality |
8567 into separate liboct-readline and liboct-pathsearch libraries. | |
8568 | |
3854 | 8569 * oct-rl-edit.c (octave_rl_clear_screen): Call rl_clear_screen, |
3857 | 8570 not _rl_clear_screen. Temporarily redefine rl_redisplay_function |
8571 to do nothing for this call to rl_clear_screen. | |
3854 | 8572 |
3849 | 8573 2001-10-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8574 | |
8575 * DASSL.cc (ddassl_f): Handle IRES returned from user supplied | |
8576 function. | |
8577 * DAEFunc.h (DAERHSFunc): Add IRES to prototype. | |
8578 | |
3838 | 8579 2001-06-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8580 | |
8581 * dMatrix.cc (Matrix::inverse, Matrix::solve, Matrix::determinant, | |
8582 Matrix::inverse): Handle the case of rcond being a NaN the same as | |
8583 a signular matrix. From "Jianming" <caijianming@yahoo.co.uk>. | |
8584 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::solve, | |
8585 ComplexMatrix::determinant, ComplexMatrix::inverse): Likewise. | |
8586 | |
3836 | 8587 2001-05-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8588 | |
8589 * chMatrix.cc (charMatrix::row_as_string): New parameter, raw. | |
8590 | |
8591 * Array-i.cc, Array-s.cc, Array-d.cc, Array-ch.cc, Array-C.cc, | |
8592 Array-b.cc: Instantiate three arg assign functions. | |
8593 | |
8594 * ArrayN.cc (assign (ArrayN<LT>&, const ArrayN<RT>&, const LT&)): | |
8595 New arg, resize_fill_value. | |
8596 * ArrayN.h: Provide declaration. | |
8597 (assign (ArrayN<LT>&, const ArrayN<RT>&): Define here by calling | |
8598 three arg version. | |
8599 | |
8600 * Array3.cc (assign (Array3<LT>&, const Array3<RT>&, const LT&)): | |
8601 New arg, resize_fill_value. | |
8602 * Array3.h: Provide declaration. | |
8603 (assign (Array3<LT>&, const Array3<RT>&): Define here by calling | |
8604 three arg version. | |
8605 | |
8606 * Array2.cc (assign (Array2<LT>&, const Array2<RT>&, const LT&)): | |
8607 New arg, resize_fill_value. | |
8608 * Array2.h: Provide declaration. | |
8609 (assign (Array2<LT>&, const Array2<RT>&): Define here by calling | |
8610 three arg version. | |
8611 | |
8612 * Array.cc (assign (Array<LT>&, const Array<RT>&, const LT&)): | |
8613 New arg, resize_fill_value. | |
8614 * Array.h: Provide declaration. | |
8615 (assign (Array<LT>&, const Array<RT>&): Define here by calling | |
8616 three arg version. | |
8617 | |
3833 | 8618 2001-05-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8619 | |
8620 * pathsearch.cc (dir_path::set_program_name): Set the environment | |
8621 variables SELFAUTOLOC, SELFAUTODIR, SELFAUTOPARENT, and TEXMFDBS | |
8622 to the empty string. | |
8623 | |
3832 | 8624 2001-05-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8625 | |
8626 * Array2.h (Array2<T>::operator = (const Array2<T>&)): | |
8627 Don't check for rep != a.rep. | |
8628 | |
3827 | 8629 2001-05-02 Mumit Khan <khan@nanotech.wisc.edu> |
8630 | |
8631 * oct-fftw.h, oct-fftw.cc: New files. | |
8632 * Makefile.in (INCLUDES, SOURCES): Add new files. | |
8633 * CMatrix.cc (ComplexMatrix::{fourier, ifourier, fourier2d, | |
8634 ifourier2d}): Use fftw if available. | |
8635 * dMatrix.cc (Matrix::{fourier, ifourier, fourier2d, ifourier2d}): | |
8636 Likewise. | |
8637 | |
3821 | 8638 2001-04-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8639 | |
8640 * Makefile.in (install-lib): Don't use mk-libdir-link. | |
8641 (install-inc): Don't use mk-includedir-link. | |
8642 | |
3803 | 8643 2001-02-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8644 | |
8645 * lo-cutils.c (octave_gethostname): New function. | |
8646 * lo-utils.h: Provide declaration. | |
8647 * oct-env.cc (octave_env::do_get_host_name): | |
8648 Call octave_gethostname, instead of gethostname. | |
8649 | |
8650 * lo-cutils.c (gethostname): Define here. | |
8651 * lo-sysdep.cc: Not here. | |
8652 | |
3786 | 8653 2001-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8654 | |
8655 * lo-cutils.c: Don't declare strptime. | |
8656 (oct_strptime): Cast return type of strptime to char*. | |
8657 | |
3777 | 8658 2001-02-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8659 | |
3779 | 8660 * oct-rl-edit.c (octave_rl_newline): Call rl_newline with two args. |
8661 (octave_rl_set_name): call rl_re_read_init_file with two args. | |
8662 (octave_rl_read_init_file): Ditto. | |
8663 (octave_rl_clear_undo_list): Call rl_free_undo_list, not | |
8664 free_undo_list. | |
8665 (octave_rl_completion_matches): Call rl_completion_matches, not | |
8666 completion_matches. | |
8667 (octave_rl_enable_paren_matching): New function. | |
8668 (octave_rl_set_blink_matching_paren_flag): Delete. | |
8669 (octave_rl_get_blink_matching_paren_flag): Delete. | |
8670 | |
3777 | 8671 * lo-mappers.h, lo-mappers.cc (log10 (const Complex&), |
8672 tanh (const Complex&)): Declare and define if not | |
8673 CXX_ISO_COMPLIANT_LIBRARY. | |
8674 | |
3776 | 8675 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8676 | |
8677 * lo-mappers.h (tanh (const Complex&)): Only declare if not | |
8678 CXX_ISO_COMPLIANT_LIBRARY. | |
8679 | |
3775 | 8680 2001-02-05 Mumit Khan <khan@nanotech.wisc.edu> |
8681 | |
3776 | 8682 * lo-mappers.cc (tanh (const Complex&)): Only define if not |
8683 CXX_ISO_COMPLIANT_LIBRARY. | |
8684 | |
3775 | 8685 * Makefile.in (TEMPLATE_AR, TEMPLATE_ARFLAGS): Use to create |
8686 archive libraries containing templates. | |
8687 | |
8688 * ArrayN-idx.h (freeze, all_ok, any_orig_empty, any_zero_len, | |
8689 get_zero_len_size, all_colon_equiv): Inline. | |
8690 (ArrayN<T>::index): Rename idx to arr_idx. | |
8691 * ArrayN.cc (ArrayN<T>::index, ArrayN<T>::compute_index, | |
8692 ArrayN<T>::get_size, ArrayN<T>::range_error, ArrayN<T>::range_error, | |
8693 increment_index, ArrayN<T>::resize, ArrayN<T>::insert): Likewise. | |
8694 | |
8695 2001-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> | |
8696 | |
8697 * lo-mappers.h, lo-mappers.cc (tan (const Complex&), | |
8698 log10 (const Complex&)): Delete. | |
8699 | |
8700 * oct-cmplx.h: Define forwarding functions for real, imag, abs, | |
8701 arg, norm, conj, polar, cos, cosh, exp, log, log10, pow, sin, | |
8702 sinh, sqrt, tan, and tanh. | |
8703 | |
3769 | 8704 2001-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
8705 | |
8706 * file-ops.cc, help.cc, load-save.cc, pr-output.cc, utils.cc: | |
8707 Add std:: namespace qualifier as needed. | |
8708 | |
8709 * mx-inlines.cc: Rename all functions with mx_inline_ prefix. | |
8710 Change all uses to match. | |
8711 | |
3767 | 8712 2001-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8713 | |
8714 * lo-cutils.c: Don't delcare strptime. | |
8715 | |
3760 | 8716 2001-01-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8717 | |
8718 * CMatrix.cc (operator * (const ComplexMatrix&, const ComplexMatrix&): | |
8719 Return correct size result for empty matrix case. | |
8720 | |
3757 | 8721 2000-12-15 John W. Eaton <jwe@bevo.che.wisc.edu> |
8722 | |
8723 * lo-mappers.cc (xmin (const Complex&, const Complex& y): | |
8724 If args are equal in magnitude, return first arg instead of | |
8725 second. | |
8726 | |
3752 | 8727 2000-12-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
8728 | |
3755 | 8729 * Range.cc (Range::nelem_internal): Call tfloor, not round, but |
8730 then try harder to compute correct number of elements. | |
3753 | 8731 |
3752 | 8732 * dMatrix.cc (Matrix::lssolve): Ask DGELSS for size of work vector. |
8733 * CMatrix.cc (ComplexMatrix::lssolve): Likewise, for ZGELSS. | |
8734 | |
3750 | 8735 2000-12-09 John W. Eaton <jwe@bevo.che.wisc.edu> |
8736 | |
3751 | 8737 * Range.cc (Range::nelem_internal): Call round here, not tfloor. |
8738 Rename n_intervals to be n_elt. | |
8739 | |
3750 | 8740 * strptime.c: Surround everything after including config.h in |
8741 #ifndef HAVE_STRPTIME ... #endif. | |
8742 | |
3742 | 8743 2000-11-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8744 | |
8745 * Array-idx.h (assign): When resizing, cast fill value to LT. | |
8746 * Array2-idx.h (MAYBE_RESIZE_LHS): Likewise. | |
8747 | |
3741 | 8748 2000-11-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
8749 | |
8750 * MArray-defs.h: Protect against multiple inclusion. | |
8751 | |
3739 | 8752 2000-11-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8753 | |
8754 * data-conv.h (enum save_type): Move LS_U_LONG and LS_LONG to the | |
8755 end of the list, to be compatible with previous versions of Octave. | |
8756 | |
3736 | 8757 2000-11-16 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8758 | |
8759 * oct-time.cc (DEFINE_SET_INT_FIELD_FCN): Don't check limits here, | |
8760 since mktime is supposed to `normalize' the results for us. | |
8761 | |
3731 | 8762 2000-10-31 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8763 | |
8764 * Array2.cc (Array2<T>::transpose): Avoid copy for empty matrices | |
3732 | 8765 and vectors. Use xelem for faster access to elements when copying. |
3731 | 8766 |
3726 | 8767 2000-10-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8768 | |
8769 * CMatrix.cc (ComplexMatrix::cumsum, ComplexMatrix::cumprod): | |
8770 Correct indexing for operation across rows. | |
8771 * dMatrix.cc (Matrix::cumsum, Matrix::cumprod): Likewise. | |
8772 | |
3725 | 8773 2000-10-12 Paul Kienzle <pkienzle@kienzle.powernet.co.uk> |
8774 | |
8775 * Array2-idx.h (Array2<T>::index (idx_vector&)): Avoid copying | |
8776 elements if arg is a colon. | |
8777 | |
5095 | 8778 2000-10-12 Cai Jianming <caijianming@yahoo.co.uk> |
3723 | 8779 |
3795 | 8780 * dMatrix.cc (Matrix::cumprod (int) const): New arg, DIM. |
3723 | 8781 (Matrix::cumsum (int) const): Likewise. |
8782 (Matrix::prod (int) const): Likewise. | |
8783 (Matrix::sum (int) const): Likewise. | |
8784 (Matrix::sumsq (int) const): Likewise. | |
8785 * CMatrix.cc (ComplexMatrix::cumprod (int dim) const): Likewise. | |
8786 (ComplexMatrix::cumsum (int) const): Likewise. | |
8787 (ComplexMatrix::prod (int) const): Likewise. | |
8788 (ComplexMatrix::sum (int) const): Likewise. | |
8789 (ComplexMatrix::sumsq (int) const): Likewise. | |
8790 | |
3722 | 8791 2000-10-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
8792 | |
8793 * Array2-idx.h (Array2<T>::index (idx_vector&)): Correctly set | |
8794 size if Array<T>::index returns an empty array. | |
8795 | |
3710 | 8796 2000-08-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
8797 | |
8798 * file-ops.cc (file_ops::link, file_ops::symlink, | |
8799 file_ops::readlink): New functions. | |
8800 | |
3709 | 8801 2000-08-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8802 | |
8803 * Array2-idx.h (Array2<T>::index (idx_vector&)): If a scalar is | |
8804 indexed, always return an object the same size as the index arg. | |
8805 | |
8806 * oct-time.cc (octave_base_tm::strftime): Return empty string for | |
8807 empty format. | |
8808 | |
3706 | 8809 2000-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
8810 | |
8811 * lo-cutils.c (oct_strptime): New function. | |
8812 * oct-time.cc (octave_strptime::init): Call it instead of strptime. | |
8813 Don't declare strptime. Don't define _XOPEN_SOURCE or _BSD_SOURCE. | |
8814 | |
3702 | 8815 2000-07-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8816 | |
3703 | 8817 * oct-time.cc: Comment out _BSD_SOURCE and _XOPEN_SOURCE definitions. |
8818 | |
3702 | 8819 * Makefile.in (MATRIX_INC): Add ArrayN-idx.h to the list. |
8820 | |
3689 | 8821 2000-06-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
8822 | |
8823 * dMatrix.h (read_int): Provide declaration. | |
8824 | |
3688 | 8825 2000-06-29 James R. Van Zandt <jrv@vanzandt.mv.com> |
8826 | |
8827 * data-conv.cc (read_doubles): Handle EIGHT_BYTE_INT cases. | |
8828 (write_doubles): Ditto. | |
8829 * data-conv.h: Ditto. | |
8830 (enum save_type): New values, LS_U_LONG and LS_LONG. | |
8831 | |
3685 | 8832 2000-06-27 John W. Eaton <jwe@bevo.che.wisc.edu> |
8833 | |
8834 * boolMatrix.h: Declare MM_CMP_OPS here. | |
8835 * boolMatrix.cc: Define them here. | |
8836 | |
3680 | 8837 2000-06-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8838 | |
8839 * Array2-idx.h (assign): Allow x(bool) = RHS to succeed if x is | |
8840 previously undefined and set size of x to size of bool index. | |
8841 * idx-vector.cc (IDX_VEC_REP::maybe_convert_one_zero_to_idx): | |
8842 Allow z_len to be zero. | |
8843 (IDX_VEC_REP::freeze): If z_len is zero, set frozen_at_z_len to len. | |
8844 If frozen, don't assert that frozen_at_z_len == z_len. | |
8845 | |
3670 | 8846 2000-05-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
8847 | |
8848 * oct-rl-edit.c (octave_rl_clear_screen): Call _rl_clear_screen | |
8849 instead of rl_clear_screen. | |
8850 | |
3665 | 8851 2000-05-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8852 | |
8853 * Array-d.cc: Instantiate ArrayN<double> here too. | |
8854 * Array-idx-vec.cc, ArrayN-idx.h, ArrayN.cc, ArrayN.h: New files. | |
8855 * Makefile.in: Add them to the appropriate lists. | |
8856 | |
3657 | 8857 2000-04-06 John W. Eaton <jwe@bevo.che.wisc.edu> |
8858 | |
8859 * Array.cc (Array<T>::operator =): Don't set max_indices to 1 here. | |
8860 | |
3635 | 8861 2000-03-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
8862 | |
8863 * lo-sysdep.h: octave_chdir returns int, not bool. | |
8864 | |
3615 | 8865 2000-03-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
8866 | |
8867 * Makefile.in (liboctave.$(SHLEXT)): Delete target | |
8868 before rebuilding. | |
8869 | |
5095 | 8870 2000-03-21 Ben Sapp <bsapp@nua.lampf.lanl.gov>: |
3615 | 8871 |
5261 | 8872 * Makefile.in (liboctave.$(LIBEXT)): New target. |
3615 | 8873 (libraries): Depend only on library targets, not archive members. |
8874 | |
3613 | 8875 2000-03-17 John W. Eaton <jwe@bevo.che.wisc.edu> |
8876 | |
8877 * Makefile.in: (objects): New target. | |
8878 | |
8879 * lo-cutils.c: New file. | |
8880 * Makefile.in (SOURCES): Add it to the list. | |
8881 * lo-utils.h: Declare octave_qsort here. | |
8882 * Array.h (Array::qsort): Use it here. | |
8883 | |
3607 | 8884 2000-03-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8885 | |
8886 * oct-time.cc: Include <sys/types.h> and <unistd.h>, if available. | |
8887 | |
3598 | 8888 2000-02-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
8889 | |
8890 * oct-rl-hist.c (octave_history_list): Do something when not | |
8891 printing line numbers. Fix reallocation of retval. | |
8892 | |
3597 | 8893 2000-02-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
8894 | |
8895 * Makefile.in (install-inc): Install files in | |
8896 $(octincludedir)/octave. | |
8897 (uninstall): Remove them from the correct directory too. | |
8898 | |
8899 * oct-time.cc: Temporarily define _BSD_SOURCE and _XOPEN_SOURCE if | |
8900 they are not already defined. | |
8901 | |
3588 | 8902 2000-02-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
8903 | |
8904 * CRowVector.cc, CRowVector.h, CColVector.cc, CColVector.h: | |
8905 Delete declarations and definitions of mixed-type vector-vector ops. | |
8906 | |
3585 | 8907 2000-02-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
8908 | |
8909 * CMatrix.h, CMatrix.cc: Add lssolve methods for real-valued RHS | |
8910 matrix and vector objects. | |
8911 | |
8912 * mx-op-defs.h (DMM_BIN_OP): Explicitly request conversion to | |
8913 return type from second arg type. | |
8914 (MDM_BIN_OP): Likewise, for first arg type. | |
8915 | |
8916 * dMatrix.cc (Matrix::fourier, Matrix::ifourier, | |
8917 Matrix::fourier2d, Matrix::ifourier2d): Likewise. | |
8918 | |
8919 * EIG.cc (EIG::symmetric_init, EIG::hermitian_init): Explicitly | |
8920 request ColumnVector to ComplexColumnVector, and Matrix to | |
8921 ComplexMatrix conversions. | |
8922 | |
8923 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Give balancing_mat its | |
8924 initial value using ComplexMatrix constructor. | |
8925 | |
8926 * CColVector.cc (product, quotient, | |
8927 operator * (const DiagMatrix&, const ComplexColumnVetor&)): | |
8928 Fix type of returned value. | |
8929 * CDiagMatrix.cc (ComplexDiagMatrix::row, | |
8930 ComplexDiagMatrix::column, ComplexDiagMatrix::inverse): Likewise. | |
8931 | |
8932 * Array.h, CColVector.h, CDiagMatrix.h, CMatrix.h, CRowVector.h, | |
8933 MArray.h, MDiagArray2.h, dColVector.h, dDiagMatrix.h, dMatrix.h, | |
8934 dRowVector.h: Declare some constructors explicit, to disallow | |
8935 potentially problematic automatic type conversions. | |
8936 | |
3580 | 8937 2000-02-05 John W. Eaton <jwe@bevo.che.wisc.edu> |
8938 | |
3582 | 8939 * vx-rv-crv.h, vx-cv-ccv.h, vx-crv-rv.h, vx-ccv-cv.h, |
8940 vx-rv-crv.cc, vx-cv-ccv.cc, vx-crv-rv.cc, vx-ccv-cv.cc: | |
8941 More new files. | |
8942 * Makefile.in: Add them to the appropriate lists. | |
8943 | |
8944 * vx-ccv-s.h, vx-crv-s.h, vx-cs-cv.h, vx-cs-rv.h, vx-cv-cs.h, | |
8945 vx-rv-cs.h, vx-s-ccv.h, vx-s-crv.h, vx-ccv-s.cc, vx-crv-s.cc, | |
8946 vx-cs-cv.cc, vx-cs-rv.cc, vx-cv-cs.cc, vx-rv-cs.cc, vx-s-ccv.cc, | |
8947 vx-s-crv.cc:, New files. | |
8948 * Makefile.in: Add them to the appropriate lists. | |
8949 | |
8950 * CRowVector.h, CRowVector.cc, CColVector.h, CColVector.cc: | |
8951 Delete scalar by vector and vector by scalar binary ops. | |
8952 | |
3580 | 8953 * MArray-defs.h: More new macros to handle MDiagArray operators. |
8954 * dDiagMatrix.h, CDiagMatrix.h: Use the op-forwarding macros. | |
8955 | |
3573 | 8956 2000-02-04 John W. Eaton <jwe@bevo.che.wisc.edu> |
8957 | |
3578 | 8958 * oct-rl-edit.c (octave_rl_set_event_hook): Take address of |
8959 rl_event_hook before casting to void **. | |
8960 (octave_rl_set_startup_hook): Likewise, for rl_startup_hook. | |
8961 | |
3574 | 8962 * MArray-defs.h: Many new macros to make declaration and |
8963 definition of operators more consistent. | |
8964 | |
8965 * MArray.h, MArray2.h, dColVector.h, dRowVector.h, CColVector.h, | |
8966 CRowVector.h, dMatrix.h, CMatrix.h: Use them. | |
3573 | 8967 |
3569 | 8968 2000-02-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
8969 | |
3572 | 8970 * dMatrix.cc (Matrix::ifourier): Cast divisor to double. |
8971 (Matrix::ifourier2d): Likewise. | |
8972 * CMatrix.cc (ComplexMatrix::ifourier): Likewise. | |
8973 (ComplexMatrix::ifourier2d): Likewise. | |
8974 | |
3569 | 8975 * Array.h (Array::ArrayRep::qsort): Cast len to size_t. |
8976 | |
3504 | 8977 2000-02-01 John W. Eaton <jwe@bevo.che.wisc.edu> |
8978 | |
3519 | 8979 * oct-rl-edit.c, oct-rl-edit.h: New files for interface to GNU |
8980 readline library. | |
8981 * Makefile.in: Add them to the appropriate lists. | |
8982 | |
8983 * oct-rl-hist.c, oct-rl-hist.h: New files for interface to GNU | |
8984 readline history library. | |
8985 * Makefile.in: Add them to the appropriate lists. | |
8986 | |
3517 | 8987 * data-conv.cc (LS_DO_WRITE): Cast arg to ostream::write to char*. |
8988 (LS_DO_READ): Likewise, for istream::read. | |
3518 | 8989 (write_doubles): Likewise. |
8990 (read_doubles): Likewise. | |
3517 | 8991 |
3516 | 8992 * oct-env.cc (octave_env::do_polite_directory_format): |
8993 Use operator== and substr method to do limited-length string | |
8994 comparison. | |
8995 | |
3513 | 8996 * Array2-idx.h, Array-idx.h: Avoid shadowing warnings for idx. |
3512 | 8997 |
3511 | 8998 * Quad.h: Use do_integrate as name of pure virtual function. |
8999 | |
3508 | 9000 * base-de.h: Use tt instead of t as arg names. |
3511 | 9001 Add method with tcrit arg. |
9002 | |
3509 | 9003 * DAE.h, DAE.cc: Likewise, also xx for x. |
3508 | 9004 |
3507 | 9005 * DASSL.cc (dassl_fcn_ptr, dassl_jac_ptr): New typedefs. |
9006 * LSODE.cc: lsode_fcn_ptr, lsode_jac_ptr): Ditto. | |
9007 * Quad.cc (quad_fcn_ptr): Ditto. | |
9008 * NLEqn.cc (hybrd1_fcn_ptr, hybrj1_fcn_ptr): Ditto. | |
9009 | |
3505 | 9010 * oct-getopt.h, oct-getopt.c: New files for interface to getopt. |
3519 | 9011 * Makefile.in: Add them to the appropriate lists. |
3505 | 9012 |
9013 * oct-kpse.h, oct-kpse.c: New files for interface to kpathsearch. | |
3519 | 9014 * Makefile.in: Add them to the appropriate lists. |
3505 | 9015 |
3504 | 9016 * dMatrix.cc (write_int, read_int): No longer declared static. |
9017 | |
9018 * CDiagMatrix.h: Delete decls for friend operators that are | |
9019 handled by MDiagArray2 class. Move others outside class decl and | |
9020 strip friend status. | |
9021 * dDiagMatrix.h: Likewise. | |
9022 | |
9023 * MArray.h: Delete decls for friend operators inside class decl. | |
9024 * MArray2.h: Ditto. | |
9025 * MDiagArray2.h: Ditto. | |
9026 | |
9027 * MArray-defs.h (DO_VS_OP,, DO_SV_OP, DO_VV_OP, NEGV): Pass all | |
9028 necessary parameters. Don't allocate memory in the macro. Change | |
9029 all uses. | |
9030 | |
9031 * dMatrix.h (class Matrix): Delete `friend class' decls. | |
9032 * CMatrix.h (class ComplexMatrix): Ditto. | |
9033 | |
9034 * mx-op-defs (MS_BOOL_OP, MS_BOOL_OPS, SM_BOOL_OP, SM_BOOL_OPS, | |
9035 MM_BOOL_OP, MM_BOOL_OPS, MDM_MULTIPLY_OP, MDM_BIN_OPS, | |
9036 DMM_MULTIPLY_OP, DMM_BIN_OPS): Pass zero constant as final arg, to | |
9037 avoid type conflicts. Change all uses. | |
9038 | |
9039 * strptime.c (__mon_yday): Fix size of array decl. | |
9040 | |
9041 * mx-inlines.cc: Use `xnot' instead of `not' for function name. | |
9042 | |
9043 * chMatrix.cc (charMatrix::row_as_string): Delete extraneous | |
9044 default value for second arg. | |
9045 | |
9046 * Array2.cc (Array2<T>::resize): Add Array<T>:: qulaifier to | |
9047 references to ArrayRep. | |
9048 | |
3503 | 9049 2000-01-31 John W. Eaton <jwe@bevo.che.wisc.edu> |
9050 | |
3504 | 9051 * Array.h (Array::ArrayRep): Now protected, not private. |
3503 | 9052 |
9053 * All source files: Include iostream, fstream, strstream, | |
9054 etc. as needed instead of using forward declarations for these | |
3504 | 9055 classes. Add std:: qualifier as needed. |
3503 | 9056 |
3498 | 9057 2000-01-30 John W. Eaton <jwe@bevo.che.wisc.edu> |
9058 | |
9059 * oct-time.cc: Declare strptime extern "C". | |
9060 | |
3496 | 9061 2000-01-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9062 | |
9063 * oct-time.cc [! HAVE_STRPTIME]: Provide declaration. | |
9064 | |
3488 | 9065 2000-01-28 John W. Eaton <jwe@bevo.che.wisc.edu> |
9066 | |
3492 | 9067 * Array2.h (Array2<T>::get_size): Now protected instead of private. |
9068 * Array3.h, Array3.cc: Use it in constructors and resize methods | |
9069 to get total size to be allocated. | |
9070 | |
3488 | 9071 * DASSL.cc (DASSL::integrate): Declare do_restart and save_output |
9072 as bool, not int. | |
9073 | |
3482 | 9074 2000-01-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9075 | |
9076 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9077 Allow A(idx) = RHS if idx is a boolean index with the same shape | |
9078 as A, even when do_fortran_indexing is not enabled. | |
9079 (Array2<T>::index (idx_vector& idx) const): Likewise, for A(idx). | |
9080 | |
3473 | 9081 2000-01-25 John W. Eaton <jwe@bevo.che.wisc.edu> |
9082 | |
3480 | 9083 * dMatrix.cc (Matrix::solve (...)): Add new variant with |
9084 function pointer as final arg. Passed function (if any) will be | |
9085 called for singularity errors. | |
9086 * CMatrix.cc (ComplexMatrix::solve (...)): Likewise. | |
9087 | |
9088 * dMatrix.cc (Matrix::pseudo_inverse): Use economy SVD. | |
9089 * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. | |
9090 | |
3475 | 9091 * lo-ieee.cc (octave_ieee_init): Don't include sunmath.h. |
9092 No longer bother with infinity or quiet_nan. | |
9093 | |
3473 | 9094 * Array2.cc (Array2<T>::get_size): New function. |
9095 (Array2<T>::Array2, Array2<T>::resize): Use it. | |
9096 | |
3472 | 9097 2000-01-23 John W. Eaton <jwe@bevo.che.wisc.edu> |
9098 | |
9099 * Array2-idx.h (Array2<T>::maybe_delete_elements (idx_vector&)): | |
9100 New function. | |
9101 (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9102 Use it when indexing with one arg instead of faking a second one. | |
9103 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): | |
9104 Return empty matrices with the correct dimensions for A(:,:) = [] | |
9105 and also A(:,idx) = [], and A(idx,:) = [] when idx enumerates all | |
9106 rows or columns. | |
9107 | |
9108 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Recognize a bool | |
9109 vector that is all true values with a length equal to n as colon | |
9110 equivalent. | |
9111 | |
3470 | 9112 2000-01-22 John W. Eaton <jwe@bevo.che.wisc.edu> |
9113 | |
9114 * strptime.c: Only include langinfo.h if _LIBC is defined. | |
9115 | |
5095 | 9116 2000-01-21 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3468 | 9117 |
9118 * CMatrix.cc (ComplexMatrix::expm): Apply permutation and scaling | |
9119 operations directly in step 2 and reverse step 2. | |
9120 * dMatrix.cc (Matrix::expm): Apply permutation and scaling | |
9121 operations directly in step 2 and reverse step 2. | |
9122 | |
3465 | 9123 2000-01-20 John W. Eaton <jwe@bevo.che.wisc.edu> |
9124 | |
9125 * oct-time.h, oct-time.cc (octave_strptime): New class. | |
9126 | |
9127 * strptime.c: New file, from glibc 2.1.2. | |
9128 * Makefile.in (SOURCES): Add strptime.c to the list. | |
9129 | |
3419 | 9130 2000-01-11 John W. Eaton <jwe@bevo.che.wisc.edu> |
9131 | |
9132 * MArray.h (MArray <const Array<T>&)): New constructor. | |
9133 | |
3415 | 9134 2000-01-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9135 | |
9136 * pathsearch.cc (dir_path::all_directories): Avoid dereferencing | |
9137 NULL directory list returned from kpse_element_dirs | |
9138 | |
3375 | 9139 1999-12-08 John W. Eaton <jwe@bevo.che.wisc.edu> |
9140 | |
9141 * dbleLU.cc (LU::LU): Call DGETRF directly instead of calling DGESV. | |
9142 * CmplxLU.cc (ComplexLU::ComplexLU): Likewise, call ZGETRF | |
9143 directly, instead of calling ZGESV. | |
9144 | |
3358 | 9145 1999-11-18 John W. Eaton <jwe@bevo.che.wisc.edu> |
9146 | |
9147 * data-conv.cc (init_sized_type_lookup_table): New function. | |
9148 (string_to_data_type): Use it to improve lookup of data types. | |
9149 | |
3354 | 9150 1999-11-16 John W. Eaton <jwe@bevo.che.wisc.edu> |
9151 | |
9152 * dMatrix.cc (is_symmetric): Move here from Array2.cc. | |
9153 * Array2.h (is_symmetric): Delete declaration. | |
9154 | |
3347 | 9155 1999-11-10 John W. Eaton <jwe@bevo.che.wisc.edu> |
9156 | |
9157 * oct-env.cc (do_get_user_name): Reverse sense of test. | |
9158 | |
3344 | 9159 1999-11-07 John W. Eaton <jwe@bevo.che.wisc.edu> |
9160 | |
9161 * oct-time.cc (Fstrftime): Undo previous change. | |
9162 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9163 | |
3334 | 9164 1999-11-03 John W. Eaton <jwe@bevo.che.wisc.edu> |
9165 | |
3336 | 9166 * dbleSVD.cc (SVD::init): Let DGESVD determine work space requirement. |
9167 * CmplxSVD.cc (ComplexSVD::init): Likewise, for complex version. | |
9168 | |
3334 | 9169 * dbleSCHUR.cc (SCHUR::init): IWORK is always referenced by dgeesx. |
9170 Don't forget to pass length of third string argument to dgeesx. | |
9171 | |
9172 * CmplxSCHUR.cc (ComplexSCHUR::init): Don't forget to pass length | |
9173 of third string argument to zgeesx. | |
9174 | |
3333 | 9175 1999-11-02 John W. Eaton <jwe@bevo.che.wisc.edu> |
9176 | |
9177 * DiagArray2.cc (DiagArray2<T>::operator () (int, int)): | |
9178 On errors, simply return `T ()'. | |
9179 (DiagArray2<T>::checkelem (int, int)): Likewise. | |
9180 | |
5095 | 9181 1999-11-02 A. Scottedward Hodel <a.s.hodel@eng.auburn.edu> |
3331 | 9182 |
9183 * dMatrix.cc (Matrix::expm): Do balancing here instead of using | |
9184 AEPBALANCE class. | |
9185 * CMatrix.cc (ComplexMatrix::expm): Likewise. | |
9186 | |
3325 | 9187 1999-10-29 John W. Eaton <jwe@bevo.che.wisc.edu> |
9188 | |
9189 * oct-shlib.cc, oct-shlib.h: New files. | |
9190 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9191 | |
3322 | 9192 1999-10-26 John W. Eaton <jwe@bevo.che.wisc.edu> |
9193 | |
9194 * CRowVector.cc (linspace): Allow npoints == 1 if x1 == x2. | |
9195 * dRowVector.cc (linspace): Ditto. | |
9196 | |
9197 * oct-time.cc (Fstrftime): Don't save or delete tm_zone. | |
9198 (octave_time::octave_time (const octave_base_tm&)): Likewise. | |
9199 | |
3312 | 9200 1999-10-21 John W. Eaton <jwe@bevo.che.wisc.edu> |
9201 | |
9202 * DASSL.cc (DASSL::do_integrate (double)): If we have a function | |
9203 to evaluate the Jacobian, set info(4), not iwork(4). | |
9204 Set rwork(1) to the maximum step size, not rwork(2). | |
9205 | |
3290 | 9206 1999-10-14 John W. Eaton <jwe@bevo.che.wisc.edu> |
9207 | |
9208 * oct-time.cc: Include <climits>. | |
9209 | |
3281 | 9210 1999-10-13 John W. Eaton <jwe@bevo.che.wisc.edu> |
9211 | |
9212 * cmd-edit.h (command_editor::do_resize_terminal): New function. | |
9213 * cmd-edit.cc (command_editor::resize_terminal): New function. | |
9214 (gnu_readline::do_resize_terminal): New function. | |
9215 | |
3268 | 9216 Fri Sep 3 12:39:17 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9217 | |
9218 * lo-mappers.cc: Include ieeefp.h and sunmath.h if we have them. | |
9219 * lo-ieee.c: Likewise. | |
9220 Delete extern "C" declarations for infinity and quiet_nan. | |
9221 | |
3262 | 9222 Fri Aug 20 07:58:00 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9223 | |
3263 | 9224 * mx-inlines.cc (VS_OP, SV_OP, VV_OP): Delete `extern template' decls. |
9225 (VS_OP_FCN, SV_OP_FCN, VV_OP_FCN): Declare template functions | |
9226 `inline', not `static inline'. | |
9227 | |
3262 | 9228 * idx-vector.cc (intcmp): Declare args as const void *, not int *, |
9229 then cast to const int * to compare. | |
9230 | |
3257 | 9231 Fri Jul 16 11:23:51 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9232 | |
9233 * DAEFunc.h: Remove useless preprocessor conditional. | |
9234 | |
3255 | 9235 Thu Jul 15 14:10:33 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9236 | |
3257 | 9237 * cmd-edit.cc (command_editor::do_decode_prompt_string): |
9238 Use octave_time object instead of time_t. | |
9239 | |
9240 * file-stat.h (file_stat::fs_atime, file_stat::fs_mtime, | |
9241 file_stat::fs_ctime): Now octave_time objects. | |
9242 (file_stat::atime, file_stat::mtime, file_stat::ctime): | |
9243 Return octave_time objects. | |
9244 (file_stat::is_newer): Args are now octave_time objects instead of | |
9245 time_t. | |
9246 | |
3255 | 9247 * oct-time.h (octave_time::as_double): Delete. |
9248 (octave_time::operator double ()): New function. | |
9249 (octave_time::operator time_t ()): New function. | |
9250 (octave_time::ctime): New function. | |
9251 (octave_base_tm::strftime): Renamed from format_as_string. | |
9252 (octave_base_tm::asctime): New function. | |
9253 (operator == (const octave_time&, const octave_time&), | |
9254 operator != (const octave_time&, const octave_time&), | |
9255 operator < (const octave_time&, const octave_time&), | |
9256 operator <= (const octave_time&, const octave_time&), | |
9257 operator > (const octave_time&, const octave_time&), | |
9258 operator >= (const octave_time&, const octave_time&)): | |
9259 New comparison functions. | |
9260 | |
9261 * strftime.c: Move here from src directory. | |
9262 * Makefile.in (SOURCES): Add it to the list. | |
9263 | |
9264 * oct-time.h (octave_time::octave_time (time_t)): New constructor. | |
9265 | |
3253 | 9266 Wed Jul 14 17:38:07 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9267 | |
9268 * oct-time.h, oct-time.cc: New files. | |
9269 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. | |
9270 | |
9271 * systime.h: Move here from src directory. | |
9272 * Makefile.in (INCLUDES): Add it to the list. | |
9273 | |
3248 | 9274 Mon Jul 12 22:34:34 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9275 | |
9276 * mx-defs.h (b_d_Mapper, b_c_Mapper): New typedefs. | |
9277 * dMatrix.cc (Matrix::map (b_d_Mapper)): New function. | |
9278 * CMatrix.cc (ComplexMatrix::map (b_c_Mapper)): New function. | |
9279 * lo-mappers.cc (xisinf, xisnan, xfinite): Return bool, not double. | |
9280 | |
9281 * lo-mappers.cc (xmin, xmax): New functions to correctly handle NaNs. | |
9282 | |
3243 | 9283 Mon May 10 07:45:11 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9284 | |
9285 * MArray-defs.h (DO_VV_OP2): Fix macro definition to use arg. | |
9286 | |
9287 Wed May 5 20:06:10 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9288 | |
9289 * Array2-idx.h (Array2<T>index (idx_vector& idx)): Always return a | |
9290 column vector for A(:), for compatibility with Matlab. | |
9291 | |
9292 Fri Apr 23 11:52:23 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9293 | |
9294 * LSODE.cc (LSODE::do_integrate (double)): Don't forget to set | |
9295 iopt when there are optional inputs in rwork or iwork. | |
9296 | |
3238 | 9297 Fri Mar 26 11:26:32 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9298 | |
9299 * Makefile.in (libraries): Use the libfoo.a(objects) method of | |
9300 creating static libs. | |
9301 | |
5095 | 9302 Thu Mar 4 02:17:04 1999 James Macnicol <jamesm@evans.ee.adfa.oz.au> |
3238 | 9303 |
9304 * data-conv.cc (oct_data_conv::string_to_data_type): Handle uint16 | |
9305 and uint32 data types. | |
9306 | |
9307 Thu Mar 4 01:51:37 1999 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9308 | |
9309 * lo-ieee.cc (octave_ieee_init): Don't use __alpha__-specific code | |
9310 for Linux. Remove old Linux-specific code. | |
9311 | |
3233 | 9312 Tue Jan 19 09:34:55 1999 John W. Eaton <jwe@bevo.che.wisc.edu> |
9313 | |
9314 * dMatrix.cc (operator * (const ColumnVector& v, const RowVector& a)): | |
9315 Don't require lengths to be equal. | |
9316 * CMatrix.cc (operator * (const ComplexColumnVector& v, const | |
9317 ComplexRowVector& a)): Likewise | |
9318 | |
5095 | 9319 Tue Nov 24 23:38:19 1998 Eric Norum <eric@skatter.USask.Ca> |
3225 | 9320 |
9321 * statdefs.h: Only define mode_t if not already defined. | |
9322 | |
5095 | 9323 Tue Nov 24 17:24:52 1998 john <john@arrows.demon.co.uk> |
3225 | 9324 |
9325 * lo-specfun.cc (airy, biry): Set imaginary part of result to zero | |
9326 when appropriate. | |
9327 | |
9328 Mon Nov 23 09:57:05 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9329 | |
9330 * cmd-edit.cc (gnu_readline::gnu_readline): Set terminal name | |
9331 before calling rl_initialize. | |
9332 | |
3220 | 9333 Tue Nov 17 23:47:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9334 | |
9335 * lo-specfun.cc (besselh, airy, biry): New functions. | |
9336 Update Bessel function support to use library by D. E. Amos. | |
9337 | |
3219 | 9338 Thu Nov 12 17:44:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9339 | |
9340 * cmd-edit.h (command_editor::readline): Add new variation that | |
9341 allows EOF information to be passed back to caller. | |
9342 | |
9343 * dMatrix.cc (Matrix::read): Do the right thing for EOF when | |
9344 amount of data to read is unspecified. | |
9345 | |
3215 | 9346 Tue Nov 10 07:53:15 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9347 | |
3219 | 9348 * oct-alloc.h (DECLARE_OCTAVE_ALLOCATOR): New macro. |
9349 (DEFINE_OCTAVE_ALLOCATOR): Ditto. | |
9350 | |
3215 | 9351 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, swap_8_bytes): |
9352 Add volatile qualifier to void* arg. | |
9353 Cast volatile void* arg to volatile char*. | |
9354 | |
9355 Mon Nov 9 08:28:31 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9356 | |
9357 * cmd-edit.h (command_editor::do_set_event_hook): New function. | |
9358 (command_editor::do_restore_event_hook): Ditto. | |
9359 * cmd-edit.cc (command_editor::set_event_hook): Ditto. | |
9360 (command_editor::restore_event_hook): Ditto. | |
9361 (gnu_readline::do_set_event_hook): Ditto. | |
9362 (gnu_readline::do_restore_event_hook): Ditto. | |
9363 (gnu_readline::previous_event_hook): New data member. | |
9364 (gnu_readline::gnu_readline): Initialize previous_event_hook. | |
9365 | |
3206 | 9366 Mon Nov 2 13:36:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9367 | |
9368 * Makefile.in (BINDISTLIBS): Don't include .$(SHLEXT_VER) in name. | |
9369 | |
9370 * Makefile.in (stmp-pic): New target. | |
9371 ($(PICOBJ)): Depend on stmp-pic, not pic. | |
9372 (clean): Remove stmp-pic | |
9373 | |
9374 * Makefile.in: Undo previous change to avoid optmization when | |
9375 compiling lo-ieee.cc. | |
9376 | |
9377 Sun Nov 1 10:10:40 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9378 | |
9379 * lo-mappers.cc (xfinite): Define in terms of xfinite for real and | |
9380 imaginary parts. | |
9381 (xisinf): Define in terms of xisinf for real and imaginary parts. | |
9382 | |
3203 | 9383 Thu Oct 29 18:57:50 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9384 | |
9385 * boolMatrix.cc (boolMatrix::operator !): New function. | |
9386 | |
3196 | 9387 Fri Oct 23 21:46:20 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9388 | |
9389 * pathsearch.h (dir_path::default_path): New data member. | |
9390 * pathsearch.cc (dir_path::init): Use it. | |
9391 | |
9392 * Makefile.in: Avoid optmization when compiling lo-ieee.cc. | |
9393 | |
3189 | 9394 Fri Oct 16 01:08:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9395 | |
9396 * chMatrix.cc (charMatrix::extract): New function. | |
9397 (charMatrix::charMatrix (char c)): New constructor. | |
9398 | |
9399 Tue Oct 13 22:11:08 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9400 | |
9401 * cmd-edit.h: (command_editor::do_read_init_file): New function. | |
9402 * cmd-edit.cc (command_editor::read_init_file): New function. | |
9403 (gnu_readline::do_read_init_file): Likewise. | |
9404 | |
3185 | 9405 Fri Sep 25 14:26:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9406 | |
9407 * oct-env.cc (octave_env::do_get_home_directory): | |
9408 If HOME can't be found, set it to "/". | |
9409 (octave_env::do_get_user_name) | |
9410 If user name can't be found, set it to "unknown". | |
9411 (octave_env::do_get_host_name) | |
9412 If host name can't be found, set it to "unknown". | |
9413 | |
9414 * pathsearch.h (dir_path::rehash): New function. | |
9415 * pathsearch.cc (dir_path::init): Clear kpathsea's internal | |
9416 diretcory cache before doing initialization. | |
9417 | |
3180 | 9418 Thu Sep 24 13:23:25 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9419 | |
3185 | 9420 * dMatrix.cc (Qzval): Delete. |
9421 (qzhes, qzit, qzval): Delete F77_FCN declarations. | |
9422 * dMatrix.h (Qzval): Delete declaration. | |
9423 | |
9424 * dbleGEPBAL.h, dbleGEPBAL.cc: Delete. | |
9425 * Makefile.in (MATRIX_INC, MATRIX_SRC): Delete them from the lists. | |
9426 * mx-ext.h: Don't include dbleGEPBAL. | |
9427 | |
3180 | 9428 * lo-ieee.cc (octave_ieee_init): For now, use X_CAST instead of |
9429 static_cast. | |
9430 | |
9431 Fri Sep 4 10:58:22 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9432 | |
9433 * dMatrix.cc (Matrix::read): Skip after reading, not before. | |
9434 From: Dr.-Ing. Torsten Finke <fi@igh-essen.com>. | |
9435 | |
9436 Wed Sep 2 09:50:21 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9437 | |
9438 * lo-ieee.cc (octave_ieee_init): For Linux on arm, don't rely on | |
9439 HUGE_VAL and NAN. | |
9440 | |
9441 Wed Aug 26 15:04:57 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9442 | |
9443 * Array2-idx.h (assign (Array2<LT>& lhs, const Array2<RT>& rhs)): | |
9444 Handle x(i) = scalar for do_fortran_indexing == 1. | |
9445 | |
9446 Thu Jul 30 00:34:10 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9447 | |
9448 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const charMatrix&)): | |
9449 Alloctate space before attempting to use it. | |
9450 (ComplexMatrix::ComplexMatrix (const boolMatrix&)): Likewise. | |
9451 | |
5095 | 9452 Mon Jun 22 17:04:27 1998 Tomislav Goles <tom@ait-tech.com> |
3178 | 9453 |
9454 * EIG.cc (EIG::init): Move invariant code outside loop. | |
9455 | |
9456 Thu Jun 18 11:08:23 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9457 | |
9458 * MArray2.cc (MARRAY_A2A2_OP): If operands are empty, make result | |
9459 have the same size as the operands. | |
9460 | |
9461 Thu May 28 10:41:04 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9462 | |
9463 * DASSL.cc (DASSL::do_integrate): If an exception occurs in the | |
9464 call to ddassl, set integration_error to 1 before calling the | |
9465 error handler and returning. | |
9466 * LSODE.cc (LSODE::do_integrate): Likewise. | |
9467 | |
3177 | 9468 Wed May 27 13:46:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9469 | |
9470 * Array2-idx.h (assign): Allow A([],[]) = scalar and, if | |
9471 do_fortran_indexing is set, A([]) = scalar. | |
9472 * Array-idx.h (assign): Allow A([]) = scalar. | |
9473 | |
3176 | 9474 Thu May 14 11:50:24 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9475 | |
9476 * mx-op-defs.h (MDM_MULTIPLY_OP): Compute result if dm_nc > 0, not | |
9477 if dm_nc == 0. | |
9478 | |
3174 | 9479 Thu Apr 23 16:15:37 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9480 | |
9481 * pathsearch.h (dir_path::p_orig): New field. | |
9482 * pathsearch.cc (dir_path::init): Perform variable and tilde | |
9483 expansion on the original path here. | |
9484 (dir_path::find_all): Don't do anything if not initialized. | |
9485 | |
3164 | 9486 Tue Apr 14 14:41:30 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9487 | |
9488 * Array2-idx.h (index): Allow x(:) even when do_fortran_indexing | |
9489 is not set. | |
9490 (index): Allow x = zeros (2, 0); x(1,:) to work. | |
9491 | |
9492 * lo-specfun.cc (gammainc): Use dgamit to compute | |
9493 (\int_0^x exp(-t) t^(a-1) dt)/gamma(a), not just | |
9494 \int_0^x exp(-t) t^(a-1) dt. | |
9495 | |
9496 Wed Apr 8 22:50:44 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9497 | |
9498 * Array-C.cc, Array-b.cc, Array-ch.cc, Array-i.cc, Array-d.cc, | |
9499 Array-s.cc: Change return types of all `assign' explicit | |
9500 instantiations to be int, not void, to match the template decl in | |
9501 Array.h. | |
9502 | |
3162 | 9503 Mon Apr 6 00:27:06 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9504 | |
9505 * lo-specfun.cc (gammainc): Reorder args in call to xdgami. | |
9506 | |
3156 | 9507 Thu Feb 19 01:16:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9508 | |
9509 * lo-specfun.cc (xgamma, xlgamma): Define here. | |
9510 * lo-mappers.cc: Not here. | |
9511 | |
9512 * lo-specfun.h: Declare xgamma and xlgamma here. | |
9513 * lo-mappers.h: Not here. | |
9514 | |
9515 * lo-specfun.h: Never declare gamma or lgamma. | |
9516 | |
3154 | 9517 Tue Feb 10 16:14:36 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9518 | |
9519 * Array-idx.h (assign): Allow A([]) = X to succeed if X is an | |
9520 empty matrix of any dimension. | |
9521 | |
3145 | 9522 Thu Feb 5 02:12:38 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9523 | |
3147 | 9524 * oct-syscalls.cc (octave_syscalls::vfork): New function. |
9525 | |
3146 | 9526 * lo-specfun.cc: Don't include dbleBessel.h. |
9527 | |
9528 * Makefile.in (INCLUDES): Delete oct-math.h from the list. | |
9529 | |
3145 | 9530 * dir-ops.h (dir_entry::operator bool ()): Return bool, not void*. |
9531 * file-stat.h (file_stat::operator bool ()): Likewise. | |
9532 * idx-vector.h (idx_vector::operator bool ()): Likewise. | |
9533 * oct-group.h (octave_group::operator bool ()): Likewise. | |
9534 * oct-passwd.h (octave_passwd::operator bool ()): Likewise. | |
9535 | |
9536 * data-conv.cc (IEEE_little_double_to_IEEE_big_double): | |
9537 Don't cast arg in call to swap_8_bytes. | |
9538 (IEEE_big_double_to_IEEE_little_double): Ditto | |
9539 (IEEE_big_float_to_IEEE_little_float): Don't cast arg in call to | |
9540 swap_4_bytes. | |
9541 (IEEE_little_float_to_IEEE_big_float): Ditto | |
9542 | |
9543 * oct-alloc.cc (grow): Use X_CAST, not static_cast. | |
9544 * prog-args.cc (prog_args::getopt): Likewise. | |
9545 * dMatrix.cc (read_int, do_read, write_int, do_write): Likewise. | |
9546 * cmd-edit.cc (gnu_readline::do_set_completion_function): Likewise. | |
9547 * data-conv.cc (LS_DO_READ, LS_DO_WRITE, read_doubles, write_doubles): | |
9548 Likewise. | |
9549 | |
9550 * byte-swap.h (swap_bytes, swap_2_bytes, swap_4_bytes, | |
9551 swap_8_bytes): Declare ptr arg as void*, then use cast. | |
9552 | |
3141 | 9553 Mon Feb 2 01:42:56 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9554 | |
9555 * Makefile.in (install, uninstall): Use $(octlibdir), not $(libdir). | |
9556 Use $(mk-libdir-link). | |
9557 | |
9558 * file-stat.cc (file_stat::update_internal): Use stat and lstat, | |
9559 not SAFE_STAT and SAFE_LSTAT. | |
9560 (lstat): New function, defined if HAVE_LSTAT is not defined. | |
9561 * safe-xstat.hin, safe-xstat.cin: Delete. | |
9562 * Makefile.in: Delete rules for safe-stat.h, safe-stat.c, | |
9563 safe-lstat.h, and safe-lstat.cc. | |
9564 | |
3136 | 9565 Fri Jan 30 23:48:43 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9566 | |
9567 * chMatrix.cc (charMatrix::all, charMatrix::any): New functions. | |
9568 | |
3130 | 9569 Tue Jan 20 16:30:00 1998 John W. Eaton <jwe@bevo.che.wisc.edu> |
9570 | |
9571 * dMatrix.cc (Matrix::expm): Skip trace normalization step if the | |
9572 trace is negative. | |
9573 * CMatrix.cc (ComplexMatrix::expm): Skip trace normalization if | |
9574 the real part of the trace is negative. | |
9575 | |
9576 Mon Jan 19 16:01:59 1998 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9577 | |
9578 * dMatrix.cc (Matrix::expm): Call xdlange instead of dlange. | |
9579 * CMatrix.cc (ComplexMatrix::expm): Call xzlange instead of zlange. | |
9580 | |
9581 * Array2-idx.h (assign): Allow operations like a = 1; a(2:3) = [1;2] | |
9582 to succeed. | |
9583 | |
3125 | 9584 Thu Dec 18 14:53:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9585 | |
9586 * idx-vector.cc (IDX_VEC_REP::sort): Don't do anything unless len > 1. | |
9587 (make_uniq): Likewise. | |
9588 | |
9589 Fri Dec 12 10:58:33 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9590 | |
9591 * lo-ieee.cc (octave_ieee_init): Check for linux before __alpha__. | |
9592 | |
3119 | 9593 Sun Nov 30 14:59:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9594 | |
3121 | 9595 * lo-mappers.cc: Include cmath and lo-specfun.h, not oct-math.h. |
9596 | |
9597 * lo-specfun.h, lo-specfun.cc: New files. | |
3119 | 9598 * Makefile.in (INCLUDES, SOURCES): Add them to the lists. |
9599 | |
3121 | 9600 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c, |
9601 oct-math.h: Delete. | |
9602 * Makefile.in (SOURCES): Delete them from the list. | |
9603 | |
3112 | 9604 Wed Nov 26 20:02:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9605 | |
9606 * lo-sysdep.cc (octave_getcwd): Prefer getcwd over getwd. | |
9607 | |
5095 | 9608 Wed Nov 19 02:30:04 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
3107 | 9609 |
9610 Changes to make support egcs snapshots that implement explicit | |
9611 specification of template functions according to CD2. | |
9612 | |
9613 * MArray.h: If NEED_TEMPLATE_FCN_SPECS is defined, add explicit | |
9614 template function specs for template friends. | |
9615 * MArray2.h: Likewise. | |
9616 * MDiagArray2.h: Likewise. | |
9617 | |
3095 | 9618 Thu Nov 13 21:57:16 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9619 | |
9620 * CMatrix.cc (sumsq): Compute equivalent of sum (x .* conj (x)) | |
9621 | |
3092 | 9622 Thu Oct 2 17:13:02 1997 Mumit Khan <khan@dhaka.xraylith.wisc.edu> |
9623 | |
9624 * CRowVector.cc (linspace): Removed attempt for implicit conversion | |
9625 to complex<double>(int) instead of complex<double>(double). | |
9626 | |
9627 * lo-mappers.cc (atanh): Ditto. | |
9628 | |
3079 | 9629 Thu Jul 31 22:13:54 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9630 | |
9631 * idx-vector.cc (IDX_VEC_REP::sort): New function. | |
9632 * idx-vector.h (idx_vector::sort): Ditto. | |
9633 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before | |
9634 trying to delete elements specified by the index vectors. | |
9635 | |
3075 | 9636 Fri Jul 25 17:31:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9637 | |
9638 * dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16. | |
9639 * CMatrix.cc (ComplexMatrix::lssolve): Ditto. | |
9640 | |
3074 | 9641 Thu Jul 24 14:32:48 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9642 | |
9643 * file-ops.cc (tilde_expand_word): Fix off-by-one error. | |
9644 | |
3069 | 9645 Wed Jul 9 19:40:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9646 | |
9647 * lo-sysdep.cc (octave_getcwd): If getwd is available, use it. | |
9648 Call error handler if we can't find the current directory. | |
9649 | |
3068 | 9650 Mon Jul 7 21:14:41 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9651 | |
3069 | 9652 * lo-mappers.cc (xisnan (double)): Return only 1 or 0. |
9653 (xfinite (double)): Ditto. | |
9654 | |
3068 | 9655 * dbleQR.cc (QR::init): Don't forget to initialize Q when type is raw. |
9656 * CmplxQR.cc (ComplexQR::init): Ditto. | |
9657 | |
3056 | 9658 Sun Jun 15 21:06:37 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9659 | |
9660 * lo-mappers.cc (acos (const Complex&)): Select branch that is | |
9661 compatible with Matlab. | |
9662 | |
3050 | 9663 Tue Jun 10 10:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9664 | |
9665 * Array2-idx.h: Correctly handle empty matrices indexed by a | |
9666 single colon. | |
9667 | |
3040 | 9668 Fri Jun 6 04:27:40 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9669 | |
3049 | 9670 * lo-mappers.cc (xlgamma): Use F77_XFCN function to call dlgams. |
9671 (xgamma): Likewise, for calling xdgamma. | |
9672 | |
3042 | 9673 * FSQP.h, NPSOL.h, QPSOL.h, FSQP.cc, NPSOL.cc, QPSOL.cc: Delete |
9674 * Makefile.in (INCLUDES, SOURCES): Remove them from the lists. | |
9675 | |
3040 | 9676 * file-ops.cc (file_ops::tilde_expand): Steal more code from bash |
9677 to do better job expanding tildes. | |
9678 | |
9679 * str-vec.cc (string_vector::string_vector (const char * const *): | |
9680 Use temporary variable to compute length. | |
9681 | |
3029 | 9682 Thu Jun 5 01:44:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9683 | |
3034 | 9684 * Makefile.in: Make building of static library optional. |
3036 | 9685 (liboctave.$(SHLEXT_VER)): Add $(SONAME_FLAGS) to command. |
3034 | 9686 |
3029 | 9687 * Makefile.in (stamp-picdir): Delete. |
9688 (pic): New target. Don't worry so much about creating pic | |
9689 directory only when it is really needed. | |
9690 (stamp-interp): Delete. | |
9691 (libraries): New target. Depend on shared library directly. | |
9692 | |
3024 | 9693 Wed Jun 4 00:08:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9694 | |
9695 * pathsearch.h, pathsearch.cc (dir_pat::set_program_name): | |
9696 New static function. | |
9697 | |
3012 | 9698 Mon Jun 2 12:44:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9699 | |
9700 * lo-mappers.cc (fix): Use floor and ceil instead of casting to int. | |
9701 | |
3004 | 9702 Thu May 22 16:20:43 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9703 | |
9704 * cmd-edit.h, cmd-edit.cc: Rename set_paren_string_delimiters to | |
9705 set_basic_quote_characters, to match new version of readline. | |
9706 | |
9707 * cmd-edit.cc (do_restore_terminal_state): Call readline function | |
9708 for restoring terminal state through rl_deprep_term_function, now | |
9709 declared in readline.h | |
9710 (rl_deprep_terminal): Delete declaration. | |
9711 | |
2993 | 9712 Wed May 21 16:30:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9713 | |
9714 * Makefile.in (install-in): Use new mk-includedir-link macro. | |
9715 (install-lib): Install in $octlibdir. Use new mk-libdir-link macro. | |
9716 | |
2968 | 9717 Thu May 15 11:46:42 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9718 | |
9719 * cmd-edit.cc (command_editor::increment_current_command_number): | |
9720 New static function. | |
9721 | |
2964 | 9722 Mon May 12 02:14:13 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9723 | |
2966 | 9724 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Make it work when |
9725 the vector is not sorted. | |
9726 | |
2964 | 9727 * CMatrix.cc (ComplexMatrix::operator !): Return boolMatrix. |
9728 * dMatrix.cc (Matrix::operator !): Likewise | |
9729 | |
2941 | 9730 Wed May 7 21:14:06 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9731 | |
9732 * oct-syscalls.h, oct-syscalls.cc: New files. | |
9733 | |
9734 * cmd-edit.h, cmd-edit.cc: Handle completion function. | |
9735 | |
9736 * str-vec.h, str-vec.cc (string_vector::uniq): New function. | |
9737 | |
2938 | 9738 Tue May 6 00:52:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9739 | |
2941 | 9740 * Makefile.in (INCLUDES_FOR_INSTALL): New variable. |
9741 (install-inc): Use it. | |
9742 | |
2938 | 9743 * file-ops.h, file-ops.cc (tempnam): Add DIR and PREFIX args. |
9744 Handle errors and missing functions consistently. | |
9745 | |
9746 * oct-group.h, oct-group.cc: New files. | |
9747 | |
9748 * oct-passwd.cc: Handle errors and missing functions consistently. | |
9749 | |
9750 * str-vec.h, str-vec.cc (c_str_vec, delete_c_str_vec): New functions. | |
9751 | |
2934 | 9752 Mon May 5 17:53:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9753 | |
9754 * file-ops.cc: (file_ops::tilde_expand): Use new octave_passwd class. | |
9755 * oct-env.cc (octave_env::do_get_user_name): Likewise. | |
9756 | |
9757 * oct-passwd.h, oct-passwd.cc: New files. | |
9758 | |
2926 | 9759 Sun May 4 22:17:08 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9760 | |
9761 * statdefs.h: Only include sys/types.h if HAVE_SYS_STAT_H is defined. | |
9762 | |
9763 * mach-info.h, mach-info.cc: Add missing const qualifiers. | |
9764 (instance_ok ()): New function. | |
9765 | |
9766 * glob-match.h, glob-match.cc: Rename from oct-glob.h, oct-glob.cc. | |
9767 | |
9768 * cmd-hist.h, cmd-hist.cc: Make it work without GNU readline. | |
9769 | |
9770 * lo-utils.h, lo-utils.cc (strsave, octave_putenv): Move here from | |
9771 src/utils.h and src/utils.cc. | |
9772 (octave_fgets): New function, extracted from src/input.cc. | |
9773 | |
9774 * cmd-edit.h, cmd-edit.cc: New files. Provide wrapper class for | |
9775 GNU readline, and allow Octave to work without GNU readline. | |
9776 | |
9777 * lo-sysdep.h, lo-sysdep.cc: New files for miscellaneous | |
9778 system-dependent functions. | |
9779 | |
9780 * oct-env.h, oct-env.cc: New files for process environment stuff. | |
9781 | |
9782 * file-stat.h, file-stat.cc: New files. Extract file_stat class | |
9783 from file-ops.h and file-ops.cc and move here. | |
9784 | |
9785 * file-ops.h, file-ops.cc: Wrap functions in struct. Move | |
9786 tilde_expand functions here from src/dirfns.cc. | |
9787 | |
9788 Fri May 2 19:50:12 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9789 | |
9790 * pathlen.h: New file, from ../src. | |
9791 | |
2917 | 9792 Tue Apr 29 04:39:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9793 | |
9794 * Array2-idx.h (Array2<T>::maybe_delete_elements): Prevent | |
9795 out-of-bounds indexing of the index array. | |
9796 * Array-idx.h (Array<T>::maybe_delete_elements): Likewise. | |
9797 | |
2850 | 9798 Fri Mar 28 15:37:09 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9799 | |
9800 * LSODE.h (x_step_limit): New field. | |
9801 (LSODE_options::init): Initialize it. | |
9802 (LSODE_options::copy): Copy it. | |
9803 (LSODE_options::set_step_limit, LSODE_options::step_limit): | |
9804 New functions. | |
9805 (LSODE::working_too_hard): Delete. | |
9806 * LSODE.cc (LSODE::do_integrate): Handle step limit. | |
9807 | |
2844 | 9808 Wed Mar 26 15:31:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9809 | |
9810 * MArray-b.cc: Delete. | |
9811 * Makefile.in: Delete it from the lists. | |
9812 | |
9813 * boolMatrix.h (class bboolMatrix): Derive from Array2, not | |
9814 MArray2, since most of the numeric ops don't really make sense. | |
9815 | |
2829 | 9816 Tue Mar 25 17:37:25 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9817 | |
2832 | 9818 * boolMatrix.cc (boolMatrix::all, boolMatrix::any): New functions. |
9819 | |
9820 * dMatrix.cc (Matrix::all, Matrix::any): Return boolMatrix. | |
9821 * CMatrix.cc (ComplexMatrix::all, ComplexMatrix::any): Likewise. | |
9822 | |
2830 | 9823 * idx-vector.h (idx_vector::idx_vector_rep::freeze, |
9824 idx_vector::freeze): Delete prefer_zero_one arg. | |
9825 * Array-idx.h, Array2-idx.h: Change all callers. | |
9826 | |
9827 * Array-flags.h, Array-flags.cc (liboctave_pzo_flag): Delete. | |
9828 | |
2829 | 9829 * mx-op-defs.h: New file for operator definitions. |
9830 * mx-cdm-cm.h, mx-cdm-cs.h, mx-cdm-dm.h, mx-cdm-m.h, mx-cdm-s.h, | |
9831 mx-cm-cdm.h, mx-cm-dm.h, mx-cm-m.h, mx-cm-s.h, mx-cs-cdm.h, | |
9832 mx-cs-dm.h, mx-cs-m.h, mx-dm-cdm.h, mx-dm-cm.h, mx-dm-cs.h, | |
9833 mx-dm-m.h, mx-dm-s.h, mx-m-cdm.h, mx-m-cm.h, mx-m-cs.h, mx-m-dm.h, | |
9834 mx-s-cdm.h, mx-s-cm.h, mx-s-dm.h, mx-cdm-cm.cc, mx-cdm-cs.cc, | |
9835 mx-cdm-dm.cc, mx-cdm-m.cc, mx-cdm-s.cc, mx-cm-cdm.cc, mx-cm-dm.cc, | |
9836 mx-cm-m.cc, mx-cm-s.cc, mx-cs-cdm.cc, mx-cs-dm.cc, mx-cs-m.cc, | |
9837 mx-dm-cdm.cc, mx-dm-cm.cc, mx-dm-cs.cc, mx-dm-m.cc, mx-dm-s.cc, | |
9838 mx-m-cdm.cc, mx-m-cm.cc, mx-m-cs.cc, mx-m-dm.cc, mx-s-cdm.cc, | |
9839 mx-s-cm.cc, mx-s-dm.cc: | |
9840 New files for mixed-type operations. | |
9841 * Makefiles.in: Add them to the appropriate lists. | |
9842 | |
9843 * mx-inlines.cc: Add bool by bool EQ ops. | |
9844 | |
9845 * idx-vector.h, idx-vector.cc: Add constructors for bool and | |
9846 boolMatrix types. | |
9847 (idx_vector::maybe_convert_one_zero_to_idx, | |
9848 idx_vector::idx_vector_rep::maybe_convert_one_zero_to_idx): | |
9849 Delete second arg, prefer_zero_one. Change all callers. | |
9850 | |
9851 * boolMatrix.h, boolMatrix.cc: New files. | |
9852 * mx-base.h: Include boolMatrix.h here. | |
9853 * mx-defs.h: Provide forward declaration for boolMatrix here. | |
9854 | |
9855 * chMatrix.h, chMatrix.cc: Delete unused junk. | |
9856 | |
9857 * dMatrix.h, CMatrix.h: Delete friend declarations for operator+, | |
9858 operator-, operator*, product, and quotient functions. | |
9859 Add constructor for boolMatrix type. | |
9860 * dMatrix.cc, CMatrix.cc: Delete operator+, operator-, operator*, | |
9861 product, and quotient functions. | |
9862 | |
9863 * CDiagMatrix.h: Delete friend declarations for operator+, | |
9864 operator-, and product functions. | |
9865 * CDiagMatrix.h: Delete operator+, operator-, and product functions. | |
9866 | |
9867 * Array-b.cc: Also instantiate 2d and 2d diagonal arrays. | |
9868 | |
2815 | 9869 Fri Mar 14 00:29:46 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9870 | |
9871 * EIG.cc (EIG::hermitian_init (const ComplexMatrix&)): New function. | |
9872 (EIG::init (const ComplexMatrix&)): Call it if arg is hermitian. | |
9873 (EIG::symmetric_init (const Matrix&)): New function. | |
9874 (EIG::init (const Matrix&)): Call it if arg is symmetric. | |
9875 | |
9876 * CMatrix.cc (ComplexMatrix::is_hermitian): New function. | |
9877 | |
9878 Thu Mar 13 17:04:26 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9879 | |
9880 * Array2.cc (is_symmetric): New function. | |
9881 * Array2.h (is_square): New function. | |
9882 | |
2811 | 9883 Wed Mar 12 16:59:49 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9884 | |
9885 * Makefile.in (install-strip): New target. | |
9886 | |
2804 | 9887 Mon Mar 10 22:34:22 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9888 | |
9889 * CmplxCHOL.cc, CmplxHESS.cc, CmplxLU.cc, CmplxQR.cc, | |
9890 CmplxQRP.cc, CmplxSCHUR.cc, CmplxSVD.cc, EIG.cc, dbleCHOL.cc, | |
9891 dbleHESS.cc, dbleLU.cc, dbleQR.cc, dbleQRP.cc, dbleSCHUR.cc, | |
9892 dbleSVD.cc: Don't include mx-inlines.cc. | |
9893 | |
9894 * mx-inlines.cc: Abuse the preprocessor to eliminate lots of | |
9895 duplicate code. | |
9896 | |
2800 | 9897 Sun Mar 9 03:44:52 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9898 | |
2804 | 9899 * dbleQR.h (QR): Delete extra comma at end of list. |
9900 | |
9901 * prog-args.cc (prog_args::getopt): Add missing const in cast. | |
9902 | |
9903 * dbleSVD.h (SVD::type): Delete extra comma at end of list. | |
9904 | |
9905 * idx-vector.h (idx_vector): Delete unnecessary idx_vector:: and | |
9906 idx_vecotr_rep:: qualifiers. | |
9907 | |
9908 * Array.h (class Array): Delete unnecessary Array<T>:: qualifiers. | |
9909 | |
9910 * data-conv.h (save_type): Delete extra comma at end of list. | |
9911 | |
2800 | 9912 * CMatrix.cc, FEGrid.cc, Range.cc, dMatrix.cc, data-conv.cc, |
9913 dir-ops.cc, file-ops.h, idx-vector.cc, idx-vector.h, lo-ieee.cc, | |
9914 lo-mappers.cc, oct-alloc.cc: Use `static_cast<T> (val)' instead of | |
9915 old C-style `(T) val' casts. | |
9916 | |
2795 | 9917 Thu Mar 6 20:20:01 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9918 | |
9919 * dMatrix.cc (operator >>): Return if an error occurs instead of | |
9920 just breaking out of the innermost loop. | |
9921 * CMatrix.cc (operator >>): Likewise. | |
9922 | |
2779 | 9923 Sat Mar 1 15:23:14 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2775 | 9924 |
9925 * Version 2.0.5 released. | |
9926 | |
2767 | 9927 Fri Feb 28 20:11:23 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9928 | |
9929 * CmplxQR.cc (ComplexQR::init): New function. | |
9930 (ComplexQR::ComplexQR): Use it. Use initializer list too. | |
9931 * CmplxQRP.cc (ComplexQRP::init): New function. | |
9932 Get sizes right in all cases. | |
9933 (ComplexQR::ComplexQRP): Use it. Use initializer list too. | |
9934 | |
9935 * dbleQR.cc (QR::init): New function. | |
9936 (QR::QR): Use it. Use initializer list too. | |
9937 * dbleQRP.cc (QRP::init): New function. | |
9938 Get sizes right in all cases. | |
9939 (QR::QRP): Use it. Use initializer list too. | |
9940 | |
2759 | 9941 Wed Feb 26 15:46:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9942 | |
9943 * mach-info.cc (oct_mach_info::string_to_float_format): | |
9944 Recognize "vaxg", not "vax_g". | |
9945 | |
2713 | 9946 Fri Feb 21 16:07:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9947 | |
2714 | 9948 * Array2-idx.h (Array2<T>::maybe_delete_elements): Use correct |
9949 dimension in check for colon equivalent index. | |
9950 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): A single-element | |
9951 index whose value is 0 is also colon eqivalent for n == 1. | |
9952 | |
2713 | 9953 * lo-ieee.cc (octave_ieee_init): Reorder #ifdef stuff to put |
9954 system-specific tests first. | |
9955 | |
2709 | 9956 Thu Feb 20 02:58:05 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2702 | 9957 |
9958 * Version 2.0.4 released. | |
9959 | |
9960 Wed Feb 19 09:42:30 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
9961 | |
9962 * lo-ieee.cc: D'oh, it's `extern "C"', not `#extern "C"'. | |
9963 | |
2693 | 9964 Tue Feb 18 09:22:04 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
2690 | 9965 |
9966 * Version 2.0.3 released. | |
9967 | |
2686 | 9968 Fri Feb 14 16:23:47 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9969 | |
9970 * Makefile.in (bin-dist): Don't write empty strings to LIBRARIES. | |
9971 | |
2673 | 9972 Thu Feb 13 14:35:19 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
9973 | |
2676 | 9974 * Makefile.in (stamp-prereq): Depend on stamp-picdir. |
9975 (all): Don't depend on stamp-prereq or stamp-picdir. | |
9976 (liboctave.a, stamp-shared): Do depend on stamp-prereq. | |
9977 (stamp-picdir): Silence noise about making pic. | |
9978 (stamp-shared): Use $(SH_LD) $(SH_LDFLAGS) instead of $(CXX) -shared. | |
9979 | |
2673 | 9980 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): |
9981 Fix typo in last change. | |
9982 | |
9983 * CColVector.cc (ComplexColumnVector::map (d_c_mapper)): | |
9984 Convert from friend (moved from dColVector.cc). | |
9985 * CMatrix.cc (ComplexMatrix::map (d_c_mapper)): | |
9986 Likewise (moved from dMatrix.cc). | |
9987 * CRowVector.cc (ComplexRowVector::map (d_c_mapper)): | |
9988 Likewise (moved from dRowVector.cc). | |
9989 | |
9990 * dColVector.cc (ColumnVector::map (d_d_mapper)): Convert from friend. | |
9991 * dMatrix.cc (Matrix::map (d_d_mapper)): Likewise. | |
9992 * dRowVector.cc (RowVector::map (d_d_mapper)): Likewise. | |
9993 * CColVector.cc (ComplexColumnVector::map (c_c_mapper)): Likewise. | |
9994 * CMatrix.cc (ComplexMatrix::map (c_c_mapper)): Likewise. | |
9995 * CRowVector.cc (ComplexRowVector::map (c_c_mapper)): Likewise. | |
9996 | |
9997 * dColVector.cc (ColumnVector::apply): Rename from map, return *this. | |
9998 * dMatrix.cc (Matrix::apply): Likewise. | |
9999 * dRowVector.cc (RowVector::apply): Likewise. | |
10000 * CColVector.cc (ComplexColumnVector::apply): Likewise. | |
10001 * CMatrix.cc (ComplexMatrix::apply): Likewise. | |
10002 * CRowVector.cc (ComplexRowVector::apply): Likewise. | |
10003 | |
2668 | 10004 Tue Feb 11 19:44:28 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10005 | |
10006 * lo-ieee.cc: Declare quiet_nan() and infinity(). | |
10007 | |
10008 Mon Feb 10 01:17:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10009 | |
10010 * file-ops.cc (oct_unlink (const string&, string&)): | |
10011 New two-arg version. | |
10012 (oct_rmdir (const string&, string&)): New two-arg version. | |
10013 (oct_mkdir (const string&, mode_t, string&)): New three-arg version. | |
10014 (oct_mkfifo (const string&, mode_t, string&)): New three-arg version. | |
10015 (oct_rename (const string&, const string&, string&)): | |
10016 New three-arg version. | |
10017 | |
2663 | 10018 Fri Feb 7 13:15:55 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10019 | |
10020 * idx-vector.h (idx_vector::orig_empty): New function. | |
10021 | |
10022 * Array2-idx.h (Array2<T>::index (idx_vector&, idx_vector&)): | |
10023 Don't always resize to [](0x0) if one of the indices is empty or | |
10024 zero. | |
10025 | |
2658 | 10026 Sun Feb 2 22:33:44 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10027 | |
10028 * cmd-hist.cc (command_history::read): New arg, must_exist. | |
10029 Set line_in_file here too. | |
10030 (command_history::read_range): New arg, must_exist. | |
10031 | |
2651 | 10032 Fri Jan 31 09:21:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10033 | |
10034 * f2c-main.c: Change C++-style comments to C-style comments. | |
10035 | |
2638 | 10036 Tue Jan 28 10:46:02 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10037 | |
10038 * Makefile.in (install-inc): Create a relative symbolic link. | |
10039 | |
2634 | 10040 Mon Jan 27 15:52:27 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10041 | |
10042 * Version 2.0.2 released. | |
10043 | |
2624 | 10044 Sat Jan 25 22:36:21 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10045 | |
10046 * Makefile.in (bin-dist): New target. | |
10047 | |
2621 | 10048 Wed Jan 22 16:18:53 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10049 | |
10050 * dbleSVD.cc (SVD::init): Work around apparent dgesvd() bug. | |
10051 * CmplxSVD.cc (ComplexSVD::init): Work around apparent zgesvd() bug. | |
10052 | |
2613 | 10053 Mon Jan 20 18:44:11 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10054 | |
10055 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10056 If the number of columns is zero, also set the number of rows to zero. | |
10057 (charMatrix::charMatrix (const char *)): Likewise. | |
10058 | |
2602 | 10059 Tue Jan 7 00:16:57 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10060 | |
10061 * Version 2.0.1 released. | |
10062 | |
2601 | 10063 Sun Jan 5 12:07:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> |
10064 | |
10065 * dMatrix.cc (Matrix::read): Correctly compute the number of | |
10066 columns for resizing when the number of rows is specified but the | |
10067 number of columns is not. | |
10068 | |
2598 | 10069 Wed Dec 18 16:18:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10070 | |
2599 | 10071 * Range.cc (operator -): New function. |
10072 | |
2598 | 10073 * lo-ieee.cc: Include <nan.h> on all systems that have it. |
10074 | |
2589 | 10075 Fri Dec 13 02:01:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10076 | |
10077 * Array2-idx.h (assign): Delay resizing left hand side until we | |
10078 know if the assignment conforms. | |
10079 | |
2583 | 10080 Tue Dec 10 01:43:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10081 | |
10082 * Version 2.0 released. | |
10083 | |
2570 | 10084 Fri Dec 6 14:41:15 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10085 | |
2575 | 10086 * Array2-idx.h (assign): If index is a colon, set number of |
10087 elements to the lhs dimension if the lhs dimension is greater than | |
10088 zero. Otherwise, set it to the rhs dimension. | |
10089 | |
10090 * Version 1.94. | |
10091 | |
2570 | 10092 * Array2-idx.h (assign): Test for rhs scalar case first. |
10093 If index is colon, set number of elements to lhs dimension, not | |
10094 rhs dimension. | |
10095 | |
2563 | 10096 Thu Dec 5 13:05:18 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10097 | |
2566 | 10098 * sun-utils.h: Don't declare MAIN_ or MAIN__ here. |
10099 * sun-utils.cc: Delete. | |
10100 * f2c-main.c: New file | |
10101 | |
10102 * Makefile.in: Fix file name lists. | |
10103 | |
2563 | 10104 * CMatrix.cc (lssolve): Don't redeclare retval, resize it. |
10105 | |
2561 | 10106 Wed Dec 4 12:24:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10107 | |
10108 * dMatrix.cc (Qzval): Don't try to use same memory three times. | |
10109 Create result using Complex constructor, not multiplication. | |
10110 Order elements as they are returned from Eispack. | |
10111 | |
2559 | 10112 Mon Dec 2 00:26:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10113 | |
2560 | 10114 * lo-ieee.cc (octave_ieee_init): Kluge for octave_Inf on SCO. |
10115 Only include nan.h if SCO is defined. Define _IEEE before | |
10116 including it and undefine it afterward. | |
10117 [SCO] (isnan): Don't mistake Inf as NaN. | |
10118 | |
2559 | 10119 * Array-idx.h (assign): Only resize if assignment conforms. |
10120 | |
2551 | 10121 Wed Nov 20 01:00:40 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10122 | |
10123 * Makefile.in (INCLUDES): Delete lo-error.h. | |
10124 * lo-error.h: Delete (moved to libcruft/misc). | |
10125 | |
10126 * Version 1.93. | |
10127 | |
2546 | 10128 Tue Nov 19 23:07:45 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10129 | |
2549 | 10130 * oct-glob.cc (glob_match::match): Don't expect our flag values to |
10131 be the same as they are in fnmatch.h. | |
10132 | |
2546 | 10133 * f77-fcn.c, f77-fcn.h: Move to libcruft/misc directory. |
10134 | |
10135 * Makefile.in (INCLUDES): Delete f77-fcn.h. | |
10136 (SOURCES): Delete f77-fcn.c. | |
10137 | |
2522 | 10138 Fri Nov 15 13:47:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10139 | |
10140 * lo-ieee.h: [SCO]: Declare isinf and isnan. | |
10141 | |
2512 | 10142 Thu Nov 14 00:06:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10143 | |
10144 * Version 1.92. | |
10145 | |
2508 | 10146 Wed Nov 13 11:19:22 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10147 | |
2512 | 10148 * cmd-hist.cc (command_history::add): Ignore empty input lines, or |
10149 lines that have only carriage return or newline. | |
10150 | |
2508 | 10151 * lo-ieee.cc (isnan, isinf): Provide functions for SCO. |
10152 | |
2500 | 10153 Tue Nov 12 11:11:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10154 | |
10155 * idx-vector.cc (idx_is_inf_or_nan): New function. | |
10156 (IDX_VEC_REP::idx_vector_rep): Use it. | |
10157 | |
2493 | 10158 Sun Nov 10 17:09:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10159 | |
10160 * str-vec.h, str-vec.cc: Add constructors to make string vectors | |
10161 from vectors of C strings. | |
10162 | |
10163 * oct-glob.h, oct-glob.cc (glob_match): Allow pat to be a string | |
10164 vector. | |
10165 (glob_match::match): Allow match string to be a string vector. | |
10166 (glob_match::glob): New function. | |
10167 | |
10168 * chMatrix.cc (charMatrix::row_as_string): New arg, strip_ws. | |
10169 | |
10170 * Array-b.cc: New file. | |
10171 * Makefile.in (TI_SRC): Add it to the list. | |
10172 | |
2492 | 10173 Fri Nov 8 18:09:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10174 | |
10175 * file-ops.cc: Change #include "" to #include <> for safe-lstat.h | |
10176 and safe-stat.h, to avoid getting them from $srcdir when we really | |
10177 want the version from the build directory. (Maybe this should be | |
10178 done for all the include files, not just those that are | |
10179 auto-generated? Hmm.) | |
10180 | |
2481 | 10181 Thu Nov 7 10:45:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10182 | |
2482 | 10183 * Version 1.91. |
10184 | |
2481 | 10185 * Array3.cc (Array3<T>::resize): Make it work. |
10186 | |
10187 Wed Nov 6 22:44:33 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10188 | |
10189 * oct-alloc.h, oct-alloc.cc: New files. | |
10190 * Makefile.in: Add them to the lists. | |
10191 | |
10192 Mon Nov 4 21:49:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10193 | |
10194 * dbleQRP.cc (QRP::QRP): Don't pass tmp data to unsafe constructor. | |
10195 * CmplxQRP.cc (ComplexQRP::ComplexQRP): Ditto. | |
10196 | |
2466 | 10197 Sun Nov 3 15:45:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10198 | |
10199 * file-ops.cc (file_stat::is_blk, file_stat::is_chr, | |
10200 file_stat::is_dir, file_stat::is_fifo, file_stat::is_lnk, | |
10201 file_stat::is_reg, file_stat::is_sock): Just return false if the | |
10202 underlying macro is not defined. | |
10203 | |
10204 * oct-math.h (lgamma, gamma): Delete declarations. | |
10205 (asinh, acosh, atanh, erf, erfc): Declare arg types too. | |
10206 Protect declarations with #ifdef HAVE_*. | |
10207 | |
2440 | 10208 Wed Oct 30 11:42:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10209 | |
2452 | 10210 * Version 1.90. |
10211 | |
10212 * Makefile.in (DISTFILES): Add ChangeLog. | |
10213 | |
2444 | 10214 * cmd-hist.cc: Only include fcntl.h if HAVE_FCNTL_H. |
10215 | |
10216 * Matrix-ext.cc: Include <cfloat>, not <float.h>. | |
10217 | |
2443 | 10218 * CMatrix.cc, cmd-hist.cc, file-ops.cc, file-ops.h, filemode.c, |
2444 | 10219 mkdir.c, rename.c, rmdir.c, safe-xstat.cin, statdefs.h, sysdir.h, |
10220 tempname.c, utils.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. | |
2443 | 10221 |
2440 | 10222 * Array3.h (T Array3<T>::checkelem): Return T() for bogus value, |
10223 since that is now accepatble syntax, even for built-in types. | |
10224 * Array2.h (T Array2<T>::checkelem): Likewise | |
10225 | |
2433 | 10226 Sat Oct 26 23:37:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10227 | |
10228 * file-ops.cc (mkfifo) [! HAVE_MKFIFO]: Just print an error | |
10229 message and return -1. | |
10230 | |
2428 | 10231 Fri Oct 25 01:24:51 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10232 | |
2431 | 10233 * str-vec.h (str_vec_compare): Declare args as const void *, then |
10234 cast them to const string * in the body of the function. | |
10235 | |
10236 * file-ops.cc (file_stat::mode_as_string): Explicitly construct | |
10237 string from buf. | |
10238 | |
2428 | 10239 * Array3.h (Array3::checkelem): Tag bogus return value with |
10240 GCC_ATTRIBUTE_UNUSED. | |
10241 * Array2.h (Array2::checkelem): Likewise. | |
10242 | |
2424 | 10243 Thu Oct 24 19:40:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10244 | |
10245 * Quad.h (Quad): Define virtual destructor. | |
10246 | |
2408 | 10247 Tue Oct 15 11:34:48 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10248 | |
10249 * CMatrix.cc (ComplexMatrix::all_elements_are_real): new function. | |
10250 | |
2401 | 10251 Sun Oct 13 11:19:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10252 | |
10253 * sun-utils.h: Conditionally declare MAIN__ too. Declare MAIN_ | |
10254 and MAIN__ extern "C". | |
10255 * sun-utils.cc: Include sun-utils.h here. Delete extern "C" stuff. | |
10256 | |
2391 | 10257 Sat Oct 12 12:40:00 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10258 | |
10259 * MArray-misc.cc: New file. | |
10260 * Makefile.in (MATRIX_SRC): Add it to the list. | |
10261 | |
10262 * mx-inlines.cc (equal): Return bool, not int. | |
10263 | |
10264 * idx-vector.h (idx_vector (double)): New constructor. | |
10265 | |
10266 * chMatrix.h, chMatrix.cc, CMatrix.h, CMatrix.cc, dMatrix.h, | |
10267 dMatrix.cc, dDiagMatrix.h, dDiagMatrix.cc, dRowVector.h, | |
10268 dRowVector.cc, dColVector.h, dColVector.cc, CColVector.h, | |
10269 CColVector.cc, CDiagMatrix.h, CDiagMatrix.cc, CRowVector.h, | |
10270 CRowVector.cc: Logical operators return bool, not int. | |
10271 | |
10272 * CMatrix.h, CMatrix.cc (ComplexMatrix::any_element_is_inf_or_nan): | |
10273 New function. | |
10274 | |
10275 * dMatrix.h, dMatrix.cc (Matrix::any_element_is_negative, | |
10276 Matrix::any_element_is_inf_or_nan, Matrix::abs, | |
10277 Matrix::all_elements_are_inf_or_nan): New functions. | |
10278 | |
10279 * Range.h, Range.cc (Range::all_elements_are_ints): New function. | |
10280 | |
10281 * MArray.cc, MArray2.cc, MDiagArray2.cc: Call gripe_nonconformant | |
10282 for errors. Simplify macros by converting FCN to string for error | |
10283 messages. | |
10284 | |
10285 * Array-idx.h (Array<T>::index): New function. Don't call | |
10286 clear_index() here. | |
10287 (Array<T>::value): Call it, do call clear_index() here. | |
10288 * Array2-idx.h (Array<T>::value, Array<T>::index): Likewise, for | |
10289 one and two arg index functions. | |
10290 | |
10291 Tue Sep 17 21:21:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10292 | |
10293 * DAEFunc.h: Delete #pragma interface since there is no longer a | |
10294 separate implementation file. | |
10295 | |
2354 | 10296 Tue Aug 20 17:38:46 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10297 | |
2358 | 10298 * Makefile.in (stamp-picdir): Only create a pic subdirectory if |
10299 SHARED_LIBS is true AND CPICFLAG or CXXPICFLAG is not empty. | |
10300 | |
2356 | 10301 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Rename arg sort to |
10302 sort_uniq. If sort_uniq is nonzero, sort the elements and make | |
10303 them uniq. | |
10304 | |
2354 | 10305 * CMatrix.cc (ComplexMatrix::row_max, ComplexMatrix::row_min, |
10306 ComplexMatrix::column_max, ComplexMatrix::column_min): | |
10307 Rewrite. Also return index as a reference arg. | |
10308 (ComplexMatrix::row_max_loc, ComplexMatrix::row_min_loc, | |
10309 ComplexMatrix::column_max_loc, ComplexMatrix::column_min_loc): | |
10310 Delete. | |
10311 | |
10312 * dMatrix.cc (Matrix::row_max, Matrix::row_min, | |
10313 Matrix::column_max, Matrix::column_min): | |
10314 Rewrite. Also return index as a reference arg. | |
10315 (Matrix::row_max_loc, Matrix::row_min_loc, | |
10316 Matrix::column_max_loc, Matrix::column_min_loc): Delete. | |
10317 | |
10318 Fri Aug 9 05:01:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10319 | |
10320 * dMatrix.cc (Matrix::row_min, Matrix::row_min_loc, | |
10321 Matrix::row_max, Matrix::row_max_loc, Matrix::column_min, | |
10322 Matrix::column_min_loc, Matrix::column_max, | |
10323 Matrix::column_max_loc): Ignore leading NaNs. | |
10324 * CMatrix.cc (ComplexMatrix::row_min, ComplexMatrix::row_min_loc, | |
10325 ComplexMatrix::row_max, ComplexMatrix::row_max_loc, | |
10326 ComplexMatrix::column_min, ComplexMatrix::column_min_loc, | |
10327 ComplexMatrix::column_max, ComplexMatrix::column_max_loc): Ignore | |
10328 leading NaNs. | |
10329 | |
2352 | 10330 Thu Aug 8 16:04:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10331 | |
10332 * QPSOL.cc (QPSOL::do_minimize): Insert linear constraint bounds | |
10333 starting at n, not 0. | |
10334 | |
2349 | 10335 Sat Jul 27 02:54:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10336 | |
10337 * dMatrix.cc (Matrix::Matrix (const RowVector&), | |
10338 Matrix::Matrix (const ColumnVector&)): New constructors. | |
10339 | |
10340 * CMatrix.cc (ComplexMatrix::ComplexMatrix (const RowVector&), | |
10341 ComplexMatrix::ComplexMatrix (const ColumnVector&), | |
10342 ComplexMatrix::ComplexMatrix (const ComplexRowVector&), | |
10343 ComplexMatrix::ComplexMatrix (const ComplexColumnVector&)): | |
10344 New constructors. | |
10345 | |
10346 * chMatrix.cc (charMatrix::charMatrix (const string_vector&)): | |
10347 New constructor. | |
10348 | |
2343 | 10349 Wed Jul 24 16:39:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10350 | |
10351 * LSODE.cc (do_integrate): Check to make sure that the state and | |
10352 derivative vectors are the same size. | |
2344 | 10353 * DASSL.cc (do_integrate): Likewise. |
2343 | 10354 |
2330 | 10355 Sun Jul 14 17:30:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> |
10356 | |
10357 * dMatrix.cc (Matrix::read, Matrix::write): Convert to use | |
10358 iostreams and handler data format conversions. Delete old methods | |
10359 that used stdio. | |
10360 | |
10361 * data-conv.h, data-conv.cc (oct_data_conv): New class. | |
10362 | |
10363 Fri Jul 12 13:52:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10364 | |
10365 * mach-info.h: Rename from float-fmt.h. | |
10366 * mach-info.cc: Rename from float-fmt.cc. | |
10367 Handle machine information using a singlton class. | |
10368 * Makefile.in: Update appropriate lists. | |
10369 | |
10370 Tue Jul 9 11:49:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10371 | |
10372 * Array-flags.cc: Provide definitions for the flags even if | |
10373 OCTAVE_SOURCE is not defined. | |
10374 | |
10375 * Array.h, Array2.h, Array3.h: BOUNDS_CHECKING now affects | |
10376 operator(), not elem(). | |
10377 * Array3.h: Move indexing methods here from Array3.cc. | |
10378 | |
10379 Mon Jun 24 02:30:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10380 | |
10381 * Array3.cc (checkelem): Fix typo in call to Array2<T>::elem(). | |
10382 | |
10383 * Makefile.in (install-lib): Use INSTALL_PROGRAM instead of | |
10384 INSTALL_DATA for shared libs. | |
10385 | |
10386 Thu Jun 6 09:59:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10387 | |
10388 * Quad.cc: Include lo-error.h here too. | |
10389 | |
10390 Mon May 27 12:41:07 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10391 | |
10392 * file-ops.h: Include sys/types.h here. | |
10393 | |
10394 Wed May 22 00:20:24 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10395 | |
10396 * chMatrix.cc (charMatrix::transpose): Provide definition. | |
10397 | |
10398 * Array-idx.h (maybe_delete_elements): Correctly compute number of | |
10399 elements in result. | |
10400 * Array2-idx.h (maybe_delete_elements): Likewise for number of | |
10401 rows and columns in result. | |
10402 | |
10403 Tue May 21 23:46:09 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10404 | |
10405 * dbleQR.cc (QR::QR): Don't create result from to-be-deleted data. | |
10406 * CmplxQR.cc (ComplexQR::ComplexQR): Likewise. | |
10407 | |
10408 Fri May 17 03:06:02 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10409 | |
10410 * Makefile.in (install-inc): Install in octincludedir, not includedir. | |
10411 | |
10412 Sun May 12 03:40:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10413 | |
10414 * Makefile.in (uninstall): Also delete shared library. | |
10415 Split install into install-libs and install-includes. | |
10416 (install-inc): If linkdir is a directory, leave it alone. | |
10417 | |
10418 * sun-utils.cc (MAIN__): Define for Linux/ELF systems. | |
10419 | |
10420 Thu May 2 20:19:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10421 | |
10422 * Array-idx.h (assign): Handle A(:) = X for A undefined or empty. | |
10423 * Array2-idx.h (assign): Likewise. | |
10424 | |
10425 Tue Apr 30 05:43:06 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10426 | |
10427 * Array2.cc (Array2<T>::range_error): New functions. | |
10428 | |
10429 * Array.h (class Array<T>): elem() and operator() are now | |
10430 equivalent, and do bounds checking by default. | |
10431 * Array2.cc (class Array2<T>): Likewise. | |
10432 | |
10433 Sat Apr 6 21:26:11 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10434 | |
10435 * Makefile.in (maintainer-clean, distclean): Also delete | |
10436 stamp-picdir, stamp-shared, and pic directory. | |
10437 (stamp-prereq): New target. | |
10438 | |
10439 Fri Mar 29 13:44:13 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10440 | |
10441 * NPSOL.h (NPSOL_options::set_option (const char *, int)): | |
10442 New function. | |
10443 | |
10444 * Array.h, Array.cc (Array<T>::range_error ()): New functions. | |
10445 * Array.h (Array<T>::checkelem): Use them. | |
10446 | |
10447 * base-lu.h, base-lu.cc: Parameterize based on types of matrix | |
10448 elements too. | |
10449 * dbleLU.h, dbleLU.cc, CmplxLU.h, CmplxLU.cc: Change to match. | |
10450 | |
10451 * MDiagArray2.h (MDiagArray2 (const MArray<T>& a)): Delete. | |
10452 | |
10453 * Makefile.in (distclean): Delete so_locations, which is created | |
10454 on DEC Alpha systems. | |
10455 | |
10456 Sat Mar 23 04:02:53 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10457 | |
10458 * Array.h (HEAVYWEIGHT_INDEXING): Do define this here if it is not | |
10459 already defined. | |
10460 | |
10461 Fri Mar 22 23:53:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10462 | |
10463 * pathsearch.cc: Include config.h. | |
10464 | |
10465 Wed Mar 20 04:54:03 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10466 | |
10467 * Array2-idx.h (assign (Array2<LT>&, const Array2<RT>&)): Don't | |
10468 allow M(I, J) = scalar if I or J is empty. | |
10469 | |
10470 * Array-idx.h: Delete Array2 and Array3 code (now in Array2-idx.h | |
10471 and Array3-idx.h). | |
10472 | |
10473 Thu Mar 7 10:20:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10474 | |
10475 * lo-error.h: Make comments C friendly. | |
10476 | |
10477 Sun Mar 3 14:04:32 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10478 | |
10479 * Array2.h (make_unique): Move all indexing functions here. | |
10480 * Array2.cc: From here. | |
10481 | |
10482 * Array.h, Array2.h (NO_BOUNDS_CHECKING): New macro to control | |
10483 whether operator() calls elem or checkelem. | |
10484 | |
10485 * Array.h (make_unique): New private function. | |
10486 Move all indexing functions here. | |
10487 * Array.cc: From here. | |
10488 | |
10489 * pathsearch.cc (dir_path::find_all): Index tmp, don't dereference | |
10490 it too. | |
10491 | |
10492 * Array-d.cc, Array-ch.cc, Array-C.cc, Array-s.cc, Array-str.cc, | |
10493 Array-i.cc, MArray-i.cc, MArray-s.cc, MArray-d.cc, MArray-ch.cc, | |
10494 MArray-C.cc: Include config.h. | |
10495 | |
10496 * Array.h, Array2.h, DiagArray2.h, Array3.h: | |
10497 Don't define HEAVYWEIGHT_INDEXING here. | |
10498 | |
10499 Sat Mar 2 18:39:35 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10500 | |
10501 * base-lu.h, base-lu.cc: New files. | |
10502 * Makefile.in: Add them to the appropriate lists. | |
10503 * dbleLU.h, dbleLU.cc, CmplxLU.h, Cmplx.cc: Derive from base_lu. | |
10504 | |
10505 Fri Mar 1 08:30:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10506 | |
10507 * Array2.h, Array3.h, DiagArray2.h: New files, extracted from Array.h | |
10508 * Array2-idx.h, Array3-idx.h: New files, extracted from Array-idx.h | |
10509 * Array2.cc, Array3.cc, DiagArray2.cc: New files, from Array.cc. | |
10510 * MArray2.h, MDiagArray2.h: New files, extracted from MArray.h. | |
10511 * MArray2.cc, MDiagArray2.cc, MArray-defs.h: New files, from MArray.cc. | |
10512 | |
10513 * MArray.h (INSTANTIATE_MARRAY_FRIENDS): New macro. | |
10514 (INSTANTIATE_MARRAY2_FRIENDS): Likewise. | |
10515 (INSTANTIATE_MDIAGARRAY_FRIENDS): Likewise. | |
10516 * MArray-C.cc, MArray-ch.cc, MArray-c.cc, MArray-i.cc, MArray-s.cc: | |
10517 Simplify using new macros. | |
10518 | |
10519 Mon Feb 26 03:04:29 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10520 | |
10521 * Makefile.in (install): If $(includedir) ends in version string, | |
10522 make link to name that does not include version info. | |
10523 | |
10524 * lo-ieee.cc: Include <cmath> here. | |
10525 | |
10526 Fri Feb 16 20:52:34 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10527 | |
10528 * lo-ieee.cc, lo-ieee.h: New files. | |
10529 * lo-mappers.cc, lo-mappers.h: New files. | |
10530 * lo-utils.cc, lo-utils.h: New files. | |
10531 * Makefile.in: Add them to the appropriate lists. | |
10532 | |
10533 Thu Feb 15 22:02:17 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10534 | |
10535 * dMatrix.cc (all_integers, too_large_for_float): New functions. | |
10536 * CMatrix.cc (all_integers, too_large_for_float): New functions. | |
10537 | |
10538 * byte-swap.h, data-conv.h, data-conv.cc, float-fmt.h, | |
10539 float-fmt.cc: New files. | |
10540 * Makefile.in: Include them in the appropriate lists. | |
10541 | |
10542 Wed Feb 14 01:49:47 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10543 | |
10544 * dMatrix.cc (Qzval): New function. | |
10545 | |
10546 Tue Feb 13 12:41:54 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10547 | |
10548 * NPSOL.cc (NPSOL_options::set_option): Arg key is now string, not | |
10549 char*. | |
10550 | |
10551 * DASSL.h, DASSL.cc: Do better management of temporary workspace. | |
10552 Use F77_XFCN to call Fortran subroutine. | |
10553 * dColVector.cc, CColVector.cc: Likewise. | |
10554 * dRowVector.cc, CRowVector.cc: Likewise. | |
10555 * NPSOL.h, NPSOL.cc: Likewise. | |
10556 * CmplxCHOL.cc: Likewise. | |
10557 * dbleCHOL.cc: Likewise. | |
10558 * CMatrix.cc: Likewise. | |
10559 * dMatrix.cc: Likewise. | |
10560 * QPSOL.cc: Likewise. | |
10561 * LSODE.cc: Likewise. | |
10562 | |
10563 Sun Feb 11 14:14:26 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10564 | |
10565 * dbleHESS.cc (HESS::init): Dimension of tau is n-1, not n+1. | |
10566 | |
10567 * dbleSCHUR.h, dbleSCHUR.cc: Do better management of temporary | |
10568 workspace. Use F77_XFCN to call Fortran subroutine. | |
10569 * CmplxAEPBAL.h, CmplxAEPBAL.cc: Likewise. | |
10570 * CmplxSCHUR.h, CmplxSCHUR.cc: Likewise. | |
10571 * dbleGEPBAL.h, dbleGEPBAL.cc: Likewise. | |
10572 * dbleAEPBAL.h, dbleAEPBAL.cc: Likewise. | |
10573 * CmplxHESS.h, CmplxHESS.cc: Likewise. | |
10574 * CmplxSVD.h, CmplxSVD.cc: Likewise. | |
10575 * dbleHESS.h, dbleHESS.cc: Likewise. | |
10576 * dbleSVD.h, dbleSVD.cc: Likewise. | |
10577 * EIG.h, EIG.cc; Likewise. | |
10578 * CollocWt.cc: Likewise. | |
10579 * NLEqn.cc: Likewise. | |
10580 * Quad.cc: Likewise. | |
10581 | |
10582 Sat Feb 10 12:14:59 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10583 | |
10584 * dbleLU.h, dbleLU.cc: Do better management of temporary workspace. | |
10585 Use F77_XFCN to call Fortran subroutine. | |
10586 * CmplxLU.h, CmplxLU.cc: Ditto. | |
10587 * dbleQR.h, dbleQR.cc: Ditto. | |
10588 * CmplxQR.h, CmplxQR.cc: Ditto. | |
10589 * dbleQRP.h, dbleQRP.cc: Ditto. | |
10590 * CmplxQRP.h, CmplxQRP.cc: Ditto. | |
10591 | |
10592 * dir-ops.h (dir_entry::dir): Declare as void*, not DIR*. | |
10593 (struct DIR): delete forward declaration. | |
10594 (dir_entry::operator = (const dir_entry$)): Protect against | |
10595 copying same object. | |
10596 * dir-ops.cc: Cast dir appropriately. | |
10597 | |
10598 Fri Feb 9 16:12:44 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10599 | |
10600 * lo-error.cc: Moved to libcruft/misc. | |
10601 * Makefile.in: Delete it from the list. | |
10602 | |
10603 * f77-fcn.c (f77_context, f77_exception_encountered): Delete | |
10604 definitions (they have been moved to libcruft/misc/f77-extern.cc). | |
10605 | |
10606 * Array-flags.h: New file. | |
10607 * Array-idx.h: Include it here. | |
10608 * Makefile.in (MATRIX_INC): Add it to the list. | |
10609 | |
10610 * Array-flags.cc: Renamed from Array-ext.cc. | |
10611 (liboctave_dfi_flag): Renamed from dfi_flag. | |
10612 (liboctave_pcv_flag): Renamed from pcv_flag. | |
10613 (liboctave_pzo_flag): Renamed from pzo_flag. | |
10614 (liboctave_rre_flag): Renamed from rre_flag. | |
10615 * Array-idx.h: Change all uses of dfi_flag, etc. | |
10616 * Makefile.in (MATRIX_SRC): Change file name here too. | |
10617 | |
10618 * Makefile.in (LIBOCTAVE_LFLAGS, LIBOCTAVE_LIBS): New variables. | |
10619 (stamp-shared): Use them here. | |
10620 | |
10621 Tue Feb 6 09:53:41 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10622 | |
10623 * cmd-hist.cc (command_history::ignore_entries): Delete default | |
10624 argument value. | |
10625 | |
10626 Mon Feb 5 12:07:50 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10627 | |
10628 * CmplxAEPBAL.h, CmplxCHOL.h, CmplxDET.h, CmplxHESS.h, CmplxLU.h, | |
10629 CmplxQR.h, CmplxQRP.h, CmplxSCHUR.h, CmplxSVD.h, dbleAEPBAL.h, | |
10630 dbleCHOL.h, dbleDET.h, dbleGEPBAL.h, dbleHESS.h, dbleLU.h, | |
10631 dbleQR.h, dbleQRP.h, dbleSCHUR.h, dbleSVD.h: | |
10632 Clean up constructors, assigment operator. | |
10633 | |
10634 Sun Feb 4 03:12:04 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10635 | |
10636 * NPSOL.cc (do_minimize): Use F77_XFCN to call npsol. | |
10637 Check f77_exception_encountered on return. | |
10638 | |
10639 * f77-fcn.c (f77_exception_encountered): New variable. | |
10640 (F77_XFCN): Set it. | |
10641 * f77-fcn.h: Provide declaration. | |
10642 | |
10643 * QPSOL.h (QPSOL_options::set_options): Renamed from copy(). | |
10644 | |
10645 * NPSOL.h (NPSOL_options::set_options): Renamed from copy(). | |
10646 | |
10647 * NLEqn.h (NLEqn_options::set_options): New function. | |
10648 * Quad.h (Quad_options::set_options): Likewise. | |
10649 | |
10650 * LP.h (class LP): Add accessors for LP data. | |
10651 | |
10652 * NLEqn.h (NLEqn::n): Delete. | |
10653 | |
10654 * NLEqn.h (class NLEqn::n): Likewise. | |
10655 | |
10656 * NLP.h (class NLP): Add accessors for NLP data. | |
10657 | |
10658 * NPSOL.h (class NPSOL_options): Move constructors, set, and | |
10659 access functions here. | |
10660 * NPSOL.cc.cc: From here. | |
10661 | |
10662 * QLD.h (class QLD): Add destructor definition. | |
10663 * Objective.h (class Objective): Likewise. | |
10664 * ODEFunc.h (class ODEFunc): Likewise. | |
10665 * NLFunc.h (class NLFunc): Likewise. | |
10666 * NLEqn.h (class NLEqn): Likewise. | |
10667 * NLConst.h (class NLConst): Likewise. | |
10668 * LinConst.h (class LinConst): Likewise. | |
10669 * LSODE.h (class LSODE_options): Likewise. | |
10670 * CollocWt.h (class CollocWt): Likewise. | |
10671 * Bounds.h (class Bounds): Likewise. | |
10672 | |
10673 * QLD.cc (QLD::set_default_options): Delete. | |
10674 | |
10675 * QP.h (QP): Add accessors for QP data. | |
10676 Add copy constructor, operator =, and destructor definitions. | |
10677 | |
10678 * Range.h, Quad.h, QP.h, QLD.h, Objective.h, NLP.h, NLFunc.h, | |
10679 NLConst.h, LinConst.h, LSODE.h, LP.h, FEGrid.h, EIG.h, DASSL.h, | |
10680 DAEFunc.h, CollocWt.h, Bounds.h: | |
10681 Clean up constructors, assigment operator. | |
10682 | |
10683 * dRowVector.cc (RowVector::transpose): Use magic of reference | |
10684 counting to avoid duplicating the data immediately. | |
10685 * dColVector.cc (ColumnVector::transpose): Likewise. | |
10686 * CRowVector.cc (ComplexrowVector::transpose): Likewise. | |
10687 * CColVector.cc (ComplexColumnVector::transpose): Likewise. | |
10688 | |
10689 Sat Feb 3 01:02:36 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10690 | |
10691 * prog-args.h (prog_args::option_argument): New enum. | |
10692 | |
10693 * f77-fcn.h: Rename from f77-uscore.h. | |
10694 (F77_XFCN_ERROR, F77_XFCN): New macros. | |
10695 * f77-fcn.c: New file. | |
10696 * Makefile.in (SOURCES): Add it to the list. | |
10697 | |
10698 * ODEFunc.h: Clean up. | |
10699 | |
10700 * DASSL.cc, DASSL.h: New files. | |
10701 * Makefile.in: Add them to the appropriate lists. | |
10702 | |
10703 * LSODE.cc, LSODE.h: New files. | |
10704 * Makefile.in: Add them to the appropriate lists. | |
10705 | |
10706 * ODE.cc: Delete. | |
10707 * Makefile.in (SOURCES): Remove from list. | |
10708 | |
10709 * base-de.h, DAE.cc: New files. | |
10710 * Makefile.in: Add them to the appropriate lists. | |
10711 * ODE.h: Only define interface for ODE classes. | |
10712 * DAE.h: Only define interface for ODE classes. | |
10713 | |
10714 * LPsolve.cc (do_minimize): Print sorry not implemented message. | |
10715 (LPsolve::set_default_options)): Delete | |
10716 * LPsolve.h (class LPsolve): Add operator =, copy constructor, and | |
10717 destructor. | |
10718 | |
10719 * LP.h (class LP): Add operator =, copy constructor, and destructor. | |
10720 | |
10721 * QPSOL.h (QPSOL::QPSOL (const QPSOL&)): New constructor. | |
10722 (QPSOL::operator =): Call base class operator = instead of assuming | |
10723 we know what to copy. | |
10724 | |
10725 * base-min.h (size): New function. | |
10726 | |
10727 * NLP.h (NLP::size): Delete. | |
10728 (NLP::NLP (const NLP&)): New constructor. | |
10729 (NLP::operator =): Call base class operator = instead of assuming | |
10730 we know what to copy. | |
10731 | |
10732 * NPSOL.h, NPSOL.cc (NPSOL::option): Delete. | |
10733 (class NPSOL): Add operator = and destructor. | |
10734 | |
10735 * NPSOL.h: Add NPSOL_options() to list of constructor initalizers. | |
10736 | |
10737 Fri Feb 2 22:52:55 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10738 | |
10739 * Makefile.in (liboctave.a): Depend on $(PICOBJ). | |
10740 | |
10741 Wed Jan 31 05:29:25 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10742 | |
10743 * dMatrix.cc (Givens, Sylvester, Matrix::expm): New functions. | |
10744 * CMatrix.cc (Givens, Sylvester, ComplexMatrix::expm): Ditto. | |
10745 | |
10746 Mon Jan 29 00:00:12 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10747 | |
10748 * prog-args.h, prog-args.cc: New files. | |
10749 * Makefile.in: Add them to lists. | |
10750 | |
10751 * getopt.h, getopt.c, getopt1.c: New files. | |
10752 * Makefile.in: Add them to the lists. | |
10753 | |
10754 * oct-term.h, oct-term.cc: New files. | |
10755 * Makefile.in: Add them to the lists. | |
10756 | |
10757 * str-vec.cc: New file. | |
10758 * Makefile.in (SOURCES): Add it to the list. | |
10759 | |
10760 * file-ops.cc (oct_tmpnam): Move here from src/utils.cc. | |
10761 | |
10762 * tempname.c, tempnam.c: Move here from src directory. | |
10763 * Makefile.in: Add to lists. | |
10764 | |
10765 Sun Jan 28 23:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10766 | |
10767 * cmd-hist.h, cmd-hist.cc: New files. | |
10768 * Makefile.in: Add them to lists. | |
10769 | |
10770 Thu Jan 25 20:36:05 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10771 | |
10772 * oct-glob.h, oct-glob.cc: New files. | |
10773 * Makefile.in: Add them to lists. | |
10774 | |
10775 Wed Jan 24 01:55:08 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10776 | |
10777 * pathsearch.h, pathsearch.cc: New files. | |
10778 * Makefile.in: Add them to lists. | |
10779 | |
10780 * dir-ops.h, dir-ops.cc: New files. | |
10781 * sysdir.h: Move here from src directory. | |
10782 * Makefile.in: Add them to lists. | |
10783 | |
10784 * Array.h (Array::qsort): Return *this, not void. | |
10785 * str-vec.h (string_vector::qsort): Likewise. | |
10786 | |
10787 * chMatrix.cc (row_as_string): Resize result to eliminate | |
10788 unnecessary NULs. | |
10789 | |
10790 Tue Jan 23 00:40:58 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10791 | |
10792 * safe-xstat.hin, safe-xstat.cin, statdefs.h, file-ops.h, | |
10793 file-ops.cc, filemode.c, mkdir.c, rmdir.c, rename.c: | |
10794 Files moved here from src directory. | |
10795 * Makefile.in: Add them to lists. Include appropriate rules. | |
10796 | |
10797 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10798 Use pointers, not references (this is C code!). | |
10799 | |
10800 * oct-math.h: New file. | |
10801 * acosh.c, asinh.c, atanh.c, erf.c, erfc.c, gamma.c, lgamma.c: | |
10802 Files moved here from src directory. | |
10803 * Makefile.in: Add them to lists. | |
10804 | |
10805 Sun Jan 21 22:53:37 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10806 | |
10807 * idx-vector.cc (make_uniq): Fix major brain-o. | |
10808 | |
10809 * CmplxSCHUR.h, CmplxSCHUR.cc, dbleSCHUR.h, dbleSCHUR.cc: | |
10810 Convert to use string class instead of char*. | |
10811 | |
10812 * str-vec.h, Array-str.cc: New files. | |
10813 | |
10814 * Array.h (Array::qsort): New function. | |
10815 | |
10816 Fri Jan 12 01:45:10 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10817 | |
10818 * Array.h: Nest ArrayRep class inside Array class. | |
10819 Refer to ArrayRep, not ArrayRep<T>. | |
10820 Move all ArrayRep functions inline. | |
10821 Don't declare other Array classes as friends of ArrayRep. | |
10822 * Array.cc: Delete ArrayRep functions. | |
10823 * Array-idx.h: Refer to ArrayRep, not ArrayRep<T>. | |
10824 | |
10825 * Array-C.cc, Array-ch.cc, Array-d.cc, Array-i.cc, Array-s.cc: | |
10826 Don't instantiate ArrayRep objects. | |
10827 | |
10828 Wed Jan 10 04:40:21 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10829 | |
10830 * chMatrix.cc (charMatrix::charMatrix (const string&)): | |
10831 New constructor. | |
10832 | |
10833 Tue Jan 9 04:44:56 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10834 | |
10835 * dbleGEPBAL.cc (GEPBALANCE::init): Use string instead of char* | |
10836 for balance_job arg. | |
10837 * dbleAEPBAL.cc (AEPBALANCE::init): Likewise. | |
10838 * CmplxAEPBAL.cc (ComplexAEPBALANCE::init): Likewise. | |
10839 | |
10840 * chMatrix.cc (row_as_string): Return string, not const char*. | |
10841 | |
10842 Mon Jan 8 03:20:01 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10843 | |
10844 * Makefile.in (clean): If $(SHARED_LIBS), also remove shared libs. | |
10845 | |
10846 * chMatrix.cc (row_as_string): Undo previous change. | |
10847 | |
10848 Sun Jan 7 19:50:16 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10849 | |
10850 * chMatrix.cc (row_as_string): Do memory management here. Caller | |
10851 is expected to save string if necessary. | |
10852 | |
10853 Sat Jan 6 19:28:20 1996 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10854 | |
10855 * Array.h (class DiagArray): Enable nested Proxy class for all | |
10856 platforms. | |
10857 | |
10858 * Array.cc (Array<T>::operator = (const Array<T>&)): If rep == | |
10859 a.rep, don't mess with count. | |
10860 * Array.h (Array2<T>& operator = (const Array2<T>&)): Likewise, | |
10861 don't do anything if reps are the same. | |
10862 (Array3<T>& operator = (const Array3<T>&) | |
10863 | |
10864 * Array.h (ArrayRep<T>::operator = (const ArrayRep<T>&)): | |
10865 Declare private with no definition to prevent misuse. | |
10866 | |
10867 * Array.cc (Array2<T>::insert (const Array2<T>&, int, int)): | |
10868 Get range check right. | |
10869 * dMatrix.cc (Matrix::insert (const RowVector&, int, int)): Ditto. | |
10870 (Matrix::insert (const ColumnVector&, int, int)): Ditto. | |
10871 (Matrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10872 * CMatrix.cc (ComplexMatrix::insert (const Matrix&, int, int)): Ditto. | |
10873 (ComplexMatrix::insert (const RowVector&, int, int)): Ditto. | |
10874 (ComplexMatrix::insert (const ColumnVector&, int, int)): Ditto. | |
10875 (ComplexMatrix::insert (const DiagMatrix&, int, int)): Ditto. | |
10876 (ComplexMatrix::insert (const ComplexRowVector&, int, int)): Ditto. | |
10877 (ComplexMatrix::insert (const ComplexColumnVector&, int, int)): Ditto. | |
10878 (ComplexMatrix::insert (const ComplexDiagMatrix&, int, int)): Ditto. | |
10879 * dRowVector.cc (RowVector::insert (const RowVector&, int)): Ditto. | |
10880 * dColVector.cc | |
10881 (ColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10882 * CRowVector.cc | |
10883 (ComplexRowVector::insert (const RowVector&, int)): Ditto. | |
10884 (ComplexRowVector::insert (const ComplexRowVector&, int)): Ditto. | |
10885 * CColVector.cc | |
10886 (ComplexColumnVector::insert (const ColumnVector&, int)): Ditto. | |
10887 (ComplexColumnVector::insert (const ComplexColumnVector&, int)): Ditto. | |
10888 | |
10889 * dMatrix.cc (Matrix::insert (const DiagMatrix&, int, int)): | |
10890 Also fill in zeros, not just the diagonal. | |
10891 | |
10892 * CDiagMatrix.cc (ComplexDiagMatrix::fill (double, int, int)): | |
10893 Use END parameter properly. | |
10894 (ComplexDiagMatrix::fill (const Complex&, int, int)): Ditto. | |
10895 * dDiagMatrix.cc (DiagMatrix::fill (double, int, int)): Ditto. | |
10896 | |
10897 * Array.h (ArrayRep<T>::ArrayRep (void)): Set count to 1 here. | |
10898 (ArrayRep<T>::ArrayRep (T *, int)): Likewise. | |
10899 * Array.cc (ArrayRep<T>::ArrayRep (const ArrayRep<T>&)): | |
10900 Don't copy count. Set it to 1. | |
10901 (ArrayRep<T>::ArrayRep (int)): Set count to 1 here. | |
10902 | |
10903 * Array.h (Array<T>::Array (T *, int)): After constructing rep, | |
10904 don't set rep->count to 1 here (now handled by ArrayRep | |
10905 constructors). | |
10906 (Array<T>::Array (void)): Ditto. | |
10907 (Array<T>::Array (int)): Ditto. | |
10908 (Array<T>::T& elem (int)): Ditto. | |
10909 * Array-idx.h (Array<T>::maybe_delete_elements (idx_vector&)): Ditto. | |
10910 (Array2<T>::maybe_delete_elements (idx_vector&, idx_vector&)): Ditto. | |
10911 * Array.cc: (Array<T>::Array (int, const T&)): Ditto. | |
10912 (Array<T>::resize (int)): Ditto. | |
10913 (Array<T>::resize (int, const T&)) :Ditto. | |
10914 (Array<T>::fortran_vec (void)): Ditto. | |
10915 (Array2<T>::resize (int, int)): Ditto. | |
10916 (Array2<T>::resize (int, int, const T&)): Ditto. | |
10917 (DiagArray<T>::resize (int, int)): Ditto. | |
10918 (DiagArray<T>::resize (int, int, const T&)): Ditto. | |
10919 | |
10920 Sun Dec 31 21:23:26 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10921 | |
10922 * Array-ch.cc: Rename from Array-c.cc. | |
10923 * MArray-ch.cc: Rename from MArray-c.cc. | |
10924 * chMatrix.cc: Rename from cMatrix.cc. | |
10925 * chMatrix.h: Rename from cMatrix.h. | |
10926 * Makefile.in (TI_SRC): Use new names here. | |
10927 * mx-base.h: Likewise. | |
10928 | |
10929 Fri Dec 29 21:45:00 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10930 | |
10931 * Makefile.in: Handle shared libraries. | |
10932 | |
10933 Thu Dec 28 14:18:34 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10934 | |
10935 * CRowVector.cc (operator * (ComplexRowVector, ComplexMatrix)): | |
10936 Correctly compute length of return value. Correct rows and | |
10937 columns in zgemv call. | |
10938 * dRowVector.cc (operator * (RowVector, Matrix)): Likewise. | |
10939 | |
10940 Tue Dec 26 00:37:57 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10941 | |
10942 * Makefile.in (stamp-picdir): New target. | |
10943 (all): Depend on it. | |
10944 | |
10945 Sun Dec 24 03:10:41 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10946 | |
10947 * Makefile.in (INCLUDES): Remove QLD.h. | |
10948 (SOURCES): Remove QLD.cc. | |
10949 | |
10950 Wed Dec 20 00:43:46 1995 John W. Eaton <jwe@bevo.che.wisc.edu> | |
10951 | |
10952 * dMatrix.cc (Matrix::inverse): New arg, force. | |
10953 If force is nonzero, invert even if matrix is singular. | |
10954 (ComplexMatrix::inverse): Likewise. | |
10955 | |
10956 * dRowVector.cc, mx-inlines.cc, dMatrix.cc, dDiagMatrix.cc, | |
10957 dColVector.cc,MArray-C.cc, CmplxDET.cc, CRowVector.cc, CMatrix.cc, | |
10958 CDiagMatrix.cc, CColVector.cc, Array-C.cc, CmplxDET.h, CMatrix.h: | |
10959 Include "oct-cmplx.h" instead of <Complex.h>. | |
10960 | |
10961 * mx-defs.h: Include oct-cmplx.h in place of forward declaration | |
10962 for class Complex. | |
10963 | |
10964 * oct-cmplx.h: New file. | |
10965 * Makefile.in (INCLUDES): Add it to the list. | |
10966 | |
10967 * idx-vector.cc (IDX_VEC_REP::idx_vector_rep): Don't redeclare len. | |
10968 (IDX_VEC_REP::maybe_convert_one_zero_to_idx): Don't redeclare count. | |
10969 (IDX_VEC_REP::freeze): Don't redeclare max_val and min_val. | |
10970 (intcmp, sort_data, make_uniq, copy_data, IDX_VEC_REP::print): | |
10971 Avoid g++ bugs. | |
10972 | |
10973 Tue Nov 14 14:24:16 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10974 | |
10975 * Array-idx.h (maybe_delete_elements): Give useful error message. | |
10976 | |
10977 * dbleSCHUR.cc, dbleSVD.cc: Include iostream.h. | |
10978 | |
10979 Mon Nov 13 08:35:07 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10980 | |
10981 * CDiagMatrix.cc (inverse): Return retval, not *this. | |
10982 * dDiagMatrix.cc (inverse): Use same method as for Complex case. | |
10983 | |
10984 Sat Nov 4 05:06:12 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10985 | |
10986 * Array.h, Array.cc, Array-idx.h [HEAVYWEIGHT_INDEXING]: Keep | |
10987 index vector object with Array, not ArrayRep. | |
10988 | |
10989 Fri Nov 3 06:52:38 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10990 | |
10991 * Array-idx.h (assign (Array2<T>&, const Array2<T>&): Don't fail | |
10992 if index is a colon and resizing is maybe needed. | |
10993 | |
10994 Tue Oct 31 17:40:01 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
10995 | |
10996 * idx-vector.cc (IDX_VEC_REP::is_colon_equiv): Don't return true | |
10997 if we have a vector of 1's. | |
10998 | |
10999 * Array-idx.h (assign (Array2<LT>&, Array2<RT>&): If lhs has no | |
11000 current orientation, require index and rhs to conform unless | |
11001 do_fortran_indexing flag is set. | |
11002 | |
11003 Sun Oct 15 23:32:08 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11004 | |
11005 * Array-d.cc, Array-C.cc, mx-base.h, mx-inlines.cc, dDiagMatrix.h, | |
11006 CDiagMatrix.h, CMatrix.cc, CMatrix.h, dMatrix.h, mx-defs.h, | |
11007 cMatrix.h, MArray.cc, MArray.h, MArray-i.cc, MArray-c.cc, | |
11008 MArray-s.cc, Array.h, Array.cc, Array-c.cc, Array-i.cc, | |
11009 Array-s.cc, cMatrix.cc, Array-idx.h, dMatrix.cc: | |
11010 Massive changes to support additional data types. Only charMatrix | |
11011 is currently used in Octave. | |
11012 | |
11013 Thu Oct 12 02:22:36 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11014 | |
11015 * Array.cc (Array2<T>::insert (Array2<T>&, int, int): New function. | |
11016 * CMatrix.cc (ComplexMatrix::insert (ComplexMatrix&, int, int): | |
11017 Simply call Array2<Complex> version. | |
11018 * dMatrix.cc (Matrix::insert (Matrix&, int, int): Similarly, just | |
11019 call Array2<double> version. | |
11020 | |
11021 * Array-C.cc, Array-d.cc: Instantiate new assign functions too. | |
11022 | |
11023 * Array.h, Array.cc: Massive overhaul to support new way of | |
11024 handling indexing. | |
11025 * idx-vector.h, idx-vector.cc: Likewise. | |
11026 * Array-ext.cc, Array-idx.h: New files. | |
11027 * Makefile.in: Add them to the appropriate lists. | |
11028 | |
11029 Wed Oct 11 00:49:58 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11030 | |
11031 * Range.cc (nelem_internal): Use tfloor here, not round. | |
11032 | |
11033 Sun Oct 8 18:21:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11034 | |
11035 * idx-vector.h, idx-vector.cc: New files, moved from ../src. | |
11036 * Makefile.in (SOURCES, INCLUDES): Include them in the lists. | |
11037 | |
11038 Sat Oct 7 19:07:02 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11039 | |
11040 * CMatrix.cc (pseudo_inverse): Avoid bogus g++ warning. | |
11041 | |
11042 * Array.h: Move simple member functions here. | |
11043 * Array.cc: From here. | |
11044 | |
11045 Fri Oct 6 00:36:04 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11046 | |
11047 * Range.cc (tfloor, tceil, round): New static functions. | |
11048 (Range::nelem_internal): Rewrite to use better method. | |
11049 | |
11050 * dbleSVD.h (SVD::type): New item, sigma_only. | |
11051 (type_computed): New var. | |
11052 * dbleSVD.cc (left_singular_matrix, right_singular_matrix): | |
11053 Handle possible error condition. | |
11054 (init): Allow for SVD::sigma_only, save type computed. | |
11055 * CmplxSVD.cc (left_singular_matrix, right_singular_matrix): | |
11056 Handle possible error condition. | |
11057 (init): Allow for SVD::sigma_only, save type computed. | |
11058 | |
11059 Wed Oct 4 15:33:35 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11060 | |
11061 * Nearly all non-matrix .h and .cc files: | |
11062 Move short function bodies into class declarations for inlining. | |
11063 Generally clean up. | |
11064 | |
11065 * base-min.h: New file. | |
11066 * LP.h (class LP): Derive from base_minimizer. | |
11067 * QLP.h (class QLP): Derive from base_minimizer. | |
11068 * NLP.h (class NLP): Derive from base_minimizer. | |
11069 * Makefile.in (INCLUDES): Add base-min.h to the list. | |
11070 | |
11071 * Makefile.in (SOURCES): Delete DAEFunc.cc, LP.cc, NLConst.cc, | |
11072 NLFunc.cc, Objective.cc and QP.cc from list. | |
11073 | |
11074 Tue Sep 26 04:14:23 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11075 | |
11076 * dbleSCHUR.cc (select_ana): Remove name of unused parameter. | |
11077 (SCHUR::SCHUR): Delete unused parameter ord. | |
11078 * CmplxSCHUR.h (ComplexSCHUR::CmplxSCHUR): Likewise. | |
11079 | |
11080 * CRowVector.cc | |
11081 (ComplexRowVector::operator+ (const Complex&, const RowVector&), | |
11082 (ComplexRowVector::operator- (const Complex&, const RowVector&), | |
11083 (ComplexRowVector::operator* (const Complex&, const RowVector&), | |
11084 (ComplexRowVector::operator/ (const Complex&, const RowVector&)): | |
11085 Actually do something. | |
11086 | |
11087 * dMatrix.cc (Matrix::lssolve (ComplexMatrix&)): Use dummy vars. | |
11088 (Matrix::lssolve (ComplexMatrix&, int&)): Likewise. | |
11089 (Matrix::lssolve (ComplexMatrix&, int&, int&)): Likewise. | |
11090 | |
11091 * Quad.cc (Quad_options::Quad_options (double, double)): New function. | |
11092 * (Quad::Quad (integrand_fcn, double, double): Properly initialize | |
11093 tolerances. | |
11094 | |
11095 * DAE.cc (ddassl_f, ddassl_j): Remove names of unused parameters. | |
11096 * LPsolve.cc (LPsolve::minimize): Likewise. | |
11097 * NPSOL.cc (NPSOL::option, npsol_confun, npsol_objfun): Likewise. | |
11098 * ODE.cc (lsode_f, lsode_j): Likewise. | |
11099 * QPSOL.cc (qphess): Likewise. | |
11100 | |
11101 Fri Sep 22 04:14:51 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11102 | |
11103 * dMatrix.cc: Include <cstring>. | |
11104 | |
11105 * Array.cc: Try harder to avoid warnings from gcc in functions | |
11106 that return bogus values after calling the error handler. | |
11107 | |
11108 Thu Sep 14 00:56:00 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11109 | |
11110 * Makefile.in: Use `ifndef omit_deps', not `ifndef $(omit_deps)'. | |
11111 | |
11112 * Makefile.in (TEMPLATE_SRC): Add Array-i.cc to the list. | |
11113 | |
11114 Tue Aug 22 00:41:06 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11115 | |
11116 * DAE.cc (dassl_f): Add UNUSED attribute for unused parameters. | |
11117 (dassl_j): Likewise. | |
11118 | |
11119 * DAE.cc, NLEqn.cc, NPSOL.cc, ODE.cc, CColVector.cc, CMatrix.cc, | |
11120 dColVector.cc, dMatrix.cc, CmplxLU.cc, dbleLU.cc, QPSOL.cc, | |
11121 Array.cc, CollocWt.cc, FEGrid.h, LinConst.h: | |
11122 Update for change in for loop variable scope for gcc 2.7.0. | |
11123 | |
11124 Mon Aug 21 19:34:53 1995 John Eaton <jwe@bevo.che.wisc.edu> | |
11125 | |
11126 * Makefile.in: Only include dependency files if $(omit_deps) is | |
11127 not set. | |
11128 | |
11129 Mon May 1 13:26:00 1995 John Eaton (jwe@bullwinkle.che.utexas.edu) | |
11130 | |
11131 * dbleSCHUR.h dbleSVD.h dbleQRP.h dbleQR.h dbleHESS.h dbleLU.h | |
11132 dbleCHOL.h dbleGEPBAL.h dbleAEPBAL.h dbleDET.h dDiagMatrix.h | |
11133 dColVector.h dMatrix.h dRowVector.h Quad.h Range.h QPSOL.h QLD.h | |
11134 ODEFunc.h QP.h Objective.h NPSOL.h ODE.h NLEqn.h NLFunc.h | |
11135 NLConst.h LinConst.h LPsolve.h LP.h FSQP.h FEGrid.h EIG.h | |
11136 DAEFunc.h CollocWt.h DAE.h CmplxSVD.h CmplxQRP.h CmplxSCHUR.h | |
11137 CmplxHESS.h CmplxDET.h CmplxLU.h CmplxQR.h CmplxCHOL.h | |
11138 CmplxAEPBAL.h CRowVector.h CDiagMatrix.h Bounds.h CColVector.h | |
11139 CMatrix.h dbleSCHUR.cc dbleSVD.cc dbleQRP.cc dbleQR.cc | |
11140 dbleGEPBAL.cc dbleLU.cc dbleHESS.cc dbleDET.cc dbleCHOL.cc | |
11141 dbleAEPBAL.cc dColVector.cc dRowVector.cc dMatrix.cc | |
11142 dDiagMatrix.cc QPSOL.cc Range.cc Quad.cc QP.cc ODEFunc.cc QLD.cc | |
11143 Objective.cc NLEqn.cc ODE.cc NPSOL.cc NLFunc.cc LPsolve.cc | |
11144 NLConst.cc LinConst.cc FSQP.cc FEGrid.cc LP.cc DAE.cc EIG.cc | |
11145 CollocWt.cc DAEFunc.cc CmplxSVD.cc CmplxSCHUR.cc CmplxQRP.cc | |
11146 CmplxLU.cc CmplxQR.cc CmplxHESS.cc CmplxDET.cc CmplxCHOL.cc | |
11147 CmplxAEPBAL.cc CRowVector.cc CColVector.cc CMatrix.cc | |
11148 CDiagMatrix.cc Bounds.cc MArray.h MArray.cc Array.cc Array.h | |
11149 NLP.h: Use pragma interface/implementation. Don't surround | |
11150 contents in extern "C++". | |
11151 * lo-error.h sun-utils.h: Don't surround contents in extern "C++". | |
11152 | |
11153 Tue Apr 11 10:59:24 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11154 | |
11155 * f77-uscore.h (F77_FCN): Allow for possibility of uppercase | |
11156 identifiers. | |
11157 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11158 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11159 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11160 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11161 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11162 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11163 Quad.cc: Change usage of F77_FCN to match new definition | |
11164 | |
11165 * utils.cc dbleSVD.cc dbleSCHUR.cc dbleQRP.cc dbleQR.cc dbleLU.cc | |
11166 dbleHESS.cc dbleGEPBAL.cc dbleAEPBAL.cc dRowVector.cc | |
11167 dColVector.cc QLD.cc CmplxSVD.cc CmplxCHOL.cc CmplxHESS.cc | |
11168 CmplxQR.cc CmplxQRP.cc QPSOL.cc CmplxAEPBAL.cc CmplxLU.cc | |
11169 CmplxSCHUR.cc dMatrix.cc CColVector.cc CRowVector.cc dbleCHOL.cc | |
11170 CollocWt.cc NLEqn.cc EIG.cc DAE.cc ODE.cc CMatrix.cc NPSOL.cc | |
11171 Quad.cc: Where appropriate, declare Fortran subroutines to take | |
11172 args by reference instead of pointer. Change all callers. | |
11173 | |
11174 Sun Apr 9 20:11:56 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11175 | |
11176 * MArray.h (MArray2::~MArray2, MDiagArray::~MDiagArray): New | |
11177 functions. Make += and -= operators friend functions. | |
11178 | |
11179 * Array.h (Array2::~Array2, Array3::~Array3, | |
11180 DiagArray::~DiagArray): New functions. | |
11181 | |
11182 Wed Apr 5 21:21:13 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11183 | |
11184 * Makefile.in (EXTRAS): Don't distribute mx-kludge.cc. | |
11185 (MATRIX_INC): Don't distribute mx-kludge.h. | |
11186 | |
11187 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11188 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11189 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11190 dRowVector.h dRowVector.cc: | |
11191 Derive classes from MArray, MArray2, and MDiagArray, not Array, | |
11192 Array2, and DiagArray2. | |
11193 Don't use functions defined in mx-kludge.cc for arithmetic | |
11194 like-type operations on arrays. | |
11195 | |
11196 * MArray.cc: Use the classes defined here like-type mathematical | |
11197 operations on Array objects. Abuse CPP more. | |
11198 * Makefile.in (TEMPLATE_SRC): Add it to the list. | |
11199 (EXTRAS): Delete it from this list. | |
11200 | |
11201 * MArray-C.cc, MArray-d.cc: New files. | |
11202 * Makefile.in (TI_SRC): Add them to the list. | |
11203 | |
11204 Tue Apr 4 14:13:46 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11205 | |
11206 * mx-kludge.cc: Abuse CPP even more. | |
11207 | |
11208 Mon Apr 3 21:05:30 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11209 | |
11210 * Objective.h (objective_function): Add missing const. | |
11211 (gradient_function): Likewise. | |
11212 | |
11213 * CColVector.h CColVector.cc CDiagMatrix.h CDiagMatrix.cc | |
11214 CMatrix.h CMatrix.cc CRowVector.h CRowVector.cc dColVector.h | |
11215 dColVector.cc dDiagMatrix.h dDiagMatrix.cc dMatrix.h dMatrix.cc | |
11216 dRowVector.h dRowVector.cc: | |
11217 Reorganize to declare and define friends where they should be, | |
11218 based on the use of private constructors. | |
11219 | |
11220 Fri Mar 31 10:09:40 1995 John Eaton <jwe@schoch.che.utexas.edu> | |
11221 | |
11222 * CRowVector.h (linspace): Add declaration. | |
11223 * dRowVector.h (linspace): Likewise. | |
11224 | |
11225 * dMatrix.cc (Matrix::inverse, Matrix::determinant, Matrix::solve): | |
11226 Force result of rcond + 1.0 to be stored. | |
11227 * CMatrix.cc (ComplexMatrix::inverse, ComplexMatrix::determinant, | |
11228 ComplexMatrix::solve): Likewise. | |
11229 | |
11230 See ChangeLog.1 in the top level directory for earlier changes. |